@duetds/components 9.12.0 → 9.12.2
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 +129 -154
- package/lib/cjs/{a11y-utils-17338d5a.js → a11y-utils-e59debeb.js} +1 -1
- package/lib/cjs/{app-globals-de9f3d43.js → app-globals-f559c48a.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- 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 +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +9 -9
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -5
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +4 -4
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +5 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-header_2.cjs.entry.js +10 -7
- package/lib/cjs/duet-hero.cjs.entry.js +5 -5
- package/lib/cjs/duet-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +6 -6
- package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
- package/lib/cjs/duet-overlay.cjs.entry.js +5 -4
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-progress.cjs.entry.js +4 -4
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +12 -12
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +4 -4
- package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-share-chart.cjs.entry.js +12 -21
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
- package/lib/cjs/duet-status-icon.cjs.entry.js +1 -1
- 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-item.cjs.entry.js +6 -6
- 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 +5 -5
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- 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-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{errorcodes.utils-59b11a3f.js → errorcodes.utils-803bdf0f.js} +1 -1
- package/lib/cjs/{floating-ui.dom.esm-bdde8521.js → floating-ui.dom.esm-806e7c53.js} +27 -50
- package/lib/cjs/{focus-utils-cb7618f0.js → focus-utils-aab4fc49.js} +1 -1
- package/lib/cjs/{index-f95ed539.js → index-9f14a370.js} +1 -1
- package/lib/cjs/{language-utils-13e031de.js → language-utils-db49b98b.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{slot-utils-f0500106.js → slot-utils-018275a5.js} +1 -1
- package/lib/cjs/themeable-component-59982a4b.js +62 -0
- package/lib/collection/common/themeable-component.js +45 -7
- package/lib/collection/components/duet-action-button/duet-action-button.css +9 -5
- 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-badge/duet-badge.css +4 -4
- package/lib/collection/components/duet-banner/duet-banner.js +1 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +2 -2
- package/lib/collection/components/duet-button/duet-button.css +8 -8
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-callout/duet-callout.css +1 -1
- package/lib/collection/components/duet-caption/duet-caption.css +1 -1
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.css +4 -4
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +4 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.css +8 -8
- package/lib/collection/components/duet-chip/duet-chip.js +6 -6
- package/lib/collection/components/duet-choice/duet-checkmark.css +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +19 -18
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +1 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.css +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +1 -1
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +9 -9
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.css +4 -0
- 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.css +2 -1
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +1 -1
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.css +3 -3
- 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-grid-item/duet-grid-item.css +1 -1
- package/lib/collection/components/duet-header/duet-header.css +17 -17
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.css +1 -1
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.css +3 -3
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-input/duet-input.css +22 -13
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.css +1 -1
- 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-link/duet-link.css +4 -4
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-list-item/duet-list-item.css +5 -5
- package/lib/collection/components/duet-logo/duet-logo.css +9 -0
- package/lib/collection/components/duet-logo/duet-logo.js +6 -3
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +1 -1
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +2 -2
- package/lib/collection/components/duet-modal/duet-modal.css +3 -3
- package/lib/collection/components/duet-modal/duet-modal.js +4 -4
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +11 -11
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
- package/lib/collection/components/duet-notification/duet-notification.css +4 -4
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +4 -3
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.css +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.css +1 -1
- package/lib/collection/components/duet-overlay/duet-overlay.js +3 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +1 -1
- package/lib/collection/components/duet-pagination/duet-pagination.css +1 -1
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +4 -1
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +4 -4
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +1 -1
- 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.css +3 -3
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-progress/duet-progress.css +3 -3
- package/lib/collection/components/duet-radio/duet-radio.css +7 -7
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +11 -14
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +1 -1
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +2 -2
- package/lib/collection/components/duet-select/duet-select.css +10 -20
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-share-chart/duet-share-chart.css +1 -1
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +7 -16
- package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.css +7 -7
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
- 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.css +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-submenu-bar/duet-submenu-bar.css +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +3 -3
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +3 -3
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +3 -3
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +5 -5
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +11 -11
- package/lib/collection/components/duet-table/duet-table.css +13 -13
- package/lib/collection/components/duet-textarea/duet-textarea.css +13 -10
- 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-toolbar/duet-toolbar.css +1 -1
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +5 -5
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +3 -3
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +7 -7
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +7 -7
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +8 -8
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-tray/duet-tray.css +5 -5
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +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 +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +9 -9
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +5 -5
- package/lib/dist-custom-elements/duet-combobox.js +17 -17
- 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 +15 -15
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +9 -9
- 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 +3 -3
- 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-item.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-modal.js +10 -10
- package/lib/dist-custom-elements/duet-multiselect.js +11 -11
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +13 -13
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- 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-phone-input.js +17 -17
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +4 -4
- package/lib/dist-custom-elements/duet-radio-group.js +9 -9
- package/lib/dist-custom-elements/duet-radio.js +3 -3
- 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 +2 -2
- package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
- package/lib/dist-custom-elements/duet-share-chart.js +11 -20
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel.js +4 -4
- package/lib/dist-custom-elements/duet-slideout.js +5 -5
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-status-icon.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +6 -6
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +5 -5
- package/lib/dist-custom-elements/duet-tab-group.js +15 -15
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +12 -12
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- 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-item.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-a736142a.js → p-0b77ee39.js} +4 -4
- package/lib/dist-custom-elements/{p-8e19ab0d.js → p-0c936fe5.js} +7 -7
- package/lib/dist-custom-elements/{p-ab9d3cc3.js → p-14f9f7a0.js} +1 -1
- package/lib/dist-custom-elements/{p-725d4f73.js → p-16f01714.js} +2 -2
- package/lib/dist-custom-elements/{p-12cf3255.js → p-1a647490.js} +6 -6
- package/lib/dist-custom-elements/{p-2c7f0e6d.js → p-1b344cf7.js} +3 -3
- package/lib/dist-custom-elements/{p-35931465.js → p-1d53e17e.js} +4 -4
- package/lib/dist-custom-elements/{p-5653ce28.js → p-1f214262.js} +3 -3
- package/lib/dist-custom-elements/{p-596ae966.js → p-32a8ced7.js} +2 -2
- package/lib/dist-custom-elements/{p-74ea266b.js → p-3600a7d8.js} +4 -4
- package/lib/dist-custom-elements/{p-b2f82888.js → p-38225a71.js} +8 -5
- package/lib/dist-custom-elements/{p-a854645c.js → p-3d69644c.js} +10 -10
- package/lib/dist-custom-elements/{p-40d0bfa5.js → p-4f46d35d.js} +12 -12
- package/lib/dist-custom-elements/{p-b8d7c4ed.js → p-5c0ef833.js} +14 -14
- package/lib/dist-custom-elements/{p-c75b3485.js → p-5fb435c0.js} +3 -3
- package/lib/dist-custom-elements/{p-b74fcc3c.js → p-64abcbeb.js} +3 -3
- package/lib/dist-custom-elements/{p-411abee5.js → p-64f1c43c.js} +5 -5
- package/lib/dist-custom-elements/{p-a7811f8d.js → p-69ca7615.js} +4 -4
- package/lib/dist-custom-elements/p-6f57e174.js +60 -0
- package/lib/dist-custom-elements/{p-2481bfc5.js → p-6f7ac4a5.js} +3 -3
- package/lib/dist-custom-elements/{p-82035e12.js → p-6f969e11.js} +2 -2
- package/lib/dist-custom-elements/{p-1b299c30.js → p-71245313.js} +11 -11
- package/lib/dist-custom-elements/{p-717c0cc2.js → p-74971fe9.js} +5 -4
- package/lib/dist-custom-elements/{p-c8430012.js → p-7b0e3959.js} +1 -1
- package/lib/dist-custom-elements/{p-f8f5a07b.js → p-93896e54.js} +8 -8
- package/lib/dist-custom-elements/{p-c5c6b81d.js → p-9f5cbda4.js} +3 -3
- package/lib/dist-custom-elements/{p-bdba7fe5.js → p-b1100334.js} +7 -7
- package/lib/dist-custom-elements/{p-5047b835.js → p-b34c0bc0.js} +3 -3
- package/lib/dist-custom-elements/{p-3aa7aac5.js → p-b760d510.js} +3 -3
- package/lib/dist-custom-elements/{p-4955a87e.js → p-b7e3ed2c.js} +3 -3
- package/lib/dist-custom-elements/{p-6d877bbf.js → p-b879c406.js} +3 -3
- package/lib/dist-custom-elements/{p-6076cf75.js → p-c4cf8fc4.js} +2 -2
- package/lib/dist-custom-elements/{p-3ca82863.js → p-ccf00480.js} +5 -5
- package/lib/dist-custom-elements/{p-4eeb120b.js → p-d6d3f142.js} +4 -4
- package/lib/dist-custom-elements/{p-0a43db61.js → p-daa2778f.js} +1 -1
- package/lib/dist-custom-elements/{p-7b06c584.js → p-dbe0ddfd.js} +1 -1
- package/lib/dist-custom-elements/{p-d0c03178.js → p-e024b525.js} +3 -3
- package/lib/dist-custom-elements/{p-62aa9a5c.js → p-e40817b6.js} +3 -3
- package/lib/dist-custom-elements/{p-b3b28d5d.js → p-e7c96fb9.js} +2 -2
- package/lib/dist-custom-elements/{p-c359e540.js → p-f42fd1a5.js} +33 -56
- package/lib/dist-custom-elements/{p-a8c78fc2.js → p-ff3742a3.js} +4 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-64614ba8.system.entry.js → p-00e5d987.system.entry.js} +2 -2
- package/lib/duet/{p-06050c44.entry.js → p-013ff1b1.entry.js} +1 -1
- package/lib/duet/{p-409a8a9b.system.entry.js → p-025452a3.system.entry.js} +1 -1
- package/lib/duet/{p-2e640148.system.entry.js → p-02785b42.system.entry.js} +1 -1
- package/lib/duet/{p-11c40b7a.entry.js → p-02922551.entry.js} +1 -1
- package/lib/duet/{p-bcb89dab.system.entry.js → p-03eb030a.system.entry.js} +1 -1
- package/lib/duet/{p-2e7a523c.entry.js → p-0454a8c6.entry.js} +1 -1
- package/lib/duet/{p-f9b1c4e7.system.entry.js → p-053c4b67.system.entry.js} +1 -1
- package/lib/duet/p-0a7ee399.js +4 -0
- package/lib/duet/{p-392f64d4.system.entry.js → p-0aa18687.system.entry.js} +1 -1
- package/lib/duet/{p-e4a715d6.entry.js → p-0b74ce31.entry.js} +1 -1
- package/lib/duet/{p-6b072424.system.entry.js → p-0dac0f34.system.entry.js} +1 -1
- package/lib/duet/{p-52693beb.system.entry.js → p-0db9de80.system.entry.js} +1 -1
- package/lib/duet/p-0dc9089b.system.js +4 -0
- package/lib/duet/p-0e7cf850.js +4 -0
- package/lib/duet/p-0f945464.entry.js +4 -0
- package/lib/duet/{p-c3950528.entry.js → p-0fa3c05b.entry.js} +1 -1
- package/lib/duet/{p-6ca43344.entry.js → p-10bfafcf.entry.js} +1 -1
- package/lib/duet/{p-35fe78f1.entry.js → p-11f51d65.entry.js} +1 -1
- package/lib/duet/p-14108f66.entry.js +4 -0
- package/lib/duet/{p-82219311.entry.js → p-16432cd4.entry.js} +1 -1
- package/lib/duet/p-1bd4baef.system.entry.js +4 -0
- package/lib/duet/{p-0f03d470.system.entry.js → p-1c58f3a1.system.entry.js} +1 -1
- package/lib/duet/{p-12266b76.entry.js → p-1c8887ea.entry.js} +1 -1
- package/lib/duet/{p-68cd4af2.system.entry.js → p-1df441b0.system.entry.js} +1 -1
- package/lib/duet/{p-3f3389c9.system.entry.js → p-1eed0b1c.system.entry.js} +2 -2
- package/lib/duet/{p-1716496c.system.entry.js → p-1f45b3af.system.entry.js} +1 -1
- package/lib/duet/{p-750cac7b.entry.js → p-1f5772a7.entry.js} +1 -1
- package/lib/duet/{p-2515927d.system.entry.js → p-21090503.system.entry.js} +1 -1
- package/lib/duet/{p-4fb776ac.entry.js → p-21208eb0.entry.js} +1 -1
- package/lib/duet/{p-8da06f1c.entry.js → p-21fb0158.entry.js} +1 -1
- package/lib/duet/{p-e030f688.entry.js → p-23eb5520.entry.js} +1 -1
- package/lib/duet/p-242bcacd.system.js +4 -0
- package/lib/duet/p-24dcf46b.entry.js +4 -0
- package/lib/duet/{p-123e0a90.entry.js → p-25da61f0.entry.js} +1 -1
- package/lib/duet/{p-7fca21d1.js → p-27219a43.js} +1 -1
- package/lib/duet/{p-f7fff51b.system.entry.js → p-2819123b.system.entry.js} +1 -1
- package/lib/duet/{p-759e1c85.entry.js → p-2a1dd592.entry.js} +1 -1
- package/lib/duet/{p-87c5e510.entry.js → p-2c09d10f.entry.js} +1 -1
- package/lib/duet/{p-990744ed.system.entry.js → p-326ef77a.system.entry.js} +1 -1
- package/lib/duet/{p-99945784.entry.js → p-32971abc.entry.js} +1 -1
- package/lib/duet/{p-5c0c225c.system.entry.js → p-33e24f0b.system.entry.js} +1 -1
- package/lib/duet/{p-00a283a1.entry.js → p-35580d9e.entry.js} +1 -1
- package/lib/duet/{p-1e05468b.system.entry.js → p-386fdf47.system.entry.js} +1 -1
- package/lib/duet/{p-b3462305.entry.js → p-38d5c9e6.entry.js} +1 -1
- package/lib/duet/{p-65ec821a.entry.js → p-3b7bc2eb.entry.js} +1 -1
- package/lib/duet/{p-393b3fbf.system.entry.js → p-3bffb004.system.entry.js} +1 -1
- package/lib/duet/{p-3957eca9.system.entry.js → p-3c412042.system.entry.js} +1 -1
- package/lib/duet/{p-41285cb3.entry.js → p-3c7d3755.entry.js} +1 -1
- package/lib/duet/{p-406fef20.entry.js → p-3e995aa9.entry.js} +1 -1
- package/lib/duet/{p-d10927bb.js → p-40295380.js} +1 -1
- package/lib/duet/{p-36bb96cd.system.entry.js → p-41bafdf1.system.entry.js} +1 -1
- package/lib/duet/{p-bcb0aced.system.entry.js → p-437e64f1.system.entry.js} +1 -1
- package/lib/duet/p-43a8d843.system.entry.js +4 -0
- package/lib/duet/{p-482bf57b.system.entry.js → p-46ba82ab.system.entry.js} +2 -2
- package/lib/duet/{p-d8194eb8.system.entry.js → p-474c40d9.system.entry.js} +1 -1
- package/lib/duet/{p-c0145260.system.entry.js → p-4bb9c12b.system.entry.js} +1 -1
- package/lib/duet/{p-ec62f075.system.entry.js → p-4c6198ef.system.entry.js} +1 -1
- package/lib/duet/{p-456ccb67.entry.js → p-4ca291e2.entry.js} +1 -1
- package/lib/duet/{p-0cb4394e.entry.js → p-4ded9936.entry.js} +1 -1
- package/lib/duet/{p-c8c08319.system.js → p-4e9fc9dc.system.js} +1 -1
- package/lib/duet/p-4f87023e.entry.js +4 -0
- package/lib/duet/{p-97a1e216.system.entry.js → p-563804e0.system.entry.js} +1 -1
- package/lib/duet/{p-e95a1c5d.system.entry.js → p-5638079e.system.entry.js} +1 -1
- package/lib/duet/{p-f844f9c2.system.entry.js → p-586ba4e6.system.entry.js} +1 -1
- package/lib/duet/{p-1b91f618.system.entry.js → p-587b5b14.system.entry.js} +1 -1
- package/lib/duet/{p-5a2780d0.entry.js → p-594f7ff9.entry.js} +1 -1
- package/lib/duet/{p-35199f33.entry.js → p-5a144646.entry.js} +1 -1
- package/lib/duet/{p-d066c499.system.entry.js → p-5b0acd52.system.entry.js} +1 -1
- package/lib/duet/{p-7f2db066.system.entry.js → p-5d2cba5e.system.entry.js} +1 -1
- package/lib/duet/{p-64df53ba.system.js → p-5d7af988.system.js} +1 -1
- package/lib/duet/{p-68058ed9.entry.js → p-5da25b76.entry.js} +1 -1
- package/lib/duet/{p-312d40db.system.entry.js → p-618232f5.system.entry.js} +1 -1
- package/lib/duet/{p-5aee98ad.system.js → p-61e21220.system.js} +1 -1
- package/lib/duet/{p-dd943766.system.entry.js → p-61f97ebd.system.entry.js} +1 -1
- package/lib/duet/{p-950e9846.system.entry.js → p-6288d368.system.entry.js} +1 -1
- package/lib/duet/{p-1844bba6.system.entry.js → p-628dc72c.system.entry.js} +1 -1
- package/lib/duet/{p-755b3457.entry.js → p-62a9692f.entry.js} +1 -1
- package/lib/duet/{p-96ae488b.system.entry.js → p-64709c5e.system.entry.js} +1 -1
- package/lib/duet/{p-0ff8d0d2.entry.js → p-651d3dec.entry.js} +1 -1
- package/lib/duet/{p-cdc33419.system.entry.js → p-67d84e6e.system.entry.js} +1 -1
- package/lib/duet/{p-479f6467.entry.js → p-6916bba8.entry.js} +1 -1
- package/lib/duet/{p-dc26df20.entry.js → p-69d12878.entry.js} +1 -1
- package/lib/duet/{p-5965f57e.entry.js → p-6a455c03.entry.js} +1 -1
- package/lib/duet/{p-c76e51f5.system.entry.js → p-6ab8cc04.system.entry.js} +1 -1
- package/lib/duet/{p-6b8fbaf4.entry.js → p-6bbb4dd9.entry.js} +1 -1
- package/lib/duet/{p-c8c01e02.system.entry.js → p-6f5c7766.system.entry.js} +1 -1
- package/lib/duet/{p-e09ae7be.system.entry.js → p-7013ce09.system.entry.js} +1 -1
- package/lib/duet/{p-48dc77a4.entry.js → p-7053f582.entry.js} +1 -1
- package/lib/duet/{p-a7b28d53.entry.js → p-705d56cf.entry.js} +1 -1
- package/lib/duet/{p-e5f0135b.system.entry.js → p-723a5a2f.system.entry.js} +1 -1
- package/lib/duet/{p-56fdc283.entry.js → p-72b80f54.entry.js} +1 -1
- package/lib/duet/{p-7bb4b1b8.system.entry.js → p-78376f40.system.entry.js} +1 -1
- package/lib/duet/{p-c5288771.system.entry.js → p-79bccb1f.system.entry.js} +1 -1
- package/lib/duet/{p-223bde44.system.entry.js → p-7b01ab6d.system.entry.js} +1 -1
- package/lib/duet/{p-48512063.system.entry.js → p-7b43d889.system.entry.js} +1 -1
- package/lib/duet/{p-4cd633db.entry.js → p-7d861055.entry.js} +1 -1
- package/lib/duet/{p-c7d459d2.entry.js → p-7fe2a579.entry.js} +1 -1
- package/lib/duet/{p-a800c69d.system.entry.js → p-7ff43e10.system.entry.js} +1 -1
- package/lib/duet/p-81287261.js +4 -0
- package/lib/duet/{p-5eb3e3d7.system.entry.js → p-8173dd50.system.entry.js} +2 -2
- package/lib/duet/p-822bbe28.system.entry.js +4 -0
- package/lib/duet/{p-7a84043d.entry.js → p-82412ccb.entry.js} +1 -1
- package/lib/duet/{p-921e7403.system.entry.js → p-833d7be7.system.entry.js} +1 -1
- package/lib/duet/{p-7aa5139c.js → p-83ea5225.js} +1 -1
- package/lib/duet/{p-9b3ba455.entry.js → p-85d98f00.entry.js} +1 -1
- package/lib/duet/{p-8d27357f.entry.js → p-88317c08.entry.js} +1 -1
- package/lib/duet/{p-55ad66c5.system.entry.js → p-89a1fa97.system.entry.js} +1 -1
- package/lib/duet/p-8bf31541.system.entry.js +4 -0
- package/lib/duet/p-8cfba882.system.entry.js +4 -0
- package/lib/duet/{p-05abacee.system.entry.js → p-8d5ebdab.system.entry.js} +1 -1
- package/lib/duet/{p-9602606e.entry.js → p-8e0952b2.entry.js} +1 -1
- package/lib/duet/p-903b934c.system.entry.js +4 -0
- package/lib/duet/{p-10362d33.entry.js → p-911830a9.entry.js} +1 -1
- package/lib/duet/{p-35366baa.entry.js → p-91d5d8cb.entry.js} +1 -1
- package/lib/duet/p-91df376b.entry.js +4 -0
- package/lib/duet/{p-1e6d238e.entry.js → p-940ed1a1.entry.js} +1 -1
- package/lib/duet/{p-4c1395a3.system.entry.js → p-9516f5fc.system.entry.js} +1 -1
- package/lib/duet/{p-8f415fc6.entry.js → p-987e96a5.entry.js} +1 -1
- package/lib/duet/p-98eddabd.entry.js +4 -0
- package/lib/duet/{p-91fc8ab0.entry.js → p-9b88b8f4.entry.js} +1 -1
- package/lib/duet/{p-5af9a3f8.entry.js → p-9cc1306c.entry.js} +1 -1
- package/lib/duet/{p-764c22a6.system.entry.js → p-9e73ce43.system.entry.js} +1 -1
- package/lib/duet/{p-bd70d732.entry.js → p-a0a43bf4.entry.js} +1 -1
- package/lib/duet/{p-66de7804.entry.js → p-a157e1cc.entry.js} +1 -1
- package/lib/duet/{p-5a5965d0.system.entry.js → p-a3a2f086.system.entry.js} +1 -1
- package/lib/duet/{p-cfe4c0d3.entry.js → p-a445ce8a.entry.js} +1 -1
- package/lib/duet/{p-2ba15b62.entry.js → p-a6c30abd.entry.js} +1 -1
- package/lib/duet/{p-fdcca028.system.entry.js → p-a820ff4d.system.entry.js} +1 -1
- package/lib/duet/{p-ee989afa.system.js → p-adeb1555.system.js} +1 -1
- package/lib/duet/{p-42617c96.system.js → p-af0e060c.system.js} +1 -1
- package/lib/duet/{p-15c4d9d3.entry.js → p-b159c0a9.entry.js} +1 -1
- package/lib/duet/{p-b8d157df.system.entry.js → p-b3b3b6d2.system.entry.js} +1 -1
- package/lib/duet/{p-634b73a9.system.entry.js → p-b7a29ea3.system.entry.js} +1 -1
- package/lib/duet/{p-16efea64.system.entry.js → p-b87f5ff8.system.entry.js} +2 -2
- package/lib/duet/p-b9189fc1.js +4 -0
- package/lib/duet/{p-43bb67a2.entry.js → p-bca76d73.entry.js} +1 -1
- package/lib/duet/{p-c02333fd.js → p-bf06650e.js} +1 -1
- package/lib/duet/{p-dbd55e19.entry.js → p-bf62ea4a.entry.js} +1 -1
- package/lib/duet/{p-c6b8f64a.entry.js → p-c1884875.entry.js} +1 -1
- package/lib/duet/{p-d83b438d.entry.js → p-c1a9ca3f.entry.js} +1 -1
- package/lib/duet/p-c1c77f83.entry.js +4 -0
- package/lib/duet/{p-b37f618f.system.entry.js → p-c1db69bc.system.entry.js} +1 -1
- package/lib/duet/{p-138eda83.entry.js → p-c4ea6d92.entry.js} +1 -1
- package/lib/duet/{p-48706635.entry.js → p-c6497425.entry.js} +1 -1
- package/lib/duet/{p-cc67a438.entry.js → p-c8df1d39.entry.js} +1 -1
- package/lib/duet/{p-59191e5a.entry.js → p-c9c52ec2.entry.js} +1 -1
- package/lib/duet/{p-a61448f4.entry.js → p-ca812b3c.entry.js} +1 -1
- package/lib/duet/{p-aefcf0ba.system.entry.js → p-cc2adccb.system.entry.js} +1 -1
- package/lib/duet/{p-4f1b19b2.system.entry.js → p-ce063cbd.system.entry.js} +1 -1
- package/lib/duet/{p-4373618f.js → p-d064df5e.js} +1 -1
- package/lib/duet/{p-791591c2.entry.js → p-d17b23fc.entry.js} +1 -1
- package/lib/duet/{p-3e0306da.system.entry.js → p-d5ceec92.system.entry.js} +1 -1
- package/lib/duet/{p-2d24087d.system.entry.js → p-d64b13f1.system.entry.js} +1 -1
- package/lib/duet/p-d80ae90e.system.js +4 -0
- package/lib/duet/{p-23979a8a.entry.js → p-d8323868.entry.js} +1 -1
- package/lib/duet/{p-8f9a62b4.system.entry.js → p-da1458e1.system.entry.js} +1 -1
- package/lib/duet/{p-d4bf2c73.entry.js → p-dab809f9.entry.js} +1 -1
- package/lib/duet/{p-96640cb1.system.entry.js → p-db1a5bf4.system.entry.js} +1 -1
- package/lib/duet/{p-655280e9.system.entry.js → p-dc12856e.system.entry.js} +1 -1
- package/lib/duet/p-dff0867d.system.js +4 -0
- package/lib/duet/{p-31225a99.entry.js → p-e06e9231.entry.js} +1 -1
- package/lib/duet/{p-868ae989.system.entry.js → p-e430fc87.system.entry.js} +2 -2
- package/lib/duet/{p-a61e8e43.system.js → p-e50a2f96.system.js} +1 -1
- package/lib/duet/{p-e67a5b0c.system.entry.js → p-e6c3d5b0.system.entry.js} +1 -1
- package/lib/duet/{p-c10d1980.system.entry.js → p-e70e9c50.system.entry.js} +2 -2
- package/lib/duet/{p-fe6fb2cd.system.entry.js → p-e9b88155.system.entry.js} +2 -2
- package/lib/duet/{p-6cb20295.system.entry.js → p-e9e4825a.system.entry.js} +1 -1
- package/lib/duet/{p-cb97873b.system.entry.js → p-ebf7a3ac.system.entry.js} +1 -1
- package/lib/duet/{p-a6faa337.system.entry.js → p-ede03d44.system.entry.js} +1 -1
- package/lib/duet/{p-38be52d6.entry.js → p-ef4fea1b.entry.js} +1 -1
- package/lib/duet/{p-554e5216.system.entry.js → p-f0354143.system.entry.js} +1 -1
- package/lib/duet/{p-054726f0.entry.js → p-f0566568.entry.js} +1 -1
- package/lib/duet/{p-caf2d96b.entry.js → p-f074b245.entry.js} +1 -1
- package/lib/duet/{p-300e113e.system.entry.js → p-f2277c25.system.entry.js} +1 -1
- package/lib/duet/{p-0ee5d1a8.entry.js → p-f528fb99.entry.js} +1 -1
- package/lib/duet/{p-1b3cd1cf.system.entry.js → p-f58be348.system.entry.js} +2 -2
- package/lib/duet/{p-b9dac869.entry.js → p-f713c32c.entry.js} +1 -1
- package/lib/duet/{p-be3f9ffd.entry.js → p-f787b33c.entry.js} +1 -1
- package/lib/duet/{p-f9a4a204.system.entry.js → p-f87be171.system.entry.js} +1 -1
- package/lib/duet/{p-562434dc.system.entry.js → p-f9be6c4a.system.entry.js} +1 -1
- package/lib/duet/{p-8141b163.system.entry.js → p-fa43f6c2.system.entry.js} +1 -1
- package/lib/duet/{p-c6d2737c.entry.js → p-fa843791.entry.js} +1 -1
- package/lib/duet/{p-fcee82e3.entry.js → p-fc9148a1.entry.js} +1 -1
- package/lib/duet/{p-1594b16e.entry.js → p-fcf1b096.entry.js} +1 -1
- package/lib/duet/{p-bf483110.entry.js → p-fdf1fec8.entry.js} +1 -1
- package/lib/duet/{p-7e37eaa1.entry.js → p-feb01054.entry.js} +1 -1
- package/lib/esm/{a11y-utils-97fcdba3.js → a11y-utils-e494647a.js} +1 -1
- package/lib/esm/{app-globals-bf48f89e.js → app-globals-ba36fb7c.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +4 -4
- 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 +4 -4
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +9 -9
- package/lib/esm/duet-card.entry.js +4 -4
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +5 -5
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +5 -5
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +6 -6
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +5 -5
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +4 -4
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +5 -5
- package/lib/esm/duet-grid_2.entry.js +3 -3
- package/lib/esm/duet-header_2.entry.js +10 -7
- package/lib/esm/duet-hero.entry.js +5 -5
- package/lib/esm/duet-icon.entry.js +2 -2
- package/lib/esm/duet-input_2.entry.js +6 -6
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +3 -3
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-menu-bar-item.entry.js +5 -5
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +4 -4
- package/lib/esm/duet-modal.entry.js +6 -6
- package/lib/esm/duet-multiselect.entry.js +5 -5
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +5 -5
- package/lib/esm/duet-number-input.entry.js +5 -5
- package/lib/esm/duet-overlay.entry.js +5 -4
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +5 -5
- package/lib/esm/duet-phone-input.entry.js +4 -4
- package/lib/esm/duet-popup-menu_2.entry.js +7 -7
- package/lib/esm/duet-progress.entry.js +4 -4
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +4 -4
- package/lib/esm/duet-range-slider.entry.js +3 -3
- package/lib/esm/duet-scrollable_3.entry.js +12 -12
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +4 -4
- package/lib/esm/duet-shaped-image.entry.js +2 -2
- package/lib/esm/duet-share-chart-item.entry.js +1 -1
- package/lib/esm/duet-share-chart.entry.js +12 -21
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +6 -6
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +3 -3
- package/lib/esm/duet-slideout-panel.entry.js +6 -6
- package/lib/esm/duet-slideout.entry.js +6 -6
- package/lib/esm/duet-status-icon.entry.js +1 -1
- 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-item.entry.js +6 -6
- 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 +5 -5
- package/lib/esm/duet-toggle.entry.js +2 -2
- 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-item.entry.js +6 -6
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +4 -4
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +4 -4
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{errorcodes.utils-c88abf11.js → errorcodes.utils-f1b68042.js} +1 -1
- package/lib/esm/{floating-ui.dom.esm-ef361ca5.js → floating-ui.dom.esm-ebc91b33.js} +27 -50
- package/lib/esm/{focus-utils-be0374e1.js → focus-utils-b131ac81.js} +1 -1
- package/lib/esm/{index-01321175.js → index-822baec2.js} +1 -1
- package/lib/esm/{language-utils-f3bce1d0.js → language-utils-2038d09e.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{slot-utils-cdfa84b2.js → slot-utils-5410a171.js} +1 -1
- package/lib/esm/themeable-component-4e1ca2f5.js +60 -0
- package/lib/esm-es5/{a11y-utils-97fcdba3.js → a11y-utils-e494647a.js} +1 -1
- package/lib/esm-es5/{app-globals-bf48f89e.js → app-globals-ba36fb7c.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +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-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +2 -2
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
- 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/{errorcodes.utils-c88abf11.js → errorcodes.utils-f1b68042.js} +1 -1
- package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +4 -0
- package/lib/esm-es5/focus-utils-b131ac81.js +4 -0
- package/lib/esm-es5/{index-01321175.js → index-822baec2.js} +1 -1
- package/lib/esm-es5/{language-utils-f3bce1d0.js → language-utils-2038d09e.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-cdfa84b2.js → slot-utils-5410a171.js} +1 -1
- package/lib/esm-es5/themeable-component-4e1ca2f5.js +4 -0
- package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
- package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +0 -2
- package/package.json +4 -4
- package/lib/cjs/themeable-component-851fd595.js +0 -23
- package/lib/dist-custom-elements/p-347269f4.js +0 -21
- package/lib/duet/p-0a53642c.system.js +0 -4
- package/lib/duet/p-317570ca.system.entry.js +0 -4
- package/lib/duet/p-347269f4.js +0 -4
- package/lib/duet/p-3c820e0e.entry.js +0 -4
- package/lib/duet/p-3f39d155.system.js +0 -4
- package/lib/duet/p-4490c500.system.js +0 -4
- package/lib/duet/p-5654364d.entry.js +0 -4
- package/lib/duet/p-685046d1.entry.js +0 -4
- package/lib/duet/p-7651a241.entry.js +0 -4
- package/lib/duet/p-a08aec07.system.entry.js +0 -4
- package/lib/duet/p-a90951a6.system.entry.js +0 -4
- package/lib/duet/p-a92495c0.entry.js +0 -4
- package/lib/duet/p-b5327a09.system.entry.js +0 -4
- package/lib/duet/p-b7c553d3.system.entry.js +0 -4
- package/lib/duet/p-b82a5dcc.js +0 -4
- package/lib/duet/p-d7f543fb.js +0 -4
- package/lib/duet/p-d827c031.js +0 -4
- package/lib/duet/p-d8861775.system.js +0 -4
- package/lib/duet/p-f7f8738a.entry.js +0 -4
- package/lib/duet/p-fa3d5398.system.entry.js +0 -4
- package/lib/duet/p-faf8ef41.entry.js +0 -4
- package/lib/esm/themeable-component-4fc6639e.js +0 -21
- package/lib/esm-es5/floating-ui.dom.esm-ef361ca5.js +0 -4
- package/lib/esm-es5/focus-utils-be0374e1.js +0 -4
- package/lib/esm-es5/themeable-component-4fc6639e.js +0 -4
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var t,n=1,e=arguments.length;n<e;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))r[i]=t[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,t,n,e){function i(r){return r instanceof n?r:new n((function(t){t(r)}))}return new(n||(n=Promise))((function(n,a){function u(r){try{f(e.next(r))}catch(r){a(r)}}function o(r){try{f(e["throw"](r))}catch(r){a(r)}}function f(r){r.done?n(r.value):i(r.value).then(u,o)}f((e=e.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},e,i,a,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(r){return function(t){return f([r,t])}}function f(o){if(e)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(n=0)),n)try{if(e=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(r,n)}catch(r){o=[6,r];i=0}finally{e=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(r,t){var n={};for(var e in r)if(Object.prototype.hasOwnProperty.call(r,e)&&t.indexOf(e)<0)n[e]=r[e];if(r!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,e=Object.getOwnPropertySymbols(r);i<e.length;i++){if(t.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(r,e[i]))n[e[i]]=r[e[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var e=0,i=t.length,a;e<i;e++){if(a||!(e in t)){if(!a)a=Array.prototype.slice.call(t,0,e);a[e]=t[e]}}return r.concat(a||Array.prototype.slice.call(t))};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register([],(function(r){"use strict";return{execute:function(){var t=this;r("b",Sr);var n=Math.min;var e=Math.max;var i={left:"right",right:"left",bottom:"top",top:"bottom"};var a={start:"end",end:"start"};function u(r,t,i){return e(r,n(t,i))}function o(r,t){return typeof r==="function"?r(t):r}function f(r){return r.split("-")[0]}function c(r){return r.split("-")[1]}function s(r){return r==="x"?"y":"x"}function v(r){return r==="y"?"height":"width"}var l=new Set(["top","bottom"]);function d(r){return l.has(f(r))?"y":"x"}function h(r){return s(d(r))}function _(r,t,n){if(n===void 0){n=false}var e=c(r);var i=h(r);var a=v(i);var u=i==="x"?e===(n?"end":"start")?"right":"left":e==="start"?"bottom":"top";if(t.reference[a]>t.floating[a]){u=k(u)}return[u,k(u)]}function g(r){var t=k(r);return[y(r),t,y(t)]}function y(r){return r.replace(/start|end/g,(function(r){return a[r]}))}var p=["left","right"];var m=["right","left"];var w=["top","bottom"];var b=["bottom","top"];function x(r,t,n){switch(r){case"top":case"bottom":if(n)return t?m:p;return t?p:m;case"left":case"right":return t?w:b;default:return[]}}function A(r,t,n,e){var i=c(r);var a=x(f(r),n==="start",e);if(i){a=a.map((function(r){return r+"-"+i}));if(t){a=a.concat(a.map(y))}}return a}function k(r){return r.replace(/left|right|bottom|top/g,(function(r){return i[r]}))}function S(r){return __assign({top:0,right:0,bottom:0,left:0},r)}function R(r){return typeof r!=="number"?S(r):{top:r,right:r,bottom:r,left:r}}function O(r){var t=r.x,n=r.y,e=r.width,i=r.height;return{width:e,height:i,top:n,left:t,right:t+e,bottom:n+i,x:t,y:n}}function F(r,t,n){var e=r.reference,i=r.floating;var a=d(t);var u=h(t);var o=v(u);var s=f(t);var l=a==="y";var _=e.x+e.width/2-i.width/2;var g=e.y+e.height/2-i.height/2;var y=e[o]/2-i[o]/2;var p;switch(s){case"top":p={x:_,y:e.y-i.height};break;case"bottom":p={x:_,y:e.y+e.height};break;case"right":p={x:e.x+e.width,y:g};break;case"left":p={x:e.x-i.width,y:g};break;default:p={x:e.x,y:e.y}}switch(c(t)){case"start":p[u]-=y*(n&&l?-1:1);break;case"end":p[u]+=y*(n&&l?-1:1);break}return p}var j=function(r,n,e){return __awaiter(t,void 0,void 0,(function(){var t,i,a,u,o,f,c,s,v,l,d,h,_,g,y,p,m,w,b,x,A,k,S,R,O,j;var P,T;return __generator(this,(function(C){switch(C.label){case 0:t=e.placement,i=t===void 0?"bottom":t,a=e.strategy,u=a===void 0?"absolute":a,o=e.middleware,f=o===void 0?[]:o,c=e.platform;s=f.filter(Boolean);return[4,c.isRTL==null?void 0:c.isRTL(n)];case 1:v=C.sent();return[4,c.getElementRects({reference:r,floating:n,strategy:u})];case 2:l=C.sent();d=F(l,i,v),h=d.x,_=d.y;g=i;y={};p=0;m=0;C.label=3;case 3:if(!(m<s.length))return[3,11];w=s[m],b=w.name,x=w.fn;return[4,x({x:h,y:_,initialPlacement:i,placement:g,strategy:u,middlewareData:y,rects:l,platform:c,elements:{reference:r,floating:n}})];case 4:A=C.sent(),k=A.x,S=A.y,R=A.data,O=A.reset;h=k!=null?k:h;_=S!=null?S:_;y=__assign(__assign({},y),(P={},P[b]=__assign(__assign({},y[b]),R),P));if(!(O&&p<=50))return[3,10];p++;if(!(typeof O==="object"))return[3,9];if(O.placement){g=O.placement}if(!O.rects)return[3,8];if(!(O.rects===true))return[3,6];return[4,c.getElementRects({reference:r,floating:n,strategy:u})];case 5:j=C.sent();return[3,7];case 6:j=O.rects;C.label=7;case 7:l=j;C.label=8;case 8:T=F(l,g,v),h=T.x,_=T.y;C.label=9;case 9:m=-1;C.label=10;case 10:m++;return[3,3];case 11:return[2,{x:h,y:_,placement:g,strategy:u,middlewareData:y}]}}))}))};function P(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,f,c,s,v,l,d,h,_,g,y,p,m,w,b,x,A,k,S,F,j,P,T,C,M,D,L,E,z,N;var V;return __generator(this,(function(q){switch(q.label){case 0:if(t===void 0){t={}}e=r.x,i=r.y,a=r.platform,u=r.rects,f=r.elements,c=r.strategy;s=o(t,r),v=s.boundary,l=v===void 0?"clippingAncestors":v,d=s.rootBoundary,h=d===void 0?"viewport":d,_=s.elementContext,g=_===void 0?"floating":_,y=s.altBoundary,p=y===void 0?false:y,m=s.padding,w=m===void 0?0:m;b=R(w);x=g==="floating"?"reference":"floating";A=f[p?x:g];S=O;j=(F=a).getClippingRect;V={};return[4,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((n=q.sent())!=null?n:true))return[3,2];P=A;return[3,5];case 2:T=A.contextElement;if(T)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(f.floating)];case 3:T=q.sent();q.label=4;case 4:P=T;q.label=5;case 5:return[4,j.apply(F,[(V.element=P,V.boundary=l,V.rootBoundary=h,V.strategy=c,V)])];case 6:k=S.apply(void 0,[q.sent()]);C=g==="floating"?{x:e,y:i,width:u.floating.width,height:u.floating.height}:u.reference;return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(f.floating)];case 7:M=q.sent();return[4,a.isElement==null?void 0:a.isElement(M)];case 8:if(!q.sent())return[3,10];return[4,a.getScale==null?void 0:a.getScale(M)];case 9:L=q.sent()||{x:1,y:1};return[3,11];case 10:L={x:1,y:1};q.label=11;case 11:D=L;z=O;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,13];return[4,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:C,offsetParent:M,strategy:c})];case 12:N=q.sent();return[3,14];case 13:N=C;q.label=14;case 14:E=z.apply(void 0,[N]);return[2,{top:(k.top-E.top+b.top)/D.y,bottom:(E.bottom-k.bottom+b.bottom)/D.y,left:(k.left-E.left+b.left)/D.x,right:(E.right-k.right+b.right)/D.x}]}}))}))}var T=r("a",(function(r){return{name:"arrow",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,i,a,f,s,l,d,_,g,y,p,m,w,b,x,A,k,S,O,F,j,P,T,C,M,D,L,E,z,N,V,q,B,G,H;var W,I;return __generator(this,(function(J){switch(J.label){case 0:e=t.x,i=t.y,a=t.placement,f=t.rects,s=t.platform,l=t.elements,d=t.middlewareData;_=o(r,t)||{},g=_.element,y=_.padding,p=y===void 0?0:y;if(g==null){return[2,{}]}m=R(p);w={x:e,y:i};b=h(a);x=v(b);return[4,s.getDimensions(g)];case 1:A=J.sent();k=b==="y";S=k?"top":"left";O=k?"bottom":"right";F=k?"clientHeight":"clientWidth";j=f.reference[x]+f.reference[b]-w[b]-f.floating[x];P=w[b]-f.reference[b];return[4,s.getOffsetParent==null?void 0:s.getOffsetParent(g)];case 2:T=J.sent();C=T?T[F]:0;M=!C;if(M)return[3,4];return[4,s.isElement==null?void 0:s.isElement(T)];case 3:M=!J.sent();J.label=4;case 4:if(M){C=l.floating[F]||f.floating[x]}D=j/2-P/2;L=C/2-A[x]/2-1;E=n(m[S],L);z=n(m[O],L);N=E;V=C-A[x]-z;q=C/2-A[x]/2+D;B=u(N,q,V);G=!d.arrow&&c(a)!=null&&q!==B&&f.reference[x]/2-(q<N?E:z)-A[x]/2<0;H=G?q<N?q-N:q-V:0;return[2,(W={},W[b]=w[b]+H,W.data=__assign((I={},I[b]=B,I.centerOffset=q-B-H,I),G&&{alignmentOffset:H}),W.reset=G,W)]}}))}))}}}));var C=r("f",(function(r){if(r===void 0){r={}}return{name:"flip",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,c,s,v,l,h,y,p,m,w,b,x,S,R,O,F,j,T,C,M,D,L,E,z,N,V,q,B,G,H,W,I,J,K,Q,U;return __generator(this,(function(X){switch(X.label){case 0:i=t.placement,a=t.middlewareData,u=t.rects,c=t.initialPlacement,s=t.platform,v=t.elements;l=o(r,t),h=l.mainAxis,y=h===void 0?true:h,p=l.crossAxis,m=p===void 0?true:p,w=l.fallbackPlacements,b=l.fallbackStrategy,x=b===void 0?"bestFit":b,S=l.fallbackAxisSideDirection,R=S===void 0?"none":S,O=l.flipAlignment,F=O===void 0?true:O,j=__rest(l,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=a.arrow)!=null&&n.alignmentOffset){return[2,{}]}T=f(i);C=d(c);M=f(c)===c;return[4,s.isRTL==null?void 0:s.isRTL(v.floating)];case 1:D=X.sent();L=w||(M||!F?[k(c)]:g(c));E=R!=="none";if(!w&&E){L.push.apply(L,A(c,F,R,D))}z=__spreadArray([c],L,true);return[4,P(t,j)];case 2:N=X.sent();V=[];q=((e=a.flip)==null?void 0:e.overflows)||[];if(y){V.push(N[T])}if(m){B=_(i,u,D);V.push(N[B[0]],N[B[1]])}q=__spreadArray(__spreadArray([],q,true),[{placement:i,overflows:V}],false);if(!V.every((function(r){return r<=0}))){W=(((G=a.flip)==null?void 0:G.index)||0)+1;I=z[W];if(I){J=m==="alignment"?C!==d(I):false;if(!J||q.every((function(r){return d(r.placement)===C?r.overflows[0]>0:true}))){return[2,{data:{index:W,overflows:q},reset:{placement:I}}]}}K=(H=q.filter((function(r){return r.overflows[0]<=0})).sort((function(r,t){return r.overflows[1]-t.overflows[1]}))[0])==null?void 0:H.placement;if(!K){switch(x){case"bestFit":{U=(Q=q.filter((function(r){if(E){var t=d(r.placement);return t===C||t==="y"}return true})).map((function(r){return[r.placement,r.overflows.filter((function(r){return r>0})).reduce((function(r,t){return r+t}),0)]})).sort((function(r,t){return r[1]-t[1]}))[0])==null?void 0:Q[0];if(U){K=U}break}case"initialPlacement":K=c;break}}if(i!==K){return[2,{reset:{placement:K}}]}}return[2,{}]}}))}))}}}));var M=new Set(["left","top"]);function D(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,s,v,l,h,_,g,y,p,m;return __generator(this,(function(w){switch(w.label){case 0:n=r.placement,e=r.platform,i=r.elements;return[4,e.isRTL==null?void 0:e.isRTL(i.floating)];case 1:a=w.sent();u=f(n);s=c(n);v=d(n)==="y";l=M.has(u)?-1:1;h=a&&v?-1:1;_=o(t,r);g=typeof _==="number"?{mainAxis:_,crossAxis:0,alignmentAxis:null}:{mainAxis:_.mainAxis||0,crossAxis:_.crossAxis||0,alignmentAxis:_.alignmentAxis},y=g.mainAxis,p=g.crossAxis,m=g.alignmentAxis;if(s&&typeof m==="number"){p=s==="end"?m*-1:m}return[2,v?{x:p*h,y:y*l}:{x:y*l,y:p*h}]}}))}))}var L=r("o",(function(r){if(r===void 0){r=0}return{name:"offset",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f;return __generator(this,(function(c){switch(c.label){case 0:i=t.x,a=t.y,u=t.placement,o=t.middlewareData;return[4,D(t,r)];case 1:f=c.sent();if(u===((n=o.offset)==null?void 0:n.placement)&&(e=o.arrow)!=null&&e.alignmentOffset){return[2,{}]}return[2,{x:i+f.x,y:a+f.y,data:__assign(__assign({},f),{placement:u})}]}}))}))}}}));var E=r("s",(function(r){if(r===void 0){r={}}return{name:"shift",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,c,v,l,h,_,g,y,p,m,w,b,x,A,k,S,R,O,k,S,F,j,T;var C,M;return __generator(this,(function(D){switch(D.label){case 0:n=t.x,e=t.y,i=t.placement;a=o(r,t),c=a.mainAxis,v=c===void 0?true:c,l=a.crossAxis,h=l===void 0?false:l,_=a.limiter,g=_===void 0?{fn:function(r){var t=r.x,n=r.y;return{x:t,y:n}}}:_,y=__rest(a,["mainAxis","crossAxis","limiter"]);p={x:n,y:e};return[4,P(t,y)];case 1:m=D.sent();w=d(f(i));b=s(w);x=p[b];A=p[w];if(v){k=b==="y"?"top":"left";S=b==="y"?"bottom":"right";R=x+m[k];O=x-m[S];x=u(R,x,O)}if(h){k=w==="y"?"top":"left";S=w==="y"?"bottom":"right";F=A+m[k];j=A-m[S];A=u(F,A,j)}T=g.fn(__assign(__assign({},t),(C={},C[b]=x,C[w]=A,C)));return[2,__assign(__assign({},T),{data:{x:T.x-n,y:T.y-e,enabled:(M={},M[b]=v,M[w]=h,M)}})]}}))}))}}}));function z(r){var t;return((t=r.ownerDocument)==null?void 0:t.defaultView)||window}function N(r){return z(r).getComputedStyle(r)}function V(r){return r instanceof z(r).Node}function q(r){return V(r)?(r.nodeName||"").toLowerCase():""}function B(r){return r instanceof z(r).HTMLElement}function G(r){return r instanceof z(r).Element}function H(r){if(typeof ShadowRoot==="undefined"){return false}var t=z(r).ShadowRoot;return r instanceof t||r instanceof ShadowRoot}function W(r){var t=N(r),n=t.overflow,e=t.overflowX,i=t.overflowY,a=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+e)&&!["inline","contents"].includes(a)}function I(r){return["table","td","th"].includes(q(r))}function J(r){var t=K();var n=N(r);return n.transform!=="none"||n.perspective!=="none"||!t&&(n.backdropFilter?n.backdropFilter!=="none":false)||!t&&(n.filter?n.filter!=="none":false)||["transform","perspective","filter"].some((function(r){return(n.willChange||"").includes(r)}))||["paint","layout","strict","content"].some((function(r){return(n.contain||"").includes(r)}))}function K(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}function Q(r){return["html","body","#document"].includes(q(r))}var U=Math.min;var X=Math.max;var Y=Math.round;function Z(r){var t=N(r);var n=parseFloat(t.width)||0;var e=parseFloat(t.height)||0;var i=B(r);var a=i?r.offsetWidth:n;var u=i?r.offsetHeight:e;var o=Y(n)!==a||Y(e)!==u;if(o){n=a;e=u}return{width:n,height:e,fallback:o}}function $(r){return!G(r)?r.contextElement:r}var rr={x:1,y:1};function tr(r){var t=$(r);if(!B(t)){return rr}var n=t.getBoundingClientRect();var e=Z(t),i=e.width,a=e.height,u=e.fallback;var o=(u?Y(n.width):n.width)/i;var f=(u?Y(n.height):n.height)/a;if(!o||!Number.isFinite(o)){o=1}if(!f||!Number.isFinite(f)){f=1}return{x:o,y:f}}var nr={x:0,y:0};function er(r,t,n){var e,i;if(t===void 0){t=true}if(!K()){return nr}var a=r?z(r):window;if(!n||t&&n!==a){return nr}return{x:((e=a.visualViewport)==null?void 0:e.offsetLeft)||0,y:((i=a.visualViewport)==null?void 0:i.offsetTop)||0}}function ir(r,t,n,e){if(t===void 0){t=false}if(n===void 0){n=false}var i=r.getBoundingClientRect();var a=$(r);var u=rr;if(t){if(e){if(G(e)){u=tr(e)}}else{u=tr(r)}}var o=er(a,n,e);var f=(i.left+o.x)/u.x;var c=(i.top+o.y)/u.y;var s=i.width/u.x;var v=i.height/u.y;if(a){var l=z(a);var d=e&&G(e)?z(e):e;var h=l.frameElement;while(h&&e&&d!==l){var _=tr(h);var g=h.getBoundingClientRect();var y=getComputedStyle(h);g.x+=(h.clientLeft+parseFloat(y.paddingLeft))*_.x;g.y+=(h.clientTop+parseFloat(y.paddingTop))*_.y;f*=_.x;c*=_.y;s*=_.x;v*=_.y;f+=g.x;c+=g.y;h=z(h).frameElement}}return O({width:s,height:v,x:f,y:c})}function ar(r){return((V(r)?r.ownerDocument:r.document)||window.document).documentElement}function ur(r){if(G(r)){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function or(r){var t=r.rect,n=r.offsetParent,e=r.strategy;var i=B(n);var a=ar(n);if(n===a){return t}var u={scrollLeft:0,scrollTop:0};var o={x:1,y:1};var f={x:0,y:0};if(i||!i&&e!=="fixed"){if(q(n)!=="body"||W(a)){u=ur(n)}if(B(n)){var c=ir(n);o=tr(n);f.x=c.x+n.clientLeft;f.y=c.y+n.clientTop}}return{width:t.width*o.x,height:t.height*o.y,x:t.x*o.x-u.scrollLeft*o.x+f.x,y:t.y*o.y-u.scrollTop*o.y+f.y}}function fr(r){return ir(ar(r)).left+ur(r).scrollLeft}function cr(r){var t=ar(r);var n=ur(r);var e=r.ownerDocument.body;var i=X(t.scrollWidth,t.clientWidth,e.scrollWidth,e.clientWidth);var a=X(t.scrollHeight,t.clientHeight,e.scrollHeight,e.clientHeight);var u=-n.scrollLeft+fr(r);var o=-n.scrollTop;if(N(e).direction==="rtl"){u+=X(t.clientWidth,e.clientWidth)-i}return{width:i,height:a,x:u,y:o}}function sr(r){if(q(r)==="html"){return r}var t=r.assignedSlot||r.parentNode||H(r)&&r.host||ar(r);return H(t)?t.host:t}function vr(r){var t=sr(r);if(Q(t)){return t.ownerDocument.body}if(B(t)&&W(t)){return t}return vr(t)}function lr(r,t){var n;if(t===void 0){t=[]}var e=vr(r);var i=e===((n=r.ownerDocument)==null?void 0:n.body);var a=z(e);if(i){return t.concat(a,a.visualViewport||[],W(e)?e:[])}return t.concat(e,lr(e))}function dr(r,t){var n=z(r);var e=ar(r);var i=n.visualViewport;var a=e.clientWidth;var u=e.clientHeight;var o=0;var f=0;if(i){a=i.width;u=i.height;var c=K();if(!c||c&&t==="fixed"){o=i.offsetLeft;f=i.offsetTop}}return{width:a,height:u,x:o,y:f}}function hr(r,t){var n=ir(r,true,t==="fixed");var e=n.top+r.clientTop;var i=n.left+r.clientLeft;var a=B(r)?tr(r):{x:1,y:1};var u=r.clientWidth*a.x;var o=r.clientHeight*a.y;var f=i*a.x;var c=e*a.y;return{width:u,height:o,x:f,y:c}}function _r(r,t,n){var e;if(t==="viewport"){e=dr(r,n)}else if(t==="document"){e=cr(ar(r))}else if(G(t)){e=hr(t,n)}else{var i=er(r);e=__assign(__assign({},t),{x:t.x-i.x,y:t.y-i.y})}return O(e)}function gr(r,t){var n=sr(r);if(n===t||!G(n)||Q(n)){return false}return N(n).position==="fixed"||gr(n,t)}function yr(r,t){var n=t.get(r);if(n){return n}var e=lr(r).filter((function(r){return G(r)&&q(r)!=="body"}));var i=null;var a=N(r).position==="fixed";var u=a?sr(r):r;while(G(u)&&!Q(u)){var o=N(u);var f=J(u);if(!f&&o.position==="fixed"){i=null}var c=a?!f&&!i:!f&&o.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||W(u)&&!f&&gr(r,u);if(c){e=e.filter((function(r){return r!==u}))}else{i=o}u=sr(u)}t.set(r,e);return e}function pr(r){var t=r.element,n=r.boundary,e=r.rootBoundary,i=r.strategy;var a=n==="clippingAncestors"?yr(t,this._c):[].concat(n);var u=__spreadArray(__spreadArray([],a,true),[e],false);var o=u[0];var f=u.reduce((function(r,n){var e=_r(t,n,i);r.top=X(e.top,r.top);r.right=U(e.right,r.right);r.bottom=U(e.bottom,r.bottom);r.left=X(e.left,r.left);return r}),_r(t,o,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function mr(r){return Z(r)}function wr(r,t){if(!B(r)||N(r).position==="fixed"){return null}if(t){return t(r)}return r.offsetParent}function br(r){var t=sr(r);while(B(t)&&!Q(t)){if(J(t)){return t}else{t=sr(t)}}return null}function xr(r,t){var n=z(r);if(!B(r)){return n}var e=wr(r,t);while(e&&I(e)&&N(e).position==="static"){e=wr(e,t)}if(e&&(q(e)==="html"||q(e)==="body"&&N(e).position==="static"&&!J(e))){return n}return e||br(r)||n}function Ar(r,t,n){var e=B(t);var i=ar(t);var a=n==="fixed";var u=ir(r,true,a,t);var o={scrollLeft:0,scrollTop:0};var f={x:0,y:0};if(e||!e&&!a){if(q(t)!=="body"||W(i)){o=ur(t)}if(B(t)){var c=ir(t,true,a,t);f.x=c.x+t.clientLeft;f.y=c.y+t.clientTop}else if(i){f.x=fr(i)}}return{x:u.left+o.scrollLeft-f.x,y:u.top+o.scrollTop-f.y,width:u.width,height:u.height}}var kr={getClippingRect:pr,convertOffsetParentRelativeRectToViewportRelativeRect:or,isElement:G,getDimensions:mr,getOffsetParent:xr,getDocumentElement:ar,getScale:tr,getElementRects:function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a,u,o,f;var c;return __generator(this,(function(s){switch(s.label){case 0:t=r.reference,n=r.floating,e=r.strategy;i=this.getOffsetParent||xr;a=this.getDimensions;c={};u=Ar;o=[t];return[4,i(n)];case 1:c.reference=u.apply(void 0,o.concat([s.sent(),e]));f=[{x:0,y:0}];return[4,a(n)];case 2:return[2,(c.floating=__assign.apply(void 0,f.concat([s.sent()])),c)]}}))}))},getClientRects:function(r){return Array.from(r.getClientRects())},isRTL:function(r){return N(r).direction==="rtl"}};function Sr(r,t,n,e){if(e===void 0){e={}}var i=e.ancestorScroll,a=i===void 0?true:i,u=e.ancestorResize,o=u===void 0?true:u,f=e.elementResize,c=f===void 0?true:f,s=e.animationFrame,v=s===void 0?false:s;var l=a||o?__spreadArray(__spreadArray([],G(r)?lr(r):r.contextElement?lr(r.contextElement):[],true),lr(t),true):[];l.forEach((function(r){var t=!G(r)&&r.toString().includes("V");if(a&&(v?t:true)){r.addEventListener("scroll",n,{passive:true})}o&&r.addEventListener("resize",n)}));var d=null;if(c){d=new ResizeObserver((function(){n()}));G(r)&&!v&&d.observe(r);if(!G(r)&&r.contextElement&&!v){d.observe(r.contextElement)}d.observe(t)}var h;var _=v?ir(r):null;if(v){g()}function g(){var t=ir(r);if(_&&(t.x!==_.x||t.y!==_.y||t.width!==_.width||t.height!==_.height)){n()}_=t;h=requestAnimationFrame(g)}n();return function(){var r;l.forEach((function(r){a&&r.removeEventListener("scroll",n);o&&r.removeEventListener("resize",n)}));(r=d)==null?void 0:r.disconnect();d=null;if(v){cancelAnimationFrame(h)}}}var Rr=r("c",(function(r,t,n){var e=new Map;var i=__assign({platform:kr},n);var a=__assign(__assign({},i.platform),{_c:e});return j(r,t,__assign(__assign({},i),{platform:a}))}))}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as e,h as t,H as i,g as a}from"./p-c02333fd.js";import{a as s}from"./p-d32bd233.js";import{e as n,d as o}from"./p-8354d1f1.js";import{i as d}from"./p-347269f4.js";const r=class{constructor(t){e(this,t),this.mql=[window.matchMedia(s.replace(/'/g,""))],this.boundMqlFunctions=[],this.previousYScroll=0,this.handleMobileView=()=>{this.mql[0].matches?(this.mobile=!1,this.enableBodyScroll()):(this.mobile=!0,this.bodyScroll||this.disableBodyScroll())},this.onClick=()=>{this.open=!this.open},this.enableBodyScroll=()=>{this.nav&&n(this.nav),this.itemsContainer&&n(this.itemsContainer)},this.disableBodyScroll=()=>{this.nav&&o(this.nav,{reserveScrollBarGap:!0}),this.itemsContainer&&o(this.itemsContainer,{reserveScrollBarGap:!0})},this.checkIfHasItems=()=>{const e=!!this.element.querySelector("duet-submenu-bar-dropdown-link"),t=!!this.element.querySelector("duet-submenu-bar-link"),i=!!this.element.querySelector("duet-submenu-bar-item");return e||t||i},this.hidden=!1,this.mobile=!0,this.bodyScroll=!0,this.theme="",this.hideOnScroll=!1,this.open=!1,this.accessibleLabel=void 0}watchOpenStateHandler(e){e?(this.bodyScroll=!1,this.disableBodyScroll()):(this.enableBodyScroll(),this.bodyScroll=!0)}componentWillLoad(){d(this)}connectedCallback(){this.nav=document.querySelector("duet-nav > [slot='mobile']"),this.hasItems=this.checkIfHasItems(),this.handleMobileView();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.handleMobileView.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[],this.enableBodyScroll()}async setFocus(e){this.button.focus(e)}checkScroll(){this.hideOnScroll&&(window.scrollY>this.previousYScroll?window.scrollY>100&&(this.hidden=!0):window.scrollY<150&&(this.hidden=!1),this.previousYScroll=window.scrollY)}render(){return t(i,{key:"8d2a6b2a0b7c84afb8d61508907992f8b6bdda06"},t("nav",{key:"98d23766ad48d99a0838520d6f67ce91b412198e",class:{"duet-submenu-bar":!0,"duet-theme-turva":"turva"===this.theme,hidden:this.hidden},"aria-label":this.accessibleLabel},this.hasItems&&t("button",{key:"d7480f342588cc6a36320b77a896dcab23b6eaa6",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},t("span",{key:"4993924e6fc711bebf1730098bfce3b03352d3a3",class:"label"},t("slot",{key:"96d2a2598974b954d7356e30f0944a1391889b81",name:"label"}),t("duet-icon",{key:"31f715447d28b021e55472a6f0206d416ec9bfad",theme:this.theme,class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"dcee976dcad422cad0659ab4660908a5a3cc199a",class:{"menu-container":!0,hidden:!this.open},role:"presentation"},t("div",{key:"06f7df5458d96f348d6ee9fd51ed36b8882b786b",role:this.mobile?"menu":null,id:"menu","aria-labelledby":this.mobile?"button":null,"aria-expanded":this.mobile?this.open?"true":"false":null,class:{items:!0,hidden:!this.open},ref:e=>this.itemsContainer=e},t("div",{key:"8e176f888c84b7c1ac873f24412679426a872326",class:"list",role:this.mobile?"presentation":"list"},t("slot",{key:"f4df0b6566761ccbde3d382f29a1100bfb12ad15"}),t("div",{key:"5f95cb75994341f33fe801a198c6d907c08b497c",class:"list-padding"}))),t("duet-overlay",{key:"af3a1f80bede46a7a8aba422119493ae64fb8cf0","keep-stacking-context":!0,visible:this.open,"display-device":"not-large",transition:"immediate"}))))}get element(){return a(this)}static get watchers(){return{open:["watchOpenStateHandler"]}}};r.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;width:100%}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;top:0;z-index:1;background:rgb(240, 247, 250);transition:top 0.4s}.duet-submenu-bar.hidden{top:-200px}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(198, 225, 238)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{max-height:0;overflow:hidden;visibility:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;max-height:unset;overflow:visible;visibility:visible}}.duet-submenu-bar .items{width:100%;height:70vh;overflow-y:scroll;visibility:visible;background:rgb(240, 247, 250);border-bottom:1px solid rgb(181, 198, 208)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{max-height:0;overflow:hidden;visibility:hidden;border-bottom:0 solid rgb(181, 198, 208)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;visibility:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar.duet-theme-turva{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-submenu-bar.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 247, 250)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 28, 58)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva{background:#fcf7f3;border-bottom-color:#ffefe5}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva .items{background:#fcf7f3}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva .mobile-background{background:#171c3a}';export{r as duet_submenu_bar}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,n,e,i){function o(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,r){function a(t){try{s(i.next(t))}catch(t){r(t)}}function u(t){try{s(i["throw"](t))}catch(t){r(t)}}function s(t){t.done?e(t.value):o(t.value).then(a,u)}s((i=i.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,o,r,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(n){return s([t,n])}}function s(u){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(e=0)),e)try{if(i=1,o&&(r=u[0]&2?o["return"]:u[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,u[1])).done)return r;if(o=0,r)u=[u[0]&2,r.value];switch(u[0]){case 0:case 1:r=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;o=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]<r[3])){e.label=u[1];break}if(u[0]===6&&e.label<r[1]){e.label=r[1];r=u;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(u);break}if(r[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];o=0}finally{i=r=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-ee989afa.system.js","./p-0a53642c.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-752fa0fc.system.js","./p-5aee98ad.system.js","./p-9508ee67.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(t){"use strict";var n,e,i,o,r,a,u,s,c,d,h,b,f,l,p;return{setters:[function(t){n=t.r;e=t.c;i=t.h;o=t.H;r=t.g},function(t){a=t.i},function(t){u=t.c},function(t){s=t.d},function(t){c=t.i},function(t){d=t.g;h=t.c;b=t.d},function(t){f=t.c;l=t.g;p=t.s},function(){},function(){}],execute:function(){var m="*,*::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;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva{color:#171c3a;background:#fcf7f3}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:not(:disabled):hover{background:#efebe7}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:focus{box-shadow:0 0 0 2px #171c3a !important}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:active:focus{background:#e3dedb !important;box-shadow:none}";var v=m;var g=t("duet_action_button",function(){function t(t){var i=this;n(this,t);this.duetActionEvent=e(this,"duetActionEvent",6);this.listId=u("duet-action-button");this.emitPageEvent=s((function(t){i.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:i.actionId,name:i.actionName,meta:i.actionMeta,id:i.listId})}));this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName=undefined;this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleTitle=true;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"};this.accessibleLabel=d(this.accessibleLabelsDefaults);this.accessibleControls="";this.url=undefined}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(c(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.getTitle=function(){if(typeof this.accessibleTitle==="string"){return this.accessibleTitle}if(this.accessibleTitle===true&&this.actionName){return f("".concat(this.actionName))}return null};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){b(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t;var n=this;var e=this.color==="currentColor"?"currentColor":l(this.color,this.theme);var r=l(this.background,this.theme);var a=r?p(r,-.1):r;var u=r?"\n button.duet-action-button {\n background: ".concat(r," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(a," !important;\n }\n "):"";var s={color:e,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};var c={ref:function(t){return n.nativeButton=t},part:"button",style:s,disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t["duet-theme-turva"]=this.theme==="turva",t)};return i(o,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:function(t){return n.onKeyboardDown(t)}},i("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:u}),this.url&&!this.disabled?i("a",Object.assign({},c,{href:this.url}),i("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):i("button",Object.assign({},c,{onClick:function(t){return n.onMouseHandler(t)}}),i("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),i("duet-visually-hidden",null,i("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());g.style=v}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,h as e,H as a,g as r}from"./p-c02333fd.js";import{i as s}from"./p-347269f4.js";import{f as i}from"./p-4373618f.js";import{a as o}from"./p-d10927bb.js";import{g as h}from"./p-5de30279.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const c=class{constructor(e){t(this,e),this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"],this.colorPickCount=0,this.items=void 0,this.theme="",this.unit="%"}componentWillLoad(){s(this)}connectedCallback(){this.childObserver=new MutationObserver(this.updateChartItems.bind(this)),this.childObserver.observe(this.element,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.updateChartItems()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0)}pickColor(){const t=this.defaultColors[this.colorPickCount];return this.colorPickCount+=1,this.colorPickCount>this.defaultColors.length-1&&(this.colorPickCount=0),t}updateChartItems(){const t=o(this.element).filter((t=>"duet-share-chart-item"===t.tagName.toLocaleLowerCase()));this.items=t.map((t=>({text:t.textContent,value:t.value,color:t.color||this.pickColor()}))),this.itemsTotalValue=this.items.reduce(((t,{value:e})=>t+e),0)}render(){return e(a,{key:"8cde787631aaefbe212629a037cf8c398cd2f083"},e("div",{key:"f7632b55f599164ae9dc6c8af3f70fcc7188e8a6",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.map((t=>e("span",{class:"duet-share-chart-share",style:{width:t.value/this.itemsTotalValue*100+"%",backgroundColor:h(t.color,this.theme)}})))),e("ul",{key:"b7902638812b20d9afd3d5bc156e74b1ed162d8c",class:"duet-share-chart-item-list"},this.items.map((t=>e("li",{class:{"duet-theme-turva":"turva"===this.theme}},e("span",{class:"duet-share-chart-item-color",style:{background:h(t.color,this.theme)}}),e("span",{class:"duet-share-chart-item-text"},t.text,":"),e("span",{class:"duet-share-chart-item-value"}," ",i(t.value)," ",this.unit),"%"!==this.unit&&e("duet-visually-hidden",null,`${i(t.value/this.itemsTotalValue*100,0)} %`))))),e("slot",{key:"4d57f6b752926c779e6b2f52b217383cb135c236"}))}get element(){return r(this)}};c.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}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:#171c3a}';export{c as duet_share_chart}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
const inheritGlobalTheme = (component) => {
|
|
5
|
-
var _a, _b;
|
|
6
|
-
// this is done in a complex way to support hydrate.renderToString
|
|
7
|
-
const classList = (_b = (_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "";
|
|
8
|
-
const theme = /(duet-theme-)([a-z0-9]*)/gi.exec(classList);
|
|
9
|
-
if (theme && theme[1] === "duet-theme-") {
|
|
10
|
-
if (theme[2] === "turva2") {
|
|
11
|
-
component.theme = "turva";
|
|
12
|
-
if (component.element) {
|
|
13
|
-
component.element.classList.add("duet-theme-turva2");
|
|
14
|
-
}
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
component.theme = theme[2] === "default" ? "" : theme[2];
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { inheritGlobalTheme as i };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r["throw"](e))}catch(e){o(e)}}function u(e){e.done?n(e.value):i(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(e,t){var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0)n[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++){if(t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i]))n[r[i]]=e[r[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/var min$1=Math.min;var max$1=Math.max;var oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"};var oppositeAlignmentMap={start:"end",end:"start"};function clamp(e,t,n){return max$1(e,min$1(t,n))}function evaluate(e,t){return typeof e==="function"?e(t):e}function getSide(e){return e.split("-")[0]}function getAlignment(e){return e.split("-")[1]}function getOppositeAxis(e){return e==="x"?"y":"x"}function getAxisLength(e){return e==="y"?"height":"width"}var yAxisSides=new Set(["top","bottom"]);function getSideAxis(e){return yAxisSides.has(getSide(e))?"y":"x"}function getAlignmentAxis(e){return getOppositeAxis(getSideAxis(e))}function getAlignmentSides(e,t,n){if(n===void 0){n=false}var r=getAlignment(e);var i=getAlignmentAxis(e);var o=getAxisLength(i);var a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";if(t.reference[o]>t.floating[o]){a=getOppositePlacement(a)}return[a,getOppositePlacement(a)]}function getExpandedPlacements(e){var t=getOppositePlacement(e);return[getOppositeAlignmentPlacement(e),t,getOppositeAlignmentPlacement(t)]}function getOppositeAlignmentPlacement(e){return e.replace(/start|end/g,(function(e){return oppositeAlignmentMap[e]}))}var lrPlacement=["left","right"];var rlPlacement=["right","left"];var tbPlacement=["top","bottom"];var btPlacement=["bottom","top"];function getSideList(e,t,n){switch(e){case"top":case"bottom":if(n)return t?rlPlacement:lrPlacement;return t?lrPlacement:rlPlacement;case"left":case"right":return t?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(e,t,n,r){var i=getAlignment(e);var o=getSideList(getSide(e),n==="start",r);if(i){o=o.map((function(e){return e+"-"+i}));if(t){o=o.concat(o.map(getOppositeAlignmentPlacement))}}return o}function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,(function(e){return oppositeSideMap[e]}))}function expandPaddingObject(e){return __assign({top:0,right:0,bottom:0,left:0},e)}function getPaddingObject(e){return typeof e!=="number"?expandPaddingObject(e):{top:e,right:e,bottom:e,left:e}}function rectToClientRect(e){var t=e.x,n=e.y,r=e.width,i=e.height;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function computeCoordsFromPlacement(e,t,n){var r=e.reference,i=e.floating;var o=getSideAxis(t);var a=getAlignmentAxis(t);var s=getAxisLength(a);var u=getSide(t);var l=o==="y";var c=r.x+r.width/2-i.width/2;var f=r.y+r.height/2-i.height/2;var g=r[s]/2-i[s]/2;var v;switch(u){case"top":v={x:c,y:r.y-i.height};break;case"bottom":v={x:c,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:f};break;case"left":v={x:r.x-i.width,y:f};break;default:v={x:r.x,y:r.y}}switch(getAlignment(t)){case"start":v[a]-=g*(n&&l?-1:1);break;case"end":v[a]+=g*(n&&l?-1:1);break}return v}var computePosition$1=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,i,o,a,s,u,l,c,f,g,v,d,m,p,h,w,_,y,x,A,S,b,C,O,P,E;var R,N;return __generator(this,(function(T){switch(T.label){case 0:r=n.placement,i=r===void 0?"bottom":r,o=n.strategy,a=o===void 0?"absolute":o,s=n.middleware,u=s===void 0?[]:s,l=n.platform;c=u.filter(Boolean);return[4,l.isRTL==null?void 0:l.isRTL(t)];case 1:f=T.sent();return[4,l.getElementRects({reference:e,floating:t,strategy:a})];case 2:g=T.sent();v=computeCoordsFromPlacement(g,i,f),d=v.x,m=v.y;p=i;h={};w=0;_=0;T.label=3;case 3:if(!(_<c.length))return[3,11];y=c[_],x=y.name,A=y.fn;return[4,A({x:d,y:m,initialPlacement:i,placement:p,strategy:a,middlewareData:h,rects:g,platform:l,elements:{reference:e,floating:t}})];case 4:S=T.sent(),b=S.x,C=S.y,O=S.data,P=S.reset;d=b!=null?b:d;m=C!=null?C:m;h=__assign(__assign({},h),(R={},R[x]=__assign(__assign({},h[x]),O),R));if(!(P&&w<=50))return[3,10];w++;if(!(typeof P==="object"))return[3,9];if(P.placement){p=P.placement}if(!P.rects)return[3,8];if(!(P.rects===true))return[3,6];return[4,l.getElementRects({reference:e,floating:t,strategy:a})];case 5:E=T.sent();return[3,7];case 6:E=P.rects;T.label=7;case 7:g=E;T.label=8;case 8:N=computeCoordsFromPlacement(g,p,f),d=N.x,m=N.y;T.label=9;case 9:_=-1;T.label=10;case 10:_++;return[3,3];case 11:return[2,{x:d,y:m,placement:p,strategy:a,middlewareData:h}]}}))}))};function detectOverflow(e,t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,g,v,d,m,p,h,w,_,y,x,A,S,b,C,O,P,E,R,N,T,L,k,B,M;var D;return __generator(this,(function(F){switch(F.label){case 0:if(t===void 0){t={}}r=e.x,i=e.y,o=e.platform,a=e.rects,s=e.elements,u=e.strategy;l=evaluate(t,e),c=l.boundary,f=c===void 0?"clippingAncestors":c,g=l.rootBoundary,v=g===void 0?"viewport":g,d=l.elementContext,m=d===void 0?"floating":d,p=l.altBoundary,h=p===void 0?false:p,w=l.padding,_=w===void 0?0:w;y=getPaddingObject(_);x=m==="floating"?"reference":"floating";A=s[h?x:m];b=rectToClientRect;O=(C=o).getClippingRect;D={};return[4,o.isElement==null?void 0:o.isElement(A)];case 1:if(!((n=F.sent())!=null?n:true))return[3,2];P=A;return[3,5];case 2:E=A.contextElement;if(E)return[3,4];return[4,o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)];case 3:E=F.sent();F.label=4;case 4:P=E;F.label=5;case 5:return[4,O.apply(C,[(D.element=P,D.boundary=f,D.rootBoundary=v,D.strategy=u,D)])];case 6:S=b.apply(void 0,[F.sent()]);R=m==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference;return[4,o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)];case 7:N=F.sent();return[4,o.isElement==null?void 0:o.isElement(N)];case 8:if(!F.sent())return[3,10];return[4,o.getScale==null?void 0:o.getScale(N)];case 9:L=F.sent()||{x:1,y:1};return[3,11];case 10:L={x:1,y:1};F.label=11;case 11:T=L;B=rectToClientRect;if(!o.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,13];return[4,o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:R,offsetParent:N,strategy:u})];case 12:M=F.sent();return[3,14];case 13:M=R;F.label=14;case 14:k=B.apply(void 0,[M]);return[2,{top:(S.top-k.top+y.top)/T.y,bottom:(k.bottom-S.bottom+y.bottom)/T.y,left:(S.left-k.left+y.left)/T.x,right:(k.right-S.right+y.right)/T.x}]}}))}))}var arrow=function(e){return{name:"arrow",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,g,v,d,m,p,h,w,_,y,x,A,S,b,C,O,P,E,R,N,T,L,k,B,M,D;var F,$;return __generator(this,(function(W){switch(W.label){case 0:n=t.x,r=t.y,i=t.placement,o=t.rects,a=t.platform,s=t.elements,u=t.middlewareData;l=evaluate(e,t)||{},c=l.element,f=l.padding,g=f===void 0?0:f;if(c==null){return[2,{}]}v=getPaddingObject(g);d={x:n,y:r};m=getAlignmentAxis(i);p=getAxisLength(m);return[4,a.getDimensions(c)];case 1:h=W.sent();w=m==="y";_=w?"top":"left";y=w?"bottom":"right";x=w?"clientHeight":"clientWidth";A=o.reference[p]+o.reference[m]-d[m]-o.floating[p];S=d[m]-o.reference[m];return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(c)];case 2:b=W.sent();C=b?b[x]:0;O=!C;if(O)return[3,4];return[4,a.isElement==null?void 0:a.isElement(b)];case 3:O=!W.sent();W.label=4;case 4:if(O){C=s.floating[x]||o.floating[p]}P=A/2-S/2;E=C/2-h[p]/2-1;R=min$1(v[_],E);N=min$1(v[y],E);T=R;L=C-h[p]-N;k=C/2-h[p]/2+P;B=clamp(T,k,L);M=!u.arrow&&getAlignment(i)!=null&&k!==B&&o.reference[p]/2-(k<T?R:N)-h[p]/2<0;D=M?k<T?k-T:k-L:0;return[2,(F={},F[m]=d[m]+D,F.data=__assign(($={},$[m]=B,$.centerOffset=k-B-D,$),M&&{alignmentOffset:D}),F.reset=M,F)]}}))}))}}};var flip=function(e){if(e===void 0){e={}}return{name:"flip",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,g,v,d,m,p,h,w,_,y,x,A,S,b,C,O,P,E,R,N,T,L,k,B,M,D,F,$,W,H,j;return __generator(this,(function(V){switch(V.label){case 0:i=t.placement,o=t.middlewareData,a=t.rects,s=t.initialPlacement,u=t.platform,l=t.elements;c=evaluate(e,t),f=c.mainAxis,g=f===void 0?true:f,v=c.crossAxis,d=v===void 0?true:v,m=c.fallbackPlacements,p=c.fallbackStrategy,h=p===void 0?"bestFit":p,w=c.fallbackAxisSideDirection,_=w===void 0?"none":w,y=c.flipAlignment,x=y===void 0?true:y,A=__rest(c,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=o.arrow)!=null&&n.alignmentOffset){return[2,{}]}S=getSide(i);b=getSideAxis(s);C=getSide(s)===s;return[4,u.isRTL==null?void 0:u.isRTL(l.floating)];case 1:O=V.sent();P=m||(C||!x?[getOppositePlacement(s)]:getExpandedPlacements(s));E=_!=="none";if(!m&&E){P.push.apply(P,getOppositeAxisPlacements(s,x,_,O))}R=__spreadArray([s],P,true);return[4,detectOverflow(t,A)];case 2:N=V.sent();T=[];L=((r=o.flip)==null?void 0:r.overflows)||[];if(g){T.push(N[S])}if(d){k=getAlignmentSides(i,a,O);T.push(N[k[0]],N[k[1]])}L=__spreadArray(__spreadArray([],L,true),[{placement:i,overflows:T}],false);if(!T.every((function(e){return e<=0}))){D=(((B=o.flip)==null?void 0:B.index)||0)+1;F=R[D];if(F){$=d==="alignment"?b!==getSideAxis(F):false;if(!$||L.every((function(e){return getSideAxis(e.placement)===b?e.overflows[0]>0:true}))){return[2,{data:{index:D,overflows:L},reset:{placement:F}}]}}W=(M=L.filter((function(e){return e.overflows[0]<=0})).sort((function(e,t){return e.overflows[1]-t.overflows[1]}))[0])==null?void 0:M.placement;if(!W){switch(h){case"bestFit":{j=(H=L.filter((function(e){if(E){var t=getSideAxis(e.placement);return t===b||t==="y"}return true})).map((function(e){return[e.placement,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])==null?void 0:H[0];if(j){W=j}break}case"initialPlacement":W=s;break}}if(i!==W){return[2,{reset:{placement:W}}]}}return[2,{}]}}))}))}}};var originSides=new Set(["left","top"]);function convertValueToCoords(e,t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,g,v,d,m;return __generator(this,(function(p){switch(p.label){case 0:n=e.placement,r=e.platform,i=e.elements;return[4,r.isRTL==null?void 0:r.isRTL(i.floating)];case 1:o=p.sent();a=getSide(n);s=getAlignment(n);u=getSideAxis(n)==="y";l=originSides.has(a)?-1:1;c=o&&u?-1:1;f=evaluate(t,e);g=typeof f==="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis},v=g.mainAxis,d=g.crossAxis,m=g.alignmentAxis;if(s&&typeof m==="number"){d=s==="end"?m*-1:m}return[2,u?{x:d*c,y:v*l}:{x:v*l,y:d*c}]}}))}))}var offset=function(e){if(e===void 0){e=0}return{name:"offset",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u;return __generator(this,(function(l){switch(l.label){case 0:i=t.x,o=t.y,a=t.placement,s=t.middlewareData;return[4,convertValueToCoords(t,e)];case 1:u=l.sent();if(a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset){return[2,{}]}return[2,{x:i+u.x,y:o+u.y,data:__assign(__assign({},u),{placement:a})}]}}))}))}}};var shift=function(e){if(e===void 0){e={}}return{name:"shift",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,l,c,f,g,v,d,m,p,h,w,_,y,x,A,_,y,S,b,C;var O,P;return __generator(this,(function(E){switch(E.label){case 0:n=t.x,r=t.y,i=t.placement;o=evaluate(e,t),a=o.mainAxis,s=a===void 0?true:a,u=o.crossAxis,l=u===void 0?false:u,c=o.limiter,f=c===void 0?{fn:function(e){var t=e.x,n=e.y;return{x:t,y:n}}}:c,g=__rest(o,["mainAxis","crossAxis","limiter"]);v={x:n,y:r};return[4,detectOverflow(t,g)];case 1:d=E.sent();m=getSideAxis(getSide(i));p=getOppositeAxis(m);h=v[p];w=v[m];if(s){_=p==="y"?"top":"left";y=p==="y"?"bottom":"right";x=h+d[_];A=h-d[y];h=clamp(x,h,A)}if(l){_=m==="y"?"top":"left";y=m==="y"?"bottom":"right";S=w+d[_];b=w-d[y];w=clamp(S,w,b)}C=f.fn(__assign(__assign({},t),(O={},O[p]=h,O[m]=w,O)));return[2,__assign(__assign({},C),{data:{x:C.x-n,y:C.y-r,enabled:(P={},P[p]=s,P[m]=l,P)}})]}}))}))}}};function getWindow(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function getComputedStyle$1(e){return getWindow(e).getComputedStyle(e)}function isNode(e){return e instanceof getWindow(e).Node}function getNodeName(e){return isNode(e)?(e.nodeName||"").toLowerCase():""}function isHTMLElement(e){return e instanceof getWindow(e).HTMLElement}function isElement(e){return e instanceof getWindow(e).Element}function isShadowRoot(e){if(typeof ShadowRoot==="undefined"){return false}var t=getWindow(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function isOverflowElement(e){var t=getComputedStyle$1(e),n=t.overflow,r=t.overflowX,i=t.overflowY,o=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+r)&&!["inline","contents"].includes(o)}function isTableElement(e){return["table","td","th"].includes(getNodeName(e))}function isContainingBlock(e){var t=isSafari();var n=getComputedStyle$1(e);return n.transform!=="none"||n.perspective!=="none"||!t&&(n.backdropFilter?n.backdropFilter!=="none":false)||!t&&(n.filter?n.filter!=="none":false)||["transform","perspective","filter"].some((function(e){return(n.willChange||"").includes(e)}))||["paint","layout","strict","content"].some((function(e){return(n.contain||"").includes(e)}))}function isSafari(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(e){return["html","body","#document"].includes(getNodeName(e))}var min=Math.min;var max=Math.max;var round=Math.round;function getCssDimensions(e){var t=getComputedStyle$1(e);var n=parseFloat(t.width)||0;var r=parseFloat(t.height)||0;var i=isHTMLElement(e);var o=i?e.offsetWidth:n;var a=i?e.offsetHeight:r;var s=round(n)!==o||round(r)!==a;if(s){n=o;r=a}return{width:n,height:r,fallback:s}}function unwrapElement(e){return!isElement(e)?e.contextElement:e}var FALLBACK_SCALE={x:1,y:1};function getScale(e){var t=unwrapElement(e);if(!isHTMLElement(t)){return FALLBACK_SCALE}var n=t.getBoundingClientRect();var r=getCssDimensions(t),i=r.width,o=r.height,a=r.fallback;var s=(a?round(n.width):n.width)/i;var u=(a?round(n.height):n.height)/o;if(!s||!Number.isFinite(s)){s=1}if(!u||!Number.isFinite(u)){u=1}return{x:s,y:u}}var noOffsets={x:0,y:0};function getVisualOffsets(e,t,n){var r,i;if(t===void 0){t=true}if(!isSafari()){return noOffsets}var o=e?getWindow(e):window;if(!n||t&&n!==o){return noOffsets}return{x:((r=o.visualViewport)==null?void 0:r.offsetLeft)||0,y:((i=o.visualViewport)==null?void 0:i.offsetTop)||0}}function getBoundingClientRect(e,t,n,r){if(t===void 0){t=false}if(n===void 0){n=false}var i=e.getBoundingClientRect();var o=unwrapElement(e);var a=FALLBACK_SCALE;if(t){if(r){if(isElement(r)){a=getScale(r)}}else{a=getScale(e)}}var s=getVisualOffsets(o,n,r);var u=(i.left+s.x)/a.x;var l=(i.top+s.y)/a.y;var c=i.width/a.x;var f=i.height/a.y;if(o){var g=getWindow(o);var v=r&&isElement(r)?getWindow(r):r;var d=g.frameElement;while(d&&r&&v!==g){var m=getScale(d);var p=d.getBoundingClientRect();var h=getComputedStyle(d);p.x+=(d.clientLeft+parseFloat(h.paddingLeft))*m.x;p.y+=(d.clientTop+parseFloat(h.paddingTop))*m.y;u*=m.x;l*=m.y;c*=m.x;f*=m.y;u+=p.x;l+=p.y;d=getWindow(d).frameElement}}return rectToClientRect({width:c,height:f,x:u,y:l})}function getDocumentElement(e){return((isNode(e)?e.ownerDocument:e.document)||window.document).documentElement}function getNodeScroll(e){if(isElement(e)){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function convertOffsetParentRelativeRectToViewportRelativeRect(e){var t=e.rect,n=e.offsetParent,r=e.strategy;var i=isHTMLElement(n);var o=getDocumentElement(n);if(n===o){return t}var a={scrollLeft:0,scrollTop:0};var s={x:1,y:1};var u={x:0,y:0};if(i||!i&&r!=="fixed"){if(getNodeName(n)!=="body"||isOverflowElement(o)){a=getNodeScroll(n)}if(isHTMLElement(n)){var l=getBoundingClientRect(n);s=getScale(n);u.x=l.x+n.clientLeft;u.y=l.y+n.clientTop}}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+u.x,y:t.y*s.y-a.scrollTop*s.y+u.y}}function getWindowScrollBarX(e){return getBoundingClientRect(getDocumentElement(e)).left+getNodeScroll(e).scrollLeft}function getDocumentRect(e){var t=getDocumentElement(e);var n=getNodeScroll(e);var r=e.ownerDocument.body;var i=max(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth);var o=max(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);var a=-n.scrollLeft+getWindowScrollBarX(e);var s=-n.scrollTop;if(getComputedStyle$1(r).direction==="rtl"){a+=max(t.clientWidth,r.clientWidth)-i}return{width:i,height:o,x:a,y:s}}function getParentNode(e){if(getNodeName(e)==="html"){return e}var t=e.assignedSlot||e.parentNode||isShadowRoot(e)&&e.host||getDocumentElement(e);return isShadowRoot(t)?t.host:t}function getNearestOverflowAncestor(e){var t=getParentNode(e);if(isLastTraversableNode(t)){return t.ownerDocument.body}if(isHTMLElement(t)&&isOverflowElement(t)){return t}return getNearestOverflowAncestor(t)}function getOverflowAncestors(e,t){var n;if(t===void 0){t=[]}var r=getNearestOverflowAncestor(e);var i=r===((n=e.ownerDocument)==null?void 0:n.body);var o=getWindow(r);if(i){return t.concat(o,o.visualViewport||[],isOverflowElement(r)?r:[])}return t.concat(r,getOverflowAncestors(r))}function getViewportRect(e,t){var n=getWindow(e);var r=getDocumentElement(e);var i=n.visualViewport;var o=r.clientWidth;var a=r.clientHeight;var s=0;var u=0;if(i){o=i.width;a=i.height;var l=isSafari();if(!l||l&&t==="fixed"){s=i.offsetLeft;u=i.offsetTop}}return{width:o,height:a,x:s,y:u}}function getInnerBoundingClientRect(e,t){var n=getBoundingClientRect(e,true,t==="fixed");var r=n.top+e.clientTop;var i=n.left+e.clientLeft;var o=isHTMLElement(e)?getScale(e):{x:1,y:1};var a=e.clientWidth*o.x;var s=e.clientHeight*o.y;var u=i*o.x;var l=r*o.y;return{width:a,height:s,x:u,y:l}}function getClientRectFromClippingAncestor(e,t,n){var r;if(t==="viewport"){r=getViewportRect(e,n)}else if(t==="document"){r=getDocumentRect(getDocumentElement(e))}else if(isElement(t)){r=getInnerBoundingClientRect(t,n)}else{var i=getVisualOffsets(e);r=__assign(__assign({},t),{x:t.x-i.x,y:t.y-i.y})}return rectToClientRect(r)}function hasFixedPositionAncestor(e,t){var n=getParentNode(e);if(n===t||!isElement(n)||isLastTraversableNode(n)){return false}return getComputedStyle$1(n).position==="fixed"||hasFixedPositionAncestor(n,t)}function getClippingElementAncestors(e,t){var n=t.get(e);if(n){return n}var r=getOverflowAncestors(e).filter((function(e){return isElement(e)&&getNodeName(e)!=="body"}));var i=null;var o=getComputedStyle$1(e).position==="fixed";var a=o?getParentNode(e):e;while(isElement(a)&&!isLastTraversableNode(a)){var s=getComputedStyle$1(a);var u=isContainingBlock(a);if(!u&&s.position==="fixed"){i=null}var l=o?!u&&!i:!u&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||isOverflowElement(a)&&!u&&hasFixedPositionAncestor(e,a);if(l){r=r.filter((function(e){return e!==a}))}else{i=s}a=getParentNode(a)}t.set(e,r);return r}function getClippingRect(e){var t=e.element,n=e.boundary,r=e.rootBoundary,i=e.strategy;var o=n==="clippingAncestors"?getClippingElementAncestors(t,this._c):[].concat(n);var a=__spreadArray(__spreadArray([],o,true),[r],false);var s=a[0];var u=a.reduce((function(e,n){var r=getClientRectFromClippingAncestor(t,n,i);e.top=max(r.top,e.top);e.right=min(r.right,e.right);e.bottom=min(r.bottom,e.bottom);e.left=max(r.left,e.left);return e}),getClientRectFromClippingAncestor(t,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function getDimensions(e){return getCssDimensions(e)}function getTrueOffsetParent(e,t){if(!isHTMLElement(e)||getComputedStyle$1(e).position==="fixed"){return null}if(t){return t(e)}return e.offsetParent}function getContainingBlock(e){var t=getParentNode(e);while(isHTMLElement(t)&&!isLastTraversableNode(t)){if(isContainingBlock(t)){return t}else{t=getParentNode(t)}}return null}function getOffsetParent(e,t){var n=getWindow(e);if(!isHTMLElement(e)){return n}var r=getTrueOffsetParent(e,t);while(r&&isTableElement(r)&&getComputedStyle$1(r).position==="static"){r=getTrueOffsetParent(r,t)}if(r&&(getNodeName(r)==="html"||getNodeName(r)==="body"&&getComputedStyle$1(r).position==="static"&&!isContainingBlock(r))){return n}return r||getContainingBlock(e)||n}function getRectRelativeToOffsetParent(e,t,n){var r=isHTMLElement(t);var i=getDocumentElement(t);var o=n==="fixed";var a=getBoundingClientRect(e,true,o,t);var s={scrollLeft:0,scrollTop:0};var u={x:0,y:0};if(r||!r&&!o){if(getNodeName(t)!=="body"||isOverflowElement(i)){s=getNodeScroll(t)}if(isHTMLElement(t)){var l=getBoundingClientRect(t,true,o,t);u.x=l.x+t.clientLeft;u.y=l.y+t.clientTop}else if(i){u.x=getWindowScrollBarX(i)}}return{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}var platform={getClippingRect:getClippingRect,convertOffsetParentRelativeRectToViewportRelativeRect:convertOffsetParentRelativeRectToViewportRelativeRect,isElement:isElement,getDimensions:getDimensions,getOffsetParent:getOffsetParent,getDocumentElement:getDocumentElement,getScale:getScale,getElementRects:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,r,i,o,a,s,u;var l;return __generator(this,(function(c){switch(c.label){case 0:t=e.reference,n=e.floating,r=e.strategy;i=this.getOffsetParent||getOffsetParent;o=this.getDimensions;l={};a=getRectRelativeToOffsetParent;s=[t];return[4,i(n)];case 1:l.reference=a.apply(void 0,s.concat([c.sent(),r]));u=[{x:0,y:0}];return[4,o(n)];case 2:return[2,(l.floating=__assign.apply(void 0,u.concat([c.sent()])),l)]}}))}))},getClientRects:function(e){return Array.from(e.getClientRects())},isRTL:function(e){return getComputedStyle$1(e).direction==="rtl"}};function autoUpdate(e,t,n,r){if(r===void 0){r={}}var i=r.ancestorScroll,o=i===void 0?true:i,a=r.ancestorResize,s=a===void 0?true:a,u=r.elementResize,l=u===void 0?true:u,c=r.animationFrame,f=c===void 0?false:c;var g=o||s?__spreadArray(__spreadArray([],isElement(e)?getOverflowAncestors(e):e.contextElement?getOverflowAncestors(e.contextElement):[],true),getOverflowAncestors(t),true):[];g.forEach((function(e){var t=!isElement(e)&&e.toString().includes("V");if(o&&(f?t:true)){e.addEventListener("scroll",n,{passive:true})}s&&e.addEventListener("resize",n)}));var v=null;if(l){v=new ResizeObserver((function(){n()}));isElement(e)&&!f&&v.observe(e);if(!isElement(e)&&e.contextElement&&!f){v.observe(e.contextElement)}v.observe(t)}var d;var m=f?getBoundingClientRect(e):null;if(f){p()}function p(){var t=getBoundingClientRect(e);if(m&&(t.x!==m.x||t.y!==m.y||t.width!==m.width||t.height!==m.height)){n()}m=t;d=requestAnimationFrame(p)}n();return function(){var e;g.forEach((function(e){o&&e.removeEventListener("scroll",n);s&&e.removeEventListener("resize",n)}));(e=v)==null?void 0:e.disconnect();v=null;if(f){cancelAnimationFrame(d)}}}var computePosition=function(e,t,n){var r=new Map;var i=__assign({platform:platform},n);var o=__assign(__assign({},i.platform),{_c:r});return computePosition$1(e,t,__assign(__assign({},i),{platform:o}))};export{arrow as a,autoUpdate as b,computePosition as c,flip as f,offset as o,shift as s};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{h}from"./index-01321175.js";var focusElement=function(u){if("setFocus"in u){u.setFocus()}else{u.focus()}};var FocusGuard=function(u){var e=u.moveFocusTo;return h("div",{class:"duet-focus-guard","aria-hidden":"true",tabIndex:0,onFocus:function(){return focusElement(e)}})};export{FocusGuard as F,focusElement as f};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
var inheritGlobalTheme=function(e){var t,a;var i=(a=(t=document.documentElement.attributes.getNamedItem("class"))===null||t===void 0?void 0:t.value)!==null&&a!==void 0?a:"";var r=/(duet-theme-)([a-z0-9]*)/gi.exec(i);if(r&&r[1]==="duet-theme-"){if(r[2]==="turva2"){e.theme="turva";if(e.element){e.element.classList.add("duet-theme-turva2")}return}e.theme=r[2]==="default"?"":r[2]}};export{inheritGlobalTheme as i};
|