@duetds/components 8.7.4 → 8.7.5
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 +170 -167
- package/lib/cjs/{app-globals-241ca518.js → app-globals-d1a7f669.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +7 -7
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +3 -3
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-hero.cjs.entry.js +4 -4
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-layout.cjs.entry.js +9 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +10 -10
- package/lib/cjs/duet-multiselect.cjs.entry.js +8 -8
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +15 -15
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +2 -2
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +17 -17
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
- package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
- package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +5 -5
- package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +3 -3
- 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 +6 -6
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{errorcodes.utils-8d8f085d.js → errorcodes.utils-09ff4a36.js} +1 -1
- package/lib/cjs/{focus-utils-778b1443.js → focus-utils-6a4b5f08.js} +1 -1
- package/lib/cjs/{index-66f341b7.js → index-7354b546.js} +1 -1
- package/lib/cjs/{language-utils-1f6c94fe.js → language-utils-83b499ff.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{slot-utils-f97e19be.js → slot-utils-90b6ce2c.js} +1 -1
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-header/duet-header.css +4 -7
- package/lib/collection/components/duet-header/duet-header.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.css +5 -0
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-layout/duet-layout.css +20 -0
- package/lib/collection/components/duet-layout/duet-layout.js +8 -5
- package/lib/collection/components/duet-link/duet-link.js +3 -3
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +6 -6
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +1 -1
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +9 -9
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +6 -8
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +1 -1
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +2 -2
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +12 -12
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +7 -7
- 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 +10 -10
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +10 -10
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +9 -7
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-modal.js +14 -14
- package/lib/dist-custom-elements/duet-multiselect.js +14 -14
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +4 -4
- package/lib/dist-custom-elements/duet-pagination.js +24 -24
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +3 -3
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
- package/lib/dist-custom-elements/duet-slideout.js +7 -7
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +7 -7
- package/lib/dist-custom-elements/duet-tab-group.js +18 -18
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +2 -2
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-8b358df3.js → p-00e941ae.js} +1 -1
- package/lib/dist-custom-elements/{p-c78481a5.js → p-022fb6e5.js} +2 -2
- package/lib/dist-custom-elements/{p-6e510110.js → p-0c4fdfaf.js} +1 -1
- package/lib/dist-custom-elements/{p-d858d0a1.js → p-29ed51d7.js} +1 -1
- package/lib/dist-custom-elements/{p-60ca61ec.js → p-2a0caf1e.js} +6 -6
- package/lib/dist-custom-elements/{p-61a40fb9.js → p-2b80cc8e.js} +3 -3
- package/lib/dist-custom-elements/{p-99d0fedc.js → p-2c1a83c1.js} +14 -14
- package/lib/dist-custom-elements/{p-effd1eb6.js → p-2cc71ae5.js} +5 -5
- package/lib/dist-custom-elements/{p-1dd5a268.js → p-2e8da5d4.js} +2 -2
- package/lib/dist-custom-elements/{p-8f923d5b.js → p-38f07d37.js} +7 -7
- package/lib/dist-custom-elements/{p-9235bfa6.js → p-484a274a.js} +5 -5
- package/lib/dist-custom-elements/{p-3de90233.js → p-514cdcf1.js} +4 -4
- package/lib/dist-custom-elements/{p-82944400.js → p-5190c77c.js} +4 -4
- package/lib/dist-custom-elements/{p-18c2080c.js → p-5b8c2322.js} +1 -1
- package/lib/dist-custom-elements/{p-4173fec2.js → p-654bce60.js} +3 -3
- package/lib/dist-custom-elements/{p-637bf62d.js → p-6a6955ad.js} +2 -2
- package/lib/dist-custom-elements/{p-ddf8ca53.js → p-6f18089c.js} +1 -1
- package/lib/dist-custom-elements/{p-e4108695.js → p-73b7bd0b.js} +5 -5
- package/lib/dist-custom-elements/{p-bec5fb88.js → p-82c75c20.js} +8 -8
- package/lib/dist-custom-elements/{p-0f986658.js → p-831a372d.js} +2 -2
- package/lib/dist-custom-elements/{p-e2f8dc0c.js → p-908a1eb3.js} +3 -3
- package/lib/dist-custom-elements/{p-e37f787b.js → p-9301ae5d.js} +2 -2
- package/lib/dist-custom-elements/{p-00c553b0.js → p-95ee5452.js} +2 -2
- package/lib/dist-custom-elements/{p-ed369fa1.js → p-97a0cbd1.js} +10 -10
- package/lib/dist-custom-elements/{p-f7157451.js → p-a4831958.js} +1 -1
- package/lib/dist-custom-elements/{p-e5c55500.js → p-a507e7d5.js} +2 -2
- package/lib/dist-custom-elements/{p-de8c350a.js → p-b6f645f7.js} +3 -3
- package/lib/dist-custom-elements/{p-d83bae6a.js → p-c8fc5cc1.js} +1 -1
- package/lib/dist-custom-elements/{p-3ea53f51.js → p-cdbf4062.js} +5 -5
- package/lib/dist-custom-elements/{p-ce3d0b8d.js → p-d6dd92e7.js} +12 -12
- package/lib/dist-custom-elements/{p-7d7cc104.js → p-dffd004f.js} +3 -3
- package/lib/dist-custom-elements/{p-73dbf206.js → p-e0ed4bc3.js} +3 -3
- package/lib/dist-custom-elements/{p-6252238d.js → p-e1573ed9.js} +2 -2
- package/lib/dist-custom-elements/{p-44980108.js → p-e487f7aa.js} +1 -1
- package/lib/dist-custom-elements/{p-32c21b45.js → p-ed44791c.js} +3 -3
- package/lib/dist-custom-elements/{p-3ede80ae.js → p-ee0c8100.js} +3 -3
- package/lib/dist-custom-elements/{p-684c9ce9.js → p-ee39b653.js} +4 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-bd655432.entry.js → p-0103b12c.entry.js} +1 -1
- package/lib/duet/{p-3b74cb7d.system.entry.js → p-01eb2a5c.system.entry.js} +1 -1
- package/lib/duet/{p-73261950.system.entry.js → p-04948ab1.system.entry.js} +1 -1
- package/lib/duet/p-060c8c5e.entry.js +4 -0
- package/lib/duet/{p-2df116a5.system.entry.js → p-06babed5.system.entry.js} +2 -2
- package/lib/duet/{p-a00a0646.entry.js → p-06dd091c.entry.js} +1 -1
- package/lib/duet/{p-842b075c.entry.js → p-079b6815.entry.js} +1 -1
- package/lib/duet/{p-90e22c34.system.entry.js → p-08e1f6d7.system.entry.js} +1 -1
- package/lib/duet/{p-15476c15.system.entry.js → p-0cd90a7f.system.entry.js} +1 -1
- package/lib/duet/p-0ced1d42.js +4 -0
- package/lib/duet/{p-80748569.system.entry.js → p-0d7bc10c.system.entry.js} +2 -2
- package/lib/duet/{p-0dd55976.entry.js → p-0def8054.entry.js} +1 -1
- package/lib/duet/p-0e432a64.js +4 -0
- package/lib/duet/{p-41c8aba6.entry.js → p-1058b93b.entry.js} +1 -1
- package/lib/duet/{p-34fe4d2a.system.entry.js → p-122676c7.system.entry.js} +1 -1
- package/lib/duet/{p-aafb87c1.system.entry.js → p-131b6738.system.entry.js} +1 -1
- package/lib/duet/{p-fd545b1d.entry.js → p-1591c4de.entry.js} +1 -1
- package/lib/duet/{p-6ab9f648.entry.js → p-19f36421.entry.js} +1 -1
- package/lib/duet/{p-0e61fe2a.entry.js → p-1accec14.entry.js} +1 -1
- package/lib/duet/{p-e484cedb.entry.js → p-1bc968d5.entry.js} +1 -1
- package/lib/duet/{p-47aaf606.entry.js → p-1be46e73.entry.js} +1 -1
- package/lib/duet/{p-5a3d0587.entry.js → p-1c16f902.entry.js} +1 -1
- package/lib/duet/{p-10492aba.system.entry.js → p-1f4b048a.system.entry.js} +1 -1
- package/lib/duet/{p-75b5e425.system.entry.js → p-1f86118c.system.entry.js} +1 -1
- package/lib/duet/{p-559b9da4.system.entry.js → p-1fc31059.system.entry.js} +1 -1
- package/lib/duet/{p-ca41c957.system.entry.js → p-2005b095.system.entry.js} +1 -1
- package/lib/duet/p-205e201c.entry.js +4 -0
- package/lib/duet/{p-ddc0e9ae.system.entry.js → p-22634958.system.entry.js} +1 -1
- package/lib/duet/{p-9428471f.system.entry.js → p-259ef722.system.entry.js} +1 -1
- package/lib/duet/{p-415f9ac5.entry.js → p-270e4107.entry.js} +1 -1
- package/lib/duet/{p-f0ca9c7f.system.entry.js → p-2826a5a9.system.entry.js} +1 -1
- package/lib/duet/{p-402944df.system.entry.js → p-286298a2.system.entry.js} +1 -1
- package/lib/duet/{p-bb4c86fb.system.entry.js → p-291ae532.system.entry.js} +1 -1
- package/lib/duet/{p-6040a186.system.js → p-2ad34175.system.js} +1 -1
- package/lib/duet/{p-27644c7d.system.entry.js → p-2c5194f9.system.entry.js} +1 -1
- package/lib/duet/{p-62e872f4.entry.js → p-2cd863eb.entry.js} +1 -1
- package/lib/duet/{p-1aaebc97.entry.js → p-2e9d9f57.entry.js} +1 -1
- package/lib/duet/p-309daf8b.entry.js +4 -0
- package/lib/duet/p-30de8e73.entry.js +4 -0
- package/lib/duet/{p-f402a935.system.entry.js → p-327bf314.system.entry.js} +1 -1
- package/lib/duet/{p-6e0d099e.system.entry.js → p-34c7e313.system.entry.js} +1 -1
- package/lib/duet/{p-ff38dda2.entry.js → p-3a3af622.entry.js} +1 -1
- package/lib/duet/{p-ea7f8828.system.entry.js → p-3ab33294.system.entry.js} +1 -1
- package/lib/duet/{p-6d919c06.entry.js → p-3af83544.entry.js} +1 -1
- package/lib/duet/{p-7bd92c3a.js → p-3d5ae2e9.js} +1 -1
- package/lib/duet/{p-68748559.system.entry.js → p-3d83bf88.system.entry.js} +1 -1
- package/lib/duet/{p-1bb2276d.system.entry.js → p-3ef53b47.system.entry.js} +1 -1
- package/lib/duet/{p-b8f325c5.entry.js → p-40ac0585.entry.js} +1 -1
- package/lib/duet/{p-98e3ddc2.system.entry.js → p-419a4402.system.entry.js} +1 -1
- package/lib/duet/{p-efd8d054.entry.js → p-41a6e276.entry.js} +1 -1
- package/lib/duet/p-432bba6e.entry.js +4 -0
- package/lib/duet/{p-8577f17f.system.entry.js → p-452c3664.system.entry.js} +1 -1
- package/lib/duet/{p-8711a853.system.entry.js → p-45711dd2.system.entry.js} +2 -2
- package/lib/duet/{p-b4e40b60.system.entry.js → p-47d4b092.system.entry.js} +2 -2
- package/lib/duet/{p-98f8aba4.entry.js → p-489568b7.entry.js} +1 -1
- package/lib/duet/{p-706ae125.entry.js → p-48b1e9eb.entry.js} +1 -1
- package/lib/duet/p-4c9ce0ab.system.entry.js +4 -0
- package/lib/duet/{p-7c604909.entry.js → p-4d0d7ead.entry.js} +1 -1
- package/lib/duet/{p-2d555d26.system.entry.js → p-4f3269a9.system.entry.js} +1 -1
- package/lib/duet/{p-43c5abe2.entry.js → p-506406ac.entry.js} +1 -1
- package/lib/duet/{p-8f78f1dc.entry.js → p-5072bdc9.entry.js} +1 -1
- package/lib/duet/{p-01170610.system.entry.js → p-50e7a5dd.system.entry.js} +1 -1
- package/lib/duet/p-530a5f2f.entry.js +4 -0
- package/lib/duet/{p-d1dc18cf.entry.js → p-5349c249.entry.js} +1 -1
- package/lib/duet/{p-512ed0c5.system.entry.js → p-53c9f20e.system.entry.js} +1 -1
- package/lib/duet/{p-30b5bffb.entry.js → p-53e75abf.entry.js} +1 -1
- package/lib/duet/{p-e9391140.entry.js → p-57a12074.entry.js} +1 -1
- package/lib/duet/{p-fa13eef9.entry.js → p-59abd5e9.entry.js} +1 -1
- package/lib/duet/p-59c29737.entry.js +4 -0
- package/lib/duet/{p-b0e75fa3.system.entry.js → p-5ae5c0b1.system.entry.js} +1 -1
- package/lib/duet/p-5b29de7c.entry.js +4 -0
- package/lib/duet/{p-1f41d594.system.entry.js → p-5b638f4f.system.entry.js} +1 -1
- package/lib/duet/{p-f2f6b42e.entry.js → p-5b6f6bbe.entry.js} +1 -1
- package/lib/duet/{p-c57d7394.entry.js → p-5bbb0cbb.entry.js} +1 -1
- package/lib/duet/{p-036d1ee4.system.entry.js → p-5e51cf6a.system.entry.js} +1 -1
- package/lib/duet/{p-b9954cb6.system.entry.js → p-5f8a4a7d.system.entry.js} +1 -1
- package/lib/duet/{p-e18a385d.entry.js → p-5f923de2.entry.js} +1 -1
- package/lib/duet/{p-5f633678.entry.js → p-62879f97.entry.js} +1 -1
- package/lib/duet/{p-135fe765.entry.js → p-6671955e.entry.js} +1 -1
- package/lib/duet/{p-8955f3ca.entry.js → p-67628c59.entry.js} +1 -1
- package/lib/duet/{p-0ee5df66.entry.js → p-68b6fd26.entry.js} +1 -1
- package/lib/duet/{p-0f56f7ee.system.entry.js → p-69f1a4f2.system.entry.js} +1 -1
- package/lib/duet/{p-85abbd39.system.entry.js → p-6a2f9ff6.system.entry.js} +1 -1
- package/lib/duet/p-6a8e04b2.system.entry.js +4 -0
- package/lib/duet/{p-b2b4c77d.system.entry.js → p-6b1c08f3.system.entry.js} +1 -1
- package/lib/duet/{p-d8863869.system.js → p-6b3a931f.system.js} +1 -1
- package/lib/duet/{p-43a3cadf.system.entry.js → p-6b4e1bba.system.entry.js} +1 -1
- package/lib/duet/{p-25f550b8.entry.js → p-6bf05522.entry.js} +1 -1
- package/lib/duet/{p-eb6ab342.system.entry.js → p-6f76371a.system.entry.js} +1 -1
- package/lib/duet/{p-69001943.system.entry.js → p-7353e4df.system.entry.js} +1 -1
- package/lib/duet/{p-a3e81f15.system.entry.js → p-7447b4b1.system.entry.js} +1 -1
- package/lib/duet/{p-b60bf596.system.entry.js → p-75546d06.system.entry.js} +1 -1
- package/lib/duet/{p-d86370f1.system.entry.js → p-7668d817.system.entry.js} +1 -1
- package/lib/duet/{p-e6bc14b6.system.entry.js → p-78ffd5d6.system.entry.js} +1 -1
- package/lib/duet/{p-b775d656.entry.js → p-7d17dc9f.entry.js} +1 -1
- package/lib/duet/{p-9a0e274c.entry.js → p-7d1d1f86.entry.js} +1 -1
- package/lib/duet/{p-7ac0ee98.system.js → p-7d59bbcf.system.js} +1 -1
- package/lib/duet/{p-cee9b5e2.entry.js → p-7f05c044.entry.js} +1 -1
- package/lib/duet/{p-53876fdd.system.entry.js → p-7fc8b004.system.entry.js} +2 -2
- package/lib/duet/{p-891c4891.entry.js → p-859c0733.entry.js} +1 -1
- package/lib/duet/{p-ea8b5eeb.system.entry.js → p-863be3b8.system.entry.js} +1 -1
- package/lib/duet/{p-b2de329a.system.js → p-87074c90.system.js} +1 -1
- package/lib/duet/{p-b0230d65.entry.js → p-870ede73.entry.js} +1 -1
- package/lib/duet/{p-a953b709.system.entry.js → p-87a3838d.system.entry.js} +1 -1
- package/lib/duet/{p-ef03a145.system.entry.js → p-880edd71.system.entry.js} +1 -1
- package/lib/duet/{p-812e34c7.system.entry.js → p-8e2e9a82.system.entry.js} +1 -1
- package/lib/duet/{p-30f78293.entry.js → p-91f34a6c.entry.js} +1 -1
- package/lib/duet/{p-43076b1c.entry.js → p-92c10b4f.entry.js} +1 -1
- package/lib/duet/{p-8835210b.entry.js → p-945580f7.entry.js} +1 -1
- package/lib/duet/{p-ecf298d9.entry.js → p-953dde09.entry.js} +1 -1
- package/lib/duet/{p-ad5a8e99.system.entry.js → p-959f200c.system.entry.js} +1 -1
- package/lib/duet/{p-518189fb.entry.js → p-95da8a9f.entry.js} +1 -1
- package/lib/duet/{p-787262ec.system.entry.js → p-9892047a.system.entry.js} +1 -1
- package/lib/duet/{p-5fce7e79.entry.js → p-99ed79b3.entry.js} +1 -1
- package/lib/duet/{p-1e718c72.system.entry.js → p-9a8e5154.system.entry.js} +1 -1
- package/lib/duet/{p-93087deb.system.js → p-9b386f5b.system.js} +1 -1
- package/lib/duet/p-9b485175.system.entry.js +4 -0
- package/lib/duet/{p-fb1b6ed5.system.entry.js → p-9e12e7f9.system.entry.js} +1 -1
- package/lib/duet/{p-0301608b.entry.js → p-a097d9ee.entry.js} +1 -1
- package/lib/duet/{p-20c9b897.entry.js → p-a37cc55d.entry.js} +1 -1
- package/lib/duet/{p-3e9d3fdd.system.entry.js → p-a5278cfe.system.entry.js} +1 -1
- package/lib/duet/{p-ebbdaf1c.entry.js → p-a5975ab0.entry.js} +1 -1
- package/lib/duet/{p-ea5be1ab.system.entry.js → p-a60bb4a7.system.entry.js} +1 -1
- package/lib/duet/{p-7c30391b.system.entry.js → p-a8265f95.system.entry.js} +1 -1
- package/lib/duet/{p-8c0f870d.js → p-a96febcb.js} +1 -1
- package/lib/duet/{p-e72aab75.entry.js → p-ab48d012.entry.js} +1 -1
- package/lib/duet/{p-ae746c06.entry.js → p-abdaade7.entry.js} +1 -1
- package/lib/duet/{p-9b7bb9f4.system.entry.js → p-ac798ef6.system.entry.js} +1 -1
- package/lib/duet/{p-3eeee584.system.entry.js → p-acb8d801.system.entry.js} +1 -1
- package/lib/duet/{p-188772db.entry.js → p-add23a9e.entry.js} +1 -1
- package/lib/duet/{p-b498345e.entry.js → p-b39df610.entry.js} +1 -1
- package/lib/duet/{p-2edd4443.system.entry.js → p-b4ddc308.system.entry.js} +1 -1
- package/lib/duet/{p-707fd494.entry.js → p-b6090729.entry.js} +1 -1
- package/lib/duet/{p-3309107b.system.entry.js → p-b826f416.system.entry.js} +1 -1
- package/lib/duet/{p-0ed76270.entry.js → p-b837bd27.entry.js} +1 -1
- package/lib/duet/{p-afc9f3c2.entry.js → p-b9c2a84b.entry.js} +1 -1
- package/lib/duet/{p-da27acd9.system.entry.js → p-ba649687.system.entry.js} +1 -1
- package/lib/duet/{p-c0787c30.entry.js → p-bd7330c2.entry.js} +1 -1
- package/lib/duet/{p-7590523b.system.entry.js → p-bf360925.system.entry.js} +1 -1
- package/lib/duet/p-c07e77bd.system.entry.js +4 -0
- package/lib/duet/{p-3f73963b.entry.js → p-c295bac4.entry.js} +1 -1
- package/lib/duet/{p-60bf7327.js → p-c296e2fe.js} +1 -1
- package/lib/duet/{p-6b7a67a9.system.entry.js → p-c45fbaa0.system.entry.js} +1 -1
- package/lib/duet/{p-13ab99df.system.entry.js → p-c4c434b0.system.entry.js} +1 -1
- package/lib/duet/{p-9b5864af.system.entry.js → p-c762b204.system.entry.js} +2 -2
- package/lib/duet/{p-d7bceb24.system.entry.js → p-ca7ae79a.system.entry.js} +1 -1
- package/lib/duet/{p-b80b973d.entry.js → p-cc577f39.entry.js} +1 -1
- package/lib/duet/{p-108da207.system.entry.js → p-ce91ade4.system.entry.js} +1 -1
- package/lib/duet/{p-12835b62.entry.js → p-cfda59e1.entry.js} +1 -1
- package/lib/duet/{p-3f0bc83c.entry.js → p-d1c59e6b.entry.js} +1 -1
- package/lib/duet/{p-120ea6ef.entry.js → p-d679ad05.entry.js} +1 -1
- package/lib/duet/{p-035ae971.system.entry.js → p-d7dac88c.system.entry.js} +1 -1
- package/lib/duet/{p-5d9632eb.entry.js → p-d96d467b.entry.js} +1 -1
- package/lib/duet/{p-bcb52981.entry.js → p-d9b83f29.entry.js} +1 -1
- package/lib/duet/{p-87b3df98.entry.js → p-dc17c9f0.entry.js} +1 -1
- package/lib/duet/{p-77b09574.entry.js → p-ddf6e52d.entry.js} +1 -1
- package/lib/duet/{p-4d6db5c8.system.entry.js → p-e0302f2f.system.entry.js} +2 -2
- package/lib/duet/{p-ee63c8db.entry.js → p-e0c0fb67.entry.js} +1 -1
- package/lib/duet/{p-b04279d1.entry.js → p-e49330b3.entry.js} +1 -1
- package/lib/duet/{p-fc55ec7d.entry.js → p-e5d35952.entry.js} +1 -1
- package/lib/duet/{p-1f89e6e0.system.entry.js → p-e5dfe729.system.entry.js} +1 -1
- package/lib/duet/p-e67c7226.entry.js +4 -0
- package/lib/duet/{p-529d51e0.system.entry.js → p-e7e84978.system.entry.js} +2 -2
- package/lib/duet/{p-bcd22519.system.js → p-ebe227fd.system.js} +1 -1
- package/lib/duet/{p-359939c5.system.entry.js → p-ec7b33c8.system.entry.js} +1 -1
- package/lib/duet/{p-ed6e1799.system.entry.js → p-ee549fc2.system.entry.js} +1 -1
- package/lib/duet/{p-fcdfda37.system.entry.js → p-f230ec9b.system.entry.js} +1 -1
- package/lib/duet/{p-353984b9.system.entry.js → p-f2ad6a5d.system.entry.js} +1 -1
- package/lib/duet/{p-c901a803.entry.js → p-f32bb736.entry.js} +1 -1
- package/lib/duet/{p-7d891926.system.entry.js → p-f5dc75ab.system.entry.js} +1 -1
- package/lib/duet/{p-429dc00f.entry.js → p-f8ee50b0.entry.js} +1 -1
- package/lib/duet/p-fb508de5.js +4 -0
- package/lib/duet/{p-f863acb4.system.entry.js → p-fd4aae91.system.entry.js} +2 -2
- package/lib/duet/{p-38ed2814.system.js → p-fe62cf1b.system.js} +1 -1
- package/lib/duet/{p-b74f3779.entry.js → p-ffad31e8.entry.js} +1 -1
- package/lib/esm/{app-globals-fbee8c2b.js → app-globals-2f3c9ad3.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +7 -7
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +3 -3
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +4 -4
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +7 -7
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +3 -3
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +5 -5
- package/lib/esm/duet-hero.entry.js +4 -4
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +3 -3
- package/lib/esm/duet-layout.entry.js +9 -7
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-menu-bar-item.entry.js +3 -3
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +4 -4
- package/lib/esm/duet-modal.entry.js +10 -10
- package/lib/esm/duet-multiselect.entry.js +8 -8
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +6 -6
- package/lib/esm/duet-number-input.entry.js +3 -3
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +15 -15
- package/lib/esm/duet-popup-menu-item.entry.js +2 -2
- package/lib/esm/duet-popup-menu.entry.js +2 -2
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +17 -17
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +10 -10
- package/lib/esm/duet-slideout.entry.js +8 -8
- package/lib/esm/duet-step_2.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +5 -5
- package/lib/esm/duet-textarea.entry.js +2 -2
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- package/lib/esm/duet-toolbar-item.entry.js +3 -3
- 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 +6 -6
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{errorcodes.utils-2621c448.js → errorcodes.utils-dacd3ba5.js} +1 -1
- package/lib/esm/{focus-utils-27ab1eb2.js → focus-utils-ed273558.js} +1 -1
- package/lib/esm/{index-f882bd23.js → index-fab38b5b.js} +1 -1
- package/lib/esm/{language-utils-125074cf.js → language-utils-4f1f49a3.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{slot-utils-17ec6f87.js → slot-utils-f8dbbf78.js} +1 -1
- package/lib/esm-es5/{app-globals-fbee8c2b.js → app-globals-2f3c9ad3.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- 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-popup-menu-item.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-2621c448.js → errorcodes.utils-dacd3ba5.js} +1 -1
- package/lib/esm-es5/{focus-utils-27ab1eb2.js → focus-utils-ed273558.js} +1 -1
- package/lib/esm-es5/{index-f882bd23.js → index-fab38b5b.js} +1 -1
- package/lib/esm-es5/{language-utils-125074cf.js → language-utils-4f1f49a3.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-17ec6f87.js → slot-utils-f8dbbf78.js} +1 -1
- package/lib/types/components/duet-layout/duet-layout.d.ts +2 -0
- package/package.json +4 -4
- package/lib/duet/p-0b9bdb39.entry.js +0 -4
- package/lib/duet/p-1626116f.system.entry.js +0 -4
- package/lib/duet/p-26e1c1f5.entry.js +0 -4
- package/lib/duet/p-300ff3fb.js +0 -4
- package/lib/duet/p-5754fe70.entry.js +0 -4
- package/lib/duet/p-77ac88a2.system.entry.js +0 -4
- package/lib/duet/p-8e8c3cbd.entry.js +0 -4
- package/lib/duet/p-97aefe67.entry.js +0 -4
- package/lib/duet/p-9edc6874.system.entry.js +0 -4
- package/lib/duet/p-a006aa6b.entry.js +0 -4
- package/lib/duet/p-caea77db.entry.js +0 -4
- package/lib/duet/p-cd33d675.js +0 -4
- package/lib/duet/p-d7b19abe.system.entry.js +0 -4
- package/lib/duet/p-e202980f.entry.js +0 -4
- package/lib/duet/p-f92f9220.entry.js +0 -4
- package/lib/duet/p-fd7b2d62.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(e,t,r,i){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function o(e){try{s(i.next(e))}catch(e){n(e)}}function d(e){try{s(i["throw"](e))}catch(e){n(e)}}function s(e){e.done?r(e.value):a(e.value).then(o,d)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,a,n,o;return o={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function d(e){return function(t){return s([e,t])}}function s(d){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,d[0]&&(r=0)),r)try{if(i=1,a&&(n=d[0]&2?a["return"]:d[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,d[1])).done)return n;if(a=0,n)d=[d[0]&2,n.value];switch(d[0]){case 0:case 1:n=d;break;case 4:r.label++;return{value:d[1],done:false};case 5:r.label++;a=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!n||d[1]>n[0]&&d[1]<n[3])){r.label=d[1];break}if(d[0]===6&&r.label<n[1]){r.label=n[1];n=d;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(d);break}if(n[2])r.ops.pop();r.trys.pop();continue}d=t.call(e,r)}catch(e){d=[6,e];a=0}finally{i=n=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-d8863869.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js","./p-6040a186.system.js","./p-0c4bbd65.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var t,r,i,a,n,o,d,s,u,c,l;return{setters:[function(e){t=e.r;r=e.h;i=e.g},function(e){a=e.i},function(e){n=e.s;o=e.u},function(e){d=e.a;s=e.g;u=e.c;c=e.d},function(e){l=e.a},function(){}],execute:function(){var f="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-notification{display:block;padding:16px;color:rgb(0, 41, 77);cursor:pointer;border-bottom:1px solid rgb(225, 227, 230);transition:300ms ease}:host(:last-of-type) .duet-notification{border-bottom:0}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(228, 228, 230)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(243, 249, 252)}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 245, 247)}@media (min-width: 62em){.duet-notification:hover{background:rgb(243, 249, 252)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 245, 247)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:right;text-transform:uppercase}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(68, 68, 69)}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";var b=f;var h=e("duet_notification",function(){function e(e){t(this,e);this.language=d();this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"};this.accessibleLabelUnread=s(this.accessibleLabelUnreadDefaults,this.language);this.url="#";this.date="";this.highlight=false;this.external=false;this.theme=""}e.prototype.componentWillLoad=function(){a(this)};e.prototype.connectedCallback=function(){u(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"});n(this)};e.prototype.disconnectedCallback=function(){c(this);o(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.linkElement.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return r("div",{key:"31926a96290eaa70a332805dc930bab97aa91ee2",role:"listitem",class:{"duet-notification":true,"duet-notification-highlight":this.highlight,"duet-theme-turva":this.theme==="turva"}},r("a",{key:"14e0e4e81c9d231084e314a981304362de7758be",ref:function(t){return e.linkElement=t},href:this.url,target:this.external?"_blank":"_self"},r("div",{key:"123fd56a88e760764c221f99d5a092f6f86c53c4",class:"duet-notification-container"},r("div",{key:"9c5ba90262fae4edc38fbb51cf615cfcf1f7b1fb",class:"duet-notification-badge-container"},this.highlight&&r("div",{key:"28988c4eae8aff0ba8beea8ea0ff59836d2c1010",class:"duet-notification-badge"},r("duet-visually-hidden",{key:"8625af9a335b53772307bc39c487bfa204ad7fef"},this.accessibleLabelUnread,":"))),r("div",{key:"c4e97807e5b766fe36cfdfe01f54e102a827de33",class:"duet-notification-content"},r("slot",{key:"b6f2f399ba2d3b6016560ea8d45996bea0de10b1"})),r("div",{key:"a546eca5e3f2b25723040fe49ce6330a452a55a8",class:"duet-notification-date"},this.date))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());h.style=b;var g='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(0, 41, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{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);background-color:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 77, 128)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(68, 68, 69)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 77, 128);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(68, 68, 69);border-color:rgb(245, 245, 247)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(250, 164, 15)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(225, 227, 230)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0;scrollbar-width:none}.duet-drawer-content::-webkit-scrollbar{display:none}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}';var p=g;var m=27;var w=e("duet_notification_drawer",function(){function e(e){var r=this;t(this,e);this.handleKeyDown=function(e){if(r.isOpen&&e.keyCode===m){r.close()}};this.toggleMenu=function(e){e.stopPropagation();r.isOpen?r.close():r.open()};this.updateNotificationState=function(){r.hasNotifications=r.element.children.length>0};this.isOpen=false;this.hasNotifications=undefined;this.icon="";this.label="Label";this.language=d();this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"};this.accessibleLabelNotifications=s(this.accessibleLabelNotificationsDefaults);this.badge=false;this.theme="";this.direction="left"}e.prototype.componentWillLoad=function(){a(this);this.updateNotificationState()};e.prototype.connectedCallback=function(){this.observer=new MutationObserver(this.updateNotificationState);this.observer.observe(this.element,{childList:true});n(this)};e.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;o(this)};e.prototype.handleClickFocusOutside=function(e){var t=e.target;if(this.isOpen&&!this.element.contains(t)){this.close(false)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.drawerButtonEl.focus(e);return[2]}))}))};e.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.element.closest("duet-header");if(e){e.closeMenus()}this.isOpen=true;this.drawerContentEl.scrollTop=0;return[2]}))}))};e.prototype.close=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=true}return __generator(this,(function(t){this.isOpen=false;if(e){this.setFocus({preventScroll:true})}return[2]}))}))};e.prototype.render=function(){var e=this;return r("div",{key:"135fde3da3ab6b2de4bdac26066b9ab818b3c10c",class:{"duet-drawer":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:this.handleKeyDown},r("button",{key:"efe24e2ede652f66721af5bc7a30ccf14c40300c",ref:function(t){return e.drawerButtonEl=t},type:"button",class:"duet-drawer-toggle",id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&r("div",{key:"6b507de704939cf76813914146b888805023912b",class:"duet-drawer-icon"},r("duet-icon",{key:"0fbd2c7016aa8382c9d32c9cc77f801d38c11fe1",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&r("div",{key:"f2e377ee6ebcb59c4cb0a6435f897520541fce47",class:"duet-drawer-badge"})),r("span",{key:"94e50e2ca9bbcd704406e0a2d2d7909d26c2222f",class:"duet-drawer-label"},this.label),r("div",{key:"72ffa2970bef748054c83ed1d638f1783a15d268",class:"duet-drawer-caret"},r("duet-icon",{key:"f9294d9ff83a182ede1835808cd97b546276c319",margin:"none",size:"auto",icon:l.svg,color:"currentColor"}))),r("div",{key:"9a5902cc206b0886a5fce767b3bdbea45d9c82a0",id:"duet-drawer-content",class:{"duet-drawer-content":true,"duet-drawer-right":this.direction==="right","duet-drawer-left":this.direction==="left","duet-drawer-open":this.isOpen},ref:function(t){return e.drawerContentEl=t}},this.hasNotifications?r("div",{role:"list"},r("slot",null)):r("duet-empty-state",{size:"small"},r("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());w.style=p}}}));
|
|
4
|
+
*/System.register(["./p-6b3a931f.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js","./p-2ad34175.system.js","./p-0c4bbd65.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var t,r,i,a,n,o,d,s,u,c,l;return{setters:[function(e){t=e.r;r=e.h;i=e.g},function(e){a=e.i},function(e){n=e.s;o=e.u},function(e){d=e.a;s=e.g;u=e.c;c=e.d},function(e){l=e.a},function(){}],execute:function(){var b="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-notification{display:block;padding:16px;color:rgb(0, 41, 77);cursor:pointer;border-bottom:1px solid rgb(225, 227, 230);transition:300ms ease}:host(:last-of-type) .duet-notification{border-bottom:0}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(228, 228, 230)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(243, 249, 252)}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 245, 247)}@media (min-width: 62em){.duet-notification:hover{background:rgb(243, 249, 252)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 245, 247)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:right;text-transform:uppercase}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(68, 68, 69)}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";var f=b;var h=e("duet_notification",function(){function e(e){t(this,e);this.language=d();this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"};this.accessibleLabelUnread=s(this.accessibleLabelUnreadDefaults,this.language);this.url="#";this.date="";this.highlight=false;this.external=false;this.theme=""}e.prototype.componentWillLoad=function(){a(this)};e.prototype.connectedCallback=function(){u(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"});n(this)};e.prototype.disconnectedCallback=function(){c(this);o(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.linkElement.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return r("div",{key:"96c5142b088c958a661411f3995f673e2ccc621e",role:"listitem",class:{"duet-notification":true,"duet-notification-highlight":this.highlight,"duet-theme-turva":this.theme==="turva"}},r("a",{key:"d6f5d0be1b541438401decc771bc08a479bd8c2a",ref:function(t){return e.linkElement=t},href:this.url,target:this.external?"_blank":"_self"},r("div",{key:"f307a1aa045d07340852369a172d693e6f43cb7d",class:"duet-notification-container"},r("div",{key:"a06f1c5ee9ab33826b104403a91b1ed2697f14ce",class:"duet-notification-badge-container"},this.highlight&&r("div",{key:"b701ca3d7ab5b4156f79462881fea1c385ad781f",class:"duet-notification-badge"},r("duet-visually-hidden",{key:"d6b2303c79e50024cdeb903950c459f20cf312cd"},this.accessibleLabelUnread,":"))),r("div",{key:"aebc83aece0fc83be95be876ad19edbce1fd7b70",class:"duet-notification-content"},r("slot",{key:"f26fa683fe898a8e53777d22757a2abef19d8b73"})),r("div",{key:"41600a1ef9c5ad18732f5f1de14a2904b8591fe2",class:"duet-notification-date"},this.date))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());h.style=f;var g='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(0, 41, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{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);background-color:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 77, 128)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(68, 68, 69)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 77, 128);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(68, 68, 69);border-color:rgb(245, 245, 247)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(250, 164, 15)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(225, 227, 230)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0;scrollbar-width:none}.duet-drawer-content::-webkit-scrollbar{display:none}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}';var p=g;var m=27;var w=e("duet_notification_drawer",function(){function e(e){var r=this;t(this,e);this.handleKeyDown=function(e){if(r.isOpen&&e.keyCode===m){r.close()}};this.toggleMenu=function(e){e.stopPropagation();r.isOpen?r.close():r.open()};this.updateNotificationState=function(){r.hasNotifications=r.element.children.length>0};this.isOpen=false;this.hasNotifications=undefined;this.icon="";this.label="Label";this.language=d();this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"};this.accessibleLabelNotifications=s(this.accessibleLabelNotificationsDefaults);this.badge=false;this.theme="";this.direction="left"}e.prototype.componentWillLoad=function(){a(this);this.updateNotificationState()};e.prototype.connectedCallback=function(){this.observer=new MutationObserver(this.updateNotificationState);this.observer.observe(this.element,{childList:true});n(this)};e.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;o(this)};e.prototype.handleClickFocusOutside=function(e){var t=e.target;if(this.isOpen&&!this.element.contains(t)){this.close(false)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.drawerButtonEl.focus(e);return[2]}))}))};e.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.element.closest("duet-header");if(e){e.closeMenus()}this.isOpen=true;this.drawerContentEl.scrollTop=0;return[2]}))}))};e.prototype.close=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=true}return __generator(this,(function(t){this.isOpen=false;if(e){this.setFocus({preventScroll:true})}return[2]}))}))};e.prototype.render=function(){var e=this;return r("div",{key:"9630eb1dc5e08775957ccac9822cb72c129e524b",class:{"duet-drawer":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:this.handleKeyDown},r("button",{key:"8b07b937da50cf3ad1d3dc447fd1ed96402f251d",ref:function(t){return e.drawerButtonEl=t},type:"button",class:"duet-drawer-toggle",id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&r("div",{key:"c11b7256d445ad06da88c8b4f58eec225c1ae7d9",class:"duet-drawer-icon"},r("duet-icon",{key:"dd2f20c37d01b52572bb4928770cb9259b2c6a50",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&r("div",{key:"d4da99aeb8bf07b4840ac76ce3d0691be3dedcd2",class:"duet-drawer-badge"})),r("span",{key:"47c6df40631ba9b0410acf27f88c229d97d31ec9",class:"duet-drawer-label"},this.label),r("div",{key:"efa2f3f60ae80b313069e37711bbced9d2a850eb",class:"duet-drawer-caret"},r("duet-icon",{key:"22a85823a808bf6bdff1342476ed39ef53bc18f3",margin:"none",size:"auto",icon:l.svg,color:"currentColor"}))),r("div",{key:"31645dd77653b2a31b175a527b3c392580904813",id:"duet-drawer-content",class:{"duet-drawer-content":true,"duet-drawer-right":this.direction==="right","duet-drawer-left":this.direction==="left","duet-drawer-open":this.isOpen},ref:function(t){return e.drawerContentEl=t}},this.hasNotifications?r("div",{role:"list"},r("slot",null)):r("duet-empty-state",{size:"small"},r("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());w.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-6b3a931f.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js"],(function(e){"use strict";var n,t,r,o,a,i;return{setters:[function(e){n=e.r;t=e.h;r=e.H;o=e.g},function(e){a=e.i},function(e){i=e.f}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-menu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown-link:hover{background:rgb(230, 242, 248)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(228, 228, 230)}';var s=d;var u=e("duet_menu_bar_dropdown_link",function(){function e(e){var t=this;n(this,e);this.getVariant=function(){var e=t.element.parentElement.parentElement.getAttribute("slot");switch(e){case"center":return"right";case"right":return"right";default:return"right"}};this.theme="";this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var n=this.element.closest("duet-menu-bar-dropdown");n.open=false;n.setFocus()}};e.prototype.render=function(){var e;var n=this;return t(r,{key:"e3310b8dfef57c95572f69574ab3f2844f0a8fd2"},t("a",{key:"0bc7dc99b57576902aa56cf53e0f0a092d7d1606",class:(e={"duet-menu-bar-dropdown-link":true},e["duet-menu-bar-dropdown-link--slot-".concat(this.getVariant())]=true,e["duet-theme-turva"]=this.theme==="turva",e),href:this.href,role:"menuitem",onKeyUp:function(e){return n.handleEscape(e)},"aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{key:"0434d95f76ea5e61047da18bac14f7261626a161",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),t("slot",{key:"8b32a81bdf0bd30bb14486a8593e31f1cd86632e"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());u.style=s}}}));
|
|
@@ -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 c,H as o,g as i}from"./p-
|
|
4
|
+
import{r as e,c as t,h as c,H as o,g as i}from"./p-3d5ae2e9.js";import{i as s}from"./p-aaa7a7bd.js";import{c as a}from"./p-5e59e970.js";const d=class{constructor(c){e(this,c),this.duetChange=t(this,"duetChange",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.checkboxId=a("DuetCheckbox"),this.errorId=a("DuetError"),this.onChange=e=>{this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.getDescribedBy=()=>{const e=[];return this.accessibleDescribedBy&&e.push(this.accessibleDescribedBy),this.error&&e.push(this.errorId),e.length>0?e.join(" "):null},this.accessibleActiveDescendant=void 0,this.margin="auto",this.accessibleControls=void 0,this.accessibleIndex=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleSelected=void 0,this.accessibleLiveError="polite",this.required=!1,this.error="",this.theme="",this.disabled=!1,this.identifier=void 0,this.label="label",this.labelHidden=!1,this.name=void 0,this.role=void 0,this.checked=!1,this.value=void 0}componentWillLoad(){s(this),void 0===this.value&&(this.value=this.identifier)}async setFocus(e){this.nativeInput.focus(e)}render(){const e=this.identifier||this.checkboxId;return c(o,{class:{"duet-m-0":"none"===this.margin}},c("div",{class:{"duet-checkbox-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme}},c("input",{ref:e=>this.nativeInput=e,type:"checkbox",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,class:{"duet-checkbox":!0,disabled:this.disabled},checked:this.checked,disabled:this.disabled,tabindex:this.accessibleIndex,"aria-invalid":this.error?"true":"false","aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-selected":this.accessibleSelected,required:this.required,role:this.role,name:this.name,id:e}),c("label",{class:"duet-label",htmlFor:e},c("span",null,this.label)),c("div",{class:"duet-checkbox-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&c("span",null,this.error))))}get element(){return i(this)}};d.style='*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-checkbox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-label.sc-duet-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:"";background:rgb(255, 255, 255);border:1px solid rgb(0, 41, 77);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f7;border-color:rgb(222, 35, 98)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f3;border-color:rgb(224, 42, 13)}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:"";background:transparent url("data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(116, 116, 117)}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(207, 207, 209)}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(144, 149, 153);border:1px solid rgb(144, 149, 153)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(116, 116, 117);border-color:rgb(116, 116, 117)}.duet-checkbox-error.sc-duet-checkbox{margin-left:31px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(222, 35, 98);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox{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(224, 42, 13)}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox,.duet-label-hidden.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{d as duet_checkbox}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(e,t,a,i){function n(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,o){function s(e){try{r(i.next(e))}catch(e){o(e)}}function l(e){try{r(i["throw"](e))}catch(e){o(e)}}function r(e){e.done?a(e.value):n(e.value).then(s,l)}r((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,n,o,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return r([e,t])}}function r(l){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(a=0)),a)try{if(i=1,n&&(o=l[0]&2?n["return"]:l[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;if(n=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:a.label++;return{value:l[1],done:false};case 5:a.label++;n=l[1];l=[0];continue;case 7:l=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){a=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){a.label=l[1];break}if(l[0]===6&&a.label<o[1]){a.label=o[1];o=l;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(l);break}if(o[2])a.ops.pop();a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e];n=0}finally{i=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-d8863869.system.js","./p-e216bea4.system.js","./p-38ed2814.system.js","./p-6040a186.system.js","./p-93087deb.system.js","./p-c1445714.system.js","./p-6ef75455.system.js","./p-c86d6786.system.js"],(function(e){"use strict";var t,a,i,n,o,s,l,r,d,c,u,f;return{setters:[function(e){t=e.r;a=e.h;i=e.H;n=e.g},function(e){o=e.i},function(e){s=e.F},function(e){l=e.a;r=e.c;d=e.d;c=e.g},function(e){u=e.h},function(e){f=e.g},function(){},function(){}],execute:function(){var p='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(243, 249, 252)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{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(0, 41, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(0, 41, 77)}.duet-slideout-panel.duet-theme-turva .link{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-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 245, 247)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{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)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(0, 41, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}';var b=p;var h=e("duet_slideout_panel",function(){function e(e){var a=this;t(this,e);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.backLangObject={en:"Back to main menu",fi:"Takaisin päävalikkoon",sv:"Tillbaka till huvudmenyn"};this.hasStickyHeaderSlot=false;this.updateLabel=function(){var e=a.element.querySelector("[slot='label']");a.label=e};this.toggleMenu=function(){a.open=!a.open};this.onClick=function(){a.toggleMenu()};this.onCloseClick=function(e){e.stopPropagation();var t=a.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var i=a.element.parentElement;i.toggle()}};this.label=undefined;this.language=l();this.theme="";this.active=false;this.open=false;this.icon=undefined;this.labelSize="medium";this.backgroundColor="primary-lightest"}e.prototype.componentWillLoad=function(){o(this);this.updateLabel();this.hasStickyHeaderSlot=u(this.element,"sticky-header")};e.prototype.connectedCallback=function(){r(this)};e.prototype.disconnectedCallback=function(){d(this)};e.prototype.handleOpenChange=function(e,t){var a=this;if(!!e===!!t){return}if(this.open&&!t){setTimeout((function(){var e=Array.from(a.element.parentElement.children);e.forEach((function(e){if(e!==a.element){e.inert=true}}));a.closeButton.focus()}),200)}else if(!this.open&&t){setTimeout((function(){var e=Array.from(a.element.parentElement.children);e.forEach((function(e){e.inert=false}));a.openButton.focus()}),200)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(a){if(this.open){setTimeout((function(){t.closeButton.focus(e)}),200)}else{setTimeout((function(){t.openButton.focus(e)}),200)}return[2]}))}))};e.prototype.render=function(){var e;var t=this;var n=this.backgroundColor==="primary-lightest"?this.theme==="turva"?"gray-lighter":this.backgroundColor:this.backgroundColor;var o={background:f(n,this.theme)};var l=c(this.exitLangObject);var r=c(this.backLangObject);return a(i,{key:"9acf8fe2847b4c64a7f6b4eb0da60ba089cef17c"},a("div",{key:"991a19e8594dc6de0dbe863d7bcc2964b697d13c",class:{"duet-slideout-panel":true,"duet-theme-turva":this.theme==="turva",active:this.open}},a("button",{key:"09d2a32ef6bac72694824d4c7f936e0d9e4689a7",ref:function(e){return t.openButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{link:true,active:this.active},onClick:this.onClick,inert:this.open},this.icon&&a("duet-icon",{key:"ef919ff385fd7834659dbb55615bd8b0249cdd53",name:this.icon,size:"medium",margin:"none",color:"secondary"}),a("span",{key:"5d080cf83d541b4a37918bd0c2dda41a117094db",class:"label"},a("span",{key:"bb32bb7ea8b089addd2ff379902bf8b0f7f5b1d3",class:(e={"label-text":true},e[this.labelSize]=true,e)},a("slot",{key:"491b5b1e55b4ec016dca505cbee8a1b60ef08b65",name:"label"})),a("duet-icon",{key:"fa6723e85b14d65dca36edb98a256b222f98ec98",class:"caret",name:"action-arrow-right",margin:"none",size:"x-small",color:"secondary"}))),a("div",{key:"77b87195ca2d6e0f7707ab4d9a62f1fda0a9e9ef",class:{dialog:true,hidden:!this.open},style:o},a(s,{key:"dcb9df644548af19c2f68c7a72672f33bdc73e3e",moveFocusTo:this.closeButton}),a("div",{key:"110935fa8a4b24e3b98860530c1449fd7ad670b4",class:{"top-container":true,"has-sticky-header-slot":this.hasStickyHeaderSlot}},a("div",{key:"4010e6d1539ef9f875b9f6ddcfb5aa011b582471",class:"top"},a("button",{key:"33575102f7a8374f05dc5e7bf81bb5f34646dcb7",ref:function(e){return t.closeButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-label":"".concat(r),type:"button",class:{back:true},onClick:this.onClick},a("duet-icon",{key:"6f1f6f009426581e85db3faa8ecd0ac941d3656d",class:"caret",name:"action-arrow-left",margin:"none",size:"small",color:"secondary"})),a("span",{key:"05551428f3acc8a217350eda46a6d6e07941ba74"},this.label.innerHTML),a("button",{key:"de3db6242359f091c0ae4ccf02094c46b669fb96",class:"close",type:"button",onClick:this.onCloseClick,"aria-label":"".concat(l)},a("duet-icon",{key:"9c14b105b8c94d0c50e5dcb65ee0601dbd6f62de",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),a("div",{key:"3e1c751c2ed2a4448bd287f765018610a54d9949",class:"sticky-header"},a("slot",{key:"da8c75609e58b2c35d57970ab74fadbf40bd38f5",name:"sticky-header"}))),a("div",{key:"87302c58b38a0382eb3a23fd7d6f514acf5d2040",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true}},a("slot",{key:"f1dc8b106309829e0959f62402bfa350c0546d9b"})),a(s,{key:"f25025fee37d5665f0df8a33afb3edfb1afa6add",moveFocusTo:this.closeButton}))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return e}());h.style=b}}}));
|
|
4
|
+
*/System.register(["./p-6b3a931f.system.js","./p-e216bea4.system.js","./p-fe62cf1b.system.js","./p-2ad34175.system.js","./p-9b386f5b.system.js","./p-c1445714.system.js","./p-6ef75455.system.js","./p-c86d6786.system.js"],(function(e){"use strict";var t,a,i,n,o,s,l,r,c,u,d,f;return{setters:[function(e){t=e.r;a=e.h;i=e.H;n=e.g},function(e){o=e.i},function(e){s=e.F},function(e){l=e.a;r=e.c;c=e.d;u=e.g},function(e){d=e.h},function(e){f=e.g},function(){},function(){}],execute:function(){var b='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(243, 249, 252)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{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(0, 41, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(0, 41, 77)}.duet-slideout-panel.duet-theme-turva .link{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-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 245, 247)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{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)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(0, 41, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}';var p=b;var h=e("duet_slideout_panel",function(){function e(e){var a=this;t(this,e);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.backLangObject={en:"Back to main menu",fi:"Takaisin päävalikkoon",sv:"Tillbaka till huvudmenyn"};this.hasStickyHeaderSlot=false;this.updateLabel=function(){var e=a.element.querySelector("[slot='label']");a.label=e};this.toggleMenu=function(){a.open=!a.open};this.onClick=function(){a.toggleMenu()};this.onCloseClick=function(e){e.stopPropagation();var t=a.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var i=a.element.parentElement;i.toggle()}};this.label=undefined;this.language=l();this.theme="";this.active=false;this.open=false;this.icon=undefined;this.labelSize="medium";this.backgroundColor="primary-lightest"}e.prototype.componentWillLoad=function(){o(this);this.updateLabel();this.hasStickyHeaderSlot=d(this.element,"sticky-header")};e.prototype.connectedCallback=function(){r(this)};e.prototype.disconnectedCallback=function(){c(this)};e.prototype.handleOpenChange=function(e,t){var a=this;if(!!e===!!t){return}if(this.open&&!t){setTimeout((function(){var e=Array.from(a.element.parentElement.children);e.forEach((function(e){if(e!==a.element){e.inert=true}}));a.closeButton.focus()}),200)}else if(!this.open&&t){setTimeout((function(){var e=Array.from(a.element.parentElement.children);e.forEach((function(e){e.inert=false}));a.openButton.focus()}),200)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(a){if(this.open){setTimeout((function(){t.closeButton.focus(e)}),200)}else{setTimeout((function(){t.openButton.focus(e)}),200)}return[2]}))}))};e.prototype.render=function(){var e;var t=this;var n=this.backgroundColor==="primary-lightest"?this.theme==="turva"?"gray-lighter":this.backgroundColor:this.backgroundColor;var o={background:f(n,this.theme)};var l=u(this.exitLangObject);var r=u(this.backLangObject);return a(i,{key:"22c28c0ab12659f418c97fbf93bbebd68608fb79"},a("div",{key:"34c09abac8c0aee1c1dfd1f2bbac570ed0611b35",class:{"duet-slideout-panel":true,"duet-theme-turva":this.theme==="turva",active:this.open}},a("button",{key:"8dcfb92e4eb8610e0a89fdbe3c7675e00a2e8379",ref:function(e){return t.openButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{link:true,active:this.active},onClick:this.onClick,inert:this.open},this.icon&&a("duet-icon",{key:"4944cd788c6d0018243a4cc6b7d9f597ee6d435e",name:this.icon,size:"medium",margin:"none",color:"secondary"}),a("span",{key:"813420fa817e10189a300006605f4f724b2b854e",class:"label"},a("span",{key:"b63f12c4351efa40940bdcac2dea8889cfbf2c82",class:(e={"label-text":true},e[this.labelSize]=true,e)},a("slot",{key:"fb495263ce936ce817e173148e4fcc35f7fa73b8",name:"label"})),a("duet-icon",{key:"c61e62bf194e44656274ff86ceb55aa51fc3cec8",class:"caret",name:"action-arrow-right",margin:"none",size:"x-small",color:"secondary"}))),a("div",{key:"b0b8171895a218075cfc034265abb67c6c12ab4a",class:{dialog:true,hidden:!this.open},style:o},a(s,{key:"e5fba5ca765f1a531361fddee555cb1811fcdcdb",moveFocusTo:this.closeButton}),a("div",{key:"b5134e29091047b89083c0034c9cea235ca2fe5c",class:{"top-container":true,"has-sticky-header-slot":this.hasStickyHeaderSlot}},a("div",{key:"9419dbfcc225548ac136e2e0627bc7c17a788fb3",class:"top"},a("button",{key:"4479933ad445c05b72de00c10a54c3336ca89e44",ref:function(e){return t.closeButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-label":"".concat(r),type:"button",class:{back:true},onClick:this.onClick},a("duet-icon",{key:"627ec8facc8df37e986fd32f83771825ed0fa23a",class:"caret",name:"action-arrow-left",margin:"none",size:"small",color:"secondary"})),a("span",{key:"b597e175c2c2f97b604f04dccdbf5d00b71bcdb1"},this.label.innerHTML),a("button",{key:"fda07c1948d6aabdfbdebd84a5bbe71bbbe37bfa",class:"close",type:"button",onClick:this.onCloseClick,"aria-label":"".concat(l)},a("duet-icon",{key:"ae152cff044ba959bed507383387374a07c64bf1",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),a("div",{key:"c6be3120a863c54dccf941033374c9c207d8e4af",class:"sticky-header"},a("slot",{key:"723211cc2c88a3c20a61a96c5a802ee1fbe462c0",name:"sticky-header"}))),a("div",{key:"0f34420d3730ff49bb92f54457ba2db91fc43114",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true}},a("slot",{key:"8575454b60ae274fe2d4876b3d89fb1b9642afef"})),a(s,{key:"5f96aa2ae4fa9eea21b2dff7ee8151cd3259c291",moveFocusTo:this.closeButton}))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return e}());h.style=p}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{h as n,r as e,H as t,g as i}from"./p-7bd92c3a.js";import{i as a}from"./p-aaa7a7bd.js";import{h as s,c as r}from"./p-60bf7327.js";import{p as d}from"./p-0e052642.js";import{g as o}from"./p-1784b1d2.js";import"./p-4a901bfc.js";const l=({img:e,sources:t})=>n("picture",null,t&&t.map((e=>n("source",{srcSet:e.srcset,media:e.media,type:e.type,sizes:e.sizes}))),n("img",Object.assign({},e))),c=class{constructor(n){e(this,n),this.checkCurrentSize=()=>{const n=this.element.clientWidth;this.currentSize=n<500||"small"===this.size?"small":n<900||"medium"===this.size?"medium":"large",this.setButtonSize()},this.setButtonSize=()=>{if(this.hasActionSlot&&this.currentSize){const n=this.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");for(const e of n)e&&null===e.getAttribute("size")&&"large"!==this.currentSize?e.size="small":e&&null===e.getAttribute("size")&&"large"===this.currentSize&&(e.size="medium")}},this.currentSize=void 0,this.theme="",this.margin="auto",this.backgroundColor="primary-lighter",this.iconColor="gray-lightest",this.iconBackgroundColor="primary",this.textColor="secondary",this.size="large",this.image="",this.sources=void 0,this.icon="",this.headingLevel="h2"}componentWillLoad(){a(this),this.hasHeadingSlot=s(this.element,"heading"),this.hasDescriptionSlot=s(this.element,"description"),this.hasActionSlot=s(this.element,"action"),r(this.element,"heading","span"),this.setButtonSize()}connectedCallback(){window.addEventListener("resize",this.checkCurrentSize)}disconnectedCallback(){window.removeEventListener("resize",this.checkCurrentSize)}componentDidRender(){this.checkCurrentSize()}render(){const e=o("turva"===this.theme&&"primary-lighter"===this.backgroundColor?"gray-lighter":this.backgroundColor,this.theme),i=o(this.textColor,this.theme),a={backgroundColor:e},s={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:d(this.sources)};return n(t,{key:"b8716b8067524ae7e4c29e56cdc37d6219c7743a",class:{"duet-m-0":"none"===this.margin}},n("aside",{key:"7c4b420d5a203fa5066f4a71a801c9fc288e179c",class:{"duet-banner":!0,"duet-theme-turva":"turva"===this.theme,[this.currentSize]:!0,"size-medium":"medium"===this.size||"large"===this.size,"size-large":"large"===this.size,"no-image":!this.image},style:a},n("div",{key:"dd84b698336d0c159b692bde709c6f10bfe414bf",class:"visual"},n("div",{key:"c92d3fdabc120fa760c30ae44e90a29439817940",class:"image-container"},this.image&&n(l,Object.assign({key:"bab1712aa5f1ab77a6c96babc607a9a9d4359dd2"},s))),!1,n("div",{key:"411fc99b5c017a4b89f4aa375d6725e9e85314e6",style:a,class:"brand-shape"})),n("div",{key:"6ba154b92216b98f00b33d740175760049157d14",class:"content"},this.hasHeadingSlot&&n("div",{key:"ba3ab430999ab6f0823ab957b06bcc4077799c5a",class:"heading"},n("duet-heading",{key:"256ed05f27e6c6c3ec987d4039d6a7caf713458b",theme:this.theme,level:this.headingLevel,"visual-level":"large"===this.currentSize?"h2":"h3","fixed-size":!0,margin:"none",color:this.textColor},n("span",{key:"197dbc447ca8910b13c8317cd00507e034e84e6f"},n("slot",{key:"cba3fcc030b0412d981e7cc94626e90aa628cb25",name:"heading"})))),this.hasDescriptionSlot&&n("div",{key:"dbcc6142fe33db74bccac1d54a1fe2a8e8ccc064",class:"description",style:{color:i}},n("slot",{key:"1806ab5f5be1ee076c3978f1fcb676cef6b62893",name:"description"})),this.hasActionSlot&&n("div",{key:"bf9fd56968048a53d15cc1849c2a3b4619851c49",class:"action"},n("slot",{key:"367d2a86cb83fe2d2bdb91ae1e133453e35ce895",name:"action"})))))}get element(){return i(this)}};c.style="*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}";export{c as duet_banner}
|
|
4
|
+
import{h as n,r as e,H as t,g as i}from"./p-3d5ae2e9.js";import{i as a}from"./p-aaa7a7bd.js";import{h as s,c as r}from"./p-c296e2fe.js";import{p as d}from"./p-0e052642.js";import{g as o}from"./p-1784b1d2.js";import"./p-4a901bfc.js";const l=({img:e,sources:t})=>n("picture",null,t&&t.map((e=>n("source",{srcSet:e.srcset,media:e.media,type:e.type,sizes:e.sizes}))),n("img",Object.assign({},e))),c=class{constructor(n){e(this,n),this.checkCurrentSize=()=>{const n=this.element.clientWidth;this.currentSize=n<500||"small"===this.size?"small":n<900||"medium"===this.size?"medium":"large",this.setButtonSize()},this.setButtonSize=()=>{if(this.hasActionSlot&&this.currentSize){const n=this.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");for(const e of n)e&&null===e.getAttribute("size")&&"large"!==this.currentSize?e.size="small":e&&null===e.getAttribute("size")&&"large"===this.currentSize&&(e.size="medium")}},this.currentSize=void 0,this.theme="",this.margin="auto",this.backgroundColor="primary-lighter",this.iconColor="gray-lightest",this.iconBackgroundColor="primary",this.textColor="secondary",this.size="large",this.image="",this.sources=void 0,this.icon="",this.headingLevel="h2"}componentWillLoad(){a(this),this.hasHeadingSlot=s(this.element,"heading"),this.hasDescriptionSlot=s(this.element,"description"),this.hasActionSlot=s(this.element,"action"),r(this.element,"heading","span"),this.setButtonSize()}connectedCallback(){window.addEventListener("resize",this.checkCurrentSize)}disconnectedCallback(){window.removeEventListener("resize",this.checkCurrentSize)}componentDidRender(){this.checkCurrentSize()}render(){const e=o("turva"===this.theme&&"primary-lighter"===this.backgroundColor?"gray-lighter":this.backgroundColor,this.theme),i=o(this.textColor,this.theme),a={backgroundColor:e},s={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:d(this.sources)};return n(t,{key:"b8716b8067524ae7e4c29e56cdc37d6219c7743a",class:{"duet-m-0":"none"===this.margin}},n("aside",{key:"7c4b420d5a203fa5066f4a71a801c9fc288e179c",class:{"duet-banner":!0,"duet-theme-turva":"turva"===this.theme,[this.currentSize]:!0,"size-medium":"medium"===this.size||"large"===this.size,"size-large":"large"===this.size,"no-image":!this.image},style:a},n("div",{key:"dd84b698336d0c159b692bde709c6f10bfe414bf",class:"visual"},n("div",{key:"c92d3fdabc120fa760c30ae44e90a29439817940",class:"image-container"},this.image&&n(l,Object.assign({key:"bab1712aa5f1ab77a6c96babc607a9a9d4359dd2"},s))),!1,n("div",{key:"411fc99b5c017a4b89f4aa375d6725e9e85314e6",style:a,class:"brand-shape"})),n("div",{key:"6ba154b92216b98f00b33d740175760049157d14",class:"content"},this.hasHeadingSlot&&n("div",{key:"ba3ab430999ab6f0823ab957b06bcc4077799c5a",class:"heading"},n("duet-heading",{key:"256ed05f27e6c6c3ec987d4039d6a7caf713458b",theme:this.theme,level:this.headingLevel,"visual-level":"large"===this.currentSize?"h2":"h3","fixed-size":!0,margin:"none",color:this.textColor},n("span",{key:"197dbc447ca8910b13c8317cd00507e034e84e6f"},n("slot",{key:"cba3fcc030b0412d981e7cc94626e90aa628cb25",name:"heading"})))),this.hasDescriptionSlot&&n("div",{key:"dbcc6142fe33db74bccac1d54a1fe2a8e8ccc064",class:"description",style:{color:i}},n("slot",{key:"1806ab5f5be1ee076c3978f1fcb676cef6b62893",name:"description"})),this.hasActionSlot&&n("div",{key:"bf9fd56968048a53d15cc1849c2a3b4619851c49",class:"action"},n("slot",{key:"367d2a86cb83fe2d2bdb91ae1e133453e35ce895",name:"action"})))))}get element(){return i(this)}};c.style="*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}";export{c as duet_banner}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
const e="duet",t={cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.60"};var n=Object.defineProperty,l={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},o=new WeakMap,s=e=>o.get(e),r=(e,t)=>o.set(t.t=e,t),i=(e,t)=>t in e,c=(e,t)=>(0,console.error)(e,t),u=new Map,f=new Map,a="s-id",d="c-id",$="slot-fb{display:contents}slot-fb[hidden]{display:none}",h="http://www.w3.org/1999/xlink",p="undefined"!=typeof window?window:{},m=p.document||{head:{}},v={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},y=e=>Promise.resolve(e),w=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),b=!1,g=[],S=[],k=(e,t)=>n=>{e.push(n),b||(b=!0,t&&4&v.l?E(O):v.raf(O))},j=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){c(e)}e.length=0},O=()=>{j(g),j(S),(b=g.length>0)&&v.raf(O)},E=e=>y().then(e),x=k(S,!0),C={},M=e=>"object"==(e=typeof e)||"function"===e;function R(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((e,t)=>{for(var l in t)n(e,l,{get:t[l],enumerable:!0})})({},{err:()=>P,map:()=>I,ok:()=>A,unwrap:()=>U,unwrapErr:()=>F});var A=e=>({isOk:!0,isErr:!1,value:e}),P=e=>({isOk:!1,isErr:!0,value:e});function I(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>A(e))):A(n)}if(e.isErr)return P(e.value);throw"should never get here"}var D,N,T,U=e=>{if(e.isOk)return e.value;throw e.value},F=e=>{if(e.isErr)return e.value;throw e.value},H=(e,t,...n)=>{let l=null,o=null,s=null,r=!1,i=!1;const c=[],u=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((r="function"!=typeof e&&!M(l))&&(l+=""),r&&i?c[c.length-1].i+=l:c.push(r?L(null,l):l),i=r)};if(u(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,B);const f=L(e,null);return f.u=t,c.length>0&&(f.$=c),f.h=o,f.p=s,f},L=(e,t)=>({l:0,m:e,i:t,v:null,$:null,u:null,h:null,p:null}),W={},B={forEach:(e,t)=>e.map(V).forEach(t),map:(e,t)=>e.map(V).map(t).map(q)},V=e=>({vattrs:e.u,vchildren:e.$,vkey:e.h,vname:e.p,vtag:e.m,vtext:e.i}),q=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),H(e.vtag,t,...e.vchildren||[])}const t=L(e.vtag,e.vtext);return t.u=e.vattrs,t.$=e.vchildren,t.h=e.vkey,t.p=e.vname,t},G=(e,t,n,l,o,s,r)=>{let i,c,u,f;if(1===s.nodeType){if(i=s.getAttribute(d),i&&(c=i.split("."),c[0]!==r&&"0"!==c[0]||(u={l:0,S:c[0],k:c[1],j:c[2],O:c[3],m:s.tagName.toLowerCase(),v:s,u:null,$:null,h:null,p:null,i:null},t.push(u),s.removeAttribute(d),e.$||(e.$=[]),e.$[u.O]=u,e=u,l&&"0"===u.j&&(l[u.O]=u.v))),s.shadowRoot)for(f=s.shadowRoot.childNodes.length-1;f>=0;f--)G(e,t,n,l,o,s.shadowRoot.childNodes[f],r);for(f=s.childNodes.length-1;f>=0;f--)G(e,t,n,l,o,s.childNodes[f],r)}else if(8===s.nodeType)c=s.nodeValue.split("."),c[1]!==r&&"0"!==c[1]||(i=c[0],u={l:0,S:c[1],k:c[2],j:c[3],O:c[4],v:s,u:null,$:null,h:null,p:null,m:null,i:null},"t"===i?(u.v=s.nextSibling,u.v&&3===u.v.nodeType&&(u.i=u.v.textContent,t.push(u),s.remove(),e.$||(e.$=[]),e.$[u.O]=u,l&&"0"===u.j&&(l[u.O]=u.v))):u.S===r&&("s"===i?(u.m="slot",s["s-sn"]=c[5]?u.p=c[5]:"",s["s-sr"]=!0,l&&(u.v=m.createElement(u.m),u.p&&u.v.setAttribute("name",u.p),s.parentNode.insertBefore(u.v,s),s.remove(),"0"===u.j&&(l[u.O]=u.v)),n.push(u),e.$||(e.$=[]),e.$[u.O]=u):"r"===i&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.m){const t=L(null,s.textContent);t.v=s,t.O="0",e.$=[t]}},_=(e,t)=>{if(1===e.nodeType){let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)_(e.shadowRoot.childNodes[n],t);for(n=0;n<e.childNodes.length;n++)_(e.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},z=e=>s(e).$hostElement$,J=(e,t,n)=>{const l=z(e);return{emit:e=>K(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},K=(e,t,n)=>{const l=v.ce(t,n);return e.dispatchEvent(l),l},Q=new WeakMap,X=(e,t)=>{var n;const l=Y(t),o=f.get(l);if(e=11===e.nodeType?e:m,o)if("string"==typeof o){let s,r=Q.get(e=e.head||e);if(r||Q.set(e,r=new Set),!r.has(l)){if(e.host&&(s=e.querySelector(`[sty-id="${l}"]`)))s.innerHTML=o;else{s=m.createElement("style"),s.innerHTML=o;const l=null!=(n=v.C)?n:R(m);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(w){const t=new CSSStyleSheet;t.replaceSync(o),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=o+t.innerHTML:e.prepend(s)}else e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=$),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},Y=e=>"sc-"+e.M,Z=(e,t,n,l,o,s)=>{if(n!==l){let r=i(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=te(n),s=te(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const i=M(l);if((r||i&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,u=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(u?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!r||4&s||o)&&!i&&(l=!0===l?"":l,u?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):i(p,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(ne);t=t.replace(le,""),n&&v.rel(e,t,n,o),l&&v.ael(e,t,l,o)}}},ee=/\s/,te=e=>e?e.split(ee):[],ne="Capture",le=RegExp(ne+"$"),oe=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||C,s=t.u||C;for(const e of se(Object.keys(o)))e in s||Z(l,e,o[e],void 0,n,t.l);for(const e of se(Object.keys(s)))Z(l,e,o[e],s[e],n,t.l)};function se(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var re=!1,ie=!1,ce=!1,ue=!1,fe=(e,t,n,l)=>{var o;const s=t.$[n];let r,i,c,u=0;if(re||(ce=!0,"slot"===s.m&&(D&&l.classList.add(D+"-s"),s.l|=s.$?2:1)),null!==s.i)r=s.v=m.createTextNode(s.i);else if(1&s.l)r=s.v=m.createTextNode("");else{if(ue||(ue="svg"===s.m),r=s.v=m.createElementNS(ue?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!re&&2&s.l?"slot-fb":s.m),ue&&"foreignObject"===s.m&&(ue=!1),oe(null,s,ue),!!r.getRootNode().querySelector("body")&&null!=D&&r["s-si"]!==D&&r.classList.add(r["s-si"]=D),Oe(r,l),s.$)for(u=0;u<s.$.length;++u)i=fe(e,s,u,r),i&&r.appendChild(i);"svg"===s.m?ue=!1:"foreignObject"===r.tagName&&(ue=!0)}return r["s-hn"]=T,3&s.l&&(r["s-sr"]=!0,r["s-cr"]=N,r["s-sn"]=s.p||"",r["s-rf"]=null==(o=s.u)?void 0:o.ref,c=e&&e.$&&e.$[n],c&&c.m===s.m&&e.v&&ae(e.v,!1)),r},ae=(e,t)=>{v.l|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==T&&l["s-ol"]&&(ke(me(l),l,pe(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,ce=!0),t&&ae(l,t)}v.l&=-2},de=(e,t,n,l,o,s)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===T&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=fe(null,n,o,e),r&&(l[o].v=r,ke(i,r,pe(t))))},$e=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;Se(t),e&&(ie=!0,e["s-ol"]?e["s-ol"].remove():ae(e,!0),e.remove())}}},he=(e,t,n=!1)=>!(e.m!==t.m||("slot"===e.m?"k"in e&&n&&8!==e.v.nodeType||e.p!==t.p:!n&&e.h!==t.h)),pe=e=>e&&e["s-ol"]||e,me=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ve=(e,t,n=!1)=>{const l=t.v=e.v,o=e.$,s=t.$,r=t.m,i=t.i;let c;null===i?(ue="svg"===r||"foreignObject"!==r&&ue,("slot"!==r||re)&&oe(e,t,ue),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,f=0,a=t.length-1,d=t[0],$=t[a],h=l.length-1,p=l[0],m=l[h];for(;i<=a&&c<=h;)if(null==d)d=t[++i];else if(null==$)$=t[--a];else if(null==p)p=l[++c];else if(null==m)m=l[--h];else if(he(d,p,o))ve(d,p,o),d=t[++i],p=l[++c];else if(he($,m,o))ve($,m,o),$=t[--a],m=l[--h];else if(he(d,m,o))"slot"!==d.m&&"slot"!==m.m||ae(d.v.parentNode,!1),ve(d,m,o),ke(e,d.v,$.v.nextSibling),d=t[++i],m=l[--h];else if(he($,p,o))"slot"!==d.m&&"slot"!==m.m||ae($.v.parentNode,!1),ve($,p,o),ke(e,$.v,d.v),$=t[--a],p=l[++c];else{for(u=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].h&&t[f].h===p.h){u=f;break}u>=0?(r=t[u],r.m!==p.m?s=fe(t&&t[c],n,u,e):(ve(r,p,o),t[u]=void 0,s=r.v),p=l[++c]):(s=fe(t&&t[c],n,c,e),p=l[++c]),s&&ke(me(d.v),s,pe(d.v))}i>a?de(e,null==l[h+1]?null:l[h+1].v,n,l,c,h):c>h&&$e(t,i,a)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),de(l,null,t,s,0,s.length-1)):!n&&null!==o&&$e(o,0,o.length-1),ue&&"svg"===r&&(ue=!1)):(c=l["s-cr"])?c.parentNode.textContent=i:e.i!==i&&(l.data=i)},ye=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}ye(e)}},we=[],be=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(ge(t,e)){let n=we.find((e=>e.R===t));ie=!0,t["s-sn"]=t["s-sn"]||e,n?(n.R["s-sh"]=o["s-hn"],n.A=o):(t["s-sh"]=o["s-hn"],we.push({A:o,R:t})),t["s-sr"]&&we.map((e=>{ge(e.R,t["s-sn"])&&(n=we.find((e=>e.R===t)),n&&!e.A&&(e.A=n.A))}))}else we.some((e=>e.R===t))||we.push({R:t})}1===o.nodeType&&be(o)}},ge=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Se=e=>{e.u&&e.u.ref&&e.u.ref(null),e.$&&e.$.map(Se)},ke=(e,t,n)=>{const l=null==e?void 0:e.insertBefore(t,n);return Oe(t,e),l},je=e=>{const t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...je(e.parentElement)),t},Oe=(e,t,n=!1)=>{var l;if(e&&t&&1===e.nodeType){const o=new Set(je(t).filter(Boolean));if(o.size&&(null==(l=e.classList)||l.add(...e["s-scs"]=Array.from(o)),e["s-ol"]||n))for(const t of Array.from(e.childNodes))Oe(t,e,!0)}},Ee=(e,t)=>{t&&!e.P&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.P=t)))},xe=(e,t)=>{if(e.l|=16,!(4&e.l))return Ee(e,e.I),x((()=>Ce(e,t)));e.l|=512},Ce=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.l|=256,e.D&&(e.D.map((([e,t])=>Ne(n,e,t))),e.D=void 0),l=Ne(n,"componentWillLoad")),l=Me(l,(()=>Ne(n,"componentWillRender"))),Me(l,(()=>Ae(e,n,t)))},Me=(e,t)=>Re(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Re=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Ae=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.N,n=e.$hostElement$,l=t.l,o=X(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);Pe(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>Ie(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},Pe=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{var l,o,s,r;const i=e.$hostElement$,c=e.N,u=e.T||L(null,null),f=(e=>e&&e.m===W)(t)?t:H(null,null,t);if(T=i.tagName,c.U&&(f.u=f.u||{},c.U.map((([e,t])=>f.u[t]=i[e]))),n&&f.u)for(const e of Object.keys(f.u))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(f.u[e]=i[e]);if(f.m=null,f.l|=4,e.T=f,f.v=u.v=i.shadowRoot||i,D=i["s-sc"],re=!!(1&c.l),N=i["s-cr"],ie=!1,ve(u,f,n),v.l|=1,ce){be(f.v);for(const e of we){const t=e.R;if(!t["s-ol"]){const e=m.createTextNode("");e["s-nr"]=t,ke(t.parentNode,t["s-ol"]=e,t)}}for(const e of we){const t=e.R,i=e.A;if(i){const e=i.parentNode;let n=i.nextSibling;{let s=null==(l=t["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){for(l=l.nextSibling;l===t||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),ke(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}ie&&ye(f.v),v.l&=-2,we.length=0,N=void 0})(e,t,l)}catch(t){c(t,e.$hostElement$)}return null},Ie=e=>{const t=e.$hostElement$,n=e.t,l=e.I;Ne(n,"componentDidRender"),64&e.l?Ne(n,"componentDidUpdate"):(e.l|=64,Te(t),Ne(n,"componentDidLoad"),e.F(t),l||De()),e.H(t),e.P&&(e.P(),e.P=void 0),512&e.l&&E((()=>xe(e,!1))),e.l&=-517},De=()=>{Te(m.documentElement),E((()=>K(p,"appload",{detail:{namespace:e}})))},Ne=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){c(e)}},Te=e=>e.classList.add("hydrated"),Ue=(e,t,n)=>{var l,o;const r=e.prototype;if(t.L||t.W||e.watchers){e.watchers&&!t.W&&(t.W=e.watchers);const i=Object.entries(null!=(l=t.L)?l:{});if(i.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(r,e,{get(){return((e,t)=>s(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=s(e);if(!o)throw Error(`Couldn't find host element for "${l.M}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=o.$hostElement$,i=o.B.get(t),u=o.l,f=o.t;if(n=((e,t)=>null==e||M(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.L[t][0]),(!(8&u)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.B.set(t,n),f)){if(l.W&&128&u){const e=l.W[t];e&&e.map((e=>{try{f[e](n,i,t)}catch(e){c(e,r)}}))}2==(18&u)&&xe(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(r,e,{value(...t){var n;const l=s(this);return null==(n=null==l?void 0:l.V)?void 0:n.then((()=>{var n;return null==(n=l.t)?void 0:n[e](...t)}))}})})),1&n){const n=new Map;r.attributeChangedCallback=function(e,l,o){v.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c))o=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const n=s(this),r=null==n?void 0:n.l;if(r&&!(8&r)&&128&r&&o!==l){const s=n.t,r=null==(i=t.W)?void 0:i[e];null==r||r.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,e)}))}return}}this[c]=(null!==o||"boolean"!=typeof this[c])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.W)?o:{}),...i.filter((([e,t])=>15&t[0])).map((([e,l])=>{var o;const s=l[1]||e;return n.set(s,e),512&l[0]&&(null==(o=t.U)||o.push([e,s])),s}))]))}}return e},Fe=e=>{Ne(e,"connectedCallback")},He=e=>{if(!(1&v.l)){const t=s(e),n=t.N,l=()=>{};if(1&t.l)Ge(e,t,n.q),(null==t?void 0:t.t)?Fe(t.t):(null==t?void 0:t.G)&&t.G.then((()=>Fe(t.t)));else{let l;if(t.l|=1,l=e.getAttribute(a),l){if(1&n.l){const t=X(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],r=o?[]:null,i=l.T=L(t,null);v._||_(m.body,v._=new Map),e[a]=n,e.removeAttribute(a),G(i,s,[],r,e,e,n),s.map((e=>{const n=e.S+"."+e.k,l=v._.get(n),s=e.v;l&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),v._.delete(n)})),o&&r.map((e=>{e&&o.appendChild(e)}))})(e,n.M,l,t)}l||12&n.l&&Le(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Ee(t,t.I=n);break}}n.L&&Object.entries(n.L).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),E((()=>(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.J){const e=(e=>{const t=e.M.replace(/-/g,"_"),n=e.J;if(!n)return;const l=u.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(u.set(n,e),e[t])),c)
|
|
4
|
+
const e="duet",t={cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.61"};var n=Object.defineProperty,l={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},o=new WeakMap,s=e=>o.get(e),r=(e,t)=>o.set(t.t=e,t),i=(e,t)=>t in e,c=(e,t)=>(0,console.error)(e,t),u=new Map,f=new Map,a="s-id",d="c-id",$="slot-fb{display:contents}slot-fb[hidden]{display:none}",h="http://www.w3.org/1999/xlink",p="undefined"!=typeof window?window:{},m=p.document||{head:{}},v={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},y=e=>Promise.resolve(e),w=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),b=!1,g=[],S=[],k=(e,t)=>n=>{e.push(n),b||(b=!0,t&&4&v.l?E(O):v.raf(O))},j=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){c(e)}e.length=0},O=()=>{j(g),j(S),(b=g.length>0)&&v.raf(O)},E=e=>y().then(e),x=k(S,!0),C={},M=e=>"object"==(e=typeof e)||"function"===e;function R(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((e,t)=>{for(var l in t)n(e,l,{get:t[l],enumerable:!0})})({},{err:()=>P,map:()=>I,ok:()=>A,unwrap:()=>U,unwrapErr:()=>F});var A=e=>({isOk:!0,isErr:!1,value:e}),P=e=>({isOk:!1,isErr:!0,value:e});function I(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>A(e))):A(n)}if(e.isErr)return P(e.value);throw"should never get here"}var D,N,T,U=e=>{if(e.isOk)return e.value;throw e.value},F=e=>{if(e.isErr)return e.value;throw e.value},H=(e,t,...n)=>{let l=null,o=null,s=null,r=!1,i=!1;const c=[],u=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((r="function"!=typeof e&&!M(l))&&(l+=""),r&&i?c[c.length-1].i+=l:c.push(r?L(null,l):l),i=r)};if(u(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,B);const f=L(e,null);return f.u=t,c.length>0&&(f.$=c),f.h=o,f.p=s,f},L=(e,t)=>({l:0,m:e,i:t,v:null,$:null,u:null,h:null,p:null}),W={},B={forEach:(e,t)=>e.map(V).forEach(t),map:(e,t)=>e.map(V).map(t).map(q)},V=e=>({vattrs:e.u,vchildren:e.$,vkey:e.h,vname:e.p,vtag:e.m,vtext:e.i}),q=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),H(e.vtag,t,...e.vchildren||[])}const t=L(e.vtag,e.vtext);return t.u=e.vattrs,t.$=e.vchildren,t.h=e.vkey,t.p=e.vname,t},G=(e,t,n,l,o,s,r)=>{let i,c,u,f;if(1===s.nodeType){if(i=s.getAttribute(d),i&&(c=i.split("."),c[0]!==r&&"0"!==c[0]||(u={l:0,S:c[0],k:c[1],j:c[2],O:c[3],m:s.tagName.toLowerCase(),v:s,u:null,$:null,h:null,p:null,i:null},t.push(u),s.removeAttribute(d),e.$||(e.$=[]),e.$[u.O]=u,e=u,l&&"0"===u.j&&(l[u.O]=u.v))),s.shadowRoot)for(f=s.shadowRoot.childNodes.length-1;f>=0;f--)G(e,t,n,l,o,s.shadowRoot.childNodes[f],r);for(f=s.childNodes.length-1;f>=0;f--)G(e,t,n,l,o,s.childNodes[f],r)}else if(8===s.nodeType)c=s.nodeValue.split("."),c[1]!==r&&"0"!==c[1]||(i=c[0],u={l:0,S:c[1],k:c[2],j:c[3],O:c[4],v:s,u:null,$:null,h:null,p:null,m:null,i:null},"t"===i?(u.v=s.nextSibling,u.v&&3===u.v.nodeType&&(u.i=u.v.textContent,t.push(u),s.remove(),e.$||(e.$=[]),e.$[u.O]=u,l&&"0"===u.j&&(l[u.O]=u.v))):u.S===r&&("s"===i?(u.m="slot",s["s-sn"]=c[5]?u.p=c[5]:"",s["s-sr"]=!0,l&&(u.v=m.createElement(u.m),u.p&&u.v.setAttribute("name",u.p),s.parentNode.insertBefore(u.v,s),s.remove(),"0"===u.j&&(l[u.O]=u.v)),n.push(u),e.$||(e.$=[]),e.$[u.O]=u):"r"===i&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.m){const t=L(null,s.textContent);t.v=s,t.O="0",e.$=[t]}},_=(e,t)=>{if(1===e.nodeType){let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)_(e.shadowRoot.childNodes[n],t);for(n=0;n<e.childNodes.length;n++)_(e.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},z=e=>s(e).$hostElement$,J=(e,t,n)=>{const l=z(e);return{emit:e=>K(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},K=(e,t,n)=>{const l=v.ce(t,n);return e.dispatchEvent(l),l},Q=new WeakMap,X=(e,t)=>{var n;const l=Y(t),o=f.get(l);if(e=11===e.nodeType?e:m,o)if("string"==typeof o){let s,r=Q.get(e=e.head||e);if(r||Q.set(e,r=new Set),!r.has(l)){if(e.host&&(s=e.querySelector(`[sty-id="${l}"]`)))s.innerHTML=o;else{s=m.createElement("style"),s.innerHTML=o;const l=null!=(n=v.C)?n:R(m);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(w){const t=new CSSStyleSheet;t.replaceSync(o),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=o+t.innerHTML:e.prepend(s)}else e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=$),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},Y=e=>"sc-"+e.M,Z=(e,t,n,l,o,s)=>{if(n!==l){let r=i(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=te(n),s=te(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const i=M(l);if((r||i&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,u=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(u?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!r||4&s||o)&&!i&&(l=!0===l?"":l,u?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):i(p,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(ne);t=t.replace(le,""),n&&v.rel(e,t,n,o),l&&v.ael(e,t,l,o)}}},ee=/\s/,te=e=>e?e.split(ee):[],ne="Capture",le=RegExp(ne+"$"),oe=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||C,s=t.u||C;for(const e of se(Object.keys(o)))e in s||Z(l,e,o[e],void 0,n,t.l);for(const e of se(Object.keys(s)))Z(l,e,o[e],s[e],n,t.l)};function se(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var re=!1,ie=!1,ce=!1,ue=!1,fe=(e,t,n,l)=>{var o;const s=t.$[n];let r,i,c,u=0;if(re||(ce=!0,"slot"===s.m&&(D&&l.classList.add(D+"-s"),s.l|=s.$?2:1)),null!==s.i)r=s.v=m.createTextNode(s.i);else if(1&s.l)r=s.v=m.createTextNode("");else{if(ue||(ue="svg"===s.m),r=s.v=m.createElementNS(ue?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!re&&2&s.l?"slot-fb":s.m),ue&&"foreignObject"===s.m&&(ue=!1),oe(null,s,ue),!!r.getRootNode().querySelector("body")&&null!=D&&r["s-si"]!==D&&r.classList.add(r["s-si"]=D),Oe(r,l),s.$)for(u=0;u<s.$.length;++u)i=fe(e,s,u,r),i&&r.appendChild(i);"svg"===s.m?ue=!1:"foreignObject"===r.tagName&&(ue=!0)}return r["s-hn"]=T,3&s.l&&(r["s-sr"]=!0,r["s-cr"]=N,r["s-sn"]=s.p||"",r["s-rf"]=null==(o=s.u)?void 0:o.ref,c=e&&e.$&&e.$[n],c&&c.m===s.m&&e.v&&ae(e.v,!1)),r},ae=(e,t)=>{v.l|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==T&&l["s-ol"]&&(ke(me(l),l,pe(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,ce=!0),t&&ae(l,t)}v.l&=-2},de=(e,t,n,l,o,s)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===T&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=fe(null,n,o,e),r&&(l[o].v=r,ke(i,r,pe(t))))},$e=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;Se(t),e&&(ie=!0,e["s-ol"]?e["s-ol"].remove():ae(e,!0),e.remove())}}},he=(e,t,n=!1)=>!(e.m!==t.m||("slot"===e.m?"k"in e&&n&&8!==e.v.nodeType||e.p!==t.p:!n&&e.h!==t.h)),pe=e=>e&&e["s-ol"]||e,me=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ve=(e,t,n=!1)=>{const l=t.v=e.v,o=e.$,s=t.$,r=t.m,i=t.i;let c;null===i?(ue="svg"===r||"foreignObject"!==r&&ue,("slot"!==r||re)&&oe(e,t,ue),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,f=0,a=t.length-1,d=t[0],$=t[a],h=l.length-1,p=l[0],m=l[h];for(;i<=a&&c<=h;)if(null==d)d=t[++i];else if(null==$)$=t[--a];else if(null==p)p=l[++c];else if(null==m)m=l[--h];else if(he(d,p,o))ve(d,p,o),d=t[++i],p=l[++c];else if(he($,m,o))ve($,m,o),$=t[--a],m=l[--h];else if(he(d,m,o))"slot"!==d.m&&"slot"!==m.m||ae(d.v.parentNode,!1),ve(d,m,o),ke(e,d.v,$.v.nextSibling),d=t[++i],m=l[--h];else if(he($,p,o))"slot"!==d.m&&"slot"!==m.m||ae($.v.parentNode,!1),ve($,p,o),ke(e,$.v,d.v),$=t[--a],p=l[++c];else{for(u=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].h&&t[f].h===p.h){u=f;break}u>=0?(r=t[u],r.m!==p.m?s=fe(t&&t[c],n,u,e):(ve(r,p,o),t[u]=void 0,s=r.v),p=l[++c]):(s=fe(t&&t[c],n,c,e),p=l[++c]),s&&ke(me(d.v),s,pe(d.v))}i>a?de(e,null==l[h+1]?null:l[h+1].v,n,l,c,h):c>h&&$e(t,i,a)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),de(l,null,t,s,0,s.length-1)):!n&&null!==o&&$e(o,0,o.length-1),ue&&"svg"===r&&(ue=!1)):(c=l["s-cr"])?c.parentNode.textContent=i:e.i!==i&&(l.data=i)},ye=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}ye(e)}},we=[],be=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(ge(t,e)){let n=we.find((e=>e.R===t));ie=!0,t["s-sn"]=t["s-sn"]||e,n?(n.R["s-sh"]=o["s-hn"],n.A=o):(t["s-sh"]=o["s-hn"],we.push({A:o,R:t})),t["s-sr"]&&we.map((e=>{ge(e.R,t["s-sn"])&&(n=we.find((e=>e.R===t)),n&&!e.A&&(e.A=n.A))}))}else we.some((e=>e.R===t))||we.push({R:t})}1===o.nodeType&&be(o)}},ge=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Se=e=>{e.u&&e.u.ref&&e.u.ref(null),e.$&&e.$.map(Se)},ke=(e,t,n)=>{const l=null==e?void 0:e.insertBefore(t,n);return Oe(t,e),l},je=e=>{const t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...je(e.parentElement)),t},Oe=(e,t,n=!1)=>{var l;if(e&&t&&1===e.nodeType){const o=new Set(je(t).filter(Boolean));if(o.size&&(null==(l=e.classList)||l.add(...e["s-scs"]=Array.from(o)),e["s-ol"]||n))for(const t of Array.from(e.childNodes))Oe(t,e,!0)}},Ee=(e,t)=>{t&&!e.P&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.P=t)))},xe=(e,t)=>{if(e.l|=16,!(4&e.l))return Ee(e,e.I),x((()=>Ce(e,t)));e.l|=512},Ce=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.l|=256,e.D&&(e.D.map((([e,t])=>Ne(n,e,t))),e.D=void 0),l=Ne(n,"componentWillLoad")),l=Me(l,(()=>Ne(n,"componentWillRender"))),Me(l,(()=>Ae(e,n,t)))},Me=(e,t)=>Re(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Re=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Ae=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.N,n=e.$hostElement$,l=t.l,o=X(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);Pe(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>Ie(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},Pe=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{var l,o,s,r;const i=e.$hostElement$,c=e.N,u=e.T||L(null,null),f=(e=>e&&e.m===W)(t)?t:H(null,null,t);if(T=i.tagName,c.U&&(f.u=f.u||{},c.U.map((([e,t])=>f.u[t]=i[e]))),n&&f.u)for(const e of Object.keys(f.u))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(f.u[e]=i[e]);if(f.m=null,f.l|=4,e.T=f,f.v=u.v=i.shadowRoot||i,D=i["s-sc"],re=!!(1&c.l),N=i["s-cr"],ie=!1,ve(u,f,n),v.l|=1,ce){be(f.v);for(const e of we){const t=e.R;if(!t["s-ol"]){const e=m.createTextNode("");e["s-nr"]=t,ke(t.parentNode,t["s-ol"]=e,t)}}for(const e of we){const t=e.R,i=e.A;if(i){const e=i.parentNode;let n=i.nextSibling;{let s=null==(l=t["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){for(l=l.nextSibling;l===t||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),ke(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}ie&&ye(f.v),v.l&=-2,we.length=0,N=void 0})(e,t,l)}catch(t){c(t,e.$hostElement$)}return null},Ie=e=>{const t=e.$hostElement$,n=e.t,l=e.I;Ne(n,"componentDidRender"),64&e.l?Ne(n,"componentDidUpdate"):(e.l|=64,Te(t),Ne(n,"componentDidLoad"),e.F(t),l||De()),e.H(t),e.P&&(e.P(),e.P=void 0),512&e.l&&E((()=>xe(e,!1))),e.l&=-517},De=()=>{Te(m.documentElement),E((()=>K(p,"appload",{detail:{namespace:e}})))},Ne=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){c(e)}},Te=e=>e.classList.add("hydrated"),Ue=(e,t,n)=>{var l,o;const r=e.prototype;if(t.L||t.W||e.watchers){e.watchers&&!t.W&&(t.W=e.watchers);const i=Object.entries(null!=(l=t.L)?l:{});if(i.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(r,e,{get(){return((e,t)=>s(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=s(e);if(!o)throw Error(`Couldn't find host element for "${l.M}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=o.$hostElement$,i=o.B.get(t),u=o.l,f=o.t;if(n=((e,t)=>null==e||M(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.L[t][0]),(!(8&u)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.B.set(t,n),f)){if(l.W&&128&u){const e=l.W[t];e&&e.map((e=>{try{f[e](n,i,t)}catch(e){c(e,r)}}))}2==(18&u)&&xe(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(r,e,{value(...t){var n;const l=s(this);return null==(n=null==l?void 0:l.V)?void 0:n.then((()=>{var n;return null==(n=l.t)?void 0:n[e](...t)}))}})})),1&n){const n=new Map;r.attributeChangedCallback=function(e,l,o){v.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c))o=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const n=s(this),r=null==n?void 0:n.l;if(r&&!(8&r)&&128&r&&o!==l){const s=n.t,r=null==(i=t.W)?void 0:i[e];null==r||r.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,e)}))}return}}this[c]=(null!==o||"boolean"!=typeof this[c])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.W)?o:{}),...i.filter((([e,t])=>15&t[0])).map((([e,l])=>{var o;const s=l[1]||e;return n.set(s,e),512&l[0]&&(null==(o=t.U)||o.push([e,s])),s}))]))}}return e},Fe=e=>{Ne(e,"connectedCallback")},He=e=>{if(!(1&v.l)){const t=s(e),n=t.N,l=()=>{};if(1&t.l)Ge(e,t,n.q),(null==t?void 0:t.t)?Fe(t.t):(null==t?void 0:t.G)&&t.G.then((()=>Fe(t.t)));else{let l;if(t.l|=1,l=e.getAttribute(a),l){if(1&n.l){const t=X(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],r=o?[]:null,i=l.T=L(t,null);v._||_(m.body,v._=new Map),e[a]=n,e.removeAttribute(a),G(i,s,[],r,e,e,n),s.map((e=>{const n=e.S+"."+e.k,l=v._.get(n),s=e.v;l&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),v._.delete(n)})),o&&r.map((e=>{e&&o.appendChild(e)}))})(e,n.M,l,t)}l||12&n.l&&Le(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Ee(t,t.I=n);break}}n.L&&Object.entries(n.L).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),E((()=>(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.J){const e=(e=>{const t=e.M.replace(/-/g,"_"),n=e.J;if(!n)return;const l=u.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(u.set(n,e),e[t])),c)
|
|
5
5
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.M}#${t.K}" was not found`);l.isProxied||(n.W=l.watchers,Ue(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){c(e)}t.l&=-9,t.l|=128,o(),Fe(t.t)}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=Y(n);if(!f.has(t)){const l=()=>{};((e,t,n)=>{let l=f.get(e);w&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,f.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.I,s=()=>xe(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(e,t,n)))}l()}},Le=e=>{const t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,ke(e,t,e.firstChild)},We=e=>{Ne(e,"disconnectedCallback")},Be=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.l){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(!(1&v.l)&&2&s(this).l){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},Ve=(e,t={})=>{var n;const l=[],r=t.exclude||[],i=p.customElements,c=m.head,u=c.querySelector("meta[charset]"),f=m.createElement("style"),a=[];let d,h=!0;Object.assign(v,t),v.o=new URL(t.resourcesUrl||"./",m.baseURI).href,v.l|=2;let y=!1;if(e.map((e=>{e[1].map((t=>{var n;const c={l:t[0],M:t[1],L:t[2],q:t[3]};4&c.l&&(y=!0),c.L=t[2],c.q=t[3],c.U=[],c.W=null!=(n=t[4])?n:{};const u=c.M,f=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={l:0,$hostElement$:e,N:t,B:new Map};n.V=new Promise((e=>n.H=e)),n.G=new Promise((e=>n.F=e)),e["s-p"]=[],e["s-rc"]=[],o.set(e,n)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.M}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open",delegatesFocus:!!(16&c.l)})}connectedCallback(){const e=s(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ge(this,e,c.q)),d&&(clearTimeout(d),d=null),h?a.push(this):v.jmp((()=>He(this)))}disconnectedCallback(){v.jmp((()=>(async()=>{if(!(1&v.l)){const e=s(this);e.X&&(e.X.map((e=>e())),e.X=void 0),(null==e?void 0:e.t)?We(e.t):(null==e?void 0:e.G)&&e.G.then((()=>We(e.t)))}})()))}componentOnReady(){return s(this).G}};Be(f.prototype,c),c.J=e[0],r.includes(u)||i.get(u)||(l.push(u),i.define(u,Ue(f,c,1)))}))})),l.length>0&&(y&&(f.textContent+=$),f.innerHTML.length)){f.setAttribute("data-styles","");const e=null!=(n=v.C)?n:R(m);null!=e&&f.setAttribute("nonce",e),c.insertBefore(f,u?u.nextSibling:c.firstChild)}h=!1,a.length?a.map((e=>e.connectedCallback())):v.jmp((()=>d=setTimeout(De,30)))},qe=(e,t)=>t,Ge=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ze(e,n),r=_e(t,o),i=Je(n);v.ael(s,l,r,i),(t.X=t.X||[]).push((()=>v.rel(s,l,r,i)))}))},_e=(e,t)=>n=>{var l;try{256&e.l?null==(l=e.t)||l[t](n):(e.D=e.D||[]).push([t,n])}catch(e){c(e)}},ze=(e,t)=>4&t?m:8&t?p:16&t?m.body:e,Je=e=>({passive:!!(1&e),capture:!!(2&e)}),Ke=e=>v.C=e;export{l as B,t as E,qe as F,W as H,e as N,Ve as b,J as c,m as d,z as g,H as h,y as p,r,Ke as s}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(t,e,a,r){function i(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,o){function s(t){try{u(r.next(t))}catch(t){o(t)}}function n(t){try{u(r["throw"](t))}catch(t){o(t)}}function u(t){t.done?a(t.value):i(t.value).then(s,n)}u((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function n(t){return function(e){return u([t,e])}}function u(n){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,n[0]&&(a=0)),a)try{if(r=1,i&&(o=n[0]&2?i["return"]:n[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,n[1])).done)return o;if(i=0,o)n=[n[0]&2,o.value];switch(n[0]){case 0:case 1:o=n;break;case 4:a.label++;return{value:n[1],done:false};case 5:a.label++;i=n[1];n=[0];continue;case 7:n=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(n[0]===6||n[0]===2)){a=0;continue}if(n[0]===3&&(!o||n[1]>o[0]&&n[1]<o[3])){a.label=n[1];break}if(n[0]===6&&a.label<o[1]){a.label=o[1];o=n;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(n);break}if(o[2])a.ops.pop();a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t];i=0}finally{r=o=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-d8863869.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-e12066c8.system.js","./p-93087deb.system.js"],(function(t){"use strict";var e,a,r,i,o,s,n,u,d;return{setters:[function(t){e=t.r;a=t.c;r=t.h;i=t.H;o=t.g},function(t){s=t.i},function(t){n=t.c},function(t){u=t.c},function(t){d=t.c}],execute:function(){var c='*.sc-duet-textarea,*.sc-duet-textarea::after,*.sc-duet-textarea::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-textarea-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}.sc-duet-textarea-h:last-child,.sc-duet-textarea-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-textarea-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-textarea-h{width:100% !important}}.duet-m-0.sc-duet-textarea-h{margin:0 !important}duet-tooltip.sc-duet-textarea,.sc-duet-textarea-s>duet-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-textarea,.sc-duet-textarea-s>duet-tooltip{position:relative;top:4px;right:auto}}.duet-textarea-container.sc-duet-textarea{position:relative;width:100%;height:100%}.duet-textarea-container.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:none}.duet-textarea-container.duet-input-top-caption-shown.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:flex !important}.duet-textarea-wrapper.sc-duet-textarea{position:relative}.duet-textarea-placeholder.sc-duet-textarea{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea.sc-duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(224, 42, 13) !important}.duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(116, 116, 117)}.duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-textarea[disabled].sc-duet-textarea{color:rgb(101, 119, 135) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important}.duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(0, 41, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(0, 41, 77);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(0, 41, 77)}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea.sc-duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea.sc-duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help.sc-duet-textarea{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;line-height:1.25}.duet-textarea-help.sc-duet-textarea span.sc-duet-textarea{display:block;margin-top:8px}.duet-theme-turva.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{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(116, 116, 117)}.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-textarea duet-label.sc-duet-textarea{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count.sc-duet-textarea{display:block;margin:8px 0 0 auto}';var l=c;var h=function(t){var e=t.value,a=t.maxlength,i=t.label,o=t.theme;if(a==null){return}var s=e.length;var n=Math.max(a-s,0);var u=n/a<=.1;return r("div",{class:"duet-character-count"},r("duet-caption",{margin:"none",theme:o,size:"small"},r("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true",class:"duet-textarea-counter-remaining"},u&&"".concat(n," ").concat(i)),r("span",{"aria-hidden":"true"},s,"/",a)))};var p=t("duet_textarea",function(){function t(t){var r=this;e(this,t);this.duetInput=a(this,"duetInput",7);this.duetChange=a(this,"duetChange",7);this.duetBlur=a(this,"duetBlur",7);this.duetFocus=a(this,"duetFocus",7);this.textareaId=n("DuetTextarea");this.topCaptionId=n("DuetCaptionTop");this.topCaptionPlaceholderId=n("DuetCaptionPlaceholderTop");this.labelId=n("DuetLabel");this.errorId=n("DuetError");this.characterCountId=n("DuetCharacterCount");this.disallowPatternRegex=null;this.handleInput=function(t){if(r.disallowPatternRegex){u(r.nativeInput,r.disallowPatternRegex)}r.value=r.nativeInput.value;r.isCaptionVisible=!!r.caption;r.duetInput.emit({originalEvent:t,value:r.value,component:"duet-textarea"})};this.handleChange=function(t){r.value=r.nativeInput.value;r.duetChange.emit({originalEvent:t,value:r.value,component:"duet-textarea"})};this.handleBlur=function(t){r.duetBlur.emit({originalEvent:t,value:r.value,component:"duet-textarea"})};this.handleFocus=function(t){if(r.counter){r.hiddenCounterLabel.textContent="".concat(Math.max(r.maxlength-r.value.length,0),"/").concat(r.maxlength," ").concat(r.counterLabel)}r.duetFocus.emit({originalEvent:t,value:r.value,component:"duet-textarea"})};this.getDescribedBy=function(){var t=[];if(r.isCaptionVisible&&r.topCaptionId){t.push(r.topCaptionId)}if(r.accessibleDescribedBy){t.push(r.accessibleDescribedBy)}if(r.error){t.push(r.errorId)}if(r.counter){t.push(r.characterCountId)}return t.length>0?t.join(" "):null};this.margin="auto";this.accessibleActiveDescendant=undefined;this.accessibleAutocomplete=undefined;this.accessibleControls=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLiveError="polite";this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.theme="";this.expand=false;this.disabled=false;this.identifier=undefined;this.required=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.labelHidden=false;this.name=undefined;this.placeholder=undefined;this.caption=undefined;this.echoPlaceholder=false;this.maxlength=undefined;this.minlength=undefined;this.error="";this.role=undefined;this.tooltip="";this.tooltipDirection="auto";this.value="";this.disallowPattern=null;this.counter=false;this.counterLabel=undefined}t.prototype.disallowedPatternChange=function(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null};t.prototype.componentWillLoad=function(){s(this);this.disallowedPatternChange();this.isCaptionVisible=!!this.caption;d(this.element,"tooltip","duet-tooltip",1,true);if(this.counter&&this.maxlength==null){console.warn("[DUET WARNING]: counter will only take effect if maxlength is set")}if(!this.counter&&this.counterLabel!=null){console.warn("[DUET WARNING]: counter-label is redundant unless used with counter")}if(this.counter&&!this.counterLabel){console.warn("[DUET WARNING]: counter requires counter-label to be set")}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.nativeInput.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;var e=this.identifier||this.textareaId;return r(i,{class:{"duet-m-0":this.margin==="none","duet-has-counter":this.counter&&!this.error,"duet-expand":this.expand}},r("div",{class:{"duet-textarea-container":true,"duet-theme-turva":this.theme==="turva","duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error}},r("duet-label",{theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},margin:this.isCaptionVisible?"small":"auto",color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:e},this.label),this.tooltip&&r("duet-tooltip",{direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:this.theme==="turva"?"turva":"default"},this.tooltip),r("slot",{name:"tooltip"}),this.caption&&r("duet-caption",{id:this.topCaptionId,size:"medium",theme:this.theme==="turva"?"turva":"default"},this.caption),r("div",{class:"duet-textarea-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&r("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-textarea-placeholder",size:"small"},this.placeholder),r("textarea",{onInput:this.handleInput,onChange:this.handleChange,onBlur:this.handleBlur,onFocus:this.handleFocus,ref:function(e){return t.nativeInput=e},class:{"duet-textarea":true,disabled:this.disabled},value:this.value,disabled:this.disabled,"aria-labelledby":this.accessibleLabelledBy?"".concat(this.labelId," ").concat(this.accessibleLabelledBy):this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,placeholder:this.placeholder,spellcheck:"false",required:this.required,minlength:this.minlength,maxlength:this.maxlength,role:this.role,name:this.name,id:e})),r("duet-grid",{alignment:"stretch"},r("duet-grid-item",{margin:"none",fill:true},r("div",{class:"duet-textarea-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&r("span",null,this.error))),r("duet-grid-item",{margin:"none",class:"duet-character-count-caption"},this.counter&&r(h,{theme:this.theme,value:this.value,maxlength:this.maxlength,label:this.counterLabel}))),this.counter&&r("duet-visually-hidden",{class:"duet-visually-hidden",id:this.characterCountId,ref:function(e){t.hiddenCounterLabel=e}})))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disallowPattern:["disallowedPatternChange"]}},enumerable:false,configurable:true});return t}());p.style=l}}}));
|
|
4
|
+
*/System.register(["./p-6b3a931f.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-e12066c8.system.js","./p-9b386f5b.system.js"],(function(t){"use strict";var e,a,r,i,o,s,n,u,d;return{setters:[function(t){e=t.r;a=t.c;r=t.h;i=t.H;o=t.g},function(t){s=t.i},function(t){n=t.c},function(t){u=t.c},function(t){d=t.c}],execute:function(){var c='*.sc-duet-textarea,*.sc-duet-textarea::after,*.sc-duet-textarea::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-textarea-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}.sc-duet-textarea-h:last-child,.sc-duet-textarea-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-textarea-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-textarea-h{width:100% !important}}.duet-m-0.sc-duet-textarea-h{margin:0 !important}duet-tooltip.sc-duet-textarea,.sc-duet-textarea-s>duet-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-textarea,.sc-duet-textarea-s>duet-tooltip{position:relative;top:4px;right:auto}}.duet-textarea-container.sc-duet-textarea{position:relative;width:100%;height:100%}.duet-textarea-container.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:none}.duet-textarea-container.duet-input-top-caption-shown.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:flex !important}.duet-textarea-wrapper.sc-duet-textarea{position:relative}.duet-textarea-placeholder.sc-duet-textarea{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea.sc-duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(224, 42, 13) !important}.duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(116, 116, 117)}.duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-textarea[disabled].sc-duet-textarea{color:rgb(101, 119, 135) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important}.duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(0, 41, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(0, 41, 77);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(0, 41, 77)}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea.sc-duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea.sc-duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help.sc-duet-textarea{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;line-height:1.25}.duet-textarea-help.sc-duet-textarea span.sc-duet-textarea{display:block;margin-top:8px}.duet-theme-turva.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{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(116, 116, 117)}.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-textarea duet-label.sc-duet-textarea{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count.sc-duet-textarea{display:block;margin:8px 0 0 auto}';var l=c;var h=function(t){var e=t.value,a=t.maxlength,i=t.label,o=t.theme;if(a==null){return}var s=e.length;var n=Math.max(a-s,0);var u=n/a<=.1;return r("div",{class:"duet-character-count"},r("duet-caption",{margin:"none",theme:o,size:"small"},r("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true",class:"duet-textarea-counter-remaining"},u&&"".concat(n," ").concat(i)),r("span",{"aria-hidden":"true"},s,"/",a)))};var p=t("duet_textarea",function(){function t(t){var r=this;e(this,t);this.duetInput=a(this,"duetInput",7);this.duetChange=a(this,"duetChange",7);this.duetBlur=a(this,"duetBlur",7);this.duetFocus=a(this,"duetFocus",7);this.textareaId=n("DuetTextarea");this.topCaptionId=n("DuetCaptionTop");this.topCaptionPlaceholderId=n("DuetCaptionPlaceholderTop");this.labelId=n("DuetLabel");this.errorId=n("DuetError");this.characterCountId=n("DuetCharacterCount");this.disallowPatternRegex=null;this.handleInput=function(t){if(r.disallowPatternRegex){u(r.nativeInput,r.disallowPatternRegex)}r.value=r.nativeInput.value;r.isCaptionVisible=!!r.caption;r.duetInput.emit({originalEvent:t,value:r.value,component:"duet-textarea"})};this.handleChange=function(t){r.value=r.nativeInput.value;r.duetChange.emit({originalEvent:t,value:r.value,component:"duet-textarea"})};this.handleBlur=function(t){r.duetBlur.emit({originalEvent:t,value:r.value,component:"duet-textarea"})};this.handleFocus=function(t){if(r.counter){r.hiddenCounterLabel.textContent="".concat(Math.max(r.maxlength-r.value.length,0),"/").concat(r.maxlength," ").concat(r.counterLabel)}r.duetFocus.emit({originalEvent:t,value:r.value,component:"duet-textarea"})};this.getDescribedBy=function(){var t=[];if(r.isCaptionVisible&&r.topCaptionId){t.push(r.topCaptionId)}if(r.accessibleDescribedBy){t.push(r.accessibleDescribedBy)}if(r.error){t.push(r.errorId)}if(r.counter){t.push(r.characterCountId)}return t.length>0?t.join(" "):null};this.margin="auto";this.accessibleActiveDescendant=undefined;this.accessibleAutocomplete=undefined;this.accessibleControls=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLiveError="polite";this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.theme="";this.expand=false;this.disabled=false;this.identifier=undefined;this.required=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.labelHidden=false;this.name=undefined;this.placeholder=undefined;this.caption=undefined;this.echoPlaceholder=false;this.maxlength=undefined;this.minlength=undefined;this.error="";this.role=undefined;this.tooltip="";this.tooltipDirection="auto";this.value="";this.disallowPattern=null;this.counter=false;this.counterLabel=undefined}t.prototype.disallowedPatternChange=function(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null};t.prototype.componentWillLoad=function(){s(this);this.disallowedPatternChange();this.isCaptionVisible=!!this.caption;d(this.element,"tooltip","duet-tooltip",1,true);if(this.counter&&this.maxlength==null){console.warn("[DUET WARNING]: counter will only take effect if maxlength is set")}if(!this.counter&&this.counterLabel!=null){console.warn("[DUET WARNING]: counter-label is redundant unless used with counter")}if(this.counter&&!this.counterLabel){console.warn("[DUET WARNING]: counter requires counter-label to be set")}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.nativeInput.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;var e=this.identifier||this.textareaId;return r(i,{class:{"duet-m-0":this.margin==="none","duet-has-counter":this.counter&&!this.error,"duet-expand":this.expand}},r("div",{class:{"duet-textarea-container":true,"duet-theme-turva":this.theme==="turva","duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error}},r("duet-label",{theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},margin:this.isCaptionVisible?"small":"auto",color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:e},this.label),this.tooltip&&r("duet-tooltip",{direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:this.theme==="turva"?"turva":"default"},this.tooltip),r("slot",{name:"tooltip"}),this.caption&&r("duet-caption",{id:this.topCaptionId,size:"medium",theme:this.theme==="turva"?"turva":"default"},this.caption),r("div",{class:"duet-textarea-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&r("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-textarea-placeholder",size:"small"},this.placeholder),r("textarea",{onInput:this.handleInput,onChange:this.handleChange,onBlur:this.handleBlur,onFocus:this.handleFocus,ref:function(e){return t.nativeInput=e},class:{"duet-textarea":true,disabled:this.disabled},value:this.value,disabled:this.disabled,"aria-labelledby":this.accessibleLabelledBy?"".concat(this.labelId," ").concat(this.accessibleLabelledBy):this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,placeholder:this.placeholder,spellcheck:"false",required:this.required,minlength:this.minlength,maxlength:this.maxlength,role:this.role,name:this.name,id:e})),r("duet-grid",{alignment:"stretch"},r("duet-grid-item",{margin:"none",fill:true},r("div",{class:"duet-textarea-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&r("span",null,this.error))),r("duet-grid-item",{margin:"none",class:"duet-character-count-caption"},this.counter&&r(h,{theme:this.theme,value:this.value,maxlength:this.maxlength,label:this.counterLabel}))),this.counter&&r("duet-visually-hidden",{class:"duet-visually-hidden",id:this.characterCountId,ref:function(e){t.hiddenCounterLabel=e}})))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disallowPattern:["disallowedPatternChange"]}},enumerable:false,configurable:true});return t}());p.style=l}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-6b3a931f.system.js","./p-b864159a.system.js"],(function(e){"use strict";var t,a,i,d,n;return{setters:[function(e){t=e.r;a=e.h;i=e.H;d=e.g},function(e){n=e.i}],execute:function(){var o="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{position:relative;padding:0 16px;margin:48px auto 36px}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}";var u=o;var m=e("duet_section_layout",function(){function e(e){t(this,e);this.margin="auto";this.middle=false}e.prototype.render=function(){return a(i,{key:"84860259acf32befb4dc83a1b84e58c49dffaaa9",class:{"duet-middle":this.middle,"duet-ie":n()}},a("div",{key:"8a91d29eb630fa72ac779644ff2c2df3c1e7b173",class:{"duet-layout":true,"duet-m-0":this.margin==="none"}},a("section",{key:"68c01ac54249408439dfab1d053533a01e868be1",class:"duet-main"},a("slot",{key:"6b7df39ead8e612c0fcc1d67945e4f4b3b195536"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});return e}());m.style=u}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,h as e,g as i,H as d}from"./p-7bd92c3a.js";import{i as s}from"./p-aaa7a7bd.js";import{w as l}from"./p-7d8a2628.js";const o=class{constructor(e){t(this,e),this.theme="",this.margin="auto",this.padding="auto",this.mobile="left",this.breakpoint="small",this.variation="default",this.labelWidth="30",this.responsive=!0}componentWillLoad(){s(this)}async connectedCallback(){this.mutationO=l(this.element,"duet-list-item",(()=>{this.updateListItems()})),this.updateListItems()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}toggleClass(t,e,i){i?t.classList.add(e):t.classList.remove(e)}async updateListItems(){Array.from(this.element.querySelectorAll("duet-list-item")).forEach((t=>{t.responsive=this.responsive,t.breakpoint=this.responsive?this.breakpoint||"small":void 0,t.classList.add(`duet-list-width-${this.labelWidth}`),t.classList.add(`duet-list-variation-${this.variation}`),this.toggleClass(t,"duet-p-0","none"===this.padding),this.toggleClass(t,"duet-list-mobile-center","center"===this.mobile),this.toggleClass(t,"duet-list-striped","striped"===this.variation),this.toggleClass(t,"duet-list-bordered","bordered"===this.variation),this.toggleClass(t,"duet-list-inner-bordered","inner-bordered"===this.variation),this.toggleClass(t,"duet-theme-turva","turva"===this.theme)}))}render(){return e("dl",{key:"134d85e7daf9ff81e49dddbc1c0877548651f8fb",class:{"duet-list-component":!0,"duet-m-0":"none"===this.margin}},e("slot",{key:"46080db7331197a3b17627c15a11e3540e3473b8"}))}get element(){return i(this)}static get watchers(){return{theme:["updateListItems"],padding:["updateListItems"],mobile:["updateListItems"],responsive:["updateListItems"],breakpoint:["updateListItems"],variation:["updateListItems"],labelWidth:["updateListItems"]}}};o.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.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}";const a=class{constructor(e){t(this,e),this.responsive=!1,this.breakpoint="small"}render(){return e(d,{key:"0df4c6498653a7f20f8ac8d21f1044cd5ffd509b",class:{"duet-no-stacking":!this.responsive,"duet-list-item-breakpoint-x-small":"x-small"===this.breakpoint,"duet-list-item-breakpoint-small":"small"===this.breakpoint,"duet-list-item-breakpoint-medium":"medium"===this.breakpoint,"duet-list-item-breakpoint-large":"large"===this.breakpoint,"duet-list-item-breakpoint-x-large":"x-large"===this.breakpoint}},e("dt",{key:"dc9ead4dada3ad614b7099be0e86d80e05971257"},e("slot",{key:"48f7393a2af77be1e716dbb617de3951d5bfae8c",name:"label"})),e("dd",{key:"571e2c23a8de7facceb48bf8bf2924f34e7a9505"},e("slot",{key:"2b5f6420744bbac07db85a58d9b3524f86b51549",name:"value"})))}};a.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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(0, 41, 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;-webkit-hyphens:auto;hyphens:auto;text-align:left;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-child(odd)) dt,:host(.duet-list-striped:nth-child(odd)) dd{background:rgb(245, 248, 250)}:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dt,:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dd{background:rgb(245, 245, 247)}:host(.duet-list-bordered){border-block-start:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered:last-child){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered.duet-theme-turva){border-block-start:1px solid rgb(228, 228, 230)}:host(.duet-list-bordered.duet-theme-turva:last-child){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-list-inner-bordered:not(:last-child)){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child)){border-block-end:1px solid rgb(228, 228, 230)}: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%}}';export{o as duet_list,a as duet_list_item}
|
|
4
|
+
import{r as t,h as e,g as i,H as d}from"./p-3d5ae2e9.js";import{i as s}from"./p-aaa7a7bd.js";import{w as l}from"./p-7d8a2628.js";const o=class{constructor(e){t(this,e),this.theme="",this.margin="auto",this.padding="auto",this.mobile="left",this.breakpoint="small",this.variation="default",this.labelWidth="30",this.responsive=!0}componentWillLoad(){s(this)}async connectedCallback(){this.mutationO=l(this.element,"duet-list-item",(()=>{this.updateListItems()})),this.updateListItems()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}toggleClass(t,e,i){i?t.classList.add(e):t.classList.remove(e)}async updateListItems(){Array.from(this.element.querySelectorAll("duet-list-item")).forEach((t=>{t.responsive=this.responsive,t.breakpoint=this.responsive?this.breakpoint||"small":void 0,t.classList.add(`duet-list-width-${this.labelWidth}`),t.classList.add(`duet-list-variation-${this.variation}`),this.toggleClass(t,"duet-p-0","none"===this.padding),this.toggleClass(t,"duet-list-mobile-center","center"===this.mobile),this.toggleClass(t,"duet-list-striped","striped"===this.variation),this.toggleClass(t,"duet-list-bordered","bordered"===this.variation),this.toggleClass(t,"duet-list-inner-bordered","inner-bordered"===this.variation),this.toggleClass(t,"duet-theme-turva","turva"===this.theme)}))}render(){return e("dl",{key:"1fe1ac541aeae071f5684e90937cee1a4be689d6",class:{"duet-list-component":!0,"duet-m-0":"none"===this.margin}},e("slot",{key:"166ca55ff1ca8e804357bf991b84ede3eac45d13"}))}get element(){return i(this)}static get watchers(){return{theme:["updateListItems"],padding:["updateListItems"],mobile:["updateListItems"],responsive:["updateListItems"],breakpoint:["updateListItems"],variation:["updateListItems"],labelWidth:["updateListItems"]}}};o.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.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}";const a=class{constructor(e){t(this,e),this.responsive=!1,this.breakpoint="small"}render(){return e(d,{key:"5ca1067fca4b44ef1a3b57b52e775407879ab750",class:{"duet-no-stacking":!this.responsive,"duet-list-item-breakpoint-x-small":"x-small"===this.breakpoint,"duet-list-item-breakpoint-small":"small"===this.breakpoint,"duet-list-item-breakpoint-medium":"medium"===this.breakpoint,"duet-list-item-breakpoint-large":"large"===this.breakpoint,"duet-list-item-breakpoint-x-large":"x-large"===this.breakpoint}},e("dt",{key:"c8141e0af55f96c0dae8fbb8a50e74be470dc6bd"},e("slot",{key:"583b9d7f5109da8f0185abcf07ca45d6d30944dc",name:"label"})),e("dd",{key:"bfcb5056ec7fbb9412084e3eb95b610f168d7559"},e("slot",{key:"3b844ecbbf9dbb82e2b4d9ac44cad328104865da",name:"value"})))}};a.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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(0, 41, 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;-webkit-hyphens:auto;hyphens:auto;text-align:left;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-child(odd)) dt,:host(.duet-list-striped:nth-child(odd)) dd{background:rgb(245, 248, 250)}:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dt,:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dd{background:rgb(245, 245, 247)}:host(.duet-list-bordered){border-block-start:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered:last-child){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered.duet-theme-turva){border-block-start:1px solid rgb(228, 228, 230)}:host(.duet-list-bordered.duet-theme-turva:last-child){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-list-inner-bordered:not(:last-child)){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child)){border-block-end:1px solid rgb(228, 228, 230)}: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%}}';export{o as duet_list,a as duet_list_item}
|