@duetds/components 7.1.3 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +135 -229
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -5
- package/lib/cjs/duet-alert.cjs.entry.js +2 -5
- package/lib/cjs/duet-badge.cjs.entry.js +1 -5
- package/lib/cjs/duet-banner.cjs.entry.js +1 -5
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -5
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -5
- package/lib/cjs/duet-callout.cjs.entry.js +1 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -14
- package/lib/cjs/duet-card.cjs.entry.js +1 -5
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -5
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +1 -5
- package/lib/cjs/duet-choice_2.cjs.entry.js +35 -53
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -5
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -5
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -5
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -5
- package/lib/cjs/duet-footer.cjs.entry.js +1 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -5
- package/lib/cjs/duet-hero.cjs.entry.js +1 -5
- package/lib/cjs/duet-icon.cjs.entry.js +1 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -6
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -5
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -5
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -3
- package/lib/cjs/duet-modal.cjs.entry.js +2 -4
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -5
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -8
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -5
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -5
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -4
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -5
- package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +1 -5
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -5
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -5
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -5
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -7
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -5
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +1 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -5
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -6
- package/lib/cjs/duet-slideout.cjs.entry.js +49 -19
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -8
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -5
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -5
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -5
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -5
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -9
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -3
- package/lib/cjs/duet-tray.cjs.entry.js +1 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -8
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -5
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-cdefdf2d.js → focus-utils-66656094.js} +1 -1
- package/lib/cjs/{index-c113e2bb.js → index-780310fa.js} +2 -9
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/components/duet-action-button/duet-action-button.js +0 -4
- package/lib/collection/components/duet-alert/duet-alert.js +1 -4
- package/lib/collection/components/duet-badge/duet-badge.js +0 -4
- package/lib/collection/components/duet-banner/duet-banner.js +0 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +0 -4
- package/lib/collection/components/duet-button/duet-button.js +0 -4
- package/lib/collection/components/duet-callout/duet-callout.js +0 -4
- package/lib/collection/components/duet-caption/duet-caption.js +0 -4
- package/lib/collection/components/duet-card/duet-card.js +0 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +0 -4
- package/lib/collection/components/duet-chip/duet-chip.js +0 -4
- package/lib/collection/components/duet-choice/duet-choice.css +6 -0
- package/lib/collection/components/duet-choice/duet-choice.e2e.js +3 -0
- package/lib/collection/components/duet-choice/duet-choice.js +49 -5
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +21 -46
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +0 -4
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +0 -4
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +0 -4
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +0 -4
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +0 -4
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +0 -4
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +0 -4
- package/lib/collection/components/duet-footer/duet-footer.js +0 -4
- package/lib/collection/components/duet-header/duet-header.js +0 -4
- package/lib/collection/components/duet-heading/duet-heading.js +0 -4
- package/lib/collection/components/duet-hero/duet-hero.js +0 -4
- package/lib/collection/components/duet-icon/duet-icon.js +0 -4
- package/lib/collection/components/duet-input/duet-input.js +0 -2
- package/lib/collection/components/duet-label/duet-label.js +0 -4
- package/lib/collection/components/duet-link/duet-link.js +0 -4
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +0 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +0 -4
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +0 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +0 -4
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +0 -4
- package/lib/collection/components/duet-modal/duet-modal.js +0 -2
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +0 -4
- package/lib/collection/components/duet-notification/duet-notification.js +0 -4
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +0 -4
- package/lib/collection/components/duet-number-input/duet-number-input.js +0 -4
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +0 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +0 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +0 -4
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +0 -4
- package/lib/collection/components/duet-progress/duet-progress.js +0 -4
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +0 -4
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +0 -4
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +0 -4
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +0 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +0 -2
- package/lib/collection/components/duet-select/duet-select.js +0 -4
- package/lib/collection/components/duet-show-more/duet-show-more.js +0 -4
- package/lib/collection/components/duet-slideout/duet-slideout.js +102 -23
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +0 -4
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +0 -4
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +0 -4
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +0 -4
- package/lib/collection/components/duet-step/duet-step.js +0 -4
- package/lib/collection/components/duet-stepper/duet-stepper.js +0 -4
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +0 -4
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +0 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +0 -4
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +0 -4
- package/lib/collection/components/duet-tab/duet-tab.js +0 -4
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +0 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +0 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +0 -4
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +0 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +0 -4
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +0 -4
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +0 -4
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +0 -4
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +0 -2
- package/lib/collection/components/duet-tray/duet-tray.js +0 -4
- package/lib/collection/components/duet-upload/duet-upload.js +0 -4
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +0 -7
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +0 -4
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +0 -4
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +4 -8
- package/lib/dist-custom-elements/duet-breadcrumb.js +2 -6
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +3 -7
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -7
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +2 -6
- package/lib/dist-custom-elements/duet-choice-group.js +29 -54
- package/lib/dist-custom-elements/duet-choice.js +17 -11
- package/lib/dist-custom-elements/duet-collapsible.js +2 -6
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +8 -12
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -10
- package/lib/dist-custom-elements/duet-date-picker.js +12 -16
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -11
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +4 -8
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -12
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -13
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -6
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -6
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -6
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -6
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -4
- package/lib/dist-custom-elements/duet-modal.js +7 -9
- package/lib/dist-custom-elements/duet-multiselect.js +10 -14
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -8
- package/lib/dist-custom-elements/duet-notification.js +2 -6
- package/lib/dist-custom-elements/duet-number-input.js +11 -15
- package/lib/dist-custom-elements/duet-page-heading.js +2 -6
- package/lib/dist-custom-elements/duet-pagination.js +13 -15
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -6
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -7
- package/lib/dist-custom-elements/duet-radio-group.js +8 -12
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -6
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -6
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +5 -9
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -6
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -6
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -6
- package/lib/dist-custom-elements/duet-slideout.js +52 -19
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -8
- package/lib/dist-custom-elements/duet-stepper.js +2 -6
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -6
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -6
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -6
- package/lib/dist-custom-elements/duet-submenu-bar.js +2 -6
- package/lib/dist-custom-elements/duet-tab-group.js +13 -15
- package/lib/dist-custom-elements/duet-tab.js +1 -5
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -14
- package/lib/dist-custom-elements/duet-toggle.js +2 -6
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -6
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -6
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -6
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -7
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -22
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-85d03f96.js → p-0e5f0ede.js} +5 -7
- package/lib/dist-custom-elements/{p-f2f1b5a7.js → p-1b3c4813.js} +1 -1
- package/lib/dist-custom-elements/{p-48e9e036.js → p-231bc5cf.js} +1 -1
- package/lib/dist-custom-elements/{p-b3d7a5f1.js → p-234dc8f4.js} +5 -7
- package/lib/dist-custom-elements/{p-5219d0c0.js → p-27b6b841.js} +10 -14
- package/lib/dist-custom-elements/{p-399efbd2.js → p-3d3afaae.js} +2 -6
- package/lib/dist-custom-elements/{p-4e6ddeed.js → p-3f89073c.js} +2 -9
- package/lib/dist-custom-elements/{p-cdfcec05.js → p-412f4846.js} +1 -1
- package/lib/dist-custom-elements/{p-1c5edaed.js → p-4d08c451.js} +2 -6
- package/lib/dist-custom-elements/{p-851603d1.js → p-51734de9.js} +2 -2
- package/lib/dist-custom-elements/{p-186cbc8e.js → p-56b461b4.js} +1 -1
- package/lib/dist-custom-elements/{p-2eb3a0a6.js → p-62698106.js} +6 -9
- package/lib/dist-custom-elements/{p-da336880.js → p-63964ed8.js} +1 -1
- package/lib/dist-custom-elements/{p-05d1dc5a.js → p-63cffcb6.js} +1 -1
- package/lib/dist-custom-elements/{p-0e524bb9.js → p-6ff46c61.js} +3 -7
- package/lib/dist-custom-elements/{p-74379770.js → p-75cec87c.js} +1 -5
- package/lib/dist-custom-elements/{p-7a0d0ba1.js → p-790b4d17.js} +1 -1
- package/lib/dist-custom-elements/{p-e835e6e8.js → p-8011ee9c.js} +1 -5
- package/lib/dist-custom-elements/{p-7b2b8c0f.js → p-84b16bb8.js} +3 -7
- package/lib/dist-custom-elements/{p-896598da.js → p-8ef3a8fb.js} +1 -1
- package/lib/dist-custom-elements/{p-4921b11d.js → p-90e44a58.js} +4 -8
- package/lib/dist-custom-elements/{p-612c5258.js → p-9cea78e2.js} +1 -1
- package/lib/dist-custom-elements/{p-266a745d.js → p-a83c5173.js} +10 -12
- package/lib/dist-custom-elements/{p-2adcd550.js → p-af5b70e1.js} +1 -1
- package/lib/dist-custom-elements/{p-e436057c.js → p-bcbac220.js} +1 -5
- package/lib/dist-custom-elements/{p-4a8b7174.js → p-c1dbca09.js} +1 -5
- package/lib/dist-custom-elements/{p-7d00dae6.js → p-c524c1ec.js} +2 -6
- package/lib/dist-custom-elements/{p-51067c1c.js → p-c7ea14ec.js} +2 -6
- package/lib/dist-custom-elements/{p-9e8ed1f4.js → p-ccc0525b.js} +1 -5
- package/lib/dist-custom-elements/{p-77ec763f.js → p-d07915a3.js} +3 -7
- package/lib/dist-custom-elements/{p-08fb93f2.js → p-df3b4525.js} +1 -5
- package/lib/dist-custom-elements/{p-05927f57.js → p-e28c315a.js} +1 -5
- package/lib/dist-custom-elements/{p-a3cc656c.js → p-fc4ebd31.js} +8 -12
- package/lib/dist-custom-elements/{p-73378f6e.js → p-fd70481d.js} +1 -5
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-0006b5d9.entry.js +4 -0
- package/lib/duet/p-01c4e0d2.system.entry.js +4 -0
- package/lib/duet/p-0425a615.system.entry.js +4 -0
- package/lib/duet/p-04bfa236.system.entry.js +4 -0
- package/lib/duet/{p-21a15388.system.entry.js → p-060eb471.system.entry.js} +1 -1
- package/lib/duet/p-09dd7425.system.entry.js +4 -0
- package/lib/duet/{p-e4188875.entry.js → p-0d20f3d9.entry.js} +1 -1
- package/lib/duet/p-0e9e970f.system.entry.js +4 -0
- package/lib/duet/p-1401e524.entry.js +4 -0
- package/lib/duet/p-15d8afcf.system.entry.js +4 -0
- package/lib/duet/p-162561e0.system.entry.js +4 -0
- package/lib/duet/p-1890ca14.entry.js +4 -0
- package/lib/duet/p-1c2973e8.system.entry.js +4 -0
- package/lib/duet/{p-e544c1cf.entry.js → p-22314e6f.entry.js} +1 -1
- package/lib/duet/p-22b174e8.system.entry.js +4 -0
- package/lib/duet/p-23521d15.system.entry.js +4 -0
- package/lib/duet/{p-a60fe92f.entry.js → p-24428e35.entry.js} +1 -1
- package/lib/duet/{p-f2f333b9.system.entry.js → p-26fb144f.system.entry.js} +1 -1
- package/lib/duet/{p-2cb7d804.system.entry.js → p-285a8d84.system.entry.js} +1 -1
- package/lib/duet/p-2a23687b.system.entry.js +4 -0
- package/lib/duet/p-2a516c43.entry.js +4 -0
- package/lib/duet/p-2a53dac8.system.entry.js +4 -0
- package/lib/duet/{p-81b33aa2.system.entry.js → p-2a9df44f.system.entry.js} +1 -1
- package/lib/duet/{p-d6cff7d0.entry.js → p-2fa09b22.entry.js} +1 -1
- package/lib/duet/p-2fb4b111.entry.js +4 -0
- package/lib/duet/p-30edd295.entry.js +4 -0
- package/lib/duet/p-31ec5b52.entry.js +4 -0
- package/lib/duet/p-3211edb9.entry.js +4 -0
- package/lib/duet/{p-326cfdbf.entry.js → p-322093c6.entry.js} +1 -1
- package/lib/duet/p-33553884.entry.js +4 -0
- package/lib/duet/p-33cc5b2c.entry.js +4 -0
- package/lib/duet/p-350046fd.entry.js +4 -0
- package/lib/duet/p-35f81ca4.system.js +4 -0
- package/lib/duet/p-3693a90c.entry.js +4 -0
- package/lib/duet/p-373cf5f3.system.entry.js +4 -0
- package/lib/duet/p-39137beb.system.entry.js +4 -0
- package/lib/duet/p-3a8cad7a.system.entry.js +4 -0
- package/lib/duet/p-3dda03c8.entry.js +4 -0
- package/lib/duet/p-4192854d.entry.js +4 -0
- package/lib/duet/p-420e65a0.entry.js +4 -0
- package/lib/duet/p-4304a53a.entry.js +4 -0
- package/lib/duet/{p-b7b793e8.system.entry.js → p-47f0b173.system.entry.js} +1 -1
- package/lib/duet/p-485afe87.system.entry.js +4 -0
- package/lib/duet/p-48f614e6.entry.js +4 -0
- package/lib/duet/{p-71084e11.js → p-492a0843.js} +2 -2
- package/lib/duet/{p-0a978191.system.entry.js → p-4a8b9bdf.system.entry.js} +1 -1
- package/lib/duet/p-4ab967fd.system.entry.js +4 -0
- package/lib/duet/{p-3fd63941.system.entry.js → p-4e1d0e08.system.entry.js} +1 -1
- package/lib/duet/p-519f358f.entry.js +4 -0
- package/lib/duet/p-529dba15.entry.js +4 -0
- package/lib/duet/p-534d9d99.system.entry.js +4 -0
- package/lib/duet/p-55282c06.system.entry.js +4 -0
- package/lib/duet/p-55e6fe9c.system.entry.js +4 -0
- package/lib/duet/p-5601c1da.system.entry.js +4 -0
- package/lib/duet/p-5996094c.system.entry.js +4 -0
- package/lib/duet/p-59b7a0b4.system.entry.js +4 -0
- package/lib/duet/p-5a98ec00.system.entry.js +4 -0
- package/lib/duet/{p-25d9c496.system.entry.js → p-5e7523e0.system.entry.js} +1 -1
- package/lib/duet/p-6021aa8f.system.entry.js +4 -0
- package/lib/duet/p-603e4997.entry.js +4 -0
- package/lib/duet/p-6067c883.system.entry.js +4 -0
- package/lib/duet/{p-bf286e4e.system.entry.js → p-60fe7ed5.system.entry.js} +1 -1
- package/lib/duet/{p-bf7f3d46.entry.js → p-617c0967.entry.js} +1 -1
- package/lib/duet/p-6293ca6a.system.entry.js +4 -0
- package/lib/duet/p-63529b85.system.js +4 -0
- package/lib/duet/p-6363c2ae.system.entry.js +4 -0
- package/lib/duet/p-69872085.system.entry.js +4 -0
- package/lib/duet/p-6c06e5b0.entry.js +4 -0
- package/lib/duet/{p-e3cc006d.system.entry.js → p-6e768325.system.entry.js} +1 -1
- package/lib/duet/p-70b70b24.system.entry.js +4 -0
- package/lib/duet/p-7203d6cb.entry.js +4 -0
- package/lib/duet/p-73da97b9.entry.js +4 -0
- package/lib/duet/p-75be7414.system.entry.js +4 -0
- package/lib/duet/p-7cddf7fa.entry.js +4 -0
- package/lib/duet/p-7cf19325.entry.js +4 -0
- package/lib/duet/p-7d4d0926.entry.js +4 -0
- package/lib/duet/{p-302b75ec.entry.js → p-7fe5178e.entry.js} +1 -1
- package/lib/duet/p-80c3e3a1.entry.js +4 -0
- package/lib/duet/{p-538d0276.entry.js → p-831ca78f.entry.js} +1 -1
- package/lib/duet/p-84f90698.entry.js +4 -0
- package/lib/duet/p-85a502fd.system.entry.js +4 -0
- package/lib/duet/p-86b2e848.entry.js +4 -0
- package/lib/duet/p-872cccb9.system.entry.js +4 -0
- package/lib/duet/p-88230b5a.entry.js +4 -0
- package/lib/duet/p-8a13b5d6.entry.js +4 -0
- package/lib/duet/p-8a547ca4.entry.js +4 -0
- package/lib/duet/{p-bc4c2a48.entry.js → p-8b2ffad1.entry.js} +1 -1
- package/lib/duet/p-8d5dc152.entry.js +4 -0
- package/lib/duet/p-8e377844.system.entry.js +4 -0
- package/lib/duet/p-8fac4d6c.entry.js +4 -0
- package/lib/duet/p-902df276.entry.js +4 -0
- package/lib/duet/p-94a20b1a.system.entry.js +4 -0
- package/lib/duet/p-96d97ff0.system.entry.js +4 -0
- package/lib/duet/p-98e5fa0d.system.entry.js +4 -0
- package/lib/duet/p-9b09f1b5.system.entry.js +4 -0
- package/lib/duet/p-9b38ad5b.entry.js +4 -0
- package/lib/duet/p-9b3ba990.system.entry.js +4 -0
- package/lib/duet/{p-0dab0217.entry.js → p-9c8c1646.entry.js} +1 -1
- package/lib/duet/p-9cb61776.entry.js +4 -0
- package/lib/duet/p-9cd21d82.entry.js +4 -0
- package/lib/duet/p-9ce0052c.js +4 -0
- package/lib/duet/{p-843f140e.entry.js → p-9eb36ef5.entry.js} +1 -1
- package/lib/duet/p-9f85c0bf.system.entry.js +4 -0
- package/lib/duet/p-9fc50bee.entry.js +4 -0
- package/lib/duet/p-a06f5f46.entry.js +4 -0
- package/lib/duet/p-a0877282.entry.js +4 -0
- package/lib/duet/{p-92d7de4d.entry.js → p-a7805231.entry.js} +1 -1
- package/lib/duet/p-a91e4da0.entry.js +4 -0
- package/lib/duet/p-ad312a9c.entry.js +4 -0
- package/lib/duet/p-ae66d0e5.system.entry.js +4 -0
- package/lib/duet/p-b0b1e787.entry.js +4 -0
- package/lib/duet/p-b189b25a.entry.js +4 -0
- package/lib/duet/p-b2f8e521.entry.js +4 -0
- package/lib/duet/p-b8316660.system.entry.js +4 -0
- package/lib/duet/p-b889959f.system.entry.js +4 -0
- package/lib/duet/p-baa7d58a.system.entry.js +4 -0
- package/lib/duet/{p-800cf79d.system.entry.js → p-bb2af2fc.system.entry.js} +1 -1
- package/lib/duet/p-bc09f943.system.entry.js +4 -0
- package/lib/duet/p-bdc404b2.entry.js +4 -0
- package/lib/duet/{p-c04f1ef9.entry.js → p-c0203a7d.entry.js} +1 -1
- package/lib/duet/p-c04ac986.system.entry.js +4 -0
- package/lib/duet/p-c097b169.system.entry.js +4 -0
- package/lib/duet/p-c13939be.system.entry.js +4 -0
- package/lib/duet/p-c4c9407e.system.entry.js +4 -0
- package/lib/duet/p-c4fed7fe.system.entry.js +4 -0
- package/lib/duet/p-c957baf0.entry.js +4 -0
- package/lib/duet/p-cc150a23.entry.js +4 -0
- package/lib/duet/p-cc24ad5f.entry.js +4 -0
- package/lib/duet/p-cca3beb8.entry.js +4 -0
- package/lib/duet/p-cd04c25a.system.entry.js +4 -0
- package/lib/duet/p-cf02575f.entry.js +4 -0
- package/lib/duet/p-cfe7c37d.system.entry.js +4 -0
- package/lib/duet/p-d07d1962.entry.js +4 -0
- package/lib/duet/p-d3fbfb45.system.entry.js +4 -0
- package/lib/duet/p-d6ee5caf.system.entry.js +4 -0
- package/lib/duet/p-d753f503.entry.js +4 -0
- package/lib/duet/p-da637f8e.entry.js +4 -0
- package/lib/duet/p-dbaf4a89.system.entry.js +4 -0
- package/lib/duet/p-dc41c018.system.entry.js +4 -0
- package/lib/duet/p-dff82aea.entry.js +4 -0
- package/lib/duet/p-e00e4eb8.system.js +5 -0
- package/lib/duet/p-e0211391.entry.js +4 -0
- package/lib/duet/p-e10a1e54.system.entry.js +4 -0
- package/lib/duet/p-e1be2e2e.entry.js +4 -0
- package/lib/duet/p-e236d0ff.entry.js +4 -0
- package/lib/duet/p-e688c3c4.entry.js +4 -0
- package/lib/duet/p-e8576d91.system.entry.js +4 -0
- package/lib/duet/p-e897df9f.system.entry.js +4 -0
- package/lib/duet/p-eaad83ee.system.entry.js +4 -0
- package/lib/duet/p-ebe8a749.system.entry.js +4 -0
- package/lib/duet/p-ece4676f.entry.js +4 -0
- package/lib/duet/{p-a94020db.system.entry.js → p-f1e6e170.system.entry.js} +1 -1
- package/lib/duet/p-f28c33ac.system.entry.js +4 -0
- package/lib/duet/p-f824f485.entry.js +4 -0
- package/lib/duet/p-fb053036.system.entry.js +4 -0
- package/lib/duet/p-fb87c349.system.entry.js +4 -0
- package/lib/duet/p-fe5ad66e.entry.js +4 -0
- package/lib/esm/duet-action-button.entry.js +1 -5
- package/lib/esm/duet-alert.entry.js +2 -5
- package/lib/esm/duet-badge.entry.js +1 -5
- package/lib/esm/duet-banner.entry.js +1 -5
- package/lib/esm/duet-breadcrumb.entry.js +1 -5
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -5
- package/lib/esm/duet-callout.entry.js +1 -5
- package/lib/esm/duet-caption_4.entry.js +1 -14
- package/lib/esm/duet-card.entry.js +1 -5
- package/lib/esm/duet-checkbox.entry.js +1 -5
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +1 -5
- package/lib/esm/duet-choice_2.entry.js +35 -53
- package/lib/esm/duet-collapsible.entry.js +1 -5
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +1 -5
- package/lib/esm/duet-cookie-consent.entry.js +1 -5
- package/lib/esm/duet-date-picker.entry.js +2 -6
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +1 -8
- package/lib/esm/duet-empty-state.entry.js +1 -5
- package/lib/esm/duet-fieldset.entry.js +1 -5
- package/lib/esm/duet-footer.entry.js +1 -5
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -5
- package/lib/esm/duet-hero.entry.js +1 -5
- package/lib/esm/duet-icon.entry.js +1 -5
- package/lib/esm/duet-input_2.entry.js +1 -6
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -5
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -5
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -5
- package/lib/esm/duet-menu-bar-link.entry.js +1 -5
- package/lib/esm/duet-menu-bar.entry.js +1 -3
- package/lib/esm/duet-modal.entry.js +2 -4
- package/lib/esm/duet-multiselect.entry.js +1 -5
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -8
- package/lib/esm/duet-number-input.entry.js +1 -5
- package/lib/esm/duet-page-heading.entry.js +1 -5
- package/lib/esm/duet-pagination_2.entry.js +1 -4
- package/lib/esm/duet-popup-menu-item.entry.js +1 -5
- package/lib/esm/duet-popup-menu.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +1 -5
- package/lib/esm/duet-promo-card.entry.js +1 -5
- package/lib/esm/duet-radio_2.entry.js +1 -5
- package/lib/esm/duet-range-slider.entry.js +1 -5
- package/lib/esm/duet-scrollable_3.entry.js +1 -7
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -5
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +1 -5
- package/lib/esm/duet-slideout-lang.entry.js +1 -5
- package/lib/esm/duet-slideout-link.entry.js +1 -5
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -5
- package/lib/esm/duet-slideout-panel.entry.js +2 -6
- package/lib/esm/duet-slideout.entry.js +49 -19
- package/lib/esm/duet-step_2.entry.js +1 -8
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -5
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -5
- package/lib/esm/duet-submenu-bar.entry.js +1 -5
- package/lib/esm/duet-textarea.entry.js +1 -5
- package/lib/esm/duet-toggle.entry.js +1 -5
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -5
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -5
- package/lib/esm/duet-toolbar-link.entry.js +1 -5
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +2 -9
- package/lib/esm/duet-tooltip.entry.js +1 -3
- package/lib/esm/duet-tray.entry.js +1 -5
- package/lib/esm/duet-upload-aria-status.entry.js +1 -8
- package/lib/esm/duet-upload-item.entry.js +1 -5
- package/lib/esm/duet-visually-hidden.entry.js +1 -5
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-a2bc44e9.js → focus-utils-35cd2abd.js} +1 -1
- package/lib/esm/{index-755fb199.js → index-932c38d8.js} +2 -9
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-a2bc44e9.js → focus-utils-35cd2abd.js} +1 -1
- package/lib/esm-es5/index-932c38d8.js +5 -0
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-action-button/duet-action-button.d.ts +0 -1
- package/lib/types/components/duet-badge/duet-badge.d.ts +0 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +0 -1
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +0 -1
- package/lib/types/components/duet-button/duet-button.d.ts +0 -1
- package/lib/types/components/duet-callout/duet-callout.d.ts +0 -1
- package/lib/types/components/duet-caption/duet-caption.d.ts +0 -1
- package/lib/types/components/duet-card/duet-card.d.ts +0 -1
- package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +0 -1
- package/lib/types/components/duet-chip/duet-chip.d.ts +0 -1
- package/lib/types/components/duet-choice/duet-choice.d.ts +9 -1
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +4 -3
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +0 -1
- package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +0 -1
- package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +0 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +0 -1
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +0 -1
- package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +0 -1
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +0 -1
- package/lib/types/components/duet-footer/duet-footer.d.ts +0 -1
- package/lib/types/components/duet-header/duet-header.d.ts +0 -1
- package/lib/types/components/duet-heading/duet-heading.d.ts +0 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +0 -1
- package/lib/types/components/duet-icon/duet-icon.d.ts +0 -1
- package/lib/types/components/duet-label/duet-label.d.ts +0 -1
- package/lib/types/components/duet-link/duet-link.d.ts +0 -1
- package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +0 -1
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +0 -1
- package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +0 -1
- package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +0 -1
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +0 -1
- package/lib/types/components/duet-notification/duet-notification.d.ts +0 -1
- package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +0 -1
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +0 -1
- package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +0 -1
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +0 -1
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +0 -1
- package/lib/types/components/duet-progress/duet-progress.d.ts +0 -1
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +0 -1
- package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +0 -1
- package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +0 -1
- package/lib/types/components/duet-select/duet-select.d.ts +0 -1
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +0 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +16 -0
- package/lib/types/components/duet-slideout-lang/duet-slideout-lang.d.ts +0 -1
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +0 -1
- package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +0 -1
- package/lib/types/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.d.ts +0 -1
- package/lib/types/components/duet-step/duet-step.d.ts +0 -1
- package/lib/types/components/duet-stepper/duet-stepper.d.ts +0 -1
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +0 -1
- package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +0 -1
- package/lib/types/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts +0 -1
- package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +0 -1
- package/lib/types/components/duet-tab/duet-tab.d.ts +0 -1
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +0 -1
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +0 -1
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +0 -1
- package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +0 -1
- package/lib/types/components/duet-toolbar-link/duet-toolbar-link.d.ts +0 -1
- package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +0 -1
- package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +0 -1
- package/lib/types/components/duet-tray/duet-tray.d.ts +0 -1
- package/lib/types/components/duet-upload/duet-upload.d.ts +0 -1
- package/lib/types/components/duet-upload-aria-status/duet-upload-aria-status.d.ts +0 -4
- package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +0 -1
- package/lib/types/components/duet-visually-hidden/duet-visually-hidden.d.ts +0 -1
- package/lib/types/components.d.ts +26 -0
- package/package.json +5 -5
- package/lib/cjs/nudge-ee03ce2e.js +0 -18
- package/lib/collection/utils/nudge.js +0 -18
- package/lib/dist-custom-elements/p-040f8831.js +0 -16
- package/lib/duet/p-0173b1db.system.entry.js +0 -4
- package/lib/duet/p-03e5d91b.system.entry.js +0 -4
- package/lib/duet/p-040f8831.js +0 -4
- package/lib/duet/p-044464f3.system.entry.js +0 -4
- package/lib/duet/p-08b472ed.system.js +0 -4
- package/lib/duet/p-0a54e093.system.entry.js +0 -4
- package/lib/duet/p-0e0a1105.system.entry.js +0 -4
- package/lib/duet/p-0f56cb07.system.entry.js +0 -4
- package/lib/duet/p-12dbf60e.entry.js +0 -4
- package/lib/duet/p-1837a1d1.entry.js +0 -4
- package/lib/duet/p-1a73c53b.entry.js +0 -4
- package/lib/duet/p-1bd82ee4.system.entry.js +0 -4
- package/lib/duet/p-1c293f30.system.entry.js +0 -4
- package/lib/duet/p-212aa853.entry.js +0 -4
- package/lib/duet/p-21332da6.entry.js +0 -4
- package/lib/duet/p-229b9fb7.entry.js +0 -4
- package/lib/duet/p-236f39e6.entry.js +0 -4
- package/lib/duet/p-2431baa9.entry.js +0 -4
- package/lib/duet/p-268daeba.entry.js +0 -4
- package/lib/duet/p-2690079d.system.entry.js +0 -4
- package/lib/duet/p-271dc3df.system.entry.js +0 -4
- package/lib/duet/p-276b3c6e.entry.js +0 -4
- package/lib/duet/p-28bf2707.entry.js +0 -4
- package/lib/duet/p-28c2ed7a.entry.js +0 -4
- package/lib/duet/p-291093f3.system.entry.js +0 -4
- package/lib/duet/p-29ee2456.system.entry.js +0 -4
- package/lib/duet/p-2c7ab65b.system.entry.js +0 -4
- package/lib/duet/p-2f74551a.entry.js +0 -4
- package/lib/duet/p-2ff57c5e.entry.js +0 -4
- package/lib/duet/p-31526713.entry.js +0 -4
- package/lib/duet/p-352235b9.system.entry.js +0 -4
- package/lib/duet/p-3714093b.system.entry.js +0 -4
- package/lib/duet/p-38e3ee11.system.entry.js +0 -4
- package/lib/duet/p-413bdf00.entry.js +0 -4
- package/lib/duet/p-4560aa78.system.entry.js +0 -4
- package/lib/duet/p-4780158b.system.entry.js +0 -4
- package/lib/duet/p-47dd74d6.system.entry.js +0 -4
- package/lib/duet/p-48ca6f43.system.entry.js +0 -4
- package/lib/duet/p-4aaecd69.system.entry.js +0 -4
- package/lib/duet/p-4b1e9cd7.entry.js +0 -4
- package/lib/duet/p-4d2a6eaa.entry.js +0 -4
- package/lib/duet/p-4da04479.system.entry.js +0 -4
- package/lib/duet/p-4dbb28cd.system.entry.js +0 -4
- package/lib/duet/p-4eeb0034.system.entry.js +0 -4
- package/lib/duet/p-5034e406.system.entry.js +0 -4
- package/lib/duet/p-53397ad0.system.entry.js +0 -4
- package/lib/duet/p-54a3fc93.system.entry.js +0 -4
- package/lib/duet/p-55fc322c.entry.js +0 -4
- package/lib/duet/p-58b34b88.entry.js +0 -4
- package/lib/duet/p-59b05375.entry.js +0 -4
- package/lib/duet/p-66609411.system.entry.js +0 -4
- package/lib/duet/p-67c6ed8d.entry.js +0 -4
- package/lib/duet/p-6e8d932c.system.entry.js +0 -4
- package/lib/duet/p-712d71ac.system.entry.js +0 -4
- package/lib/duet/p-719ce9bb.entry.js +0 -4
- package/lib/duet/p-72441f44.system.entry.js +0 -4
- package/lib/duet/p-72dd3aaf.entry.js +0 -4
- package/lib/duet/p-7301b658.system.entry.js +0 -4
- package/lib/duet/p-744bbd20.system.js +0 -4
- package/lib/duet/p-784a7e09.entry.js +0 -4
- package/lib/duet/p-7a649b03.system.entry.js +0 -4
- package/lib/duet/p-7dfb5873.entry.js +0 -4
- package/lib/duet/p-7f821bb9.entry.js +0 -4
- package/lib/duet/p-81670fdc.system.entry.js +0 -4
- package/lib/duet/p-83b6f665.entry.js +0 -4
- package/lib/duet/p-8666b6f2.entry.js +0 -4
- package/lib/duet/p-89fb88a2.entry.js +0 -4
- package/lib/duet/p-8a63793d.entry.js +0 -4
- package/lib/duet/p-8e24e881.entry.js +0 -4
- package/lib/duet/p-9022d39d.entry.js +0 -4
- package/lib/duet/p-932f2f90.system.entry.js +0 -4
- package/lib/duet/p-93f44760.entry.js +0 -4
- package/lib/duet/p-94994761.entry.js +0 -4
- package/lib/duet/p-96ab4ddb.entry.js +0 -4
- package/lib/duet/p-9b7cbcb6.system.entry.js +0 -4
- package/lib/duet/p-9ceaa6b2.system.entry.js +0 -4
- package/lib/duet/p-9e1700b8.entry.js +0 -4
- package/lib/duet/p-9e992b21.system.entry.js +0 -4
- package/lib/duet/p-9f3b42d3.system.entry.js +0 -4
- package/lib/duet/p-a22a0017.entry.js +0 -4
- package/lib/duet/p-a2c2160f.entry.js +0 -4
- package/lib/duet/p-a3c3240a.system.entry.js +0 -4
- package/lib/duet/p-a6db5cb4.js +0 -4
- package/lib/duet/p-a95dc83f.system.entry.js +0 -4
- package/lib/duet/p-ab79e49a.system.entry.js +0 -4
- package/lib/duet/p-ac4688c8.entry.js +0 -4
- package/lib/duet/p-ac782d97.entry.js +0 -4
- package/lib/duet/p-b2e74c33.system.entry.js +0 -4
- package/lib/duet/p-b3f79bd8.entry.js +0 -4
- package/lib/duet/p-b839e79a.entry.js +0 -4
- package/lib/duet/p-ba297ed9.system.entry.js +0 -4
- package/lib/duet/p-bbc1c8ea.entry.js +0 -4
- package/lib/duet/p-c2356a52.entry.js +0 -4
- package/lib/duet/p-c2d6c479.system.entry.js +0 -4
- package/lib/duet/p-c343cf83.system.entry.js +0 -4
- package/lib/duet/p-c3b9d5ec.entry.js +0 -4
- package/lib/duet/p-c4fbe10f.entry.js +0 -4
- package/lib/duet/p-c503f559.entry.js +0 -4
- package/lib/duet/p-c7f975fc.system.entry.js +0 -4
- package/lib/duet/p-c8dc47b7.system.entry.js +0 -4
- package/lib/duet/p-c97109b5.system.js +0 -4
- package/lib/duet/p-cafbb204.system.entry.js +0 -4
- package/lib/duet/p-ccb3bf1b.system.entry.js +0 -4
- package/lib/duet/p-cd6530bc.entry.js +0 -4
- package/lib/duet/p-cdc76da1.system.entry.js +0 -4
- package/lib/duet/p-cea1672a.entry.js +0 -4
- package/lib/duet/p-cf023bd7.entry.js +0 -4
- package/lib/duet/p-cf6f2ae5.entry.js +0 -4
- package/lib/duet/p-d077942e.entry.js +0 -4
- package/lib/duet/p-d09cb9c8.entry.js +0 -4
- package/lib/duet/p-d124fbb9.system.entry.js +0 -4
- package/lib/duet/p-d2106b43.entry.js +0 -4
- package/lib/duet/p-d6165161.entry.js +0 -4
- package/lib/duet/p-d82d004f.system.entry.js +0 -4
- package/lib/duet/p-d838b19b.entry.js +0 -4
- package/lib/duet/p-d84a3d86.system.entry.js +0 -4
- package/lib/duet/p-d87a94a0.entry.js +0 -4
- package/lib/duet/p-d8ef94e6.entry.js +0 -4
- package/lib/duet/p-db2aaa8d.system.entry.js +0 -4
- package/lib/duet/p-dd149ee6.system.entry.js +0 -4
- package/lib/duet/p-df7e3964.system.entry.js +0 -4
- package/lib/duet/p-e40973b9.system.entry.js +0 -4
- package/lib/duet/p-e5d9d99e.entry.js +0 -4
- package/lib/duet/p-e672079a.system.entry.js +0 -4
- package/lib/duet/p-e6e8c381.system.entry.js +0 -4
- package/lib/duet/p-ed063bbd.system.js +0 -5
- package/lib/duet/p-ed082ad1.system.entry.js +0 -4
- package/lib/duet/p-ef0966d6.system.entry.js +0 -4
- package/lib/duet/p-efa0e8d1.system.entry.js +0 -4
- package/lib/duet/p-f58375e0.entry.js +0 -4
- package/lib/duet/p-f851e807.entry.js +0 -4
- package/lib/duet/p-fa861bef.entry.js +0 -4
- package/lib/duet/p-fed4d34a.system.entry.js +0 -4
- package/lib/esm/nudge-560904c3.js +0 -16
- package/lib/esm-es5/index-755fb199.js +0 -5
- package/lib/esm-es5/nudge-560904c3.js +0 -4
- package/lib/types/utils/nudge.d.ts +0 -7
package/hydrate/index.js
CHANGED
|
@@ -6656,8 +6656,6 @@ class DuetActionButton {
|
|
|
6656
6656
|
componentWillLoad() {
|
|
6657
6657
|
inheritGlobalTheme(this);
|
|
6658
6658
|
}
|
|
6659
|
-
componentDidLoad() {
|
|
6660
|
-
}
|
|
6661
6659
|
connectedCallback() {
|
|
6662
6660
|
connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelsDefaults" });
|
|
6663
6661
|
}
|
|
@@ -6844,11 +6842,10 @@ class DuetAlert {
|
|
|
6844
6842
|
*/
|
|
6845
6843
|
render() {
|
|
6846
6844
|
const closeColor = this.theme === "turva" ? "secondary-turva" : "secondary";
|
|
6847
|
-
const role = this.variation === "danger" || this.variation === "warning" ? "alert" : "status";
|
|
6848
6845
|
return (hAsync(Host, { class: {
|
|
6849
6846
|
"duet-theme-turva": this.theme === "turva",
|
|
6850
6847
|
"duet-alert-is-dismissed": this.isDismissed,
|
|
6851
|
-
}, role: this.announcements ?
|
|
6848
|
+
}, role: this.announcements ? "alert" : undefined }, hAsync("div", { class: {
|
|
6852
6849
|
"duet-alert": true,
|
|
6853
6850
|
"duet-alert-has-icon": !!this.icon,
|
|
6854
6851
|
"duet-alert-is-dismissible": this.dismissible,
|
|
@@ -6905,8 +6902,6 @@ class DuetBadge {
|
|
|
6905
6902
|
componentWillLoad() {
|
|
6906
6903
|
inheritGlobalTheme(this);
|
|
6907
6904
|
}
|
|
6908
|
-
componentDidLoad() {
|
|
6909
|
-
}
|
|
6910
6905
|
/**
|
|
6911
6906
|
* render() function
|
|
6912
6907
|
* Always the last one of the class.
|
|
@@ -6962,8 +6957,6 @@ class DuetBanner {
|
|
|
6962
6957
|
this.hasDescriptionSlot = !!this.element.querySelector('[slot="description"]');
|
|
6963
6958
|
this.hasActionSlot = !!this.element.querySelector('[slot="action"]');
|
|
6964
6959
|
}
|
|
6965
|
-
componentDidLoad() {
|
|
6966
|
-
}
|
|
6967
6960
|
/**
|
|
6968
6961
|
* render() function
|
|
6969
6962
|
* Always the last one of the class.
|
|
@@ -7027,8 +7020,6 @@ class DuetBreadcrumb {
|
|
|
7027
7020
|
componentWillLoad() {
|
|
7028
7021
|
inheritGlobalTheme(this);
|
|
7029
7022
|
}
|
|
7030
|
-
componentDidLoad() {
|
|
7031
|
-
}
|
|
7032
7023
|
connectedCallback() {
|
|
7033
7024
|
connectLanguageChangeObserver(this);
|
|
7034
7025
|
}
|
|
@@ -7202,8 +7193,6 @@ class DuetButton {
|
|
|
7202
7193
|
console.warn("[DUET]: Button used as an external link will override any icon that is set");
|
|
7203
7194
|
}
|
|
7204
7195
|
}
|
|
7205
|
-
componentDidLoad() {
|
|
7206
|
-
}
|
|
7207
7196
|
connectedCallback() {
|
|
7208
7197
|
this.proxyButton = document.createElement("button");
|
|
7209
7198
|
this.proxyButton.style.display = "none";
|
|
@@ -7387,8 +7376,6 @@ class DuetCallout {
|
|
|
7387
7376
|
inheritGlobalTheme(this);
|
|
7388
7377
|
this.hasAuthorSlot = !!this.element.querySelector('[slot="author"]');
|
|
7389
7378
|
}
|
|
7390
|
-
componentDidLoad() {
|
|
7391
|
-
}
|
|
7392
7379
|
/**
|
|
7393
7380
|
* render() function
|
|
7394
7381
|
* Always the last one in the class.
|
|
@@ -7435,8 +7422,6 @@ class DuetCaption {
|
|
|
7435
7422
|
componentWillLoad() {
|
|
7436
7423
|
inheritGlobalTheme(this);
|
|
7437
7424
|
}
|
|
7438
|
-
componentDidLoad() {
|
|
7439
|
-
}
|
|
7440
7425
|
/**
|
|
7441
7426
|
* render() function
|
|
7442
7427
|
* Always the last one in the class.
|
|
@@ -7524,8 +7509,6 @@ class DuetCard {
|
|
|
7524
7509
|
;
|
|
7525
7510
|
this.hasFooter = !!this.element.querySelector("[slot='footer']");
|
|
7526
7511
|
}
|
|
7527
|
-
componentDidLoad() {
|
|
7528
|
-
}
|
|
7529
7512
|
renderHeading() {
|
|
7530
7513
|
const safeHeadingLevel = sanitizeString$1(this.headingLevel);
|
|
7531
7514
|
const HeadingTag = [...duetHeadingLevels, duetBlock].some(tag => tag === safeHeadingLevel) ? safeHeadingLevel : "h2";
|
|
@@ -7673,8 +7656,6 @@ class DuetCheckbox {
|
|
|
7673
7656
|
this.value = this.identifier;
|
|
7674
7657
|
}
|
|
7675
7658
|
}
|
|
7676
|
-
componentDidLoad() {
|
|
7677
|
-
}
|
|
7678
7659
|
/**
|
|
7679
7660
|
* Sets focus on the specified `duet-checkbox`. Use this method instead of the global
|
|
7680
7661
|
* `input.focus()`.
|
|
@@ -7928,8 +7909,6 @@ class DuetChip {
|
|
|
7928
7909
|
inheritGlobalTheme(this);
|
|
7929
7910
|
this.popupSetUp();
|
|
7930
7911
|
}
|
|
7931
|
-
componentDidLoad() {
|
|
7932
|
-
}
|
|
7933
7912
|
/**
|
|
7934
7913
|
* Sets focus. Use this method instead of the global focus().
|
|
7935
7914
|
*/
|
|
@@ -8002,7 +7981,7 @@ const FocusGuard = ({ moveFocusTo }) => {
|
|
|
8002
7981
|
return hAsync("div", { class: "duet-focus-guard", "aria-hidden": "true", tabIndex: 0, onFocus: () => focusElement(moveFocusTo) });
|
|
8003
7982
|
};
|
|
8004
7983
|
|
|
8005
|
-
const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{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(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{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.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px);border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{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.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-choice-info-toggle.sc-duet-choice{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:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
7984
|
+
const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{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(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{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.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px);border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{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.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice .duet-choice-info-container.sc-duet-choice:focus{outline:none}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-choice-info-toggle.sc-duet-choice{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:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
8006
7985
|
|
|
8007
7986
|
/**
|
|
8008
7987
|
* @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.
|
|
@@ -8015,6 +7994,8 @@ const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice
|
|
|
8015
7994
|
class DuetChoice {
|
|
8016
7995
|
constructor(hostRef) {
|
|
8017
7996
|
registerInstance(this, hostRef);
|
|
7997
|
+
this.duetChoiceReady = createEvent$2(this, "duetChoiceReady", 7);
|
|
7998
|
+
this.duetChoiceRemove = createEvent$2(this, "duetChoiceRemove", 7);
|
|
8018
7999
|
this.duetChange = createEvent$2(this, "duetChange", 7);
|
|
8019
8000
|
this.duetFocus = createEvent$2(this, "duetFocus", 7);
|
|
8020
8001
|
this.duetBlur = createEvent$2(this, "duetBlur", 7);
|
|
@@ -8089,6 +8070,12 @@ class DuetChoice {
|
|
|
8089
8070
|
};
|
|
8090
8071
|
this.toggleInfo = () => {
|
|
8091
8072
|
this.isInfoOpen = !this.isInfoOpen;
|
|
8073
|
+
if (this.isInfoOpen) {
|
|
8074
|
+
setTimeout(() => {
|
|
8075
|
+
var _a;
|
|
8076
|
+
(_a = this.infoContainer) === null || _a === void 0 ? void 0 : _a.focus();
|
|
8077
|
+
});
|
|
8078
|
+
}
|
|
8092
8079
|
};
|
|
8093
8080
|
this.isHovering = false;
|
|
8094
8081
|
this.isInfoOpen = false;
|
|
@@ -8138,8 +8125,7 @@ class DuetChoice {
|
|
|
8138
8125
|
this.hasAdditional = hasSlot(this.element, "additional");
|
|
8139
8126
|
this.hasLabel = hasSlot(this.element, "label");
|
|
8140
8127
|
this.hasBeforeText = hasSlot(this.element, "before-text");
|
|
8141
|
-
|
|
8142
|
-
componentDidLoad() {
|
|
8128
|
+
this.duetChoiceReady.emit();
|
|
8143
8129
|
}
|
|
8144
8130
|
connectedCallback() {
|
|
8145
8131
|
connectLanguageChangeObserver(this, [
|
|
@@ -8149,6 +8135,7 @@ class DuetChoice {
|
|
|
8149
8135
|
}
|
|
8150
8136
|
disconnectedCallback() {
|
|
8151
8137
|
disconnectLanguageChangeObserver(this);
|
|
8138
|
+
this.duetChoiceRemove.emit();
|
|
8152
8139
|
}
|
|
8153
8140
|
/**
|
|
8154
8141
|
* Component event handling.
|
|
@@ -8266,7 +8253,7 @@ class DuetChoice {
|
|
|
8266
8253
|
}, 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, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, hAsync("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), hAsync("div", { class: "duet-choice-info-icon" }, hAsync("duet-icon", { icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible || this.hasInfo ? (hAsync("div", { class: this.getClassNames(), id: this.expandId }, hAsync("span", { class: {
|
|
8267
8254
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
8268
8255
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
8269
|
-
} }, hAsync("span", { id: this.headerId }, hAsync("slot", { name: "header" })), this.hasInfo ? (hAsync("span",
|
|
8256
|
+
} }, 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" }, hAsync("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, hAsync("slot", { name: "info" })), hAsync("slot", null))) : (hAsync("span", null, hAsync("slot", null)))), this.isInfoOpen && hAsync(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
|
|
8270
8257
|
}
|
|
8271
8258
|
get element() { return getElement(this); }
|
|
8272
8259
|
static get style() { return duetChoiceCss; }
|
|
@@ -8316,72 +8303,13 @@ class DuetChoice {
|
|
|
8316
8303
|
}; }
|
|
8317
8304
|
}
|
|
8318
8305
|
|
|
8319
|
-
const watchFor = (containerEl, tagName, onChange, changeHandler, options = {
|
|
8320
|
-
childList: true,
|
|
8321
|
-
subtree: true,
|
|
8322
|
-
}) => {
|
|
8323
|
-
let mutation;
|
|
8324
|
-
if (typeof MutationObserver !== "undefined") {
|
|
8325
|
-
mutation = new MutationObserver(mutationList => {
|
|
8326
|
-
onChange(changeHandler(mutationList, tagName));
|
|
8327
|
-
});
|
|
8328
|
-
mutation.observe(containerEl, options);
|
|
8329
|
-
}
|
|
8330
|
-
return mutation;
|
|
8331
|
-
};
|
|
8332
|
-
const watchForOptions = (containerEl, tagName, onChange) => {
|
|
8333
|
-
return watchFor(containerEl, tagName, onChange, getSelectedOption);
|
|
8334
|
-
};
|
|
8335
|
-
const watchForElement = (containerEl, tagName, onChange) => {
|
|
8336
|
-
return watchFor(containerEl, tagName, onChange, getElementItem, {
|
|
8337
|
-
childList: true,
|
|
8338
|
-
subtree: true,
|
|
8339
|
-
});
|
|
8340
|
-
};
|
|
8341
|
-
const getElementItem = (mutationList) => {
|
|
8342
|
-
let addedNode = false;
|
|
8343
|
-
let removedNode = false;
|
|
8344
|
-
mutationList.forEach(mut => {
|
|
8345
|
-
if (mut.addedNodes.length) {
|
|
8346
|
-
addedNode = true;
|
|
8347
|
-
}
|
|
8348
|
-
if (mut.removedNodes.length) {
|
|
8349
|
-
removedNode = true;
|
|
8350
|
-
}
|
|
8351
|
-
});
|
|
8352
|
-
return { addedNode, removedNode, mutationList };
|
|
8353
|
-
};
|
|
8354
|
-
const getSelectedOption = (mutationList, tagName) => {
|
|
8355
|
-
let newOption;
|
|
8356
|
-
mutationList.forEach(mut => {
|
|
8357
|
-
// tslint:disable-next-line: prefer-for-of
|
|
8358
|
-
for (let i = 0; i < mut.addedNodes.length; i++) {
|
|
8359
|
-
newOption = findCheckedOption(mut.addedNodes[i], tagName) || newOption;
|
|
8360
|
-
}
|
|
8361
|
-
});
|
|
8362
|
-
return newOption;
|
|
8363
|
-
};
|
|
8364
|
-
const findCheckedOption = (el, tagName) => {
|
|
8365
|
-
if (el.nodeType !== 1) {
|
|
8366
|
-
return undefined;
|
|
8367
|
-
}
|
|
8368
|
-
const options = el.tagName === tagName.toUpperCase() ? [el] : Array.from(el.querySelectorAll(tagName));
|
|
8369
|
-
return options.find((o) => o.checked === true);
|
|
8370
|
-
};
|
|
8371
|
-
|
|
8372
8306
|
const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
|
|
8373
8307
|
|
|
8374
|
-
const duetChoiceSelector = ":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)";
|
|
8375
8308
|
class DuetChoiceGroup {
|
|
8376
8309
|
constructor(hostRef) {
|
|
8377
8310
|
registerInstance(this, hostRef);
|
|
8378
8311
|
this.choiceGroupName = "duet-choice-group";
|
|
8379
|
-
this.
|
|
8380
|
-
return Array.from(this.element.querySelectorAll(duetChoiceSelector));
|
|
8381
|
-
};
|
|
8382
|
-
this.isMyChoice = (choice) => {
|
|
8383
|
-
return this.getChoices().includes(choice);
|
|
8384
|
-
};
|
|
8312
|
+
this.choices = new Set();
|
|
8385
8313
|
/**
|
|
8386
8314
|
* Component event handling.
|
|
8387
8315
|
*/
|
|
@@ -8390,12 +8318,21 @@ class DuetChoiceGroup {
|
|
|
8390
8318
|
return;
|
|
8391
8319
|
}
|
|
8392
8320
|
const selectedChoice = ev.target;
|
|
8393
|
-
if (selectedChoice && this.
|
|
8321
|
+
if (selectedChoice && this.choices.has(selectedChoice)) {
|
|
8394
8322
|
this.value = selectedChoice.value;
|
|
8395
8323
|
}
|
|
8396
|
-
|
|
8397
|
-
|
|
8398
|
-
|
|
8324
|
+
};
|
|
8325
|
+
this.onChoiceReady = (ev) => {
|
|
8326
|
+
const choice = ev.target;
|
|
8327
|
+
if (choice.closest("duet-choice-group") === this.element && !this.choices.has(choice)) {
|
|
8328
|
+
this.choices.add(choice);
|
|
8329
|
+
this.updateChoices();
|
|
8330
|
+
}
|
|
8331
|
+
};
|
|
8332
|
+
this.onChoiceRemove = (ev) => {
|
|
8333
|
+
const choice = ev.target;
|
|
8334
|
+
this.choices.delete(choice);
|
|
8335
|
+
this.updateChoices();
|
|
8399
8336
|
};
|
|
8400
8337
|
this.direction = "vertical";
|
|
8401
8338
|
this.margin = "auto";
|
|
@@ -8428,22 +8365,15 @@ class DuetChoiceGroup {
|
|
|
8428
8365
|
componentWillLoad() {
|
|
8429
8366
|
inheritGlobalTheme(this);
|
|
8430
8367
|
}
|
|
8431
|
-
componentDidLoad() {
|
|
8432
|
-
}
|
|
8433
8368
|
/**
|
|
8434
8369
|
* Local methods
|
|
8435
8370
|
*/
|
|
8436
8371
|
async updateChoices() {
|
|
8437
8372
|
var _a;
|
|
8438
|
-
|
|
8439
|
-
* Make sure we get all choices first so values are up to date prior
|
|
8440
|
-
* to caching the choice group value
|
|
8441
|
-
*/
|
|
8442
|
-
const choices = this.getChoices();
|
|
8443
|
-
const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.element.getAttribute("value");
|
|
8373
|
+
const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
|
|
8444
8374
|
let hasChecked = false;
|
|
8445
8375
|
// Walk the DOM in reverse order, since the last selected one wins
|
|
8446
|
-
for (const choice of choices) {
|
|
8376
|
+
for (const choice of this.choices) {
|
|
8447
8377
|
choice.name = this.name;
|
|
8448
8378
|
choice.groupDisabled = this.disabled;
|
|
8449
8379
|
choice.groupDirection = this.direction;
|
|
@@ -8453,6 +8383,9 @@ class DuetChoiceGroup {
|
|
|
8453
8383
|
// and we haven't found a checked yet
|
|
8454
8384
|
hasChecked = true;
|
|
8455
8385
|
choice.checked = true;
|
|
8386
|
+
if (typeof this.value === "undefined") {
|
|
8387
|
+
this.value = value;
|
|
8388
|
+
}
|
|
8456
8389
|
}
|
|
8457
8390
|
else {
|
|
8458
8391
|
// This choice doesn't have the correct value or the choice group has been already checked
|
|
@@ -8469,7 +8402,7 @@ class DuetChoiceGroup {
|
|
|
8469
8402
|
* Always the last one in the class.
|
|
8470
8403
|
*/
|
|
8471
8404
|
render() {
|
|
8472
|
-
return (hAsync(Host, { onDuetChange: this.onSelect, class: {
|
|
8405
|
+
return (hAsync(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
8473
8406
|
horizontal: this.direction === "horizontal",
|
|
8474
8407
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
8475
8408
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
@@ -9076,8 +9009,6 @@ class DuetCollapsible {
|
|
|
9076
9009
|
inheritGlobalTheme(this);
|
|
9077
9010
|
this.hasAfterHeading = hasSlot(this.element, "after-heading");
|
|
9078
9011
|
}
|
|
9079
|
-
componentDidLoad() {
|
|
9080
|
-
}
|
|
9081
9012
|
/**
|
|
9082
9013
|
* Sets focus on the specified `duet-collapsible`. Use this method instead of the global
|
|
9083
9014
|
* `collapsible.focus()`.
|
|
@@ -9557,8 +9488,6 @@ class DuetContactCard {
|
|
|
9557
9488
|
componentWillLoad() {
|
|
9558
9489
|
inheritGlobalTheme(this);
|
|
9559
9490
|
}
|
|
9560
|
-
componentDidLoad() {
|
|
9561
|
-
}
|
|
9562
9491
|
connectedCallback() {
|
|
9563
9492
|
connectLanguageChangeObserver(this);
|
|
9564
9493
|
}
|
|
@@ -9630,8 +9559,6 @@ class DuetCookieConsent {
|
|
|
9630
9559
|
componentWillLoad() {
|
|
9631
9560
|
inheritGlobalTheme(this);
|
|
9632
9561
|
}
|
|
9633
|
-
componentDidLoad() {
|
|
9634
|
-
}
|
|
9635
9562
|
/**
|
|
9636
9563
|
* render() function.
|
|
9637
9564
|
* Always the last one in the class.
|
|
@@ -10215,8 +10142,6 @@ class DuetDatePicker {
|
|
|
10215
10142
|
this.determineValidity(parseISODate(this.value));
|
|
10216
10143
|
this.updateInternalValue();
|
|
10217
10144
|
}
|
|
10218
|
-
componentDidLoad() {
|
|
10219
|
-
}
|
|
10220
10145
|
componentDidUpdate() {
|
|
10221
10146
|
// we want to run this code _after_ render
|
|
10222
10147
|
// to ensure all elements are visible (and thus focusable)
|
|
@@ -10554,8 +10479,6 @@ class DuetEditableTable {
|
|
|
10554
10479
|
this.hasHeadSlotLast = !!this.element.querySelector("[slot='thead-last']");
|
|
10555
10480
|
this.hasFootSlot = !!this.element.querySelector("[slot='tfoot']");
|
|
10556
10481
|
}
|
|
10557
|
-
componentDidLoad() {
|
|
10558
|
-
}
|
|
10559
10482
|
connectedCallback() {
|
|
10560
10483
|
connectLanguageChangeObserver(this);
|
|
10561
10484
|
}
|
|
@@ -10696,8 +10619,6 @@ class DuetEmptyState {
|
|
|
10696
10619
|
componentWillLoad() {
|
|
10697
10620
|
inheritGlobalTheme(this);
|
|
10698
10621
|
}
|
|
10699
|
-
componentDidLoad() {
|
|
10700
|
-
}
|
|
10701
10622
|
/**
|
|
10702
10623
|
* render() function
|
|
10703
10624
|
* Always the last one in the class.
|
|
@@ -10757,8 +10678,6 @@ class DuetFieldset {
|
|
|
10757
10678
|
inheritGlobalTheme(this);
|
|
10758
10679
|
this.checkHasTooltip();
|
|
10759
10680
|
}
|
|
10760
|
-
componentDidLoad() {
|
|
10761
|
-
}
|
|
10762
10681
|
/**
|
|
10763
10682
|
* render() function
|
|
10764
10683
|
* Always the last one in the class.
|
|
@@ -10892,8 +10811,6 @@ class DuetFooter {
|
|
|
10892
10811
|
this.hasInfoSlot = Array.from(this.element.children).filter(el => el.matches("[slot='info']")).length > 0
|
|
10893
10812
|
;
|
|
10894
10813
|
}
|
|
10895
|
-
componentDidLoad() {
|
|
10896
|
-
}
|
|
10897
10814
|
connectedCallback() {
|
|
10898
10815
|
connectLanguageChangeObserver(this, {
|
|
10899
10816
|
prop: "accessibleLabelExternal",
|
|
@@ -10966,6 +10883,59 @@ class DuetFooter {
|
|
|
10966
10883
|
}; }
|
|
10967
10884
|
}
|
|
10968
10885
|
|
|
10886
|
+
const watchFor = (containerEl, tagName, onChange, changeHandler, options = {
|
|
10887
|
+
childList: true,
|
|
10888
|
+
subtree: true,
|
|
10889
|
+
}) => {
|
|
10890
|
+
let mutation;
|
|
10891
|
+
if (typeof MutationObserver !== "undefined") {
|
|
10892
|
+
mutation = new MutationObserver(mutationList => {
|
|
10893
|
+
onChange(changeHandler(mutationList, tagName));
|
|
10894
|
+
});
|
|
10895
|
+
mutation.observe(containerEl, options);
|
|
10896
|
+
}
|
|
10897
|
+
return mutation;
|
|
10898
|
+
};
|
|
10899
|
+
const watchForOptions = (containerEl, tagName, onChange) => {
|
|
10900
|
+
return watchFor(containerEl, tagName, onChange, getSelectedOption);
|
|
10901
|
+
};
|
|
10902
|
+
const watchForElement = (containerEl, tagName, onChange) => {
|
|
10903
|
+
return watchFor(containerEl, tagName, onChange, getElementItem, {
|
|
10904
|
+
childList: true,
|
|
10905
|
+
subtree: true,
|
|
10906
|
+
});
|
|
10907
|
+
};
|
|
10908
|
+
const getElementItem = (mutationList) => {
|
|
10909
|
+
let addedNode = false;
|
|
10910
|
+
let removedNode = false;
|
|
10911
|
+
mutationList.forEach(mut => {
|
|
10912
|
+
if (mut.addedNodes.length) {
|
|
10913
|
+
addedNode = true;
|
|
10914
|
+
}
|
|
10915
|
+
if (mut.removedNodes.length) {
|
|
10916
|
+
removedNode = true;
|
|
10917
|
+
}
|
|
10918
|
+
});
|
|
10919
|
+
return { addedNode, removedNode, mutationList };
|
|
10920
|
+
};
|
|
10921
|
+
const getSelectedOption = (mutationList, tagName) => {
|
|
10922
|
+
let newOption;
|
|
10923
|
+
mutationList.forEach(mut => {
|
|
10924
|
+
// tslint:disable-next-line: prefer-for-of
|
|
10925
|
+
for (let i = 0; i < mut.addedNodes.length; i++) {
|
|
10926
|
+
newOption = findCheckedOption(mut.addedNodes[i], tagName) || newOption;
|
|
10927
|
+
}
|
|
10928
|
+
});
|
|
10929
|
+
return newOption;
|
|
10930
|
+
};
|
|
10931
|
+
const findCheckedOption = (el, tagName) => {
|
|
10932
|
+
if (el.nodeType !== 1) {
|
|
10933
|
+
return undefined;
|
|
10934
|
+
}
|
|
10935
|
+
const options = el.tagName === tagName.toUpperCase() ? [el] : Array.from(el.querySelectorAll(tagName));
|
|
10936
|
+
return options.find((o) => o.checked === true);
|
|
10937
|
+
};
|
|
10938
|
+
|
|
10969
10939
|
const duetGridCss = ".sc-duet-grid-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-grid-variation-flex.sc-duet-grid-h{display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important;width:100%;max-width:100%;height:auto}.duet-grid-variation-flex.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-x-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}@media (max-width: 22.5em){.duet-grid-variation-flex.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-medium.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-x-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}.duet-grid-variation-flex.duet-grid-wrap.sc-duet-grid-h{flex-wrap:wrap !important}.duet-grid-variation-flex.duet-no-stacking.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-no-stacking.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-align-top.duet-no-stacking.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-variation-flex.duet-grid-align-bottom.duet-no-stacking.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-variation-flex.duet-grid-align-center.duet-no-stacking.sc-duet-grid-h{align-items:center !important}.duet-grid-variation-flex.duet-grid-align-stretch.duet-no-stacking.sc-duet-grid-h{align-items:stretch !important}.duet-grid-variation-flex.duet-grid-align-baseline.duet-no-stacking.sc-duet-grid-h{align-items:baseline !important}.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:center !important}.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:stretch !important}.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:baseline !important}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:center !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:center !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:baseline !important}}.duet-grid-variation-flex.duet-grid-distribution-left.sc-duet-grid-h{justify-content:flex-start !important}.duet-grid-variation-flex.duet-grid-distribution-right.sc-duet-grid-h{justify-content:flex-end !important}.duet-grid-variation-flex.duet-grid-distribution-center.sc-duet-grid-h{justify-content:center !important}.duet-grid-variation-flex.duet-grid-distribution-between.sc-duet-grid-h{justify-content:space-between !important}.duet-grid-variation-flex.duet-grid-distribution-around.sc-duet-grid-h{justify-content:space-around !important}.duet-grid-variation-flex.duet-grid-distribution-evenly.sc-duet-grid-h{justify-content:space-evenly !important}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-left.sc-duet-grid-h{align-items:flex-start !important;justify-content:flex-start !important;text-align:left !important}}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-center.sc-duet-grid-h{align-items:center !important;justify-content:center !important;text-align:center !important}.duet-grid-variation-flex.duet-grid-mobile-center.sc-duet-grid-h *.sc-duet-grid{text-align:center !important}}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-right.sc-duet-grid-h{align-items:flex-end !important;justify-content:flex-end !important;text-align:right !important}.duet-grid-variation-flex.duet-grid-mobile-right.sc-duet-grid-h *.sc-duet-grid{text-align:right !important}}.duet-grid-variation-grid.sc-duet-grid-h{display:grid;grid-template-rows:repeat(1, 1fr);grid-template-columns:repeat(4, minmax(0, 1fr));gap:16px;align-items:flex-start;justify-content:center;margin:0 20px}@media (min-width: 36em){.duet-grid-variation-grid.sc-duet-grid-h{gap:24px;margin:0 40px}}@media (min-width: 48em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(8, 55px);gap:24px 32px;margin:0 auto}}@media (min-width: 62em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(12, minmax(0, 1fr));margin:0 64px}}@media (min-width: 76.25em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(12, 55px);gap:40px;margin:0 auto}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:3/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:2/span 10}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 12}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:9/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:5/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 6}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:5/span 4}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:7/span 6}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:5/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:9/span 4}}";
|
|
10970
10940
|
|
|
10971
10941
|
function isGridItem(element) {
|
|
@@ -11684,8 +11654,6 @@ class DuetHeader {
|
|
|
11684
11654
|
inheritGlobalTheme(this);
|
|
11685
11655
|
this.refresh();
|
|
11686
11656
|
}
|
|
11687
|
-
componentDidLoad() {
|
|
11688
|
-
}
|
|
11689
11657
|
connectedCallback() {
|
|
11690
11658
|
for (let i = 0; i < this.mql.length; i++) {
|
|
11691
11659
|
// addEventListener is not available in Stencil hydrate
|
|
@@ -12033,8 +12001,6 @@ class DuetHeading {
|
|
|
12033
12001
|
componentWillLoad() {
|
|
12034
12002
|
inheritGlobalTheme(this);
|
|
12035
12003
|
}
|
|
12036
|
-
componentDidLoad() {
|
|
12037
|
-
}
|
|
12038
12004
|
/**
|
|
12039
12005
|
* render() function
|
|
12040
12006
|
* Always the last one in the class.
|
|
@@ -12146,8 +12112,6 @@ class DuetHero {
|
|
|
12146
12112
|
this.hasSubHeadingSlot = !!this.element.querySelector('[slot="subheading"]');
|
|
12147
12113
|
this.refresh();
|
|
12148
12114
|
}
|
|
12149
|
-
componentDidLoad() {
|
|
12150
|
-
}
|
|
12151
12115
|
connectedCallback() {
|
|
12152
12116
|
connectLanguageChangeObserver(this, {
|
|
12153
12117
|
prop: "accessibleLabelExternal",
|
|
@@ -12338,8 +12302,6 @@ class DuetIcon {
|
|
|
12338
12302
|
}
|
|
12339
12303
|
this.loadIcon();
|
|
12340
12304
|
}
|
|
12341
|
-
componentDidLoad() {
|
|
12342
|
-
}
|
|
12343
12305
|
async loadIcon() {
|
|
12344
12306
|
// static icon known at build-time, so we can set it synchronously
|
|
12345
12307
|
if (this.icon) {
|
|
@@ -12877,8 +12839,6 @@ class DuetLabel {
|
|
|
12877
12839
|
componentWillLoad() {
|
|
12878
12840
|
inheritGlobalTheme(this);
|
|
12879
12841
|
}
|
|
12880
|
-
componentDidLoad() {
|
|
12881
|
-
}
|
|
12882
12842
|
/**
|
|
12883
12843
|
* render() function
|
|
12884
12844
|
* Always the last one in the class.
|
|
@@ -13026,8 +12986,6 @@ class DuetLink {
|
|
|
13026
12986
|
inheritGlobalTheme(this);
|
|
13027
12987
|
this.initMediaQuery();
|
|
13028
12988
|
}
|
|
13029
|
-
componentDidLoad() {
|
|
13030
|
-
}
|
|
13031
12989
|
connectedCallback() {
|
|
13032
12990
|
connectLanguageChangeObserver(this, {
|
|
13033
12991
|
prop: "accessibleLabelExternal",
|
|
@@ -13547,8 +13505,6 @@ class DuetMenuBarButton {
|
|
|
13547
13505
|
componentWillLoad() {
|
|
13548
13506
|
inheritGlobalTheme(this);
|
|
13549
13507
|
}
|
|
13550
|
-
componentDidLoad() {
|
|
13551
|
-
}
|
|
13552
13508
|
connectedCallback() {
|
|
13553
13509
|
this.changeIconSize();
|
|
13554
13510
|
for (let i = 0; i < this.mql.length; i++) {
|
|
@@ -13665,8 +13621,6 @@ class DuetMenuBarDropdown {
|
|
|
13665
13621
|
componentWillLoad() {
|
|
13666
13622
|
inheritGlobalTheme(this);
|
|
13667
13623
|
}
|
|
13668
|
-
componentDidLoad() {
|
|
13669
|
-
}
|
|
13670
13624
|
connectedCallback() {
|
|
13671
13625
|
this.changeIconSize();
|
|
13672
13626
|
for (let i = 0; i < this.mql.length; i++) {
|
|
@@ -13762,8 +13716,6 @@ class DuetMenuBarDropdownLink {
|
|
|
13762
13716
|
componentWillLoad() {
|
|
13763
13717
|
inheritGlobalTheme(this);
|
|
13764
13718
|
}
|
|
13765
|
-
componentDidLoad() {
|
|
13766
|
-
}
|
|
13767
13719
|
handleEscape(e) {
|
|
13768
13720
|
if (isEscapeKey(e)) {
|
|
13769
13721
|
const dropdown = this.element.closest("duet-menu-bar-dropdown");
|
|
@@ -13830,8 +13782,6 @@ class DuetMenuBarLink {
|
|
|
13830
13782
|
componentWillLoad() {
|
|
13831
13783
|
inheritGlobalTheme(this);
|
|
13832
13784
|
}
|
|
13833
|
-
componentDidLoad() {
|
|
13834
|
-
}
|
|
13835
13785
|
connectedCallback() {
|
|
13836
13786
|
this.changeIconSize();
|
|
13837
13787
|
for (let i = 0; i < this.mql.length; i++) {
|
|
@@ -14368,8 +14318,6 @@ class DuetMultiselect {
|
|
|
14368
14318
|
this.isCaptionVisible = !!this.caption;
|
|
14369
14319
|
this.refresh();
|
|
14370
14320
|
}
|
|
14371
|
-
componentDidLoad() {
|
|
14372
|
-
}
|
|
14373
14321
|
connectedCallback() {
|
|
14374
14322
|
connectLanguageChangeObserver(this);
|
|
14375
14323
|
}
|
|
@@ -14515,8 +14463,6 @@ class DuetNotification {
|
|
|
14515
14463
|
componentWillLoad() {
|
|
14516
14464
|
inheritGlobalTheme(this);
|
|
14517
14465
|
}
|
|
14518
|
-
componentDidLoad() {
|
|
14519
|
-
}
|
|
14520
14466
|
connectedCallback() {
|
|
14521
14467
|
connectLanguageChangeObserver(this, { prop: "accessibleLabelUnread", defaults: "accessibleLabelUnreadDefaults" });
|
|
14522
14468
|
}
|
|
@@ -14604,8 +14550,6 @@ class DuetNotificationDrawer {
|
|
|
14604
14550
|
inheritGlobalTheme(this);
|
|
14605
14551
|
this.updateNotificationState();
|
|
14606
14552
|
}
|
|
14607
|
-
componentDidLoad() {
|
|
14608
|
-
}
|
|
14609
14553
|
connectedCallback() {
|
|
14610
14554
|
this.observer = new MutationObserver(this.updateNotificationState);
|
|
14611
14555
|
this.observer.observe(this.element, { childList: true });
|
|
@@ -15002,8 +14946,6 @@ class DuetNumberInput {
|
|
|
15002
14946
|
this.value = this.localizeValue(SafeParseFloat(this.value, this.locale));
|
|
15003
14947
|
}
|
|
15004
14948
|
}
|
|
15005
|
-
componentDidLoad() {
|
|
15006
|
-
}
|
|
15007
14949
|
connectedCallback() {
|
|
15008
14950
|
connectLanguageChangeObserver(this, [
|
|
15009
14951
|
{ prop: "accessibleLive", defaults: "accessibleLiveDefaults" },
|
|
@@ -15123,8 +15065,6 @@ class DuetPageHeading {
|
|
|
15123
15065
|
componentWillLoad() {
|
|
15124
15066
|
inheritGlobalTheme(this);
|
|
15125
15067
|
}
|
|
15126
|
-
componentDidLoad() {
|
|
15127
|
-
}
|
|
15128
15068
|
/**
|
|
15129
15069
|
* render() function
|
|
15130
15070
|
* Always the last one in the class.
|
|
@@ -15565,8 +15505,6 @@ class DuetParagraph {
|
|
|
15565
15505
|
componentWillLoad() {
|
|
15566
15506
|
inheritGlobalTheme(this);
|
|
15567
15507
|
}
|
|
15568
|
-
componentDidLoad() {
|
|
15569
|
-
}
|
|
15570
15508
|
/**
|
|
15571
15509
|
* render() function
|
|
15572
15510
|
* Always the last one in the class.
|
|
@@ -17061,8 +16999,6 @@ class DuetPopupMenuItem {
|
|
|
17061
16999
|
componentWillLoad() {
|
|
17062
17000
|
inheritGlobalTheme(this);
|
|
17063
17001
|
}
|
|
17064
|
-
componentDidLoad() {
|
|
17065
|
-
}
|
|
17066
17002
|
/**
|
|
17067
17003
|
* Sets focus. Use this method instead of the global focus().
|
|
17068
17004
|
*/
|
|
@@ -17141,8 +17077,6 @@ class DuetProgress {
|
|
|
17141
17077
|
componentWillLoad() {
|
|
17142
17078
|
inheritGlobalTheme(this);
|
|
17143
17079
|
}
|
|
17144
|
-
componentDidLoad() {
|
|
17145
|
-
}
|
|
17146
17080
|
connectedCallback() {
|
|
17147
17081
|
connectLanguageChangeObserver(this, { prop: "accessibleLabelUpload", defaults: "accessibleLabelUploadDefaults" });
|
|
17148
17082
|
}
|
|
@@ -17211,8 +17145,6 @@ class DuetPromoCard {
|
|
|
17211
17145
|
this.hasDescriptionSlot = !!this.element.querySelector('[slot="description"]');
|
|
17212
17146
|
this.hasActionSlot = !!this.element.querySelector('[slot="action"]');
|
|
17213
17147
|
}
|
|
17214
|
-
componentDidLoad() {
|
|
17215
|
-
}
|
|
17216
17148
|
/**
|
|
17217
17149
|
* render() function
|
|
17218
17150
|
* Always the last one of the class.
|
|
@@ -17452,8 +17384,6 @@ class DuetRadioGroup {
|
|
|
17452
17384
|
componentWillLoad() {
|
|
17453
17385
|
inheritGlobalTheme(this);
|
|
17454
17386
|
}
|
|
17455
|
-
componentDidLoad() {
|
|
17456
|
-
}
|
|
17457
17387
|
/**
|
|
17458
17388
|
* Local methods.
|
|
17459
17389
|
*/
|
|
@@ -17603,8 +17533,6 @@ class DuetRangeSlider {
|
|
|
17603
17533
|
componentWillLoad() {
|
|
17604
17534
|
inheritGlobalTheme(this);
|
|
17605
17535
|
}
|
|
17606
|
-
componentDidLoad() {
|
|
17607
|
-
}
|
|
17608
17536
|
/**
|
|
17609
17537
|
* Sets focus on the specified `duet-range-slider`. Use this method instead of the global
|
|
17610
17538
|
* `input.focus()`.
|
|
@@ -18196,8 +18124,6 @@ class DuetSelect {
|
|
|
18196
18124
|
this.isCaptionVisible = !!this.caption;
|
|
18197
18125
|
this.refresh();
|
|
18198
18126
|
}
|
|
18199
|
-
componentDidLoad() {
|
|
18200
|
-
}
|
|
18201
18127
|
/**
|
|
18202
18128
|
* Sets focus on the specified `duet-select`. Use this method instead of the global
|
|
18203
18129
|
* `select.focus()`.
|
|
@@ -18409,8 +18335,6 @@ class DuetShowMore {
|
|
|
18409
18335
|
inheritGlobalTheme(this);
|
|
18410
18336
|
this.buttonAriaOpen = this.open;
|
|
18411
18337
|
}
|
|
18412
|
-
componentDidLoad() {
|
|
18413
|
-
}
|
|
18414
18338
|
connectedCallback() {
|
|
18415
18339
|
connectLanguageChangeObserver(this, [
|
|
18416
18340
|
{ prop: "showMoreLabel", defaults: "showMoreLabelDefaults" },
|
|
@@ -18481,16 +18405,18 @@ class DuetSlideout {
|
|
|
18481
18405
|
}
|
|
18482
18406
|
};
|
|
18483
18407
|
this.toggleMenu = (e) => {
|
|
18484
|
-
|
|
18485
|
-
this.
|
|
18486
|
-
|
|
18408
|
+
this.open = !this.open;
|
|
18409
|
+
if (this.openButton) {
|
|
18410
|
+
this.openButton.accessibleExpanded = this.open;
|
|
18411
|
+
}
|
|
18487
18412
|
this.duetSlideoutEvent.emit({
|
|
18488
18413
|
originalEvent: e,
|
|
18489
18414
|
data: { element: this.element, open: this.open },
|
|
18490
18415
|
component: "duet-slideout",
|
|
18491
18416
|
});
|
|
18492
|
-
if (
|
|
18417
|
+
if (this.open) {
|
|
18493
18418
|
const openPanel = this.element.querySelector("duet-slideout-panel[open]");
|
|
18419
|
+
this.teleport.go(true);
|
|
18494
18420
|
if (openPanel) {
|
|
18495
18421
|
openPanel.setFocus();
|
|
18496
18422
|
this.handleBodyScrolling();
|
|
@@ -18504,8 +18430,10 @@ class DuetSlideout {
|
|
|
18504
18430
|
}
|
|
18505
18431
|
else {
|
|
18506
18432
|
setTimeout(() => {
|
|
18507
|
-
|
|
18433
|
+
var _a;
|
|
18434
|
+
(_a = this.openButton) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
18508
18435
|
this.handleBodyScrolling();
|
|
18436
|
+
this.teleport.resume();
|
|
18509
18437
|
}, 200);
|
|
18510
18438
|
}
|
|
18511
18439
|
};
|
|
@@ -18516,6 +18444,7 @@ class DuetSlideout {
|
|
|
18516
18444
|
this.displaying = false;
|
|
18517
18445
|
this.theme = "";
|
|
18518
18446
|
this.open = false;
|
|
18447
|
+
this.opener = undefined;
|
|
18519
18448
|
this.backgroundColor = "gray-lightest";
|
|
18520
18449
|
}
|
|
18521
18450
|
/**
|
|
@@ -18528,27 +18457,49 @@ class DuetSlideout {
|
|
|
18528
18457
|
this.closeButton.focus();
|
|
18529
18458
|
}, 200);
|
|
18530
18459
|
}
|
|
18460
|
+
/**
|
|
18461
|
+
* Shows the slideout. Additionally saves the element (DuetButton or DuetMenuBarButton) that triggered
|
|
18462
|
+
* the slideout so that focus can be moved back to this specific element when
|
|
18463
|
+
* the slideout dialog is closed.
|
|
18464
|
+
*/
|
|
18465
|
+
async show() {
|
|
18466
|
+
if (this.open) {
|
|
18467
|
+
return;
|
|
18468
|
+
}
|
|
18469
|
+
const button = document.activeElement;
|
|
18470
|
+
if (button) {
|
|
18471
|
+
button.accessiblePopup = "true";
|
|
18472
|
+
this.openButton = button;
|
|
18473
|
+
}
|
|
18474
|
+
this.toggleMenu(new CustomEvent("toggle"));
|
|
18475
|
+
}
|
|
18476
|
+
/**
|
|
18477
|
+
* Hides the slideout dialog and puts focus back to the original element
|
|
18478
|
+
* that triggered the slideout (if we’re still in the same view).
|
|
18479
|
+
*/
|
|
18480
|
+
async hide() {
|
|
18481
|
+
if (!this.open) {
|
|
18482
|
+
return;
|
|
18483
|
+
}
|
|
18484
|
+
this.toggleMenu(new CustomEvent("toggle"));
|
|
18485
|
+
}
|
|
18531
18486
|
/**
|
|
18532
18487
|
* Component lifecycle events.
|
|
18533
18488
|
*/
|
|
18534
18489
|
componentWillLoad() {
|
|
18535
18490
|
inheritGlobalTheme(this);
|
|
18536
|
-
|
|
18537
|
-
|
|
18538
|
-
|
|
18539
|
-
|
|
18540
|
-
|
|
18541
|
-
}
|
|
18542
|
-
if (this.openButton) {
|
|
18543
|
-
this.openButton.accessiblePopup = "true";
|
|
18544
|
-
this.openButton.accessibleExpanded = false;
|
|
18545
|
-
this.openButton.addEventListener("click", e => {
|
|
18491
|
+
const button = this.opener && document.getElementById(this.opener);
|
|
18492
|
+
if (button) {
|
|
18493
|
+
button.accessiblePopup = "true";
|
|
18494
|
+
button.accessibleExpanded = false;
|
|
18495
|
+
button.addEventListener("click", e => {
|
|
18546
18496
|
e.stopPropagation();
|
|
18547
18497
|
e.preventDefault();
|
|
18498
|
+
this.openButton = button;
|
|
18548
18499
|
this.onClick(e);
|
|
18549
18500
|
});
|
|
18550
|
-
this.openButton = this.openButton;
|
|
18551
18501
|
}
|
|
18502
|
+
this.teleport = new Teleport(this.element);
|
|
18552
18503
|
}
|
|
18553
18504
|
async componentDidLoad() {
|
|
18554
18505
|
{
|
|
@@ -18578,7 +18529,8 @@ class DuetSlideout {
|
|
|
18578
18529
|
* Sets focus. Use this method instead of the global focus().
|
|
18579
18530
|
*/
|
|
18580
18531
|
async setFocus(options) {
|
|
18581
|
-
|
|
18532
|
+
var _a;
|
|
18533
|
+
(_a = this.openButton) === null || _a === void 0 ? void 0 : _a.focus(options);
|
|
18582
18534
|
}
|
|
18583
18535
|
/**
|
|
18584
18536
|
* render() function
|
|
@@ -18589,7 +18541,7 @@ class DuetSlideout {
|
|
|
18589
18541
|
background: getColorByName(this.backgroundColor, this.theme),
|
|
18590
18542
|
};
|
|
18591
18543
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
18592
|
-
return (hAsync(Host, null, hAsync("div", { class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("
|
|
18544
|
+
return (hAsync(Host, null, hAsync("div", { class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { class: {
|
|
18593
18545
|
"desktop-bg": true,
|
|
18594
18546
|
hidden: !this.open,
|
|
18595
18547
|
}, onClick: () => {
|
|
@@ -18612,10 +18564,13 @@ class DuetSlideout {
|
|
|
18612
18564
|
"$members$": {
|
|
18613
18565
|
"theme": [1025],
|
|
18614
18566
|
"open": [1540],
|
|
18567
|
+
"opener": [1],
|
|
18615
18568
|
"backgroundColor": [1537, "background-color"],
|
|
18616
18569
|
"language": [32],
|
|
18617
18570
|
"displaying": [32],
|
|
18618
18571
|
"toggle": [64],
|
|
18572
|
+
"show": [64],
|
|
18573
|
+
"hide": [64],
|
|
18619
18574
|
"setFocus": [64]
|
|
18620
18575
|
},
|
|
18621
18576
|
"$listeners$": [[8, "keyup", "handleKeyUp"]],
|
|
@@ -18646,8 +18601,6 @@ class DuetSlideoutLang {
|
|
|
18646
18601
|
componentWillLoad() {
|
|
18647
18602
|
inheritGlobalTheme(this);
|
|
18648
18603
|
}
|
|
18649
|
-
componentDidLoad() {
|
|
18650
|
-
}
|
|
18651
18604
|
connectedCallback() {
|
|
18652
18605
|
connectLanguageChangeObserver(this);
|
|
18653
18606
|
}
|
|
@@ -18698,8 +18651,6 @@ class DuetSlideoutLink {
|
|
|
18698
18651
|
componentWillLoad() {
|
|
18699
18652
|
inheritGlobalTheme(this);
|
|
18700
18653
|
}
|
|
18701
|
-
componentDidLoad() {
|
|
18702
|
-
}
|
|
18703
18654
|
/**
|
|
18704
18655
|
* render() function
|
|
18705
18656
|
* Always the last one in the class.
|
|
@@ -18791,8 +18742,6 @@ class DuetSlideoutPanel {
|
|
|
18791
18742
|
inheritGlobalTheme(this);
|
|
18792
18743
|
this.updateLabel();
|
|
18793
18744
|
}
|
|
18794
|
-
componentDidLoad() {
|
|
18795
|
-
}
|
|
18796
18745
|
connectedCallback() {
|
|
18797
18746
|
connectLanguageChangeObserver(this);
|
|
18798
18747
|
}
|
|
@@ -18896,8 +18845,6 @@ class DuetSlideoutPanelDropdown {
|
|
|
18896
18845
|
link.menuItem = true;
|
|
18897
18846
|
});
|
|
18898
18847
|
}
|
|
18899
|
-
componentDidLoad() {
|
|
18900
|
-
}
|
|
18901
18848
|
/**
|
|
18902
18849
|
* Sets focus. Use this method instead of the global focus().
|
|
18903
18850
|
*/
|
|
@@ -19074,8 +19021,6 @@ class DuetStep {
|
|
|
19074
19021
|
componentWillLoad() {
|
|
19075
19022
|
inheritGlobalTheme(this);
|
|
19076
19023
|
}
|
|
19077
|
-
componentDidLoad() {
|
|
19078
|
-
}
|
|
19079
19024
|
/**
|
|
19080
19025
|
* Programmatically shift focus to the step's heading.
|
|
19081
19026
|
*/
|
|
@@ -19182,8 +19127,6 @@ class DuetStepper {
|
|
|
19182
19127
|
componentWillLoad() {
|
|
19183
19128
|
inheritGlobalTheme(this);
|
|
19184
19129
|
}
|
|
19185
|
-
componentDidLoad() {
|
|
19186
|
-
}
|
|
19187
19130
|
async connectedCallback() {
|
|
19188
19131
|
this.updateStepState();
|
|
19189
19132
|
}
|
|
@@ -19325,8 +19268,6 @@ class DuetSubmenuBar {
|
|
|
19325
19268
|
child.setAttribute("role", "listitem");
|
|
19326
19269
|
}
|
|
19327
19270
|
}
|
|
19328
|
-
componentDidLoad() {
|
|
19329
|
-
}
|
|
19330
19271
|
connectedCallback() {
|
|
19331
19272
|
this.nav = document.querySelector("duet-nav > [slot='mobile']");
|
|
19332
19273
|
this.hasItems = this.checkIfHasItems();
|
|
@@ -19447,8 +19388,6 @@ class DuetSubmenuBarDropdown {
|
|
|
19447
19388
|
componentWillLoad() {
|
|
19448
19389
|
inheritGlobalTheme(this);
|
|
19449
19390
|
}
|
|
19450
|
-
componentDidLoad() {
|
|
19451
|
-
}
|
|
19452
19391
|
connectedCallback() {
|
|
19453
19392
|
this.checkIsDesktop();
|
|
19454
19393
|
for (let i = 0; i < this.mql.length; i++) {
|
|
@@ -19543,8 +19482,6 @@ class DuetSubmenuBarDropdownLink {
|
|
|
19543
19482
|
componentWillLoad() {
|
|
19544
19483
|
inheritGlobalTheme(this);
|
|
19545
19484
|
}
|
|
19546
|
-
componentDidLoad() {
|
|
19547
|
-
}
|
|
19548
19485
|
handleEscape(e) {
|
|
19549
19486
|
if (isEscapeKey(e)) {
|
|
19550
19487
|
const dropdown = this.element.closest("duet-submenu-bar-dropdown");
|
|
@@ -19613,8 +19550,6 @@ class DuetSubmenuBarLink {
|
|
|
19613
19550
|
componentWillLoad() {
|
|
19614
19551
|
inheritGlobalTheme(this);
|
|
19615
19552
|
}
|
|
19616
|
-
componentDidLoad() {
|
|
19617
|
-
}
|
|
19618
19553
|
connectedCallback() {
|
|
19619
19554
|
this.changeIconSize();
|
|
19620
19555
|
for (let i = 0; i < this.mql.length; i++) {
|
|
@@ -19684,8 +19619,6 @@ class DuetTab {
|
|
|
19684
19619
|
/**
|
|
19685
19620
|
* Component lifecycle events.
|
|
19686
19621
|
*/
|
|
19687
|
-
componentDidLoad() {
|
|
19688
|
-
}
|
|
19689
19622
|
connectedCallback() {
|
|
19690
19623
|
connectLanguageChangeObserver(this, { prop: "accessibleDescription", defaults: "accessibleDescriptionDefault" });
|
|
19691
19624
|
}
|
|
@@ -20224,8 +20157,6 @@ class DuetTextarea {
|
|
|
20224
20157
|
console.warn("[DUET WARNING]: counter requires counter-label to be set");
|
|
20225
20158
|
}
|
|
20226
20159
|
}
|
|
20227
|
-
componentDidLoad() {
|
|
20228
|
-
}
|
|
20229
20160
|
/**
|
|
20230
20161
|
* Sets focus on the specified `duet-textarea`. Use this method instead of the global
|
|
20231
20162
|
* `textarea.focus()`.
|
|
@@ -20354,8 +20285,6 @@ class DuetToggle {
|
|
|
20354
20285
|
this.value = this.identifier;
|
|
20355
20286
|
}
|
|
20356
20287
|
}
|
|
20357
|
-
componentDidLoad() {
|
|
20358
|
-
}
|
|
20359
20288
|
/**
|
|
20360
20289
|
* Sets focus on the specified `duet-toggle`. Use this method instead of the global
|
|
20361
20290
|
* `input.focus()`.
|
|
@@ -20490,8 +20419,6 @@ class DuetToolbarDropdown {
|
|
|
20490
20419
|
componentWillLoad() {
|
|
20491
20420
|
inheritGlobalTheme(this);
|
|
20492
20421
|
}
|
|
20493
|
-
componentDidLoad() {
|
|
20494
|
-
}
|
|
20495
20422
|
handleEscape(e) {
|
|
20496
20423
|
if (isEscapeKey(e)) {
|
|
20497
20424
|
this.open = false;
|
|
@@ -20562,8 +20489,6 @@ class DuetToolbarDropdownLink {
|
|
|
20562
20489
|
componentWillLoad() {
|
|
20563
20490
|
inheritGlobalTheme(this);
|
|
20564
20491
|
}
|
|
20565
|
-
componentDidLoad() {
|
|
20566
|
-
}
|
|
20567
20492
|
handleEscape(e) {
|
|
20568
20493
|
if (isEscapeKey(e)) {
|
|
20569
20494
|
const dropdown = this.element.closest("duet-toolbar-dropdown");
|
|
@@ -20618,8 +20543,6 @@ class DuetToolbarLink {
|
|
|
20618
20543
|
componentWillLoad() {
|
|
20619
20544
|
inheritGlobalTheme(this);
|
|
20620
20545
|
}
|
|
20621
|
-
componentDidLoad() {
|
|
20622
|
-
}
|
|
20623
20546
|
/**
|
|
20624
20547
|
* render() function
|
|
20625
20548
|
* Always the last one in the class.
|
|
@@ -20890,8 +20813,6 @@ class DuetTooltipButton {
|
|
|
20890
20813
|
componentWillLoad() {
|
|
20891
20814
|
inheritGlobalTheme(this);
|
|
20892
20815
|
}
|
|
20893
|
-
componentDidLoad() {
|
|
20894
|
-
}
|
|
20895
20816
|
async setFocus(options) {
|
|
20896
20817
|
if (this.buttonElement) {
|
|
20897
20818
|
this.buttonElement.focus(options);
|
|
@@ -20962,8 +20883,6 @@ class DuetTooltipPopup {
|
|
|
20962
20883
|
inheritGlobalTheme(this);
|
|
20963
20884
|
this.teleport = new Teleport(this.element);
|
|
20964
20885
|
}
|
|
20965
|
-
componentDidLoad() {
|
|
20966
|
-
}
|
|
20967
20886
|
async getArrowElement() {
|
|
20968
20887
|
return this.arrowEl;
|
|
20969
20888
|
}
|
|
@@ -21058,8 +20977,6 @@ class DuetTray {
|
|
|
21058
20977
|
inheritGlobalTheme(this);
|
|
21059
20978
|
this.hasAdditionalContent = !!this.element.querySelector("[slot='additional']");
|
|
21060
20979
|
}
|
|
21061
|
-
componentDidLoad() {
|
|
21062
|
-
}
|
|
21063
20980
|
connectedCallback() {
|
|
21064
20981
|
connectLanguageChangeObserver(this, [
|
|
21065
20982
|
{ prop: "accessibleOpenLabel", defaults: "accessibleOpenLabelDefaults" },
|
|
@@ -22122,8 +22039,6 @@ class DuetUpload {
|
|
|
22122
22039
|
this.onReady();
|
|
22123
22040
|
this.externalUploadButton = document.querySelector(`#${this.externalUploadButtonId}`);
|
|
22124
22041
|
}
|
|
22125
|
-
componentDidLoad() {
|
|
22126
|
-
}
|
|
22127
22042
|
componentWillRender() {
|
|
22128
22043
|
// listen to the events from the component
|
|
22129
22044
|
this.verifyValidity();
|
|
@@ -22472,11 +22387,6 @@ class DuetUploadAriaStatus {
|
|
|
22472
22387
|
this.getStatusMessage();
|
|
22473
22388
|
}
|
|
22474
22389
|
}
|
|
22475
|
-
/**
|
|
22476
|
-
* Component lifecycle events.
|
|
22477
|
-
*/
|
|
22478
|
-
componentDidLoad() {
|
|
22479
|
-
}
|
|
22480
22390
|
/**
|
|
22481
22391
|
* render() function
|
|
22482
22392
|
* Always the last one in the class.
|
|
@@ -22557,8 +22467,6 @@ class DuetUploadItem {
|
|
|
22557
22467
|
componentWillLoad() {
|
|
22558
22468
|
inheritGlobalTheme(this);
|
|
22559
22469
|
}
|
|
22560
|
-
componentDidLoad() {
|
|
22561
|
-
}
|
|
22562
22470
|
/**
|
|
22563
22471
|
* focusActionButton.
|
|
22564
22472
|
*/
|
|
@@ -22624,8 +22532,6 @@ class DuetVisuallyHidden {
|
|
|
22624
22532
|
constructor(hostRef) {
|
|
22625
22533
|
registerInstance(this, hostRef);
|
|
22626
22534
|
}
|
|
22627
|
-
componentDidLoad() {
|
|
22628
|
-
}
|
|
22629
22535
|
/**
|
|
22630
22536
|
* render() function
|
|
22631
22537
|
* Always the last one in the class.
|