@duetds/components 7.1.3 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +217 -92
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-callout.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +6 -6
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +38 -49
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
- package/lib/cjs/duet-footer.cjs.entry.js +3 -3
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +3 -3
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
- 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 +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +4 -4
- package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +3 -3
- package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +5 -5
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +3 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +51 -19
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-item.cjs.entry.js +3 -3
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +3 -3
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-cdefdf2d.js → focus-utils-cc0e6f8e.js} +1 -1
- package/lib/cjs/{index-c113e2bb.js → index-83a4e16a.js} +2 -9
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{nudge-ee03ce2e.js → nudge-84818dad.js} +3 -6
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +4 -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 +52 -4
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +21 -42
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +1 -1
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.js +3 -3
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +103 -22
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
- package/lib/collection/utils/nudge.js +3 -10
- 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 +6 -6
- package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
- 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 +5 -5
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +5 -5
- 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 +4 -4
- package/lib/dist-custom-elements/duet-choice-group.js +31 -52
- package/lib/dist-custom-elements/duet-choice.js +19 -9
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
- package/lib/dist-custom-elements/duet-date-picker.js +14 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +9 -9
- 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 +6 -6
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +10 -10
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +11 -11
- 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 +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-modal.js +9 -9
- package/lib/dist-custom-elements/duet-multiselect.js +12 -12
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +13 -13
- package/lib/dist-custom-elements/duet-page-heading.js +4 -4
- package/lib/dist-custom-elements/duet-pagination.js +15 -15
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +4 -4
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +10 -10
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +4 -4
- package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +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 +7 -7
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel.js +4 -4
- package/lib/dist-custom-elements/duet-slideout.js +54 -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 +6 -6
- package/lib/dist-custom-elements/duet-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-tab-group.js +15 -15
- package/lib/dist-custom-elements/duet-tab.js +3 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +12 -12
- package/lib/dist-custom-elements/duet-toggle.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- 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 +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +20 -20
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-2eb3a0a6.js → p-01270b45.js} +7 -7
- package/lib/dist-custom-elements/{p-85d03f96.js → p-0e282936.js} +7 -7
- package/lib/dist-custom-elements/{p-05d1dc5a.js → p-162263aa.js} +1 -1
- package/lib/dist-custom-elements/{p-266a745d.js → p-1c02d280.js} +12 -12
- package/lib/dist-custom-elements/{p-f2f1b5a7.js → p-22af2160.js} +1 -1
- package/lib/dist-custom-elements/{p-4a8b7174.js → p-24aae259.js} +3 -3
- package/lib/dist-custom-elements/{p-2adcd550.js → p-2f3372c0.js} +1 -1
- package/lib/dist-custom-elements/{p-4921b11d.js → p-32b30c68.js} +6 -6
- package/lib/{esm/nudge-560904c3.js → dist-custom-elements/p-432baa8a.js} +3 -6
- package/lib/dist-custom-elements/{p-73378f6e.js → p-46ff61f9.js} +3 -3
- package/lib/dist-custom-elements/{p-74379770.js → p-480a5be7.js} +3 -3
- package/lib/dist-custom-elements/{p-612c5258.js → p-55b3b241.js} +1 -1
- package/lib/dist-custom-elements/{p-851603d1.js → p-659bf49b.js} +2 -2
- package/lib/dist-custom-elements/{p-186cbc8e.js → p-6c16fe57.js} +1 -1
- package/lib/dist-custom-elements/{p-7d00dae6.js → p-6c770205.js} +4 -4
- package/lib/dist-custom-elements/{p-9e8ed1f4.js → p-71297fec.js} +3 -3
- package/lib/dist-custom-elements/{p-7a0d0ba1.js → p-74e94bc1.js} +1 -1
- package/lib/dist-custom-elements/{p-b3d7a5f1.js → p-78b427e2.js} +7 -7
- package/lib/dist-custom-elements/{p-e835e6e8.js → p-7b274ffe.js} +3 -3
- package/lib/dist-custom-elements/{p-399efbd2.js → p-84c65409.js} +4 -4
- package/lib/dist-custom-elements/{p-77ec763f.js → p-8ac1057e.js} +5 -5
- package/lib/dist-custom-elements/{p-7b2b8c0f.js → p-8d7e2f66.js} +5 -5
- package/lib/dist-custom-elements/{p-08fb93f2.js → p-925ad8ed.js} +3 -3
- package/lib/dist-custom-elements/{p-0e524bb9.js → p-9e520c3a.js} +5 -5
- package/lib/dist-custom-elements/{p-a3cc656c.js → p-a64a4c3b.js} +10 -10
- package/lib/dist-custom-elements/{p-e436057c.js → p-a79c1568.js} +3 -3
- package/lib/dist-custom-elements/{p-05927f57.js → p-abd29848.js} +3 -3
- package/lib/dist-custom-elements/{p-5219d0c0.js → p-ba7a34cd.js} +12 -12
- package/lib/dist-custom-elements/{p-da336880.js → p-bf9ea499.js} +1 -1
- package/lib/dist-custom-elements/{p-48e9e036.js → p-ce7a0836.js} +1 -1
- package/lib/dist-custom-elements/{p-cdfcec05.js → p-d019896a.js} +1 -1
- package/lib/dist-custom-elements/{p-51067c1c.js → p-d0cac9bf.js} +4 -4
- package/lib/dist-custom-elements/{p-1c5edaed.js → p-d363a6c4.js} +4 -4
- package/lib/dist-custom-elements/{p-4e6ddeed.js → p-dabae35a.js} +4 -4
- package/lib/dist-custom-elements/{p-896598da.js → p-ef176315.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-049a6e11.system.entry.js +4 -0
- package/lib/duet/{p-4da04479.system.entry.js → p-0521fafd.system.entry.js} +1 -1
- package/lib/duet/{p-326cfdbf.entry.js → p-052388fa.entry.js} +1 -1
- package/lib/duet/p-0717c4c7.entry.js +4 -0
- package/lib/duet/{p-712d71ac.system.entry.js → p-080eb720.system.entry.js} +1 -1
- package/lib/duet/p-0a29f14a.entry.js +4 -0
- package/lib/duet/{p-3714093b.system.entry.js → p-0c40e7e7.system.entry.js} +1 -1
- package/lib/duet/{p-5034e406.system.entry.js → p-11dba68c.system.entry.js} +1 -1
- package/lib/duet/p-155b532a.system.js +4 -0
- package/lib/duet/{p-800cf79d.system.entry.js → p-159c8e28.system.entry.js} +1 -1
- package/lib/duet/{p-e544c1cf.entry.js → p-1ab09b3e.entry.js} +1 -1
- package/lib/duet/{p-03e5d91b.system.entry.js → p-1b446001.system.entry.js} +1 -1
- package/lib/duet/p-1c05d649.system.js +5 -0
- package/lib/duet/{p-0f56cb07.system.entry.js → p-1fcdd1b4.system.entry.js} +1 -1
- package/lib/duet/{p-48ca6f43.system.entry.js → p-216daf71.system.entry.js} +1 -1
- package/lib/duet/{p-291093f3.system.entry.js → p-22879034.system.entry.js} +1 -1
- package/lib/duet/{p-2cb7d804.system.entry.js → p-2365860c.system.entry.js} +1 -1
- package/lib/duet/{p-bf7f3d46.entry.js → p-23d0d56b.entry.js} +1 -1
- package/lib/duet/{p-302b75ec.entry.js → p-23e577ac.entry.js} +1 -1
- package/lib/duet/{p-92d7de4d.entry.js → p-24f340af.entry.js} +1 -1
- package/lib/duet/p-25ce6276.entry.js +4 -0
- package/lib/duet/p-278295a6.entry.js +4 -0
- package/lib/duet/p-2b18fb02.entry.js +4 -0
- package/lib/duet/p-2c360aa2.entry.js +4 -0
- package/lib/duet/p-2f7f41b7.entry.js +4 -0
- package/lib/duet/p-307ad618.entry.js +4 -0
- package/lib/duet/p-32128bec.system.entry.js +4 -0
- package/lib/duet/p-33842a71.system.entry.js +4 -0
- package/lib/duet/p-3432e6d7.entry.js +4 -0
- package/lib/duet/{p-7a649b03.system.entry.js → p-3452a600.system.entry.js} +1 -1
- package/lib/duet/p-3636a303.entry.js +4 -0
- package/lib/duet/p-36625239.entry.js +4 -0
- package/lib/duet/p-36e2660a.system.entry.js +4 -0
- package/lib/duet/{p-ba297ed9.system.entry.js → p-373da7e9.system.entry.js} +1 -1
- package/lib/duet/{p-352235b9.system.entry.js → p-3823931d.system.entry.js} +1 -1
- package/lib/duet/p-3a8e9b7d.entry.js +4 -0
- package/lib/duet/p-3da3807f.entry.js +4 -0
- package/lib/duet/p-3e12c85b.entry.js +4 -0
- package/lib/duet/{p-c8dc47b7.system.entry.js → p-3ef4e70b.system.entry.js} +1 -1
- package/lib/duet/p-432baa8a.js +4 -0
- package/lib/duet/{p-d6cff7d0.entry.js → p-439a6589.entry.js} +1 -1
- package/lib/duet/{p-9e992b21.system.entry.js → p-43b5a747.system.entry.js} +1 -1
- package/lib/duet/p-46007ea5.system.entry.js +4 -0
- package/lib/duet/p-4a8c2fbd.entry.js +4 -0
- package/lib/duet/{p-25d9c496.system.entry.js → p-4b63bf44.system.entry.js} +1 -1
- package/lib/duet/p-4d457562.entry.js +4 -0
- package/lib/duet/p-4d469e8a.entry.js +4 -0
- package/lib/duet/{p-dd149ee6.system.entry.js → p-4dee86cc.system.entry.js} +1 -1
- package/lib/duet/p-4f387d8d.system.entry.js +4 -0
- package/lib/duet/{p-bc4c2a48.entry.js → p-55d8afce.entry.js} +1 -1
- package/lib/duet/p-55daf42a.entry.js +4 -0
- package/lib/duet/p-579599b1.entry.js +4 -0
- package/lib/duet/{p-38e3ee11.system.entry.js → p-597b4abf.system.entry.js} +1 -1
- package/lib/duet/{p-e6e8c381.system.entry.js → p-5988794d.system.entry.js} +1 -1
- package/lib/duet/p-5cf4e9fa.entry.js +4 -0
- package/lib/duet/p-5d2d1ee9.entry.js +4 -0
- package/lib/duet/p-6099439d.entry.js +4 -0
- package/lib/duet/p-60e24406.entry.js +4 -0
- package/lib/duet/p-64ae892b.entry.js +4 -0
- package/lib/duet/p-655c5ef8.system.entry.js +4 -0
- package/lib/duet/{p-47dd74d6.system.entry.js → p-657d12c6.system.entry.js} +1 -1
- package/lib/duet/p-68eefbc0.entry.js +4 -0
- package/lib/duet/p-6a28213a.entry.js +4 -0
- package/lib/duet/p-6c0a2ef4.entry.js +4 -0
- package/lib/duet/p-6c13d426.entry.js +4 -0
- package/lib/duet/{p-8666b6f2.entry.js → p-6c20accb.entry.js} +1 -1
- package/lib/duet/{p-0a54e093.system.entry.js → p-6d35c23c.system.entry.js} +1 -1
- package/lib/duet/p-70688378.entry.js +4 -0
- package/lib/duet/{p-271dc3df.system.entry.js → p-71a45359.system.entry.js} +1 -1
- package/lib/duet/p-73093b97.entry.js +4 -0
- package/lib/duet/p-74a48271.entry.js +4 -0
- package/lib/duet/{p-0dab0217.entry.js → p-75a7542b.entry.js} +1 -1
- package/lib/duet/p-76bdf878.system.entry.js +4 -0
- package/lib/duet/p-77c137be.entry.js +4 -0
- package/lib/duet/{p-538d0276.entry.js → p-77db8b7e.entry.js} +1 -1
- package/lib/duet/p-77de34a7.entry.js +4 -0
- package/lib/duet/{p-0173b1db.system.entry.js → p-78958e35.system.entry.js} +1 -1
- package/lib/duet/p-78dce48d.entry.js +4 -0
- package/lib/duet/{p-2690079d.system.entry.js → p-7bcb3908.system.entry.js} +1 -1
- package/lib/duet/p-7c19a049.entry.js +4 -0
- package/lib/duet/p-7d5115f0.system.entry.js +4 -0
- package/lib/duet/{p-0e0a1105.system.entry.js → p-7db54371.system.entry.js} +1 -1
- package/lib/duet/{p-4aaecd69.system.entry.js → p-7e2f1643.system.entry.js} +1 -1
- package/lib/duet/p-80734ccb.entry.js +4 -0
- package/lib/duet/{p-ef0966d6.system.entry.js → p-812b9a45.system.entry.js} +1 -1
- package/lib/duet/{p-df7e3964.system.entry.js → p-819906af.system.entry.js} +1 -1
- package/lib/duet/{p-1bd82ee4.system.entry.js → p-821002cc.system.entry.js} +1 -1
- package/lib/duet/p-8341e3d0.js +4 -0
- package/lib/duet/{p-bf286e4e.system.entry.js → p-84a8f374.system.entry.js} +1 -1
- package/lib/duet/p-8542bb1d.entry.js +4 -0
- package/lib/duet/{p-a95dc83f.system.entry.js → p-87d24f60.system.entry.js} +1 -1
- package/lib/duet/{p-c04f1ef9.entry.js → p-8a6d783c.entry.js} +1 -1
- package/lib/duet/{p-4eeb0034.system.entry.js → p-8ab86b55.system.entry.js} +1 -1
- package/lib/duet/p-8ac1659f.entry.js +4 -0
- package/lib/duet/{p-3fd63941.system.entry.js → p-8bb82291.system.entry.js} +1 -1
- package/lib/duet/{p-53397ad0.system.entry.js → p-8c2eb582.system.entry.js} +1 -1
- package/lib/duet/{p-2c7ab65b.system.entry.js → p-8c6bc7ce.system.entry.js} +1 -1
- package/lib/duet/{p-81670fdc.system.entry.js → p-8dbc6fec.system.entry.js} +1 -1
- package/lib/duet/{p-f2f333b9.system.entry.js → p-8df0d238.system.entry.js} +1 -1
- package/lib/duet/p-923302a6.entry.js +4 -0
- package/lib/duet/p-92f87d29.system.entry.js +4 -0
- package/lib/duet/p-94260821.entry.js +4 -0
- package/lib/duet/p-95e2628e.entry.js +4 -0
- package/lib/duet/{p-1c293f30.system.entry.js → p-973db87a.system.entry.js} +2 -2
- package/lib/duet/{p-66609411.system.entry.js → p-97db51fd.system.entry.js} +1 -1
- package/lib/duet/p-9dd2e8b7.entry.js +4 -0
- package/lib/duet/{p-ab79e49a.system.entry.js → p-9f11fac6.system.entry.js} +1 -1
- package/lib/duet/{p-e40973b9.system.entry.js → p-a077314f.system.entry.js} +1 -1
- package/lib/duet/{p-ccb3bf1b.system.entry.js → p-a36d79bb.system.entry.js} +1 -1
- package/lib/duet/{p-9f3b42d3.system.entry.js → p-a834b129.system.entry.js} +1 -1
- package/lib/duet/p-a83f7b5d.entry.js +4 -0
- package/lib/duet/{p-c2d6c479.system.entry.js → p-abe3d970.system.entry.js} +1 -1
- package/lib/duet/p-adf27b5b.entry.js +4 -0
- package/lib/duet/{p-72441f44.system.entry.js → p-aec26ab1.system.entry.js} +1 -1
- package/lib/duet/p-b0f26d1f.entry.js +4 -0
- package/lib/duet/{p-044464f3.system.entry.js → p-b5b09897.system.entry.js} +1 -1
- package/lib/duet/p-b8873438.entry.js +4 -0
- package/lib/duet/{p-a60fe92f.entry.js → p-ba876000.entry.js} +1 -1
- package/lib/duet/{p-e3cc006d.system.entry.js → p-bae4cd54.system.entry.js} +1 -1
- package/lib/duet/p-bc56ef14.entry.js +4 -0
- package/lib/duet/p-bc6b41df.entry.js +4 -0
- package/lib/duet/{p-9ceaa6b2.system.entry.js → p-bd190b40.system.entry.js} +1 -1
- package/lib/duet/p-bdaebb9e.entry.js +4 -0
- package/lib/duet/{p-a94020db.system.entry.js → p-bdfdecdf.system.entry.js} +1 -1
- package/lib/duet/{p-21a15388.system.entry.js → p-bec61f61.system.entry.js} +1 -1
- package/lib/duet/{p-c7f975fc.system.entry.js → p-bf3be553.system.entry.js} +2 -2
- package/lib/duet/p-c078dccf.entry.js +4 -0
- package/lib/duet/{p-cafbb204.system.entry.js → p-c346eab9.system.entry.js} +1 -1
- package/lib/duet/{p-0a978191.system.entry.js → p-c40681e4.system.entry.js} +1 -1
- package/lib/duet/p-c4421950.entry.js +4 -0
- package/lib/duet/p-c531901e.entry.js +4 -0
- package/lib/duet/p-c67f6e71.entry.js +4 -0
- package/lib/duet/p-c876c531.entry.js +4 -0
- package/lib/duet/p-c9624ff8.system.entry.js +4 -0
- package/lib/duet/{p-b7b793e8.system.entry.js → p-cc833893.system.entry.js} +2 -2
- package/lib/duet/{p-4560aa78.system.entry.js → p-cecf203f.system.entry.js} +1 -1
- package/lib/duet/p-cf1897db.entry.js +4 -0
- package/lib/duet/{p-932f2f90.system.entry.js → p-d166a0ec.system.entry.js} +1 -1
- package/lib/duet/p-d26dbeb9.entry.js +4 -0
- package/lib/duet/{p-4dbb28cd.system.entry.js → p-d3381766.system.entry.js} +1 -1
- package/lib/duet/{p-efa0e8d1.system.entry.js → p-d9e7da09.system.entry.js} +1 -1
- package/lib/duet/p-dad5df60.entry.js +4 -0
- package/lib/duet/p-dd8cdf29.entry.js +4 -0
- package/lib/duet/{p-7301b658.system.entry.js → p-decbebf5.system.entry.js} +1 -1
- package/lib/duet/p-dfe18019.entry.js +4 -0
- package/lib/duet/{p-a3c3240a.system.entry.js → p-e00b5c40.system.entry.js} +1 -1
- package/lib/duet/p-e3698acb.system.js +4 -0
- package/lib/duet/p-e413a6de.system.js +4 -0
- package/lib/duet/p-e566241e.system.entry.js +4 -0
- package/lib/duet/{p-b2e74c33.system.entry.js → p-e854cf9d.system.entry.js} +1 -1
- package/lib/duet/p-e9d559ff.entry.js +4 -0
- package/lib/duet/p-ec61f9ab.entry.js +4 -0
- package/lib/duet/{p-d84a3d86.system.entry.js → p-ed2b16ba.system.entry.js} +1 -1
- package/lib/duet/{p-e4188875.entry.js → p-f35b1e67.entry.js} +1 -1
- package/lib/duet/{p-71084e11.js → p-f832d9f4.js} +2 -2
- package/lib/duet/p-fa746683.entry.js +4 -0
- package/lib/duet/p-fcec1712.entry.js +4 -0
- package/lib/duet/{p-81b33aa2.system.entry.js → p-fdbe53c6.system.entry.js} +1 -1
- package/lib/duet/{p-29ee2456.system.entry.js → p-fe1d73a7.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +3 -3
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +3 -3
- package/lib/esm/duet-callout.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +6 -6
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +38 -49
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +3 -3
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +4 -4
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +4 -4
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +3 -3
- package/lib/esm/duet-footer.entry.js +3 -3
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +3 -3
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +4 -4
- 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 +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +4 -4
- package/lib/esm/duet-multiselect.entry.js +3 -3
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +4 -4
- package/lib/esm/duet-number-input.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +4 -4
- package/lib/esm/duet-popup-menu-item.entry.js +3 -3
- package/lib/esm/duet-popup-menu.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +3 -3
- package/lib/esm/duet-range-slider.entry.js +3 -3
- package/lib/esm/duet-scrollable_3.entry.js +5 -5
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +3 -3
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +3 -3
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +3 -3
- package/lib/esm/duet-slideout-panel.entry.js +4 -4
- package/lib/esm/duet-slideout.entry.js +51 -19
- package/lib/esm/duet-step_2.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +3 -3
- package/lib/esm/duet-textarea.entry.js +3 -3
- package/lib/esm/duet-toggle.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +5 -5
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload-aria-status.entry.js +3 -3
- package/lib/esm/duet-upload-item.entry.js +3 -3
- package/lib/esm/duet-visually-hidden.entry.js +3 -3
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-a2bc44e9.js → focus-utils-33e8d53f.js} +1 -1
- package/lib/esm/{index-755fb199.js → index-62aa2798.js} +2 -9
- package/lib/esm/loader.js +3 -3
- package/lib/{dist-custom-elements/p-040f8831.js → esm/nudge-350af17e.js} +3 -6
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-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 +1 -1
- 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-33e8d53f.js} +1 -1
- package/lib/esm-es5/index-62aa2798.js +5 -0
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/nudge-350af17e.js +4 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +9 -0
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +4 -2
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +16 -0
- package/lib/types/components.d.ts +26 -0
- package/lib/types/utils/nudge.d.ts +1 -1
- package/package.json +5 -5
- package/lib/duet/p-040f8831.js +0 -4
- package/lib/duet/p-08b472ed.system.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-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-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-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-413bdf00.entry.js +0 -4
- package/lib/duet/p-4780158b.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-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-67c6ed8d.entry.js +0 -4
- package/lib/duet/p-6e8d932c.system.entry.js +0 -4
- package/lib/duet/p-719ce9bb.entry.js +0 -4
- package/lib/duet/p-72dd3aaf.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-7dfb5873.entry.js +0 -4
- package/lib/duet/p-7f821bb9.entry.js +0 -4
- package/lib/duet/p-83b6f665.entry.js +0 -4
- package/lib/duet/p-843f140e.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-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-9e1700b8.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-a6db5cb4.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-b3f79bd8.entry.js +0 -4
- package/lib/duet/p-b839e79a.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-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-c97109b5.system.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-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-e5d9d99e.entry.js +0 -4
- package/lib/duet/p-e672079a.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-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-es5/index-755fb199.js +0 -5
- package/lib/esm-es5/nudge-560904c3.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.17"};let n,l,o,s=!1,i=!1,c=!1,r=!1,f=!1;const u={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},a="s-id",d="sty-id",$="c-id",h="slot-fb{display:contents}slot-fb[hidden]{display:none}",v="http://www.w3.org/1999/xlink",p={},y=e=>"object"==(e=typeof e)||"function"===e;function m(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,c=!1;const r=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!y(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,k);const u=w(e,null);return u.l=t,r.length>0&&(u.o=r),u.i=o,u.u=s,u},w=(e,t)=>({$:0,h:e,t,v:null,o:null,l:null,i:null,u:null}),g={},k={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(O)},j=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.h,vtext:e.t}),O=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},S=(e,t,n,l,o,s,i)=>{let c,r,f,u;if(1===s.nodeType){for(c=s.getAttribute($),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={$:0,p:r[0],m:r[1],k:r[2],j:r[3],h:s.tagName.toLowerCase(),v:s,l:null,o:null,i:null,u:null,t:null},t.push(f),s.removeAttribute($),e.o||(e.o=[]),e.o[f.j]=f,e=f,l&&"0"===f.k&&(l[f.j]=f.v))),u=s.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.childNodes[u],i);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.shadowRoot.childNodes[u],i)}else if(8===s.nodeType)r=s.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={$:0,p:r[1],m:r[2],k:r[3],j:r[4],v:s,l:null,o:null,i:null,u:null,h:null,t:null},"t"===c?(f.v=s.nextSibling,f.v&&3===f.v.nodeType&&(f.t=f.v.textContent,t.push(f),s.remove(),e.o||(e.o=[]),e.o[f.j]=f,l&&"0"===f.k&&(l[f.j]=f.v))):f.p===i&&("s"===c?(f.h="slot",s["s-sn"]=r[5]?f.u=r[5]:"",s["s-sr"]=!0,l&&(f.v=Te.createElement(f.h),f.u&&f.v.setAttribute("name",f.u),s.parentNode.insertBefore(f.v,s),s.remove(),"0"===f.k&&(l[f.j]=f.v)),n.push(f),e.o||(e.o=[]),e.o[f.j]=f):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.h){const t=w(null,s.textContent);t.v=s,t.j="0",e.o=[t]}},x=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)x(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)x(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},C=e=>Se(e).$hostElement$,R=(e,t,n)=>{const l=C(e);return{emit:e=>M(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},M=(e,t,n)=>{const l=Le.ce(t,n);return e.dispatchEvent(l),l},E=new WeakMap,I=(e,t,n)=>{let l=Ne.get(e);De&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Ne.set(e,l)},N=(e,t)=>{var n;const l=P(t),o=Ne.get(l);if(e=11===e.nodeType?e:Te,o)if("string"==typeof o){let s,i=E.get(e=e.head||e);if(i||E.set(e,i=new Set),!i.has(l)){if(e.host&&(s=e.querySelector(`[${d}="${l}"]`)))s.innerHTML=o;else{s=Te.createElement("style"),s.innerHTML=o;const t=null!==(n=Le.O)&&void 0!==n?n:m(Te);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.$&&(s.innerHTML+=h),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},P=e=>"sc-"+e.S,T=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,o,s)=>{if(n!==l){let i=Re(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=A(n),s=A(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=y(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(v,t):e.removeAttribute(t)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(v,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):Re(Pe,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(D);t=t.replace(F,""),n&&Le.rel(e,t,n,o),l&&Le.ael(e,t,l,o)}}},U=/\s/,A=e=>e?e.split(U):[],D="Capture",F=RegExp(D+"$"),W=(e,t,n,l)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,s=e&&e.l||p,i=t.l||p;for(l in s)l in i||L(o,l,s[l],void 0,n,t.$);for(l in i)L(o,l,s[l],i[l],n,t.$)},B=(e,t,i,f)=>{var u;const a=t.o[i];let d,$,h,v=0;if(s||(c=!0,"slot"===a.h&&(n&&f.classList.add(n+"-s"),a.$|=a.o?2:1)),null!==a.t)d=a.v=Te.createTextNode(a.t);else if(1&a.$)d=a.v=Te.createTextNode("");else{if(r||(r="svg"===a.h),d=a.v=Te.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&a.$?"slot-fb":a.h),r&&"foreignObject"===a.h&&(r=!1),W(null,a,r),null!=n&&d["s-si"]!==n&&d.classList.add(d["s-si"]=n),a.o)for(v=0;v<a.o.length;++v)$=B(e,a,v,d),$&&d.appendChild($);"svg"===a.h?r=!1:"foreignObject"===d.tagName&&(r=!0)}return d["s-hn"]=o,3&a.$&&(d["s-sr"]=!0,d["s-fs"]=null===(u=a.l)||void 0===u?void 0:u.slot,d["s-cr"]=l,d["s-sn"]=a.u||"",h=e&&e.o&&e.o[i],h&&h.h===a.h&&e.v&&H(e.v,!1)),d},H=(e,t)=>{var n;Le.$|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const s=l[e];s["s-hn"]!==o&&s["s-ol"]&&(G(s).insertBefore(s,z(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,1===s.nodeType&&s.setAttribute("slot",null!==(n=s["s-sn"])&&void 0!==n?n:""),c=!0),t&&H(s,t)}Le.$&=-2},V=(e,t,n,l,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===o&&(r=r.shadowRoot);s<=i;++s)l[s]&&(c=B(null,n,s,e),c&&(l[s].v=c,r.insertBefore(c,z(t))))},q=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;Z(t),e&&(i=!0,e["s-ol"]?e["s-ol"].remove():H(e,!0),e.remove())}}},_=(e,t)=>e.h===t.h&&("slot"===e.h?e.u===t.u:e.i===t.i),z=e=>e&&e["s-ol"]||e,G=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,J=(e,t)=>{const n=t.v=e.v,l=e.o,o=t.o,s=t.h,i=t.t;let c;null===i?(r="svg"===s||"foreignObject"!==s&&r,"slot"===s||W(e,t,r),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,c=0,r=0,f=0,u=t.length-1,a=t[0],d=t[u],$=l.length-1,h=l[0],v=l[$];for(;i<=u&&c<=$;)if(null==a)a=t[++i];else if(null==d)d=t[--u];else if(null==h)h=l[++c];else if(null==v)v=l[--$];else if(_(a,h))J(a,h),a=t[++i],h=l[++c];else if(_(d,v))J(d,v),d=t[--u],v=l[--$];else if(_(a,v))"slot"!==a.h&&"slot"!==v.h||H(a.v.parentNode,!1),J(a,v),e.insertBefore(a.v,d.v.nextSibling),a=t[++i],v=l[--$];else if(_(d,h))"slot"!==a.h&&"slot"!==v.h||H(d.v.parentNode,!1),J(d,h),e.insertBefore(d.v,a.v),d=t[--u],h=l[++c];else{for(r=-1,f=i;f<=u;++f)if(t[f]&&null!==t[f].i&&t[f].i===h.i){r=f;break}r>=0?(s=t[r],s.h!==h.h?o=B(t&&t[c],n,r,e):(J(s,h),t[r]=void 0,o=s.v),h=l[++c]):(o=B(t&&t[c],n,c,e),h=l[++c]),o&&G(a.v).insertBefore(o,z(a.v))}i>u?V(e,null==l[$+1]?null:l[$+1].v,n,l,c,$):c>$&&q(t,i,u)})(n,l,t,o):null!==o?(null!==e.t&&(n.textContent=""),V(n,null,t,o,0,o.length-1)):null!==l&&q(l,0,l.length-1),r&&"svg"===s&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.t!==i&&(n.data=i)},K=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}K(e)}},Q=[],X=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(Y(t,e)){let n=Q.find((e=>e.C===t));i=!0,t["s-sn"]=t["s-sn"]||e,n?(n.C["s-sh"]=o["s-hn"],n.R=o):(t["s-sh"]=o["s-hn"],Q.push({R:o,C:t})),t["s-sr"]&&Q.map((e=>{Y(e.C,t["s-sn"])&&(n=Q.find((e=>e.C===t)),n&&!e.R&&(e.R=n.R))}))}else Q.some((e=>e.C===t))||Q.push({C:t})}1===o.nodeType&&X(o)}},Y=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Z=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Z)},ee=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},te=(e,t)=>{if(e.$|=16,!(4&e.$))return ee(e,e.I),_e((()=>ne(e,t)));e.$|=512},ne=(e,t)=>{const n=e.N;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>fe(n,e,t))),e.P=void 0),l=fe(n,"componentWillLoad")),l=le(l,(()=>fe(n,"componentWillRender"))),le(l,(()=>se(e,n,t)))},le=(e,t)=>oe(e)?e.then(t):t(),oe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,se=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.T,n=e.$hostElement$,l=t.$,o=N(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);ie(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},ie=(e,t,r,f)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t,r=!1)=>{var f,u;const a=e.$hostElement$,d=e.T,$=e.L||w(null,null),h=(e=>e&&e.h===g)(t)?t:b(null,null,t);if(o=a.tagName,d.U&&(h.l=h.l||{},d.U.map((([e,t])=>h.l[t]=a[e]))),r&&h.l)for(const e of Object.keys(h.l))a.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(h.l[e]=a[e]);if(h.h=null,h.$|=4,e.L=h,h.v=$.v=a.shadowRoot||a,n=a["s-sc"],l=a["s-cr"],s=0!=(1&d.$),i=!1,J($,h),Le.$|=1,c){X(h.v);for(const e of Q){const t=e.C;if(!t["s-ol"]){const e=Te.createTextNode("");e["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of Q){const t=e.C,n=e.R;if(n){const e=n.parentNode;let l=n.nextSibling;{let n=null===(f=t["s-ol"])||void 0===f?void 0:f.previousSibling;for(;n;){let o=null!==(u=n["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}n=n.previousSibling}}(!l&&e!==t.parentNode||t.nextSibling!==l)&&t!==l&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),e.insertBefore(t,l))}else 1===t.nodeType&&(t.hidden=!0)}}i&&K(h.v),Le.$&=-2,Q.length=0})(e,t,f)}catch(t){Me(t,e.$hostElement$)}return null},ce=e=>{const t=e.$hostElement$,n=e.N,l=e.I;fe(n,"componentDidRender"),64&e.$?fe(n,"componentDidUpdate"):(e.$|=64,ue(t),fe(n,"componentDidLoad"),e.A(t),l||re()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&qe((()=>te(e,!1))),e.$&=-517},re=()=>{ue(Te.documentElement),qe((()=>M(Pe,"appload",{detail:{namespace:e}})))},fe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Me(e)}},ue=e=>e.classList.add("hydrated"),ae=(e,t,n)=>{var l;if(t.F){e.watchers&&(t.W=e.watchers);const o=Object.entries(t.F),s=e.prototype;if(o.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>Se(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=Se(e),s=o.$hostElement$,i=o.B.get(t),c=o.$,r=o.N;if(n=((e,t)=>null==e||y(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.B.set(t,n),r)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){Me(e,s)}}))}2==(18&c)&&te(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=Se(this);return n.H.then((()=>n.N[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,l,o){Le.jmp((()=>{const i=n.get(e);if(this.hasOwnProperty(i))o=this[i],delete this[i];else{if(s.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==o)return;if(null==i){const n=Se(this),s=null==n?void 0:n.$;if(!(8&s)&&128&s&&o!==l){const s=n.N,i=t.W[e];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,e)}))}return}}this[i]=(null!==o||"boolean"!=typeof this[i])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.W)&&void 0!==l?l:{}),...o.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.U.push([e,o]),o}))]))}}return e},de=e=>{fe(e,"connectedCallback")},$e=e=>{if(0==(1&Le.$)){const t=Se(e),n=t.T,l=()=>{};if(1&t.$)be(e,t,n.V),(null==t?void 0:t.N)?de(t.N):(null==t?void 0:t.q)&&t.q.then((()=>de(t.N)));else{let l;if(t.$|=1,l=e.getAttribute(a),l){if(1&n.$){const t=N(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,c=l.L=w(t,null);Le._||x(Te.body,Le._=new Map),e[a]=n,e.removeAttribute(a),S(c,s,[],i,e,e,n),s.map((e=>{const n=e.p+"."+e.m,l=Le._.get(n),s=e.v;l&&Ue&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Le._.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&he(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ee(t,t.I=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),qe((()=>(async(e,t,n)=>{let l;if(0==(32&t.$)){t.$|=32;{if(l=Ie(n),l.then){const e=()=>{};l=await l,e()}l.isProxied||(n.W=l.watchers,ae(l,n,2),l.isProxied=!0);const e=()=>{};t.$|=8;try{new l(t)}catch(e){Me(e)}t.$&=-9,t.$|=128,e(),de(t.N)}if(l.style){let e=l.style;const t=P(n);if(!Ne.has(t)){const l=()=>{};I(t,e,!!(1&n.$)),l()}}}const o=t.I,s=()=>te(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,n)))}l()}},he=e=>{const t=e["s-cr"]=Te.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},ve=e=>{fe(e,"disconnectedCallback")},pe=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&Le.$)&&2&Se(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},ye=(e,t={})=>{var n;const l=[],o=t.exclude||[],s=Pe.customElements,i=Te.head,c=i.querySelector("meta[charset]"),r=Te.createElement("style"),f=[],u=Te.querySelectorAll(`[${d}]`);let a,$=!0,v=0;for(Object.assign(Le,t),Le.G=new URL(t.resourcesUrl||"./",Te.baseURI).href,Le.$|=2;v<u.length;v++)I(u[v].getAttribute(d),T(u[v].innerHTML),!0);let p=!1;if(e.map((e=>{e[1].map((t=>{var n;const i={$:t[0],S:t[1],F:t[2],V:t[3]};4&i.$&&(p=!0),i.F=t[2],i.V=t[3],i.U=[],i.W=null!==(n=t[4])&&void 0!==n?n:{};const c=i.S,r=class extends HTMLElement{constructor(e){super(e),Ce(e=this,i),1&i.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&i.$)})}connectedCallback(){a&&(clearTimeout(a),a=null),$?f.push(this):Le.jmp((()=>$e(this)))}disconnectedCallback(){Le.jmp((()=>(async()=>{if(0==(1&Le.$)){const e=Se(this);e.J&&(e.J.map((e=>e())),e.J=void 0),(null==e?void 0:e.N)?ve(e.N):(null==e?void 0:e.q)&&e.q.then((()=>ve(e.N)))}})()))}componentOnReady(){return Se(this).q}};pe(r.prototype,i),i.K=e[0],o.includes(c)||s.get(c)||(l.push(c),s.define(c,ae(r,i,1)))}))})),p&&(r.innerHTML+=h),r.innerHTML+=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.innerHTML.length){r.setAttribute("data-styles",""),i.insertBefore(r,c?c.nextSibling:i.firstChild);const e=null!==(n=Le.O)&&void 0!==n?n:m(Te);null!=e&&r.setAttribute("nonce",e)}$=!1,f.length?f.map((e=>e.connectedCallback())):Le.jmp((()=>a=setTimeout(re,30)))},me=(e,t)=>t,be=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ge(e,n),i=we(t,o),c=ke(n);Le.ael(s,l,i,c),(t.J=t.J||[]).push((()=>Le.rel(s,l,i,c)))}))},we=(e,t)=>n=>{try{256&e.$?e.N[t](n):(e.P=e.P||[]).push([t,n])}catch(e){Me(e)}},ge=(e,t)=>4&t?Te:8&t?Pe:16&t?Te.body:e,ke=e=>0!=(2&e),je=e=>Le.O=e,Oe=new WeakMap,Se=e=>Oe.get(e),xe=(e,t)=>Oe.set(t.N=e,t),Ce=(e,t)=>{const n={$:0,$hostElement$:e,T:t,B:new Map};return n.H=new Promise((e=>n.D=e)),n.q=new Promise((e=>n.A=e)),e["s-p"]=[],e["s-rc"]=[],be(e,n,t.V),Oe.set(e,n)},Re=(e,t)=>t in e,Me=(e,t)=>(0,console.error)(e,t),Ee=new Map,Ie=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Ee.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Ee.set(n,e),e[t])),Me)
|
|
5
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ne=new Map,Pe="undefined"!=typeof window?window:{},Te=Pe.document||{head:{}},Le={$:0,G:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},Ue=!0,Ae=e=>Promise.resolve(e),De=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Fe=[],We=[],Be=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&Le.$?qe(Ve):Le.raf(Ve))},He=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){Me(e)}e.length=0},Ve=()=>{He(Fe),He(We),(f=Fe.length>0)&&Le.raf(Ve)},qe=e=>Ae().then(e),_e=Be(We,!0);export{u as B,t as E,
|
|
4
|
+
const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.18"};let n,l,o,s=!1,i=!1,c=!1,r=!1,f=!1;const u={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},a="s-id",d="sty-id",$="c-id",h="slot-fb{display:contents}slot-fb[hidden]{display:none}",v="http://www.w3.org/1999/xlink",p={},m=e=>"object"==(e=typeof e)||"function"===e;function y(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,c=!1;const r=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!m(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,k);const u=w(e,null);return u.l=t,r.length>0&&(u.o=r),u.i=o,u.u=s,u},w=(e,t)=>({$:0,h:e,t,v:null,o:null,l:null,i:null,u:null}),g={},k={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(O)},j=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.h,vtext:e.t}),O=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},S=(e,t,n,l,o,s,i)=>{let c,r,f,u;if(1===s.nodeType){for(c=s.getAttribute($),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={$:0,p:r[0],m:r[1],k:r[2],j:r[3],h:s.tagName.toLowerCase(),v:s,l:null,o:null,i:null,u:null,t:null},t.push(f),s.removeAttribute($),e.o||(e.o=[]),e.o[f.j]=f,e=f,l&&"0"===f.k&&(l[f.j]=f.v))),u=s.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.childNodes[u],i);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.shadowRoot.childNodes[u],i)}else if(8===s.nodeType)r=s.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={$:0,p:r[1],m:r[2],k:r[3],j:r[4],v:s,l:null,o:null,i:null,u:null,h:null,t:null},"t"===c?(f.v=s.nextSibling,f.v&&3===f.v.nodeType&&(f.t=f.v.textContent,t.push(f),s.remove(),e.o||(e.o=[]),e.o[f.j]=f,l&&"0"===f.k&&(l[f.j]=f.v))):f.p===i&&("s"===c?(f.h="slot",s["s-sn"]=r[5]?f.u=r[5]:"",s["s-sr"]=!0,l&&(f.v=Te.createElement(f.h),f.u&&f.v.setAttribute("name",f.u),s.parentNode.insertBefore(f.v,s),s.remove(),"0"===f.k&&(l[f.j]=f.v)),n.push(f),e.o||(e.o=[]),e.o[f.j]=f):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.h){const t=w(null,s.textContent);t.v=s,t.j="0",e.o=[t]}},x=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)x(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)x(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},C=e=>Se(e).$hostElement$,R=(e,t,n)=>{const l=C(e);return{emit:e=>M(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},M=(e,t,n)=>{const l=Le.ce(t,n);return e.dispatchEvent(l),l},E=new WeakMap,I=(e,t,n)=>{let l=Ne.get(e);De&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Ne.set(e,l)},N=(e,t)=>{var n;const l=P(t),o=Ne.get(l);if(e=11===e.nodeType?e:Te,o)if("string"==typeof o){let s,i=E.get(e=e.head||e);if(i||E.set(e,i=new Set),!i.has(l)){if(e.host&&(s=e.querySelector(`[${d}="${l}"]`)))s.innerHTML=o;else{s=Te.createElement("style"),s.innerHTML=o;const t=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.$&&(s.innerHTML+=h),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},P=e=>"sc-"+e.S,T=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,o,s)=>{if(n!==l){let i=Re(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=A(n),s=A(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=m(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(v,t):e.removeAttribute(t)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(v,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):Re(Pe,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(D);t=t.replace(F,""),n&&Le.rel(e,t,n,o),l&&Le.ael(e,t,l,o)}}},U=/\s/,A=e=>e?e.split(U):[],D="Capture",F=RegExp(D+"$"),W=(e,t,n,l)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,s=e&&e.l||p,i=t.l||p;for(l in s)l in i||L(o,l,s[l],void 0,n,t.$);for(l in i)L(o,l,s[l],i[l],n,t.$)},B=(e,t,i,f)=>{var u;const a=t.o[i];let d,$,h,v=0;if(s||(c=!0,"slot"===a.h&&(n&&f.classList.add(n+"-s"),a.$|=a.o?2:1)),null!==a.t)d=a.v=Te.createTextNode(a.t);else if(1&a.$)d=a.v=Te.createTextNode("");else{if(r||(r="svg"===a.h),d=a.v=Te.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&a.$?"slot-fb":a.h),r&&"foreignObject"===a.h&&(r=!1),W(null,a,r),null!=n&&d["s-si"]!==n&&d.classList.add(d["s-si"]=n),a.o)for(v=0;v<a.o.length;++v)$=B(e,a,v,d),$&&d.appendChild($);"svg"===a.h?r=!1:"foreignObject"===d.tagName&&(r=!0)}return d["s-hn"]=o,3&a.$&&(d["s-sr"]=!0,d["s-fs"]=null===(u=a.l)||void 0===u?void 0:u.slot,d["s-cr"]=l,d["s-sn"]=a.u||"",h=e&&e.o&&e.o[i],h&&h.h===a.h&&e.v&&H(e.v,!1)),d},H=(e,t)=>{var n;Le.$|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const s=l[e];s["s-hn"]!==o&&s["s-ol"]&&(G(s).insertBefore(s,z(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,1===s.nodeType&&s.setAttribute("slot",null!==(n=s["s-sn"])&&void 0!==n?n:""),c=!0),t&&H(s,t)}Le.$&=-2},V=(e,t,n,l,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===o&&(r=r.shadowRoot);s<=i;++s)l[s]&&(c=B(null,n,s,e),c&&(l[s].v=c,r.insertBefore(c,z(t))))},q=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;Z(t),e&&(i=!0,e["s-ol"]?e["s-ol"].remove():H(e,!0),e.remove())}}},_=(e,t)=>e.h===t.h&&("slot"===e.h?e.u===t.u:e.i===t.i),z=e=>e&&e["s-ol"]||e,G=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,J=(e,t)=>{const n=t.v=e.v,l=e.o,o=t.o,s=t.h,i=t.t;let c;null===i?(r="svg"===s||"foreignObject"!==s&&r,"slot"===s||W(e,t,r),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,c=0,r=0,f=0,u=t.length-1,a=t[0],d=t[u],$=l.length-1,h=l[0],v=l[$];for(;i<=u&&c<=$;)if(null==a)a=t[++i];else if(null==d)d=t[--u];else if(null==h)h=l[++c];else if(null==v)v=l[--$];else if(_(a,h))J(a,h),a=t[++i],h=l[++c];else if(_(d,v))J(d,v),d=t[--u],v=l[--$];else if(_(a,v))"slot"!==a.h&&"slot"!==v.h||H(a.v.parentNode,!1),J(a,v),e.insertBefore(a.v,d.v.nextSibling),a=t[++i],v=l[--$];else if(_(d,h))"slot"!==a.h&&"slot"!==v.h||H(d.v.parentNode,!1),J(d,h),e.insertBefore(d.v,a.v),d=t[--u],h=l[++c];else{for(r=-1,f=i;f<=u;++f)if(t[f]&&null!==t[f].i&&t[f].i===h.i){r=f;break}r>=0?(s=t[r],s.h!==h.h?o=B(t&&t[c],n,r,e):(J(s,h),t[r]=void 0,o=s.v),h=l[++c]):(o=B(t&&t[c],n,c,e),h=l[++c]),o&&G(a.v).insertBefore(o,z(a.v))}i>u?V(e,null==l[$+1]?null:l[$+1].v,n,l,c,$):c>$&&q(t,i,u)})(n,l,t,o):null!==o?(null!==e.t&&(n.textContent=""),V(n,null,t,o,0,o.length-1)):null!==l&&q(l,0,l.length-1),r&&"svg"===s&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.t!==i&&(n.data=i)},K=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}K(e)}},Q=[],X=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(Y(t,e)){let n=Q.find((e=>e.C===t));i=!0,t["s-sn"]=t["s-sn"]||e,n?(n.C["s-sh"]=o["s-hn"],n.R=o):(t["s-sh"]=o["s-hn"],Q.push({R:o,C:t})),t["s-sr"]&&Q.map((e=>{Y(e.C,t["s-sn"])&&(n=Q.find((e=>e.C===t)),n&&!e.R&&(e.R=n.R))}))}else Q.some((e=>e.C===t))||Q.push({C:t})}1===o.nodeType&&X(o)}},Y=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Z=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Z)},ee=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},te=(e,t)=>{if(e.$|=16,!(4&e.$))return ee(e,e.I),_e((()=>ne(e,t)));e.$|=512},ne=(e,t)=>{const n=e.N;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>fe(n,e,t))),e.P=void 0),l=fe(n,"componentWillLoad")),l=le(l,(()=>fe(n,"componentWillRender"))),le(l,(()=>se(e,n,t)))},le=(e,t)=>oe(e)?e.then(t):t(),oe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,se=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.T,n=e.$hostElement$,l=t.$,o=N(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);ie(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},ie=(e,t,r,f)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t,r=!1)=>{var f,u;const a=e.$hostElement$,d=e.T,$=e.L||w(null,null),h=(e=>e&&e.h===g)(t)?t:b(null,null,t);if(o=a.tagName,d.U&&(h.l=h.l||{},d.U.map((([e,t])=>h.l[t]=a[e]))),r&&h.l)for(const e of Object.keys(h.l))a.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(h.l[e]=a[e]);if(h.h=null,h.$|=4,e.L=h,h.v=$.v=a.shadowRoot||a,n=a["s-sc"],l=a["s-cr"],s=0!=(1&d.$),i=!1,J($,h),Le.$|=1,c){X(h.v);for(const e of Q){const t=e.C;if(!t["s-ol"]){const e=Te.createTextNode("");e["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of Q){const t=e.C,n=e.R;if(n){const e=n.parentNode;let l=n.nextSibling;{let n=null===(f=t["s-ol"])||void 0===f?void 0:f.previousSibling;for(;n;){let o=null!==(u=n["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}n=n.previousSibling}}(!l&&e!==t.parentNode||t.nextSibling!==l)&&t!==l&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),e.insertBefore(t,l))}else 1===t.nodeType&&(t.hidden=!0)}}i&&K(h.v),Le.$&=-2,Q.length=0})(e,t,f)}catch(t){Me(t,e.$hostElement$)}return null},ce=e=>{const t=e.$hostElement$,n=e.N,l=e.I;fe(n,"componentDidRender"),64&e.$?fe(n,"componentDidUpdate"):(e.$|=64,ue(t),fe(n,"componentDidLoad"),e.A(t),l||re()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&qe((()=>te(e,!1))),e.$&=-517},re=()=>{ue(Te.documentElement),qe((()=>M(Pe,"appload",{detail:{namespace:e}})))},fe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Me(e)}},ue=e=>e.classList.add("hydrated"),ae=(e,t,n)=>{var l;if(t.F){e.watchers&&(t.W=e.watchers);const o=Object.entries(t.F),s=e.prototype;if(o.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>Se(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=Se(e),s=o.$hostElement$,i=o.B.get(t),c=o.$,r=o.N;if(n=((e,t)=>null==e||m(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.B.set(t,n),r)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){Me(e,s)}}))}2==(18&c)&&te(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=Se(this);return n.H.then((()=>n.N[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,l,o){Le.jmp((()=>{const i=n.get(e);if(this.hasOwnProperty(i))o=this[i],delete this[i];else{if(s.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==o)return;if(null==i){const n=Se(this),s=null==n?void 0:n.$;if(!(8&s)&&128&s&&o!==l){const s=n.N,i=t.W[e];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,e)}))}return}}this[i]=(null!==o||"boolean"!=typeof this[i])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.W)&&void 0!==l?l:{}),...o.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.U.push([e,o]),o}))]))}}return e},de=e=>{fe(e,"connectedCallback")},$e=e=>{if(0==(1&Le.$)){const t=Se(e),n=t.T,l=()=>{};if(1&t.$)be(e,t,n.V),(null==t?void 0:t.N)?de(t.N):(null==t?void 0:t.q)&&t.q.then((()=>de(t.N)));else{let l;if(t.$|=1,l=e.getAttribute(a),l){if(1&n.$){const t=N(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,c=l.L=w(t,null);Le._||x(Te.body,Le._=new Map),e[a]=n,e.removeAttribute(a),S(c,s,[],i,e,e,n),s.map((e=>{const n=e.p+"."+e.m,l=Le._.get(n),s=e.v;l&&Ue&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Le._.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&he(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ee(t,t.I=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),qe((()=>(async(e,t,n)=>{let l;if(0==(32&t.$)){t.$|=32;{if(l=Ie(n),l.then){const e=()=>{};l=await l,e()}l.isProxied||(n.W=l.watchers,ae(l,n,2),l.isProxied=!0);const e=()=>{};t.$|=8;try{new l(t)}catch(e){Me(e)}t.$&=-9,t.$|=128,e(),de(t.N)}if(l.style){let e=l.style;const t=P(n);if(!Ne.has(t)){const l=()=>{};I(t,e,!!(1&n.$)),l()}}}const o=t.I,s=()=>te(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,n)))}l()}},he=e=>{const t=e["s-cr"]=Te.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},ve=e=>{fe(e,"disconnectedCallback")},pe=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&Le.$)&&2&Se(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},me=(e,t={})=>{var n;const l=t.exclude||[],o=Pe.customElements,s=Te.head,i=s.querySelector("meta[charset]"),c=Te.createElement("style"),r=[],f=Te.querySelectorAll(`[${d}]`);let u,a=!0,$=0;for(Object.assign(Le,t),Le.G=new URL(t.resourcesUrl||"./",Te.baseURI).href,Le.$|=2;$<f.length;$++)I(f[$].getAttribute(d),T(f[$].innerHTML),!0);let v=!1;if(e.map((e=>{e[1].map((t=>{var n;const s={$:t[0],S:t[1],F:t[2],V:t[3]};4&s.$&&(v=!0),s.F=t[2],s.V=t[3],s.U=[],s.W=null!==(n=t[4])&&void 0!==n?n:{};const i=s.S,c=class extends HTMLElement{constructor(e){super(e),Ce(e=this,s),1&s.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&s.$)})}connectedCallback(){u&&(clearTimeout(u),u=null),a?r.push(this):Le.jmp((()=>$e(this)))}disconnectedCallback(){Le.jmp((()=>(async()=>{if(0==(1&Le.$)){const e=Se(this);e.J&&(e.J.map((e=>e())),e.J=void 0),(null==e?void 0:e.N)?ve(e.N):(null==e?void 0:e.q)&&e.q.then((()=>ve(e.N)))}})()))}componentOnReady(){return Se(this).q}};pe(c.prototype,s),s.K=e[0],l.includes(i)||o.get(i)||o.define(i,ae(c,s,1))}))})),v&&(c.innerHTML+=h),c.innerHTML.length){c.setAttribute("data-styles",""),s.insertBefore(c,i?i.nextSibling:s.firstChild);const e=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=e&&c.setAttribute("nonce",e)}a=!1,r.length?r.map((e=>e.connectedCallback())):Le.jmp((()=>u=setTimeout(re,30)))},ye=(e,t)=>t,be=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ge(e,n),i=we(t,o),c=ke(n);Le.ael(s,l,i,c),(t.J=t.J||[]).push((()=>Le.rel(s,l,i,c)))}))},we=(e,t)=>n=>{try{256&e.$?e.N[t](n):(e.P=e.P||[]).push([t,n])}catch(e){Me(e)}},ge=(e,t)=>4&t?Te:8&t?Pe:16&t?Te.body:e,ke=e=>0!=(2&e),je=e=>Le.O=e,Oe=new WeakMap,Se=e=>Oe.get(e),xe=(e,t)=>Oe.set(t.N=e,t),Ce=(e,t)=>{const n={$:0,$hostElement$:e,T:t,B:new Map};return n.H=new Promise((e=>n.D=e)),n.q=new Promise((e=>n.A=e)),e["s-p"]=[],e["s-rc"]=[],be(e,n,t.V),Oe.set(e,n)},Re=(e,t)=>t in e,Me=(e,t)=>(0,console.error)(e,t),Ee=new Map,Ie=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Ee.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Ee.set(n,e),e[t])),Me)
|
|
5
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ne=new Map,Pe="undefined"!=typeof window?window:{},Te=Pe.document||{head:{}},Le={$:0,G:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},Ue=!0,Ae=e=>Promise.resolve(e),De=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Fe=[],We=[],Be=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&Le.$?qe(Ve):Le.raf(Ve))},He=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){Me(e)}e.length=0},Ve=()=>{He(Fe),He(We),(f=Fe.length>0)&&Le.raf(Ve)},qe=e=>Ae().then(e),_e=Be(We,!0);export{u as B,t as E,ye as F,g as H,e as N,me as b,R as c,Te as d,C as g,b as h,Ae as p,xe as r,je as s}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import{r as e,h as r,H as t,g as o}from"./p-f832d9f4.js";import{i as a}from"./p-d48735b6.js";import{n as d}from"./p-432baa8a.js";const n=class{constructor(r){e(this,r),this.theme="",this.variation="default",this.background="normal",this.margin="auto"}componentWillLoad(){a(this)}componentDidLoad(){d()}render(){return r(t,{class:{"duet-m-0":"none"===this.margin}},r("div",{class:{"duet-badge":!0,[this.variation]:!0,[`background-${this.background}`]:!0,"duet-theme-turva":"turva"===this.theme}},r("slot",null)))}get element(){return o(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}';export{n as duet_badge}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import{r as e,c,h as t,H as o,g as i}from"./p-f832d9f4.js";import{i as d}from"./p-d48735b6.js";import{h}from"./p-f8c76b25.js";import{D as s}from"./p-dade978b.js";import{c as r}from"./p-45f71a69.js";import{F as a}from"./p-8341e3d0.js";import{i as u,h as n,f as l}from"./p-cc1909de.js";import{g as b,a as p,c as g,d as m}from"./p-4883df66.js";import{n as f}from"./p-432baa8a.js";import"./p-1a395a8d.js";const k=class{constructor(t){e(this,t),this.duetChoiceReady=c(this,"duetChoiceReady",7),this.duetChoiceRemove=c(this,"duetChoiceRemove",7),this.duetChange=c(this,"duetChange",7),this.duetFocus=c(this,"duetFocus",7),this.duetBlur=c(this,"duetBlur",7),this.hasHeader=!1,this.choiceId=r("DuetChoice"),this.expandId=r("DuetChoiceExpand"),this.headerId=r("DuetChoiceHeader"),this.infoButtonId=r("DuetChoiceInfoButton"),this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1},this.onClick=e=>{this.toggleChecked(e)},this.handleKeyDown=e=>{u(e)&&this.toggleChecked(e),n(e)&&this.hasInfo&&this.toggleInfo()},this.onChange=()=>{this.checked=this.nativeInput.checked||!1,this.duetChange.emit({checked:this.checked,value:this.value,component:"duet-choice"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.toggleChecked=e=>{e.preventDefault(),e.stopPropagation(),this.getDisabled()||(this.isInfoOpen=!1,"radio"===this.type&&this.checked||(this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})))},this.toggleInfo=()=>{this.isInfoOpen=!this.isInfoOpen,this.isInfoOpen&&setTimeout((()=>{var e;null===(e=this.infoContainer)||void 0===e||e.focus()}))},this.isHovering=!1,this.isInfoOpen=!1,this.isBlurred=!1,this.theme="",this.label="label",this.accessibleLabelInfoButtonDefaults=s,this.accessibleLabelInfoButton=b(this.accessibleLabelInfoButtonDefaults),this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.caption="",this.value=void 0,this.type="checkbox",this.name=void 0,this.checked=!1,this.collapsible=!1,this.collapsibleForceExpanded=!1,this.margin="auto",this.icon="",this.expand=!1,this.padding="auto",this.identifier=void 0,this.groupDirection=void 0,this.groupDisabled=void 0,this.groupResponsive=void 0,this.disabled=!1,this.required=!1,this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"},this.infoLabel=b(this.infoLabelDefaults,p())}componentWillLoad(){d(this),this.hasInfo=h(this.element,"info"),this.hasHeader=h(this.element,"header"),this.hasAdditional=h(this.element,"additional"),this.hasLabel=h(this.element,"label"),this.hasBeforeText=h(this.element,"before-text"),this.duetChoiceReady.emit()}componentDidLoad(){f()}connectedCallback(){g(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"}])}disconnectedCallback(){m(this),this.duetChoiceRemove.emit()}handleHostBlur(e){this.hasInfo&&this.isInfoOpen&&this.isKeyDown&&(this.element.contains(null==e?void 0:e.relatedTarget)||this.toggleInfo())}handleHostKeyDown(){this.isKeyDown=!0}handleHostKeyUp(e){this.isKeyDown=!1,l(e)&&this.isInfoOpen&&this.toggleInfo()}async setFocus(e){this.nativeInput.focus(e)}async toggleInfoMethod(){this.isInfoOpen=!this.isInfoOpen}getAriaDescribedby(){return this.accessibleDescribedBy?this.accessibleDescribedBy:this.collapsible||this.hasInfo?this.hasHeader?this.headerId:this.expandId:null}getDisabled(){return this.disabled||this.groupDisabled}getExpanded(){return this.checked||this.collapsibleForceExpanded}getClassNames(){return this.hasInfo&&!this.collapsible?{checked:this.checked,"duet-choice-card-info":!0,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":"turva"===this.theme}:!this.hasInfo&&this.collapsible?{checked:this.checked,"duet-choice-card-collapsible":!0,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":"turva"===this.theme}:{checked:this.checked,"duet-choice-default-slot":!0}}render(){const e=this.element.closest("duet-choice-group"),c=e?e.label:void 0,i=this.identifier||this.choiceId;return t(o,{class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin,"duet-expand":this.expand,"duet-theme-turva":"turva"===this.theme,"no-hover":this.isHovering,disabled:this.getDisabled()}},t("div",{class:{"duet-choice-card-flextainer":!0,"duet-theme-turva":"turva"===this.theme}},t("div",{class:{"duet-choice-card":!0,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":"none"===this.padding}},t("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:i,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:e=>this.nativeInput=e}),t("label",{htmlFor:i,class:{"duet-choice-label":!0,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&t("slot",{name:"before-text"}),this.icon&&t("div",{class:"duet-choice-card-icon"},t("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),t("div",{class:"duet-choice-card-text"},c&&t("duet-visually-hidden",null,c,", "),t("div",null,this.hasLabel?t("slot",{name:"label"}):this.label),this.caption&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("slot",{name:"additional"}))),t("div",null,t("div",{class:{"duet-checkmark-container":!0,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&t("button",{ref:e=>this.infoButtonEl=e,id:this.infoButtonId,class:{"duet-choice-info-toggle":!0,"duet-theme-turva":"turva"===this.theme},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:"radio"!==this.type||this.checked?"0":"-1",type:"button"},t("duet-visually-hidden",{"aria-hidden":this.isBlurred?"false":"true"},this.accessibleLabelInfoButton),t("div",{class:"duet-choice-info-icon"},t("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>',margin:"none",size:"small",color:"currentColor"})))),this.collapsible||this.hasInfo?t("div",{class:this.getClassNames(),id:this.expandId},t("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},t("span",{id:this.headerId},t("slot",{name:"header"})),this.hasInfo?t("span",{ref:e=>this.infoContainer=e,tabindex:"0",class:"duet-choice-info-container"},t("span",{"aria-relevant":"all","aria-atomic":"true","aria-live":this.isInfoOpen?"polite":"off"},t("slot",{name:"info"})),t("slot",null)):t("span",null,t("slot",null))),this.isInfoOpen&&t(a,{moveFocusTo:this.infoButtonEl})):null)}get element(){return i(this)}};k.style='*.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}';const v=class{constructor(c){e(this,c),this.choiceGroupName="duet-choice-group",this.choices=new Set,this.onSelect=e=>{if("duet-choice"!==e.detail.component)return;const c=e.target;c&&this.choices.has(c)&&(this.value=c.value)},this.onChoiceReady=e=>{const c=e.target;c.closest("duet-choice-group")!==this.element||this.choices.has(c)||(this.choices.add(c),this.updateChoices())},this.onChoiceRemove=e=>{this.choices.delete(e.target),this.updateChoices()},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption=void 0,this.tooltip=void 0,this.tooltipDirection="auto",this.responsive=!1,this.breakpoint="small",this.value=void 0,this.disabled=void 0}async connectedCallback(){this.initialValue=this.value,this.updateChoices()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){d(this)}componentDidLoad(){f()}async updateChoices(){var e;const c=null!==(e=this.value)&&void 0!==e?e:this.initialValue;let t=!1;for(const e of this.choices)e.name=this.name,e.groupDisabled=this.disabled,e.groupDirection=this.direction,e.groupResponsive=this.responsive,t||e.value!==c?e.checked=!1:(t=!0,e.checked=!0,void 0===this.value&&(this.value=c));t||(this.value=void 0)}render(){return t(o,{onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,onDuetChoiceRemove:this.onChoiceRemove,class:{horizontal:"horizontal"===this.direction,"duet-choice-group-breakpoint-x-small":this.responsive&&"x-small"===this.breakpoint,"duet-choice-group-breakpoint-small":this.responsive&&"small"===this.breakpoint,"duet-choice-group-breakpoint-medium":this.responsive&&"medium"===this.breakpoint,"duet-choice-group-breakpoint-large":this.responsive&&"large"===this.breakpoint,"duet-choice-group-breakpoint-x-large":this.responsive&&"x-large"===this.breakpoint}},t("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:!0,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme},this.tooltip&&t("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),t("div",{class:{[this.choiceGroupName]:!0,"duet-no-stacking":!this.responsive}},t("slot",null))))}get element(){return i(this)}static get watchers(){return{value:["updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}}};v.style="*.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}";export{k as duet_choice,v as duet_choice_group}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-1c05d649.system.js","./p-77b6e4ba.system.js"],(function(e){"use strict";var a,t,i,n;return{setters:[function(e){a=e.r;t=e.h;i=e.H},function(e){n=e.i}],execute:function(){var r='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}';var s=e("duet_shaped_image",function(){function e(e){a(this,e);this.theme="";this.accessibleLabel=undefined;this.margin="auto";this.src=undefined;this.rotation=7}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e={"--rotation":"".concat(this.rotation,"deg")};return t(i,{class:{"duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},t("span",{class:{"shaped-image":true},role:"img","aria-label":this.accessibleLabel,style:e},t("span",{class:"shaped-image-mask",role:"presentation"},t("span",{class:"shaped-image-img",role:"presentation",style:{backgroundImage:'url("'.concat(this.src,'")')}}))))};return e}());s.style=r}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-1c05d649.system.js","./p-885b38a9.system.js","./p-77b6e4ba.system.js","./p-155b532a.system.js"],(function(e){"use strict";var t,n,i,a,r,o,s;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g},function(e){r=e.a},function(e){o=e.i},function(e){s=e.n}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';var l=e("duet_menu_bar_link",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="x-small";this.theme="";this.active=false;this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.componentDidLoad=function(){s()};e.prototype.connectedCallback=function(){this.changeIconSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.render=function(){return n(i,null,n("a",{class:{"duet-menu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());l.style=u}}}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
6
|
import { c as createID } from './create-id-2b0cd46d.js';
|
|
7
7
|
import { d as debounce } from './js-utils-a35dcc8c.js';
|
|
8
8
|
import { i as isKeyboardClick } from './keyboard-utils-5746e126.js';
|
|
9
9
|
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-9ff76444.js';
|
|
10
|
-
import { n as nudge } from './nudge-
|
|
10
|
+
import { n as nudge } from './nudge-350af17e.js';
|
|
11
11
|
import { c as capitalizeFirstLetter, g as getColorByName, s as shadeRGBColor } from './token-utils-46c8fe31.js';
|
|
12
12
|
import './string-utils-59ad4cb2.js';
|
|
13
13
|
import './tokens.module-c7944140.js';
|
|
@@ -92,7 +92,7 @@ const DuetActionButton = class {
|
|
|
92
92
|
inheritGlobalTheme(this);
|
|
93
93
|
}
|
|
94
94
|
componentDidLoad() {
|
|
95
|
-
nudge(
|
|
95
|
+
nudge();
|
|
96
96
|
}
|
|
97
97
|
connectedCallback() {
|
|
98
98
|
connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelsDefaults" });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
6
|
import { c as createID } from './create-id-2b0cd46d.js';
|
|
7
7
|
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-9ff76444.js';
|
|
8
|
-
import { n as nudge } from './nudge-
|
|
8
|
+
import { n as nudge } from './nudge-350af17e.js';
|
|
9
9
|
import './string-utils-59ad4cb2.js';
|
|
10
10
|
|
|
11
11
|
const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert{margin-bottom:16px !important;position:relative;width:100%;padding:16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert.duet-p-0{padding:0 !important}.duet-alert.duet-m-0{margin:0 !important}.duet-alert.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert.warning.duet-theme-turva{background:#fffaf3;border-color:rgb(250, 164, 15)}.duet-alert.danger{background:#fdf4f7;border-color:rgb(222, 35, 98)}.duet-alert.danger.duet-theme-turva{background:#fdf4f3;border-color:rgb(224, 42, 13)}.duet-alert.success{background:#f2f9f7;border-color:rgb(0, 135, 90)}.duet-alert.success.duet-theme-turva{background:#f3f9f6;border-color:rgb(8, 135, 78)}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-is-dismissible .duet-alert-container{text-align:left}";
|
|
@@ -56,7 +56,7 @@ const DuetAlert = class {
|
|
|
56
56
|
if (this.autoDismiss) {
|
|
57
57
|
this.timeoutID = setTimeout(() => this.handleDismiss(), this.autoDismiss);
|
|
58
58
|
}
|
|
59
|
-
nudge(
|
|
59
|
+
nudge();
|
|
60
60
|
}
|
|
61
61
|
connectedCallback() {
|
|
62
62
|
connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelDefaults" });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
|
-
import { n as nudge } from './nudge-
|
|
6
|
+
import { n as nudge } from './nudge-350af17e.js';
|
|
7
7
|
|
|
8
8
|
const duetBadgeCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}";
|
|
9
9
|
|
|
@@ -22,7 +22,7 @@ const DuetBadge = class {
|
|
|
22
22
|
inheritGlobalTheme(this);
|
|
23
23
|
}
|
|
24
24
|
componentDidLoad() {
|
|
25
|
-
nudge(
|
|
25
|
+
nudge();
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* render() function
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
|
-
import { n as nudge } from './nudge-
|
|
6
|
+
import { n as nudge } from './nudge-350af17e.js';
|
|
7
7
|
import { g as getColorByName } from './token-utils-46c8fe31.js';
|
|
8
8
|
import './tokens.module-c7944140.js';
|
|
9
9
|
|
|
@@ -33,7 +33,7 @@ const DuetBanner = class {
|
|
|
33
33
|
this.hasActionSlot = !!this.element.querySelector('[slot="action"]');
|
|
34
34
|
}
|
|
35
35
|
componentDidLoad() {
|
|
36
|
-
nudge(
|
|
36
|
+
nudge();
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* render() function
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
6
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './language-utils-9ff76444.js';
|
|
7
|
-
import { n as nudge } from './nudge-
|
|
7
|
+
import { n as nudge } from './nudge-350af17e.js';
|
|
8
8
|
import './string-utils-59ad4cb2.js';
|
|
9
9
|
|
|
10
10
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
@@ -32,7 +32,7 @@ const DuetBreadcrumb = class {
|
|
|
32
32
|
inheritGlobalTheme(this);
|
|
33
33
|
}
|
|
34
34
|
componentDidLoad() {
|
|
35
|
-
nudge(
|
|
35
|
+
nudge();
|
|
36
36
|
}
|
|
37
37
|
connectedCallback() {
|
|
38
38
|
connectLanguageChangeObserver(this);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
6
|
import { g as getLocaleString } from './language-utils-9ff76444.js';
|
|
7
7
|
import './string-utils-59ad4cb2.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './common-strings-71f2aabd.js';
|
|
7
7
|
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-9ff76444.js';
|
|
8
|
-
import { n as nudge } from './nudge-
|
|
8
|
+
import { n as nudge } from './nudge-350af17e.js';
|
|
9
9
|
import { g as getColorByName } from './token-utils-46c8fe31.js';
|
|
10
10
|
import './string-utils-59ad4cb2.js';
|
|
11
11
|
import './tokens.module-c7944140.js';
|
|
@@ -84,7 +84,7 @@ const DuetButton = class {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
componentDidLoad() {
|
|
87
|
-
nudge(
|
|
87
|
+
nudge();
|
|
88
88
|
}
|
|
89
89
|
connectedCallback() {
|
|
90
90
|
this.proxyButton = document.createElement("button");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
|
-
import { n as nudge } from './nudge-
|
|
6
|
+
import { n as nudge } from './nudge-350af17e.js';
|
|
7
7
|
|
|
8
8
|
const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout .author{color:rgb(0, 41, 77)}.duet-callout.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout.duet-theme-turva .author{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
|
|
9
9
|
|
|
@@ -22,7 +22,7 @@ const DuetCallout = class {
|
|
|
22
22
|
this.hasAuthorSlot = !!this.element.querySelector('[slot="author"]');
|
|
23
23
|
}
|
|
24
24
|
componentDidLoad() {
|
|
25
|
-
nudge(
|
|
25
|
+
nudge();
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* render() function
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
|
-
import { n as nudge } from './nudge-
|
|
6
|
+
import { n as nudge } from './nudge-350af17e.js';
|
|
7
7
|
import { s as sanitizeString } from './string-utils-59ad4cb2.js';
|
|
8
8
|
import { g as getColorByName, a as breakpointToToken } from './token-utils-46c8fe31.js';
|
|
9
9
|
import { a as actionArrowRight } from './action-arrow-right-f7d56681.js';
|
|
@@ -29,7 +29,7 @@ const DuetCaption = class {
|
|
|
29
29
|
inheritGlobalTheme(this);
|
|
30
30
|
}
|
|
31
31
|
componentDidLoad() {
|
|
32
|
-
nudge(
|
|
32
|
+
nudge();
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* render() function
|
|
@@ -69,7 +69,7 @@ const DuetHeading = class {
|
|
|
69
69
|
inheritGlobalTheme(this);
|
|
70
70
|
}
|
|
71
71
|
componentDidLoad() {
|
|
72
|
-
nudge(
|
|
72
|
+
nudge();
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
75
|
* render() function
|
|
@@ -123,7 +123,7 @@ const DuetLink = class {
|
|
|
123
123
|
this.initMediaQuery();
|
|
124
124
|
}
|
|
125
125
|
componentDidLoad() {
|
|
126
|
-
nudge(
|
|
126
|
+
nudge();
|
|
127
127
|
}
|
|
128
128
|
connectedCallback() {
|
|
129
129
|
connectLanguageChangeObserver(this, {
|
|
@@ -204,7 +204,7 @@ const DuetParagraph = class {
|
|
|
204
204
|
inheritGlobalTheme(this);
|
|
205
205
|
}
|
|
206
206
|
componentDidLoad() {
|
|
207
|
-
nudge(
|
|
207
|
+
nudge();
|
|
208
208
|
}
|
|
209
209
|
/**
|
|
210
210
|
* render() function
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
6
|
import { c as createID } from './create-id-2b0cd46d.js';
|
|
7
7
|
import { i as isKeyboardClick } from './keyboard-utils-5746e126.js';
|
|
8
|
-
import { n as nudge } from './nudge-
|
|
8
|
+
import { n as nudge } from './nudge-350af17e.js';
|
|
9
9
|
import { s as sanitizeString } from './string-utils-59ad4cb2.js';
|
|
10
10
|
import { g as getColorByName } from './token-utils-46c8fe31.js';
|
|
11
11
|
import './tokens.module-c7944140.js';
|
|
@@ -64,7 +64,7 @@ const DuetCard = class {
|
|
|
64
64
|
this.hasFooter = !!this.element.querySelector("[slot='footer']");
|
|
65
65
|
}
|
|
66
66
|
componentDidLoad() {
|
|
67
|
-
nudge(
|
|
67
|
+
nudge();
|
|
68
68
|
}
|
|
69
69
|
renderHeading() {
|
|
70
70
|
const safeHeadingLevel = sanitizeString(this.headingLevel);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
6
|
import { c as createID } from './create-id-2b0cd46d.js';
|
|
7
|
-
import { n as nudge } from './nudge-
|
|
7
|
+
import { n as nudge } from './nudge-350af17e.js';
|
|
8
8
|
|
|
9
9
|
const duetCheckboxCss = "*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-checkbox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-label.sc-duet-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(0, 41, 77);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(0, 41, 77);border:1px solid rgb(0, 41, 77)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:\"\";background:transparent url(\"data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E\") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(116, 116, 117)}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(207, 207, 209)}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(101, 119, 135);border:1px solid rgb(101, 119, 135)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(116, 116, 117);border-color:rgb(116, 116, 117)}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
10
10
|
|
|
@@ -77,7 +77,7 @@ const DuetCheckbox = class {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
componentDidLoad() {
|
|
80
|
-
nudge(
|
|
80
|
+
nudge();
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
83
|
* Sets focus on the specified `duet-checkbox`. Use this method instead of the global
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
6
|
|
|
7
7
|
const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(116, 116, 117)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(207, 210, 212) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(207, 207, 209) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(207, 210, 212) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(207, 207, 209) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-62aa2798.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-fdce4fd7.js';
|
|
6
6
|
import { c as createID } from './create-id-2b0cd46d.js';
|
|
7
|
-
import { n as nudge } from './nudge-
|
|
7
|
+
import { n as nudge } from './nudge-350af17e.js';
|
|
8
8
|
|
|
9
9
|
const duetChipCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(144, 149, 153);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(23, 28, 58)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:7px 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{background:rgb(230, 242, 248);border-color:rgb(230, 242, 248)}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241);border-color:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked button,.duet-chip-container.duet-chip-filter-checked label,.duet-chip-container.duet-chip-radio-checked button,.duet-chip-container.duet-chip-radio-checked label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230);border-color:rgb(228, 228, 230)}.duet-chip-container div.duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container div.duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}";
|
|
10
10
|
|
|
@@ -166,7 +166,7 @@ const DuetChip = class {
|
|
|
166
166
|
this.popupSetUp();
|
|
167
167
|
}
|
|
168
168
|
componentDidLoad() {
|
|
169
|
-
nudge(
|
|
169
|
+
nudge();
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
172
|
* Sets focus. Use this method instead of the global focus().
|