@duetds/components 10.0.0-alpha.15 → 10.0.0-alpha.17
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 +233 -281
- package/hydrate/index.mjs +233 -281
- package/lib/cjs/{a11y-utils-CrefuUbk.js → a11y-utils-S7EWRkkw.js} +1 -1
- package/lib/cjs/{app-globals-CkySA1aW.js → app-globals-lHtjqhbN.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
- package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +12 -12
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- 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 +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +37 -40
- package/lib/cjs/duet-collapsible.cjs.entry.js +5 -5
- package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +7 -7
- package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +11 -11
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +7 -7
- package/lib/cjs/duet-grid_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +12 -12
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +5 -5
- package/lib/cjs/duet-modal.cjs.entry.js +10 -10
- package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -17
- package/lib/cjs/duet-phone-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-radio_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +16 -16
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +8 -8
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
- package/lib/cjs/duet-status-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-textarea.cjs.entry.js +7 -7
- package/lib/cjs/duet-toggle.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{errorcodes.utils-mZFkq5Tt.js → errorcodes.utils-BF09Olly.js} +1 -1
- package/lib/cjs/{focus-utils-dqd59YI6.js → focus-utils-1wKembUn.js} +1 -1
- package/lib/cjs/{index-CdC7dzZ-.js → index-uqHcI6At.js} +1 -1
- package/lib/cjs/{label-BQpxsrOR.js → label-CsVdgVgQ.js} +1 -1
- package/lib/cjs/{language-utils-A7DfQayC.js → language-utils-akTJZznO.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{slot-utils-DgJchaT4.js → slot-utils-HZWlOXwP.js} +1 -1
- package/lib/cjs/{token-utils-BUKJTu4j.js → token-utils-CHLLcMzU.js} +1 -1
- package/lib/cjs/{tokens-5GTblf2d.js → tokens-2_NV_3h7.js} +2 -29
- package/lib/cjs/{tokens.module-GwBgNF6_.js → tokens.module-7opSZfop.js} +2 -20
- 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-choice/duet-choice.css +1 -1
- package/lib/collection/components/duet-choice/duet-choice.js +60 -34
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -2
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +6 -6
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +1 -1
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +6 -6
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.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-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- 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/duet/duet.esm.js +1 -1
- package/lib/duet/{p-362f6fc2.entry.js → p-00338c5c.entry.js} +1 -1
- package/lib/duet/{p-1153b069.entry.js → p-0789898b.entry.js} +1 -1
- package/lib/duet/p-0a6bcfcf.entry.js +4 -0
- package/lib/duet/p-14498307.entry.js +4 -0
- package/lib/duet/{p-44f37fb5.entry.js → p-14d8e517.entry.js} +1 -1
- package/lib/duet/{p-a95a9a4d.entry.js → p-173bbac8.entry.js} +1 -1
- package/lib/duet/p-1b4e3e7d.entry.js +4 -0
- package/lib/duet/{p-32f7b711.entry.js → p-1dae1d32.entry.js} +1 -1
- package/lib/duet/{p-d155856d.entry.js → p-1fc20bed.entry.js} +1 -1
- package/lib/duet/{p-a893d1f9.entry.js → p-21e05937.entry.js} +1 -1
- package/lib/duet/{p-93336ef6.entry.js → p-2212792b.entry.js} +1 -1
- package/lib/duet/p-2312542c.entry.js +4 -0
- package/lib/duet/{p-342d9746.entry.js → p-252d807d.entry.js} +1 -1
- package/lib/duet/{p-85316d42.entry.js → p-28de3114.entry.js} +1 -1
- package/lib/duet/{p-56cb675d.entry.js → p-2e2505e5.entry.js} +1 -1
- package/lib/duet/{p-d8ae749e.entry.js → p-306deca6.entry.js} +1 -1
- package/lib/duet/{p-e6b06321.entry.js → p-355e4542.entry.js} +1 -1
- package/lib/duet/{p-1e769f0d.entry.js → p-39899080.entry.js} +1 -1
- package/lib/duet/{p-38b70269.entry.js → p-3ab6ff9c.entry.js} +1 -1
- package/lib/duet/{p-5d8d8118.entry.js → p-3b600e5e.entry.js} +1 -1
- package/lib/duet/{p-138538b8.entry.js → p-3bb0f406.entry.js} +1 -1
- package/lib/duet/{p-c00040f7.entry.js → p-3d69a485.entry.js} +1 -1
- package/lib/duet/{p-ec552dc7.entry.js → p-427116d9.entry.js} +1 -1
- package/lib/duet/{p-e8649c4a.entry.js → p-44671621.entry.js} +1 -1
- package/lib/duet/{p-96f19678.entry.js → p-450cfccd.entry.js} +1 -1
- package/lib/duet/{p-7699005d.entry.js → p-46055b7e.entry.js} +1 -1
- package/lib/duet/{p-be665fb2.entry.js → p-4798455c.entry.js} +1 -1
- package/lib/duet/{p-587fbe7c.entry.js → p-492f01b1.entry.js} +1 -1
- package/lib/duet/{p-a4613009.entry.js → p-517689ba.entry.js} +1 -1
- package/lib/duet/{p-5f5bcada.entry.js → p-54cdbe11.entry.js} +1 -1
- package/lib/duet/{p-e35a987e.entry.js → p-561db604.entry.js} +1 -1
- package/lib/duet/p-569dcb65.entry.js +4 -0
- package/lib/duet/{p-c6237212.entry.js → p-570a146e.entry.js} +1 -1
- package/lib/duet/{p-9a05eda1.entry.js → p-58bf4e45.entry.js} +1 -1
- package/lib/duet/{p-4e945a94.entry.js → p-5a48d514.entry.js} +1 -1
- package/lib/duet/p-5b8f28d4.entry.js +4 -0
- package/lib/duet/{p-893e65fc.entry.js → p-5fe5e3f3.entry.js} +1 -1
- package/lib/duet/{p-a57b80f6.entry.js → p-683d3e56.entry.js} +1 -1
- package/lib/duet/{p-aba49d8e.entry.js → p-689b359e.entry.js} +1 -1
- package/lib/duet/p-71d2be37.entry.js +4 -0
- package/lib/duet/{p-0e72751a.entry.js → p-729ae024.entry.js} +1 -1
- package/lib/duet/{p-82f7e5b7.entry.js → p-75fdc567.entry.js} +1 -1
- package/lib/duet/{p-1f8695a5.entry.js → p-7689dc03.entry.js} +1 -1
- package/lib/duet/{p-ae4af39c.entry.js → p-779870a0.entry.js} +1 -1
- package/lib/duet/{p-2cbe593b.entry.js → p-822e3f91.entry.js} +1 -1
- package/lib/duet/{p-91c232e2.entry.js → p-8e0788bb.entry.js} +1 -1
- package/lib/duet/{p-7a319135.entry.js → p-8e2a6dc3.entry.js} +1 -1
- package/lib/duet/{p-bdbbf67e.entry.js → p-90013fe1.entry.js} +1 -1
- package/lib/duet/{p-9ee7773f.entry.js → p-9332da25.entry.js} +1 -1
- package/lib/duet/{p-48af1ecb.entry.js → p-989418a2.entry.js} +1 -1
- package/lib/duet/{p-c03603ba.entry.js → p-9c85f72b.entry.js} +1 -1
- package/lib/duet/p-ByesccHU.js +4 -0
- package/lib/duet/{p-CKWzhSi1.js → p-C9hma0OC.js} +1 -1
- package/lib/duet/p-Ca69FW2W.js +4 -0
- package/lib/duet/p-D0ClvxqN.js +4 -0
- package/lib/duet/p-D5_4M8f7.js +4 -0
- package/lib/duet/{p-BGuG-JHD.js → p-DZ8Wfanu.js} +1 -1
- package/lib/duet/{p-DWTFQwbu.js → p-Dci-x9wV.js} +1 -1
- package/lib/duet/{p-CHWPq2Jg.js → p-DyjhCDQL.js} +1 -1
- package/lib/duet/{p-DJ_0Rwfo.js → p-L2e837M3.js} +1 -1
- package/lib/duet/{p-d1f5b0cb.entry.js → p-a0367a98.entry.js} +1 -1
- package/lib/duet/{p-e0252eec.entry.js → p-a30acbe3.entry.js} +1 -1
- package/lib/duet/{p-57f22d5d.entry.js → p-a8f5dad5.entry.js} +1 -1
- package/lib/duet/{p-833a213a.entry.js → p-aa579181.entry.js} +1 -1
- package/lib/duet/{p-af92d780.entry.js → p-aed02d84.entry.js} +1 -1
- package/lib/duet/{p-c489f228.entry.js → p-b0c75cf9.entry.js} +1 -1
- package/lib/duet/{p-bd990ae6.entry.js → p-b27e1315.entry.js} +1 -1
- package/lib/duet/{p-572d13e9.entry.js → p-b3f5af1b.entry.js} +1 -1
- package/lib/duet/{p-dcf42186.entry.js → p-c39e940e.entry.js} +1 -1
- package/lib/duet/{p-1f5989b6.entry.js → p-c62374bf.entry.js} +1 -1
- package/lib/duet/{p-a7dc80d5.entry.js → p-caa08673.entry.js} +1 -1
- package/lib/duet/{p-f924b4b9.entry.js → p-cb0d9fe0.entry.js} +1 -1
- package/lib/duet/{p-e31d038e.entry.js → p-cb50198f.entry.js} +1 -1
- package/lib/duet/{p-b9cc1925.entry.js → p-cb5f8aa2.entry.js} +1 -1
- package/lib/duet/p-cb8cf356.entry.js +4 -0
- package/lib/duet/{p-2565ce33.entry.js → p-cd815de8.entry.js} +1 -1
- package/lib/duet/{p-d391e901.entry.js → p-d67c6c1f.entry.js} +1 -1
- package/lib/duet/{p-178579ed.entry.js → p-d6d6fdca.entry.js} +1 -1
- package/lib/duet/p-dc77edae.entry.js +4 -0
- package/lib/duet/{p-3dd8d129.entry.js → p-de14d5f9.entry.js} +1 -1
- package/lib/duet/{p-022a948c.entry.js → p-de7d4218.entry.js} +1 -1
- package/lib/duet/{p-1af2ca54.entry.js → p-debea379.entry.js} +1 -1
- package/lib/duet/{p-b1bb372b.entry.js → p-decd8f82.entry.js} +1 -1
- package/lib/duet/{p-ae5e487c.entry.js → p-df08ed7c.entry.js} +1 -1
- package/lib/duet/{p-c364611c.entry.js → p-e44e4aac.entry.js} +1 -1
- package/lib/duet/p-e7e6f539.entry.js +4 -0
- package/lib/duet/{p-c3aa1f9b.entry.js → p-ea54a3a6.entry.js} +1 -1
- package/lib/duet/{p-ff5188ab.entry.js → p-f17c1e2b.entry.js} +1 -1
- package/lib/duet/{p-c5dbeb9d.entry.js → p-f19aa5a7.entry.js} +1 -1
- package/lib/duet/{p-29e1d491.entry.js → p-fa680493.entry.js} +1 -1
- package/lib/duet/{p-7524061b.entry.js → p-fd5c575e.entry.js} +1 -1
- package/lib/duet/p-idd-K4Qr.js +4 -0
- package/lib/duet/{p-DQNSmB4A.js → p-kT-uUzxy.js} +1 -1
- package/lib/esm/{a11y-utils-Bdgp_pLF.js → a11y-utils-DVrDVJ4P.js} +1 -1
- package/lib/esm/{app-globals-BM3P_KO9.js → app-globals-DUzUde_u.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +6 -6
- package/lib/esm/duet-button_2.entry.js +6 -6
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +12 -12
- package/lib/esm/duet-card.entry.js +4 -4
- 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 +2 -2
- package/lib/esm/duet-choice_2.entry.js +37 -40
- package/lib/esm/duet-collapsible.entry.js +5 -5
- package/lib/esm/duet-combobox.entry.js +3 -3
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +7 -7
- package/lib/esm/duet-divider_2.entry.js +5 -5
- package/lib/esm/duet-editable-table_3.entry.js +11 -11
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +7 -7
- package/lib/esm/duet-grid_2.entry.js +6 -6
- package/lib/esm/duet-header_2.entry.js +5 -5
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +6 -6
- package/lib/esm/duet-input_2.entry.js +12 -12
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-menu-bar-item.entry.js +6 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +5 -5
- package/lib/esm/duet-modal.entry.js +10 -10
- package/lib/esm/duet-multiselect.entry.js +9 -9
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +6 -6
- package/lib/esm/duet-number-input.entry.js +5 -5
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +17 -17
- package/lib/esm/duet-phone-input.entry.js +3 -3
- package/lib/esm/duet-popup-menu_2.entry.js +6 -6
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +6 -6
- package/lib/esm/duet-radio_2.entry.js +6 -6
- package/lib/esm/duet-range-slider.entry.js +6 -6
- package/lib/esm/duet-scrollable_3.entry.js +16 -16
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +8 -8
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +6 -6
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +12 -12
- package/lib/esm/duet-slideout.entry.js +10 -10
- package/lib/esm/duet-status-icon.entry.js +4 -4
- package/lib/esm/duet-step_2.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +7 -7
- package/lib/esm/duet-textarea.entry.js +7 -7
- package/lib/esm/duet-toggle.entry.js +5 -5
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- package/lib/esm/duet-toolbar-item.entry.js +7 -7
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +7 -7
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{errorcodes.utils-BgVG3eUP.js → errorcodes.utils-CzpUrFUY.js} +1 -1
- package/lib/esm/{focus-utils-B1AOXMlP.js → focus-utils-C3cdrLXF.js} +1 -1
- package/lib/esm/{index-BGuG-JHD.js → index-DZ8Wfanu.js} +1 -1
- package/lib/esm/{label-BrSxwvH-.js → label-CUiVlF3t.js} +1 -1
- package/lib/esm/{language-utils-BxXgd2r7.js → language-utils-CMiNgTLT.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{slot-utils-B1zQ6tzO.js → slot-utils-B_BDLrlP.js} +1 -1
- package/lib/esm/{token-utils-D8Zij62D.js → token-utils-orOLyKQw.js} +1 -1
- package/lib/esm/{tokens-DX0ubePV.js → tokens-D0ClvxqN.js} +2 -29
- package/lib/esm/{tokens.module-Dn5RlQ8z.js → tokens.module-D5_4M8f7.js} +2 -20
- package/lib/types/components/duet-choice/duet-choice.d.ts +1 -1
- package/package.json +3 -3
- package/lib/duet/p-09fe69e4.entry.js +0 -4
- package/lib/duet/p-190b9ab3.entry.js +0 -4
- package/lib/duet/p-56354b6a.entry.js +0 -4
- package/lib/duet/p-5cc22c37.entry.js +0 -4
- package/lib/duet/p-839e770e.entry.js +0 -4
- package/lib/duet/p-885c2f54.entry.js +0 -4
- package/lib/duet/p-CwQkRqt4.js +0 -4
- package/lib/duet/p-DX0ubePV.js +0 -4
- package/lib/duet/p-DXDaS3zE.js +0 -4
- package/lib/duet/p-Dn5RlQ8z.js +0 -4
- package/lib/duet/p-ObNrEFDJ.js +0 -4
- package/lib/duet/p-a0c26d74.entry.js +0 -4
- package/lib/duet/p-b96af1da.entry.js +0 -4
- package/lib/duet/p-d8ceab90.entry.js +0 -4
- package/lib/duet/p-e6d38c72.entry.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -3699,15 +3699,6 @@ const disconnectLanguageChangeObserver = (component) => {
|
|
|
3699
3699
|
languageChangeTargets.delete(component);
|
|
3700
3700
|
};
|
|
3701
3701
|
|
|
3702
|
-
const breakpointLarge = "62em";
|
|
3703
|
-
const breakpointMedium = "48em";
|
|
3704
|
-
const breakpointSmall = "36em";
|
|
3705
|
-
const breakpointXLarge = "64.0625em";
|
|
3706
|
-
const breakpointXSmall = "35.9375em";
|
|
3707
|
-
const breakpointXxLarge = "76.25em";
|
|
3708
|
-
const breakpointXxSmall = "22.5em";
|
|
3709
|
-
const breakpointXxxLarge = "106.25em";
|
|
3710
|
-
const breakpointXxxSmall = "20.5em";
|
|
3711
3702
|
const colorBrandBlue = "rgb(0, 161, 212)";
|
|
3712
3703
|
const colorBrandGrayTurva = "rgb(178, 180, 179)";
|
|
3713
3704
|
const colorCategoryFamily = "rgb(11, 114, 136)";
|
|
@@ -3809,7 +3800,7 @@ const colorSuccess300 = "rgb(163, 229, 202)";
|
|
|
3809
3800
|
const colorSuccess400 = "rgb(134, 215, 185)";
|
|
3810
3801
|
const colorSuccess50 = "rgb(231, 248, 239)";
|
|
3811
3802
|
const colorSuccess500 = "rgb(105, 196, 166)";
|
|
3812
|
-
const colorSuccess600 = "rgb(
|
|
3803
|
+
const colorSuccess600 = "rgb(76, 164, 138)";
|
|
3813
3804
|
const colorSuccess700 = "rgb(48, 131, 105)";
|
|
3814
3805
|
const colorSuccess800 = "rgb(29, 106, 88)";
|
|
3815
3806
|
const colorSuccess900 = "rgb(13, 71, 59)";
|
|
@@ -3847,7 +3838,7 @@ const colorWarning300 = "rgb(255, 217, 120)";
|
|
|
3847
3838
|
const colorWarning400 = "rgb(255, 199, 79)";
|
|
3848
3839
|
const colorWarning50 = "rgb(255, 247, 221)";
|
|
3849
3840
|
const colorWarning500 = "rgb(247, 178, 40)";
|
|
3850
|
-
const colorWarning600 = "rgb(
|
|
3841
|
+
const colorWarning600 = "rgb(196, 138, 23)";
|
|
3851
3842
|
const colorWarning700 = "rgb(156, 110, 22)";
|
|
3852
3843
|
const colorWarning800 = "rgb(126, 87, 16)";
|
|
3853
3844
|
const colorWarning900 = "rgb(81, 55, 9)";
|
|
@@ -3958,15 +3949,6 @@ const zIndexToast = "500";
|
|
|
3958
3949
|
|
|
3959
3950
|
var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
3960
3951
|
__proto__: null,
|
|
3961
|
-
breakpointLarge: breakpointLarge,
|
|
3962
|
-
breakpointMedium: breakpointMedium,
|
|
3963
|
-
breakpointSmall: breakpointSmall,
|
|
3964
|
-
breakpointXLarge: breakpointXLarge,
|
|
3965
|
-
breakpointXSmall: breakpointXSmall,
|
|
3966
|
-
breakpointXxLarge: breakpointXxLarge,
|
|
3967
|
-
breakpointXxSmall: breakpointXxSmall,
|
|
3968
|
-
breakpointXxxLarge: breakpointXxxLarge,
|
|
3969
|
-
breakpointXxxSmall: breakpointXxxSmall,
|
|
3970
3952
|
colorBrandBlue: colorBrandBlue,
|
|
3971
3953
|
colorBrandGrayTurva: colorBrandGrayTurva,
|
|
3972
3954
|
colorCategoryFamily: colorCategoryFamily,
|
|
@@ -4877,12 +4859,12 @@ class DuetBadge {
|
|
|
4877
4859
|
*/
|
|
4878
4860
|
render() {
|
|
4879
4861
|
const backgroundClass = `background-${this.background}`;
|
|
4880
|
-
return (hAsync(Host, { key: '
|
|
4862
|
+
return (hAsync(Host, { key: '8280e1b7d1da1da8e8c6f4bf10d53841039ba771', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '4124e65d41da4bdb15df9219501bdddbaed7ad65', class: {
|
|
4881
4863
|
"duet-badge": true,
|
|
4882
4864
|
[this.variation]: true,
|
|
4883
4865
|
[backgroundClass]: true,
|
|
4884
4866
|
"duet-theme-turva": this.theme === "turva",
|
|
4885
|
-
} }, hAsync("slot", { key: '
|
|
4867
|
+
} }, hAsync("slot", { key: '9129f55b1fd54b3c777b7bfc1a720d68db5585bd' }))));
|
|
4886
4868
|
}
|
|
4887
4869
|
get element() { return getElement(this); }
|
|
4888
4870
|
static get style() { return duetBadgeCss; }
|
|
@@ -5125,14 +5107,14 @@ class DuetBreadcrumb {
|
|
|
5125
5107
|
*/
|
|
5126
5108
|
render() {
|
|
5127
5109
|
var _a;
|
|
5128
|
-
return (hAsync(Host, { key: '
|
|
5110
|
+
return (hAsync(Host, { key: 'd867ec0185f9a5e2e925be1efddd8dfa2945829b', role: "listitem" }, hAsync("div", { key: 'c3fe150b9ecf9fc2c2278944394e5fe0a5df4506', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: '000db914644aa0d406c63b3191e88d8d33dbce08', class: "duet-breadrumbs-arrow", size: "auto", icon: arrowRightSmallIcon.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '1023930c7e75abef9e8d4022730cdeed9af9de5b', class: {
|
|
5129
5111
|
"duet-breadcrumb": true,
|
|
5130
5112
|
"duet-theme-turva": this.theme === "turva",
|
|
5131
5113
|
}, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
|
|
5132
5114
|
this.icon && [
|
|
5133
|
-
hAsync("duet-icon", { key: '
|
|
5134
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
5135
|
-
], hAsync("slot", { key: '
|
|
5115
|
+
hAsync("duet-icon", { key: '2031381868c9a03705d0736d2c8e75b320c4e702', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
5116
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: '8e02b1c7a59ab76a35de742dc21c8b36335332d6', size: "x-small", direction: "horizontal" }),
|
|
5117
|
+
], hAsync("slot", { key: 'fd0e0b50ad886a7e4b7e94b22f1bfc917efa6266' })))));
|
|
5136
5118
|
}
|
|
5137
5119
|
get element() { return getElement(this); }
|
|
5138
5120
|
static get style() { return duetBreadcrumbCss; }
|
|
@@ -5201,11 +5183,11 @@ class DuetBreadcrumbs {
|
|
|
5201
5183
|
*/
|
|
5202
5184
|
render() {
|
|
5203
5185
|
const color = getColorByName(this.color);
|
|
5204
|
-
return (hAsync(Host, { key: '
|
|
5186
|
+
return (hAsync(Host, { key: '4f89195600ea952b60a848e995cc31c9a24af453' }, hAsync("nav", { key: 'a648bf39b2de1a8cf6346bcde7317a09296ebe4f', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
5205
5187
|
"duet-breadcrumbs": true,
|
|
5206
5188
|
"duet-theme-turva": this.theme === "turva",
|
|
5207
5189
|
[this.variation]: true,
|
|
5208
|
-
} }, hAsync("div", { key: '
|
|
5190
|
+
} }, hAsync("div", { key: 'f4cb344919b55f4c0e7215290271b55561103cae', class: "container" }, hAsync("div", { key: '6a31bc6e86f4d588729c1bb551845c1a0aad95ff', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '8cde7379e0e2822af1c8315e7c7a1d01a16c58bd' })), hAsync("div", { key: 'e1ad97da093cb0bcc0aa0942fc482204a472fbde', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '77c7045c2acd3d078c95029d92f74a65bf4361e5', class: "bottom-border bottom-border--nav" }))));
|
|
5209
5191
|
}
|
|
5210
5192
|
get element() { return getElement(this); }
|
|
5211
5193
|
static get style() { return duetBreadcrumbsCss; }
|
|
@@ -5650,11 +5632,11 @@ class DuetCallout {
|
|
|
5650
5632
|
<path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
|
|
5651
5633
|
</svg>
|
|
5652
5634
|
`;
|
|
5653
|
-
return (hAsync(Host, { key: '
|
|
5635
|
+
return (hAsync(Host, { key: '77f4b97756253eefe92849ec09d1af4e2fde7111' }, hAsync("div", { key: '2efc0706134c31c58d6acddfb662a5975db676d9', class: {
|
|
5654
5636
|
"duet-callout": true,
|
|
5655
5637
|
"duet-theme-turva": this.theme === "turva",
|
|
5656
5638
|
"duet-m-0": this.margin === "none",
|
|
5657
|
-
} }, hAsync("figure", { key: '
|
|
5639
|
+
} }, hAsync("figure", { key: '685b89d0e50fbe5ce736db54dba68f298f546e71', class: "container" }, hAsync("duet-icon", { key: 'e0512d93f7b2299a79326b2ef5427691c4803e68', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", { key: 'ec7e6a48330ad517a538659cb4c9b1c74c85a95c' }, hAsync("slot", { key: 'db2adcba6bef6e6f98c454bc371af39d33227e8e' })), this.hasAuthorSlot && (hAsync("figcaption", { key: 'a5c9332eb796851371bb2391984cadefa5b54cbf', class: "author" }, hAsync("span", { key: '0f159bac62c6b5db7f1592c564ab927b7ff09618' }, "\u2014 "), hAsync("slot", { key: 'a7eeee307d46eda23ad6e79da2bad74eaa9dce7b', name: "author" })))))));
|
|
5658
5640
|
}
|
|
5659
5641
|
get element() { return getElement(this); }
|
|
5660
5642
|
static get style() { return duetCalloutCss; }
|
|
@@ -6134,11 +6116,11 @@ class DuetCheckmark {
|
|
|
6134
6116
|
inheritGlobalTheme(this);
|
|
6135
6117
|
}
|
|
6136
6118
|
render() {
|
|
6137
|
-
return (hAsync(Host, { key: '
|
|
6119
|
+
return (hAsync(Host, { key: '88ffa15a82fcec93b9baedb013b634a8e00aff38', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '17c8f1a44e4156703a6716833cadad6b98c82271', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: 'fbffcaa78451262d33d210f69bee8577c8b81df1', class: {
|
|
6138
6120
|
"duet-checkmark-container": true,
|
|
6139
6121
|
center: this.center,
|
|
6140
6122
|
"duet-checkmark-radio": this.type === "radio",
|
|
6141
|
-
} }, this.checked && hAsync("div", { key: '
|
|
6123
|
+
} }, this.checked && hAsync("div", { key: 'd3e2df4b0bace60c72f9e39cd37c938e0b5f0231', class: "duet-checkmark" })))));
|
|
6142
6124
|
}
|
|
6143
6125
|
static get style() { return duetCheckmarkCss; }
|
|
6144
6126
|
static get cmpMeta() { return {
|
|
@@ -6537,7 +6519,7 @@ function requireMessagingInfo () {
|
|
|
6537
6519
|
var messagingInfoExports = requireMessagingInfo();
|
|
6538
6520
|
var infoIcon = /*@__PURE__*/getDefaultExportFromCjs(messagingInfoExports);
|
|
6539
6521
|
|
|
6540
|
-
const duetChoiceCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(.vertical){margin-right:0 !important}@media (min-width: 48em){:host(.horizontal){margin-bottom:0 !important}}@media (min-width: 48em){:host(.horizontal-responsive){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive):last-child,:host(.horizontal-responsive):last-of-type{margin-right:0 !important}}:host(:last-child:not(:only-child)){margin-right:0 !important}.duet-choice-card{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0{padding:0 !important}.duet-choice-card.duet-m-0{margin:0 !important}.duet-theme-turva .duet-choice-card{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer{display:flex}.duet-choice-label{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text .duet-choice-card-icon,.duet-choice-label.has-before-text .duet-choice-card-text{align-self:flex-start;margin-top:0.25rem}.duet-choice-label>div:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info .duet-choice-label{border-top-right-radius:0;border-bottom-right-radius:0}.info .duet-choice-label{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-theme-turva .info .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-choice-label:active{opacity:0.75;transition:none !important}.checked>.duet-choice-label{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(0, 119, 179)}.duet-theme-turva .checked>.duet-choice-label{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(198, 12, 48)}.checked.collapsible>.duet-choice-label,.collapsible-force-expanded.collapsible>.duet-choice-label{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(127, 150, 165)}:host(.duet-theme-turva:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(23, 28, 58)}:host(.duet-theme-turva:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(143, 147, 158)}.info :host(.duet-theme-turva:not(.no-hover):not(.disabled):hover){border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):not([checked]):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){padding:1rem}input:focus{outline:0}:host(.user-is-tabbing) .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}:host(.user-is-tabbing) :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}:host(.user-is-tabbing) .duet-theme-turva :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.disabled.duet-choice-label{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.disabled.duet-choice-label .duet-choice-card-icon{color:rgb(98, 121, 138)}.duet-theme-turva .disabled.duet-choice-label .duet-choice-card-icon{color:rgb(143, 147, 158)}.disabled.duet-choice-label .duet-checkmark{border-color:rgb(98, 121, 138) !important}.disabled.duet-choice-label:hover,.disabled.duet-choice-label:active,.disabled.duet-choice-label:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva .disabled.duet-choice-label{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva .disabled.duet-choice-label .duet-checkmark{border-color:rgb(143, 147, 158) !important}.checked>.disabled.duet-choice-label{border-color:rgb(127, 150, 165) !important}.duet-theme-turva .checked>.disabled.duet-choice-label{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked>.duet-choice-label .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva label.disabled .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked>label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked>label.disabled .duet-checkmark-container{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-card-icon{color:rgb(164, 4, 40)}.duet-choice-card-icon duet-icon{display:block}.duet-choice-section-hidden{display:none}.duet-choice-card-info.duet-choice-card-collapsed,.duet-choice-card-collapsed.duet-choice-card-collapsible{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info,.duet-choice-card-collapsible{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info,.duet-choice-card-collapsible{padding:28px !important}}.duet-theme-turva .duet-choice-card-info,.duet-theme-turva .duet-choice-card-collapsible{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked>.duet-choice-card-info,.checked>.duet-choice-card-collapsible{display:block}.duet-choice-card-info-expanded,.duet-choice-card-collapsible-expanded{display:block}.duet-choice-card-collapsible{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked{border-color:rgb(222, 224, 228)}.duet-choice-card-info{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container ::slotted(*){display:none}:host(.user-is-tabbing) .duet-choice-info-container:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.disabled) .duet-choice-card-collapsible{border-color:rgb(127, 150, 165)}:host(.disabled) .duet-choice-card-collapsible.duet-theme-turva{border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(143, 147, 158)}:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva .duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled]{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled] .duet-choice-info-icon{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva .duet-choice-info-icon{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle:focus{outline:none}:host(.user-is-tabbing) .duet-choice-info-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-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked+.duet-choice-info-toggle{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle duet-icon{display:block}.duet-choice-info-toggle .duet-choice-info-icon{color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-info-toggle .duet-choice-info-icon{color:rgb(198, 12, 48)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(143, 147, 158)}.duet-choice-input,*::slotted([slot=choiceradioinput]){position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
6522
|
+
const duetChoiceCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(.vertical){margin-right:0 !important}@media (min-width: 48em){:host(.horizontal){margin-bottom:0 !important}}@media (min-width: 48em){:host(.horizontal-responsive){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive):last-child,:host(.horizontal-responsive):last-of-type{margin-right:0 !important}}:host(:last-child:not(:only-child)){margin-right:0 !important}.duet-choice-card{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0{padding:0 !important}.duet-choice-card.duet-m-0{margin:0 !important}.duet-theme-turva .duet-choice-card{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer{display:flex}.duet-choice-label{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text .duet-choice-card-icon,.duet-choice-label.has-before-text .duet-choice-card-text{align-self:flex-start;margin-top:0.25rem}.duet-choice-label>div:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info .duet-choice-label{border-top-right-radius:0;border-bottom-right-radius:0}.info .duet-choice-label{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-theme-turva .info .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-choice-label:active{opacity:0.75;transition:none !important}.checked>.duet-choice-label{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(0, 119, 179)}.duet-theme-turva .checked>.duet-choice-label{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(198, 12, 48)}.checked.collapsible>.duet-choice-label,.collapsible-force-expanded.collapsible>.duet-choice-label{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(127, 150, 165)}:host(.duet-theme-turva:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(23, 28, 58)}:host(.duet-theme-turva:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(143, 147, 158)}.info :host(.duet-theme-turva:not(.no-hover):not(.disabled):hover){border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):not([checked]):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){padding:1rem}input:focus{outline:0}:host(.user-is-tabbing) .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}:host(.user-is-tabbing) :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}:host(.user-is-tabbing) .duet-theme-turva :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.disabled.duet-choice-label{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.disabled.duet-choice-label .duet-choice-card-icon{color:rgb(98, 121, 138)}.duet-theme-turva .disabled.duet-choice-label .duet-choice-card-icon{color:rgb(143, 147, 158)}.disabled.duet-choice-label .duet-checkmark{border-color:rgb(98, 121, 138) !important}.disabled.duet-choice-label:hover,.disabled.duet-choice-label:active,.disabled.duet-choice-label:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva .disabled.duet-choice-label{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva .disabled.duet-choice-label .duet-checkmark{border-color:rgb(143, 147, 158) !important}.checked>.disabled.duet-choice-label{border-color:rgb(127, 150, 165) !important}.duet-theme-turva .checked>.disabled.duet-choice-label{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked>.duet-choice-label .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva label.disabled .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked>label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked>label.disabled .duet-checkmark-container{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-card-icon{color:rgb(164, 4, 40)}.duet-choice-card-icon duet-icon{display:block}.duet-choice-section-hidden{display:none}.duet-choice-card-info.duet-choice-card-collapsed,.duet-choice-card-collapsed.duet-choice-card-collapsible{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info,.duet-choice-card-collapsible{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info,.duet-choice-card-collapsible{padding:28px !important}}.duet-theme-turva .duet-choice-card-info,.duet-theme-turva .duet-choice-card-collapsible{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked>.duet-choice-card-info,.checked>.duet-choice-card-collapsible{display:block}.duet-choice-card-info-expanded,.duet-choice-card-collapsible-expanded{display:block}.duet-choice-card-collapsible{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked{border-color:rgb(222, 224, 228)}.duet-choice-card-info{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container ::slotted(*){display:none}:host(.user-is-tabbing) .duet-choice-info-container:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.disabled) .duet-choice-card-collapsible{border-color:rgb(127, 150, 165)}:host(.disabled) .duet-choice-card-collapsible.duet-theme-turva{border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(143, 147, 158)}:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva .duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled]{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled] .duet-choice-info-icon{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva .duet-choice-info-icon{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle:focus{outline:none}:host(.user-is-tabbing) .duet-choice-info-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-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked+.duet-choice-info-toggle{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle duet-icon{display:block}.duet-choice-info-toggle .duet-choice-info-icon{color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-info-toggle .duet-choice-info-icon{color:rgb(198, 12, 48)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(143, 147, 158)}.duet-choice-input,*::slotted([slot=choiceinput]){position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
6541
6523
|
|
|
6542
6524
|
/**
|
|
6543
6525
|
* @slot unnamed default slot - The component’s primary content. All child nodes that do not have a slot attribute defined are inserted into this primary slot.
|
|
@@ -6702,7 +6684,7 @@ class DuetChoice {
|
|
|
6702
6684
|
radioInput.addEventListener("focus", this.onFocus);
|
|
6703
6685
|
radioInput.addEventListener("blur", this.onBlur);
|
|
6704
6686
|
};
|
|
6705
|
-
this.
|
|
6687
|
+
this.inputSetUp = () => {
|
|
6706
6688
|
{
|
|
6707
6689
|
return;
|
|
6708
6690
|
}
|
|
@@ -6809,9 +6791,7 @@ class DuetChoice {
|
|
|
6809
6791
|
this.duetChoiceReady.emit();
|
|
6810
6792
|
}
|
|
6811
6793
|
componentDidRender() {
|
|
6812
|
-
|
|
6813
|
-
this.radioInputSetUp();
|
|
6814
|
-
}
|
|
6794
|
+
this.inputSetUp();
|
|
6815
6795
|
}
|
|
6816
6796
|
disconnectedCallback() {
|
|
6817
6797
|
disconnectLanguageChangeObserver(this);
|
|
@@ -6923,8 +6903,7 @@ class DuetChoice {
|
|
|
6923
6903
|
* Always the last one in the class.
|
|
6924
6904
|
*/
|
|
6925
6905
|
render() {
|
|
6926
|
-
|
|
6927
|
-
return (hAsync(Host, { key: '2385935f56409af878d4933b1e84c350b19daafb', class: {
|
|
6906
|
+
return (hAsync(Host, { key: '3cd595ba657c1527c2f790fc1e1d162c63c912ca', class: {
|
|
6928
6907
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
6929
6908
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
6930
6909
|
"duet-m-0": this.margin === "none",
|
|
@@ -6932,10 +6911,10 @@ class DuetChoice {
|
|
|
6932
6911
|
"duet-theme-turva": this.theme === "turva",
|
|
6933
6912
|
"no-hover": this.isHovering,
|
|
6934
6913
|
disabled: this.getDisabled(),
|
|
6935
|
-
} }, hAsync("div", { key: '
|
|
6914
|
+
} }, hAsync("div", { key: '7acf5e8f9ba7dd5950ad6d218d2da20adb64b513', class: {
|
|
6936
6915
|
"duet-choice-card-flextainer": true,
|
|
6937
6916
|
"duet-theme-turva": this.theme === "turva",
|
|
6938
|
-
} }, hAsync("div", { key: '
|
|
6917
|
+
} }, hAsync("div", { key: '473a2f20bdd827050e9a6006f71085ee73b2da7b', class: {
|
|
6939
6918
|
"duet-choice-card": true,
|
|
6940
6919
|
"has-icon": !!this.icon,
|
|
6941
6920
|
"has-info": this.hasInfo,
|
|
@@ -6944,16 +6923,16 @@ class DuetChoice {
|
|
|
6944
6923
|
collapsible: this.collapsible,
|
|
6945
6924
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
6946
6925
|
"duet-p-0": this.padding === "none",
|
|
6947
|
-
} },
|
|
6926
|
+
} }, hAsync("slot", { key: '72cb91da3988022bd7f221986e16fb90610cc5f5', name: "choiceinput" }), hAsync("label", { key: '36619c729ed3cdad2272b5a4448cfd360069074b', class: {
|
|
6948
6927
|
"duet-choice-label": true,
|
|
6949
6928
|
"has-before-text": this.hasBeforeText,
|
|
6950
6929
|
checked: this.checked,
|
|
6951
6930
|
focus: this.focus,
|
|
6952
6931
|
disabled: this.getDisabled(),
|
|
6953
|
-
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: '
|
|
6932
|
+
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: 'ac1cf1b20636e148580edcddcd59647a967af71f', name: "before-text" }), this.icon && (hAsync("div", { key: 'ff24b7015eb15a19fc6fbbc8571f504eeaedeb9c', class: "duet-choice-card-icon" }, hAsync("duet-icon", { key: 'e918484b339f07a43fcb6d29b9e05d1f538c039f', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), hAsync("div", { key: '0b26a3a48e73784c5fbc6313e796a5c5bff6d095', class: "duet-choice-card-text" }, hAsync("div", { key: '4ff71e94dc64417f5eceea9c6b5b2564934e91a1' }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label), this.caption && (hAsync("div", { key: 'b5a9af3867e2fa6e9855b3eadcce9402f6ebf0a9' }, hAsync("duet-spacer", { key: 'bdca93dda657e78bfedf162ac260ee2958cfc706', size: "xx-small" }), hAsync("duet-caption", { key: 'bcc955a445b81584b183e12bf0635dc7ce50c9f6', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (hAsync("div", { key: 'f6466d09b9c933177ad99d78934c3ad4ea346f14' }, hAsync("duet-spacer", { key: '57c7d16263fd21d13125994e447cde914c808ad6', size: "xx-small" }), hAsync("slot", { key: 'e597e6d6a3d9daab59cf3409326768551c76ead1', name: "additional" })))), hAsync("div", { key: 'c14c337e3dacf67b9f65a0c1664d18a1e3843237' }, hAsync("div", { key: 'e4dda03f92c9927288f8b1a64280ffcd61218744', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && hAsync("div", { key: '7a2b4382dba7aca1719181b6195748ed8ed5e8be', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (hAsync("button", { key: '0bf2114a4ab8c6460d16b4b142c502cf3b4093fe', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
6954
6933
|
"duet-choice-info-toggle": true,
|
|
6955
6934
|
"duet-theme-turva": this.theme === "turva",
|
|
6956
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, hAsync("div", { key: '
|
|
6935
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, hAsync("div", { key: '1f66a70722f9096620b8cb7923ae4557b1e83261', class: "duet-choice-info-icon" }, hAsync("duet-icon", { key: '880807ed6905e1932917e1553fb9321ce00f4271', icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (hAsync("span", { key: '576e9c8837ebac9641d9d6005c896013485be87f', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (hAsync("div", { class: this.getClassNames(), id: this.expandId }, hAsync("span", { class: {
|
|
6957
6936
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
6958
6937
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
6959
6938
|
} }, hAsync("span", { id: this.headerId }, hAsync("slot", { name: "header" })), this.hasInfo ? (hAsync("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, hAsync("span", null, hAsync("slot", { name: "info" })), hAsync("slot", null))) : (hAsync("span", { id: `${this.choiceId}-collapsible-content` }, hAsync("slot", null)))))) : null));
|
|
@@ -7169,14 +7148,14 @@ class DuetChoiceGroup {
|
|
|
7169
7148
|
* Always the last one in the class.
|
|
7170
7149
|
*/
|
|
7171
7150
|
render() {
|
|
7172
|
-
return (hAsync(Host, { key: '
|
|
7151
|
+
return (hAsync(Host, { key: 'e82e4c8dc411376125ad3a052873f16bfb2aee79', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
7173
7152
|
horizontal: this.direction === "horizontal",
|
|
7174
7153
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
7175
7154
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
7176
7155
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
7177
7156
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
7178
7157
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
7179
|
-
} }, hAsync("duet-fieldset", { key: '
|
|
7158
|
+
} }, hAsync("duet-fieldset", { key: '9dea3b114f5b6af80d39aabbe973b821cbc59051', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: 'de8d966ded35ca82771771241998ad64a5bf44b3', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '2beea00afd98d57255d2293379069d70dea127ac', name: "tooltip" }), hAsync("div", { key: '626bdfc6d8a6f66c019f2b679d48a97a5af77e02', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: '14fb9577daec969fda2be480a635f8f52fa4239d' })))));
|
|
7180
7159
|
}
|
|
7181
7160
|
get element() { return getElement(this); }
|
|
7182
7161
|
static get watchers() { return {
|
|
@@ -7228,15 +7207,6 @@ function requireActionArrowDownSmall () {
|
|
|
7228
7207
|
var actionArrowDownSmallExports = requireActionArrowDownSmall();
|
|
7229
7208
|
var arrowDownIcon = /*@__PURE__*/getDefaultExportFromCjs(actionArrowDownSmallExports);
|
|
7230
7209
|
|
|
7231
|
-
const breakpoint_large = "62em";
|
|
7232
|
-
const breakpoint_medium = "48em";
|
|
7233
|
-
const breakpoint_small = "36em";
|
|
7234
|
-
const breakpoint_x_large = "64.0625em";
|
|
7235
|
-
const breakpoint_x_small = "35.9375em";
|
|
7236
|
-
const breakpoint_xx_large = "76.25em";
|
|
7237
|
-
const breakpoint_xx_small = "22.5em";
|
|
7238
|
-
const breakpoint_xxx_large = "106.25em";
|
|
7239
|
-
const breakpoint_xxx_small = "20.5em";
|
|
7240
7210
|
const color_brand_blue = "rgb(0, 161, 212)";
|
|
7241
7211
|
const color_brand_gray_turva = "rgb(178, 180, 179)";
|
|
7242
7212
|
const color_category_family = "rgb(11, 114, 136)";
|
|
@@ -7338,7 +7308,7 @@ const color_success_300 = "rgb(163, 229, 202)";
|
|
|
7338
7308
|
const color_success_400 = "rgb(134, 215, 185)";
|
|
7339
7309
|
const color_success_50 = "rgb(231, 248, 239)";
|
|
7340
7310
|
const color_success_500 = "rgb(105, 196, 166)";
|
|
7341
|
-
const color_success_600 = "rgb(
|
|
7311
|
+
const color_success_600 = "rgb(76, 164, 138)";
|
|
7342
7312
|
const color_success_700 = "rgb(48, 131, 105)";
|
|
7343
7313
|
const color_success_800 = "rgb(29, 106, 88)";
|
|
7344
7314
|
const color_success_900 = "rgb(13, 71, 59)";
|
|
@@ -7376,7 +7346,7 @@ const color_warning_300 = "rgb(255, 217, 120)";
|
|
|
7376
7346
|
const color_warning_400 = "rgb(255, 199, 79)";
|
|
7377
7347
|
const color_warning_50 = "rgb(255, 247, 221)";
|
|
7378
7348
|
const color_warning_500 = "rgb(247, 178, 40)";
|
|
7379
|
-
const color_warning_600 = "rgb(
|
|
7349
|
+
const color_warning_600 = "rgb(196, 138, 23)";
|
|
7380
7350
|
const color_warning_700 = "rgb(156, 110, 22)";
|
|
7381
7351
|
const color_warning_800 = "rgb(126, 87, 16)";
|
|
7382
7352
|
const color_warning_900 = "rgb(81, 55, 9)";
|
|
@@ -7485,15 +7455,6 @@ const z_index_spinner = "800";
|
|
|
7485
7455
|
const z_index_sticky = "300";
|
|
7486
7456
|
const z_index_toast = "500";
|
|
7487
7457
|
var tokens = {
|
|
7488
|
-
breakpoint_large: breakpoint_large,
|
|
7489
|
-
breakpoint_medium: breakpoint_medium,
|
|
7490
|
-
breakpoint_small: breakpoint_small,
|
|
7491
|
-
breakpoint_x_large: breakpoint_x_large,
|
|
7492
|
-
breakpoint_x_small: breakpoint_x_small,
|
|
7493
|
-
breakpoint_xx_large: breakpoint_xx_large,
|
|
7494
|
-
breakpoint_xx_small: breakpoint_xx_small,
|
|
7495
|
-
breakpoint_xxx_large: breakpoint_xxx_large,
|
|
7496
|
-
breakpoint_xxx_small: breakpoint_xxx_small,
|
|
7497
7458
|
color_brand_blue: color_brand_blue,
|
|
7498
7459
|
color_brand_gray_turva: color_brand_gray_turva,
|
|
7499
7460
|
color_category_family: color_category_family,
|
|
@@ -7745,15 +7706,6 @@ var tokens = {
|
|
|
7745
7706
|
|
|
7746
7707
|
var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
7747
7708
|
__proto__: null,
|
|
7748
|
-
breakpoint_large: breakpoint_large,
|
|
7749
|
-
breakpoint_medium: breakpoint_medium,
|
|
7750
|
-
breakpoint_small: breakpoint_small,
|
|
7751
|
-
breakpoint_x_large: breakpoint_x_large,
|
|
7752
|
-
breakpoint_x_small: breakpoint_x_small,
|
|
7753
|
-
breakpoint_xx_large: breakpoint_xx_large,
|
|
7754
|
-
breakpoint_xx_small: breakpoint_xx_small,
|
|
7755
|
-
breakpoint_xxx_large: breakpoint_xxx_large,
|
|
7756
|
-
breakpoint_xxx_small: breakpoint_xxx_small,
|
|
7757
7709
|
color_brand_blue: color_brand_blue,
|
|
7758
7710
|
color_brand_gray_turva: color_brand_gray_turva,
|
|
7759
7711
|
color_category_family: color_category_family,
|
|
@@ -8158,7 +8110,7 @@ class DuetCollapsible {
|
|
|
8158
8110
|
*/
|
|
8159
8111
|
render() {
|
|
8160
8112
|
const HeadingTagName = this.headingLevel ? sanitizeString$1(this.headingLevel) : "div";
|
|
8161
|
-
return (hAsync(Host, { key: '
|
|
8113
|
+
return (hAsync(Host, { key: 'fe41abfdb21abc1fcd1f6d532cb59f60597ad22a', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '71f1cb941dc0d4a002b653f46ae68de6f9136e9f' }, hAsync("button", { key: 'c23e1f918a796a183d3b4541980bfe4d57e03fc9', class: {
|
|
8162
8114
|
"duet-collapsible-heading": true,
|
|
8163
8115
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
8164
8116
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -8166,7 +8118,7 @@ class DuetCollapsible {
|
|
|
8166
8118
|
"has-after-heading": this.hasAfterHeading,
|
|
8167
8119
|
"full-width": this.headingFullWidth,
|
|
8168
8120
|
"has-caption": !!this.caption,
|
|
8169
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '
|
|
8121
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '1b7f11bcbb1e9894806433465088b4fa9cfe0df9', class: "duet-collapsible-heading-wrapper" }, hAsync("div", { key: '2ebe50f38af8326dff42b2698c2156e602a13e31', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: '8083a2ce335a218c7812efb574d8c780af69434e', margin: "none", size: this.getEquivalentIconSize(), icon: arrowDownIcon.svg })), hAsync("div", { key: '89e5be1c98ec483d8a16944495f6b2d31bb97e66', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: '9ac908e2b7b01c61cf27fd1a10217170f758f0b9', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: '47c4f5bf5e48daf1103cfe2de5ebeaa167ec0a3b', name: "after-heading" })))), this.caption && (hAsync("div", { key: '9a861895709d834c561698d78c638fdc654966d0', class: "duet-collapsible-heading-caption" }, hAsync("duet-caption", { key: '9c0ab5adc56725d54f348289ac8ce26015fb8d5b', size: "small", margin: "none" }, this.caption))))), hAsync("div", { key: 'aee2caf89e030e0e83b7b261b9d78b0e42a8a52d', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: '654bc193c93877733e95bb3bdfb0ddf86acbcd22' }))));
|
|
8170
8122
|
}
|
|
8171
8123
|
get element() { return getElement(this); }
|
|
8172
8124
|
static get style() { return duetCollapsibleCss; }
|
|
@@ -8825,10 +8777,10 @@ class DuetContactCard {
|
|
|
8825
8777
|
render() {
|
|
8826
8778
|
const isTurva = this.theme === "turva";
|
|
8827
8779
|
const theme = isTurva ? "turva" : "default";
|
|
8828
|
-
return (hAsync(Host, { key: '
|
|
8780
|
+
return (hAsync(Host, { key: '78bd915234bcfa97a73eed32576b54392082c888', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '8f1b46d880aced419eff6de8206b61b5a51465f3', class: {
|
|
8829
8781
|
"duet-contact-card": true,
|
|
8830
8782
|
"duet-theme-turva": this.theme === "turva",
|
|
8831
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
8783
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '97d6e0a5329efa3eeca7033555a23e8cfe9876c7' }, this.name && (hAsync("duet-heading", { key: '6e7f2480dc7711949b0a0d3a462aa4e3e419073e', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '795a1b736cf12b5c1c3744cfad9a0ae1e128a624', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '900d614c8e71341c86561b28628117a79b33a378', class: "email" }, hAsync("duet-icon", { key: 'e4a97c7480e5b4f240b8920356a29e9dc8a04d9a', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '1510f2727626fa877270a1e7531a05f8e2ae4f95', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: 'be12c05585606b5b9b75b1cabdcc5cabd1cf52fe', class: "phone" }, hAsync("duet-icon", { key: 'b005ebcf884f77eaf8f8dae7d4799accc142a6c7', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '5b826b20073abf1192e5e80b37f0c33a4d3a738c', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '43e5645cdf94ed2b0f2f8541bffb3676eadf02da', class: "call-to-action" }, hAsync("duet-button", { key: '3d88750d6205532485c050c69bef3fef99cef284', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '0517188b86cd927776715606eaf484a11ebc70ac' }), hAsync("slot", { key: '75783e79504566cbb7fc195ffd9ce4874ee01844' }))));
|
|
8832
8784
|
}
|
|
8833
8785
|
get element() { return getElement(this); }
|
|
8834
8786
|
static get style() { return duetContactCardCss; }
|
|
@@ -8900,7 +8852,7 @@ class DuetCookieConsent {
|
|
|
8900
8852
|
* Always the last one in the class.
|
|
8901
8853
|
*/
|
|
8902
8854
|
render() {
|
|
8903
|
-
return (hAsync(Host, { key: '
|
|
8855
|
+
return (hAsync(Host, { key: '7921497a4e650f12844d8087fafe151a9d8540d7', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '8f9646d7f81988fc9b75788ed0de0065b60707b5', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'e93944b488a7e758bbf6ec55d5c0a742bbf0120c', class: "duet-cookie-consent-content" }, hAsync("div", { key: '113fd7c908b35e420fc0aa7cdb418633b18aa763', class: "expand" }, hAsync("slot", { key: '2983dc8cfbb0031c4fc0e9174aaf0228fd5b3fd6' })), hAsync("duet-spacer", { key: '5548894f44e7217869e00bc88b05abf07685ad59', size: "large", direction: "horizontal" }), hAsync("div", { key: '2722111a740170dd966f332ef0b0788f023b4152' }, hAsync("duet-button", { key: '07a3d59eede200239a4a3087decfc143ae86883b', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
8904
8856
|
}
|
|
8905
8857
|
get element() { return getElement(this); }
|
|
8906
8858
|
static get style() { return duetCookieConsentCss; }
|
|
@@ -9816,13 +9768,13 @@ class DuetDatePicker {
|
|
|
9816
9768
|
if (maxDate) {
|
|
9817
9769
|
maxYear = Math.min(maxYear, maxDate.getFullYear());
|
|
9818
9770
|
}
|
|
9819
|
-
return (hAsync(Host, { key: '
|
|
9771
|
+
return (hAsync(Host, { key: 'cb9845ce610b07e9c3ee1eed878e8bc8ce018459', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '9136d8bd2bfa2fdcd56789cba998d54d6a663d00', class: "duet-date" }, hAsync(DatePickerInput, { key: 'd273a896ab5775b8f2de47d0408b512213731006', hasFocus: this.inputHasFocus, value: this.value, valueAsDate: valueAsDate, formattedValue: this.inputValue, language: this.language, onInput: this.handleInputChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.toggleOpen, name: this.name, disabled: this.disabled, error: this.error || (!this.disableBuiltInErrors && this.internalValidityError) || null, role: this.role, required: this.required, theme: this.theme, tooltip: this.tooltip, tooltipDirection: this.tooltipDirection, labelHidden: this.labelHidden, placeholder: this.placeholder, inputLabel: this.label, identifier: this.identifier, buttonRef: element => (this.datePickerButton = element), inputRef: element => (this.datePickerInput = element), accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy, accessibleLiveError: this.accessibleLiveError, echoPlaceholder: this.echoPlaceholder, caption: this.caption })), hAsync("div", { key: 'ac93b73b4e207311461374c7fde8b550b7b5aea6', class: {
|
|
9820
9772
|
"duet-theme-turva": this.theme === "turva",
|
|
9821
9773
|
"duet-date-dialog": true,
|
|
9822
9774
|
left: this.direction === "left",
|
|
9823
9775
|
error: !!this.error,
|
|
9824
9776
|
active: this.open,
|
|
9825
|
-
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: '
|
|
9777
|
+
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: '5cdb9465322b0e94e00fa77e8dbdc49f7a3e3d80', visible: this.open, "display-device": "x-small" }), hAsync(FocusGuard, { key: '424a6e5b1acf0fd1d186207cc918c49cd96f2c83', moveFocusTo: this.focusedDayNode }), hAsync("div", { key: 'afa48891f98d6029638b28b6d262237aa6b74b87', class: "duet-date-dialog-wrapper", onKeyDown: this.handleEscKey, ref: element => (this.dialogWrapperNode = element) }, hAsync("duet-visually-hidden", { key: 'd74b52c947c6e4ccf14c30005f22e2436dbc728d', "aria-live": "polite" }, text.keyboardInstruction), hAsync("div", { key: '546e84a8a3cbab555ee262759adfb2e77a08ecb5', class: "duet-date-dialog-mobile-header" }, hAsync(DuetInternalLabel, { key: '372d8064bf5a956b4bdc42ed975630c5a4619ebb', margin: "none" }, this.label), hAsync("button", { key: '1850243d9af86b20cd03b6ec9dd92f7ef13d91b1', class: "duet-date-picker-close", ref: element => (this.closeButtonNode = element), onClick: () => this.hide(), type: "button" }, hAsync("duet-icon", { key: '33861012c05b49081bd813e323d881855b86ac4c', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xx-small" }), hAsync("duet-visually-hidden", { key: '39bae44b56d60c7117199763166ce097349c9866' }, text.closeLabel))), hAsync("div", { key: 'f0994f2a30581567406ad6a36a3c36d61d01c352', class: "duet-date-dialog-header" }, hAsync("div", { key: 'b8b380f3761394628127ccb41718b82fa4d1423c', class: "duet-date-dialog-dropdowns" }, hAsync("duet-visually-hidden", { key: 'ca290b58c995ae474a3b60fef19b38206807a20e' }, hAsync("h2", { key: '27f68c536215973cf1203bf3cee52de0443eff0c', id: this.dialogLabelId, "aria-live": "polite", "aria-atomic": "true" }, text.monthLabels[focusedMonth], " ", this.focusedDay.getFullYear())), hAsync("duet-visually-hidden", { key: '29bd3976ea9734c02aae33721e181417c577bcc1' }, hAsync("label", { key: '8183aa79bdcb18a5a6f33447f628ea2a94fe275c', htmlFor: this.monthSelectId }, text.monthSelectLabel)), hAsync("div", { key: '1860110277653760de4fabb7f23cf641457184bc', class: "duet-date-dialog-select" }, hAsync("select", { key: '10e94ebbfadcd6c97e20bf45754fcc3a73074bd2', id: this.monthSelectId, class: "duet-date-month-select", ref: element => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, text.monthLabels.map((month, i) => (hAsync("option", { key: month, value: i, selected: i === focusedMonth, disabled: !inRange(new Date(focusedYear, i, 1), minDate ? startOfMonth(minDate) : null, maxDate ? endOfMonth(maxDate) : null) }, month)))), hAsync("div", { key: 'deffc1742f3855666fa7ea3e9c94ec05c5244b15', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: '250ffdb114542531c02de80fb9ac33583374783c' }, text.monthLabelsShort[focusedMonth]), hAsync("duet-icon", { key: 'fa1f1e35fc0cf93572135a63d9749eb99a3ac640', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" }))), hAsync("duet-visually-hidden", { key: '9ad3ad9f5dcc139472cc205949140a0498d559f3' }, hAsync("label", { key: '1a6738bc37053cd0266f2660ddf8b0a211d71a4f', htmlFor: this.yearSelectId }, text.yearSelectLabel)), hAsync("div", { key: 'a46e74ba3f51a9909a1b93988e9c0ffa48c7a696', class: "duet-date-dialog-select" }, hAsync("select", { key: '01d3a4c7397d7a7702f15cbd6d354c085fb39213', id: this.yearSelectId, class: "duet-date-year-select", onChange: this.handleYearSelect }, range(minYear, maxYear).map(year => (hAsync("option", { key: year, selected: year === focusedYear }, year)))), hAsync("div", { key: '627ac82de8935938f75b3cdb8096db62a74346db', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: 'c4c5d67ab6aa7c3f1c116981bfc8b7569f3b0854' }, this.focusedDay.getFullYear()), hAsync("duet-icon", { key: '877b67f1ba519d2b988cd06796fce29a36c0d738', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" })))), hAsync("div", { key: '08b758011468574e5f1c3f497f332e4bc01b5682', class: "duet-date-dialog-buttons" }, hAsync("duet-action-button", { key: '38e273f78b20a59b586207480c884a4f554538da', accessibleLabel: i18n$2[this.language].prevMonthLabel, actionName: i18n$2[this.language].prevMonthLabel, class: "duet-date-dialog-prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, "icon-name": "action-arrow-left-small" }, text.prevMonthLabel), hAsync("duet-action-button", { key: '412ccd58b096a8451a2371def3ca3f5fdc909c4f', accessibleLabel: i18n$2[this.language].nextMonthLabel, actionName: i18n$2[this.language].nextMonthLabel, class: "duet-date-dialog-next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, "icon-name": "action-arrow-right-small" }, text.nextMonthLabel))), hAsync(DatePickerMonth, { key: '5599f98bd9f9385f58de71cfd2e33ff86fc23f62', selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, language: this.language, theme: this.theme, min: minDate, max: maxDate, focusedDayRef: element => (this.focusedDayNode = element), onFocusEnter: this.enableActiveFocus, onFocusExit: this.disableActiveFocus })), hAsync(FocusGuard, { key: 'e1a22b3aeff86d4bf76c92ccb46dca73c8171dcc', moveFocusTo: this.closeButtonNode }))));
|
|
9826
9778
|
}
|
|
9827
9779
|
get element() { return getElement(this); }
|
|
9828
9780
|
static get watchers() { return {
|
|
@@ -9912,7 +9864,7 @@ class DuetDivider {
|
|
|
9912
9864
|
*/
|
|
9913
9865
|
render() {
|
|
9914
9866
|
const background = getColorByName(this.color);
|
|
9915
|
-
return (hAsync("div", { key: '
|
|
9867
|
+
return (hAsync("div", { key: '0cfc7aa0e2e0373ee2a7feb0b3f8521a9e75024a', class: {
|
|
9916
9868
|
"duet-m-0": this.margin === "none",
|
|
9917
9869
|
"duet-m-s": this.margin === "small",
|
|
9918
9870
|
"duet-divider": true,
|
|
@@ -10150,7 +10102,7 @@ class DuetEditableTable {
|
|
|
10150
10102
|
* Render Methods
|
|
10151
10103
|
*/
|
|
10152
10104
|
render() {
|
|
10153
|
-
return (hAsync(Host, { key: '
|
|
10105
|
+
return (hAsync(Host, { key: '8843208bc3033836d4992fa39b8895d201b0cc0c', class: {
|
|
10154
10106
|
[`duet-editable-table-${this.variation}`]: true,
|
|
10155
10107
|
"duet-editable-table": true,
|
|
10156
10108
|
[`duet-editable-table-${this.theme}`]: true,
|
|
@@ -10160,7 +10112,7 @@ class DuetEditableTable {
|
|
|
10160
10112
|
"duet-editable-table-actions": !!this.actions,
|
|
10161
10113
|
"duet-m-0": this.margin === "none",
|
|
10162
10114
|
"duet-theme-turva": this.theme === "turva",
|
|
10163
|
-
} }, hAsync("duet-table", { key: '
|
|
10115
|
+
} }, hAsync("duet-table", { key: 'a96b91cf5f523bd7584fd52a3f0233bb28daca99', class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, hAsync("table", { key: '0af7d2f3242cbd68212f536349b0de7cc06a279d', role: this.accessibleRole }, hAsync("caption", { key: '54e7d04365eb8855c031c4c385803ab339f47382' }, hAsync("slot", { key: '330e0d9c6f63983ed2d54c32a975a62af9080b8a', name: "tcaption" })), hAsync("thead", { key: '003a0121221f2d59ea40559b45f55c3aec335bad' }, this.hasHeadSlotFirst && (hAsync("tr", { key: 'd78fc59416b563c9a4a168aaf305de5dad903e53' }, hAsync("td", { key: '21500b5414292c5feb586bbd86e29aff58a157a1', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: '3bc20b8a3d07a6221def7c94bc64a00dae566107', name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (hAsync("tr", { key: '6cb2a593c2e523c51f1de2792cfa5d28cc041301' }, hAsync("td", { key: 'afa248e39e5e299d8bb5af78be9df7faea611fca', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: '4d68123c77f553836da5131e047f05ab08e28507', name: "thead-last" }))))), hAsync("tbody", { key: '4c337edba417fc276a13f75637b91221164c3401' }, this.renderTableBody()), this.hasFootSlot && (hAsync("tfoot", { key: 'ae504a3d61e87df35c552b9865ae21a13250fc8d' }, hAsync("tr", { key: 'be66adbb6e8ad76b2b3cd2f62a0ba124e3ca6bbe' }, hAsync("td", { key: '29203f8c85c9b35a6d76814d756b9292038f0828', class: "duet-editable-table-footer-menu", colSpan: 99 }, hAsync("slot", { key: 'd28b6ee53f359e5d59392afc349cfb124fc7928b', name: "tfoot" })))))))));
|
|
10164
10116
|
}
|
|
10165
10117
|
get element() { return getElement(this); }
|
|
10166
10118
|
static get style() { return duetEditableTableCss; }
|
|
@@ -10218,11 +10170,11 @@ class DuetEmptyState {
|
|
|
10218
10170
|
* Always the last one in the class.
|
|
10219
10171
|
*/
|
|
10220
10172
|
render() {
|
|
10221
|
-
return (hAsync(Host, { key: '
|
|
10173
|
+
return (hAsync(Host, { key: '42ce98ba51bb45f3b26014a4d9d34cd71b67ce0f' }, hAsync("div", { key: '20363fd83c17f98881cdbb247a52817519ce9e9a', class: {
|
|
10222
10174
|
"duet-empty-state": true,
|
|
10223
10175
|
"duet-theme-turva": this.theme === "turva",
|
|
10224
10176
|
"duet-is-small": this.size === "small",
|
|
10225
|
-
} }, hAsync("duet-icon", { key: '
|
|
10177
|
+
} }, hAsync("duet-icon", { key: '4fb6273d566954b468bc21bdb2ffac67f8e2a68e', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: '19fc1296d2bc80e4587d57dd959b993319f07af5' }, hAsync("slot", { key: '28c73eee2536662e74051a16fbe4cc213a705e9f' })))));
|
|
10226
10178
|
}
|
|
10227
10179
|
get element() { return getElement(this); }
|
|
10228
10180
|
static get style() { return duetEmptyStateCss; }
|
|
@@ -10309,20 +10261,20 @@ class DuetFieldset {
|
|
|
10309
10261
|
* Always the last one in the class.
|
|
10310
10262
|
*/
|
|
10311
10263
|
render() {
|
|
10312
|
-
return (hAsync(Host, { key: '
|
|
10264
|
+
return (hAsync(Host, { key: '09f41525aaabbfb30340aa5241fb20a7bc6b0806', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: 'ac9a1142b5a3a192aed135a07caf920b5a438c30', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
10313
10265
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
10314
10266
|
// once they do, we can remove errors from the aria-describedby
|
|
10315
10267
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
10316
10268
|
class: {
|
|
10317
10269
|
"duet-fieldset": true,
|
|
10318
10270
|
"duet-theme-turva": this.theme === "turva",
|
|
10319
|
-
} }, hAsync("legend", { key: '
|
|
10271
|
+
} }, hAsync("legend", { key: '7945f8159d200c00ffc7946e4e356848e85b16bb', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: '20c90032f1ef6bd494414c118554d357d36c353e' }, this.label), this.caption && hAsync("span", { key: '73224ad003df1cfcbb5056dde4ca22a5ee913427' }, this.caption)), hAsync("div", { key: '81ee2c064d6a8a2359d2d00f880ccee0baa70a53', class: {
|
|
10320
10272
|
"duet-legend-wrapper": true,
|
|
10321
10273
|
"duet-legend-has-caption": !!this.caption,
|
|
10322
10274
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
10323
10275
|
"duet-legend-hidden": this.labelHidden,
|
|
10324
10276
|
"duet-legend-compact": this.compactLabel,
|
|
10325
|
-
} }, hAsync("div", { key: '
|
|
10277
|
+
} }, hAsync("div", { key: '018fc88bbc93d9224f79dbab501db27f4c33a2b5', class: "duet-fieldset-label" }, hAsync("span", { key: 'b5b964f57f2651bb5af7660b556c977bbc1ba9d8', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '1e029beaaa5903acb90104794df43fa5eaa44a76', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '2201fdf4aaf5a842d3a0cc3fa86c346d88a72192', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: 'b0b26164cf598ea3cc39324fe3af2c61b4926fb6', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: 'a3e85cecaa317b61afeaf067687c4a964695b738' }), hAsync("span", { key: '0a00df3445dbba874ee8041894879d89c2e9ad2e', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '9849fd207ee7cb84b74efb847ab960f64c214252', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
|
|
10326
10278
|
}
|
|
10327
10279
|
get element() { return getElement(this); }
|
|
10328
10280
|
static get style() { return duetFieldsetCss; }
|
|
@@ -10505,15 +10457,15 @@ class DuetFooter {
|
|
|
10505
10457
|
render() {
|
|
10506
10458
|
const text = getLocaleString(i18n$1, this.language);
|
|
10507
10459
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
10508
|
-
return (hAsync("footer", { key: '
|
|
10460
|
+
return (hAsync("footer", { key: '6a9b2dec97f5775a8ecb2da645922e90f8ab06ba', class: {
|
|
10509
10461
|
"duet-footer": true,
|
|
10510
10462
|
"duet-m-0": this.margin === "none",
|
|
10511
10463
|
"duet-theme-turva": this.theme === "turva",
|
|
10512
10464
|
"duet-footer-simple": this.variation === "simple",
|
|
10513
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
10465
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '0dbe540d1dda56140ca5735822d8d37cb6e7bd49', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: '0124aa7dc1baedc2a590b165a67be2a4360dcfe7', class: {
|
|
10514
10466
|
"duet-footer-top": true,
|
|
10515
10467
|
"duet-has-info": this.hasInfoSlot,
|
|
10516
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
10468
|
+
}, part: "top" }, hAsync("div", { key: 'c55c12461610f90daba502c13ab5cf9cf01b8ee3', class: "footer-top-logo" }, hAsync("duet-logo", { key: 'c4dfa09a93a0e426847a1f529e6a6970b069ccf4', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: 'abe19fae0d515319ebee88f71f206870ee96f178', class: "footer-top-right-container" }, hAsync("slot", { key: '90a7a56433c1e446db7e8c35f0a87bce4a228bce', name: "info" }), hAsync("div", { key: '8d2bcc7e1afb3f5d77d57177ca9b5bfca44ade4e', class: "footer-top-items" }, this.processedItems &&
|
|
10517
10469
|
this.processedItems.map((item, index) => {
|
|
10518
10470
|
var _a, _b, _c, _d, _e, _f;
|
|
10519
10471
|
return (hAsync(Fragment, null, index > 0 && hAsync("duet-spacer", { size: "x-large", direction: "horizontal" }), hAsync("duet-button", { ref: element => this.setDataAttributes(element, item), theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: ((_a = item.href) === null || _a === void 0 ? void 0 : _a.startsWith("tel:"))
|
|
@@ -10523,7 +10475,7 @@ class DuetFooter {
|
|
|
10523
10475
|
: "navigation-arrow-right", "icon-right": !((_c = item.href) === null || _c === void 0 ? void 0 : _c.startsWith("tel:")) && !((_d = item.href) === null || _d === void 0 ? void 0 : _d.startsWith("mailto:")), "icon-size": ((_e = item.href) === null || _e === void 0 ? void 0 : _e.startsWith("tel:")) || ((_f = item.href) === null || _f === void 0 ? void 0 : _f.startsWith("mailto:"))
|
|
10524
10476
|
? "medium"
|
|
10525
10477
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
10526
|
-
}))))), hAsync("slot", { key: '
|
|
10478
|
+
}))))), hAsync("slot", { key: 'f767d58114a29b896ecc8a2441b668c8e1270bd4', name: "extra" }), hAsync("p", { key: 'cd3dd3c371e6df4eb646b4e28b8a6db19c6349dc', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: 'd428d0de3837723682699b6fabed60d005085b58', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: 'ab8c13d6dc56f89069de34e07ca275b5575a94fb', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: '9e72265d1eb613a16d240fca13d46dc2dd588d9d' }, this.processedMenu.map(item => (hAsync("a", { ref: element => this.setDataAttributes(element, item), href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label, item.external && (hAsync(Fragment, null, hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), hAsync("span", { class: "duet-footer-external" }, hAsync("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))), hAsync("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), hAsync("p", { key: 'bdf385c922269d8567d62d8ab03d17af00f2cc36', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
10527
10479
|
}
|
|
10528
10480
|
get element() { return getElement(this); }
|
|
10529
10481
|
static get watchers() { return {
|
|
@@ -10756,7 +10708,7 @@ class DuetGrid {
|
|
|
10756
10708
|
* Always the last one in the class.
|
|
10757
10709
|
*/
|
|
10758
10710
|
render() {
|
|
10759
|
-
return (hAsync(Host, { key: '
|
|
10711
|
+
return (hAsync(Host, { key: '7f09db12c8cf9d5f36cbebef05dff742ff6d2291', class: {
|
|
10760
10712
|
"duet-grid": true,
|
|
10761
10713
|
"duet-no-stacking": !this.responsive,
|
|
10762
10714
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
@@ -10783,7 +10735,7 @@ class DuetGrid {
|
|
|
10783
10735
|
"duet-grid-row-reverse": this.rowReverse,
|
|
10784
10736
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
10785
10737
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
10786
|
-
} }, hAsync("slot", { key: '
|
|
10738
|
+
} }, hAsync("slot", { key: '5319add3e0a859e41f01a4a5e40433f662626ce7' })));
|
|
10787
10739
|
}
|
|
10788
10740
|
get element() { return getElement(this); }
|
|
10789
10741
|
static get watchers() { return {
|
|
@@ -10865,7 +10817,7 @@ class DuetGridItem {
|
|
|
10865
10817
|
* Always the last one in the class.
|
|
10866
10818
|
*/
|
|
10867
10819
|
render() {
|
|
10868
|
-
return (hAsync(Host, { key: '
|
|
10820
|
+
return (hAsync(Host, { key: 'e5c4e56b1b1cd83e1932aa79535f25d69c52eda6', style: {
|
|
10869
10821
|
"min-width": this.minWidth,
|
|
10870
10822
|
"max-width": this.maxWidth,
|
|
10871
10823
|
}, class: {
|
|
@@ -10882,7 +10834,7 @@ class DuetGridItem {
|
|
|
10882
10834
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
10883
10835
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
10884
10836
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
10885
|
-
} }, hAsync("slot", { key: '
|
|
10837
|
+
} }, hAsync("slot", { key: '96804cb5b3c7da4bc35d7e83d23f969189b55db7' })));
|
|
10886
10838
|
}
|
|
10887
10839
|
static get style() { return duetGridItemCss; }
|
|
10888
10840
|
static get cmpMeta() { return {
|
|
@@ -11922,7 +11874,7 @@ class DuetHeading {
|
|
|
11922
11874
|
render() {
|
|
11923
11875
|
const TagName = sanitizeString$1(this.level);
|
|
11924
11876
|
const color = getColorByName(this.color);
|
|
11925
|
-
return (hAsync(TagName, { key: '
|
|
11877
|
+
return (hAsync(TagName, { key: 'ab8059451f595067017c1bd6f9143178dabcc853', class: {
|
|
11926
11878
|
"duet-heading": true,
|
|
11927
11879
|
"duet-heading-border": this.border !== false,
|
|
11928
11880
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -11933,7 +11885,7 @@ class DuetHeading {
|
|
|
11933
11885
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
11934
11886
|
"duet-theme-turva": this.theme === "turva",
|
|
11935
11887
|
"fixed-size": this.fixedSize,
|
|
11936
|
-
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
11888
|
+
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '33f7263794601ca98dc99215207bad0ced17de49' })));
|
|
11937
11889
|
}
|
|
11938
11890
|
get element() { return getElement(this); }
|
|
11939
11891
|
static get style() { return duetHeadingCss; }
|
|
@@ -12199,7 +12151,7 @@ class DuetHero {
|
|
|
12199
12151
|
outlineColor = "color-primary-turva";
|
|
12200
12152
|
}
|
|
12201
12153
|
}
|
|
12202
|
-
return (hAsync("div", { key: '
|
|
12154
|
+
return (hAsync("div", { key: 'f257142549f96ec7a2bc7b55d2a94db30255fda0', role: "region", class: {
|
|
12203
12155
|
"duet-hero": true,
|
|
12204
12156
|
"duet-theme-turva": this.theme === "turva",
|
|
12205
12157
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -12217,17 +12169,17 @@ class DuetHero {
|
|
|
12217
12169
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
12218
12170
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
12219
12171
|
"duet-hero-narrow": this.layout === "narrow",
|
|
12220
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
12221
|
-
this.processedBack && (hAsync("div", { key: '
|
|
12172
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: 'a0ba1d5fd6f3f34801d8414e83861224fd5e59ef', class: "background-area" }, hAsync("div", { key: '9a63de55091585f7b293848d95866486b5f6bea2', class: "background-container" }, hAsync("div", { key: '4d33ed0f59978f56e9125a39a1deb7f87bcee57f', class: "background" }, hAsync("img", { key: 'd7f5cc1eeb1bce111f0a88e58f920281da590b5d', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: '0d3008474a17986da34f5ba31dc8be1564c82783', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: '1b8f2936dd72a822d49a7233b565e8ea48ebdd2d', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: '229b3c5552e4d81eafe28b94b5fcec63ee60670d', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '3b8e2aee66245f324c426c240143b96a99b8e9ca', class: { background: true, [this.layout]: true } }, hAsync("div", { key: '7d5f3a207b65d18034fbec1d9f368b1f6ee99218', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: '77ccfe53bf8deb878b44891a6d5c75f33189144d', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: '5d6bd03904ac0d45359b892b1e726adf994bf3c4', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: 'bd0ad4df2ca91ed8d331bdb8edd03ea6969f0c91', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: '72d4659196b1861f52fcf0f89e8de980d6bb0bf0', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: 'a65fe28b15facb9ccd2b7e5efee8706563b6616b', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: 'b720cd36ac4d5ed3fc933a7cb1cbb1c568a624e8', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: '0e15cd2a65dbe97bb5739fbfd750e08fbc22efc7', class: "background-area" }, hAsync("div", { key: '00ac94552b4d687692b3b4022e3e999bb142056f', class: "background" }, hAsync("div", { key: '6d8fa037c5bff6784c8365f7b80ae04c431f6a76', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '923fc35eec5ec58405f7aaf2ac7d2c2e3285fb4f', class: "brand-shape" }), hAsync("div", { key: '1cef468ea49ef89bb095d8d33d7af1133edfe110', class: "brand-shaped-image" }, hAsync("div", { key: '450b2f27e16145aa148bc9acbb2d2881de110013', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: 'cf4f3d1aa4f738b0122fad2ffec9bdf96c0bce67', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: 'f8a47ed4de939d4731214996232a125a8447eb57', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: '39e087e5cc31c4e2a027f2c26176724895477056', class: "duet-hero-image-mask" }, hAsync("div", { key: '05a38f40913d646a60f91d200ef8e15c109ba99f', class: "duet-hero-image-wrapper" }, hAsync("div", { key: '64a89962f4e3566ff396f9f16037952461f2b0d7', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
12173
|
+
this.processedBack && (hAsync("div", { key: '6d3d2474cadf286c387403671599e6538d3cf9b1', class: "duet-hero-back" }, hAsync("duet-button", { key: '4e77d833102623cf2b354537b6b9f87ab764eaa2', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
|
|
12222
12174
|
label: this.processedBack.label,
|
|
12223
12175
|
href: this.processedBack.href,
|
|
12224
12176
|
id: this.processedBack.id,
|
|
12225
12177
|
analyticsId: this.processedBack.analyticsId,
|
|
12226
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
12178
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '8069d1d43db52a1ccc41bf283c4659c03761392b', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: '9aadf0c2ee516c9f4f37a41e340b115fc539d99d', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: '10b4c3254d59c69843c27095bef45950ea49fddd', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium" }, this.preHeading ? (this.preHeading) : (hAsync("span", null, hAsync("slot", { name: "pre-heading" }))))), hAsync("slot", { key: '68247fb226b12dd8e2141e2a7b8b63f8276ba8ac', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: 'a16fdad82bd4ebd4c6858ab4f5bd92122623b407', theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto" }, this.heading ? this.heading : hAsync("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (hAsync("duet-heading", { key: '80b8ec3ec3dd54c2041bc2282c4676e0b4eb63a4', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("slot", { key: 'b4b6f35e0393cb5981c1f8f41be47866e21d7c13', name: "subheading" }))), this.description && (hAsync("duet-paragraph", { key: 'de42a54944a83f5d8d18eafbc75a31852d8ba375', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: '725ba3215c20f61dab481e4727ee64a2ba604fa4', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (hAsync("duet-list-item", null, hAsync("span", { slot: "label" }, item.label), hAsync("span", { slot: "value" }, item.value)))))), this.buttonLabel && (hAsync("duet-button", { key: 'c87f70f6e3116d72fb5eb1041e2f5d698665c604', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), hAsync("slot", { key: '644f0119c10be1fb8b4c741703203307fac76fe7' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: '35e6c2c19c28662be697b4fbfa701a8f1c930fb8', class: "duet-hero-links" }, this.processedActions.map(item => (hAsync("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, hAsync("div", { class: "duet-hero-action-icon" }, hAsync("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), hAsync("span", null, item.label), item.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (hAsync("div", { class: "duet-hero-action-arrow" }, hAsync("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
12227
12179
|
this.variation !== "image" &&
|
|
12228
12180
|
!campaignOrSection &&
|
|
12229
12181
|
this.variation !== "product" &&
|
|
12230
|
-
this.variation !== "content" && hAsync("div", { key: '
|
|
12182
|
+
this.variation !== "content" && hAsync("div", { key: '4e4b7dfb82883d5ff581b7f94abad8894222b241', class: "duet-hero-image", style: styles }), hAsync("slot", { key: 'd8ea8f05d57854169d1f991fc28f10735bff38ed', name: "bottom" }))));
|
|
12231
12183
|
}
|
|
12232
12184
|
get element() { return getElement(this); }
|
|
12233
12185
|
static get watchers() { return {
|
|
@@ -12394,11 +12346,11 @@ class DuetIcon {
|
|
|
12394
12346
|
: {};
|
|
12395
12347
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
12396
12348
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
12397
|
-
return (hAsync(Host, { key: '
|
|
12349
|
+
return (hAsync(Host, { key: 'ef5ffba76e3069a950075809eff85450dea82d04', class: {
|
|
12398
12350
|
"duet-m-0": this.margin === "none",
|
|
12399
12351
|
"duet-icon-has-outline": !!this.outline,
|
|
12400
12352
|
"duet-icon-has-background": !!this.background,
|
|
12401
|
-
} }, hAsync("span", { key: '
|
|
12353
|
+
} }, hAsync("span", { key: '9f1c51bd4b01d5bd8dcfb8a15aa3634d54fd98aa', "aria-hidden": "true", style: styles, class: {
|
|
12402
12354
|
"duet-icon": true,
|
|
12403
12355
|
"duet-theme-turva": this.theme === "turva",
|
|
12404
12356
|
"duet-theme-default": this.theme === "default",
|
|
@@ -12407,7 +12359,7 @@ class DuetIcon {
|
|
|
12407
12359
|
[shapeStyle]: true,
|
|
12408
12360
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
12409
12361
|
"duet-icon-not-responsive": !this.responsive,
|
|
12410
|
-
} }, hAsync("span", { key: '
|
|
12362
|
+
} }, hAsync("span", { key: '6da8f272d8e21cea75774cacdb2b6424af54e5a7', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
12411
12363
|
}
|
|
12412
12364
|
get element() { return getElement(this); }
|
|
12413
12365
|
static get watchers() { return {
|
|
@@ -13027,7 +12979,7 @@ class DuetInput {
|
|
|
13027
12979
|
this.type !== "password" &&
|
|
13028
12980
|
this.type !== "time" &&
|
|
13029
12981
|
this.variation !== "button";
|
|
13030
|
-
return (hAsync(Host, { key: '
|
|
12982
|
+
return (hAsync(Host, { key: '2698c40b636f52bb2104c74a23ecd3925237c054', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (hAsync("duet-visually-hidden", { key: 'bebef7a5a7b57492709f43d983797ab2d529e58b', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), hAsync("div", { key: 'fc6a07da8c902900e1397d79ae1e859942a6f5b1', class: {
|
|
13031
12983
|
"duet-input-container": true,
|
|
13032
12984
|
"duet-theme-turva": this.theme === "turva",
|
|
13033
12985
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -13041,7 +12993,7 @@ class DuetInput {
|
|
|
13041
12993
|
"has-clear": this.clear,
|
|
13042
12994
|
"has-focus": this.isFocused,
|
|
13043
12995
|
disabled: this.disabled,
|
|
13044
|
-
} }, hAsync("div", { key: '
|
|
12996
|
+
} }, hAsync("div", { key: '687127884e9d9cd0e7ad8154ce6c0463fb8869f0', class: "duet-input-label-container" }, hAsync(DuetInternalLabel, { key: '827c2edbdd377574a39ccb5c7c29896b6f714610', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: 'a9ece9536b308ac98eec27d357da3c33c3123516', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: '4a75b1054494551f2056f54e6510769487e8c069', name: "tooltip" })), this.caption && (hAsync("duet-caption", { key: '9bb76c5948b33b1f7a631aa9dc8de48599852b27', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '7a99e9a28efe7d5d497d6ab9a35a9ebfdb27229b', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (hAsync("duet-caption", { key: '9b75f9744d1ed4e373b76ac8ac39e86078085ea0', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (hAsync("duet-visually-hidden", { key: '826f0a81b9e67c9729f91e80b9e63c367c0cb57b', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && hAsync("slot", { key: '9c6b58e34e2195b5a6bf4cd65b4abff5eeb63a7d', name: "button-left" }), hAsync("input", Object.assign({ key: 'ac9d982d0fde21d818cabfd0852a8c6f70a6eecb', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
13045
12997
|
"duet-input": true,
|
|
13046
12998
|
disabled: this.disabled,
|
|
13047
12999
|
"is-number": this.component === "number",
|
|
@@ -13049,16 +13001,16 @@ class DuetInput {
|
|
|
13049
13001
|
"after-chip": this.getAllChips().length > 0,
|
|
13050
13002
|
"align-right": this.inputAlign === "right",
|
|
13051
13003
|
[`input-padding-${this.inputPadding}`]: true,
|
|
13052
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '
|
|
13004
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: 'd7ea6c3427b3322bca19315c2e53cccfc7c18720', class: "duet-input-icon" }, hAsync("duet-icon", { key: '61c4fd1949006b451107d30ae3fd28d64cb190e6', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (hAsync("div", { key: 'def3271d3fdac203a5207bae75ddd98e2b5e9468', class: {
|
|
13053
13005
|
"duet-input-clear-icon": true,
|
|
13054
13006
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
13055
13007
|
"duet-input-clear-icon-double": !!this.icon,
|
|
13056
13008
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
13057
|
-
} }, hAsync("button", { key: '
|
|
13009
|
+
} }, hAsync("button", { key: '17de740b399371c65036dca103bfc4c886308390', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, hAsync("duet-icon", { key: '2655b6148930c0af787b741eb20a44b8b34759a2', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (hAsync("div", { key: '269f9dbfab80af2cdb9bdf0d64244da2020c9fa2', class: "duet-input-icon" }, hAsync("duet-icon", { key: '1ad17408d82b564de7a5645e75419a93757200e3', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && hAsync("slot", { key: '70516ac151effecf5b422a4a3de2d1dcd19023da', name: "button" }), this.variation === "revealable" && (hAsync("duet-button", { key: '7853ad3332cbfdc7c24e84c434e6bf5a0a82f39c', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
13058
13010
|
? this.hidePasswordLabel[this.language]
|
|
13059
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: '
|
|
13011
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: 'b7be6ea65925eab1669e05244a2429ccf34aaada' }, hAsync("span", { key: 'cd0074837e59dc04d600b7feae1d4169d7ee29ae', "aria-live": "polite" }, this.isPasswordRevealed
|
|
13060
13012
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
13061
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '
|
|
13013
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: 'a22cf48a6d4f750ed4746a5b7d9e3079398e7231' })), hAsync("span", { key: 'aafc2df53796f2c27847eca31e88de3e35e5adca', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '13e297b0f5d148ae9b92b177db23c0ca3728c7ac', class: "duet-input-error" }, this.error)))));
|
|
13062
13014
|
}
|
|
13063
13015
|
get element() { return getElement(this); }
|
|
13064
13016
|
static get watchers() { return {
|
|
@@ -13264,24 +13216,24 @@ class DuetLayout {
|
|
|
13264
13216
|
* Always the last one in the class.
|
|
13265
13217
|
*/
|
|
13266
13218
|
render() {
|
|
13267
|
-
return (hAsync(Host, { key: '
|
|
13219
|
+
return (hAsync(Host, { key: 'c039d55e4dc7a84e97ea192f0c4688e027113735', class: {
|
|
13268
13220
|
center: this.center,
|
|
13269
13221
|
"duet-middle": this.middle,
|
|
13270
13222
|
"duet-ie": isInternetExplorer(),
|
|
13271
|
-
} }, hAsync("div", { key: '
|
|
13223
|
+
} }, hAsync("div", { key: 'e326f1c742928c4d6bd5cfb4253bb7aea68000eb', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: '6962ea52e7f3f4fb88d3c01d045bc443855a2a85', class: {
|
|
13272
13224
|
"duet-layout-top": true,
|
|
13273
13225
|
"duet-center": this.center,
|
|
13274
|
-
} }, hAsync("div", { key: '
|
|
13226
|
+
} }, hAsync("div", { key: '0a290a62602c61876e07a2c51631b60cde5c6732', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: '9e0e0f7a71f96956c6bab87289472b221cc6fb82', name: "top" })))), hAsync("div", { key: '27243ae09de6542e2e71fc1d9df39d2af3c554e2', class: {
|
|
13275
13227
|
"duet-layout": true,
|
|
13276
13228
|
"has-sidebar": this.hasSidebar,
|
|
13277
13229
|
"duet-center": this.center,
|
|
13278
13230
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
13279
|
-
} }, hAsync("main", { key: '
|
|
13231
|
+
} }, hAsync("main", { key: 'ed6b4fa855141ee48f2cddec01fff1e8d6432fe9', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: '7f88c6e8b5f8b8a3e66567d7da01ef3f07aaaaf6', name: "page-heading" }), hAsync("slot", { key: '9d4c9f990275b90dac6877f5cb933cbb66eac05c', name: "main" })), this.hasSidebar && (hAsync("aside", { key: '0f858e4431d899f53b021f0ebffc8c5ac3798570', class: "duet-sidebar" }, hAsync("div", { key: '972538dd68d2fc1c181ea318d790b914b7595f4c', class: {
|
|
13280
13232
|
"duet-sidebar-container": true,
|
|
13281
13233
|
"has-tabs": this.tabs,
|
|
13282
13234
|
sticky: this.sticky,
|
|
13283
13235
|
[this.stickyDistance]: this.sticky,
|
|
13284
|
-
} }, hAsync("slot", { key: '
|
|
13236
|
+
} }, hAsync("slot", { key: '02a409b43bc86078406f80ee2b2f03159115b41a', name: "sidebar" }))))))));
|
|
13285
13237
|
}
|
|
13286
13238
|
get element() { return getElement(this); }
|
|
13287
13239
|
static get style() { return duetLayoutCss; }
|
|
@@ -13512,10 +13464,10 @@ class DuetLink {
|
|
|
13512
13464
|
render() {
|
|
13513
13465
|
const Tag = !this.url ? "button" : "a";
|
|
13514
13466
|
const isButton = Tag === "button";
|
|
13515
|
-
return (hAsync(Host, { key: '
|
|
13467
|
+
return (hAsync(Host, { key: '96c3d3dbc2c4443ebe7115e15d0ea728a67298a3', class: {
|
|
13516
13468
|
[`duet-link-${this.variation}`]: true,
|
|
13517
13469
|
"duet-m-0": this.margin === "none",
|
|
13518
|
-
} }, hAsync(Tag, { key: '
|
|
13470
|
+
} }, hAsync(Tag, { key: '1c062cb714f94d26e0f432ae48ae8bf6a41adf94', href: this.url, class: {
|
|
13519
13471
|
"duet-link": true,
|
|
13520
13472
|
"duet-link-is-external": this.external,
|
|
13521
13473
|
"duet-link-is-download": !!this.download,
|
|
@@ -13669,7 +13621,7 @@ class DuetList {
|
|
|
13669
13621
|
* Always the last one in the class.
|
|
13670
13622
|
*/
|
|
13671
13623
|
render() {
|
|
13672
|
-
return (hAsync("dl", { key: '
|
|
13624
|
+
return (hAsync("dl", { key: '052db668e7054a16f24d65594ef92c4c298f4551', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: 'd23d4564a79d36010fadd74de603023cfd189759' })));
|
|
13673
13625
|
}
|
|
13674
13626
|
get element() { return getElement(this); }
|
|
13675
13627
|
static get watchers() { return {
|
|
@@ -13728,14 +13680,14 @@ class DuetListItem {
|
|
|
13728
13680
|
* Always the last one in the class.
|
|
13729
13681
|
*/
|
|
13730
13682
|
render() {
|
|
13731
|
-
return (hAsync(Host, { key: '
|
|
13683
|
+
return (hAsync(Host, { key: '6228d7324189cb32bb004fa43ea7eae180a8a786', class: {
|
|
13732
13684
|
"duet-no-stacking": !this.responsive,
|
|
13733
13685
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
13734
13686
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
13735
13687
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
13736
13688
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
13737
13689
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
13738
|
-
} }, hAsync("dt", { key: '
|
|
13690
|
+
} }, hAsync("dt", { key: 'e147932f0b959b7f62d0e4ddcf7e37ac9c27925d' }, hAsync("slot", { key: '11f427c40cb89be3422701eab1ddb2f2d947a7ab', name: "label" })), hAsync("dd", { key: '8f255e645eae50c40bf933635d5a544d0255b1d9' }, hAsync("slot", { key: '99c80d00798e9711346d86a9842127a30fb25d8c', name: "value" }))));
|
|
13739
13691
|
}
|
|
13740
13692
|
static get style() { return duetListItemCss; }
|
|
13741
13693
|
static get cmpMeta() { return {
|
|
@@ -13853,7 +13805,7 @@ class DuetLogo {
|
|
|
13853
13805
|
*/
|
|
13854
13806
|
render() {
|
|
13855
13807
|
const TagName = this.href ? "a" : "div";
|
|
13856
|
-
return (hAsync(Host, { key: '
|
|
13808
|
+
return (hAsync(Host, { key: '45aadc48c1486983e2e7fb1ab40ed4dec5538805', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: '0b8ef04de15bd3ec00a0882a33c657191710723c', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
13857
13809
|
"duet-logo": true,
|
|
13858
13810
|
[this.size]: true,
|
|
13859
13811
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -14044,14 +13996,14 @@ class DuetMenuBar {
|
|
|
14044
13996
|
render() {
|
|
14045
13997
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
14046
13998
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
14047
|
-
return (hAsync(Host, { key: '
|
|
13999
|
+
return (hAsync(Host, { key: '21fc312d35aaa7deb3f4158b0b6d5bf61e90c5df' }, hAsync("nav", { key: '9fa69bcebbba04c2ed12cf254e9452d76c5ac1f3', class: {
|
|
14048
14000
|
"duet-menu-bar": true,
|
|
14049
14001
|
"duet-theme-turva": this.theme === "turva",
|
|
14050
14002
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
14051
14003
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
14052
14004
|
hidden: this.hidden && this.hideOnScroll,
|
|
14053
14005
|
bottom: this.onBottom,
|
|
14054
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
14006
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '4566523b16eab120b9f619b747193fe9e137e82f', class: "top" }), hAsync("div", { key: 'd411603d91e00213cec5c9f80d352ec4c3364d5a', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: '84871b19397758ab1283208e1cda3cc0a8c35f9b' }, hAsync("duet-logo", { key: '8eb00c572b3d97891b54ad3a0b896933f616dd7b', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: '7b7e356b1b733d9a873dc843071491bfd9b8cbaa', class: "list center", role: "list" }, hAsync("div", { key: '413672e655afea426497dea6f1034ecd2ec2c0f6', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: '6caad3db53aa0ae9dcf20bb99bf359a6b849e13e', name: "center" }), hAsync("div", { key: 'aebd2a3d449bd576f90711455378ed4d485d3aee', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: '6030dc0c9e9f65628e56b7311b56adf93e8e5adf', class: "list right", role: "list" }, hAsync("slot", { key: '21d2c8706ce2ecf7694465f7213655d912be612a', name: "right" }))), hAsync("div", { key: '22889d929f8602111932ef87ff8b59f532b4b84f', class: "bottom" }))));
|
|
14055
14007
|
}
|
|
14056
14008
|
get element() { return getElement(this); }
|
|
14057
14009
|
static get style() { return duetMenuBarCss; }
|
|
@@ -14128,10 +14080,10 @@ class DuetMenuBarButton {
|
|
|
14128
14080
|
* Always the last one in the class.
|
|
14129
14081
|
*/
|
|
14130
14082
|
render() {
|
|
14131
|
-
return (hAsync(Host, { key: '
|
|
14083
|
+
return (hAsync(Host, { key: '085f63615e169161d94273a5ebb8457c0ef8b574', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: 'd9f64e080eeda17b52ab4cdc11773adf2bcd0e03', ref: button => (this.nativeButton = button), class: {
|
|
14132
14084
|
"duet-menu-bar-button": true,
|
|
14133
14085
|
"duet-theme-turva": this.theme === "turva",
|
|
14134
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
14086
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: 'f14da12f511351637fe52aff31363db154b9e62e', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'ca337a673ab234876c6b0e61f3ded80b6cb2c7b6' }))));
|
|
14135
14087
|
}
|
|
14136
14088
|
get element() { return getElement(this); }
|
|
14137
14089
|
static get style() { return duetMenuBarButtonCss; }
|
|
@@ -14221,17 +14173,17 @@ class DuetMenuBarDropdown {
|
|
|
14221
14173
|
* Always the last one in the class.
|
|
14222
14174
|
*/
|
|
14223
14175
|
render() {
|
|
14224
|
-
return (hAsync(Host, { key: '
|
|
14176
|
+
return (hAsync(Host, { key: 'e4985d7e63aed9ba26fedc96395c66a0e67aee76', role: "listitem" }, hAsync("div", { key: '9f80d9cec1249a51e952032e4a350c5377e2eade', class: {
|
|
14225
14177
|
"duet-menu-bar-dropdown": true,
|
|
14226
14178
|
"duet-theme-turva": this.theme === "turva",
|
|
14227
14179
|
active: this.open,
|
|
14228
14180
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
14229
|
-
} }, hAsync("button", { key: '
|
|
14181
|
+
} }, hAsync("button", { key: 'b390dffa1885e3116648cb774a736ff420d76f0b', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
14230
14182
|
active: this.open,
|
|
14231
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
14183
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '57d9edd51aad66492f017ad695bc4c66639d6ab2', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '8fca31ecedd2ac2d0faff7e3b48bcb452ce9dca4', class: "label" }, hAsync("slot", { key: '72e9f76523fadea00ed9004adaa60706155b9db7', name: "label" }), hAsync("duet-icon", { key: 'e60f3b288e0fb57a504787184708a098f634faf5', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '5b1cda07948a8bcaefa7606c45fb44e1dc2147a8', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
14232
14184
|
items: true,
|
|
14233
14185
|
hidden: !this.open,
|
|
14234
|
-
} }, hAsync("slot", { key: '
|
|
14186
|
+
} }, hAsync("slot", { key: '0e4b5df92ec2cbe32e68c68a9a7560ee5c9b4a94' })))));
|
|
14235
14187
|
}
|
|
14236
14188
|
get element() { return getElement(this); }
|
|
14237
14189
|
static get style() { return duetMenuBarDropdownCss; }
|
|
@@ -14251,7 +14203,7 @@ class DuetMenuBarDropdown {
|
|
|
14251
14203
|
}; }
|
|
14252
14204
|
}
|
|
14253
14205
|
|
|
14254
|
-
const duetMenuBarDropdownLinkCss = "*,*::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(8, 42, 77);text-align:
|
|
14206
|
+
const duetMenuBarDropdownLinkCss = "*,*::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(8, 42, 77);text-align:left;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(228, 241, 247)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}";
|
|
14255
14207
|
|
|
14256
14208
|
class DuetMenuBarDropdownLink {
|
|
14257
14209
|
constructor(hostRef) {
|
|
@@ -14298,11 +14250,11 @@ class DuetMenuBarDropdownLink {
|
|
|
14298
14250
|
* Always the last one in the class.
|
|
14299
14251
|
*/
|
|
14300
14252
|
render() {
|
|
14301
|
-
return (hAsync(Host, { key: '
|
|
14253
|
+
return (hAsync(Host, { key: '70ecf3f954324fa85857363f5f457c21da3dfea5' }, hAsync("a", { key: 'c1a9611d0d1198e51a5317fddd814ab59d6fd001', class: {
|
|
14302
14254
|
"duet-menu-bar-dropdown-link": true,
|
|
14303
14255
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
14304
14256
|
"duet-theme-turva": this.theme === "turva",
|
|
14305
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
14257
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '2f914cb2e14ae9a5261a443a6c8e92189b454ea5', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '72ab4a672222654c605bdf65e8ab5e3dd16a2351' }))));
|
|
14306
14258
|
}
|
|
14307
14259
|
get element() { return getElement(this); }
|
|
14308
14260
|
static get style() { return duetMenuBarDropdownLinkCss; }
|
|
@@ -14388,11 +14340,11 @@ class DuetMenuBarItem {
|
|
|
14388
14340
|
*/
|
|
14389
14341
|
render() {
|
|
14390
14342
|
const TagName = this.url ? "a" : "button";
|
|
14391
|
-
return (hAsync(Host, { key: '
|
|
14343
|
+
return (hAsync(Host, { key: '99fd8c7382c8e5e355cf15a9b3b2ba369862c696', role: "listitem" }, hAsync(TagName, { key: '3887748e3e59f04c2a2b8ea0a719ddbd3aa02874', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
14392
14344
|
"duet-menu-bar-item": true,
|
|
14393
14345
|
"duet-theme-turva": this.theme === "turva",
|
|
14394
14346
|
active: this.active,
|
|
14395
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '
|
|
14347
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: 'c862cc29534be14bf42d04b9ad9d4c69a183148e', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: 'a7adf8f35a6ec6df6607220ff462c44d297763af' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '2e5a29be51a0eb5e6c8f877d8c7fe0e5ad8bee63', class: {
|
|
14396
14348
|
"trailing-icon": !!this.trailingIcon,
|
|
14397
14349
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
14398
14350
|
"external-icon": !!this.external,
|
|
@@ -14457,11 +14409,11 @@ class DuetMenuBarLink {
|
|
|
14457
14409
|
* Always the last one in the class.
|
|
14458
14410
|
*/
|
|
14459
14411
|
render() {
|
|
14460
|
-
return (hAsync(Host, { key: '
|
|
14412
|
+
return (hAsync(Host, { key: 'b9a3745a1cfec2d7c1128391d2f42556a807e16f', role: "listitem" }, hAsync("a", { key: '9996640b185ba7c31604cf146e08e577cd02bb03', class: {
|
|
14461
14413
|
"duet-menu-bar-link": true,
|
|
14462
14414
|
"duet-theme-turva": this.theme === "turva",
|
|
14463
14415
|
active: this.active,
|
|
14464
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
14416
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'f8ceb9d0a573128066271bf885486c146bffe85c', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'fe9858270f33fdbdd829bd3520dda36aaee623bc' }))));
|
|
14465
14417
|
}
|
|
14466
14418
|
get element() { return getElement(this); }
|
|
14467
14419
|
static get style() { return duetMenuBarLinkCss; }
|
|
@@ -14770,18 +14722,18 @@ class DuetModal {
|
|
|
14770
14722
|
var _a, _b;
|
|
14771
14723
|
let iconColor = "primary";
|
|
14772
14724
|
let closeColor = "secondary";
|
|
14773
|
-
const closingButton = (hAsync("div", { key: '
|
|
14725
|
+
const closingButton = (hAsync("div", { key: '9ac78908c9990126092f60a20cad28f9fdd52f92', class: "duet-modal-close" }, hAsync("duet-button", { key: '04f3951eb0705ada170b3688361426fab8158a58', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
14774
14726
|
if (this.theme === "turva") {
|
|
14775
14727
|
iconColor = "primary-turva";
|
|
14776
14728
|
closeColor = "secondary-turva";
|
|
14777
14729
|
}
|
|
14778
|
-
return (hAsync("div", { key: '
|
|
14730
|
+
return (hAsync("div", { key: '6cf7063988bea9c5a14d80db8ce25c0d0f4c5261', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
14779
14731
|
"duet-modal-container": true,
|
|
14780
14732
|
"duet-theme-turva": this.theme === "turva",
|
|
14781
14733
|
"duet-modal-active": this.open,
|
|
14782
14734
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
14783
14735
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
14784
|
-
} }, hAsync("duet-overlay", { key: '
|
|
14736
|
+
} }, hAsync("duet-overlay", { key: '095e7e943dc4ac25354cb8e5e8f0209b04c5726f', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: 'c1a956619dd456e4ea72a777df1a552cdc946248', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
14785
14737
|
"duet-modal-inner": true,
|
|
14786
14738
|
[this.size]: true,
|
|
14787
14739
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -14792,18 +14744,18 @@ class DuetModal {
|
|
|
14792
14744
|
this.closeModal(e);
|
|
14793
14745
|
}
|
|
14794
14746
|
}
|
|
14795
|
-
} }, hAsync("div", { key: '
|
|
14747
|
+
} }, hAsync("div", { key: '00ea985179b6f8ff56689869b867c56fbb2c6fd1', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
14796
14748
|
"duet-modal": true,
|
|
14797
14749
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
14798
14750
|
[this.size]: true,
|
|
14799
14751
|
[this.variation]: true,
|
|
14800
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
14752
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '3898a33a0f50d7d2f1cc4fa680e72fea738f04a1' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: '066e7d87288f90834f32524e0c071b213a82ffae', class: {
|
|
14801
14753
|
"duet-modal-body": true,
|
|
14802
14754
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
14803
14755
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
14804
14756
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
14805
14757
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
14806
|
-
} }, hAsync("div", { key: '
|
|
14758
|
+
} }, hAsync("div", { key: 'a53345c862d3774172fb83e163dc5ffddf67db45', class: "duet-modal-header" }, hAsync("span", { key: '6c4ddadb2712aceda3c01fe5ba5b2c2ba27d4f16', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: 'e7dcba70b05ada30c9bc83eacda6425f39bf413c', name: "top" })), this.icon && hAsync("duet-icon", { key: 'ecda19ba385fd36965e5b10e5188ed9dcaf4a45e', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: '861d4d13a99bf5389a4c59a70b4727cc4e0e50f3', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (hAsync("div", { key: '257591eaf5c753dc265368e2d8f74dc1604eae08', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: '9dbbc533f95ade938b9938c054f8beb58311558f', size: "large", color: "primary" }))), hAsync("div", { key: 'd4dd4714edda7ada1f76a4b35b87043bdedda109', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: '04bc40dad5b18a955c1b2dd865020b6d3463a3a3' })))))));
|
|
14807
14759
|
}
|
|
14808
14760
|
get element() { return getElement(this); }
|
|
14809
14761
|
static get watchers() { return {
|
|
@@ -15116,23 +15068,23 @@ class DuetMultiselect {
|
|
|
15116
15068
|
*/
|
|
15117
15069
|
render() {
|
|
15118
15070
|
var _a;
|
|
15119
|
-
return (hAsync(Host, { key: '
|
|
15071
|
+
return (hAsync(Host, { key: '48ee754bd0231a05f00d9f15a2beb729b57dc393', class: {
|
|
15120
15072
|
"duet-m-0": this.margin === "none",
|
|
15121
15073
|
"duet-expand": this.expand,
|
|
15122
|
-
} }, hAsync("div", { key: '
|
|
15074
|
+
} }, hAsync("div", { key: '212fe92eabb76004eb018b36ef0dbc825a21f8be', class: {
|
|
15123
15075
|
"duet-multiselect-container": true,
|
|
15124
15076
|
"duet-label-hidden": this.labelHidden,
|
|
15125
15077
|
"duet-theme-turva": this.theme === "turva",
|
|
15126
15078
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
15127
15079
|
"has-error": !!this.error,
|
|
15128
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: '
|
|
15080
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: '7530455602172e9f450cf2c51ffef4e9e8b095ee', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '04100890a4421ee2a24a62f33cc740f009b0e2aa', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '610363ef1c5df18e0404ecf30527ab542101b5dc', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: 'd227786dacc1c8de9e749445de99aa9927834c3a', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'c102e3f30f45087f11c2de41e32765174d699c45', class: "duet-multiselect-wrapper" }, hAsync("button", { key: '2788939db68491aa050265beb0970377fa6a3c76', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, hAsync("span", { key: '08ac22ccf0ede5b5594ff44d2e7a3bea6177bdd8', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (hAsync("span", { key: '20a565fd927ca30250641a8d60973757faf7a3b7', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: 'b967c4f19809b18216a7633769365d44c35b9d2c' }, this.selectedLangObject[this.language], ",", " ", Array.isArray(this.value) ? this.value.map(item => item.label).join(", ") : ""))), hAsync("svg", { key: '0df538e14bb2e05548305020f1deece8ca2c3eb5', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '3cf7cde5c4c357222200e5e8da29bc4b2195013b', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), hAsync("div", { key: '8719382a8c45c297d64e21afd2e6894b4baf1d00', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
15129
15081
|
"duet-multiselect-checkboxes": true,
|
|
15130
15082
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
15131
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
15083
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '2fdfba244f04d2a65357a2f71778ba11fab0c4b0', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: '0f85adc72c37c3912907195d4401aa2e2aa07696', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), hAsync("button", { key: '1c36a865118112bdb3abcfdba4191aa17f290ebc', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
15132
15084
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
15133
15085
|
var _a, _b;
|
|
15134
15086
|
return (hAsync("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
|
|
15135
|
-
})))))), hAsync("span", { key: '
|
|
15087
|
+
})))))), hAsync("span", { key: '7cc61fa058955273a790d926301d3a6d08ee2f0b', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '299dae214efe69bea63d811aae8701e2e7ac34ed' }, this.error)))));
|
|
15136
15088
|
}
|
|
15137
15089
|
get element() { return getElement(this); }
|
|
15138
15090
|
static get watchers() { return {
|
|
@@ -15207,7 +15159,7 @@ class DuetNav {
|
|
|
15207
15159
|
* Always the last one in the class.
|
|
15208
15160
|
*/
|
|
15209
15161
|
render() {
|
|
15210
|
-
return (hAsync(Host, { key: '
|
|
15162
|
+
return (hAsync(Host, { key: 'e7b9d498cf0f6bdc8d3038373eb6e28e3f35dd21' }, hAsync("div", { key: '548a0cd64a925fe02459ec066a054758bb27e64d', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: 'dd8b5e53834c67de8ef2d21dc175daa07fb4eb3f' }), hAsync("slot", { key: '15ea998f3d0ab8eb7e2ae960ffcd317d267553a6', name: "mobile" }), hAsync("slot", { key: 'cbef511d9d9757b2b1740632a85b96f0992aa018', name: "desktop" }))));
|
|
15211
15163
|
}
|
|
15212
15164
|
get element() { return getElement(this); }
|
|
15213
15165
|
static get style() { return duetNavCss; }
|
|
@@ -15294,11 +15246,11 @@ class DuetNotification {
|
|
|
15294
15246
|
this.linkElement.focus(options);
|
|
15295
15247
|
}
|
|
15296
15248
|
render() {
|
|
15297
|
-
return (hAsync("div", { key: '
|
|
15249
|
+
return (hAsync("div", { key: '8975f8431be3527a8512ef808ad8d794883bc17d', role: "listitem", class: {
|
|
15298
15250
|
"duet-notification": true,
|
|
15299
15251
|
"duet-notification-highlight": this.highlight,
|
|
15300
15252
|
"duet-theme-turva": this.theme === "turva",
|
|
15301
|
-
} }, hAsync("a", { key: '
|
|
15253
|
+
} }, hAsync("a", { key: 'e89931620e815e5b2fabec7554a5adde93abd69d', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: 'cd15b1b522b795fb0e3985c9366c61e096269760', class: "duet-notification-container" }, hAsync("div", { key: '54906f42473ed9a2bcd3dd412874a92361b2f8b1', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: 'c986b5dc0ad5fb3315eaf54406f13e60f5f01ad0', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '34d1505966a8848a4c2b7b2e6aeba2bbb5421631' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: 'f1d2565579b7836e3abdaf0d5c2f6eceed818378', class: "duet-notification-content" }, hAsync("slot", { key: '551f5327a8e83b9010bf429d57d3ae9a146b58ab' })), hAsync("div", { key: '83d55b6508e640bf7ea13f4c9b75fcee6eb7cff4', class: "duet-notification-date" }, this.date)))));
|
|
15302
15254
|
}
|
|
15303
15255
|
get element() { return getElement(this); }
|
|
15304
15256
|
static get style() { return duetNotificationCss; }
|
|
@@ -15445,10 +15397,10 @@ class DuetNotificationDrawer {
|
|
|
15445
15397
|
* Always the last one in the class.
|
|
15446
15398
|
*/
|
|
15447
15399
|
render() {
|
|
15448
|
-
return (hAsync("div", { key: '
|
|
15400
|
+
return (hAsync("div", { key: '9f4089715c79f3098cbddd19ecb0fe9f625e60dc', class: {
|
|
15449
15401
|
"duet-drawer": true,
|
|
15450
15402
|
"duet-theme-turva": this.theme === "turva",
|
|
15451
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
15403
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '847f74b2cd54afe289a50fefd441409e3d10835d', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (hAsync("div", { key: 'c887681d1b69bea0d71fdb2f9a9da04162252ba7', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: '4ff950e8cbacfe8c26b45aa84c5ca6371afa5806', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: '3db0ee999568e116bff201633722e984ffaa4432', class: "duet-drawer-badge" }))), hAsync("span", { key: '73962ec83f1a6cf91c488f06a5aef5200d4c38b0', class: "duet-drawer-label" }, this.label), hAsync("div", { key: '4c821d69d5bd6ac7ced0b42ea8e762503db12836', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: '85e247216c488c0f39e3e1d7f47d88ed19e77c6d', margin: "none", size: "auto", icon: arrowDownIcon.svg, color: "currentColor" }))), hAsync("div", { key: 'ca5f050d99a3055e0ada249e72b08ba4a2614c54', id: "duet-drawer-content", class: {
|
|
15452
15404
|
"duet-drawer-content": true,
|
|
15453
15405
|
"duet-drawer-right": this.direction === "right",
|
|
15454
15406
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -15946,11 +15898,11 @@ class DuetNumberInput {
|
|
|
15946
15898
|
const identifier = this.identifier || this.inputId;
|
|
15947
15899
|
const maxlength = `${this.localizeValue(this.max)} ${this.unit}`.length;
|
|
15948
15900
|
const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
15949
|
-
return (hAsync(Host, { key: '
|
|
15901
|
+
return (hAsync(Host, { key: 'c404181a5a36be60ded0501cd754f3a370276db3', class: {
|
|
15950
15902
|
"duet-theme-turva": this.theme === "turva",
|
|
15951
15903
|
"duet-expand": this.expand,
|
|
15952
15904
|
"duet-m-0": this.margin === "none",
|
|
15953
|
-
} }, hAsync("div", { key: '
|
|
15905
|
+
} }, hAsync("div", { key: '674688689d6202a4b7a3778c0172af68e20b0673', class: "duet-number-container" }, hAsync("duet-input", { key: 'f5281ca4fa9f5b26a159dc7e7b92ca9a54528bf7', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, hAsync("slot", { key: '3f1c547afcc40014095f197036f787645147bd11', name: "tooltip" }), hAsync("div", { key: 'a868daa539f87cef017c2018287a1a45e1354cad', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, hAsync("button", { key: 'e85bd5edd04e493c634a8b73f4a5c26529fee463', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, hAsync("duet-visually-hidden", { key: '514347e9e62cee33816675da9bf05e4767024cf7' }, this.accessibleSubtract, " ", this.step), hAsync("duet-icon", { key: '1bbad2c355ee306483fb5f7f24569d129a6b8550', icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), hAsync("button", { key: '8ad6cf3c4dfc1a719c1226a81fc11118f2dbb034', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, hAsync("duet-visually-hidden", { key: '6235a14251c9d2e5730f4a783aee9fda6d53450d' }, this.accessibleAdd, " ", this.step), hAsync("duet-icon", { key: '2ffc06061b4c9fcbdc4cde17c75055caba64bd10', icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (hAsync("duet-visually-hidden", { key: '8248ba0993751f21e7a33df4d70c6db8246ceed5', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
|
|
15954
15906
|
}
|
|
15955
15907
|
get element() { return getElement(this); }
|
|
15956
15908
|
static get style() { return duetNumberInputCss; }
|
|
@@ -16062,7 +16014,7 @@ class DuetOverlay {
|
|
|
16062
16014
|
* Always the last one in the class.
|
|
16063
16015
|
*/
|
|
16064
16016
|
render() {
|
|
16065
|
-
return (hAsync(Host, { key: '
|
|
16017
|
+
return (hAsync(Host, { key: '6587eb66353af1c4084d8c5eba44620ad4caa30a', "aria-hidden": "true" }, hAsync("div", { key: 'f4dc3ef5134b907ebb8b089b1b33ac4fc2c0ab1b', style: { zIndex: this.zIndex }, class: {
|
|
16066
16018
|
"duet-overlay": true,
|
|
16067
16019
|
"duet-theme-turva": this.theme === "turva",
|
|
16068
16020
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -16139,12 +16091,12 @@ class DuetPageHeading {
|
|
|
16139
16091
|
*/
|
|
16140
16092
|
render() {
|
|
16141
16093
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
16142
|
-
return (hAsync("div", { key: '
|
|
16094
|
+
return (hAsync("div", { key: 'd762a0fbe26172ad34497f3cb402650062c8e6c8', class: {
|
|
16143
16095
|
"duet-page-heading": true,
|
|
16144
16096
|
"duet-theme-turva": this.theme === "turva",
|
|
16145
16097
|
"has-icon": !!this.icon,
|
|
16146
16098
|
[layout]: true,
|
|
16147
|
-
} }, hAsync("div", { key: '
|
|
16099
|
+
} }, hAsync("div", { key: '3132ad09303b315b4890e9ee09920b3a3d672fc5', class: "background" }, this.theme === "turva" && hAsync("div", { key: '772314fbf0ad3ba3532574d83ed2043970f1dca5', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '07fb565d9b76dbf09c0c99968de67875380e34b8', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: '0017d892d5422e264fccfdb8f1db2e81560462b8', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '15ffee3e71e18b567e6b3a4783e1df08214c893a', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'bf5654e71347207908be3f9ff4898efd22f36292', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: 'a2a6e73e8c8145f8b9559ea80c2fb42babdec7b6', class: "heading" }, hAsync("slot", { key: '85d10804528549900f5707b9e3cc5e6c367b339c', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: '3465fe217884f1ddaf8e6348c3951105ef3b3e0a' }, hAsync("duet-spacer", { key: '1a7fd9a0efac5f02045204a58551659ace3ed2b8', size: "large" }), hAsync("div", { key: 'f3e3d99c13a5672b199d9a0f5536cc2b4c6a9d09', role: "presentation" }, this.progressIndicator()))))));
|
|
16148
16100
|
}
|
|
16149
16101
|
get element() { return getElement(this); }
|
|
16150
16102
|
static get style() { return duetPageHeadingCss; }
|
|
@@ -16550,32 +16502,32 @@ class DuetPagination {
|
|
|
16550
16502
|
* Always the last one in the class.
|
|
16551
16503
|
*/
|
|
16552
16504
|
render() {
|
|
16553
|
-
return (hAsync(Host, { key: '
|
|
16505
|
+
return (hAsync(Host, { key: '2d201ade7a465ccdc9c838ae9bab20073e4bcecb', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: '888b2365acf343cc2827df0392e0b4fe62609d4d', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
|
|
16554
16506
|
"duet-pagination-nav": true,
|
|
16555
16507
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
16556
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
16508
|
+
} }, this.numbersStore !== "" && (hAsync("div", { key: 'ba5c72184ebb300e442a4b2b1becccbc19ed8423', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, hAsync("duet-badge", { key: 'f9e011d5b841903bd0ae666a01702f55d781328e', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: 'fde01f858aaeb95ba0404fa3444ea940c4521bfe', id: this.listId, class: {
|
|
16557
16509
|
"duet-pagination": true,
|
|
16558
16510
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
16559
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
16511
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '87d432d6f501f000078bbdda6bb39e82f4b7d215', class: {
|
|
16560
16512
|
"duet-pagination-page-button": true,
|
|
16561
16513
|
"duet-pagination-button-first": true,
|
|
16562
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
16514
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '48790021a45abdfe137b20483a06b6690d495d35', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), hAsync("li", { key: '4ac0987a55fe881a53d9bc6c31d244eaa477be1b', class: {
|
|
16563
16515
|
"duet-pagination-page-button": true,
|
|
16564
16516
|
"duet-pagination-button-first": true,
|
|
16565
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
16517
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '02e70e026d31ab7441d9c575608f71d9d9b7f6db', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
16566
16518
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
16567
|
-
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
16568
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
16519
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '5886c6e74ce3e15ac790490751f51621dd57fdec' }, hAsync("li", { key: '45e0f614f9739127af3db736511f8f2feb8ea44b', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'c5a0826c468d8dd373d888635d047df3b9cfec9d', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, hAsync("div", { key: 'b5e39c58743ca5fdb18beceacd72f984810ce21c', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: '76a2a84474e75823ecf3af83d8cc4d20cedd18ec', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: 'e0f755e9904df57b0ea6c75942860691ec4d3e03', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, hAsync("div", { key: 'f272ec274436aa7b7167dbf9944d43e33925139a', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
16520
|
+
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '8e0861e975abf48bf39308fa084c1b079a9b5739' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: 'd9b973b371d95a200b810909575a98accce60148', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '72dc3ed56da6648d3a0d9bc43b96c56bf1caf8d0', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, hAsync("div", { key: 'd56560b3ed29d1c082d13cbe130b12f76290ce97', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: 'c6b2c864c5562f5061783088344ff90095ecb70e', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'de9d1fd87aca35c376c1d00fd3ed2f685ef72199', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
|
|
16569
16521
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
16570
|
-
: undefined }, hAsync("div", { key: '
|
|
16522
|
+
: undefined }, hAsync("div", { key: '056315d9628a50491896db4fdbe2546be9cf222c', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '610a8833a6d77befc4f138e1319d4618f7682495', class: {
|
|
16571
16523
|
"duet-pagination-page-button": true,
|
|
16572
16524
|
"duet-pagination-button-last": true,
|
|
16573
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
16525
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '441d49068bda46c7a66e21fbe6a7f9445cd5fe8c', disabled: !!((this.current === this.totalPages &&
|
|
16574
16526
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
16575
|
-
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
16527
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '520c47b865d45f68dca480bded5d25da0ddcdba5', class: {
|
|
16576
16528
|
"duet-pagination-page-button": true,
|
|
16577
16529
|
"duet-pagination-button-last": true,
|
|
16578
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
16530
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'e0f008819c6637bd8519eed4a9411a712d5b0ee5', disabled: (this.current === this.totalPages &&
|
|
16579
16531
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
16580
16532
|
this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
|
|
16581
16533
|
}
|
|
@@ -16667,7 +16619,7 @@ class DuetParagraph {
|
|
|
16667
16619
|
const color = getColorByName(this.color);
|
|
16668
16620
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
16669
16621
|
// are not announced when placed inside duet-modal
|
|
16670
|
-
return (hAsync(Host, { key: '
|
|
16622
|
+
return (hAsync(Host, { key: '6a13b5ffe8df2d7d3fbab1a8bb419feb340da706', "aria-describedby": this.id }, hAsync("p", { key: '80e12bf1949ea7f97ee2cc539e90ede233e6e719', id: this.id, class: {
|
|
16671
16623
|
"duet-paragraph": true,
|
|
16672
16624
|
"duet-paragraph-small": this.size === "small",
|
|
16673
16625
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -16675,7 +16627,7 @@ class DuetParagraph {
|
|
|
16675
16627
|
"duet-m-0": this.margin === "none",
|
|
16676
16628
|
[this.variation]: true,
|
|
16677
16629
|
"duet-theme-turva": this.theme === "turva",
|
|
16678
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
16630
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '219b0fe9f531f0a930b64d7d26c556d1010d9ef3' }))));
|
|
16679
16631
|
}
|
|
16680
16632
|
get element() { return getElement(this); }
|
|
16681
16633
|
static get style() { return duetParagraphCss; }
|
|
@@ -20598,11 +20550,11 @@ class DuetPopupMenuItem {
|
|
|
20598
20550
|
"duet-theme-turva": this.theme === "turva",
|
|
20599
20551
|
"active-descendant": this.activeDescendant,
|
|
20600
20552
|
};
|
|
20601
|
-
return (hAsync(Host, { key: '
|
|
20553
|
+
return (hAsync(Host, { key: 'f27689157d4f30730ed329199d0073e1f892c667', role: this.accessibleRole }, hAsync(TagName, { key: '732df7b3d187436866bb95178a55ce3a467cd417', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (hAsync("duet-icon", { key: 'f847d93146cc6fe171ca53ea75257f0dd64a3a8d', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '404710e8e19bf119276abc7287c9167a4f93587b', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: '92c4753ed0a7a4eb6cb7940b6a5bfcdae6ca10f7' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: '11a754fbbd49c1e9f8a6a2fcd78d2d7ee0ebccdc', name: this.url && this.external
|
|
20602
20554
|
? newWindowIcon.title
|
|
20603
20555
|
: this.active
|
|
20604
20556
|
? "messaging-checked-small"
|
|
20605
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '
|
|
20557
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '0f27221f438165670d91d6bbe5f5792081f54384', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
20606
20558
|
}
|
|
20607
20559
|
get element() { return getElement(this); }
|
|
20608
20560
|
static get style() { return duetPopupMenuItemCss; }
|
|
@@ -20794,12 +20746,12 @@ class DuetPromoCard {
|
|
|
20794
20746
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
20795
20747
|
};
|
|
20796
20748
|
const TagName = this.url ? "a" : "div";
|
|
20797
|
-
return (hAsync(Host, { key: '
|
|
20749
|
+
return (hAsync(Host, { key: 'fa84d092d82ddcdc960e2a96aa57cac526eea851', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '0c47662bc6dcd366c26e439784e035c83a258980', class: {
|
|
20798
20750
|
"duet-promo-card": true,
|
|
20799
20751
|
"duet-theme-turva": this.theme === "turva",
|
|
20800
20752
|
"no-bg-color": !this.backgroundColor,
|
|
20801
20753
|
"duet-promo-card-link": !!this.url,
|
|
20802
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
20754
|
+
}, style: bannerStyles }, hAsync(TagName, { key: '0f40cbcc47ccae310637a16cdb2e31dd9c90c321', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: '6eef24b85c6f03b56c2db43c5f70c40d66d9cc92', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: '38d663bc41fa3e12a80e144af8bfef671f69283f', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: '46001bdf60e08f596ab199d460c1e7c3116d04d6', class: "pre-heading" }, hAsync("slot", { key: 'ce47e03eb2aa606b63396c1464ef106361fe7811', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: '2249746687c6f789c5fe644e64d18a032b662410', class: "heading" }, hAsync("duet-heading", { key: '34822e5f87f6d09fc9d58dd5addb7729d25576f6', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: '8b8016651d5aa2c36866c70f07691e1d40675aa3' }, hAsync("slot", { key: '6e5bc071a001f48a96d9947ebf5fae24cf639a8a', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: 'b30225ccf3df966424f12a993cf1f18e791da6f9', class: "description" }, hAsync("duet-paragraph", { key: '37938b881d508f0cf3985c89d2dbd3c0024b94e9', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: '464c1b42470811660d6b4bf865467615df87bb04' }, hAsync("slot", { key: '794e608cd5c9da4c407dc49aac2bd5da7fd0e4b5', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '2c299f7283ee493506112c05d8ae500340a5b903', class: "action" }, hAsync("slot", { key: '5e52c79bb4200c210ea9060900689de2cda050c6', name: "action" }))))))));
|
|
20803
20755
|
}
|
|
20804
20756
|
get element() { return getElement(this); }
|
|
20805
20757
|
static get style() { return duetPromoCardCss; }
|
|
@@ -21005,16 +20957,16 @@ class DuetRadio {
|
|
|
21005
20957
|
* Always the last one in the class.
|
|
21006
20958
|
*/
|
|
21007
20959
|
render() {
|
|
21008
|
-
return (hAsync(Host, { key: '
|
|
20960
|
+
return (hAsync(Host, { key: '62945761ed2b64c8601b12ccc35d2df017e9d141', onClick: this.onClick, class: {
|
|
21009
20961
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
21010
20962
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
21011
20963
|
"duet-m-0": this.margin === "none",
|
|
21012
|
-
} }, hAsync("div", { key: '
|
|
20964
|
+
} }, hAsync("div", { key: '583bce3fa51060b900dc19a1a44d7aa160cbeb33', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("slot", { key: 'ffed939cbdbff0016fdb78ff2156299070dce537', name: "input" }), hAsync("label", { key: '85d30dd3addd1c98aa14ad2d94eff9f10c71ff4f', inert: true, ref: element => (this.labelElement = element), class: {
|
|
21013
20965
|
"duet-label": true,
|
|
21014
20966
|
checked: this.checked,
|
|
21015
20967
|
focus: this.focus,
|
|
21016
20968
|
disabled: this.disabled || this.groupDisabled,
|
|
21017
|
-
} }, hAsync("div", { key: '
|
|
20969
|
+
} }, hAsync("div", { key: '890a1cc8c4ce2dc3a5df960e5277c81c9780b9d3', class: "duet-label-content" }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label)))));
|
|
21018
20970
|
}
|
|
21019
20971
|
get element() { return getElement(this); }
|
|
21020
20972
|
static get style() { return duetRadioCss; }
|
|
@@ -21203,7 +21155,7 @@ class DuetRadioGroup {
|
|
|
21203
21155
|
* Always the last one in the class.
|
|
21204
21156
|
*/
|
|
21205
21157
|
render() {
|
|
21206
|
-
return (hAsync(Host, { key: '
|
|
21158
|
+
return (hAsync(Host, { key: '7732ac1751932891f5e174a185092eb23f4a9904', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, hAsync("duet-fieldset", { key: 'a73c01a602da8cc48044740e6089899e6b4c0310', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: '8b5d5c7adac95993ff030b769997aaadc120252a', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'cece262a0396f0bfbb14b711753fc81b6bb47018', name: "tooltip" }), hAsync("div", { key: '9760d35e30aa35e57282b1dbe7e5200cde635879', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: '80ef03d93a8c8587327e0bc894104e7690929d2b' })))));
|
|
21207
21159
|
}
|
|
21208
21160
|
get element() { return getElement(this); }
|
|
21209
21161
|
static get watchers() { return {
|
|
@@ -21391,13 +21343,13 @@ class DuetRangeSlider {
|
|
|
21391
21343
|
const rangeStyles = {
|
|
21392
21344
|
background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
|
|
21393
21345
|
};
|
|
21394
|
-
return (hAsync(Host, { key: '
|
|
21346
|
+
return (hAsync(Host, { key: '591c961de650998ecf1680202b9d6ebb85e88d76', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, hAsync("div", { key: 'd7992dd90cba5c881171c75377573bc0f650923c', class: {
|
|
21395
21347
|
"duet-range-container": true,
|
|
21396
21348
|
"duet-label-hidden": this.labelHidden,
|
|
21397
21349
|
"duet-theme-turva": this.theme === "turva",
|
|
21398
21350
|
"duet-ie": isInternetExplorer(),
|
|
21399
21351
|
"duet-range-disabled": this.disabled,
|
|
21400
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
21352
|
+
} }, hAsync(DuetInternalLabel, { key: '69abfec74af9aae13ebc498374205c571667ace2', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), hAsync("output", { key: 'a165cce8cbd95b8e5f62f03473b7741df139a4f1', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), hAsync("input", { key: 'd88393860f5ba334044588500ef6f762bc32ea2e', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
|
|
21401
21353
|
}
|
|
21402
21354
|
get element() { return getElement(this); }
|
|
21403
21355
|
static get style() { return duetRangeSliderCss; }
|
|
@@ -21626,10 +21578,10 @@ class DuetRangeStepper {
|
|
|
21626
21578
|
* Always the last one in the class.
|
|
21627
21579
|
*/
|
|
21628
21580
|
render() {
|
|
21629
|
-
return (hAsync("div", { key: '
|
|
21581
|
+
return (hAsync("div", { key: '6ee831dd873413efb28eb9bc4e74d13f62471d5a', class: {
|
|
21630
21582
|
"duet-range-stepper": true,
|
|
21631
21583
|
"duet-theme-turva": this.theme === "turva",
|
|
21632
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
21584
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '9f4857e8c049cd3c732201d33681fe0d194307ad', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: 'f90f6c22d9d60a87a1e97ef34c7845d1fe1e2fce', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), hAsync("duet-action-button", { key: '1d6d7fd979563dd7fb004316e0ccff7c5b66114d', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
|
|
21633
21585
|
}
|
|
21634
21586
|
get element() { return getElement(this); }
|
|
21635
21587
|
static get watchers() { return {
|
|
@@ -21921,18 +21873,18 @@ class DuetScrollable {
|
|
|
21921
21873
|
* Always the last one in the class.
|
|
21922
21874
|
*/
|
|
21923
21875
|
render() {
|
|
21924
|
-
return (hAsync(Host, { key: '
|
|
21876
|
+
return (hAsync(Host, { key: '8deeab0e76481f8fcb840a5df51111831a386b62', class: {
|
|
21925
21877
|
"duet-theme-turva": this.theme === "turva",
|
|
21926
21878
|
"duet-theme-default": this.theme === "default",
|
|
21927
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
21879
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '2a8c813c6b86d04cbe8edf4e0ab9e1ba0f166164', class: {
|
|
21928
21880
|
collapse: true,
|
|
21929
21881
|
hide: !this.needsScrolling && !this.collapsed,
|
|
21930
|
-
} }, hAsync("duet-button", { key: '
|
|
21882
|
+
} }, hAsync("duet-button", { key: 'd3c242b1080a62c44a16681d0c4353f01f15a568', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '77c0ca38b000fc31168d7ace2e35ad5d3c07166a', name: "collapse-button-label" })))), hAsync("div", { key: '07729eb5d3ddbdf1cd5aac260b11f8bb53a5d21b', class: {
|
|
21931
21883
|
"duet-scrollable-items": true,
|
|
21932
21884
|
buttons: this.buttons,
|
|
21933
21885
|
center: this.center,
|
|
21934
21886
|
"duet-theme-turva": this.theme === "turva",
|
|
21935
|
-
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '
|
|
21887
|
+
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: 'caa70b4a9a0f199e1a6edc04f95adeaf113334dc', class: {
|
|
21936
21888
|
"duet-scrollable-list": true,
|
|
21937
21889
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
21938
21890
|
[`gap-${this.gap}`]: true,
|
|
@@ -21940,7 +21892,7 @@ class DuetScrollable {
|
|
|
21940
21892
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
21941
21893
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
21942
21894
|
"duet-scrollable-stretch": this.stretch,
|
|
21943
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
21895
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '9d04975ddceee3d87b59c790eec1557694711d63' })), this.buttons && this.renderButton("right"))));
|
|
21944
21896
|
}
|
|
21945
21897
|
get element() { return getElement(this); }
|
|
21946
21898
|
static get watchers() { return {
|
|
@@ -21997,13 +21949,13 @@ class DuetSectionLayout {
|
|
|
21997
21949
|
* Always the last one in the class.
|
|
21998
21950
|
*/
|
|
21999
21951
|
render() {
|
|
22000
|
-
return (hAsync(Host, { key: '
|
|
21952
|
+
return (hAsync(Host, { key: 'c8e34e306786624d178a3f485ca8929b8babd5ac', class: {
|
|
22001
21953
|
"duet-middle": this.middle,
|
|
22002
21954
|
"duet-ie": isInternetExplorer(),
|
|
22003
|
-
} }, hAsync("div", { key: '
|
|
21955
|
+
} }, hAsync("div", { key: 'b9b806e5e744b927b7e7576d26d535794b68c7bb', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '96c2905526f488e6b065f2f1f11c0ed3f51dd8f6', class: {
|
|
22004
21956
|
"duet-layout": true,
|
|
22005
21957
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
22006
|
-
} }, hAsync("section", { key: '
|
|
21958
|
+
} }, hAsync("section", { key: '7c36a644790b676090d0b44d1d5a5f3a9c204040', class: "duet-main" }, hAsync("slot", { key: 'c224d713922848b7ad67bab834b9f1890fb383be' }))))));
|
|
22007
21959
|
}
|
|
22008
21960
|
get element() { return getElement(this); }
|
|
22009
21961
|
static get style() { return duetSectionLayoutCss; }
|
|
@@ -22216,23 +22168,23 @@ class DuetSelect {
|
|
|
22216
22168
|
*/
|
|
22217
22169
|
render() {
|
|
22218
22170
|
const identifier = this.identifier || this.selectId;
|
|
22219
|
-
return (hAsync(Host, { key: '
|
|
22171
|
+
return (hAsync(Host, { key: '283277631a62fd9ea1c84fa4dffbce01b3a49e5d', onClick: this.onClick, class: {
|
|
22220
22172
|
"duet-m-0": this.margin === "none",
|
|
22221
22173
|
"duet-expand": this.expand,
|
|
22222
22174
|
[`duet-select-variation-${this.variation}`]: true,
|
|
22223
|
-
} }, hAsync("div", { key: '
|
|
22175
|
+
} }, hAsync("div", { key: 'f82989512971ee7884ac487ed9503949cc69dfe7', class: {
|
|
22224
22176
|
"duet-select-container": true,
|
|
22225
22177
|
"duet-label-hidden": this.labelHidden,
|
|
22226
22178
|
"duet-theme-turva": this.theme === "turva",
|
|
22227
22179
|
[`duet-select-variation-${this.variation}`]: true,
|
|
22228
22180
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
22229
22181
|
"has-error": !!this.error,
|
|
22230
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
22182
|
+
} }, hAsync(DuetInternalLabel, { key: '63ef489d7dcd474340ba917b8e3331a8f6676e6f', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '218e25a5f2a4781a0b40628da88058a11b1b5fa1', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '61cb23b36b78973d5a272a4f8ad7b4b127406474', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: 'e25fc04e4cd16976acb6f171ef867ff167d5224b', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'ec88d983bb1b173d575407cc7ae61116cd55331a', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: '7b6815997d0a0f941a9b426c71d93d2395c90d9e', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), hAsync("select", { key: 'c664e98d0db41a4d094aa964f578ba7ae65d824d', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (hAsync("option", { key: '2bbc9bac0f98e3edacc20ac8d98963130e89aaaa', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (hAsync("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
22231
22183
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
22232
|
-
}))), hAsync("div", { key: '
|
|
22184
|
+
}))), hAsync("div", { key: 'b210342dd9f28d98a8778d9107b3d3ea7bcc63e2', class: {
|
|
22233
22185
|
"duet-select": true,
|
|
22234
22186
|
[`duet-select-variation-${this.variation}`]: true,
|
|
22235
|
-
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: '
|
|
22187
|
+
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: 'b6db625ce751d6e80f22b99bfd80a8d5e93ab2d9', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '775e4ac8263608bc6368d06df93a470ba46eaba0', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (hAsync("duet-icon", { key: '2d9365b394198730d2998df692341c5b3045f94c', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), hAsync("span", { key: '2e6b56a3512c96435ab9cbe4f88b522e2edc5452', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), hAsync("span", { key: '9104be53690d013bf8bedcc0dbfc16005b40c4c9', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'de627a241acfc88df97388ef130f95ad5e0a404b' }, this.error)))));
|
|
22236
22188
|
}
|
|
22237
22189
|
get element() { return getElement(this); }
|
|
22238
22190
|
static get watchers() { return {
|
|
@@ -22312,9 +22264,9 @@ class DuetShapedImage {
|
|
|
22312
22264
|
const style = {
|
|
22313
22265
|
"--rotation": `${this.rotation}deg`,
|
|
22314
22266
|
};
|
|
22315
|
-
return (hAsync(Host, { key: '
|
|
22267
|
+
return (hAsync(Host, { key: '1a9fe4d020c7e5a53304108e04fb63b33fde55f1', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: 'b8dc791c50b5cd5832ffd0d7b0c6e78aa39f3bfa', class: {
|
|
22316
22268
|
"shaped-image": true,
|
|
22317
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
22269
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '29f23e735bc137ed1eba331cebd71698eaac9b4b', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: '3d934d8ace9b97ef3aa763dc5dac0d083179f4c2', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
22318
22270
|
}
|
|
22319
22271
|
static get style() { return duetShapedImageCss; }
|
|
22320
22272
|
static get cmpMeta() { return {
|
|
@@ -22467,12 +22419,12 @@ class DuetShowMore {
|
|
|
22467
22419
|
* Always the last one of the class.
|
|
22468
22420
|
*/
|
|
22469
22421
|
render() {
|
|
22470
|
-
return (hAsync(Host, { key: '
|
|
22422
|
+
return (hAsync(Host, { key: '5f44f94de42988b1d7c68b68a3d6197c1eff188b' }, hAsync("div", { key: 'b83d322134bd175ec38b862bc65c1df4afd0abd1', class: {
|
|
22471
22423
|
"duet-show-more": true,
|
|
22472
22424
|
"duet-theme-turva": this.theme === "turva",
|
|
22473
22425
|
"duet-m-0": this.margin === "none",
|
|
22474
22426
|
open: this.open,
|
|
22475
|
-
} }, hAsync("div", { key: '
|
|
22427
|
+
} }, hAsync("div", { key: 'ad2ce44b344bb6053ee2d3b41c3558bf711a9580', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: '4632cf0022cdb31be1bb1fe8c85465d2a2d1bfa6', class: { "slotted-content": true } }, hAsync("slot", { key: 'fd4811b554e46542e9fa99279c2d0007d4d62922' }))), hAsync("duet-button", { key: 'da368671fe85e4f9971142e6eac7d37b38d996fc', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.isSafariBrowser ? this.open : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, hAsync("span", { key: '693cfb819eb9062ab680587ca54123c6ddf3cfcd' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
22476
22428
|
}
|
|
22477
22429
|
get element() { return getElement(this); }
|
|
22478
22430
|
static get style() { return duetShowMoreCss; }
|
|
@@ -22985,16 +22937,16 @@ class DuetSlideout {
|
|
|
22985
22937
|
};
|
|
22986
22938
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
22987
22939
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
22988
|
-
return (hAsync(Host, { key: '
|
|
22940
|
+
return (hAsync(Host, { key: 'e184bc1fd0c561ba33781b3274795c815f536837' }, hAsync("div", { key: 'ea0eb408d537f1b211b3da09a15f4623535a4472', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: '5f1c9370945b4764a0cb8169bcf1339b99948e83', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '40cc2b17b37cb48901187fe0c5b9b7384c0adf4a', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
22989
22941
|
dialog: true,
|
|
22990
22942
|
hidden: !this.open,
|
|
22991
22943
|
modal: this.modal,
|
|
22992
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
22944
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'ebcf07bcf50589149460a7463014d36625e59413', moveFocusTo: this.closeButton }), hAsync("div", { key: 'bd87de846cba7bc4dce82271fb5ba2f5b17bd701', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '7ed8039ecfdfb065e55e992dfc59b98c3b86674d', class: "top" }, hAsync("button", { key: 'fc0df2f7879bf950266372df21f8bef2fb1ea982', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
22993
22945
|
"slideout-close": true,
|
|
22994
22946
|
active: this.open,
|
|
22995
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
22947
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: 'ecd5e6779bb4e7f47bbd3a293658a738eab230a4', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '0d274dcd754e031d8356d7f8a39e5f7735abb8ea', class: "sticky-header" }, hAsync("slot", { key: '55c49510429cd45c65ffd8ddfa8e1008ef8ebc6b', name: "sticky-header" }))), hAsync("div", { key: '0c9d48e08d9ad47c841ca23479fabce9656a2474', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
22996
22948
|
items: true,
|
|
22997
|
-
} }, hAsync("slot", { key: '
|
|
22949
|
+
} }, hAsync("slot", { key: '15db59c5b64a0ccc2c0bf80acc04fee171899383' })), hAsync(FocusGuard, { key: '5ecf65d88a7b4166ce62f9566948028918116d94', moveFocusTo: this.closeButton })))));
|
|
22998
22950
|
}
|
|
22999
22951
|
get element() { return getElement(this); }
|
|
23000
22952
|
static get watchers() { return {
|
|
@@ -23063,7 +23015,7 @@ class DuetSlideoutLang {
|
|
|
23063
23015
|
*/
|
|
23064
23016
|
render() {
|
|
23065
23017
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
23066
|
-
return (hAsync(Host, { key: '
|
|
23018
|
+
return (hAsync(Host, { key: '10fe4d8b68c48b41b89a50e07a1723c78f8169da' }, hAsync("div", { key: 'a643398da2ced5cf308ce5dff2a235c07e137597', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '236596965040b598342c7b81a2ba49d0f44f59fb', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: 'e038a92d79937999eea79386e497985f8075e427' }))));
|
|
23067
23019
|
}
|
|
23068
23020
|
get element() { return getElement(this); }
|
|
23069
23021
|
static get style() { return duetSlideoutLangCss; }
|
|
@@ -23153,12 +23105,12 @@ class DuetSlideoutLink {
|
|
|
23153
23105
|
* Always the last one in the class.
|
|
23154
23106
|
*/
|
|
23155
23107
|
render() {
|
|
23156
|
-
return (hAsync(Host, { key: '
|
|
23108
|
+
return (hAsync(Host, { key: 'b6aa3783830f95dbf259641f8dac1e2e18212379' }, hAsync("a", { key: '116daf29fe47c7b65ae4228083b6d25a0bb1855f', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
23157
23109
|
"duet-slideout-link": true,
|
|
23158
23110
|
"duet-theme-turva": this.theme === "turva",
|
|
23159
23111
|
active: this.active,
|
|
23160
23112
|
[this.size]: true,
|
|
23161
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
23113
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: '16169c48ac5a5d68ba2f80531eab79bea1fc0af5', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: '22ca088b876d6b099f1c9e5251855f526d4fb04c', class: "label" }, hAsync("span", { key: '58841bb43f88ca74882c7e1a15961dbd5856308b' }, hAsync("span", { key: 'f8f0c8f675a3e5db4f4290f3167b35b1cf44786b', class: "label-container" }, hAsync("span", { key: 'be413c881629968dd9e727375d85a454adc7b6bf', class: "label-content" }, hAsync("slot", { key: 'f8188637ed119c5f2859a5dc3257e511776de7ab' })), this.external && (hAsync("duet-icon", { key: '5a64a368a689f196bb03e324eaba5f08f026c0eb', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), hAsync("slot", { key: '06c154621e1c389910d8d8a2190f1b6991f18c21', name: "description" })), this.caret && (hAsync("duet-icon", { key: '1a99aa60ddad7a2e3bf01352a6d4d07424c40dc6', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
23162
23114
|
}
|
|
23163
23115
|
get element() { return getElement(this); }
|
|
23164
23116
|
static get style() { return duetSlideoutLinkCss; }
|
|
@@ -23340,23 +23292,23 @@ class DuetSlideoutPanel {
|
|
|
23340
23292
|
};
|
|
23341
23293
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
23342
23294
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
23343
|
-
return (hAsync(Host, { key: '
|
|
23295
|
+
return (hAsync(Host, { key: 'b1eff9554550e08a28e50c08e2ed78396df4b9f2' }, hAsync("div", { key: 'fa7d13ed3ff9ada19a55ae710d0b7030313c32b8', class: {
|
|
23344
23296
|
"duet-slideout-panel": true,
|
|
23345
23297
|
"duet-theme-turva": this.theme === "turva",
|
|
23346
23298
|
active: this.open,
|
|
23347
|
-
} }, hAsync("button", { key: '
|
|
23299
|
+
} }, hAsync("button", { key: 'b3114e6edd9e2c41dcb1bb082ee425f48d3fb2cc', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
23348
23300
|
link: true,
|
|
23349
23301
|
active: this.active,
|
|
23350
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
23302
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: 'c71665620ab35c467b34ff6dc055fd3812a07ce0', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: '3ba10ac138d7746315fa2ef403843f25584e00b8', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: '485338a103dbe9077f85316ffaed246df9ce8ed1', class: "duet-slideout-badge" }))), hAsync("span", { key: 'faa3d5cd54254e27be25706372724b9563aa1dd0', class: "label" }, hAsync("span", { key: '94ec51cccff1394522d0ee6782b767a1b93d3813', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '912b1e0fc82ba79716a2f10e9f95a274f0f8ffda', name: "label" })), hAsync("duet-icon", { key: '705d7332ca7fcbfb8bf1cd06080ac6d6456e09f0', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '3112d4f1400c33fd8d6ffcc18ee5d185a521c85f', ref: element => (this.dialog = element), class: {
|
|
23351
23303
|
dialog: true,
|
|
23352
23304
|
hidden: !this.open,
|
|
23353
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
23305
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'eeea7f8df7cfa4e79a51005949658056810c0aa6', moveFocusTo: this.closeButton }), hAsync("div", { key: '82e40e01222403d85054f9c8cd3322a613d0e574', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '70a68a648002a8abf3fbefd05b271cb52fd7609c', class: "top" }, hAsync("button", { key: 'b36d5d1b969cdf3bed82a32d24472047c3265aac', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
23354
23306
|
back: true,
|
|
23355
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
23307
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: 'ca90d6b0799dafb806c195e60affbcf125a55d09', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: 'd53ddc8946456746a07c35f3c8a4e6ca315b72a6' }, this.label.innerHTML), hAsync("button", { key: '4b6d93ad06708d75475a8e64c4a033a70734b80e', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: 'cdb28ed0f9ee96408aa30c112b6f4a85d8d82828', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '82a2deb6b280d5b5bf231c46c839671c9a19b5b7', class: "sticky-header" }, hAsync("slot", { key: '19415fa9d93a25a8732f9fd8b9616462821b08c2', name: "sticky-header" }))), hAsync("div", { key: '0d4b84585c658e42cd37412fa41733aa32245b70', tabindex: "-1", role: "menu",
|
|
23356
23308
|
//TODO: slideout menu fades out, needs to be instant
|
|
23357
23309
|
id: "menu", "aria-labelledby": "button", class: {
|
|
23358
23310
|
items: true,
|
|
23359
|
-
} }, hAsync("slot", { key: '
|
|
23311
|
+
} }, hAsync("slot", { key: 'cccda46a3ec57b992a0f6cd0a87566fc5f37d7c8' })), hAsync(FocusGuard, { key: '919756618cbd28d584795e65a7587b83fb609fea', moveFocusTo: this.closeButton })))));
|
|
23360
23312
|
}
|
|
23361
23313
|
get element() { return getElement(this); }
|
|
23362
23314
|
static get watchers() { return {
|
|
@@ -23437,16 +23389,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
23437
23389
|
* Always the last one in the class.
|
|
23438
23390
|
*/
|
|
23439
23391
|
render() {
|
|
23440
|
-
return (hAsync(Host, { key: '
|
|
23392
|
+
return (hAsync(Host, { key: 'aff0d32b56097b3ec8a1a0df924075f814c25e2c' }, hAsync("div", { key: '124e61e243dbbe3175f8646ecacf66c2a8e95db7', class: {
|
|
23441
23393
|
"duet-slideout-panel-dropdown": true,
|
|
23442
23394
|
"duet-theme-turva": this.theme === "turva",
|
|
23443
23395
|
active: this.open,
|
|
23444
|
-
} }, hAsync("button", { key: '
|
|
23396
|
+
} }, hAsync("button", { key: '8e5a97fc203528fd8fc4429216746a8153798a56', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
23445
23397
|
active: this.active,
|
|
23446
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
23398
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: 'b31395a03ef665853daf4875cb66c511477a16a1', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: 'f6dbe01601e0abcdb896aeef5a419a29e6ce99ad', class: "label" }, hAsync("slot", { key: '9832f86b8ec494f36329c61145422732ec84782b', name: "label" }), hAsync("duet-icon", { key: '80e32f43d207557ac035892604aecf79ccdde2d0', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '698fcb5859a83018ac412723cfc2022282d65053', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
23447
23399
|
items: true,
|
|
23448
23400
|
hidden: !this.open,
|
|
23449
|
-
} }, hAsync("slot", { key: '
|
|
23401
|
+
} }, hAsync("slot", { key: '568f83f35eab34793ee2ba81492c94d41045ac25' })))));
|
|
23450
23402
|
}
|
|
23451
23403
|
get element() { return getElement(this); }
|
|
23452
23404
|
static get style() { return duetSlideoutPanelDropdownCss; }
|
|
@@ -23490,7 +23442,7 @@ class DuetSpacer {
|
|
|
23490
23442
|
* Always the last one in the class.
|
|
23491
23443
|
*/
|
|
23492
23444
|
render() {
|
|
23493
|
-
return (hAsync(Host, { key: '
|
|
23445
|
+
return (hAsync(Host, { key: 'faa7f3b9542d2e82f4905c66c9e9b0300989a714', class: {
|
|
23494
23446
|
"duet-spacer": true,
|
|
23495
23447
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
23496
23448
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -23553,11 +23505,11 @@ class DuetSpinner {
|
|
|
23553
23505
|
*/
|
|
23554
23506
|
render() {
|
|
23555
23507
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
23556
|
-
return (hAsync(Host, { key: '
|
|
23508
|
+
return (hAsync(Host, { key: '1af651516fc268c33c9e7c5bebea49f63d40588d', class: {
|
|
23557
23509
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
23558
23510
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
23559
23511
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
23560
|
-
} }, hAsync("div", { key: '
|
|
23512
|
+
} }, hAsync("div", { key: '5a63143448f07a77b399244a2b0d31e28ca5700b', class: {
|
|
23561
23513
|
"duet-spinner": true,
|
|
23562
23514
|
[this.size]: true,
|
|
23563
23515
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -23658,10 +23610,10 @@ class DuetStatusIcon {
|
|
|
23658
23610
|
}
|
|
23659
23611
|
}
|
|
23660
23612
|
render() {
|
|
23661
|
-
return (hAsync(Host, { key: '
|
|
23613
|
+
return (hAsync(Host, { key: '1beaa5336e7909dac18c97292974d539842c6ae3', class: {
|
|
23662
23614
|
[`duet-status-icon-${this.variation}`]: true,
|
|
23663
23615
|
"duet-strong-bg": this.strong,
|
|
23664
|
-
} }, hAsync("duet-icon", { key: '
|
|
23616
|
+
} }, hAsync("duet-icon", { key: '3d5e4d6b3f455aab192c250fabada380c72428e8', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
23665
23617
|
}
|
|
23666
23618
|
static get cmpMeta() { return {
|
|
23667
23619
|
"$flags$": 265,
|
|
@@ -23782,13 +23734,13 @@ class DuetStep {
|
|
|
23782
23734
|
* Always the last one in the class.
|
|
23783
23735
|
*/
|
|
23784
23736
|
render() {
|
|
23785
|
-
return (hAsync("div", { key: '
|
|
23737
|
+
return (hAsync("div", { key: 'b645cd24ff32780a32cf12e263db6255234d0d66', class: {
|
|
23786
23738
|
"duet-step": true,
|
|
23787
23739
|
[`is-${this.state}`]: true,
|
|
23788
23740
|
"rounded-top": this.roundedTop,
|
|
23789
23741
|
"rounded-bottom": this.roundedBottom,
|
|
23790
23742
|
"duet-theme-turva": this.theme === "turva",
|
|
23791
|
-
} }, hAsync("div", { key: '
|
|
23743
|
+
} }, hAsync("div", { key: 'a8f09dc4b702c84038caaef4b88ea59d8c39ea1a', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, hAsync("div", { key: 'f7743521663443652a886d735720287ee82e2e98', "aria-hidden": "true" }, hAsync("div", { key: 'a2c6f883c0ec28a57792da937cfc3ade5eced953', class: "duet-step-counter" }, this.renderStepCounter())), hAsync("duet-spacer", { key: '55edc4560ff884c78a68807c67eefa11acea189c', direction: "horizontal", size: "large", breakpoint: "small" }), hAsync("duet-spacer", { key: '5642db1197b8b621a782b1cc2c172dd8ec50393e', direction: "horizontal", size: "medium", breakpoint: "x-small" }), hAsync("div", { key: 'ac6b4daf90c0e401bbd988656fca2d0f59f5615d' }, hAsync("duet-heading", { key: 'a3402072ffa7548687f89b28d7736a05cdb53512', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), hAsync("duet-spacer", { key: 'cdeb860b694133f81dca6efa091b75a920b9fc9e', direction: "horizontal", size: "large" }), hAsync("div", { key: '10964100c1ad1c30f9a26703af94d49580029c03', class: "duet-step-heading-slot" }, hAsync("slot", { key: '44309b7af56393b6a2115ca08dcc9dab8b56bc64', name: "heading-content" }))), hAsync("div", { key: 'acbb331500c5e98d8d540a8081944f9fb4cba2ca', class: "duet-step-content-wrapper" }, hAsync("div", { key: '87c57da1a528c7ac2967636c36fb03b4b84b7ef8', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, hAsync("slot", { key: '1a67f7e5920baffbbca04740b3fcbba0916d0cd8' })))));
|
|
23792
23744
|
}
|
|
23793
23745
|
get element() { return getElement(this); }
|
|
23794
23746
|
static get style() { return duetStepCss; }
|
|
@@ -23928,7 +23880,7 @@ class DuetStepper {
|
|
|
23928
23880
|
* Always the last one in the class.
|
|
23929
23881
|
*/
|
|
23930
23882
|
render() {
|
|
23931
|
-
return (hAsync(Host, { key: '
|
|
23883
|
+
return (hAsync(Host, { key: '5bc2e340fd006b21f4bd2643a8eaa6952b4021e7', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'f1d737dd957cb2514c753a9ce5b2ae78691026da', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: '1ccfbe6b428de06416c6d8968adb2cced546bc55', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: 'a6ec4e05353c544071b1fd103ee4668f9b2ac3c2' }))));
|
|
23932
23884
|
}
|
|
23933
23885
|
get element() { return getElement(this); }
|
|
23934
23886
|
static get watchers() { return {
|
|
@@ -24081,19 +24033,19 @@ class DuetSubmenuBar {
|
|
|
24081
24033
|
* Always the last one in the class.
|
|
24082
24034
|
*/
|
|
24083
24035
|
render() {
|
|
24084
|
-
return (hAsync(Host, { key: '
|
|
24036
|
+
return (hAsync(Host, { key: '8e39b997f834f05139b580cdffc35610dbe848c4' }, hAsync("nav", { key: '4d1fbf83faacabf2ed7d9dfeb6641191b0aa7490', class: {
|
|
24085
24037
|
"duet-submenu-bar": true,
|
|
24086
24038
|
"duet-theme-turva": this.theme === "turva",
|
|
24087
24039
|
hidden: this.hidden,
|
|
24088
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
24040
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '6de29fe6221b65209abf03703b51f0595d176698', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
24089
24041
|
active: this.open,
|
|
24090
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
24042
|
+
}, onClick: this.onClick }, hAsync("span", { key: '5f8920db3ae8bbe06ce3abab22c9768658619d6a', class: "label" }, hAsync("slot", { key: 'a1759538b132a371033d7139935b005cb2ab2fee', name: "label" }), hAsync("duet-icon", { key: 'baab7b22c9204fe4718cc9dacfd6d460ebf69fba', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: 'a962f3f0508862d70390c4b23350b6dd4960e0bd', class: {
|
|
24091
24043
|
"menu-container": true,
|
|
24092
24044
|
hidden: !this.open,
|
|
24093
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
24045
|
+
}, role: "presentation" }, hAsync("div", { key: '5014dbad8270597327a1f28523abac7e79a30829', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
24094
24046
|
items: true,
|
|
24095
24047
|
hidden: !this.open,
|
|
24096
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
24048
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '1ae7dfcd0d08f6fdedd6040be52938c45e7fc728', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '13124d6da772dc1767b69cedbdc3c8784c73ce9f' }), hAsync("div", { key: '13402b9a16d11b20d3b72c08affbe4dfcc6dc8e7', class: "list-padding" }))), hAsync("duet-overlay", { key: '58fc79a51f7f8e4f5467be491b687d9b5076f4ea', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
24097
24049
|
}
|
|
24098
24050
|
get element() { return getElement(this); }
|
|
24099
24051
|
static get watchers() { return {
|
|
@@ -24225,18 +24177,18 @@ class DuetSubmenuBarDropdown {
|
|
|
24225
24177
|
* Always the last one in the class.
|
|
24226
24178
|
*/
|
|
24227
24179
|
render() {
|
|
24228
|
-
return (hAsync(Host, { key: '
|
|
24180
|
+
return (hAsync(Host, { key: 'c1eff5efe562f204e59e5c884f37ed1cec01471a', role: "listitem" }, hAsync("div", { key: 'b7758a38e4e65fb7e8ef35f26186145d2e23da9a', class: {
|
|
24229
24181
|
"duet-submenu-bar-dropdown": true,
|
|
24230
24182
|
"duet-theme-turva": this.theme === "turva",
|
|
24231
24183
|
open: this.open,
|
|
24232
24184
|
active: this.active,
|
|
24233
|
-
} }, hAsync("button", { key: '
|
|
24185
|
+
} }, hAsync("button", { key: 'ed2ed1c634e055ae75f448ed93bb52f62912f5b2', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
24234
24186
|
open: this.open,
|
|
24235
24187
|
active: this.active,
|
|
24236
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
24188
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '54a13dba0aff8125eb1c7801af134f08bb354f6f', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'ec5edfe850cce5ff78f39060047d0bd7eb1c7ebc', class: "label" }, hAsync("span", { key: 'e2fd01bcf9d1c561f9f4f1379389d4919dc736e4', class: "label-text" }, hAsync("slot", { key: 'b35ae78be4f7e2aa46589ae776f351b45d651718', name: "label" })), hAsync("duet-icon", { key: '7e7f3b40838d94eec4b5a3f3232c9e31ec19cdff', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '3b91a51eb5c0f8584f8f722269bfdace05b2f14c', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
24237
24189
|
items: true,
|
|
24238
24190
|
hidden: !this.open,
|
|
24239
|
-
} }, hAsync("slot", { key: '
|
|
24191
|
+
} }, hAsync("slot", { key: '1e10e45f34dcdfa86ce94b76b3acc83ffb324850' })))));
|
|
24240
24192
|
}
|
|
24241
24193
|
get element() { return getElement(this); }
|
|
24242
24194
|
static get style() { return duetSubmenuBarDropdownCss; }
|
|
@@ -24305,12 +24257,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
24305
24257
|
* Always the last one in the class.
|
|
24306
24258
|
*/
|
|
24307
24259
|
render() {
|
|
24308
|
-
return (hAsync(Host, { key: '
|
|
24260
|
+
return (hAsync(Host, { key: '4328fbc9f612b816f4cb500a58822eb2fe264421' }, hAsync("a", { key: '8929f2a24fe8cac669207d94d260bf3e95cbbb8e', class: {
|
|
24309
24261
|
"duet-submenu-bar-dropdown-link": true,
|
|
24310
24262
|
"duet-theme-turva": this.theme === "turva",
|
|
24311
24263
|
highlight: this.highlight,
|
|
24312
24264
|
active: this.active,
|
|
24313
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
24265
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '6fb122ba8845e30245c40b9d2d47ae03db522e5e', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: 'c3ff1eb9c4a6479c51991891a6c7b044df6f9842', class: "label-container" }, hAsync("span", { key: '0834a44ceab1892d9435b328906508bc7e97a6b1', class: "label" }, hAsync("slot", { key: '0cc9d048cf743922bf3b05772c4fa0b7198e77db' })), this.caret && hAsync("duet-icon", { key: '1c857cb89d907648f78c11527092293b5bf28336', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: '7fd4ab9674ec893c350b78f2f2311ab10eedbada', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
24314
24266
|
}
|
|
24315
24267
|
get element() { return getElement(this); }
|
|
24316
24268
|
static get style() { return duetSubmenuBarDropdownLinkCss; }
|
|
@@ -24406,7 +24358,7 @@ class DuetSubmenuBarItem {
|
|
|
24406
24358
|
render() {
|
|
24407
24359
|
const TagName = this.url ? "a" : "button";
|
|
24408
24360
|
const role = this.url ? "link" : "button";
|
|
24409
|
-
return (hAsync(Host, { key: '
|
|
24361
|
+
return (hAsync(Host, { key: 'a7622d2367e9d4c523292e437c60bfdeca5a124e', role: "listitem" }, hAsync(TagName, { key: 'dd4eae5b3b8d6b95ad4b6c5f059baba086ec9ba8', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '5188e85ec57bb63ab26b96a91ed5b8f57fc3269d', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '0403b8ab97f445dcab0dd1c75ecac5fb7c924de2', class: "label" }, hAsync("span", { key: 'e12e752f512152d29dfa339253535f1947549ccb', class: "label-text" }, hAsync("slot", { key: '383d255c5e8d4568891d38c3209992d8eab9fef6' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'a8744f8972e3e70dda05d797e8b6268050cf1771', class: {
|
|
24410
24362
|
"trailing-icon": !!this.trailingIcon,
|
|
24411
24363
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
24412
24364
|
"external-icon": !!this.external,
|
|
@@ -24478,7 +24430,7 @@ class DuetSubmenuBarLink {
|
|
|
24478
24430
|
* Always the last one in the class.
|
|
24479
24431
|
*/
|
|
24480
24432
|
render() {
|
|
24481
|
-
return (hAsync(Host, { key: '
|
|
24433
|
+
return (hAsync(Host, { key: '257bf0f76bb725574e58a0ed2c04f711fffd4378', role: "listitem" }, hAsync("a", { key: 'f694a627b754f784233117a1ee5f227173a9de7a', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (hAsync("duet-icon", { key: '8b67da906880e8d6d0b3e07c6a3ba65fde27cf6c', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: 'b47719db5e779c9ecf8466bb1f8d34b298c0c04a', class: "label" }, hAsync("slot", { key: '4967a190715f4c69140308c81e1f08a5627af881' })))));
|
|
24482
24434
|
}
|
|
24483
24435
|
get element() { return getElement(this); }
|
|
24484
24436
|
static get style() { return duetSubmenuBarLinkCss; }
|
|
@@ -24601,7 +24553,7 @@ class DuetTab {
|
|
|
24601
24553
|
* Always the last one in the class.
|
|
24602
24554
|
*/
|
|
24603
24555
|
render() {
|
|
24604
|
-
return (hAsync("div", { key: '
|
|
24556
|
+
return (hAsync("div", { key: '4fca5a22606b811ed12125594e12805793e50715', ref: element => {
|
|
24605
24557
|
if (!this.contentId) {
|
|
24606
24558
|
this.tabpanelElement = element;
|
|
24607
24559
|
}
|
|
@@ -24610,7 +24562,7 @@ class DuetTab {
|
|
|
24610
24562
|
"duet-tab": true,
|
|
24611
24563
|
selected: this.selected,
|
|
24612
24564
|
"has-content-id": !!this.contentId,
|
|
24613
|
-
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '
|
|
24565
|
+
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: 'ebec5a2316bb186f1d14d28a781a3e72634cceb2' })));
|
|
24614
24566
|
}
|
|
24615
24567
|
get element() { return getElement(this); }
|
|
24616
24568
|
static get watchers() { return {
|
|
@@ -24916,13 +24868,13 @@ class DuetTabGroup {
|
|
|
24916
24868
|
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
24917
24869
|
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
24918
24870
|
}, onClick: () => this.onTabSelect(index), onKeyDown: ev => this.handleKeyDown(ev) }, this.variation === "checked" ? (hAsync("div", { class: { "checked-tab-content": true, "stackable-checked-tab-content": this.tabs.length <= 3 } }, hAsync("div", { class: { "checked-tab-description": true, "stackable-description": this.tabs.length <= 3 } }, hAsync("p", null, element.label), hAsync("p", { class: { "tab-caption": true, selected: element.selected } }, element.caption)), hAsync("div", { class: { "stackable-checkmark": this.tabs.length <= 3 } }, hAsync("duet-checkmark", { theme: this.theme, checked: element.selected, type: "radio", "presentation-only": true, center: true })))) : (element.label))));
|
|
24919
|
-
return (hAsync("div", { key: '
|
|
24871
|
+
return (hAsync("div", { key: '62061f04e6e50158936d0f698ec4d24d1f56d172', class: {
|
|
24920
24872
|
"duet-tab-group": true,
|
|
24921
24873
|
"duet-theme-turva": this.theme === "turva",
|
|
24922
24874
|
[variationClass]: true,
|
|
24923
24875
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
24924
24876
|
"duet-tab-group-scrolls": true,
|
|
24925
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
24877
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'f57684e99c6307eaee22a7188610e7a6a02f12bf', role: "tablist", class: {
|
|
24926
24878
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
24927
24879
|
"duet-tab-group-tabs": true,
|
|
24928
24880
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
@@ -24933,11 +24885,11 @@ class DuetTabGroup {
|
|
|
24933
24885
|
} }, this.variation === "checked" ? (buttons) : (hAsync("div", { class: {
|
|
24934
24886
|
"duet-tab-group-scrollable-wrapper": true,
|
|
24935
24887
|
"duet-tab-group-fill-space-wrapper": this.fillSpace && this.variation === "default",
|
|
24936
|
-
} }, this.fillSpace && !this.stretch && this.variation === "default" && (hAsync("div", { class: "duet-scrollable-stretch-overlay" }, hAsync("div", { class: "background" }), hAsync("div", { class: "border" }))), hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), hAsync("div", { key: '
|
|
24888
|
+
} }, this.fillSpace && !this.stretch && this.variation === "default" && (hAsync("div", { class: "duet-scrollable-stretch-overlay" }, hAsync("div", { class: "background" }), hAsync("div", { class: "border" }))), hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), hAsync("div", { key: '1b0cd32d892b4f065e65711ac6c6ae84a6ce374a', class: {
|
|
24937
24889
|
"duet-tab-group-content": true,
|
|
24938
24890
|
"duet-m-0": this.margin === "none",
|
|
24939
24891
|
"checked-group-content": this.variation === "checked",
|
|
24940
|
-
} }, hAsync("slot", { key: '
|
|
24892
|
+
} }, hAsync("slot", { key: '47c949d162c8668b1cb8559a4a5e15a0aa751fec' }))));
|
|
24941
24893
|
}
|
|
24942
24894
|
get element() { return getElement(this); }
|
|
24943
24895
|
static get style() { return duetTabGroupCss; }
|
|
@@ -25570,7 +25522,7 @@ class DuetTable {
|
|
|
25570
25522
|
}
|
|
25571
25523
|
}
|
|
25572
25524
|
render() {
|
|
25573
|
-
return (hAsync(Host, { key: '
|
|
25525
|
+
return (hAsync(Host, { key: '58fe5a85c863cd1bb8f6f1fea0b68a8c022b5e5e', class: {
|
|
25574
25526
|
[`duet-table-${this.variation}`]: true,
|
|
25575
25527
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
25576
25528
|
// sticky only valid when in regular table layout
|
|
@@ -25579,7 +25531,7 @@ class DuetTable {
|
|
|
25579
25531
|
"duet-m-0": this.margin === "none",
|
|
25580
25532
|
"duet-theme-turva": this.theme === "turva",
|
|
25581
25533
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
25582
|
-
} }, hAsync("slot", { key: '
|
|
25534
|
+
} }, hAsync("slot", { key: 'be5ee871ecbc7455bd5adf7e38ad161c77a06478' })));
|
|
25583
25535
|
}
|
|
25584
25536
|
get element() { return getElement(this); }
|
|
25585
25537
|
static get watchers() { return {
|
|
@@ -25827,17 +25779,17 @@ class DuetTextarea {
|
|
|
25827
25779
|
*/
|
|
25828
25780
|
render() {
|
|
25829
25781
|
const identifier = this.identifier || this.textareaId;
|
|
25830
|
-
return (hAsync(Host, { key: '
|
|
25782
|
+
return (hAsync(Host, { key: '808b5e06b6de1237388fee6e3645f50bccc98058', class: {
|
|
25831
25783
|
"duet-m-0": this.margin === "none",
|
|
25832
25784
|
"duet-has-counter": this.counter && !this.error,
|
|
25833
25785
|
"duet-expand": this.expand,
|
|
25834
|
-
} }, hAsync("div", { key: '
|
|
25786
|
+
} }, hAsync("div", { key: 'e20de7ad4656bcfca92e0902b862e180c88c6508', class: {
|
|
25835
25787
|
"duet-textarea-container": true,
|
|
25836
25788
|
"duet-theme-turva": this.theme === "turva",
|
|
25837
25789
|
"duet-label-hidden": this.labelHidden,
|
|
25838
25790
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
25839
25791
|
"has-error": !!this.error,
|
|
25840
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
25792
|
+
} }, hAsync(DuetInternalLabel, { key: 'a3df8f3287f9e6094d769e5f152fbfcf5b968fd4', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: 'a55a061a8ed4aa7e104d20b5475d00360032cc2e', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: '617baf980f6353a1850b94021acd5a7dbc0ff47f', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '2b43f4cb82578bdc9f813c82baace918d7daabc7', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { key: '1094ae77db74f35e5e5e7817149ae8a2a46ed38b', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: 'dd9f2923f4e8e049387b491c027fb1f6d38a98bf', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { key: '4cdb3c3e6259fdac5f23c97adebe3e5e9122fa50', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), hAsync("duet-grid", { key: '06b48f312f5ab40b9c0073ba6e088238d6d4f4b7', alignment: "stretch" }, hAsync("duet-grid-item", { key: '8701a54e385ba7436f84f04a5d44a741a31b49b2', margin: "none", fill: true }, hAsync("div", { key: 'b530f04b3f47a438d585b86f364680e0b097583e', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '33534defa65d5ad971778f72b99ea1d9f5f7db33' }, this.error))), hAsync("duet-grid-item", { key: '7f0a91e10ef7e57c3f3ed9f989f40e53dfbcc0c7', margin: "none", class: "duet-character-count-caption" }, this.counter && (hAsync(CharacterCount, { key: 'e220af92e61beecb5723063e2306358ca9b7bff5', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (hAsync("duet-visually-hidden", { key: '7703c93adc6ad2deb440a6b97839afe75261d9c0', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
25841
25793
|
this.hiddenCounterLabel = el;
|
|
25842
25794
|
} })))));
|
|
25843
25795
|
}
|
|
@@ -25992,12 +25944,12 @@ class DuetToggle {
|
|
|
25992
25944
|
*/
|
|
25993
25945
|
render() {
|
|
25994
25946
|
const identifier = this.identifier || this.toggleId;
|
|
25995
|
-
return (hAsync(Host, { key: '
|
|
25947
|
+
return (hAsync(Host, { key: '5fa81a9e440baa2af29877aa320a029dadc12060', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '91c36a9492ee0c0616dafe3ff9fbec3891cff4e6', class: {
|
|
25996
25948
|
"duet-toggle": true,
|
|
25997
25949
|
"duet-theme-turva": this.theme === "turva",
|
|
25998
25950
|
"duet-side-label": this.labelPosition !== "top",
|
|
25999
25951
|
"duet-reverse-label": this.labelPosition === "right",
|
|
26000
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
25952
|
+
} }, hAsync(DuetInternalLabel, { key: 'c50a5c07f1b5b44d41be6898385007b1fe2784bc', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), hAsync("label", { key: '51120f363a5a8d092d9ae67edcd2643ae21447d0', class: "duet-switch" }, hAsync("input", { key: '1dce632b3a1ad207d551c3e638c857507951f09b', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), hAsync("div", { key: 'c3de51cb227254c1ce08e5b5c6f5a1776563a7e2', class: "duet-slider" })))));
|
|
26001
25953
|
}
|
|
26002
25954
|
get element() { return getElement(this); }
|
|
26003
25955
|
static get watchers() { return {
|
|
@@ -26072,11 +26024,11 @@ class DuetToolbar {
|
|
|
26072
26024
|
: this.variation === "secondary"
|
|
26073
26025
|
? "secondary"
|
|
26074
26026
|
: "default";
|
|
26075
|
-
return (hAsync(Host, { key: '
|
|
26027
|
+
return (hAsync(Host, { key: '5f9b0d866d1f2d3f06d199e43c63b5153979c31c' }, hAsync("nav", { key: '4f30db4647325f6e25bb2cfbcff5046016fec89a', class: {
|
|
26076
26028
|
"duet-toolbar": true,
|
|
26077
26029
|
"duet-theme-turva": this.theme === "turva",
|
|
26078
26030
|
[variation]: true,
|
|
26079
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
26031
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '95ba23c74d448efa8b0bd114851c782eeb1e3e7a', class: "container" }, hAsync("div", { key: '0048c998a1ae8c7a4af608b085ac84892c5ff20c', class: "list", role: "list" }, hAsync("slot", { key: '657a2df8844e9c7eb46ba68c89defd354a789fed', name: "left" })), hAsync("div", { key: '063c94352ed36fb37e3936c4c06aff72e6277e1d', class: "list", role: "list" }, hAsync("slot", { key: '8c2636d3970e21f01bfbd84e24c7889d225db161', name: "right" }))))));
|
|
26080
26032
|
}
|
|
26081
26033
|
get element() { return getElement(this); }
|
|
26082
26034
|
static get style() { return duetToolbarCss; }
|
|
@@ -26157,18 +26109,18 @@ class DuetToolbarDropdown {
|
|
|
26157
26109
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
26158
26110
|
}
|
|
26159
26111
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
26160
|
-
return (hAsync(Host, { key: '
|
|
26112
|
+
return (hAsync(Host, { key: '8b578b5be4228d5ee4b9aa11667c638277c8215c', role: "listitem" }, hAsync("div", { key: 'd02a4785e453a98fce5795727414ed342765667c', class: {
|
|
26161
26113
|
"duet-toolbar-dropdown": true,
|
|
26162
26114
|
"duet-theme-turva": this.theme === "turva",
|
|
26163
26115
|
[itemsAlign]: true,
|
|
26164
26116
|
[variation]: true,
|
|
26165
|
-
} }, hAsync("button", { key: '
|
|
26117
|
+
} }, hAsync("button", { key: '5d64c32ca5bb797e52920f2dbcdd4c2331c7e1d5', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
26166
26118
|
active: this.active,
|
|
26167
26119
|
open: this.open,
|
|
26168
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
26120
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '29bc6c89f4079285ae2f6c902b672e348407dc7f', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: '61f9b434ade386cad6723371771ebbea391ca53a', class: "label" }, hAsync("slot", { key: 'ace38fa999915e9dd9b152844877f17f4fd192c6', name: "label" }), hAsync("duet-icon", { key: 'd65fe0f7f7d0f36b5e3c053b158f3ed43f369118', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'dbe2044c1ab7862269a72c30c21003e2b8799905', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
26169
26121
|
items: true,
|
|
26170
26122
|
hidden: !this.open,
|
|
26171
|
-
} }, hAsync("slot", { key: '
|
|
26123
|
+
} }, hAsync("slot", { key: 'aeed76421fc27d71ae29c85f3048eccc9113b903' })))));
|
|
26172
26124
|
}
|
|
26173
26125
|
get element() { return getElement(this); }
|
|
26174
26126
|
static get style() { return duetToolbarDropdownCss; }
|
|
@@ -26234,11 +26186,11 @@ class DuetToolbarDropdownLink {
|
|
|
26234
26186
|
* Always the last one in the class.
|
|
26235
26187
|
*/
|
|
26236
26188
|
render() {
|
|
26237
|
-
return (hAsync(Host, { key: '
|
|
26189
|
+
return (hAsync(Host, { key: '6405dd4276761748f36b02f74085c0f1ce00156c' }, hAsync("a", { key: '0bf5749207e213430b78556c6cfacd74b6cf16ec', class: {
|
|
26238
26190
|
"duet-toolbar-dropdown-link": true,
|
|
26239
26191
|
"duet-theme-turva": this.theme === "turva",
|
|
26240
26192
|
active: this.active,
|
|
26241
|
-
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
26193
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: 'a864b6489e90f6e38ad00cdab506b4e5c7ff0da2', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '0f8e18d155eced37ed6024f9bf52d9a05518b9ce', class: "label" }, hAsync("slot", { key: '0497e41427fe8cf8186d6cfe58786fe62e6fac83' })), this.active && (hAsync("duet-icon", { key: '83ce2c04454d0e751a5175d325bc389a0d17381c', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
26242
26194
|
}
|
|
26243
26195
|
get element() { return getElement(this); }
|
|
26244
26196
|
static get style() { return duetToolbarDropdownLinkCss; }
|
|
@@ -26341,17 +26293,17 @@ class DuetToolbarItem {
|
|
|
26341
26293
|
: this.variation === "secondary"
|
|
26342
26294
|
? "secondary"
|
|
26343
26295
|
: "default";
|
|
26344
|
-
return (hAsync(Host, { key: '
|
|
26296
|
+
return (hAsync(Host, { key: 'bd6cadfc140d4577639fb2429ec4abe3c0af7ed0', role: "listitem" }, hAsync(TagName, { key: '761443e0f868e1f2f5dcb6cc55b85c5b17ca89e3', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
26345
26297
|
"duet-toolbar-item": true,
|
|
26346
26298
|
"duet-theme-turva": this.theme === "turva",
|
|
26347
26299
|
active: this.active,
|
|
26348
26300
|
[variation]: true,
|
|
26349
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: '
|
|
26301
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: '9ed3ef2cf11bb4f467977e3766f403ab2ee6357e', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '10691d748cb0698570653c69cf2abc89e15730ee', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: '286774b765449ac75be74346366dfbad8b038673', class: "duet-toolbar-badge" }))), hAsync("slot", { key: '3b2e716bbba91c9dd073889ecc79b51249c90a05' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '7cbd7bc62efcc296c23b2237359ed305541b1206', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '50ff062786993532cde613041f77f58f5cbb98de', class: {
|
|
26350
26302
|
"trailing-icon": !!this.trailingIcon,
|
|
26351
26303
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
26352
26304
|
"external-icon": !!(this.url && this.external),
|
|
26353
26305
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
26354
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: '
|
|
26306
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: 'ecae924828649de4ba95638a6d2a3acf0fca9b32', class: "duet-toolbar-badge" }))))));
|
|
26355
26307
|
}
|
|
26356
26308
|
get element() { return getElement(this); }
|
|
26357
26309
|
static get style() { return duetToolbarItemCss; }
|
|
@@ -26418,12 +26370,12 @@ class DuetToolbarLink {
|
|
|
26418
26370
|
*/
|
|
26419
26371
|
render() {
|
|
26420
26372
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
26421
|
-
return (hAsync(Host, { key: '
|
|
26373
|
+
return (hAsync(Host, { key: '8cbad84c779038c9ca63a0bfceb698bd1e3ffbcf', role: "listitem" }, hAsync("a", { key: '427fab4cf232462cef706a882322cce701f3750f', class: {
|
|
26422
26374
|
"duet-toolbar-link": true,
|
|
26423
26375
|
"duet-theme-turva": this.theme === "turva",
|
|
26424
26376
|
active: this.active,
|
|
26425
26377
|
[variation]: true,
|
|
26426
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
26378
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '1d0839124e390b9d11a93af8d7d430281afca2fa', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '95192a637f21feba7a71ba3d3c1427cc0c789f4b' }))));
|
|
26427
26379
|
}
|
|
26428
26380
|
get element() { return getElement(this); }
|
|
26429
26381
|
static get style() { return duetToolbarLinkCss; }
|
|
@@ -26739,13 +26691,13 @@ class DuetTooltipButton {
|
|
|
26739
26691
|
* Always the last one in the class.
|
|
26740
26692
|
*/
|
|
26741
26693
|
render() {
|
|
26742
|
-
const visuallyHidden = hAsync("duet-visually-hidden", { key: '
|
|
26743
|
-
return (hAsync(Host, { key: '
|
|
26694
|
+
const visuallyHidden = hAsync("duet-visually-hidden", { key: '4799f2ec52d46a917f745fabd3be813269ba0f58' }, this.accessibleLabel);
|
|
26695
|
+
return (hAsync(Host, { key: 'e072ed42c2bc55d68e53e8185ab060d8cebd294e' }, hAsync("button", { key: '9ef7415ab0a35eefbb13b06f1acaf740003fce9a', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
26744
26696
|
"duet-tooltip-button": true,
|
|
26745
26697
|
"duet-tooltip-button-has-label": !!this.label,
|
|
26746
26698
|
"duet-theme-turva": this.theme === "turva",
|
|
26747
26699
|
"duet-tooltip-button-negative": this.negative,
|
|
26748
|
-
} }, hAsync("svg", { key: '
|
|
26700
|
+
} }, hAsync("svg", { key: '3f38cf75e0a62e44c55c713b7ac5c8c4a729486d', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '3f225e76e99c77d0418d31f24766e0be12e5b108', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), hAsync("circle", { key: '50fdedaf697b65bb8662b6245e2e9efa967c63bc', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '54ee8e155177ce832b318ede1dc04538e1e6b23b', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (hAsync("span", { class: "duet-tooltip-label" }, this.label, visuallyHidden)) : (visuallyHidden))));
|
|
26749
26701
|
}
|
|
26750
26702
|
get element() { return getElement(this); }
|
|
26751
26703
|
static get style() { return duetTooltipButtonCss; }
|
|
@@ -26810,11 +26762,11 @@ class DuetTooltipPopup {
|
|
|
26810
26762
|
this.contentEl.focus();
|
|
26811
26763
|
}
|
|
26812
26764
|
render() {
|
|
26813
|
-
return (hAsync(Host, { key: '
|
|
26765
|
+
return (hAsync(Host, { key: 'd8e4b83d2272f1d19b865a52415d78e7c84fc35c' }, hAsync("div", { key: 'f4bd117948c497edba219a27da2fa426d868545c', class: {
|
|
26814
26766
|
"duet-tooltip": true,
|
|
26815
26767
|
"duet-theme-turva": this.theme === "turva",
|
|
26816
26768
|
"duet-tooltip-active": this.active === true,
|
|
26817
|
-
} }, hAsync(FocusGuard, { key: '
|
|
26769
|
+
} }, hAsync(FocusGuard, { key: '7b243985e35ef7be33c718509d773706ec7ef919', moveFocusTo: this.buttonEl }), hAsync("div", { key: 'e0da7f25b483aeb61b165e82acd483e832abee52', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '304d2452c1de80433988f23468393ada0258e89d' })), hAsync("div", { key: '6ecf3ae87ed38b55232bce0649e3be0e6c3ed660', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: 'ea40ac7e135be53ec07f94986ed60b3a663f0103', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '4da14adafb372d9e70a0770172ae395bf1a17d77', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '2f49256a46c3406f4b1f097bbf814b259a33ad76', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: 'bb0d9fddc2edc371d3d4043acbd1a79600e93154' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: 'f17bd9300118df17d1967b87d499089bcf9bc22b', moveFocusTo: this.contentEl }))));
|
|
26818
26770
|
}
|
|
26819
26771
|
get element() { return getElement(this); }
|
|
26820
26772
|
static get style() { return duetTooltipPopupCss; }
|
|
@@ -26963,14 +26915,14 @@ class DuetTray {
|
|
|
26963
26915
|
* Always the last one in the class.
|
|
26964
26916
|
*/
|
|
26965
26917
|
render() {
|
|
26966
|
-
return (hAsync("div", { key: '
|
|
26918
|
+
return (hAsync("div", { key: '61deb461a2a44e12c2652e68da8bd5e8e92f5ba1', class: {
|
|
26967
26919
|
"duet-tray": true,
|
|
26968
26920
|
"duet-tray-is-active": this.active,
|
|
26969
26921
|
"duet-tray-is-hidden": this.hiddenState,
|
|
26970
26922
|
"duet-tray-is-responsive": this.responsive,
|
|
26971
26923
|
"duet-theme-turva": this.theme === "turva",
|
|
26972
26924
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
26973
|
-
} }, hAsync("div", { key: '
|
|
26925
|
+
} }, hAsync("div", { key: '7216294fc6378a7b86669afac0b685e4aab6ca70', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: 'bb7f0b87201a5e8d875d897c1ae133ac6bb79231' })), this.hasAdditionalContent && (hAsync(Fragment, { key: 'd00ce1421312b8b1f568f6047323cfe9939dd75c' }, hAsync("button", { key: 'b7976c815b882283b0c64ff029e5f1c9bf5e9e2f', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, hAsync("duet-icon", { key: '664c4304956e447164acfce88c48ec1fab4ad16c', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: 'db64b21d196cdcd39267b50370643104b8fde699' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: 'a7ae2a0640be484dfdf9fa39a4e95bbb23c14b0a', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: 'f8c2a7a0bf70430f52713dba3d5ff3a8b5230b74', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '0ebd960a3adee186fbb2d7388c2e8eaf5d04bcaf', name: "additional" })))))));
|
|
26974
26926
|
}
|
|
26975
26927
|
get element() { return getElement(this); }
|
|
26976
26928
|
static get style() { return duetTrayCss; }
|
|
@@ -28285,10 +28237,10 @@ class DuetUpload {
|
|
|
28285
28237
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
28286
28238
|
}
|
|
28287
28239
|
// @ts-ignore
|
|
28288
|
-
return (hAsync(Host, { key: '
|
|
28240
|
+
return (hAsync(Host, { key: 'f05b1bc489a5c538991ac8dd4fb6d0cea0248a88', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: 'e312d5885534198920efc3331df5582dc39935b6', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: '513b4337a00c445beec30a4f293159121dff800b', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: '06ec49a81ad76718aaadcf78a5125383f0e454d9', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: '5196406298adca8d60096a6dc6978a6a5dab82dc', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: '528af6873871076b373911205b6d12dd388b9248', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: 'f90e54a7e33eed06210ccff8d20289f49713d80f', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && hAsync("slot", { key: '89d0d5fffc8d7180be672b79e9c977ce97643542', name: "filefooter" }), hAsync("slot", { key: 'ccd754107ce3cd0dcc5d275112ac2e235a362af2', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: 'ccca0f7296e9b91098604a85346128a1e729d0c5', margin: "none", size: "small" }, hAsync("div", { key: '5296d30d3f385ef9b4404d4f2e319e5bdaa0046b', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '39d033b9afb07b4c030e671d2fc16839755f1fc9', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: 'b7aa66d03f4b95e0af548ab6fee1a12a2179144d' }, hAsync("duet-spacer", { key: 'cbf589041c6689736c06276f26aa3abc8afb5747', size: "large" }), hAsync("duet-button", { key: '5035ffe9eaf91f57445bc06607dbaa7c9405a216', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
28289
28241
|
this.bytesMaxReached ||
|
|
28290
28242
|
this.filesToUploadExceedsLimit ||
|
|
28291
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
28243
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: 'ca8f0765615c5724e645c38fa81334deefbd4a1c' }, hAsync("duet-spacer", { key: '425362adf2968f400b90cbbaccdc01ddbeb6e4c7', size: "medium" }), hAsync("duet-alert", { key: 'ada913acc86cff70615d3e43883aa8a494161967', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), hAsync("duet-visually-hidden", { key: '701872fdffc0c8773613dc337f6df4d8bfa5af3d', "aria-hidden": "true" }, hAsync("input", { key: '07c71fe2a934f360861b20a4724fbaa7e7ef4b62', ref: input => {
|
|
28292
28244
|
this.nativeInput = input;
|
|
28293
28245
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
28294
28246
|
"duet-upload": true,
|
|
@@ -28630,7 +28582,7 @@ class DuetUploadAriaStatus {
|
|
|
28630
28582
|
* Always the last one in the class.
|
|
28631
28583
|
*/
|
|
28632
28584
|
render() {
|
|
28633
|
-
return (hAsync(Host, { key: '
|
|
28585
|
+
return (hAsync(Host, { key: '85e26066bbcff5245a4ac2b14e8bc2f0356287db', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: 'd5ea2d321e0906a799562e2d82be8b17810da9aa' }, this.statusMessage)));
|
|
28634
28586
|
}
|
|
28635
28587
|
get element() { return getElement(this); }
|
|
28636
28588
|
static get watchers() { return {
|
|
@@ -28706,7 +28658,7 @@ let DuetUploadItem$1 = class DuetUploadItem {
|
|
|
28706
28658
|
inheritGlobalTheme(this);
|
|
28707
28659
|
}
|
|
28708
28660
|
render() {
|
|
28709
|
-
return (hAsync(Host, { key: '
|
|
28661
|
+
return (hAsync(Host, { key: 'a3b0dda64a1db52d7c9b8692c5b22113e31185c4' }, hAsync("duet-visually-hidden", { key: 'd1a774833763b5200a4b7d2fecb9887d44f92862', "aria-hidden": "true" }, hAsync("input", { key: 'cc5c287037f8035a16dcec5d3edeae3f51465726', ref: input => {
|
|
28710
28662
|
this.nativeInput = input;
|
|
28711
28663
|
}, type: "file", class: {
|
|
28712
28664
|
"duet-upload": true,
|
|
@@ -28810,9 +28762,9 @@ class DuetUploadItem {
|
|
|
28810
28762
|
const { uid, meta, item } = this.data;
|
|
28811
28763
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
28812
28764
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
28813
|
-
return (hAsync("div", { key: '
|
|
28765
|
+
return (hAsync("div", { key: '2f5e9c2cd2ebafe55ad4b2354ffe9d54b2499d9c', class: {
|
|
28814
28766
|
"upload-item-row": true,
|
|
28815
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
28767
|
+
} }, this.showCategory && (hAsync("div", { key: 'bb98383a54af5568e97361315f34f48c86544d8c', class: "item-categories" }, hAsync("duet-heading", { key: 'e57c5dbe2be316ac4863611774ba2aeca8818319', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: 'c558aea046babd166957b23cc53fa2e1448d9bb9', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '94d7a2b0d059765b52de0750086964dee74f6e14', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '81f8f6bc48dd7908cee178cf62663a0a9061f95f', class: "item-actions" }, this.actions.map(actionItem => {
|
|
28816
28768
|
return (hAsync("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
|
|
28817
28769
|
}))));
|
|
28818
28770
|
}
|
|
@@ -28852,7 +28804,7 @@ class DuetVisuallyHidden {
|
|
|
28852
28804
|
* Always the last one in the class.
|
|
28853
28805
|
*/
|
|
28854
28806
|
render() {
|
|
28855
|
-
return (hAsync(Host, { key: '
|
|
28807
|
+
return (hAsync(Host, { key: 'dd756f4aaa94a49c7f7b65126b91a4d1a4b2108f', class: "duet-visually-hidden" }, hAsync("slot", { key: '254bff05f732e3bac9f4d3099ae89aaeacf7ac76' })));
|
|
28856
28808
|
}
|
|
28857
28809
|
get element() { return getElement(this); }
|
|
28858
28810
|
static get style() { return duetVisuallyHiddenCss; }
|