@duetds/components 10.0.0-alpha.2 → 10.0.0-alpha.3
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 +744 -240
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-badge.cjs.entry.js +2 -2
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +4 -4
- 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 +2 -2
- package/lib/cjs/duet-caption_4.cjs.entry.js +8 -8
- package/lib/cjs/duet-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
- package/lib/cjs/duet-chip_3.cjs.entry.js +6 -6
- package/lib/cjs/duet-choice_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +504 -11
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-hero.cjs.entry.js +5 -5
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-layout.cjs.entry.js +5 -5
- 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 +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- 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 +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
- package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
- package/lib/cjs/duet-pagination_2.cjs.entry.js +15 -15
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- 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 +14 -14
- package/lib/cjs/duet-section-layout.cjs.entry.js +3 -3
- package/lib/cjs/duet-select.cjs.entry.js +5 -5
- package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
- package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +8 -8
- package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +5 -5
- package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +1 -1
- package/lib/cjs/loader.cjs.js +1 -1
- package/lib/cjs/{token-utils-12717808.js → token-utils-5000595c.js} +1 -1
- package/lib/cjs/{tokens.module-46ddb47a.js → tokens.module-7c947029.js} +16 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +9 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -6
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +6 -6
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -2
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +3 -6
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +6 -6
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +6 -6
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-table/duet-table-styles.js +499 -0
- package/lib/collection/components/duet-table/duet-table.js +5 -12
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumb.js +6 -6
- 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 +3 -3
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +8 -8
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +12 -12
- package/lib/dist-custom-elements/duet-contact-card.js +9 -9
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +12 -12
- 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 +2 -2
- package/lib/dist-custom-elements/duet-footer.js +10 -10
- 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 +7 -7
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +13 -13
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +5 -5
- 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 +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -5
- 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 +3 -3
- package/lib/dist-custom-elements/duet-modal.js +13 -13
- package/lib/dist-custom-elements/duet-multiselect.js +11 -11
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +10 -10
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +4 -4
- package/lib/dist-custom-elements/duet-pagination.js +22 -22
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- 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 +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +7 -7
- package/lib/dist-custom-elements/duet-radio.js +3 -3
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +3 -3
- 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-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
- package/lib/dist-custom-elements/duet-slideout.js +7 -7
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +5 -5
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +7 -7
- package/lib/dist-custom-elements/duet-tab-group.js +15 -15
- package/lib/dist-custom-elements/duet-tab.js +3 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-item.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar.js +2 -2
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +19 -19
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/{p-6a285be8.js → p-02f97b91.js} +1 -1
- package/lib/dist-custom-elements/{p-3c7d413f.js → p-087d8c5a.js} +2 -2
- package/lib/dist-custom-elements/{p-254d2993.js → p-1296f851.js} +3 -3
- package/lib/dist-custom-elements/{p-1df834b1.js → p-174a9d1d.js} +3 -3
- package/lib/dist-custom-elements/{p-19172e2c.js → p-1ccd7c39.js} +3 -3
- package/lib/dist-custom-elements/{p-88ed3495.js → p-1f4fbc7a.js} +1 -1
- package/lib/dist-custom-elements/p-22147601.js +642 -0
- package/lib/dist-custom-elements/{p-1e88beeb.js → p-29be247b.js} +1 -1
- package/lib/dist-custom-elements/{p-64139e5c.js → p-2c70b9f4.js} +2 -2
- package/lib/dist-custom-elements/p-2f25dfb3.js +154 -0
- package/lib/dist-custom-elements/{p-1f7ae97d.js → p-330bcf1d.js} +5 -5
- package/lib/dist-custom-elements/{p-2c4fc6d3.js → p-3431b690.js} +2 -2
- package/lib/dist-custom-elements/{p-e774334b.js → p-36ab2d57.js} +3 -3
- package/lib/dist-custom-elements/{p-e5a55204.js → p-3ce1f7b8.js} +11 -11
- package/lib/dist-custom-elements/{p-87b1c772.js → p-41dca9e4.js} +3 -3
- package/lib/dist-custom-elements/{p-5086d1a0.js → p-430f3778.js} +1 -1
- package/lib/dist-custom-elements/{p-56d9b926.js → p-43c4a1af.js} +2 -2
- package/lib/dist-custom-elements/{p-b4289ed0.js → p-4da43fbc.js} +4 -4
- package/lib/dist-custom-elements/{p-c0a30d29.js → p-68c629a8.js} +1 -1
- package/lib/dist-custom-elements/{p-29782b53.js → p-6b77d4d3.js} +3 -3
- package/lib/dist-custom-elements/{p-4c1f4287.js → p-89b10856.js} +4 -4
- package/lib/dist-custom-elements/{p-fca5b65b.js → p-956e3bce.js} +2 -2
- package/lib/dist-custom-elements/{p-d5812145.js → p-9f9423c6.js} +1 -1
- package/lib/dist-custom-elements/{p-a2b5c68e.js → p-9fa4eb51.js} +3 -3
- package/lib/dist-custom-elements/{p-e4936fed.js → p-a2147aff.js} +10 -10
- package/lib/dist-custom-elements/{p-3b5e8904.js → p-ab34075b.js} +2 -2
- package/lib/dist-custom-elements/{p-a1e17113.js → p-b0925e24.js} +4 -4
- package/lib/dist-custom-elements/{p-a0f74881.js → p-b8de9a9c.js} +6 -6
- package/lib/dist-custom-elements/{p-c81244d9.js → p-c7d815f6.js} +2 -2
- package/lib/dist-custom-elements/{p-4c179c1e.js → p-cea716f7.js} +1 -1
- package/lib/dist-custom-elements/{p-86f479be.js → p-d1f89e90.js} +3 -3
- package/lib/dist-custom-elements/{p-a9e09647.js → p-dad518a5.js} +9 -9
- package/lib/dist-custom-elements/{p-723b6358.js → p-de4ee016.js} +4 -4
- package/lib/dist-custom-elements/{p-726ae243.js → p-de8f018a.js} +2 -2
- package/lib/dist-custom-elements/{p-f9994ef4.js → p-df2042f8.js} +3 -3
- package/lib/dist-custom-elements/{p-35ad7f77.js → p-e176f419.js} +2 -2
- package/lib/dist-custom-elements/{p-55bbb3b6.js → p-e37d189b.js} +13 -13
- package/lib/dist-custom-elements/{p-7f69e1e3.js → p-fe9e47d9.js} +4 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-d62da84e.system.entry.js → p-021a4763.system.entry.js} +1 -1
- package/lib/duet/{p-0458abd0.system.entry.js → p-031167a1.system.entry.js} +1 -1
- package/lib/duet/{p-8ceddf7a.entry.js → p-051c4536.entry.js} +1 -1
- package/lib/duet/{p-7af3fb35.entry.js → p-05ca5aea.entry.js} +1 -1
- package/lib/duet/{p-9dda3449.system.entry.js → p-07847129.system.entry.js} +1 -1
- package/lib/duet/{p-8ad8b9a8.entry.js → p-0a305aee.entry.js} +1 -1
- package/lib/duet/p-0d7da85a.js +4 -0
- package/lib/duet/{p-8d462e3a.system.entry.js → p-0e348f96.system.entry.js} +1 -1
- package/lib/duet/{p-d3aa7a74.entry.js → p-0e8e80b1.entry.js} +1 -1
- package/lib/duet/{p-c7ecec29.entry.js → p-0ee85b71.entry.js} +1 -1
- package/lib/duet/{p-6c25b6a4.system.entry.js → p-1268b5a0.system.entry.js} +1 -1
- package/lib/duet/{p-1fd3ec9e.system.entry.js → p-153b6150.system.entry.js} +1 -1
- package/lib/duet/{p-20213e01.system.entry.js → p-192bba35.system.entry.js} +1 -1
- package/lib/duet/{p-68fd5f9a.entry.js → p-1e904342.entry.js} +1 -1
- package/lib/duet/{p-435a217b.entry.js → p-1e9e887d.entry.js} +1 -1
- package/lib/duet/{p-bc6e219f.system.entry.js → p-209d6065.system.entry.js} +1 -1
- package/lib/duet/{p-77e70fca.entry.js → p-20d056ac.entry.js} +1 -1
- package/lib/duet/{p-a48acf0f.system.entry.js → p-20eaf445.system.entry.js} +1 -1
- package/lib/duet/{p-38908608.system.entry.js → p-215f4257.system.entry.js} +1 -1
- package/lib/duet/{p-947ceeb6.system.entry.js → p-237efb0c.system.entry.js} +1 -1
- package/lib/duet/{p-5e6b91f6.entry.js → p-250fb070.entry.js} +1 -1
- package/lib/duet/{p-084ab781.entry.js → p-25af4a6c.entry.js} +1 -1
- package/lib/duet/{p-53366e23.entry.js → p-25d79094.entry.js} +1 -1
- package/lib/duet/{p-bed279f6.entry.js → p-27260106.entry.js} +1 -1
- package/lib/duet/{p-2af3edb3.system.entry.js → p-2810c6dc.system.entry.js} +1 -1
- package/lib/duet/{p-d5dfa70d.system.entry.js → p-2814473c.system.entry.js} +1 -1
- package/lib/duet/{p-319e77d6.entry.js → p-29152853.entry.js} +1 -1
- package/lib/duet/{p-3d794db6.system.entry.js → p-2a0ad29c.system.entry.js} +1 -1
- package/lib/duet/{p-dfef2cbe.entry.js → p-2a979523.entry.js} +1 -1
- package/lib/duet/{p-7b8b93c3.entry.js → p-2b2cd3be.entry.js} +1 -1
- package/lib/duet/{p-2af9e483.entry.js → p-2b35de7b.entry.js} +1 -1
- package/lib/duet/{p-3cd483ab.entry.js → p-2b45d2e4.entry.js} +1 -1
- package/lib/duet/{p-29672737.entry.js → p-2bf17427.entry.js} +1 -1
- package/lib/duet/{p-3ab3a8c6.entry.js → p-2dc360ee.entry.js} +1 -1
- package/lib/duet/{p-df19c239.system.entry.js → p-2de0ab3d.system.entry.js} +1 -1
- package/lib/duet/p-2fb96333.entry.js +4 -0
- package/lib/duet/{p-b865116a.entry.js → p-3106c658.entry.js} +1 -1
- package/lib/duet/{p-95836be2.system.entry.js → p-34024554.system.entry.js} +1 -1
- package/lib/duet/{p-70651da4.system.entry.js → p-380f74e8.system.entry.js} +1 -1
- package/lib/duet/p-3810c7dc.entry.js +4 -0
- package/lib/duet/{p-86176559.entry.js → p-3c64dab9.entry.js} +1 -1
- package/lib/duet/{p-4eb70cc2.system.entry.js → p-3d826a58.system.entry.js} +1 -1
- package/lib/duet/{p-abec198c.system.entry.js → p-3d96186f.system.entry.js} +1 -1
- package/lib/duet/{p-84bfc619.system.entry.js → p-3df2981e.system.entry.js} +1 -1
- package/lib/duet/{p-772dbed5.entry.js → p-3faaa469.entry.js} +1 -1
- package/lib/duet/p-3fe7e109.system.entry.js +4 -0
- package/lib/duet/{p-020be412.system.entry.js → p-40bab9a0.system.entry.js} +1 -1
- package/lib/duet/{p-639def3e.system.entry.js → p-41552571.system.entry.js} +1 -1
- package/lib/duet/{p-3b8dbebe.system.entry.js → p-43cc4ad9.system.entry.js} +1 -1
- package/lib/duet/{p-ed6a110f.system.entry.js → p-43d16748.system.entry.js} +1 -1
- package/lib/duet/{p-c6995496.system.entry.js → p-44ee649f.system.entry.js} +1 -1
- package/lib/duet/{p-009c7325.entry.js → p-486576ee.entry.js} +1 -1
- package/lib/duet/{p-824d882f.entry.js → p-49fa4a07.entry.js} +1 -1
- package/lib/duet/{p-d41543d3.entry.js → p-4a9978a4.entry.js} +1 -1
- package/lib/duet/{p-cbbf6d6a.system.js → p-4cff3036.system.js} +1 -1
- package/lib/duet/{p-07200cbb.entry.js → p-4e7f27d8.entry.js} +1 -1
- package/lib/duet/p-4e9052cd.entry.js +4 -0
- package/lib/duet/{p-27a43e79.entry.js → p-4ee7eb8a.entry.js} +1 -1
- package/lib/duet/{p-042576d6.system.entry.js → p-5170726b.system.entry.js} +1 -1
- package/lib/duet/{p-48618d75.entry.js → p-55674524.entry.js} +1 -1
- package/lib/duet/{p-a437992b.system.entry.js → p-58caf53a.system.entry.js} +1 -1
- package/lib/duet/{p-472b3fbd.entry.js → p-5b927db3.entry.js} +1 -1
- package/lib/duet/{p-4f527f43.entry.js → p-5dbd1202.entry.js} +1 -1
- package/lib/duet/{p-77b21edc.entry.js → p-5e25b406.entry.js} +1 -1
- package/lib/duet/{p-328d9919.system.entry.js → p-60547899.system.entry.js} +1 -1
- package/lib/duet/{p-7512d569.entry.js → p-612fbfcc.entry.js} +1 -1
- package/lib/duet/{p-032fbfa1.system.entry.js → p-620d4575.system.entry.js} +1 -1
- package/lib/duet/{p-f2f1e0e9.entry.js → p-629a9c13.entry.js} +1 -1
- package/lib/duet/{p-3cd80f60.system.entry.js → p-62bdecfb.system.entry.js} +1 -1
- package/lib/duet/{p-0ecb70e0.system.entry.js → p-6324514a.system.entry.js} +1 -1
- package/lib/duet/{p-26d1dc6c.system.entry.js → p-6447f20d.system.entry.js} +1 -1
- package/lib/duet/{p-7606ec6c.system.entry.js → p-6537159a.system.entry.js} +2 -2
- package/lib/duet/{p-14bae734.system.entry.js → p-670bd483.system.entry.js} +1 -1
- package/lib/duet/p-6b436ca9.entry.js +4 -0
- package/lib/duet/{p-3b281171.entry.js → p-6be341c4.entry.js} +1 -1
- package/lib/duet/p-7483d86c.entry.js +4 -0
- package/lib/duet/{p-105f1a75.entry.js → p-76563c02.entry.js} +1 -1
- package/lib/duet/{p-ab4c886f.system.entry.js → p-769a3309.system.entry.js} +1 -1
- package/lib/duet/{p-8440bd4f.entry.js → p-76b42e90.entry.js} +1 -1
- package/lib/duet/p-76b84b22.entry.js +4 -0
- package/lib/duet/{p-02200dcc.entry.js → p-7972306f.entry.js} +1 -1
- package/lib/duet/{p-265fdd97.system.entry.js → p-79dfc8e6.system.entry.js} +2 -2
- package/lib/duet/{p-7fe5e0dc.system.entry.js → p-7a67ce10.system.entry.js} +1 -1
- package/lib/duet/{p-b0d79ffe.entry.js → p-7d2fffc2.entry.js} +1 -1
- package/lib/duet/{p-e283e9fe.entry.js → p-7dd3b7d1.entry.js} +1 -1
- package/lib/duet/{p-ed17957c.system.entry.js → p-8142169f.system.entry.js} +2 -2
- package/lib/duet/p-8481bbda.entry.js +4 -0
- package/lib/duet/{p-d62b6ca1.system.entry.js → p-871d7ca1.system.entry.js} +2 -2
- package/lib/duet/{p-38685b43.system.entry.js → p-894c1be1.system.entry.js} +1 -1
- package/lib/duet/{p-03af0f0d.system.entry.js → p-8f4cdf46.system.entry.js} +1 -1
- package/lib/duet/{p-0937f800.system.entry.js → p-9253e832.system.entry.js} +1 -1
- package/lib/duet/{p-705c5299.entry.js → p-966bd64a.entry.js} +1 -1
- package/lib/duet/{p-8b397c1a.entry.js → p-9b04e4a2.entry.js} +1 -1
- package/lib/duet/{p-716865fe.entry.js → p-9fb9ba73.entry.js} +1 -1
- package/lib/duet/{p-87e96a18.system.entry.js → p-a2aa619b.system.entry.js} +1 -1
- package/lib/duet/{p-cef3ec26.entry.js → p-a3341588.entry.js} +1 -1
- package/lib/duet/{p-502bf069.entry.js → p-a47047f2.entry.js} +1 -1
- package/lib/duet/{p-bbeafbd0.entry.js → p-a51e1b9e.entry.js} +1 -1
- package/lib/duet/{p-e7558f6c.entry.js → p-a600451a.entry.js} +1 -1
- package/lib/duet/{p-376a0839.system.entry.js → p-a7d809b4.system.entry.js} +1 -1
- package/lib/duet/{p-2034ac6f.system.entry.js → p-a8a381c9.system.entry.js} +1 -1
- package/lib/duet/{p-851e1a0f.entry.js → p-aa82f9a1.entry.js} +1 -1
- package/lib/duet/{p-4289f34a.entry.js → p-ac9460ca.entry.js} +1 -1
- package/lib/duet/{p-bbb56267.entry.js → p-aca3a5a9.entry.js} +1 -1
- package/lib/duet/{p-f78099b6.entry.js → p-af209330.entry.js} +1 -1
- package/lib/duet/{p-6f285100.system.entry.js → p-b010f56b.system.entry.js} +2 -2
- package/lib/duet/{p-b0b00dad.system.entry.js → p-b69f3d9d.system.entry.js} +1 -1
- package/lib/duet/{p-a51f3a0b.entry.js → p-b6c584b6.entry.js} +1 -1
- package/lib/duet/{p-a23eec0f.entry.js → p-b765710e.entry.js} +1 -1
- package/lib/duet/p-ba03d034.system.js +4 -0
- package/lib/duet/{p-9fcce08c.system.entry.js → p-bcc40139.system.entry.js} +1 -1
- package/lib/duet/{p-c551216e.system.entry.js → p-c15cd383.system.entry.js} +1 -1
- package/lib/duet/{p-1da5945a.system.entry.js → p-c22935bf.system.entry.js} +1 -1
- package/lib/duet/{p-7a25f374.entry.js → p-c2dd561e.entry.js} +1 -1
- package/lib/duet/{p-eb0d15a0.system.entry.js → p-c3ba8e74.system.entry.js} +1 -1
- package/lib/duet/{p-17aa3a20.entry.js → p-c52e8007.entry.js} +1 -1
- package/lib/duet/{p-88fe57e8.system.entry.js → p-c6894b07.system.entry.js} +1 -1
- package/lib/duet/{p-f0fa9c9a.system.entry.js → p-c694f12d.system.entry.js} +1 -1
- package/lib/duet/{p-4f212753.entry.js → p-c79cbfdb.entry.js} +1 -1
- package/lib/duet/{p-8f31572d.system.entry.js → p-c8421271.system.entry.js} +1 -1
- package/lib/duet/{p-4bd72541.entry.js → p-c8d3cb52.entry.js} +1 -1
- package/lib/duet/{p-7813d124.system.entry.js → p-c8e22ae2.system.entry.js} +1 -1
- package/lib/duet/{p-3b3c341e.system.entry.js → p-cbedbd77.system.entry.js} +1 -1
- package/lib/duet/{p-10c530d1.js → p-cc67e773.js} +1 -1
- package/lib/duet/{p-d04dbf1f.system.entry.js → p-ce543cc1.system.entry.js} +1 -1
- package/lib/duet/{p-63016bc3.entry.js → p-cf30c088.entry.js} +1 -1
- package/lib/duet/{p-1d016525.system.entry.js → p-d43fc5e9.system.entry.js} +1 -1
- package/lib/duet/{p-fdb3098f.system.entry.js → p-d6dc9819.system.entry.js} +1 -1
- package/lib/duet/{p-eca1904d.system.entry.js → p-d86d8491.system.entry.js} +1 -1
- package/lib/duet/{p-97ec270c.entry.js → p-dfd223d9.entry.js} +1 -1
- package/lib/duet/{p-bf5c8102.entry.js → p-e0536bb5.entry.js} +1 -1
- package/lib/duet/p-e1c881da.system.js +1 -1
- package/lib/duet/{p-e5cb7fc9.entry.js → p-e258270f.entry.js} +1 -1
- package/lib/duet/{p-3987eed8.system.entry.js → p-e38edd16.system.entry.js} +1 -1
- package/lib/duet/{p-ffd1290e.system.entry.js → p-e44da0ff.system.entry.js} +1 -1
- package/lib/duet/{p-d85741b1.entry.js → p-e8dd29e7.entry.js} +1 -1
- package/lib/duet/{p-50ca9099.system.entry.js → p-e93849fd.system.entry.js} +1 -1
- package/lib/duet/p-e9d2f4a1.entry.js +4 -0
- package/lib/duet/{p-8520e026.system.entry.js → p-ee1eb7cb.system.entry.js} +1 -1
- package/lib/duet/{p-c6617f16.entry.js → p-efa5ec67.entry.js} +1 -1
- package/lib/duet/{p-8ff30ce6.system.entry.js → p-f0b0e2b2.system.entry.js} +1 -1
- package/lib/duet/{p-e797e2f4.system.entry.js → p-f105f32a.system.entry.js} +1 -1
- package/lib/duet/p-f3633004.entry.js +4 -0
- package/lib/duet/{p-806adaa3.entry.js → p-f3cf6b50.entry.js} +1 -1
- package/lib/duet/{p-3b3432e2.system.entry.js → p-f5dd7e7e.system.entry.js} +1 -1
- package/lib/duet/{p-58f6b887.system.entry.js → p-f6bd2d4f.system.entry.js} +2 -2
- package/lib/duet/{p-807bf6da.system.entry.js → p-f75a6d54.system.entry.js} +1 -1
- package/lib/duet/{p-dc4b5372.system.entry.js → p-f97500ff.system.entry.js} +1 -1
- package/lib/duet/{p-274473a3.system.entry.js → p-fa3b3dbc.system.entry.js} +1 -1
- package/lib/duet/{p-3f97122e.system.entry.js → p-fbc396a7.system.entry.js} +2 -2
- package/lib/duet/{p-e95e650d.system.entry.js → p-fbf89657.system.entry.js} +1 -1
- package/lib/duet/p-fcb14b31.system.entry.js +4 -0
- package/lib/duet/{p-67dd83cc.entry.js → p-fd2299b4.entry.js} +1 -1
- package/lib/duet/{p-ca691c4a.entry.js → p-fee25f59.entry.js} +1 -1
- package/lib/duet/{p-f8b6380d.entry.js → p-ff4f7076.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-badge.entry.js +2 -2
- package/lib/esm/duet-banner.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +4 -4
- 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 +2 -2
- package/lib/esm/duet-caption_4.entry.js +8 -8
- package/lib/esm/duet-card.entry.js +2 -2
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +2 -2
- package/lib/esm/duet-chip_3.entry.js +6 -6
- package/lib/esm/duet-choice_2.entry.js +8 -8
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-contact-card.entry.js +2 -2
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +4 -4
- package/lib/esm/duet-editable-table_3.entry.js +504 -11
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +3 -3
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +4 -4
- package/lib/esm/duet-grid_2.entry.js +4 -4
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-hero.entry.js +5 -5
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-input_2.entry.js +8 -8
- package/lib/esm/duet-layout.entry.js +5 -5
- 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 +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +4 -4
- package/lib/esm/duet-menu-bar-item.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- 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 +1 -1
- package/lib/esm/duet-notification_2.entry.js +4 -4
- package/lib/esm/duet-number-input.entry.js +2 -2
- package/lib/esm/duet-overlay.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +15 -15
- package/lib/esm/duet-promo-card.entry.js +4 -4
- 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 +14 -14
- package/lib/esm/duet-section-layout.entry.js +3 -3
- package/lib/esm/duet-select.entry.js +5 -5
- package/lib/esm/duet-shaped-image.entry.js +2 -2
- package/lib/esm/duet-show-more.entry.js +2 -2
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +2 -2
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +4 -4
- package/lib/esm/duet-slideout-panel.entry.js +8 -8
- package/lib/esm/duet-slideout.entry.js +6 -6
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +5 -5
- package/lib/esm/duet-textarea.entry.js +3 -3
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +4 -4
- package/lib/esm/duet-toolbar-item.entry.js +3 -3
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- package/lib/esm/duet-toolbar.entry.js +2 -2
- package/lib/esm/duet-tooltip-button_2.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +2 -2
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +1 -1
- package/lib/esm/loader.js +1 -1
- package/lib/esm/{token-utils-a32eb753.js → token-utils-b9ba8c5e.js} +1 -1
- package/lib/esm/{tokens.module-a746651a.js → tokens.module-2d02f5ff.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip_3.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- 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-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +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 +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{token-utils-a32eb753.js → token-utils-b9ba8c5e.js} +1 -1
- package/lib/esm-es5/{tokens.module-a746651a.js → tokens.module-2d02f5ff.js} +1 -1
- package/lib/types/components/duet-table/duet-table-styles.d.ts +1 -0
- package/package.json +1 -1
- package/lib/collection/components/duet-table/duet-table.css +0 -365
- package/lib/dist-custom-elements/p-5fbb6039.js +0 -154
- package/lib/dist-custom-elements/p-ffa44070.js +0 -148
- package/lib/duet/p-066b94ca.entry.js +0 -4
- package/lib/duet/p-0c4aa4d0.system.entry.js +0 -4
- package/lib/duet/p-1004af75.js +0 -4
- package/lib/duet/p-150e5f1b.entry.js +0 -4
- package/lib/duet/p-23376e2a.entry.js +0 -4
- package/lib/duet/p-2c9a6e05.entry.js +0 -4
- package/lib/duet/p-61a93486.system.entry.js +0 -4
- package/lib/duet/p-88d8265d.entry.js +0 -4
- package/lib/duet/p-c1b1801d.entry.js +0 -4
- package/lib/duet/p-cdb6c612.entry.js +0 -4
- package/lib/duet/p-d42b2af0.entry.js +0 -4
- package/lib/duet/p-ef731dfb.system.js +0 -4
- package/lib/duet/p-ffe6fbbb.entry.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -1474,16 +1474,16 @@ var emitEvent = (elm, name, opts) => {
|
|
|
1474
1474
|
};
|
|
1475
1475
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
1476
1476
|
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
1477
|
-
let style = styles.get(scopeId2);
|
|
1477
|
+
let style = styles$1.get(scopeId2);
|
|
1478
1478
|
{
|
|
1479
1479
|
style = cssText;
|
|
1480
1480
|
}
|
|
1481
|
-
styles.set(scopeId2, style);
|
|
1481
|
+
styles$1.set(scopeId2, style);
|
|
1482
1482
|
};
|
|
1483
1483
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
1484
1484
|
var _a;
|
|
1485
1485
|
const scopeId2 = getScopeId(cmpMeta);
|
|
1486
|
-
const style = styles.get(scopeId2);
|
|
1486
|
+
const style = styles$1.get(scopeId2);
|
|
1487
1487
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
1488
1488
|
if (style) {
|
|
1489
1489
|
if (typeof style === "string") {
|
|
@@ -1973,7 +1973,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1973
1973
|
style = Cstr.style;
|
|
1974
1974
|
}
|
|
1975
1975
|
const scopeId2 = getScopeId(cmpMeta);
|
|
1976
|
-
if (!styles.has(scopeId2)) {
|
|
1976
|
+
if (!styles$1.has(scopeId2)) {
|
|
1977
1977
|
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
1978
1978
|
registerStyle(scopeId2, style);
|
|
1979
1979
|
endRegisterStyles();
|
|
@@ -2648,7 +2648,7 @@ var Build = {
|
|
|
2648
2648
|
isServer: true,
|
|
2649
2649
|
isTesting: false
|
|
2650
2650
|
};
|
|
2651
|
-
var styles = /* @__PURE__ */ new Map();
|
|
2651
|
+
var styles$1 = /* @__PURE__ */ new Map();
|
|
2652
2652
|
|
|
2653
2653
|
const inheritGlobalTheme = (component) => {
|
|
2654
2654
|
// this minor change enables duet-theme-XXXXX instead of just duet-theme-turva
|
|
@@ -3986,12 +3986,12 @@ class DuetBadge {
|
|
|
3986
3986
|
*/
|
|
3987
3987
|
render() {
|
|
3988
3988
|
const backgroundClass = `background-${this.background}`;
|
|
3989
|
-
return (hAsync(Host, { key: '
|
|
3989
|
+
return (hAsync(Host, { key: 'e5ff68cbd5bf1a9e34b5a74654fdec8b9ce7dabb', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '3c19f7548eb36111bd247e764b137a85d2538f1d', class: {
|
|
3990
3990
|
"duet-badge": true,
|
|
3991
3991
|
[this.variation]: true,
|
|
3992
3992
|
[backgroundClass]: true,
|
|
3993
3993
|
"duet-theme-turva": this.theme === "turva",
|
|
3994
|
-
} }, hAsync("slot", { key: '
|
|
3994
|
+
} }, hAsync("slot", { key: '066ed983a29dc14e2616d83bcf36ed46a6eb05c4' }))));
|
|
3995
3995
|
}
|
|
3996
3996
|
get element() { return getElement(this); }
|
|
3997
3997
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -4181,14 +4181,14 @@ class DuetBreadcrumb {
|
|
|
4181
4181
|
*/
|
|
4182
4182
|
render() {
|
|
4183
4183
|
var _a;
|
|
4184
|
-
return (hAsync(Host, { key: '
|
|
4184
|
+
return (hAsync(Host, { key: '2d557fd06bc2f923fc3a1d6076008cb9cdadad39', role: "listitem" }, hAsync("div", { key: 'a38aac901dc9b016d5efd3ba22b34d256655e282', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: '285c0b2cbdedbaa26bd587bc1a72e92cce833f8b', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: 'c17c5fbf1f84df0766452a9f06119fa4f7880949', class: {
|
|
4185
4185
|
"duet-breadcrumb": true,
|
|
4186
4186
|
"duet-theme-turva": this.theme === "turva",
|
|
4187
4187
|
}, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
|
|
4188
4188
|
this.icon && [
|
|
4189
|
-
hAsync("duet-icon", { key: '
|
|
4190
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
4191
|
-
], hAsync("slot", { key: '
|
|
4189
|
+
hAsync("duet-icon", { key: 'e42d427cb7512929790a36cf7bcb8309ad615ad7', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
4190
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: 'e993ee67d5a14e88e808ad636eb8778d2ed334fd', size: "x-small", direction: "horizontal" }),
|
|
4191
|
+
], hAsync("slot", { key: 'c0a6bb1e1aed7da544851e852023f0139a328022' })))));
|
|
4192
4192
|
}
|
|
4193
4193
|
get element() { return getElement(this); }
|
|
4194
4194
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -4249,11 +4249,11 @@ class DuetBreadcrumbs {
|
|
|
4249
4249
|
*/
|
|
4250
4250
|
render() {
|
|
4251
4251
|
const color = getColorByName(this.color);
|
|
4252
|
-
return (hAsync(Host, { key: '
|
|
4252
|
+
return (hAsync(Host, { key: 'b29fa1c29f832b5173a6f30e3e81383b816d0b18' }, hAsync("nav", { key: 'f7e7663d0a602a4c9f02468d54113cf3350e85a1', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
4253
4253
|
"duet-breadcrumbs": true,
|
|
4254
4254
|
"duet-theme-turva": this.theme === "turva",
|
|
4255
4255
|
[this.variation]: true,
|
|
4256
|
-
} }, hAsync("div", { key: '
|
|
4256
|
+
} }, hAsync("div", { key: '1424535cfc3acfc02cd33286a9842c59b4483d06', class: "container" }, hAsync("div", { key: '3bed0500aa7c9f598a4c0fc57c037899f0cc9039', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '6e4cde5793075f7a75085823737ecfebf7b407a3' })), hAsync("div", { key: '57d436b5f0aab642c590c4af70078e26791405eb', class: "bottom-border bottom-border--container" })), hAsync("div", { key: 'd2ec591e3d2739dbf0a59c6216008b1ced2e5a48', class: "bottom-border bottom-border--nav" }))));
|
|
4257
4257
|
}
|
|
4258
4258
|
get element() { return getElement(this); }
|
|
4259
4259
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -4607,11 +4607,11 @@ class DuetCallout {
|
|
|
4607
4607
|
<path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
|
|
4608
4608
|
</svg>
|
|
4609
4609
|
`;
|
|
4610
|
-
return (hAsync(Host, { key: '
|
|
4610
|
+
return (hAsync(Host, { key: '53420cb240f39349ae66450dc91f20a4cb43f6ad' }, hAsync("div", { key: '9d1c788d25eb614f0dd7887410b62873e5b6623d', class: {
|
|
4611
4611
|
"duet-callout": true,
|
|
4612
4612
|
"duet-theme-turva": this.theme === "turva",
|
|
4613
4613
|
"duet-m-0": this.margin === "none",
|
|
4614
|
-
} }, hAsync("figure", { key: '
|
|
4614
|
+
} }, hAsync("figure", { key: '9e9ee10955241a7b2996f03d1afa66fb829785aa', class: "container" }, hAsync("duet-icon", { key: '7a39335b4292024aa8158854a0a5bffc778f4732', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", { key: '2e1e5a9554f5d68e7c0d73a0a1ccb12a89998c67' }, hAsync("slot", { key: '272543bd9df5201872a805c824006e7af13892f2' })), this.hasAuthorSlot && (hAsync("figcaption", { key: 'a8bed17504c945ecba4103eee63602200d28b9a3', class: "author" }, hAsync("span", { key: '565ae8d03018d87763e3c4bb7ae8a551b98f256e' }, "\u2014 "), hAsync("slot", { key: '235af7e37f6b961bd784ecc87c26a2c0c82b6268', name: "author" })))))));
|
|
4615
4615
|
}
|
|
4616
4616
|
get element() { return getElement(this); }
|
|
4617
4617
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4817,7 +4817,7 @@ class DuetCard {
|
|
|
4817
4817
|
}; }
|
|
4818
4818
|
}
|
|
4819
4819
|
|
|
4820
|
-
const duetCheckboxCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-
|
|
4820
|
+
const duetCheckboxCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:8px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host(:last-child:not(:only-child)){margin-bottom:0 !important}:host(.duet-m-0){margin:0 !important}.duet-label{position:relative;z-index:100;display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva .duet-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-label span{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container{position:relative;width:100%;height:100%}.duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox+label::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva .duet-checkbox+label::before{border-color:rgb(23, 28, 58)}.duet-checkbox:checked+label::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva .duet-checkbox:checked+label::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox+label{position:static}.duet-checkbox:checked+label::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:\"\";background:transparent url(\"data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E\") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled]{cursor:default}.duet-checkbox[disabled]+label{color:rgb(98, 121, 138)}.duet-theme-turva .duet-checkbox[disabled]+label{color:rgb(143, 147, 158)}.duet-checkbox[disabled]+label::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-checkbox[disabled]+label::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled]:checked+label::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva .duet-checkbox[disabled]:checked+label::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error{margin-left:31px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-theme-turva .duet-checkbox-error{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(214, 28, 82)}.duet-label-hidden .duet-label span,.duet-label-hidden .duet-checkbox-error span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
4821
4821
|
var DuetCheckboxStyle0 = duetCheckboxCss;
|
|
4822
4822
|
|
|
4823
4823
|
class DuetCheckbox {
|
|
@@ -4913,9 +4913,12 @@ class DuetCheckbox {
|
|
|
4913
4913
|
* Always the last one in the class.
|
|
4914
4914
|
*/
|
|
4915
4915
|
render() {
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4916
|
+
const identifier = this.identifier || this.checkboxId;
|
|
4917
|
+
return (hAsync(Host, { key: '384b2451cc9f332a9b8ac970d3b8ca514cef04ac', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '7054f176fd64937eb3e3593a4c250d3b859bc513', class: {
|
|
4918
|
+
"duet-checkbox-container": true,
|
|
4919
|
+
"duet-label-hidden": this.labelHidden,
|
|
4920
|
+
"duet-theme-turva": this.theme === "turva",
|
|
4921
|
+
} }, hAsync("input", { key: '065d7c5a7572d7b35eae0a737b4e8893c95eb973', ref: input => (this.nativeInput = input), type: "checkbox", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, class: { "duet-checkbox": true, disabled: this.disabled }, checked: this.checked, disabled: this.disabled, tabindex: this.accessibleIndex, "aria-invalid": this.error ? "true" : "false", "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-selected": this.accessibleSelected, required: this.required, role: this.role, name: this.name, id: identifier }), hAsync("label", { key: '230c32312aebf8539e4c8082bb30062f09db2bc7', class: "duet-label", htmlFor: identifier }, hAsync("span", { key: 'fc1c8a054c43f487513405bb0e592c114a7969bf' }, this.label)), hAsync("div", { key: 'ff34862455f6c81370d7860c8c45b7f64b792fbc', class: "duet-checkbox-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'c0ae8d05ca74b8955f1ee2f312a515d020ef997e' }, this.error)))));
|
|
4919
4922
|
}
|
|
4920
4923
|
get element() { return getElement(this); }
|
|
4921
4924
|
static get style() { return DuetCheckboxStyle0; }
|
|
@@ -4972,11 +4975,11 @@ class DuetCheckmark {
|
|
|
4972
4975
|
inheritGlobalTheme(this);
|
|
4973
4976
|
}
|
|
4974
4977
|
render() {
|
|
4975
|
-
return (hAsync(Host, { key: '
|
|
4978
|
+
return (hAsync(Host, { key: '3335002173407bc53f41ea2f00546e1bd2d7409a', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '425322a3f86e075e76d6d3bcd17580954b4e0b32', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: 'd4fe569278f4c88e090bbbafd65e5422027a0551', class: {
|
|
4976
4979
|
"duet-checkmark-container": true,
|
|
4977
4980
|
center: this.center,
|
|
4978
4981
|
"duet-checkmark-radio": this.type === "radio",
|
|
4979
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4982
|
+
} }, this.checked && hAsync("div", { key: 'ad4abd3130942074b35869850cc3b386a8ae5dde', class: "duet-checkmark" })))));
|
|
4980
4983
|
}
|
|
4981
4984
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4982
4985
|
static get cmpMeta() { return {
|
|
@@ -5298,7 +5301,7 @@ class DuetChip {
|
|
|
5298
5301
|
onBlur: this.onBlur,
|
|
5299
5302
|
ref: el => (this.focusableElement = el),
|
|
5300
5303
|
};
|
|
5301
|
-
return (hAsync(Host, { key: '
|
|
5304
|
+
return (hAsync(Host, { key: 'c807c6a1d6acd3d0962de84a928a38cf53236a5a', class: { [this.variation]: true } }, this.variation === "button" && (hAsync("span", { key: '654486c3496a0967a02987d40d8b8bd03c8d1670', class: classes }, hAsync("button", Object.assign({ key: '819d1fadbf81a1e7deea06efc7c8ad55544f77bb', id: identifier, "aria-label": this.accessibleLabel, "aria-haspopup": this.getAccessiblePopup(), "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), hAsync("span", { key: '043b8a685b69fd201c8a081902f6197c87201d95', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '7ca324221a0d9408218d525187d3dcda8e006946', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '0cda4e568fc73c0e51053068649a1d1fb4fc1177' })))), this.variation === "input" && (hAsync("span", { key: '4bdfa14a7478fe54a31d6d3519fe7a38a28e8a64', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, hAsync("button", Object.assign({ key: '60f136d595f23bec8a342b725826b824f72be70d', id: identifier, class: "duet-chip-input-button", value: this.value, "aria-label": this.accessibleLabel, onMouseOver: () => (this.inputChipHover = true), onMouseOut: () => (this.inputChipHover = false), onClick: () => (this.selected = !this.selected) }, focusHandlers), hAsync("span", { key: '8e9e702baeb8b2fe5fdc3767e679dbe938adf2c8', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '799c6adbd554313f3500698037c0441bd784ec14', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: 'b1b7649a3beff52e78f0d2007446b4284c13301d' })), hAsync("button", { key: 'b28b696e73ece749bc5c3ac0a731eb12a74da0fb', class: "duet-chip-remove-button", "aria-label": this.getAccessibleDeleteLabel(), onClick: this.onRemoveClick, onFocus: () => (this.inputChipDeleteFocus = true), onBlur: () => (this.inputChipDeleteFocus = false), ref: el => (this.deleteButtonElement = el) }, hAsync("duet-icon", { key: '77be3ad13c9f382af3f937ed5b1310b966e51a9f', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (hAsync("span", { key: '93b90e998c5a818f72f0d6d93d236ca292027a2f', class: classes }, hAsync("input", Object.assign({ key: 'fbc7ce95bc52c216fa093d8f8626953ffb813329', "aria-haspopup": this.getAccessiblePopup(), "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), hAsync("label", { key: '820f38348fd3237fa736c42db58592aceecbc6d8', htmlFor: identifier }, this.icon && (hAsync("span", { key: '8053c7905e2d4b3e307122ed0019abf487f33ddb', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '62b6b611984e54ec22ac7f893e913a13ed79f183', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: 'bc6cc9a473b6e2ff0579bf2ed90bb9b93676217c', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '6acef4f05a0f83c4678687dd3ca78cdaf1b85047' }), this.popupElement && (hAsync("span", { key: '04fd8374230c5f07247d141543e6ed469d5a2f3e', class: "duet-chip-popup-disclosure" }, hAsync("duet-icon", { key: '2bda624c98b44339a4107b9619873ce1cc3257b6', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (hAsync("span", { key: 'fb27bb6b3d1d4bbb71a2f5f3da20fdce13e1f3dc', class: classes }, hAsync("slot", { key: 'a1a2b8eabfae06bcbbab88b3578598cceac14be7', name: "input" }), hAsync("label", { key: 'e81d7abd6774b9980454d70548c8c23ffb62a083', htmlFor: identifier }, this.icon && (hAsync("span", { key: 'ef056f08b0f3aa56ec9403066f9c49c106405d42', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '1e7dc968a93057da85bfad2d9311f9cb1345671e', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: 'fc5ecbe16b5154635cfbb6bd4d1422eaf118b837', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: 'bec129dc84a1a901d84dfd5b57bf3f0f455e1822' }))))));
|
|
5302
5305
|
}
|
|
5303
5306
|
get element() { return getElement(this); }
|
|
5304
5307
|
static get watchers() { return {
|
|
@@ -5676,7 +5679,7 @@ class DuetChoice {
|
|
|
5676
5679
|
*/
|
|
5677
5680
|
render() {
|
|
5678
5681
|
const identifier = this.identifier || this.choiceId;
|
|
5679
|
-
return (hAsync(Host, { key: '
|
|
5682
|
+
return (hAsync(Host, { key: '6b043ca676b0915beba8f7395ab51da5e4b5cd9b', class: {
|
|
5680
5683
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
5681
5684
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
5682
5685
|
"duet-m-0": this.margin === "none",
|
|
@@ -5684,10 +5687,10 @@ class DuetChoice {
|
|
|
5684
5687
|
"duet-theme-turva": this.theme === "turva",
|
|
5685
5688
|
"no-hover": this.isHovering,
|
|
5686
5689
|
disabled: this.getDisabled(),
|
|
5687
|
-
} }, hAsync("div", { key: '
|
|
5690
|
+
} }, hAsync("div", { key: '0891860988aae6ccb6cdaba297bb752a056511ed', class: {
|
|
5688
5691
|
"duet-choice-card-flextainer": true,
|
|
5689
5692
|
"duet-theme-turva": this.theme === "turva",
|
|
5690
|
-
} }, hAsync("div", { key: '
|
|
5693
|
+
} }, hAsync("div", { key: 'bce0c0ae884e3406707a4a4c369b4459d50c0093', class: {
|
|
5691
5694
|
"duet-choice-card": true,
|
|
5692
5695
|
"has-icon": !!this.icon,
|
|
5693
5696
|
"has-info": this.hasInfo,
|
|
@@ -5696,16 +5699,16 @@ class DuetChoice {
|
|
|
5696
5699
|
collapsible: this.collapsible,
|
|
5697
5700
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
5698
5701
|
"duet-p-0": this.padding === "none",
|
|
5699
|
-
} }, this.type === "checkbox" && (hAsync("input", { key: '
|
|
5702
|
+
} }, this.type === "checkbox" && (hAsync("input", { key: '89d5dd0ee3b36469a8dc76939682d6a9639d52a0', class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-label": this.getLabel(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.focusableElement = input) })), hAsync("slot", { key: '2745b90b9febcddd1617878dc85dbdca91bed103', name: "choiceradioinput" }), hAsync("label", { key: '60293091e7005f427af03589faa2471a20a07dbd', class: {
|
|
5700
5703
|
"duet-choice-label": true,
|
|
5701
5704
|
"has-before-text": this.hasBeforeText,
|
|
5702
5705
|
checked: this.checked,
|
|
5703
5706
|
focus: this.focus,
|
|
5704
5707
|
disabled: this.getDisabled(),
|
|
5705
|
-
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: '
|
|
5708
|
+
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: 'ae4be026a3b09c369840065af56652403199f386', name: "before-text" }), this.icon && (hAsync("div", { key: 'c7cb16471ff37dd3b02090dad05d7614f3d314bd', class: "duet-choice-card-icon" }, hAsync("duet-icon", { key: 'addb288ef7d86b56bea8c1f332441a2c4cadb3d2', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), hAsync("div", { key: 'b93a83dfd99fe82813d0daa25004ad9c5f4bb58f', class: "duet-choice-card-text" }, hAsync("div", { key: '6c12ddc5fce7a4b360c8cd54f4c767cf3481af25' }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label), this.caption && (hAsync("div", { key: '2375bc05cb87c6aff0e56758c9f478103e3fde4e' }, hAsync("duet-spacer", { key: 'ed9c38492bbd765fe2f7c8e00be12f022b21932b', size: "xx-small" }), hAsync("duet-caption", { key: 'bd6ee17d7a87ee48ee817e3d22ae84f08ad1710c', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (hAsync("div", { key: '60864680b2473d89f940fa0cd8bfae6433838ae4' }, hAsync("duet-spacer", { key: '303abb939ca6951fabf2e789877ce9fdc5192e68', size: "xx-small" }), hAsync("slot", { key: '3c0f6a723591ecf194520eef02445741986e2ede', name: "additional" })))), hAsync("div", { key: 'aab22344ed2b2b79259222456daed0c67007bd55' }, hAsync("div", { key: '8414b4650724896fe86bb5883c29f25970fd5225', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && hAsync("div", { key: '0fb93a9d51f221f5338009ab93ee9ed0dd840afc', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (hAsync("button", { key: 'dd75d55f02a8b12d8914d92ad5fd09f7b16cd0f0', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
5706
5709
|
"duet-choice-info-toggle": true,
|
|
5707
5710
|
"duet-theme-turva": this.theme === "turva",
|
|
5708
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, hAsync("div", { key: '
|
|
5711
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, hAsync("div", { key: 'acc75d0d4e81d63a1cadaf113f7a97727ec9b323', class: "duet-choice-info-icon" }, hAsync("duet-icon", { key: 'dab37c8b277f1077f49ddadcd62a7b81e5590e0d', icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (hAsync("span", { key: '2f6a4388ba251ee6e2d1125a5eed938899c730c8', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (hAsync("div", { class: this.getClassNames(), id: this.expandId }, hAsync("span", { class: {
|
|
5709
5712
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
5710
5713
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
5711
5714
|
} }, hAsync("span", { id: this.headerId }, hAsync("slot", { name: "header" })), this.hasInfo ? (hAsync("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, hAsync("span", null, hAsync("slot", { name: "info" })), hAsync("slot", null))) : (hAsync("span", { id: `${this.choiceId}-collapsible-content` }, hAsync("slot", null)))))) : null));
|
|
@@ -5879,14 +5882,14 @@ class DuetChoiceGroup {
|
|
|
5879
5882
|
* Always the last one in the class.
|
|
5880
5883
|
*/
|
|
5881
5884
|
render() {
|
|
5882
|
-
return (hAsync(Host, { key: '
|
|
5885
|
+
return (hAsync(Host, { key: '1a1882dc018f8084af4b98bf1c1dd42eb6b4196e', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
5883
5886
|
horizontal: this.direction === "horizontal",
|
|
5884
5887
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
5885
5888
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
5886
5889
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
5887
5890
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
5888
5891
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
5889
|
-
} }, hAsync("duet-fieldset", { key: '
|
|
5892
|
+
} }, hAsync("duet-fieldset", { key: '4e16e0509b823c92997d9f22bf0b760c5bab9584', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: 'ccca359a5153567adc4d64b1006700cd3c229230', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'b85ef08b02c0c4485c9051f84698b74d105ab2ed', name: "tooltip" }), hAsync("div", { key: '76c59c3fdedd2bcbf0be91e55bffc45b1e18ae92', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: 'e0f5a4ae522a9d2b8eec286a9e40a4c5db764310' })))));
|
|
5890
5893
|
}
|
|
5891
5894
|
get element() { return getElement(this); }
|
|
5892
5895
|
static get watchers() { return {
|
|
@@ -6777,14 +6780,14 @@ class DuetCollapsible {
|
|
|
6777
6780
|
*/
|
|
6778
6781
|
render() {
|
|
6779
6782
|
const HeadingTagName = this.headingLevel ? sanitizeString$1(this.headingLevel) : "div";
|
|
6780
|
-
return (hAsync(Host, { key: '
|
|
6783
|
+
return (hAsync(Host, { key: '41f36dde4e54009a1eb69c87caa20fe7174f54aa', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '2dfbc738dabf00e09f0dc410f340a2c149616e23' }, hAsync("button", { key: '9cdec6df9a1ad914a9b1f7add28b4327a40026ea', class: {
|
|
6781
6784
|
"duet-collapsible-heading": true,
|
|
6782
6785
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
6783
6786
|
"duet-theme-turva": this.theme === "turva",
|
|
6784
6787
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
6785
6788
|
"has-after-heading": this.hasAfterHeading,
|
|
6786
6789
|
"full-width": this.headingFullWidth,
|
|
6787
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '
|
|
6790
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '20969919d9bacce2a30a27f6b174a0d34ed2f87a', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: '8b1ce16944925dcbe76add2736fb4a9c2c4d8143', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { key: 'ae5481e1aa50ea5752835acca560509f9e1ef31b', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: '495b61f0b3f7d484f7af56bd8cde74b0fe6ae6b4', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: 'c95c048eba7d76b176a734ce678f9a26e124b495', name: "after-heading" }))))), hAsync("div", { key: '291f50f458f1951bb540412845f77c3034969d7d', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: '2b23d5343903b1fdb4e8977c1c6a1ab373928fe4' }))));
|
|
6788
6791
|
}
|
|
6789
6792
|
get element() { return getElement(this); }
|
|
6790
6793
|
static get style() { return DuetCollapsibleStyle0; }
|
|
@@ -7402,10 +7405,10 @@ class DuetContactCard {
|
|
|
7402
7405
|
render() {
|
|
7403
7406
|
const isTurva = this.theme === "turva";
|
|
7404
7407
|
const theme = isTurva ? "turva" : "default";
|
|
7405
|
-
return (hAsync(Host, { key: '
|
|
7408
|
+
return (hAsync(Host, { key: '5ed61598b80af8711f3d2f9eaa4fdecd21f25924', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '1cc0451adbb00abb3f21f72772afafc607645537', class: {
|
|
7406
7409
|
"duet-contact-card": true,
|
|
7407
7410
|
"duet-theme-turva": this.theme === "turva",
|
|
7408
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
7411
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '18669b66f9db7ee238adfdfc6fbc051b8eddfe93' }, this.name && (hAsync("duet-heading", { key: '47ef0fd1bd6d7f48668c8db2acb186776edb1485', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: 'b5810cd6f66e76919a62aff08048b053b5fcb7e1', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '8a769cdb536d5c6beb27c9ce4b6c4b582382997d', class: "email" }, hAsync("duet-icon", { key: '4f6925ceb4dd1aa420856b88f60c49571a9275c4', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '21348f029d675509c0a0f2bbe8cd8488d20723ce', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: '5567f627d05c5a4773885f41067d44977e923195', class: "phone" }, hAsync("duet-icon", { key: '0acdaacb76ec2ff9ab686ae8745eb844040bb59f', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '402ad36efc575a97ab671058825c90b09bc0ad75', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '5ad0f70d4b0df654d19d4e47117d2144c76320e5', class: "call-to-action" }, hAsync("duet-button", { key: '8f6f819df1e2808610de2e526e861a8af2220616', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '7491aa743dcd2c9c0c36d27e3c2b699ff8b3dd6b' }), hAsync("slot", { key: 'ec876a8327e9c365021dcf5703d994caf048ad2e' }))));
|
|
7409
7412
|
}
|
|
7410
7413
|
get element() { return getElement(this); }
|
|
7411
7414
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -7472,7 +7475,7 @@ class DuetCookieConsent {
|
|
|
7472
7475
|
* Always the last one in the class.
|
|
7473
7476
|
*/
|
|
7474
7477
|
render() {
|
|
7475
|
-
return (hAsync(Host, { key: '
|
|
7478
|
+
return (hAsync(Host, { key: '689e6e934833d5b1952ca793e3a1ab6348d0580a', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '0632d30885fd6a4fee5e2a27c3036377bddb87a7', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '2d8ee174ee56238b523a76ddabd1f8509a9a748d', class: "duet-cookie-consent-content" }, hAsync("div", { key: '5477148aef761c9cf27ecf9881b2339271b4e356', class: "expand" }, hAsync("slot", { key: 'b197d83da8b0abb133777f549dfab7f173e0dee5' })), hAsync("duet-spacer", { key: '28c43b3724d64df6b911148cdf0d9de88aed7b0f', size: "large", direction: "horizontal" }), hAsync("div", { key: '8a6d2e2f97ea12a9860b95692101fbc72aa3708a' }, hAsync("duet-button", { key: '8642e8dccf5bd08d316245487af38820badf80ad', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
7476
7479
|
}
|
|
7477
7480
|
get element() { return getElement(this); }
|
|
7478
7481
|
static get style() { return DuetCookieConsentStyle0; }
|
|
@@ -8291,13 +8294,13 @@ class DuetDatePicker {
|
|
|
8291
8294
|
if (maxDate) {
|
|
8292
8295
|
maxYear = Math.min(maxYear, maxDate.getFullYear());
|
|
8293
8296
|
}
|
|
8294
|
-
return (hAsync(Host, { key: '
|
|
8297
|
+
return (hAsync(Host, { key: 'ffbf4028a27b7ce50696f3735314e12b48644e83', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'be1ffaf5b189177ace8c0e537601247fb4c541e1', class: "duet-date" }, hAsync(DatePickerInput, { key: '9f256d886f365c0ffb729b2e19d9695ae62d125d', hasFocus: this.inputHasFocus, value: this.value, valueAsDate: valueAsDate, formattedValue: this.inputValue, language: this.language, onInput: this.handleInputChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.toggleOpen, name: this.name, disabled: this.disabled, error: this.error || this.internalValidityError || null, role: this.role, required: this.required, theme: this.theme, tooltip: this.tooltip, tooltipDirection: this.tooltipDirection, labelHidden: this.labelHidden, placeholder: this.placeholder, inputLabel: this.label, identifier: this.identifier, buttonRef: element => (this.datePickerButton = element), inputRef: element => (this.datePickerInput = element), accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy, accessibleLiveError: this.accessibleLiveError, echoPlaceholder: this.echoPlaceholder, caption: this.caption })), hAsync("div", { key: '083b96641cff2923eeb8b2a2811559674a3422a7', class: {
|
|
8295
8298
|
"duet-theme-turva": this.theme === "turva",
|
|
8296
8299
|
"duet-date-dialog": true,
|
|
8297
8300
|
left: this.direction === "left",
|
|
8298
8301
|
error: !!this.error,
|
|
8299
8302
|
active: this.open,
|
|
8300
|
-
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: '
|
|
8303
|
+
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: 'e996bbb11fb297a854c0b052a76bd901cc206b69', visible: this.open, "display-device": "x-small" }), hAsync(FocusGuard, { key: 'fb326c88bc79b2fb26934d500ada890909df7353', moveFocusTo: this.focusedDayNode }), hAsync("div", { key: '012cbf4ec8c8a86c8490df5858d0b51ce5cd8b92', class: "duet-date-dialog-wrapper", onKeyDown: this.handleEscKey, ref: element => (this.dialogWrapperNode = element) }, hAsync("duet-visually-hidden", { key: '0a70e49f2bc2719fd766d604026711557e741918', "aria-live": "polite" }, text.keyboardInstruction), hAsync("div", { key: '79509cb586c8498c5f450e63759e27d6dc10622a', class: "duet-date-dialog-mobile-header" }, hAsync(DuetInternalLabel, { key: '4377e01f607d4de35728b1cdc8cbc298f6b19142', margin: "none" }, this.label), hAsync("button", { key: '3287aeee04a35a036c1cdf5e93851cbb1b2a18d7', class: "duet-date-picker-close", ref: element => (this.closeButtonNode = element), onClick: () => this.hide(), type: "button" }, hAsync("duet-icon", { key: 'dfcef3d22fa0a905e5b7de34da2c7c669d2e4cef', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xx-small" }), hAsync("duet-visually-hidden", { key: 'cdf305c57bc94b51d148077ddfd30b3c29a989a0' }, text.closeLabel))), hAsync("div", { key: '7e0171347a1da56e751c38f36de27f199fa2ec47', class: "duet-date-dialog-header" }, hAsync("div", { key: '83306e6e3f77c536f522c30ad516423d90e4bf6b', class: "duet-date-dialog-dropdowns" }, hAsync("duet-visually-hidden", { key: 'd12b4ec4e07e8c657a61c2e9fb944d0e87367cd4' }, hAsync("h2", { key: 'ed4f5fa368effa1c5d0d49f0fed98c062ce66aaa', id: this.dialogLabelId, "aria-live": "polite", "aria-atomic": "true" }, text.monthLabels[focusedMonth], " ", this.focusedDay.getFullYear())), hAsync("duet-visually-hidden", { key: '3049c56b3982abd6e9609e8bb39ccff0ff5fe4a6' }, hAsync("label", { key: 'f81eb75848f18de93c98a21e2475545f5b18b11a', htmlFor: this.monthSelectId }, text.monthSelectLabel)), hAsync("div", { key: '5cd66e4fbf36396e710f351fd7c36459a8515804', class: "duet-date-dialog-select" }, hAsync("select", { key: '3dfa3aa9d7b96f84500d8af3b6c5dd6ff1325b20', id: this.monthSelectId, class: "duet-date-month-select", ref: element => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, text.monthLabels.map((month, i) => (hAsync("option", { key: month, value: i, selected: i === focusedMonth, disabled: !inRange(new Date(focusedYear, i, 1), minDate ? startOfMonth(minDate) : null, maxDate ? endOfMonth(maxDate) : null) }, month)))), hAsync("div", { key: '1fb7b3f4fa0ecd6c9cf95613c50200df097e919c', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: '99a67cc02351674b14ffb24949672d2a02a48324' }, text.monthLabelsShort[focusedMonth]), hAsync("duet-icon", { key: 'a7a4c1b2f6b361cd51737e60d59c26c97abe1a47', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" }))), hAsync("duet-visually-hidden", { key: '49515f341552fba5f3151b093c2a5b1ddc53ee07' }, hAsync("label", { key: '13f6235f20b354b5bece44b65e1b05f8dfa355dd', htmlFor: this.yearSelectId }, text.yearSelectLabel)), hAsync("div", { key: '4bd86d771eea83a8bd24387e91b09baa8e1a22ad', class: "duet-date-dialog-select" }, hAsync("select", { key: '027f699ba8c1da2af2525c937474e23595173ed0', id: this.yearSelectId, class: "duet-date-year-select", onChange: this.handleYearSelect }, range(minYear, maxYear).map(year => (hAsync("option", { key: year, selected: year === focusedYear }, year)))), hAsync("div", { key: '8b1b6158805a2bfac0bf1d11358d9ead7b053ef8', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: 'a49b7c229199f49a8e791d30c6164dfcb0a35b18' }, this.focusedDay.getFullYear()), hAsync("duet-icon", { key: 'bc944c5c5d76c6f3fb6da35e5afa384d101952d9', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" })))), hAsync("div", { key: '93a4f1129af6c3e723b951147d022243e053c3df', class: "duet-date-dialog-buttons" }, hAsync("duet-action-button", { key: '5a13ca85a4fd737fedc9c7f5e623c3def16397ae', accessibleLabel: i18n$2[this.language].prevMonthLabel, actionName: i18n$2[this.language].prevMonthLabel, class: "duet-date-dialog-prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, "icon-name": "action-arrow-left-small" }, text.prevMonthLabel), hAsync("duet-action-button", { key: '283fca10745ff21e1c0d0da2479121ef0d5ed890', accessibleLabel: i18n$2[this.language].nextMonthLabel, actionName: i18n$2[this.language].nextMonthLabel, class: "duet-date-dialog-next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, "icon-name": "action-arrow-right-small" }, text.nextMonthLabel))), hAsync(DatePickerMonth, { key: 'cc59e30b0a39e5a63682a2fb3da3c4080c7bc960', selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, language: this.language, theme: this.theme, min: minDate, max: maxDate, focusedDayRef: element => (this.focusedDayNode = element), onFocusEnter: this.enableActiveFocus, onFocusExit: this.disableActiveFocus })), hAsync(FocusGuard, { key: '9de58a8642b2f06882542924e86b3792f5bc54ad', moveFocusTo: this.closeButtonNode }))));
|
|
8301
8304
|
}
|
|
8302
8305
|
get element() { return getElement(this); }
|
|
8303
8306
|
static get watchers() { return {
|
|
@@ -8377,7 +8380,7 @@ class DuetDivider {
|
|
|
8377
8380
|
*/
|
|
8378
8381
|
render() {
|
|
8379
8382
|
const background = getColorByName(this.color);
|
|
8380
|
-
return (hAsync("div", { key: '
|
|
8383
|
+
return (hAsync("div", { key: '64511b39c68988b15d35f49ae4d6416b0937d6f2', class: {
|
|
8381
8384
|
"duet-m-0": this.margin === "none",
|
|
8382
8385
|
"duet-m-s": this.margin === "small",
|
|
8383
8386
|
"duet-divider": true,
|
|
@@ -8562,9 +8565,17 @@ class DuetEditableTable {
|
|
|
8562
8565
|
* Render Methods
|
|
8563
8566
|
*/
|
|
8564
8567
|
render() {
|
|
8565
|
-
{
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
+
return (hAsync(Host, { key: '3d5bf5011822ef87cfa0e0286c8cf91e8496bae2', class: {
|
|
8569
|
+
[`duet-editable-table-${this.variation}`]: true,
|
|
8570
|
+
"duet-editable-table": true,
|
|
8571
|
+
[`duet-editable-table-${this.theme}`]: true,
|
|
8572
|
+
// sticky only valid when in regular table layout
|
|
8573
|
+
"duet-editable-table-scrollable": this.breakpoint === "none-scrollable",
|
|
8574
|
+
"duet-editable-table-sortable": this.sortable,
|
|
8575
|
+
"duet-editable-table-actions": !!this.actions,
|
|
8576
|
+
"duet-m-0": this.margin === "none",
|
|
8577
|
+
"duet-theme-turva": this.theme === "turva",
|
|
8578
|
+
} }, hAsync("duet-table", { key: 'ec986291dd0b4a8210449af3dd0f233e7ea5951b', class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, hAsync("table", { key: '1ae7b6227d4fb16d38ca46fcd3c164ba625cf18d', role: this.accessibleRole }, hAsync("caption", { key: 'a78c14e03fad988f4b985eecb07674d90be9dafc' }, hAsync("slot", { key: '3ab4a9d8f4f7a6818c4051e811d222bb31731fca', name: "tcaption" })), hAsync("thead", { key: 'aca3450e23a6981df8a9bfefc6d4942914900138' }, this.hasHeadSlotFirst && (hAsync("tr", { key: '95caf52351b79194f468e5f1b537e27514e3558e' }, hAsync("td", { key: '35bea84e7baa12021a122bf6851d3a6b0a0105b3', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: '6969c828d8f6717d2bc16daa2bb4d34225aacdcc', name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (hAsync("tr", { key: '64dc523c0369648863e076499b0ebb18f8f56ff4' }, hAsync("td", { key: '64816f523901cd17e0f4481cb86e1596a0a079c3', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: '6d69e2ee753e7dce6d3f47a7e7268cc5c0c10e12', name: "thead-last" }))))), hAsync("tbody", { key: 'f5a526b833834a5d3601a479a9be3fd7de341d80' }, this.renderTableBody()), this.hasFootSlot && (hAsync("tfoot", { key: '87bb8cfcad29c6033f95205666c0e09ae18f946b' }, hAsync("tr", { key: '373cf5a124095988d9917422fd6c63da0bdd11b7' }, hAsync("td", { key: 'ac6478d51c42552576d8e4f1708faebbec2d04fb', class: "duet-editable-table-footer-menu", colSpan: 99 }, hAsync("slot", { key: 'b1257579708c35c4be3cb8148c63fd9d221ac8b3', name: "tfoot" })))))))));
|
|
8568
8579
|
}
|
|
8569
8580
|
get element() { return getElement(this); }
|
|
8570
8581
|
static get style() { return DuetEditableTableStyle0; }
|
|
@@ -8614,11 +8625,11 @@ class DuetEmptyState {
|
|
|
8614
8625
|
* Always the last one in the class.
|
|
8615
8626
|
*/
|
|
8616
8627
|
render() {
|
|
8617
|
-
return (hAsync(Host, { key: '
|
|
8628
|
+
return (hAsync(Host, { key: '993a6ef0e6325e25bb547113748f9ddb5a564561' }, hAsync("div", { key: '8a8d7bf1d9d47b9302566e1106f712a77049e1ec', class: {
|
|
8618
8629
|
"duet-empty-state": true,
|
|
8619
8630
|
"duet-theme-turva": this.theme === "turva",
|
|
8620
8631
|
"duet-is-small": this.size === "small",
|
|
8621
|
-
} }, hAsync("duet-icon", { key: '
|
|
8632
|
+
} }, hAsync("duet-icon", { key: 'b4fc41715d1bba5aa632b7d85916997d4ec33a76', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: '2d67fc5a87eab015934a6255187312023b906128' }, hAsync("slot", { key: '66b103aa15ead0d1efeb6967798443edfc5c1d42' })))));
|
|
8622
8633
|
}
|
|
8623
8634
|
get element() { return getElement(this); }
|
|
8624
8635
|
static get style() { return DuetEmptyStateStyle0; }
|
|
@@ -8674,20 +8685,20 @@ class DuetFieldset {
|
|
|
8674
8685
|
* Always the last one in the class.
|
|
8675
8686
|
*/
|
|
8676
8687
|
render() {
|
|
8677
|
-
return (hAsync(Host, { key: '
|
|
8688
|
+
return (hAsync(Host, { key: 'c90be4dee8fe0279fbf6c4c3c928d137fe61f233', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: '3ad5f101a81531194d9f6524cfc75b3287f0d28e', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
8678
8689
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
8679
8690
|
// once they do, we can remove errors from the aria-describedby
|
|
8680
8691
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
8681
8692
|
class: {
|
|
8682
8693
|
"duet-fieldset": true,
|
|
8683
8694
|
"duet-theme-turva": this.theme === "turva",
|
|
8684
|
-
} }, hAsync("legend", { key: '
|
|
8695
|
+
} }, hAsync("legend", { key: '213151ed1b0f84deb14a3e6a03b01bef9be36f6b', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: 'ab8f6890f78a7ae2c9b22e4c04bc38291bc5b164' }, this.label), this.caption && hAsync("span", { key: '6aacc89f2c37744e16870ac20225109bc3313854' }, this.caption)), hAsync("div", { key: '794ce3c1573e68c7cfb73d48ff7850511ac19109', class: {
|
|
8685
8696
|
"duet-legend-wrapper": true,
|
|
8686
8697
|
"duet-legend-has-caption": !!this.caption,
|
|
8687
8698
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
8688
8699
|
"duet-legend-hidden": this.labelHidden,
|
|
8689
8700
|
"duet-legend-compact": this.compactLabel,
|
|
8690
|
-
} }, hAsync("div", { key: '
|
|
8701
|
+
} }, hAsync("div", { key: '96448a08b7e74689135328c41823d0041e0460a1', class: "duet-fieldset-label" }, hAsync("span", { key: '2ee830f8dc815dc2fe7a5cdd28a7c8e587d00aa5', "aria-hidden": "true" }, this.label), hAsync("slot", { key: 'd466637b64d4233f5dd1ed3695311a46d1e7e284', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '12e9e36fefa42445a363148a516db4f906e8f91e', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: '543f734d48f22df932e73d2b9907e1afda57187a', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: '34ebf937cbd6e396647aba6282a527698a8a0a89' }), hAsync("span", { key: 'e810b0f8f8ab440f4a8956b72ab1a2a66bc04274', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '3cf4d71eb3ce812d1a5848961740a2b9c98f22a0' }, this.error)))));
|
|
8691
8702
|
}
|
|
8692
8703
|
get element() { return getElement(this); }
|
|
8693
8704
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -8831,15 +8842,15 @@ class DuetFooter {
|
|
|
8831
8842
|
render() {
|
|
8832
8843
|
const text = getLocaleString(i18n$1, this.language);
|
|
8833
8844
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
8834
|
-
return (hAsync("footer", { key: '
|
|
8845
|
+
return (hAsync("footer", { key: '1cdd005df7644fd86ab52f88c8b291a4a117c257', class: {
|
|
8835
8846
|
"duet-footer": true,
|
|
8836
8847
|
"duet-m-0": this.margin === "none",
|
|
8837
8848
|
"duet-theme-turva": this.theme === "turva",
|
|
8838
8849
|
"duet-footer-simple": this.variation === "simple",
|
|
8839
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
8850
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '2ae4978654a0581d936bf5ceb783983fff52f3f1', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: 'd7d006c75ecc0f652431fdab896396077bbbff14', class: {
|
|
8840
8851
|
"duet-footer-top": true,
|
|
8841
8852
|
"duet-has-info": this.hasInfoSlot,
|
|
8842
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
8853
|
+
}, part: "top" }, hAsync("div", { key: '6a782f5bba005411db4a29657a3015ebefae6bc6', class: "footer-top-logo" }, hAsync("duet-logo", { key: '6309f936a91496f2fac4fcd69c81b6dd41b81414', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: '09e751f50a0229013c3b7f5ddf3ff8c5ca0bd4e3', class: "footer-top-right-container" }, hAsync("slot", { key: 'c5fbd7a8d9132a2858a811dad7ad6d94ad31249f', name: "info" }), hAsync("div", { key: '15559c461dc869347b68b44dbb1b2c7df5d5bba0', class: "footer-top-items" }, this.processedItems &&
|
|
8843
8854
|
this.processedItems.map((item, index) => {
|
|
8844
8855
|
var _a, _b, _c, _d, _e, _f;
|
|
8845
8856
|
return (hAsync(Fragment, null, index > 0 && hAsync("duet-spacer", { size: "x-large", direction: "horizontal" }), hAsync("duet-button", { ref: element => this.setDataAttributes(element, item), theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: ((_a = item.href) === null || _a === void 0 ? void 0 : _a.startsWith("tel:"))
|
|
@@ -8849,7 +8860,7 @@ class DuetFooter {
|
|
|
8849
8860
|
: "navigation-arrow-right", "icon-right": !((_c = item.href) === null || _c === void 0 ? void 0 : _c.startsWith("tel:")) && !((_d = item.href) === null || _d === void 0 ? void 0 : _d.startsWith("mailto:")), "icon-size": ((_e = item.href) === null || _e === void 0 ? void 0 : _e.startsWith("tel:")) || ((_f = item.href) === null || _f === void 0 ? void 0 : _f.startsWith("mailto:"))
|
|
8850
8861
|
? "medium"
|
|
8851
8862
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
8852
|
-
}))))), hAsync("slot", { key: '
|
|
8863
|
+
}))))), hAsync("slot", { key: 'f4c7a3476693477b5c53f3877d40cb13c2e37ac1', name: "extra" }), hAsync("p", { key: '795ec0bcbffd0df07b2cfecc96e0bac31a20d7af', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: 'ebbd1b69487f6b698001c92641354f27c28ecac9', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: '4f9ab134874edfce12a01631556a49762592b84a', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: '6c299f198bdd74f1da639096ab73dc6b2e552285' }, this.processedMenu.map(item => (hAsync("a", { ref: element => this.setDataAttributes(element, item), href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label, item.external && (hAsync(Fragment, null, hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), hAsync("span", { class: "duet-footer-external" }, hAsync("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))), hAsync("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), hAsync("p", { key: '7144f88dd4d2ca95506b609f77cfa752cda215f3', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
8853
8864
|
}
|
|
8854
8865
|
get element() { return getElement(this); }
|
|
8855
8866
|
static get watchers() { return {
|
|
@@ -9053,7 +9064,7 @@ class DuetGrid {
|
|
|
9053
9064
|
* Always the last one in the class.
|
|
9054
9065
|
*/
|
|
9055
9066
|
render() {
|
|
9056
|
-
return (hAsync(Host, { key: '
|
|
9067
|
+
return (hAsync(Host, { key: 'cb5bd9c4309fb0032446255aaed26f0442596f07', class: {
|
|
9057
9068
|
"duet-grid": true,
|
|
9058
9069
|
"duet-no-stacking": !this.responsive,
|
|
9059
9070
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
@@ -9080,7 +9091,7 @@ class DuetGrid {
|
|
|
9080
9091
|
"duet-grid-row-reverse": this.rowReverse,
|
|
9081
9092
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
9082
9093
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
9083
|
-
} }, hAsync("slot", { key: '
|
|
9094
|
+
} }, hAsync("slot", { key: '809a8de54de8b002bda6ce79cee4a081fb61db62' })));
|
|
9084
9095
|
}
|
|
9085
9096
|
get element() { return getElement(this); }
|
|
9086
9097
|
static get watchers() { return {
|
|
@@ -9136,7 +9147,7 @@ class DuetGridItem {
|
|
|
9136
9147
|
* Always the last one in the class.
|
|
9137
9148
|
*/
|
|
9138
9149
|
render() {
|
|
9139
|
-
return (hAsync(Host, { key: '
|
|
9150
|
+
return (hAsync(Host, { key: '69107559554a11d43aeace87439dd5ee0983c961', style: {
|
|
9140
9151
|
"min-width": this.minWidth,
|
|
9141
9152
|
"max-width": this.maxWidth,
|
|
9142
9153
|
}, class: {
|
|
@@ -9153,7 +9164,7 @@ class DuetGridItem {
|
|
|
9153
9164
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
9154
9165
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
9155
9166
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
9156
|
-
} }, hAsync("slot", { key: '
|
|
9167
|
+
} }, hAsync("slot", { key: '17a808b61e7dd20826bed76c60721c3458d2a24d' })));
|
|
9157
9168
|
}
|
|
9158
9169
|
static get style() { return DuetGridItemStyle0; }
|
|
9159
9170
|
static get cmpMeta() { return {
|
|
@@ -10017,7 +10028,7 @@ class DuetHeading {
|
|
|
10017
10028
|
render() {
|
|
10018
10029
|
const TagName = sanitizeString$1(this.level);
|
|
10019
10030
|
const color = getColorByName(this.color);
|
|
10020
|
-
return (hAsync(TagName, { key: '
|
|
10031
|
+
return (hAsync(TagName, { key: 'd6111a5efd3a6e43fc10dc2223468788376d74b1', class: {
|
|
10021
10032
|
"duet-heading": true,
|
|
10022
10033
|
"duet-heading-border": this.border !== false,
|
|
10023
10034
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -10028,7 +10039,7 @@ class DuetHeading {
|
|
|
10028
10039
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
10029
10040
|
"duet-theme-turva": this.theme === "turva",
|
|
10030
10041
|
"fixed-size": this.fixedSize,
|
|
10031
|
-
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
10042
|
+
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '4ee1f23ec7f6b46353e873baf5321b15de2e2933' })));
|
|
10032
10043
|
}
|
|
10033
10044
|
get element() { return getElement(this); }
|
|
10034
10045
|
static get style() { return DuetHeadingStyle0; }
|
|
@@ -10208,7 +10219,7 @@ class DuetHero {
|
|
|
10208
10219
|
outlineColor = "color-primary-turva";
|
|
10209
10220
|
}
|
|
10210
10221
|
}
|
|
10211
|
-
return (hAsync("div", { key: '
|
|
10222
|
+
return (hAsync("div", { key: 'e94f90e20a29e2d621f86ee213f6c2243d162445', role: "region", class: {
|
|
10212
10223
|
"duet-hero": true,
|
|
10213
10224
|
"duet-theme-turva": this.theme === "turva",
|
|
10214
10225
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -10226,17 +10237,17 @@ class DuetHero {
|
|
|
10226
10237
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
10227
10238
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
10228
10239
|
"duet-hero-narrow": this.layout === "narrow",
|
|
10229
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
10230
|
-
this.processedBack && (hAsync("div", { key: '
|
|
10240
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: 'd2805e8c50587b1d9429e1fb547cd6bd3c2f0caa', class: "background-area" }, hAsync("div", { key: 'c9a3b0cf5625a51b6aa1e1f6ed724af21f849843', class: "background-container" }, hAsync("div", { key: 'b8b95accc3dc9da76f14f281dc2ab4bc02313342', class: "background" }, hAsync("img", { key: '41740e87fe1763274cc824723be0a18fde8f913d', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: '324aca6d2bb6f53c9fdba4b3f47d43f354a3db9e', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: 'b31b3eb18d3a11bfbe0460ed69b8744732850bcd', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: '97fc7ad7186b000694d126a1cb3689224c662fac', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '34a2a34d6ae23cdd9ff7b58359d63277c752c1d7', class: { background: true, [this.layout]: true } }, hAsync("div", { key: 'fcd72c89b529c5fee2e7e8028fa190c7a915e79f', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: 'cca68e8548c8cd174cc7cc8b7e63b2e53afb8aeb', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: 'd76e7b9ae4edc17cfe4fad1e251b84d5c85ba57a', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: '183d07b9496cd97c0876f38952e5a00eb38bb027', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: '109ae295f586d933c705f0fd68483683a1bf1952', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: '01aa5b4d12e7da5eaa9fa2e15dcba0d5ed2ca690', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: 'e2f95e5602e26bd54c22573cf774a128121a9f86', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: '1d19d92c16528ed5d12db36fe10f7def13671929', class: "background-area" }, hAsync("div", { key: 'b1226899172307df0f7dfeaae3ce2c085e92c029', class: "background" }, hAsync("div", { key: '441d8603995a0733a541e29ad09e972d0cb15ba6', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'f25ad10e9820803be974b2bcab9ae47b4548fb1c', class: "brand-shape" }), hAsync("div", { key: '67daae3aa88aa2c7688d40fb2a01a31569043c1d', class: "brand-shaped-image" }, hAsync("div", { key: '20e1761bbdcb1a8de0bb7ad849d89bb79274de29', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: '175dddd394e91859ed9acb84069a5f663de45784', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: 'e52f7ce7723142caca1199d63054b05aeb46b487', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: 'c3c5e67c1673454493b6f87022b58fab436af214', class: "duet-hero-image-mask" }, hAsync("div", { key: 'ccc3fada5d524e9b40252a8b4ae2eaa8fc83b2b4', class: "duet-hero-image-wrapper" }, hAsync("div", { key: '8260b76e2982ce1ced990c617ed3eecaf6ebc02b', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
10241
|
+
this.processedBack && (hAsync("div", { key: 'db59a2dc4d31b5d96938f5fe3388674c0c8e23a0', class: "duet-hero-back" }, hAsync("duet-button", { key: '17b285351662cedc0ab18fb9c917456360c07875', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
|
|
10231
10242
|
label: this.processedBack.label,
|
|
10232
10243
|
href: this.processedBack.href,
|
|
10233
10244
|
id: this.processedBack.id,
|
|
10234
10245
|
analyticsId: this.processedBack.analyticsId,
|
|
10235
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
10246
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: 'cd47afcdd3ad0b29ab77e4a6607d67912b7ad622', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: '146703fafb1fc4dc9ea2f2d2fa046e9c5f6a83ca', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: '2bac2c1aaefc60820bc76520f0b29b3b48436c75', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium" }, this.preHeading ? (this.preHeading) : (hAsync("span", null, hAsync("slot", { name: "pre-heading" }))))), hAsync("slot", { key: '8b6cad2e6fca42922483e23dfca68f42d7089f5c', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: '06038a734f66a0155cae26f98da0b4fcf2f9401a', theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto" }, this.heading ? (this.heading) : (hAsync("span", null, hAsync("slot", { name: "heading" }))))), campaignOrSection && this.hasSubHeadingSlot && (hAsync("duet-heading", { key: '6e179e7350e2c2507c1ff603b45e0b268da217ba', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("span", { key: '260ebb7f3ba965307c42633d1de47996c63171f1' }, hAsync("slot", { key: '907759e2d96ebbb092071621861990327d37a9c2', name: "subheading" })))), this.description && (hAsync("duet-paragraph", { key: '40dbf2c1f5b744b8e296ed56ff7510c144fa5e95', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: '94d5c36f4e16c448afb625cab0aa6528b95f5fda', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (hAsync("duet-list-item", null, hAsync("span", { slot: "label" }, item.label), hAsync("span", { slot: "value" }, item.value)))))), this.buttonLabel && (hAsync("duet-button", { key: 'e63f1c64ddd9bc34028ff6a4453664b523332d20', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), hAsync("slot", { key: '07a78ea1daea8738a89cd4d238a094e7f073aafa' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: '8891d77fc3cd9d49d6b087b6ff6a6b08e5836187', class: "duet-hero-links" }, this.processedActions.map(item => (hAsync("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, hAsync("div", { class: "duet-hero-action-icon" }, hAsync("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), hAsync("span", null, item.label), item.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (hAsync("div", { class: "duet-hero-action-arrow" }, hAsync("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
10236
10247
|
this.variation !== "image" &&
|
|
10237
10248
|
!campaignOrSection &&
|
|
10238
10249
|
this.variation !== "product" &&
|
|
10239
|
-
this.variation !== "content" && hAsync("div", { key: '
|
|
10250
|
+
this.variation !== "content" && hAsync("div", { key: '660cc6236529deef09e28fda903d13b7b46a82be', class: "duet-hero-image", style: styles }), hAsync("slot", { key: '545f334b84334546dd98f2d1fa53f32f16858912', name: "bottom" }))));
|
|
10240
10251
|
}
|
|
10241
10252
|
get element() { return getElement(this); }
|
|
10242
10253
|
static get watchers() { return {
|
|
@@ -10362,11 +10373,11 @@ class DuetIcon {
|
|
|
10362
10373
|
: {};
|
|
10363
10374
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
10364
10375
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
10365
|
-
return (hAsync(Host, { key: '
|
|
10376
|
+
return (hAsync(Host, { key: 'a83fc64820f4d8e3fa899c0d87db806507109ca6', class: {
|
|
10366
10377
|
"duet-m-0": this.margin === "none",
|
|
10367
10378
|
"duet-icon-has-outline": !!this.outline,
|
|
10368
10379
|
"duet-icon-has-background": !!this.background,
|
|
10369
|
-
} }, hAsync("span", { key: '
|
|
10380
|
+
} }, hAsync("span", { key: 'aeb374aef989718fc1af3b6013b29f7a0ab238f9', "aria-hidden": "true", style: styles, class: {
|
|
10370
10381
|
"duet-icon": true,
|
|
10371
10382
|
"duet-theme-turva": this.theme === "turva",
|
|
10372
10383
|
"duet-theme-default": this.theme === "default",
|
|
@@ -10375,7 +10386,7 @@ class DuetIcon {
|
|
|
10375
10386
|
[shapeStyle]: true,
|
|
10376
10387
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
10377
10388
|
"duet-icon-not-responsive": !this.responsive,
|
|
10378
|
-
} }, hAsync("span", { key: '
|
|
10389
|
+
} }, hAsync("span", { key: 'ff774fd041bbe256dddbb84db5a568d1ab4e9c80', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
10379
10390
|
}
|
|
10380
10391
|
get element() { return getElement(this); }
|
|
10381
10392
|
static get watchers() { return {
|
|
@@ -10890,7 +10901,7 @@ class DuetInput {
|
|
|
10890
10901
|
this.type !== "password" &&
|
|
10891
10902
|
this.type !== "time" &&
|
|
10892
10903
|
this.variation !== "button";
|
|
10893
|
-
return (hAsync(Host, { key: '
|
|
10904
|
+
return (hAsync(Host, { key: '27157f0e0ef781231dc53f62242c93dd77416fe3', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (hAsync("duet-visually-hidden", { key: '0950770844044af41ffeb7f505312cf68dbc2fa6', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), hAsync("div", { key: '0487bdedb2b60c45282063b1d0c4effeb6b79829', class: {
|
|
10894
10905
|
"duet-input-container": true,
|
|
10895
10906
|
"duet-theme-turva": this.theme === "turva",
|
|
10896
10907
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -10904,7 +10915,7 @@ class DuetInput {
|
|
|
10904
10915
|
"has-clear": this.clear,
|
|
10905
10916
|
"has-focus": this.isFocused,
|
|
10906
10917
|
disabled: this.disabled,
|
|
10907
|
-
} }, hAsync("div", { key: '
|
|
10918
|
+
} }, hAsync("div", { key: '40e554a5592ea303807714f476945a51d4cd0302', class: "duet-input-label-container" }, hAsync(DuetInternalLabel, { key: '82145a5b72cfa13cce38d0e8af3e8d0f8aa7fab7', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '74e0e7af69d8365d2066b542eba340291b76a9ec', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: '5ccfc047cab7357c2e6e55808ccf9f111be22276', name: "tooltip" })), this.caption && (hAsync("duet-caption", { key: '160a25f13bd945f574883cc89b5b829082a18008', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'cab2e63b8540c1fdf2e91547b340e2bc6e9c4031', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (hAsync("duet-caption", { key: 'f57924871c11446e290fbaace72833a2de1dbe44', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (hAsync("duet-visually-hidden", { key: '5f06062a838de900d4375ff88cb41d81e9b10cb1', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), hAsync("input", Object.assign({ key: 'b609360af202b5553aad22388d27d3373044a9d6', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
10908
10919
|
"duet-input": true,
|
|
10909
10920
|
disabled: this.disabled,
|
|
10910
10921
|
"is-number": this.component === "number",
|
|
@@ -10912,16 +10923,16 @@ class DuetInput {
|
|
|
10912
10923
|
"after-chip": this.getAllChips().length > 0,
|
|
10913
10924
|
"align-right": this.inputAlign === "right",
|
|
10914
10925
|
[`input-padding-${this.inputPadding}`]: true,
|
|
10915
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '
|
|
10926
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '5a464779c56b22fa5e47864b08645a6000b9e367', class: "duet-input-icon" }, hAsync("duet-icon", { key: '07c479f447dbc3e7c0c49fdf2aa96635afb428e3', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (hAsync("div", { key: '7fa36d6ad59a8b190d640412faf6d57f50b60c7f', class: {
|
|
10916
10927
|
"duet-input-clear-icon": true,
|
|
10917
10928
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
10918
10929
|
"duet-input-clear-icon-double": !!this.icon,
|
|
10919
10930
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
10920
|
-
} }, hAsync("button", { key: '
|
|
10931
|
+
} }, hAsync("button", { key: 'dfd9300e5066f5954a1d9c2064442d6bda1c55c4', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, hAsync("duet-icon", { key: '555bcd3e91c25634dcff7e6fe5943f03911aa9ad', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (hAsync("div", { key: '2b55687e10eccff71ee6a9352374bbe6580a31fb', class: "duet-input-icon" }, hAsync("duet-icon", { key: 'e2c67768dfdaac05944a056a7ada779c597dd296', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && hAsync("slot", { key: '2f973344b0c97c66d9b4ec434c40cbe2b63f7fde', name: "button" }), this.variation === "revealable" && (hAsync("duet-button", { key: 'a357be477c11b6b966bb15109feaaa7bd9a6381b', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
10921
10932
|
? this.hidePasswordLabel[this.language]
|
|
10922
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: '
|
|
10933
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: '23d4b1ae14b4a0c21c4fbde49023db0d6413ee73' }, hAsync("span", { key: '9891ed43653dfa4c27457299fb1f3bbc3c248943', "aria-live": "polite" }, this.isPasswordRevealed
|
|
10923
10934
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
10924
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '
|
|
10935
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '55200ed3023d68f4f7fbd8acaa523e5b616221f9' })), hAsync("span", { key: '5172ad8b5d0544b20e7fd5d2a9ba37c4a8eb6aa5', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '97f1f28f046074d7a450b1b56b1af793d41a734d', class: "duet-input-error" }, this.error)))));
|
|
10925
10936
|
}
|
|
10926
10937
|
get element() { return getElement(this); }
|
|
10927
10938
|
static get watchers() { return {
|
|
@@ -11090,24 +11101,24 @@ class DuetLayout {
|
|
|
11090
11101
|
* Always the last one in the class.
|
|
11091
11102
|
*/
|
|
11092
11103
|
render() {
|
|
11093
|
-
return (hAsync(Host, { key: '
|
|
11104
|
+
return (hAsync(Host, { key: 'c4699088f31020eb2b8ed7d4ecef65514bc3d28d', class: {
|
|
11094
11105
|
center: this.center,
|
|
11095
11106
|
"duet-middle": this.middle,
|
|
11096
11107
|
"duet-ie": isInternetExplorer(),
|
|
11097
|
-
} }, hAsync("div", { key: '
|
|
11108
|
+
} }, hAsync("div", { key: '075e7f223d3dda19f6f5ac9f29494eda8ffc7ff9', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: 'f3127c1c4f7fefdce569c2c30c77d990a1b9e11d', class: {
|
|
11098
11109
|
"duet-layout-top": true,
|
|
11099
11110
|
"duet-center": this.center,
|
|
11100
|
-
} }, hAsync("div", { key: '
|
|
11111
|
+
} }, hAsync("div", { key: '4954d9c1c200c323bf2b4906e862ede88190c025', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: 'e176f01c9d6662ee1bcfb0b9c6a0bc73b258abd6', name: "top" })))), hAsync("div", { key: '85c1e1219c0745d92be32716169f2097a1051ac8', class: {
|
|
11101
11112
|
"duet-layout": true,
|
|
11102
11113
|
"has-sidebar": this.hasSidebar,
|
|
11103
11114
|
"duet-center": this.center,
|
|
11104
11115
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
11105
|
-
} }, hAsync("main", { key: '
|
|
11116
|
+
} }, hAsync("main", { key: '7c70810abab73c6419db8ee5c1271ba34e877892', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: 'd60f45fe444f1de3089fb2207d169cc0bbfb1d5c', name: "page-heading" }), hAsync("slot", { key: 'cf79d7bd693259864500a1b9285b3bbc84c42326', name: "main" })), this.hasSidebar && (hAsync("aside", { key: '8c2c2c6e31a690aa01f72a03f2f62c0929902e09', class: "duet-sidebar" }, hAsync("div", { key: '3b846f204a5b322134649c2b822d3c7bdb03447b', class: {
|
|
11106
11117
|
"duet-sidebar-container": true,
|
|
11107
11118
|
"has-tabs": this.tabs,
|
|
11108
11119
|
sticky: this.sticky,
|
|
11109
11120
|
[this.stickyDistance]: this.sticky,
|
|
11110
|
-
} }, hAsync("slot", { key: '
|
|
11121
|
+
} }, hAsync("slot", { key: 'ea597d8559fa042256c715339923f3fc885d8e50', name: "sidebar" }))))))));
|
|
11111
11122
|
}
|
|
11112
11123
|
get element() { return getElement(this); }
|
|
11113
11124
|
static get style() { return DuetLayoutStyle0; }
|
|
@@ -11272,10 +11283,10 @@ class DuetLink {
|
|
|
11272
11283
|
render() {
|
|
11273
11284
|
const Tag = !this.url ? "button" : "a";
|
|
11274
11285
|
const isButton = Tag === "button";
|
|
11275
|
-
return (hAsync(Host, { key: '
|
|
11286
|
+
return (hAsync(Host, { key: '4daa11135671269c348f387b30b1252c5f12b2ee', class: {
|
|
11276
11287
|
[`duet-link-${this.variation}`]: true,
|
|
11277
11288
|
"duet-m-0": this.margin === "none",
|
|
11278
|
-
} }, hAsync(Tag, { key: '
|
|
11289
|
+
} }, hAsync(Tag, { key: '7e2c94f2a8695bd756e4efbb074f42614a342ca2', href: this.url, class: {
|
|
11279
11290
|
"duet-link": true,
|
|
11280
11291
|
"duet-link-is-external": this.external,
|
|
11281
11292
|
"duet-link-is-download": !!this.download,
|
|
@@ -11398,7 +11409,7 @@ class DuetList {
|
|
|
11398
11409
|
* Always the last one in the class.
|
|
11399
11410
|
*/
|
|
11400
11411
|
render() {
|
|
11401
|
-
return (hAsync("dl", { key: '
|
|
11412
|
+
return (hAsync("dl", { key: '0f63ce12f7d83722524fecc8e803c455f636d277', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: 'd8dc331b6707093063ae55cb8024fa723b7adbca' })));
|
|
11402
11413
|
}
|
|
11403
11414
|
get element() { return getElement(this); }
|
|
11404
11415
|
static get watchers() { return {
|
|
@@ -11448,14 +11459,14 @@ class DuetListItem {
|
|
|
11448
11459
|
* Always the last one in the class.
|
|
11449
11460
|
*/
|
|
11450
11461
|
render() {
|
|
11451
|
-
return (hAsync(Host, { key: '
|
|
11462
|
+
return (hAsync(Host, { key: '95db1eb8cfa0c88dad6a34ca300fd710a8f2d773', class: {
|
|
11452
11463
|
"duet-no-stacking": !this.responsive,
|
|
11453
11464
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
11454
11465
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
11455
11466
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
11456
11467
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
11457
11468
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
11458
|
-
} }, hAsync("dt", { key: '
|
|
11469
|
+
} }, hAsync("dt", { key: '27457dbebf1c7f29cd87199d1044d1830e00e1f9' }, hAsync("slot", { key: '6760928d435314ff885b768ab2f74917a7891a46', name: "label" })), hAsync("dd", { key: '97ae930888f789b056413956ee6bc8240252d9c6' }, hAsync("slot", { key: '9a1daf78702df7b6b000e8d10aa8a848058f38ca', name: "value" }))));
|
|
11459
11470
|
}
|
|
11460
11471
|
static get style() { return DuetListItemStyle0; }
|
|
11461
11472
|
static get cmpMeta() { return {
|
|
@@ -11548,7 +11559,7 @@ class DuetLogo {
|
|
|
11548
11559
|
*/
|
|
11549
11560
|
render() {
|
|
11550
11561
|
const TagName = this.href ? "a" : "div";
|
|
11551
|
-
return (hAsync(Host, { key: '
|
|
11562
|
+
return (hAsync(Host, { key: '755522a4d8a0d79b25a402de924b39757c3eff92', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: '03328ec8c5569b1f4203846cbbdc3014028a36ea', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
11552
11563
|
"duet-logo": true,
|
|
11553
11564
|
[this.size]: true,
|
|
11554
11565
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -11726,14 +11737,14 @@ class DuetMenuBar {
|
|
|
11726
11737
|
render() {
|
|
11727
11738
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
11728
11739
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
11729
|
-
return (hAsync(Host, { key: '
|
|
11740
|
+
return (hAsync(Host, { key: '879fc36781875cd6dea48e11839a85a185085dc0' }, hAsync("nav", { key: '2ea40e5fc7e651f516d4f9edae5ac2f71fd4fee9', class: {
|
|
11730
11741
|
"duet-menu-bar": true,
|
|
11731
11742
|
"duet-theme-turva": this.theme === "turva",
|
|
11732
11743
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
11733
11744
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
11734
11745
|
hidden: this.hidden && this.hideOnScroll,
|
|
11735
11746
|
bottom: this.onBottom,
|
|
11736
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
11747
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'ff8cc7d764c170ddd58d7ed93375961a95db7e20', class: "top" }), hAsync("div", { key: 'f1a58089bfde393327f4602887e2c3bb850f2344', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: 'f3ef014e2ea267d5b52553854490be997f13cf25' }, hAsync("duet-logo", { key: '063b69ae891ce4cb9bc6960aa0f0a9dbeca46cb8', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: '241a7083365bb7b039787e4f8debcd9185092057', class: "list center", role: "list" }, hAsync("div", { key: 'e91f65554fe261b6eac8f2e27b1a38a41f26ad11', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: '54aca3809af67d932ccde820be7575dceb6c422c', name: "center" }), hAsync("div", { key: '89998cee04eba79bb73de1a494b5a6b87790276b', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: 'e949ddcfac19ccaf615fdcbc2ce2faacbf7b9a91', class: "list right", role: "list" }, hAsync("slot", { key: 'c29da062d16c0070f56c034008c6cc911f6570b2', name: "right" }))), hAsync("div", { key: '02cca0e6a68888052ccc9721adc8d8692b6f2841', class: "bottom" }))));
|
|
11737
11748
|
}
|
|
11738
11749
|
get element() { return getElement(this); }
|
|
11739
11750
|
static get style() { return DuetMenuBarStyle0; }
|
|
@@ -11800,10 +11811,10 @@ class DuetMenuBarButton {
|
|
|
11800
11811
|
* Always the last one in the class.
|
|
11801
11812
|
*/
|
|
11802
11813
|
render() {
|
|
11803
|
-
return (hAsync(Host, { key: '
|
|
11814
|
+
return (hAsync(Host, { key: '640df6e6807e77ded11a2793dac96c1783152ca6', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '1fb58e8bf4bc3c2b2d562f26527aa2e2ba048dcf', ref: button => (this.nativeButton = button), class: {
|
|
11804
11815
|
"duet-menu-bar-button": true,
|
|
11805
11816
|
"duet-theme-turva": this.theme === "turva",
|
|
11806
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
11817
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '81483d7b24188277fff27a75241baa455429c396', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'fb62d6b302940eead24c6abcce7bd63018285701' }))));
|
|
11807
11818
|
}
|
|
11808
11819
|
get element() { return getElement(this); }
|
|
11809
11820
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -11886,17 +11897,17 @@ class DuetMenuBarDropdown {
|
|
|
11886
11897
|
* Always the last one in the class.
|
|
11887
11898
|
*/
|
|
11888
11899
|
render() {
|
|
11889
|
-
return (hAsync(Host, { key: '
|
|
11900
|
+
return (hAsync(Host, { key: '8b40cdb860995adb53e2af728a887e9b4708691a', role: "listitem" }, hAsync("div", { key: '2f82e317fa1e0047cf4c39cc95f108bfc44a8f39', class: {
|
|
11890
11901
|
"duet-menu-bar-dropdown": true,
|
|
11891
11902
|
"duet-theme-turva": this.theme === "turva",
|
|
11892
11903
|
active: this.open,
|
|
11893
11904
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
11894
|
-
} }, hAsync("button", { key: '
|
|
11905
|
+
} }, hAsync("button", { key: '1224e23b4a0ff1f364096bea12eb4f865444d1d8', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
11895
11906
|
active: this.open,
|
|
11896
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
11907
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '2a4af8378e45ded016940bfc47fa885ce2df9ce7', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '1f04992d67aaae7bff60adbffc1b44ce51888e89', class: "label" }, hAsync("slot", { key: '80a68b5b749449101c198271ea76e59ba299d36a', name: "label" }), hAsync("duet-icon", { key: 'c52a29144937f583f2acdd6fa295c22f66e9bda7', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'e3585849f0b032094ebe1121f8923a4c6fab798b', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
11897
11908
|
items: true,
|
|
11898
11909
|
hidden: !this.open,
|
|
11899
|
-
} }, hAsync("slot", { key: '
|
|
11910
|
+
} }, hAsync("slot", { key: 'c73b647bb5890887f3de54d54a2858190c57e630' })))));
|
|
11900
11911
|
}
|
|
11901
11912
|
get element() { return getElement(this); }
|
|
11902
11913
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -11956,11 +11967,11 @@ class DuetMenuBarDropdownLink {
|
|
|
11956
11967
|
* Always the last one in the class.
|
|
11957
11968
|
*/
|
|
11958
11969
|
render() {
|
|
11959
|
-
return (hAsync(Host, { key: '
|
|
11970
|
+
return (hAsync(Host, { key: 'c965e7903be45582dba26411b6dafa610efee277' }, hAsync("a", { key: '548353a242840f57bf155fa2acef059db4b99037', class: {
|
|
11960
11971
|
"duet-menu-bar-dropdown-link": true,
|
|
11961
11972
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11962
11973
|
"duet-theme-turva": this.theme === "turva",
|
|
11963
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11974
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'f67150954824158f3ddd8512ccbc759cac7eef98', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: 'd8f7e857839f68b0ed63d68d43093b42e8232a15' }))));
|
|
11964
11975
|
}
|
|
11965
11976
|
get element() { return getElement(this); }
|
|
11966
11977
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -12024,11 +12035,11 @@ class DuetMenuBarItem {
|
|
|
12024
12035
|
*/
|
|
12025
12036
|
render() {
|
|
12026
12037
|
const TagName = this.url ? "a" : "button";
|
|
12027
|
-
return (hAsync(Host, { key: '
|
|
12038
|
+
return (hAsync(Host, { key: '76d2f9d042bc0e53b7cc18ec3392809ec28741ec', role: "listitem" }, hAsync(TagName, { key: '610690beca56e7dad3a586a5e3dcfcd8371c8b97', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
12028
12039
|
"duet-menu-bar-item": true,
|
|
12029
12040
|
"duet-theme-turva": this.theme === "turva",
|
|
12030
12041
|
active: this.active,
|
|
12031
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '
|
|
12042
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '0c6ff2c355336b6ec6047c0974ed85b608021ead', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '0172426db559c60d93da9fcc61dc9ac9f2d84c50' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '91dff051070148a6f4f70aca4dcffe59b0f8f19f', class: {
|
|
12032
12043
|
"trailing-icon": !!this.trailingIcon,
|
|
12033
12044
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
12034
12045
|
"external-icon": !!this.external,
|
|
@@ -12083,11 +12094,11 @@ class DuetMenuBarLink {
|
|
|
12083
12094
|
* Always the last one in the class.
|
|
12084
12095
|
*/
|
|
12085
12096
|
render() {
|
|
12086
|
-
return (hAsync(Host, { key: '
|
|
12097
|
+
return (hAsync(Host, { key: 'e2fe10eefaa50b8a12212c834d5f518c9ad14917', role: "listitem" }, hAsync("a", { key: '929e202f5253e131b76f99ebeb2ceb65c597cef1', class: {
|
|
12087
12098
|
"duet-menu-bar-link": true,
|
|
12088
12099
|
"duet-theme-turva": this.theme === "turva",
|
|
12089
12100
|
active: this.active,
|
|
12090
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
12101
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '4670f1ffd76084d038e8b17dfac26a13fb793667', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '18c4355e146e6e752116f7df05bf265967a0606f' }))));
|
|
12091
12102
|
}
|
|
12092
12103
|
get element() { return getElement(this); }
|
|
12093
12104
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -12338,18 +12349,18 @@ class DuetModal {
|
|
|
12338
12349
|
var _a, _b;
|
|
12339
12350
|
let iconColor = "primary";
|
|
12340
12351
|
let closeColor = "secondary";
|
|
12341
|
-
const closingButton = (hAsync("div", { key: '
|
|
12352
|
+
const closingButton = (hAsync("div", { key: 'e3680a1a39e49c693a42fc7fb9759bc668d40db6', class: "duet-modal-close" }, hAsync("duet-button", { key: 'f83e0f5cb99b5a95989e6c142c12dd4abdccd4c5', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
12342
12353
|
if (this.theme === "turva") {
|
|
12343
12354
|
iconColor = "primary-turva";
|
|
12344
12355
|
closeColor = "secondary-turva";
|
|
12345
12356
|
}
|
|
12346
|
-
return (hAsync("div", { key: '
|
|
12357
|
+
return (hAsync("div", { key: '958d3dcd432c8954835f6cb522b2fe09bccafaa4', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
12347
12358
|
"duet-modal-container": true,
|
|
12348
12359
|
"duet-theme-turva": this.theme === "turva",
|
|
12349
12360
|
"duet-modal-active": this.open,
|
|
12350
12361
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
12351
12362
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
12352
|
-
} }, hAsync("duet-overlay", { key: '
|
|
12363
|
+
} }, hAsync("duet-overlay", { key: 'fbc2fc13d50311db1c8a0a4f2cc2803129eafe58', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: '8a07986bcfc3448a09fef42541dbe3cfada8bdcb', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
12353
12364
|
"duet-modal-inner": true,
|
|
12354
12365
|
[this.size]: true,
|
|
12355
12366
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -12360,18 +12371,18 @@ class DuetModal {
|
|
|
12360
12371
|
this.closeModal(e);
|
|
12361
12372
|
}
|
|
12362
12373
|
}
|
|
12363
|
-
} }, hAsync("div", { key: '
|
|
12374
|
+
} }, hAsync("div", { key: 'a0b9f37bf6628afa8f99e12a917d57eaeec54583', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
12364
12375
|
"duet-modal": true,
|
|
12365
12376
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
12366
12377
|
[this.size]: true,
|
|
12367
12378
|
[this.variation]: true,
|
|
12368
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
12379
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '9168f67fd2f8ede394df502d619287153224558e' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: '9f08ea38b797e2f08e90b844af00bc7520f74524', class: {
|
|
12369
12380
|
"duet-modal-body": true,
|
|
12370
12381
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
12371
12382
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
12372
12383
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
12373
12384
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
12374
|
-
} }, hAsync("div", { key: '
|
|
12385
|
+
} }, hAsync("div", { key: '46de5037af55d3b54aea4f8a133aa3ed573c0599', class: "duet-modal-header" }, hAsync("span", { key: 'ce17770a8dd4f97629729ab7823f9f7da02e5234', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: 'b347be9693d36ac02bd0bbfb004c84fbe2a27b2f', name: "top" })), this.icon && hAsync("duet-icon", { key: '4e60fc0b0a51d95dcc67841be4e780c5e71538e0', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: '3749e6adf5b669773e1ecf50e989b8dceac017bd', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (hAsync("div", { key: 'ec5d5a5d428cc6cd4cb86c1c7ba9e34f0725a4c0', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: 'c4459171ed652867da2bcc125dcab78ba11aca07', size: "large", color: "primary" }))), hAsync("div", { key: '4aa8b636aca91d1178fc3749a905d467c102461e', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: '47bb63f76e7bb4ae0a4c765bc4fbd4f26a8b47f9' })))))));
|
|
12375
12386
|
}
|
|
12376
12387
|
get element() { return getElement(this); }
|
|
12377
12388
|
static get watchers() { return {
|
|
@@ -12636,23 +12647,23 @@ class DuetMultiselect {
|
|
|
12636
12647
|
*/
|
|
12637
12648
|
render() {
|
|
12638
12649
|
var _a;
|
|
12639
|
-
return (hAsync(Host, { key: '
|
|
12650
|
+
return (hAsync(Host, { key: '66db5f574c720ea5892865581aaaca95e7bfc202', class: {
|
|
12640
12651
|
"duet-m-0": this.margin === "none",
|
|
12641
12652
|
"duet-expand": this.expand,
|
|
12642
|
-
} }, hAsync("div", { key: '
|
|
12653
|
+
} }, hAsync("div", { key: '18447b64923b698d42addcd13946ae5b79d7c367', class: {
|
|
12643
12654
|
"duet-multiselect-container": true,
|
|
12644
12655
|
"duet-label-hidden": this.labelHidden,
|
|
12645
12656
|
"duet-theme-turva": this.theme === "turva",
|
|
12646
12657
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
12647
12658
|
"has-error": !!this.error,
|
|
12648
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: '
|
|
12659
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: '92b58e72baf765345116e2d8aeadb73f2081f93e', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: 'fead19d08c45ed8cbc145afe829b09d0397428e9', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '462b6065093b4d84bcfdb35398eb726289bf8a04', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '6671b5e26502d71c3232822fe12e880a18c6a6e1', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '9b7b7dcfc90d7ac84a065822cc942908f1c5db23', class: "duet-multiselect-wrapper" }, hAsync("button", { key: '2245ab42ac2ae7e8b058f6d3e040370a9d87f268', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, hAsync("span", { key: 'bf248bbe82cc02c50116cec46aa4a770557a7dc1', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (hAsync("span", { key: '2a257d9881a89deb043d104e39915201364f0eb1', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: '59e46400cc9f5b4cff182d0171ffd92efcbd28be' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { key: '8bc274f5908872b24f0665f1b9e320bc3cef9d0d', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '737a6a477e1555ba07abd6bf584fd53c5922833b', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), hAsync("div", { key: '34738d348dd5456962d4b992b769a6d94bec9495', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
12649
12660
|
"duet-multiselect-checkboxes": true,
|
|
12650
12661
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
12651
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
12662
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '9b11edb9360d491679322c8ad4deb6a68bb1e8b5', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: '62404c51498d8a9946ab949ab0e0fe084e989eee', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), hAsync("button", { key: 'c157c1fc780f85ca1e2c8268ff4e1c71dd40b6e4', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
12652
12663
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
12653
12664
|
var _a, _b;
|
|
12654
12665
|
return (hAsync("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
|
|
12655
|
-
})))))), hAsync("span", { key: '
|
|
12666
|
+
})))))), hAsync("span", { key: '74e0ecd38efb1cd7851f16e542eac089080bd3f2', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '7a1632365136bc299d70f12d986622451ad4661f' }, this.error)))));
|
|
12656
12667
|
}
|
|
12657
12668
|
get element() { return getElement(this); }
|
|
12658
12669
|
static get watchers() { return {
|
|
@@ -12721,7 +12732,7 @@ class DuetNav {
|
|
|
12721
12732
|
* Always the last one in the class.
|
|
12722
12733
|
*/
|
|
12723
12734
|
render() {
|
|
12724
|
-
return (hAsync(Host, { key: '
|
|
12735
|
+
return (hAsync(Host, { key: '95a630a67e5b566bc05641ac7a676ed3ac63f5ee' }, hAsync("div", { key: 'abcbac50ff4631707152e35779d9519a845a38b8', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '5f39c9e47f3897bd0c2911e40c71e6944aef19d6' }), hAsync("slot", { key: 'd1c4f88457d7db9695701abbc982b1f589909871', name: "mobile" }), hAsync("slot", { key: '810fa9cf8b03c900cd4923d2b8a3fc89f8c872af', name: "desktop" }))));
|
|
12725
12736
|
}
|
|
12726
12737
|
get element() { return getElement(this); }
|
|
12727
12738
|
static get style() { return DuetNavStyle0; }
|
|
@@ -12780,11 +12791,11 @@ class DuetNotification {
|
|
|
12780
12791
|
this.linkElement.focus(options);
|
|
12781
12792
|
}
|
|
12782
12793
|
render() {
|
|
12783
|
-
return (hAsync("div", { key: '
|
|
12794
|
+
return (hAsync("div", { key: '98ec72c6cce7947b7263eeb3f46e33e22a990877', role: "listitem", class: {
|
|
12784
12795
|
"duet-notification": true,
|
|
12785
12796
|
"duet-notification-highlight": this.highlight,
|
|
12786
12797
|
"duet-theme-turva": this.theme === "turva",
|
|
12787
|
-
} }, hAsync("a", { key: '
|
|
12798
|
+
} }, hAsync("a", { key: '3736a06027a73aa7ba30e0c4b8a120c6772c0c6f', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: 'ba330229b218d4e4b58d2078e62ef7fb8dd84755', class: "duet-notification-container" }, hAsync("div", { key: 'b3e977745d175b1df1b238399d72822511cdbc2c', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: '7899dd2e03bc72ff907719a515064f96c5a85a1f', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '120a6ec03a1e30297fb74201aec8842a95544cd6' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: 'a9cefa6b12b79148d75b238395613eb03b1cbdb8', class: "duet-notification-content" }, hAsync("slot", { key: '227250fa90780100b094ef165074f2699daf3fee' })), hAsync("div", { key: '8f8e56cf0596df33ebbb471fa7dc4297acd660aa', class: "duet-notification-date" }, this.date)))));
|
|
12788
12799
|
}
|
|
12789
12800
|
get element() { return getElement(this); }
|
|
12790
12801
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -12902,10 +12913,10 @@ class DuetNotificationDrawer {
|
|
|
12902
12913
|
* Always the last one in the class.
|
|
12903
12914
|
*/
|
|
12904
12915
|
render() {
|
|
12905
|
-
return (hAsync("div", { key: '
|
|
12916
|
+
return (hAsync("div", { key: '1fcd96bf0423aef4ee96911cda6cbfd17dd7b5af', class: {
|
|
12906
12917
|
"duet-drawer": true,
|
|
12907
12918
|
"duet-theme-turva": this.theme === "turva",
|
|
12908
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
12919
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '816332facf413ea0d4982e49a75bd6c8deb01384', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (hAsync("div", { key: '2f2bb9fc0bf11b71afc63b575b558580be8d2bef', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: '894cf661f00dd98fde6c4588eff2f0e117294b6c', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: '58e7f6dd2b4d6900bc1eb5b80c5f82a26a1eed5b', class: "duet-drawer-badge" }))), hAsync("span", { key: 'd6fc2d433a6eabc135bc6298fc9ef47c2633b876', class: "duet-drawer-label" }, this.label), hAsync("div", { key: 'd6e08501623205f6dfd9c9196fa19b5b44a5246f', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: '265d0ff440812f953004ec0e621e6c568635968b', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), hAsync("div", { key: '0f557b4cd9db14546ae95e18f0e790bb30cbb93d', id: "duet-drawer-content", class: {
|
|
12909
12920
|
"duet-drawer-content": true,
|
|
12910
12921
|
"duet-drawer-right": this.direction === "right",
|
|
12911
12922
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -13292,11 +13303,11 @@ class DuetNumberInput {
|
|
|
13292
13303
|
const identifier = this.identifier || this.inputId;
|
|
13293
13304
|
const maxlength = `${this.localizeValue(this.max)} ${this.unit}`.length;
|
|
13294
13305
|
const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
13295
|
-
return (hAsync(Host, { key: '
|
|
13306
|
+
return (hAsync(Host, { key: '3da7c782ce445861599dc9a836d50866b7950bef', class: {
|
|
13296
13307
|
"duet-theme-turva": this.theme === "turva",
|
|
13297
13308
|
"duet-expand": this.expand,
|
|
13298
13309
|
"duet-m-0": this.margin === "none",
|
|
13299
|
-
} }, hAsync("div", { key: '
|
|
13310
|
+
} }, hAsync("div", { key: 'a42d62f6fbf766e1d8ca3289cedad8c0da51683d', class: "duet-number-container" }, hAsync("duet-input", { key: '802ffebd0db05445c6644fac9a8cd77a36a2df32', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, hAsync("slot", { key: 'e724d4f60cb5ae0847b2280ff46141601b922955', name: "tooltip" }), hAsync("div", { key: 'bddebaeb4d842b216f3c5ab57d27398c9072ecba', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, hAsync("button", { key: '9c0809c67e56135776e7f7730a11f5f2da4fabd8', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, hAsync("duet-visually-hidden", { key: 'd8771c771af162cf210be52b909ff79a6e0b7e49' }, this.accessibleSubtract, " ", this.step), hAsync("duet-icon", { key: '35c87ddeaf36725a3c5502711615eae4f15e4329', icon: actionSubtract.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), hAsync("button", { key: '8988e8d80684cdd0d3a561e3e418d5bdf799d0de', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, hAsync("duet-visually-hidden", { key: '163ab6c2ccdc27ec467ff3acdb2ece1b789c57d7' }, this.accessibleAdd, " ", this.step), hAsync("duet-icon", { key: 'da61399d82dcb9263d33dd636279857685fda111', icon: actionAdd.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (hAsync("duet-visually-hidden", { key: '4370e4cd37e5acc790bec55999ec64bfcd5b2467', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
|
|
13300
13311
|
}
|
|
13301
13312
|
get element() { return getElement(this); }
|
|
13302
13313
|
static get style() { return DuetNumberInputStyle0; }
|
|
@@ -13385,7 +13396,7 @@ class DuetOverlay {
|
|
|
13385
13396
|
* Always the last one in the class.
|
|
13386
13397
|
*/
|
|
13387
13398
|
render() {
|
|
13388
|
-
return (hAsync(Host, { key: '
|
|
13399
|
+
return (hAsync(Host, { key: 'd8f034b2c2abc3f7adc006ba65c93afe843bdb2b', "aria-hidden": "true" }, hAsync("div", { key: '25c36326e9753e221143c4fbcb502ed37e31a2d2', style: { zIndex: this.zIndex }, class: {
|
|
13389
13400
|
"duet-overlay": true,
|
|
13390
13401
|
"duet-theme-turva": this.theme === "turva",
|
|
13391
13402
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -13455,12 +13466,12 @@ class DuetPageHeading {
|
|
|
13455
13466
|
*/
|
|
13456
13467
|
render() {
|
|
13457
13468
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
13458
|
-
return (hAsync("div", { key: '
|
|
13469
|
+
return (hAsync("div", { key: '9effa4b9be0ae8f00bf5d788432fda116d34b81d', class: {
|
|
13459
13470
|
"duet-page-heading": true,
|
|
13460
13471
|
"duet-theme-turva": this.theme === "turva",
|
|
13461
13472
|
"has-icon": !!this.icon,
|
|
13462
13473
|
[layout]: true,
|
|
13463
|
-
} }, hAsync("div", { key: '
|
|
13474
|
+
} }, hAsync("div", { key: 'c33fc9a029847d3625137fb1173cab7b55c1fdf4', class: "background" }, this.theme === "turva" && hAsync("div", { key: '304c53b99ade8cb534bc65d5b7a2579584e3c185', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '632793449d119b5462f43410f643ffe62a9c01d0', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: '58aed705c28aca08e7fcdf9edbd6a9281ca73c09', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '3b736388304bf35620ad364ddc957f500c0f097e', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: '3040e3c7deaba2c0c9670a6ec4c83b34d297f8ab', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: 'a7bd8c26779cfada416fc8f14db5c12ea8af90a0', class: "heading" }, hAsync("slot", { key: 'd681185baeb0f2b731c3d89668862a20dae5ba6f', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: '79e742c4b910b78046f2a3fec20cde71e1a652da' }, hAsync("duet-spacer", { key: '12e3d41455301f3fdf04f432a1754c10112e4b33', size: "large" }), hAsync("div", { key: '52cd3a295ebab421be2e543455af743f7040970f', role: "presentation" }, this.progressIndicator()))))));
|
|
13464
13475
|
}
|
|
13465
13476
|
get element() { return getElement(this); }
|
|
13466
13477
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -13815,32 +13826,32 @@ class DuetPagination {
|
|
|
13815
13826
|
* Always the last one in the class.
|
|
13816
13827
|
*/
|
|
13817
13828
|
render() {
|
|
13818
|
-
return (hAsync(Host, { key: '
|
|
13829
|
+
return (hAsync(Host, { key: '30de52a909e492fdf1657c4bd3eebd9f2b5e7ce5', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: 'f9d6d3b7dd05fbe03ac5ce4f26a970fc0a910148', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
|
|
13819
13830
|
"duet-pagination-nav": true,
|
|
13820
13831
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
13821
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
13832
|
+
} }, this.numbersStore !== "" && (hAsync("div", { key: 'b9dd4683843d23fd6b20949c3450975618bc89de', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, hAsync("duet-badge", { key: '2542f6c5314a62428349bd0436797981da27c338', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: '711c642a86b6dc98cdbdc16da341c54a7b8766ba', id: this.listId, class: {
|
|
13822
13833
|
"duet-pagination": true,
|
|
13823
13834
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
13824
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13835
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '718fab989ed95629e2f0f1931050e108d33af422', class: {
|
|
13825
13836
|
"duet-pagination-page-button": true,
|
|
13826
13837
|
"duet-pagination-button-first": true,
|
|
13827
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13838
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '7a1ef30c44c48f27ecdcc2bf82cc485f9673c94d', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), hAsync("li", { key: 'd115b1124e52420444757f87d6624d2e40e77a89', class: {
|
|
13828
13839
|
"duet-pagination-page-button": true,
|
|
13829
13840
|
"duet-pagination-button-first": true,
|
|
13830
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13841
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '52d006b1e131affc614ab29024a7848a01915203', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
13831
13842
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
13832
|
-
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13833
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13843
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '892a8fa21fed391bfc0d4f0cc470c8a43abb9591' }, hAsync("li", { key: 'a9a0723b8cac250b46469ae8fbfccb12d3445cb8', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'd4f9df2d63ec2fbb5146ba5f1dc9f53daf1751c3', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, hAsync("div", { key: 'c15f10460ee1306690c5db36ff31aa040f11d9d9', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: '3962965f5d1e02c314dcfbcbd11674f0ca1e4ce1', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '1fad2120a544e51c5873833b118a009939c14666', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, hAsync("div", { key: 'ac8ef66bae9e009774d16bf21fc5661ae360ed11', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
13844
|
+
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '31467f256cb9d230e4b5380fd3692cea3f9c5f18' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: 'da33ca9bd87f9404b0fd44bc8cefc86f0e74694e', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '87c534e17d295316d3f55a2fb9a295de896bc242', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, hAsync("div", { key: 'f24ee3b11997ee6c9bb6679b72b835207cd1e40c', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: '59e1750d08f948b3f137bc256a3bf07529b6f738', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '326c765824df1ec4bca3ab5267f8a0ffe865e374', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
|
|
13834
13845
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
13835
|
-
: undefined }, hAsync("div", { key: '
|
|
13846
|
+
: undefined }, hAsync("div", { key: '78cd1fc5457e7f3196d53dfc08e6fca9389a711e', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '5d76476a62efbb068ca0c6a1cff04e0099c395ed', class: {
|
|
13836
13847
|
"duet-pagination-page-button": true,
|
|
13837
13848
|
"duet-pagination-button-last": true,
|
|
13838
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13849
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '3209c80c6eec5207fc6a37af528397eedf2f0f70', disabled: !!((this.current === this.totalPages &&
|
|
13839
13850
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13840
|
-
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13851
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: 'bf2ed784874ca4a76e96fd6d6b05f448c8485e6f', class: {
|
|
13841
13852
|
"duet-pagination-page-button": true,
|
|
13842
13853
|
"duet-pagination-button-last": true,
|
|
13843
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13854
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '85815333b5d1a0ab326e11bc457240284557d92e', disabled: (this.current === this.totalPages &&
|
|
13844
13855
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13845
13856
|
this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
|
|
13846
13857
|
}
|
|
@@ -13914,7 +13925,7 @@ class DuetParagraph {
|
|
|
13914
13925
|
const color = getColorByName(this.color);
|
|
13915
13926
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
13916
13927
|
// are not announced when placed inside duet-modal
|
|
13917
|
-
return (hAsync(Host, { key: '
|
|
13928
|
+
return (hAsync(Host, { key: '4cdc1e2db953dc363eb77f14bf5c8473cd22c7ca', "aria-describedby": this.id }, hAsync("p", { key: '6fc77faf20566dc0442bb36f20079aeca48ea41f', id: this.id, class: {
|
|
13918
13929
|
"duet-paragraph": true,
|
|
13919
13930
|
"duet-paragraph-small": this.size === "small",
|
|
13920
13931
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -13922,7 +13933,7 @@ class DuetParagraph {
|
|
|
13922
13933
|
"duet-m-0": this.margin === "none",
|
|
13923
13934
|
[this.variation]: true,
|
|
13924
13935
|
"duet-theme-turva": this.theme === "turva",
|
|
13925
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
13936
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: 'df2a9f9c672fe560e62f97addbef69d72b13fefe' }))));
|
|
13926
13937
|
}
|
|
13927
13938
|
get element() { return getElement(this); }
|
|
13928
13939
|
static get style() { return DuetParagraphStyle0; }
|
|
@@ -15552,14 +15563,14 @@ class DuetPopupMenu {
|
|
|
15552
15563
|
overflowY: "auto",
|
|
15553
15564
|
height: this.popupMenuStyleHeight,
|
|
15554
15565
|
};
|
|
15555
|
-
return (hAsync(Host, { key: '
|
|
15566
|
+
return (hAsync(Host, { key: '28c5e0e22a1dbbf5ee9bf81e54b75ca0c7749eae' }, hAsync("div", { key: '0317bf8bda1b57bd2bf509bb54b34209d81f79da', ref: element => {
|
|
15556
15567
|
this.menuElement = element;
|
|
15557
15568
|
}, style: styles, class: {
|
|
15558
15569
|
open: this.open,
|
|
15559
15570
|
"duet-popup-menu-list": true,
|
|
15560
15571
|
"duet-theme-turva": this.theme === "turva",
|
|
15561
15572
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
15562
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: '
|
|
15573
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: '483a49bb29aac53e169c9b14432b8135c0e50b9d' }))));
|
|
15563
15574
|
}
|
|
15564
15575
|
get element() { return getElement(this); }
|
|
15565
15576
|
static get watchers() { return {
|
|
@@ -15666,11 +15677,11 @@ class DuetPopupMenuItem {
|
|
|
15666
15677
|
"duet-theme-turva": this.theme === "turva",
|
|
15667
15678
|
"active-descendant": this.activeDescendant,
|
|
15668
15679
|
};
|
|
15669
|
-
return (hAsync(Host, { key: '
|
|
15680
|
+
return (hAsync(Host, { key: 'cba4450c5f4e743f1c54c4736930fd263acba1db', role: this.accessibleRole }, hAsync(TagName, { key: '94c16ad9906c2ea626f186a405a044f8c0fdc38b', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (hAsync("duet-icon", { key: 'bc37f155bb1a3c6e0519f1b673682840e7cc2838', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '641cb769d15e68d2e05893737b2712cb22916084', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: 'c4e79af7b0a972b68a6a30ca479d3fe49ec0ac57' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: 'd5ae36ac91afb6b5f9a6bfe461a10b68ee0f916e', name: this.url && this.external
|
|
15670
15681
|
? actionNewWindowSmall.title
|
|
15671
15682
|
: this.active
|
|
15672
15683
|
? "messaging-checked-small"
|
|
15673
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '
|
|
15684
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '79631aaffd5c2b020ebc6f37f0770147ae8291fa', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
15674
15685
|
}
|
|
15675
15686
|
get element() { return getElement(this); }
|
|
15676
15687
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -15825,12 +15836,12 @@ class DuetPromoCard {
|
|
|
15825
15836
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
15826
15837
|
};
|
|
15827
15838
|
const TagName = this.url ? "a" : "div";
|
|
15828
|
-
return (hAsync(Host, { key: '
|
|
15839
|
+
return (hAsync(Host, { key: '9cbbef0f84fc9ea0995f4efc404887a3d7fcb2b7', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '9dd49ad5394f7da06b48728c697953383359411d', class: {
|
|
15829
15840
|
"duet-promo-card": true,
|
|
15830
15841
|
"duet-theme-turva": this.theme === "turva",
|
|
15831
15842
|
"no-bg-color": !this.backgroundColor,
|
|
15832
15843
|
"duet-promo-card-link": !!this.url,
|
|
15833
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
15844
|
+
}, style: bannerStyles }, hAsync(TagName, { key: 'c2b5c8a5e4ef259545158bac573a4c8886b42bf4', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: 'c4454d6d77a763e9b218ef80e36612106b8f445e', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: '29407ebb77fb8476c8d809f4e79a3b1f358cf351', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: 'ac5d2e4aaef3010cf71bda6e27042f61fccb3729', class: "pre-heading" }, hAsync("slot", { key: '33dead9d00d09fd214d33b3ee9f6845f56ca33d9', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: '8236efa41a9c1d6f467bb203cb26b6d49b7ea6a9', class: "heading" }, hAsync("duet-heading", { key: 'fa5e03a97c417d2949e8733bf47922b855795e49', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: 'dd4ced53071aef1ff71c5f1fac916bf69626c45d' }, hAsync("slot", { key: 'a0137eac1c27d9571776388d2dc119a9ac17e994', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '75b0fd24b1399ac5b24bbb8bcf4a9de3366c578a', class: "description" }, hAsync("duet-paragraph", { key: 'cc88387c1d90099543510e6340dbac160cb55a49', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: '02328a4e2f140346c6acbdb616fc3cfb6c06b7d7' }, hAsync("slot", { key: '0f693c364072b59acb520ef2eeae2fcda3801415', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '66dd94ac45bd090224ce22454abfb822bca0c057', class: "action" }, hAsync("slot", { key: 'b9906bef566f51030ef45a227f468139d67f8e5e', name: "action" }))))))));
|
|
15834
15845
|
}
|
|
15835
15846
|
get element() { return getElement(this); }
|
|
15836
15847
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -16019,16 +16030,16 @@ class DuetRadio {
|
|
|
16019
16030
|
* Always the last one in the class.
|
|
16020
16031
|
*/
|
|
16021
16032
|
render() {
|
|
16022
|
-
return (hAsync(Host, { key: '
|
|
16033
|
+
return (hAsync(Host, { key: 'd0e3f85414ec58c2ad43fc2b5270169f0215d135', onClick: this.onClick, class: {
|
|
16023
16034
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
16024
16035
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
16025
16036
|
"duet-m-0": this.margin === "none",
|
|
16026
|
-
} }, hAsync("div", { key: '
|
|
16037
|
+
} }, hAsync("div", { key: '53abf70ecca3cb7982df21e96daf3e534d9830ea', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("slot", { key: 'bb6b9872a4cad75a191a8ac5b1e7e0678fb8f2d5', name: "input" }), hAsync("label", { key: '9ed92050ef44dbc0c78dc3e815ff9ab50d118c2d', inert: true, ref: element => (this.labelElement = element), class: {
|
|
16027
16038
|
"duet-label": true,
|
|
16028
16039
|
checked: this.checked,
|
|
16029
16040
|
focus: this.focus,
|
|
16030
16041
|
disabled: this.disabled || this.groupDisabled,
|
|
16031
|
-
} }, hAsync("div", { key: '
|
|
16042
|
+
} }, hAsync("div", { key: '58c329e0c4ff19df4d30be153a66aac885dcc89d', class: "duet-label-content" }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label)))));
|
|
16032
16043
|
}
|
|
16033
16044
|
get element() { return getElement(this); }
|
|
16034
16045
|
static get style() { return DuetRadioStyle0; }
|
|
@@ -16179,7 +16190,7 @@ class DuetRadioGroup {
|
|
|
16179
16190
|
* Always the last one in the class.
|
|
16180
16191
|
*/
|
|
16181
16192
|
render() {
|
|
16182
|
-
return (hAsync(Host, { key: '
|
|
16193
|
+
return (hAsync(Host, { key: '3a6b38dcbedc3d7de4f597f08f5a1d2edb58a1d4', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, hAsync("duet-fieldset", { key: 'd0dbe02e0ea371acaa38f790f1d2e3e9dc0b196f', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: 'a34345c14c27c8700ea94229d874ab8e33338529', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '69c039a5f7cc4fcb98c5f7e625326bebbc10f75e', name: "tooltip" }), hAsync("div", { key: '48e785f3dcf8e2ed2fc5b77847cc351dc0d3fcc6', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: '4c2428af487971b847ca3e704a878719629003a4' })))));
|
|
16183
16194
|
}
|
|
16184
16195
|
get element() { return getElement(this); }
|
|
16185
16196
|
static get watchers() { return {
|
|
@@ -16329,13 +16340,13 @@ class DuetRangeSlider {
|
|
|
16329
16340
|
const rangeStyles = {
|
|
16330
16341
|
background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
|
|
16331
16342
|
};
|
|
16332
|
-
return (hAsync(Host, { key: '
|
|
16343
|
+
return (hAsync(Host, { key: '98fe15c2f253a8bee32d5271e6de03605e669c28', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, hAsync("div", { key: 'e2344803fd443a83024cf3fcfe9ed87d952d1038', class: {
|
|
16333
16344
|
"duet-range-container": true,
|
|
16334
16345
|
"duet-label-hidden": this.labelHidden,
|
|
16335
16346
|
"duet-theme-turva": this.theme === "turva",
|
|
16336
16347
|
"duet-ie": isInternetExplorer(),
|
|
16337
16348
|
"duet-range-disabled": this.disabled,
|
|
16338
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
16349
|
+
} }, hAsync(DuetInternalLabel, { key: '0780aee7170b90a56e56e59abe19287e536ed531', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), hAsync("output", { key: 'eef1575763000465607bb91eec29b4491df22660', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), hAsync("input", { key: 'e38f080b37e93b2abc1ce740d413c349ce4c893f', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
|
|
16339
16350
|
}
|
|
16340
16351
|
get element() { return getElement(this); }
|
|
16341
16352
|
static get style() { return DuetRangeSliderStyle0; }
|
|
@@ -16538,10 +16549,10 @@ class DuetRangeStepper {
|
|
|
16538
16549
|
* Always the last one in the class.
|
|
16539
16550
|
*/
|
|
16540
16551
|
render() {
|
|
16541
|
-
return (hAsync("div", { key: '
|
|
16552
|
+
return (hAsync("div", { key: '72ad680e3e9c66bb07767d39809f1c9238e72e57', class: {
|
|
16542
16553
|
"duet-range-stepper": true,
|
|
16543
16554
|
"duet-theme-turva": this.theme === "turva",
|
|
16544
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
16555
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '06a6d22a4872a4f52d52853769e886b5101016a9', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: 'a91caa95ba2262118e2d0a5615da3bbdc3cd456d', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), hAsync("duet-action-button", { key: 'a03a4cdd46c44378b5e544f0a1287320a58cfc58', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
|
|
16545
16556
|
}
|
|
16546
16557
|
get element() { return getElement(this); }
|
|
16547
16558
|
static get watchers() { return {
|
|
@@ -16791,21 +16802,21 @@ class DuetScrollable {
|
|
|
16791
16802
|
* Always the last one in the class.
|
|
16792
16803
|
*/
|
|
16793
16804
|
render() {
|
|
16794
|
-
return (hAsync(Host, { key: '
|
|
16805
|
+
return (hAsync(Host, { key: 'a615541856004f499ebf50d5e5608767efb8b93f', class: {
|
|
16795
16806
|
"duet-theme-turva": this.theme === "turva",
|
|
16796
16807
|
"duet-theme-default": this.theme === "default",
|
|
16797
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
16808
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: 'f94e6cbc5b8e816e690081c52850d86da9e0c7e6', class: {
|
|
16798
16809
|
collapse: true,
|
|
16799
16810
|
hide: !this.needsScrolling && !this.collapsed,
|
|
16800
|
-
} }, hAsync("duet-button", { key: '
|
|
16811
|
+
} }, hAsync("duet-button", { key: '9bb20f2bf9d4cc10917024919804a036d69b28dc', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '02222171b679ea3ee4f6e931a37ba7ffb1670f09', name: "collapse-button-label" })))), hAsync("div", { key: 'bfafba89bd0c00e36d3c71b7aea5a292f073316c', class: {
|
|
16801
16812
|
"duet-scrollable-items": true,
|
|
16802
16813
|
buttons: this.buttons,
|
|
16803
16814
|
center: this.center,
|
|
16804
|
-
} }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), hAsync("div", { key: '
|
|
16815
|
+
} }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), hAsync("div", { key: '8c8b72b33792da063fb60d24522ab10a242744f8', class: {
|
|
16805
16816
|
"duet-scrollable-list": true,
|
|
16806
16817
|
collapsed: this.collapsed,
|
|
16807
16818
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
16808
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
16819
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '80ac0420e2b267216fcddfe290981cfcb4a42efb' })), this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
|
|
16809
16820
|
}
|
|
16810
16821
|
get element() { return getElement(this); }
|
|
16811
16822
|
static get watchers() { return {
|
|
@@ -16850,13 +16861,13 @@ class DuetSectionLayout {
|
|
|
16850
16861
|
* Always the last one in the class.
|
|
16851
16862
|
*/
|
|
16852
16863
|
render() {
|
|
16853
|
-
return (hAsync(Host, { key: '
|
|
16864
|
+
return (hAsync(Host, { key: '883281c4d36620c02a5129bf0869df95cfefb080', class: {
|
|
16854
16865
|
"duet-middle": this.middle,
|
|
16855
16866
|
"duet-ie": isInternetExplorer(),
|
|
16856
|
-
} }, hAsync("div", { key: '
|
|
16867
|
+
} }, hAsync("div", { key: 'ded8633d4a4715dc90e7c5af1fd541a12f2ee2ed', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'd95357d7a48dc127142e992a03093b3c702f48f5', class: {
|
|
16857
16868
|
"duet-layout": true,
|
|
16858
16869
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
16859
|
-
} }, hAsync("section", { key: '
|
|
16870
|
+
} }, hAsync("section", { key: '02b0d5d37ad5d0d54cb35da96240641a8a215104', class: "duet-main" }, hAsync("slot", { key: '451accf2ba4c6147d461b426821cf8dc60276830' }))))));
|
|
16860
16871
|
}
|
|
16861
16872
|
get element() { return getElement(this); }
|
|
16862
16873
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -17025,23 +17036,23 @@ class DuetSelect {
|
|
|
17025
17036
|
*/
|
|
17026
17037
|
render() {
|
|
17027
17038
|
const identifier = this.identifier || this.selectId;
|
|
17028
|
-
return (hAsync(Host, { key: '
|
|
17039
|
+
return (hAsync(Host, { key: '847b57caa876d33226540190655ebad3853321a6', onClick: this.onClick, class: {
|
|
17029
17040
|
"duet-m-0": this.margin === "none",
|
|
17030
17041
|
"duet-expand": this.expand,
|
|
17031
17042
|
[`duet-select-variation-${this.variation}`]: true,
|
|
17032
|
-
} }, hAsync("div", { key: '
|
|
17043
|
+
} }, hAsync("div", { key: 'cd440b3b4732daf0682e132f0d8882749b44fb58', class: {
|
|
17033
17044
|
"duet-select-container": true,
|
|
17034
17045
|
"duet-label-hidden": this.labelHidden,
|
|
17035
17046
|
"duet-theme-turva": this.theme === "turva",
|
|
17036
17047
|
[`duet-select-variation-${this.variation}`]: true,
|
|
17037
17048
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
17038
17049
|
"has-error": !!this.error,
|
|
17039
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
17050
|
+
} }, hAsync(DuetInternalLabel, { key: 'f5a95e470436a18716d2e8776fdc3c797462cc17', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '4596fd07d9e1e2b54c1a1ecd1a4b11d9a252d64b', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '534a7a1d55d25a1bac04d7e875eedea92b750401', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: 'f6209eb669879a3ffd5e3f75c22635a3a43420cf', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'c3fdbdee82e459e1799fd579e9d9ef72e3875afb', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: '15f9255e6167fb72ef530e01b11d220684e46ba8', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), hAsync("select", { key: '548ce61c3912e40c99466af3191224b2d11c1104', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (hAsync("option", { key: 'fce5373b96ac5d37357ddec517c50cac493005e7', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (hAsync("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
17040
17051
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
17041
|
-
}))), hAsync("div", { key: '
|
|
17052
|
+
}))), hAsync("div", { key: '27bcfaaa3cb88cba2bd54a46bad51c2a1a077010', class: {
|
|
17042
17053
|
"duet-select": true,
|
|
17043
17054
|
[`duet-select-variation-${this.variation}`]: true,
|
|
17044
|
-
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: '
|
|
17055
|
+
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: '5ff56760239bbf6df5fd1196c431bb0d2922ce40', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'af31312140ff712064d8549cb23cc6132e72d1cc', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (hAsync("duet-icon", { key: '662ea26357efc0545567b0878932aba619a02e8c', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), hAsync("span", { key: '084a9edb74ffb5de18b3dbb737fd18feb04582ef', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), hAsync("span", { key: '59fda925694a93e39fca62495ba1164a6a046ca4', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '40def81c304d6e95679f9078ebacaee423d2682b' }, this.error)))));
|
|
17045
17056
|
}
|
|
17046
17057
|
get element() { return getElement(this); }
|
|
17047
17058
|
static get watchers() { return {
|
|
@@ -17114,9 +17125,9 @@ class DuetShapedImage {
|
|
|
17114
17125
|
const style = {
|
|
17115
17126
|
"--rotation": `${this.rotation}deg`,
|
|
17116
17127
|
};
|
|
17117
|
-
return (hAsync(Host, { key: '
|
|
17128
|
+
return (hAsync(Host, { key: 'dcaade25a4513e5f2d4d3bd518e2c799003d4275', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '780b2751e70e2ec3ab3d4b10944f35276cbce6f5', class: {
|
|
17118
17129
|
"shaped-image": true,
|
|
17119
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
17130
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '5f69b32a95213f6537bcee749c3dd150aa2d8e16', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: '7e86facd6020a261ed81bd150a1f2d6155c6cef3', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
17120
17131
|
}
|
|
17121
17132
|
static get style() { return DuetShapedImageStyle0; }
|
|
17122
17133
|
static get cmpMeta() { return {
|
|
@@ -17224,12 +17235,12 @@ class DuetShowMore {
|
|
|
17224
17235
|
* Always the last one of the class.
|
|
17225
17236
|
*/
|
|
17226
17237
|
render() {
|
|
17227
|
-
return (hAsync(Host, { key: '
|
|
17238
|
+
return (hAsync(Host, { key: '7aabc68122e39e13570c288807ddf7217bf2c794' }, hAsync("div", { key: 'd6624d52f08b44fd3a8bc120e4b91f27c7780930', class: {
|
|
17228
17239
|
"duet-show-more": true,
|
|
17229
17240
|
"duet-theme-turva": this.theme === "turva",
|
|
17230
17241
|
"duet-m-0": this.margin === "none",
|
|
17231
17242
|
open: this.open,
|
|
17232
|
-
} }, hAsync("div", { key: '
|
|
17243
|
+
} }, hAsync("div", { key: 'ae9e3f907c01acca68e65d494d95d5cb94fc98dc', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: 'b48162785643ad6cf19317034330292fb9b68d35', class: { "slotted-content": true } }, hAsync("slot", { key: 'fbf4b3787e4da0aece2faa1572b17d2f90e5a305' }))), hAsync("duet-button", { key: '607c79dca958f12c36b480232904934bfd75c2b7', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.open, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, hAsync("span", { key: 'fc42b31d2ecdc7f250776565b6dc19fba34d3919' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
17233
17244
|
}
|
|
17234
17245
|
get element() { return getElement(this); }
|
|
17235
17246
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -17716,16 +17727,16 @@ class DuetSlideout {
|
|
|
17716
17727
|
};
|
|
17717
17728
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
17718
17729
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
17719
|
-
return (hAsync(Host, { key: '
|
|
17730
|
+
return (hAsync(Host, { key: '4642a8ace569ca295407eda479135ae7fd5617bf' }, hAsync("div", { key: '7df49b85ec162cd738dca6cfcdac057a87bbdc13', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: '71364dcd7bdac4d224eae40ef7b43ee2571a1adf', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '62eade96c8ad9c494d3843adc75b19b7ad18cada', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
17720
17731
|
dialog: true,
|
|
17721
17732
|
hidden: !this.open,
|
|
17722
17733
|
modal: this.modal,
|
|
17723
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
17734
|
+
}, style: styles }, hAsync(FocusGuard, { key: '2a3b77e3e65a92028c5dc3b787f85165e15eeb79', moveFocusTo: this.closeButton }), hAsync("div", { key: '4b0dc292f4e488e4d0d0499c5c2c5e5cced54d35', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '6eabc63710bcbb2f2673eb2fe25bb5b88b6697bb', class: "top" }, hAsync("button", { key: 'e697b74648bb04e0083b88d3bb8e808de86d7112', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
17724
17735
|
"slideout-close": true,
|
|
17725
17736
|
active: this.open,
|
|
17726
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
17737
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '9d03c80e89da1ef8a573fc482b7cc248e9c777a5', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '807b9077f797cde0ae3d59701d5d9cb5adecf989', class: "sticky-header" }, hAsync("slot", { key: '2f1e747dad6226d8894931fcbfcc1716014e9a7e', name: "sticky-header" }))), hAsync("div", { key: 'b14462c558ad7ec4030c461de80e604a9bd1204a', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
17727
17738
|
items: true,
|
|
17728
|
-
} }, hAsync("slot", { key: '
|
|
17739
|
+
} }, hAsync("slot", { key: 'ee510eec06bfef03ad124b9cd0ea5a26aeaad9cf' })), hAsync(FocusGuard, { key: '64f7a35f2435307ca7572160445c4fad38812c87', moveFocusTo: this.closeButton })))));
|
|
17729
17740
|
}
|
|
17730
17741
|
get element() { return getElement(this); }
|
|
17731
17742
|
static get watchers() { return {
|
|
@@ -17792,7 +17803,7 @@ class DuetSlideoutLang {
|
|
|
17792
17803
|
*/
|
|
17793
17804
|
render() {
|
|
17794
17805
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
17795
|
-
return (hAsync(Host, { key: '
|
|
17806
|
+
return (hAsync(Host, { key: 'ddcf74f6f9956aed294267c44d303dd55fbe3787' }, hAsync("div", { key: 'c2ba37177d4da127cda839a185f10e710fa15b27', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '2bd80d6e4172136199b09a0d253000cee7b32755', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: 'c5cd4fb6164fb66b1f29e54a22f3f5ce9d598313' }))));
|
|
17796
17807
|
}
|
|
17797
17808
|
get element() { return getElement(this); }
|
|
17798
17809
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -17836,12 +17847,12 @@ class DuetSlideoutLink {
|
|
|
17836
17847
|
* Always the last one in the class.
|
|
17837
17848
|
*/
|
|
17838
17849
|
render() {
|
|
17839
|
-
return (hAsync(Host, { key: '
|
|
17850
|
+
return (hAsync(Host, { key: '027e3177eadbb7b1088621004a4f7f68408ac8e2' }, hAsync("a", { key: '3b6ce366fa7b130eaa334549877432208a39f3ae', class: {
|
|
17840
17851
|
"duet-slideout-link": true,
|
|
17841
17852
|
"duet-theme-turva": this.theme === "turva",
|
|
17842
17853
|
active: this.active,
|
|
17843
17854
|
[this.size]: true,
|
|
17844
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
17855
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'bcdbd8ccd3efea6d4c8c5ba4ae777081aab436fb', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: '2105537967051cfce46c9a186cb5f44d874cf93e', class: "label" }, hAsync("span", { key: 'd39b5d6d226c4d63e12c15f3bdc90ff77ec4d403' }, hAsync("slot", { key: '9281d4780b5f92907b6c714c398b1d6878f1ce2e' }), hAsync("slot", { key: '3660468cfff291bab3a352d533e77daf9bff1ed4', name: "description" })), this.caret && (hAsync("duet-icon", { key: 'ba4668517c998df298bd8935d4f25ef7ad4c6970', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
17845
17856
|
}
|
|
17846
17857
|
get element() { return getElement(this); }
|
|
17847
17858
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -18001,23 +18012,23 @@ class DuetSlideoutPanel {
|
|
|
18001
18012
|
};
|
|
18002
18013
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
18003
18014
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
18004
|
-
return (hAsync(Host, { key: '
|
|
18015
|
+
return (hAsync(Host, { key: '3cc575a27526f9eb936cc77fbd5d73fae704a02e' }, hAsync("div", { key: '54f6df02833967cc73e36fea9e3bc054e9b6aa73', class: {
|
|
18005
18016
|
"duet-slideout-panel": true,
|
|
18006
18017
|
"duet-theme-turva": this.theme === "turva",
|
|
18007
18018
|
active: this.open,
|
|
18008
|
-
} }, hAsync("button", { key: '
|
|
18019
|
+
} }, hAsync("button", { key: '2757a9e467ee80835f260ea3631fbe561f2aabf5', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
18009
18020
|
link: true,
|
|
18010
18021
|
active: this.active,
|
|
18011
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
18022
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '227406b6650708fc7fd1904d7c7d528692edaf64', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: '36401c7328497294e9c894e9dd6d27937a51c494', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: '7e06124b0bd84ab528b325885bc3c0babbd08742', class: "duet-slideout-badge" }))), hAsync("span", { key: '9a846cb510d44c0af591554b22f23efab9560448', class: "label" }, hAsync("span", { key: '6307191c9aa066915943fc6111c8c9de795c13cb', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: 'c52bc96f6bd93f8183fd8f05d551218a0f67e637', name: "label" })), hAsync("duet-icon", { key: '74c42ebef00e4feeb6205718db4b7ef1315d3855', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: 'bc171acb5cbbe6c929fdb639dc3aa6bfb11740b1', ref: element => (this.dialog = element), class: {
|
|
18012
18023
|
dialog: true,
|
|
18013
18024
|
hidden: !this.open,
|
|
18014
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
18025
|
+
}, style: styles }, hAsync(FocusGuard, { key: '4db620b5032b9f8b5f37a4ba07ad387fc38b680f', moveFocusTo: this.closeButton }), hAsync("div", { key: '8a4b956558e630cf3ab6b148a94bfbde4300b7ea', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'ddd353e3cf2e9d4d938cd9402e440459a64809af', class: "top" }, hAsync("button", { key: '7fcb43d03e0a15af4a12f67e7b2810efb595d02b', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
18015
18026
|
back: true,
|
|
18016
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
18027
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: '98891c6a2349246b457f003ed501770a2289afe7', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '1b052537ae01f496e1d175c6f99134048278c3fd' }, this.label.innerHTML), hAsync("button", { key: '8b4098001333b24d00d1dde0a39f9b6ee9b065cc', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: 'd0e70007d5554ddb18292fa3d90a136198c89c3a', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'a3abfbd5e6b8616670c4ba95ba76ba89b5d84f70', class: "sticky-header" }, hAsync("slot", { key: '0276df7b3885dfe4b806db392e6f1a2000df5894', name: "sticky-header" }))), hAsync("div", { key: '20894d6bbfece88c8094cef54fede14b97469ead', tabindex: "-1", role: "menu",
|
|
18017
18028
|
//TODO: slideout menu fades out, needs to be instant
|
|
18018
18029
|
id: "menu", "aria-labelledby": "button", class: {
|
|
18019
18030
|
items: true,
|
|
18020
|
-
} }, hAsync("slot", { key: '
|
|
18031
|
+
} }, hAsync("slot", { key: 'e6fa25439fd7062824cc0fae6b4c7cb2e258f089' })), hAsync(FocusGuard, { key: '9cb7008c88d6f03f06a0e027c8fd174277b99fd6', moveFocusTo: this.closeButton })))));
|
|
18021
18032
|
}
|
|
18022
18033
|
get element() { return getElement(this); }
|
|
18023
18034
|
static get watchers() { return {
|
|
@@ -18087,16 +18098,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
18087
18098
|
* Always the last one in the class.
|
|
18088
18099
|
*/
|
|
18089
18100
|
render() {
|
|
18090
|
-
return (hAsync(Host, { key: '
|
|
18101
|
+
return (hAsync(Host, { key: 'd473e124378cf692756294cbc4b63ece1c24fa37' }, hAsync("div", { key: '555568422a4a461d1687f9524152552d06214e81', class: {
|
|
18091
18102
|
"duet-slideout-panel-dropdown": true,
|
|
18092
18103
|
"duet-theme-turva": this.theme === "turva",
|
|
18093
18104
|
active: this.open,
|
|
18094
|
-
} }, hAsync("button", { key: '
|
|
18105
|
+
} }, hAsync("button", { key: '54f92eef148b91fb1649a00e797489545b9c0ae5', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
18095
18106
|
active: this.active,
|
|
18096
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
18107
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '5e2e285e54edbd2b5178e0caf582ad4ae63da2ed', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '55fc2889f31dc259aea19bf6c758dcb38630feed', class: "label" }, hAsync("slot", { key: 'fd41a86f0c71f73e589940ad8910143439f4f739', name: "label" }), hAsync("duet-icon", { key: '35236f2cd06ad8fc37299319e1430bc92059fd12', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: 'd9b4c34b5e9ca0611f1a1eed1dda3fd2ad8627d7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18097
18108
|
items: true,
|
|
18098
18109
|
hidden: !this.open,
|
|
18099
|
-
} }, hAsync("slot", { key: '
|
|
18110
|
+
} }, hAsync("slot", { key: '746111498d9301b53d6a7d835296ab60e149eaae' })))));
|
|
18100
18111
|
}
|
|
18101
18112
|
get element() { return getElement(this); }
|
|
18102
18113
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -18131,7 +18142,7 @@ class DuetSpacer {
|
|
|
18131
18142
|
* Always the last one in the class.
|
|
18132
18143
|
*/
|
|
18133
18144
|
render() {
|
|
18134
|
-
return (hAsync(Host, { key: '
|
|
18145
|
+
return (hAsync(Host, { key: '2aa5669c773f8841ad33637ee24c845c7eeb5dd2', class: {
|
|
18135
18146
|
"duet-spacer": true,
|
|
18136
18147
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
18137
18148
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -18182,11 +18193,11 @@ class DuetSpinner {
|
|
|
18182
18193
|
*/
|
|
18183
18194
|
render() {
|
|
18184
18195
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
18185
|
-
return (hAsync(Host, { key: '
|
|
18196
|
+
return (hAsync(Host, { key: 'f415bd43d421b7106fdbd90bd2c187879ff17c17', class: {
|
|
18186
18197
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
18187
18198
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
18188
18199
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
18189
|
-
} }, hAsync("div", { key: '
|
|
18200
|
+
} }, hAsync("div", { key: '34b4c350a642f331b9776f5ce12e3c7a2990b3d7', class: {
|
|
18190
18201
|
"duet-spinner": true,
|
|
18191
18202
|
[this.size]: true,
|
|
18192
18203
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -18292,13 +18303,13 @@ class DuetStep {
|
|
|
18292
18303
|
* Always the last one in the class.
|
|
18293
18304
|
*/
|
|
18294
18305
|
render() {
|
|
18295
|
-
return (hAsync("div", { key: '
|
|
18306
|
+
return (hAsync("div", { key: 'cf7f017c189308e969ac8fc319fff799b44b675b', class: {
|
|
18296
18307
|
"duet-step": true,
|
|
18297
18308
|
[`is-${this.state}`]: true,
|
|
18298
18309
|
"rounded-top": this.roundedTop,
|
|
18299
18310
|
"rounded-bottom": this.roundedBottom,
|
|
18300
18311
|
"duet-theme-turva": this.theme === "turva",
|
|
18301
|
-
} }, hAsync("div", { key: '
|
|
18312
|
+
} }, hAsync("div", { key: '2742f57e0e278b597d2fb9715b6b85207446064f', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, hAsync("div", { key: 'c32bbaed270ec8ea14228ca59f7077128c952b78', "aria-hidden": "true" }, hAsync("div", { key: 'fee937f7b9f3ef92d303fa0502f29632558c3967', class: "duet-step-counter" }, this.renderStepCounter())), hAsync("duet-spacer", { key: '8fa4deb09aaa709141dcfd6d4b8b2969840fb48d', direction: "horizontal", size: "large", breakpoint: "small" }), hAsync("duet-spacer", { key: 'dadc92ff570d92e7e600918019ab84ea6f22ca36', direction: "horizontal", size: "medium", breakpoint: "x-small" }), hAsync("div", { key: '412ba9538aea65069601a21a229a13e38a959cf1' }, hAsync("duet-heading", { key: 'b85991761212bba3610b566a9cf48b28562859d6', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), hAsync("duet-spacer", { key: '7b28ba235ac2d4ef273bb4825a1bb53e4069150e', direction: "horizontal", size: "large" }), hAsync("div", { key: '74230c5744cf324e8f406a8d0dfadce54f8cf82d', class: "duet-step-heading-slot" }, hAsync("slot", { key: '74ef4c487e447ba8fc2dfa181a27d5bead1f7cd1', name: "heading-content" }))), hAsync("div", { key: 'a4df2c7c64cbb35185b4d7665235a85d1c503ea0', class: "duet-step-content-wrapper" }, hAsync("div", { key: '0a2fbd936f386294c6fe75bbacb3bd2b324a6311', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, hAsync("slot", { key: 'a748fceef07a8ec5cc280d1e7d655b3e9ae14860' })))));
|
|
18302
18313
|
}
|
|
18303
18314
|
get element() { return getElement(this); }
|
|
18304
18315
|
static get style() { return DuetStepStyle0; }
|
|
@@ -18422,7 +18433,7 @@ class DuetStepper {
|
|
|
18422
18433
|
* Always the last one in the class.
|
|
18423
18434
|
*/
|
|
18424
18435
|
render() {
|
|
18425
|
-
return (hAsync(Host, { key: '
|
|
18436
|
+
return (hAsync(Host, { key: '082c93b48c5dfaadde04f9352ef6181ccdb38334', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '703904a5ecf2f0eb09c89c65639ec8ade1f674e6', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: 'aa4c9cec5585ee50da88bf4143ee998bbe98f9db', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: '708b76a314c85e496f66a12f9f578c2f97e8a96b' }))));
|
|
18426
18437
|
}
|
|
18427
18438
|
get element() { return getElement(this); }
|
|
18428
18439
|
static get watchers() { return {
|
|
@@ -18567,19 +18578,19 @@ class DuetSubmenuBar {
|
|
|
18567
18578
|
* Always the last one in the class.
|
|
18568
18579
|
*/
|
|
18569
18580
|
render() {
|
|
18570
|
-
return (hAsync(Host, { key: '
|
|
18581
|
+
return (hAsync(Host, { key: 'ea56c035a544993c18dce5a3164ee203e287352f' }, hAsync("nav", { key: '9410059fc6de0b9ead6a7c387d0412f5a26b70f3', class: {
|
|
18571
18582
|
"duet-submenu-bar": true,
|
|
18572
18583
|
"duet-theme-turva": this.theme === "turva",
|
|
18573
18584
|
hidden: this.hidden,
|
|
18574
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
18585
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '27e0fddeffe5a7c093a5270e350236812c7a9c86', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
18575
18586
|
active: this.open,
|
|
18576
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
18587
|
+
}, onClick: this.onClick }, hAsync("span", { key: 'da29ea7a5ceb616f6e727539e47c3a46b38a83c1', class: "label" }, hAsync("slot", { key: '83fabbf6803d799627cdc4b7b427d07613fc855b', name: "label" }), hAsync("duet-icon", { key: '16eba6cc2f9871260789c21fe184d6846ad7b199', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: '1f722a24bf9a82cc6110a258db43df328947c3a6', class: {
|
|
18577
18588
|
"menu-container": true,
|
|
18578
18589
|
hidden: !this.open,
|
|
18579
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
18590
|
+
}, role: "presentation" }, hAsync("div", { key: 'fc121e02816e700bf9bbb83a21ca202c4356a339', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
18580
18591
|
items: true,
|
|
18581
18592
|
hidden: !this.open,
|
|
18582
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
18593
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '6e43327f6bac2c8614ab0e18160248abc9038523', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '56d8860ecde5b13838f8951f7c3bc71d6f67ea84' }), hAsync("div", { key: '1c57c208d07a9082d2c1f639c7a679a8c8cfa44e', class: "list-padding" }))), hAsync("duet-overlay", { key: 'd6605341c64e6086535892c24201655ba260984e', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
18583
18594
|
}
|
|
18584
18595
|
get element() { return getElement(this); }
|
|
18585
18596
|
static get watchers() { return {
|
|
@@ -18700,18 +18711,18 @@ class DuetSubmenuBarDropdown {
|
|
|
18700
18711
|
* Always the last one in the class.
|
|
18701
18712
|
*/
|
|
18702
18713
|
render() {
|
|
18703
|
-
return (hAsync(Host, { key: '
|
|
18714
|
+
return (hAsync(Host, { key: 'dbe67ca5e8969c25e00b21789ace2b3333fa9f83', role: "listitem" }, hAsync("div", { key: 'af7f49d3f8004673eb2fbc5caacf125644257b1f', class: {
|
|
18704
18715
|
"duet-submenu-bar-dropdown": true,
|
|
18705
18716
|
"duet-theme-turva": this.theme === "turva",
|
|
18706
18717
|
open: this.open,
|
|
18707
18718
|
active: this.active,
|
|
18708
|
-
} }, hAsync("button", { key: '
|
|
18719
|
+
} }, hAsync("button", { key: '6bdb9006795459b7fc8250e7e0b50c4dc3836f8b', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
18709
18720
|
open: this.open,
|
|
18710
18721
|
active: this.active,
|
|
18711
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
18722
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '7351a62029da296d445ae8cca2930853c4dd71ed', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '3e90e7c718f28a7aea7c0593a8316348ae45df42', class: "label" }, hAsync("span", { key: '25d4bd4818e5946b36e5821b6f41beb2bc6b9e90', class: "label-text" }, hAsync("slot", { key: '35c9b86fe5328041cbd228b5b54937dd5ead9682', name: "label" })), hAsync("duet-icon", { key: 'b542830855f09f4386a00623e81188c3847314e8', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '884cca9d45a91703c9d39cdc27e9d7f576fd667f', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18712
18723
|
items: true,
|
|
18713
18724
|
hidden: !this.open,
|
|
18714
|
-
} }, hAsync("slot", { key: '
|
|
18725
|
+
} }, hAsync("slot", { key: 'c670ddeff29a0e408436e7be0f65f37047b6d5b5' })))));
|
|
18715
18726
|
}
|
|
18716
18727
|
get element() { return getElement(this); }
|
|
18717
18728
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -18763,12 +18774,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
18763
18774
|
* Always the last one in the class.
|
|
18764
18775
|
*/
|
|
18765
18776
|
render() {
|
|
18766
|
-
return (hAsync(Host, { key: '
|
|
18777
|
+
return (hAsync(Host, { key: 'd9bf8b959631193d6f3f43b692c9676345ccee13' }, hAsync("a", { key: '7d5b7455b0f524636ab19ce917e4455dc177ce70', class: {
|
|
18767
18778
|
"duet-submenu-bar-dropdown-link": true,
|
|
18768
18779
|
"duet-theme-turva": this.theme === "turva",
|
|
18769
18780
|
highlight: this.highlight,
|
|
18770
18781
|
active: this.active,
|
|
18771
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
18782
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: 'd7c3fd1e9b8a41b7ce6e3cd25080a91b0c7d6016', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '20d44dabb05864b92b0b22738eac84a5abf3704c', class: "label-container" }, hAsync("span", { key: '9315948652add6e10e7da692b3e1a7c5d1951de8', class: "label" }, hAsync("slot", { key: '6a3d5cab2ef53af7702050b635aa8499755ae529' })), this.caret && hAsync("duet-icon", { key: '696c65250b22665f8f3dbf53e48b1fa143017995', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: 'ebbaa8d86e0b2b2316fe79d62a7792db28e1196f', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
18772
18783
|
}
|
|
18773
18784
|
get element() { return getElement(this); }
|
|
18774
18785
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -18842,7 +18853,7 @@ class DuetSubmenuBarItem {
|
|
|
18842
18853
|
render() {
|
|
18843
18854
|
const TagName = this.url ? "a" : "button";
|
|
18844
18855
|
const role = this.url ? "link" : "button";
|
|
18845
|
-
return (hAsync(Host, { key: '
|
|
18856
|
+
return (hAsync(Host, { key: '9b58300e549e07f8d602bacb3f16cd612e84ffbb', role: "listitem" }, hAsync(TagName, { key: '51335abf288a934ee2518e2ca05727cea7833bc7', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '35adf7829385efe26c9412bb25d6d28175a21922', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '0194c9310d97abac5f4a29ead95c975ab00c1faa', class: "label" }, hAsync("span", { key: '8ec232e32e64fba21b3716e8f165cd36199c1673', class: "label-text" }, hAsync("slot", { key: '8945c541d7ede0ff362d9b48f6066f4665aafc9f' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '7f21d4325c823b403a5a4e04b73bb82241362ddb', class: {
|
|
18846
18857
|
"trailing-icon": !!this.trailingIcon,
|
|
18847
18858
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
18848
18859
|
"external-icon": !!this.external,
|
|
@@ -18903,7 +18914,7 @@ class DuetSubmenuBarLink {
|
|
|
18903
18914
|
* Always the last one in the class.
|
|
18904
18915
|
*/
|
|
18905
18916
|
render() {
|
|
18906
|
-
return (hAsync(Host, { key: '
|
|
18917
|
+
return (hAsync(Host, { key: '2d44998a36518c013b11ebacab17b616834ab27c', role: "listitem" }, hAsync("a", { key: '848befb6c1d67cfe2ea4cd7c1431c15e3ebbe484', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (hAsync("duet-icon", { key: '9344282a522be5d1ee0396e8fd93becd53d423a5', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: 'a4a42910fa379e78ebe4711a47ea8338dc5d53b8', class: "label" }, hAsync("slot", { key: 'c2fcb5acc1c26e0fca2a087238f281f1e931dc09' })))));
|
|
18907
18918
|
}
|
|
18908
18919
|
get element() { return getElement(this); }
|
|
18909
18920
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -19013,7 +19024,7 @@ class DuetTab {
|
|
|
19013
19024
|
* Always the last one in the class.
|
|
19014
19025
|
*/
|
|
19015
19026
|
render() {
|
|
19016
|
-
return (hAsync("div", { key: '
|
|
19027
|
+
return (hAsync("div", { key: '59ef255c0b4a74dfce1a9c826163b9d7e6bf2e6a', ref: element => {
|
|
19017
19028
|
if (!this.contentId) {
|
|
19018
19029
|
this.tabpanelElement = element;
|
|
19019
19030
|
}
|
|
@@ -19022,7 +19033,7 @@ class DuetTab {
|
|
|
19022
19033
|
"duet-tab": true,
|
|
19023
19034
|
selected: this.selected,
|
|
19024
19035
|
"has-content-id": !!this.contentId,
|
|
19025
|
-
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '
|
|
19036
|
+
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '578fe62eaf0bc30216b55f128f04463b7fe5eb88' })));
|
|
19026
19037
|
}
|
|
19027
19038
|
get element() { return getElement(this); }
|
|
19028
19039
|
static get watchers() { return {
|
|
@@ -19254,27 +19265,27 @@ class DuetTabGroup {
|
|
|
19254
19265
|
render() {
|
|
19255
19266
|
const variationClass = this.variation === "plain-scrolling" ? "duet-tab-variation-plain" : `duet-tab-variation-${this.variation}`;
|
|
19256
19267
|
const isSwipeScrollable = this.variation === "checked" || this.variation === "plain-scrolling";
|
|
19257
|
-
return (hAsync("div", { key: '
|
|
19268
|
+
return (hAsync("div", { key: 'e0f45c74bfcf70ef285031d2cefe9676f73fa1a1', class: {
|
|
19258
19269
|
"duet-tab-group": true,
|
|
19259
19270
|
"duet-theme-turva": this.theme === "turva",
|
|
19260
19271
|
[variationClass]: true,
|
|
19261
19272
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
19262
19273
|
"duet-tab-group-scrolls": this.scrolls,
|
|
19263
19274
|
"duet-tab-group-collapses": this.collapses,
|
|
19264
|
-
}, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (hAsync("duet-select", { key: '
|
|
19275
|
+
}, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (hAsync("duet-select", { key: '67a5b742600e566ff2217a3145ce9f7ab2a70aa1', value: this.selected.toString(), expand: true, label: this.label, labelHidden: this.labelHidden, theme: this.theme, onDuetChange: event => this.onTabSelect(Number(event.detail.value)), items: this.tabs.map((tab, index) => {
|
|
19265
19276
|
return { label: tab.label, value: index.toString() };
|
|
19266
|
-
}) })), hAsync("div", { key: '
|
|
19277
|
+
}) })), hAsync("div", { key: '85da5c9758a9440e31caac2659f44157e65ad2fa', role: "tablist", class: {
|
|
19267
19278
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
19268
19279
|
"duet-tab-group-tabs": true,
|
|
19269
19280
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
19270
19281
|
"duet-tab-group-collapses": this.collapses,
|
|
19271
19282
|
}, ref: el => {
|
|
19272
19283
|
this.tabsContainer = el;
|
|
19273
|
-
} }, this.renderTab()), hAsync("div", { key: '
|
|
19284
|
+
} }, this.renderTab()), hAsync("div", { key: 'e44faf2ce5439c15cce9afa44b09a96b028fa228', class: {
|
|
19274
19285
|
"duet-tab-group-content": true,
|
|
19275
19286
|
"duet-m-0": this.margin === "none",
|
|
19276
19287
|
"checked-group-content": this.variation === "checked",
|
|
19277
|
-
} }, hAsync("slot", { key: '
|
|
19288
|
+
} }, hAsync("slot", { key: 'ef3760dd2409dbc0e5cc35cb5e5e173a83817667' }))));
|
|
19278
19289
|
}
|
|
19279
19290
|
get element() { return getElement(this); }
|
|
19280
19291
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -19307,8 +19318,501 @@ class DuetTabGroup {
|
|
|
19307
19318
|
}; }
|
|
19308
19319
|
}
|
|
19309
19320
|
|
|
19310
|
-
const duetTableCss = "duet-table{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;font-variant-numeric:tabular-nums}duet-table table,duet-table thead,duet-table tbody,duet-table tfoot,duet-table th,duet-table td,duet-table tr{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}duet-table.duet-m-0{margin:0 !important}duet-table table{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;text-align:left;border-spacing:0;border-collapse:separate}duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead,duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead *{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}duet-table.duet-theme-turva table{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}duet-table td{-webkit-hyphens:auto;hyphens:auto;color:rgb(8, 42, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(98, 121, 138);text-align:left}duet-table.duet-theme-turva th{color:rgb(143, 147, 158)}duet-table tbody th{font-weight:600;color:rgb(8, 42, 77)}duet-table.duet-theme-turva tbody th{color:rgb(23, 28, 58)}duet-table .duet-table-action-row td:last-child{justify-self:end;padding-right:20px !important;white-space:nowrap}duet-table span.duet-table-cell-heading{display:none}.duet-table-flattened table,.duet-table-flattened thead,.duet-table-flattened tbody,.duet-table-flattened tfoot,.duet-table-flattened th,.duet-table-flattened td,.duet-table-flattened tr{display:block}.duet-table-flattened thead tr{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-table-flattened td{line-height:1.25}.duet-table-flattened td:not(:last-child){margin-bottom:16px !important}.duet-table-flattened td span.duet-table-cell-heading{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-table-flattened.duet-theme-turva td span.duet-table-cell-heading{color:rgb(23, 28, 58)}.duet-table-flattened tbody td,.duet-table-flattened tbody th,.duet-table-flattened tfoot td{padding:0 !important;text-align:left !important}.duet-table-flattened tbody th{font-weight:600;line-height:1.25;color:rgb(98, 121, 138);text-align:left}.duet-table-sticky thead th{position:sticky;top:0;background:rgb(255, 255, 255)}.duet-table-striped td,.duet-table-striped th{padding:20px !important}@media (max-width: 35.9375em){.duet-table-striped td,.duet-table-striped th{padding:20px 12px !important}}.duet-table-striped tbody th{background:rgb(255, 255, 255)}.duet-table-striped.duet-table-sticky thead th{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(222, 224, 228)}.duet-table-striped tbody:not(:first-of-type) th{padding-top:40px !important}.duet-table-striped tbody:only-of-type tr:nth-of-type(odd){background:rgba(4, 81, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(4, 81, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tfoot td{border-top:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(222, 224, 228)}.duet-table-striped.duet-table-flattened tbody:not(:first-of-type) th{padding-top:20px !important}.duet-table-striped.duet-table-flattened tr{padding:20px !important}.duet-table-striped.duet-table-flattened tfoot td{border-top:0}.duet-table-striped.duet-table-flattened tfoot tr{border-top:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(222, 224, 228)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(98, 121, 138)}.duet-table-fixed th:first-child,.duet-table-minimal th:first-child,.duet-table-plain th:first-child{padding-left:0 !important}.duet-table-fixed th:last-child,.duet-table-minimal th:last-child,.duet-table-plain th:last-child{padding-right:0 !important}.duet-theme-turva.duet-table-fixed th,.duet-theme-turva.duet-table-minimal th,.duet-theme-turva.duet-table-plain th{border-bottom-color:rgb(113, 118, 132)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(212, 223, 229)}.duet-theme-turva.duet-table-fixed tbody th,.duet-theme-turva.duet-table-minimal tbody th,.duet-theme-turva.duet-table-plain tbody th{border-bottom-color:rgb(222, 224, 228)}.duet-table-fixed td,.duet-table-minimal td,.duet-table-plain td{padding:16px !important}.duet-table-fixed td:first-child,.duet-table-minimal td:first-child,.duet-table-plain td:first-child{padding-left:0 !important}.duet-table-fixed td:last-child,.duet-table-minimal td:last-child,.duet-table-plain td:last-child{padding-right:0 !important}.duet-table-fixed tbody td,.duet-table-minimal tbody td,.duet-table-plain tbody td{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-table-fixed tbody td,.duet-theme-turva.duet-table-minimal tbody td,.duet-theme-turva.duet-table-plain tbody td{border-bottom-color:rgb(222, 224, 228)}.duet-table-flattened.duet-table-fixed tbody:first-of-type th,.duet-table-flattened.duet-table-minimal tbody:first-of-type th,.duet-table-flattened.duet-table-plain tbody:first-of-type th{padding-top:0 !important}.duet-table-flattened.duet-table-fixed td,.duet-table-flattened.duet-table-minimal td,.duet-table-flattened.duet-table-plain td,.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{border-bottom:0}.duet-table-flattened.duet-table-fixed tr,.duet-table-flattened.duet-table-minimal tr,.duet-table-flattened.duet-table-plain tr{padding:20px 0 !important}.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{padding-top:20px !important}.duet-table-flattened.duet-table-fixed tfoot td,.duet-table-flattened.duet-table-minimal tfoot td,.duet-table-flattened.duet-table-plain tfoot td{margin-bottom:4px !important}.duet-table-flattened.duet-table-fixed tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-minimal tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-plain tbody:not(:only-of-type) tr:first-child{border-bottom:0}.duet-table-plain.duet-table-flattened tbody tr{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(222, 224, 228)}.duet-table-minimal tbody tr,.duet-table-minimal tbody tr td{vertical-align:top;border-bottom:0 none}.duet-table-minimal tbody tr:last-of-type,.duet-table-minimal tbody tr:last-of-type td{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-minimal.duet-table-flattened tbody tr,.duet-table-minimal.duet-table-flattened tbody tr td{border-bottom:0 none}.duet-table-minimal.duet-table-flattened tbody tr td[data-heading]::before{display:none}.duet-table-minimal.duet-table-flattened tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-fixed table{table-layout:fixed}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td,.duet-table-fixed tbody tr td:first-child{padding:4px !important;vertical-align:text-bottom;border-bottom:0 none}.duet-table-fixed thead{display:none}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td{border-bottom:0 none}.duet-table-fixed:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-scrollable{position:relative;width:100%;overflow-x:auto;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;background-repeat:no-repeat;background-attachment:local, local, scroll, scroll;background-size:100px 100%, 100px 100%, 12px 100%, 12px 100%}.duet-table-selected-column{background:rgba(0, 119, 179, 0.08)}.duet-theme-turva .duet-table-selected-column{background:rgba(113, 118, 132, 0.08)}.duet-table-sortable tbody tr td:first-child,.duet-table-sortable thead tr th:first-child{padding:20px}.duet-table-sortable:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-actions table{table-layout:auto}.duet-table-actions thead th:last-child{width:1px;white-space:nowrap}.duet-editable-table-table.duet-table-flattened tr{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:10px}.duet-editable-table-table.duet-table-flattened tr.duet-table-action-row td:last-child::before{padding:0;content:\"\"}.duet-editable-table-table.duet-table-flattened td{grid-column:1/2}.duet-editable-table-table.duet-table-flattened td:first-child{grid-row:1;grid-column:1}.duet-editable-table-table.duet-table-flattened td:last-child{grid-row:1;grid-column:2}";
|
|
19311
|
-
|
|
19321
|
+
const styles = `
|
|
19322
|
+
duet-table {
|
|
19323
|
+
box-sizing: border-box;
|
|
19324
|
+
padding: 0;
|
|
19325
|
+
margin: 0;
|
|
19326
|
+
background: transparent;
|
|
19327
|
+
border: 0;
|
|
19328
|
+
-moz-appearance: none;
|
|
19329
|
+
-webkit-appearance: none;
|
|
19330
|
+
appearance: none;
|
|
19331
|
+
margin-bottom: ${spaceLarge} !important;
|
|
19332
|
+
display: block;
|
|
19333
|
+
font-variant-numeric: tabular-nums;
|
|
19334
|
+
|
|
19335
|
+
table,
|
|
19336
|
+
thead,
|
|
19337
|
+
tbody,
|
|
19338
|
+
tfoot,
|
|
19339
|
+
th,
|
|
19340
|
+
td,
|
|
19341
|
+
tr {
|
|
19342
|
+
box-sizing: border-box;
|
|
19343
|
+
padding: 0;
|
|
19344
|
+
margin: 0;
|
|
19345
|
+
background: transparent;
|
|
19346
|
+
border: 0;
|
|
19347
|
+
-moz-appearance: none;
|
|
19348
|
+
-webkit-appearance: none;
|
|
19349
|
+
appearance: none;
|
|
19350
|
+
}
|
|
19351
|
+
|
|
19352
|
+
&.duet-m-0 {
|
|
19353
|
+
margin: 0 !important;
|
|
19354
|
+
}
|
|
19355
|
+
|
|
19356
|
+
table {
|
|
19357
|
+
width: 100%;
|
|
19358
|
+
font-family: ${fontFamilyText};
|
|
19359
|
+
font-size: ${fontSizeMedium};
|
|
19360
|
+
text-align: left;
|
|
19361
|
+
border-spacing: 0;
|
|
19362
|
+
border-collapse: separate;
|
|
19363
|
+
}
|
|
19364
|
+
|
|
19365
|
+
&.duet-table-hide-head-visually.duet-table-hide-head-visually {
|
|
19366
|
+
thead,
|
|
19367
|
+
thead * {
|
|
19368
|
+
position: absolute !important;
|
|
19369
|
+
top: 0;
|
|
19370
|
+
width: 1px !important;
|
|
19371
|
+
height: 1px !important;
|
|
19372
|
+
padding: 0 !important;
|
|
19373
|
+
overflow: hidden !important;
|
|
19374
|
+
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
19375
|
+
border: 0 !important;
|
|
19376
|
+
}
|
|
19377
|
+
}
|
|
19378
|
+
|
|
19379
|
+
&.duet-theme-turva table {
|
|
19380
|
+
font-family: ${fontFamilyTextTurva};
|
|
19381
|
+
}
|
|
19382
|
+
|
|
19383
|
+
td {
|
|
19384
|
+
-webkit-hyphens: auto;
|
|
19385
|
+
hyphens: auto;
|
|
19386
|
+
color: ${colorSecondary};
|
|
19387
|
+
}
|
|
19388
|
+
|
|
19389
|
+
&.duet-theme-turva td {
|
|
19390
|
+
color: ${colorSecondaryTurva};
|
|
19391
|
+
}
|
|
19392
|
+
|
|
19393
|
+
th {
|
|
19394
|
+
font-weight: ${fontWeightSemiBold};
|
|
19395
|
+
line-height: ${lineHeightSmall};
|
|
19396
|
+
color: ${colorGrayDarker};
|
|
19397
|
+
text-align: left;
|
|
19398
|
+
}
|
|
19399
|
+
|
|
19400
|
+
&.duet-theme-turva th {
|
|
19401
|
+
color: ${colorGrayDarkTurva};
|
|
19402
|
+
}
|
|
19403
|
+
|
|
19404
|
+
tbody th {
|
|
19405
|
+
font-weight: ${fontWeightSemiBold};
|
|
19406
|
+
color: ${colorSecondary};
|
|
19407
|
+
}
|
|
19408
|
+
|
|
19409
|
+
&.duet-theme-turva tbody th {
|
|
19410
|
+
color: ${colorSecondaryTurva};
|
|
19411
|
+
}
|
|
19412
|
+
|
|
19413
|
+
& .duet-table-action-row {
|
|
19414
|
+
& td:last-child {
|
|
19415
|
+
justify-self: end;
|
|
19416
|
+
padding-right: ${spaceLarge} !important;
|
|
19417
|
+
white-space: nowrap;
|
|
19418
|
+
}
|
|
19419
|
+
}
|
|
19420
|
+
|
|
19421
|
+
span.duet-table-cell-heading {
|
|
19422
|
+
display: none;
|
|
19423
|
+
}
|
|
19424
|
+
}
|
|
19425
|
+
|
|
19426
|
+
.duet-table-flattened {
|
|
19427
|
+
table,
|
|
19428
|
+
thead,
|
|
19429
|
+
tbody,
|
|
19430
|
+
tfoot,
|
|
19431
|
+
th,
|
|
19432
|
+
td,
|
|
19433
|
+
tr {
|
|
19434
|
+
display: block;
|
|
19435
|
+
}
|
|
19436
|
+
|
|
19437
|
+
thead tr {
|
|
19438
|
+
position: absolute !important;
|
|
19439
|
+
top: 0;
|
|
19440
|
+
width: 1px !important;
|
|
19441
|
+
height: 1px !important;
|
|
19442
|
+
padding: 0 !important;
|
|
19443
|
+
overflow: hidden !important;
|
|
19444
|
+
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
19445
|
+
border: 0 !important;
|
|
19446
|
+
}
|
|
19447
|
+
|
|
19448
|
+
td {
|
|
19449
|
+
line-height: ${lineHeightSmall};
|
|
19450
|
+
|
|
19451
|
+
&:not(:last-child) {
|
|
19452
|
+
margin-bottom: ${spaceMedium};
|
|
19453
|
+
}
|
|
19454
|
+
|
|
19455
|
+
span.duet-table-cell-heading {
|
|
19456
|
+
margin-bottom: ${spaceXxSmall};
|
|
19457
|
+
display: block;
|
|
19458
|
+
font-size: ${fontSizeMedium};
|
|
19459
|
+
font-weight: ${fontWeightSemiBold};
|
|
19460
|
+
color: ${colorSecondary};
|
|
19461
|
+
}
|
|
19462
|
+
}
|
|
19463
|
+
|
|
19464
|
+
&.duet-theme-turva td span.duet-table-cell-heading {
|
|
19465
|
+
color: ${colorSecondaryTurva};
|
|
19466
|
+
}
|
|
19467
|
+
|
|
19468
|
+
tbody td,
|
|
19469
|
+
tbody th,
|
|
19470
|
+
tfoot td {
|
|
19471
|
+
padding: 0 !important;
|
|
19472
|
+
text-align: left !important;
|
|
19473
|
+
}
|
|
19474
|
+
|
|
19475
|
+
tbody th {
|
|
19476
|
+
font-weight: ${fontWeightSemiBold};
|
|
19477
|
+
line-height: ${lineHeightSmall};
|
|
19478
|
+
color: ${colorGrayDarker};
|
|
19479
|
+
text-align: left;
|
|
19480
|
+
}
|
|
19481
|
+
}
|
|
19482
|
+
|
|
19483
|
+
.duet-table-sticky thead th {
|
|
19484
|
+
position: sticky;
|
|
19485
|
+
top: 0;
|
|
19486
|
+
background: ${colorGrayLightest};
|
|
19487
|
+
}
|
|
19488
|
+
|
|
19489
|
+
.duet-table-striped {
|
|
19490
|
+
td,
|
|
19491
|
+
th {
|
|
19492
|
+
padding: ${spaceLarge} !important;
|
|
19493
|
+
@media ${mediaQueryXSmall.replace("'", "").replace("'", "")} {
|
|
19494
|
+
padding: ${spaceLarge} ${spaceSmall} !important;
|
|
19495
|
+
}
|
|
19496
|
+
}
|
|
19497
|
+
|
|
19498
|
+
tbody th {
|
|
19499
|
+
background: ${colorGrayLightest};
|
|
19500
|
+
}
|
|
19501
|
+
|
|
19502
|
+
&.duet-table-sticky {
|
|
19503
|
+
thead th {
|
|
19504
|
+
border-bottom: 1px solid ${colorGrayLight};
|
|
19505
|
+
}
|
|
19506
|
+
|
|
19507
|
+
&.duet-theme-turva thead th {
|
|
19508
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
19509
|
+
}
|
|
19510
|
+
}
|
|
19511
|
+
|
|
19512
|
+
tbody:not(:first-of-type) th {
|
|
19513
|
+
padding-top: calc(${spaceLarge} * 2) !important;
|
|
19514
|
+
}
|
|
19515
|
+
|
|
19516
|
+
tbody:only-of-type tr:nth-of-type(odd) {
|
|
19517
|
+
background: rgba(4, 81, 128, 0.04);
|
|
19518
|
+
}
|
|
19519
|
+
|
|
19520
|
+
&.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {
|
|
19521
|
+
background: rgba(${colorSecondaryTurva}, 0.04);
|
|
19522
|
+
}
|
|
19523
|
+
|
|
19524
|
+
tbody:not(:only-of-type) tr:nth-of-type(even) {
|
|
19525
|
+
background: rgba(4, 81, 128, 0.04);
|
|
19526
|
+
}
|
|
19527
|
+
|
|
19528
|
+
&.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {
|
|
19529
|
+
background: rgba(${colorSecondaryTurva}, 0.04);
|
|
19530
|
+
}
|
|
19531
|
+
|
|
19532
|
+
tfoot td {
|
|
19533
|
+
border-top: 1px solid ${colorGrayLight};
|
|
19534
|
+
}
|
|
19535
|
+
|
|
19536
|
+
&.duet-theme-turva tfoot td {
|
|
19537
|
+
border-top-color: ${colorGrayLightTurva};
|
|
19538
|
+
}
|
|
19539
|
+
|
|
19540
|
+
&.duet-table-flattened {
|
|
19541
|
+
tbody:not(:first-of-type) th {
|
|
19542
|
+
padding-top: ${spaceLarge} !important;
|
|
19543
|
+
}
|
|
19544
|
+
|
|
19545
|
+
tr {
|
|
19546
|
+
padding: ${spaceLarge} !important;
|
|
19547
|
+
}
|
|
19548
|
+
|
|
19549
|
+
tfoot {
|
|
19550
|
+
td {
|
|
19551
|
+
border-top: 0;
|
|
19552
|
+
}
|
|
19553
|
+
|
|
19554
|
+
tr {
|
|
19555
|
+
border-top: 1px solid ${colorGrayLight};
|
|
19556
|
+
}
|
|
19557
|
+
}
|
|
19558
|
+
|
|
19559
|
+
&.duet-theme-turva tfoot tr {
|
|
19560
|
+
border-top-color: ${colorGrayLightTurva};
|
|
19561
|
+
}
|
|
19562
|
+
}
|
|
19563
|
+
}
|
|
19564
|
+
|
|
19565
|
+
.duet-table-plain, .duet-table-fixed, .duet-table-minimal {
|
|
19566
|
+
th {
|
|
19567
|
+
padding: ${spaceMedium} !important;
|
|
19568
|
+
border-bottom: 1px solid ${colorGrayDarker};
|
|
19569
|
+
|
|
19570
|
+
&:first-child {
|
|
19571
|
+
padding-left: 0 !important;
|
|
19572
|
+
}
|
|
19573
|
+
|
|
19574
|
+
&:last-child {
|
|
19575
|
+
padding-right: 0 !important;
|
|
19576
|
+
}
|
|
19577
|
+
}
|
|
19578
|
+
|
|
19579
|
+
&.duet-theme-turva th {
|
|
19580
|
+
border-bottom-color: ${colorGrayDarkerTurva};
|
|
19581
|
+
}
|
|
19582
|
+
|
|
19583
|
+
tbody th {
|
|
19584
|
+
padding-top: calc(${spaceLarge} * 2) !important;
|
|
19585
|
+
border-bottom-color: ${colorGrayLight};
|
|
19586
|
+
}
|
|
19587
|
+
|
|
19588
|
+
&.duet-theme-turva tbody th {
|
|
19589
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
19590
|
+
}
|
|
19591
|
+
|
|
19592
|
+
td {
|
|
19593
|
+
padding: ${spaceMedium} !important;
|
|
19594
|
+
|
|
19595
|
+
&:first-child {
|
|
19596
|
+
padding-left: 0 !important;
|
|
19597
|
+
}
|
|
19598
|
+
|
|
19599
|
+
&:last-child {
|
|
19600
|
+
padding-right: 0 !important;
|
|
19601
|
+
}
|
|
19602
|
+
}
|
|
19603
|
+
|
|
19604
|
+
tbody td {
|
|
19605
|
+
border-bottom: 1px solid ${colorGrayLight};
|
|
19606
|
+
}
|
|
19607
|
+
|
|
19608
|
+
&.duet-theme-turva tbody td {
|
|
19609
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
19610
|
+
}
|
|
19611
|
+
|
|
19612
|
+
&.duet-table-flattened {
|
|
19613
|
+
tbody:first-of-type th {
|
|
19614
|
+
padding-top: 0 !important;
|
|
19615
|
+
}
|
|
19616
|
+
|
|
19617
|
+
td,
|
|
19618
|
+
tbody th {
|
|
19619
|
+
border-bottom: 0;
|
|
19620
|
+
}
|
|
19621
|
+
|
|
19622
|
+
tr {
|
|
19623
|
+
padding: ${spaceLarge} 0 !important;
|
|
19624
|
+
}
|
|
19625
|
+
|
|
19626
|
+
tbody th {
|
|
19627
|
+
padding-top: ${spaceLarge} !important;
|
|
19628
|
+
}
|
|
19629
|
+
|
|
19630
|
+
tfoot td {
|
|
19631
|
+
margin-bottom: ${spaceXxSmall} !important;
|
|
19632
|
+
}
|
|
19633
|
+
|
|
19634
|
+
tbody:not(:only-of-type) tr:first-child {
|
|
19635
|
+
border-bottom: 0;
|
|
19636
|
+
}
|
|
19637
|
+
}
|
|
19638
|
+
}
|
|
19639
|
+
|
|
19640
|
+
.duet-table-plain {
|
|
19641
|
+
|
|
19642
|
+
&.duet-table-flattened {
|
|
19643
|
+
tbody tr {
|
|
19644
|
+
border-bottom: 1px solid ${colorGrayLight};
|
|
19645
|
+
}
|
|
19646
|
+
|
|
19647
|
+
&.duet-theme-turva tbody tr {
|
|
19648
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
19649
|
+
}
|
|
19650
|
+
}
|
|
19651
|
+
}
|
|
19652
|
+
|
|
19653
|
+
.duet-table-minimal {
|
|
19654
|
+
|
|
19655
|
+
tbody tr,
|
|
19656
|
+
tbody tr td {
|
|
19657
|
+
vertical-align: top;
|
|
19658
|
+
border-bottom: 0 none;
|
|
19659
|
+
}
|
|
19660
|
+
|
|
19661
|
+
tbody tr:last-of-type,
|
|
19662
|
+
tbody tr:last-of-type td {
|
|
19663
|
+
border-bottom: 1px solid ${colorGrayLight};
|
|
19664
|
+
}
|
|
19665
|
+
|
|
19666
|
+
&.duet-table-flattened {
|
|
19667
|
+
tbody tr,
|
|
19668
|
+
tbody tr td {
|
|
19669
|
+
border-bottom: 0 none;
|
|
19670
|
+
}
|
|
19671
|
+
|
|
19672
|
+
tbody tr td[data-heading]::before {
|
|
19673
|
+
display: none;
|
|
19674
|
+
}
|
|
19675
|
+
|
|
19676
|
+
tfoot {
|
|
19677
|
+
border-top: 1px solid ${colorGrayLight};
|
|
19678
|
+
}
|
|
19679
|
+
|
|
19680
|
+
&.duet-theme-turva tfoot {
|
|
19681
|
+
border-top-color: ${colorGrayLightTurva};
|
|
19682
|
+
}
|
|
19683
|
+
}
|
|
19684
|
+
}
|
|
19685
|
+
|
|
19686
|
+
.duet-table-fixed {
|
|
19687
|
+
|
|
19688
|
+
table {
|
|
19689
|
+
table-layout: fixed;
|
|
19690
|
+
}
|
|
19691
|
+
|
|
19692
|
+
tbody tr,
|
|
19693
|
+
tbody tr td,
|
|
19694
|
+
tbody tr td:first-child {
|
|
19695
|
+
padding: 4px !important;
|
|
19696
|
+
vertical-align: text-bottom;
|
|
19697
|
+
border-bottom: 0 none;
|
|
19698
|
+
}
|
|
19699
|
+
|
|
19700
|
+
thead {
|
|
19701
|
+
display: none;
|
|
19702
|
+
}
|
|
19703
|
+
|
|
19704
|
+
tbody tr,
|
|
19705
|
+
tbody tr td {
|
|
19706
|
+
border-bottom: 0 none;
|
|
19707
|
+
}
|
|
19708
|
+
|
|
19709
|
+
&:not(.duet-table-flattened) {
|
|
19710
|
+
tfoot {
|
|
19711
|
+
border-top: 1px solid ${colorGrayLight};
|
|
19712
|
+
}
|
|
19713
|
+
|
|
19714
|
+
&.duet-theme-turva tfoot {
|
|
19715
|
+
border-top-color: ${colorGrayLightTurva};
|
|
19716
|
+
}
|
|
19717
|
+
}
|
|
19718
|
+
}
|
|
19719
|
+
.duet-table-scrollable {
|
|
19720
|
+
position: relative;
|
|
19721
|
+
width: 100%;
|
|
19722
|
+
overflow-x: auto;
|
|
19723
|
+
background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;
|
|
19724
|
+
background-repeat: no-repeat;
|
|
19725
|
+
background-attachment: local, local, scroll, scroll;
|
|
19726
|
+
background-size: 100px 100%, 100px 100%, 12px 100%, 12px 100%;
|
|
19727
|
+
}
|
|
19728
|
+
|
|
19729
|
+
.duet-table-selected-column {
|
|
19730
|
+
background: rgba(${colorPrimary}, 0.08);
|
|
19731
|
+
|
|
19732
|
+
.duet-theme-turva & {
|
|
19733
|
+
background: rgba(${colorGrayDarkerTurva}, 0.08);
|
|
19734
|
+
}
|
|
19735
|
+
}
|
|
19736
|
+
|
|
19737
|
+
.duet-table-sortable {
|
|
19738
|
+
tbody tr td:first-child,
|
|
19739
|
+
thead tr th:first-child {
|
|
19740
|
+
padding: ${spaceLarge};
|
|
19741
|
+
}
|
|
19742
|
+
|
|
19743
|
+
&:not(.duet-table-flattened) {
|
|
19744
|
+
tfoot {
|
|
19745
|
+
border-top: 1px solid ${colorGrayLight};
|
|
19746
|
+
}
|
|
19747
|
+
|
|
19748
|
+
&.duet-theme-turva tfoot {
|
|
19749
|
+
border-top-color: ${colorGrayLightTurva};
|
|
19750
|
+
}
|
|
19751
|
+
}
|
|
19752
|
+
}
|
|
19753
|
+
|
|
19754
|
+
|
|
19755
|
+
.duet-table-actions {
|
|
19756
|
+
table {
|
|
19757
|
+
table-layout: auto;
|
|
19758
|
+
}
|
|
19759
|
+
|
|
19760
|
+
thead {
|
|
19761
|
+
& th:last-child {
|
|
19762
|
+
width: 1px;
|
|
19763
|
+
white-space: nowrap;
|
|
19764
|
+
}
|
|
19765
|
+
}
|
|
19766
|
+
}
|
|
19767
|
+
|
|
19768
|
+
.duet-editable-table-table.duet-table-flattened {
|
|
19769
|
+
tr {
|
|
19770
|
+
display: grid;
|
|
19771
|
+
grid-template-columns: repeat(2, 1fr);
|
|
19772
|
+
grid-auto-rows: auto;
|
|
19773
|
+
gap: 10px;
|
|
19774
|
+
|
|
19775
|
+
&.duet-table-action-row td:last-child::before {
|
|
19776
|
+
padding: 0;
|
|
19777
|
+
content: "";
|
|
19778
|
+
}
|
|
19779
|
+
}
|
|
19780
|
+
|
|
19781
|
+
td {
|
|
19782
|
+
grid-column: 1 / 2;
|
|
19783
|
+
|
|
19784
|
+
&:first-child {
|
|
19785
|
+
grid-row: 1;
|
|
19786
|
+
grid-column: 1;
|
|
19787
|
+
}
|
|
19788
|
+
|
|
19789
|
+
&:last-child {
|
|
19790
|
+
grid-row: 1;
|
|
19791
|
+
grid-column: 2;
|
|
19792
|
+
}
|
|
19793
|
+
}
|
|
19794
|
+
}
|
|
19795
|
+
`.replace(/[\n\r\t]/gm, "");
|
|
19796
|
+
function createStyles(element) {
|
|
19797
|
+
const rootNode = element.getRootNode();
|
|
19798
|
+
const isInShadowRoot = rootNode instanceof ShadowRoot;
|
|
19799
|
+
if (isInShadowRoot) {
|
|
19800
|
+
const sheet = new CSSStyleSheet();
|
|
19801
|
+
sheet.replace(styles).then(() => {
|
|
19802
|
+
rootNode.adoptedStyleSheets.push(sheet);
|
|
19803
|
+
});
|
|
19804
|
+
}
|
|
19805
|
+
else {
|
|
19806
|
+
const previousStyleElement = document.querySelector("style#duet-table-styles");
|
|
19807
|
+
if (previousStyleElement) {
|
|
19808
|
+
return;
|
|
19809
|
+
}
|
|
19810
|
+
const styleElement = document.createElement("style");
|
|
19811
|
+
styleElement.id = "duet-table-styles";
|
|
19812
|
+
styleElement.innerHTML = styles;
|
|
19813
|
+
document.head.append(styleElement);
|
|
19814
|
+
}
|
|
19815
|
+
}
|
|
19312
19816
|
|
|
19313
19817
|
const stickyTopValues = {
|
|
19314
19818
|
none: 0,
|
|
@@ -19343,6 +19847,7 @@ class DuetTable {
|
|
|
19343
19847
|
}
|
|
19344
19848
|
}
|
|
19345
19849
|
connectedCallback() {
|
|
19850
|
+
createStyles(this.element);
|
|
19346
19851
|
{
|
|
19347
19852
|
return;
|
|
19348
19853
|
}
|
|
@@ -19378,7 +19883,7 @@ class DuetTable {
|
|
|
19378
19883
|
}
|
|
19379
19884
|
}
|
|
19380
19885
|
render() {
|
|
19381
|
-
return (hAsync(Host, { key: '
|
|
19886
|
+
return (hAsync(Host, { key: 'a02e59e614dfac870270c7e3d74e04fb2802c527', class: {
|
|
19382
19887
|
[`duet-table-${this.variation}`]: true,
|
|
19383
19888
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
19384
19889
|
// sticky only valid when in regular table layout
|
|
@@ -19387,15 +19892,14 @@ class DuetTable {
|
|
|
19387
19892
|
"duet-m-0": this.margin === "none",
|
|
19388
19893
|
"duet-theme-turva": this.theme === "turva",
|
|
19389
19894
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
19390
|
-
} }, hAsync("slot", { key: '
|
|
19895
|
+
} }, hAsync("slot", { key: 'd3938a251798e10cd525715687c827fd449272cc' })));
|
|
19391
19896
|
}
|
|
19392
19897
|
get element() { return getElement(this); }
|
|
19393
19898
|
static get watchers() { return {
|
|
19394
19899
|
"language": ["watchLanguageStateHandler"]
|
|
19395
19900
|
}; }
|
|
19396
|
-
static get style() { return DuetTableStyle0; }
|
|
19397
19901
|
static get cmpMeta() { return {
|
|
19398
|
-
"$flags$":
|
|
19902
|
+
"$flags$": 9,
|
|
19399
19903
|
"$tagName$": "duet-table",
|
|
19400
19904
|
"$members$": {
|
|
19401
19905
|
"theme": [1025],
|
|
@@ -19581,17 +20085,17 @@ class DuetTextarea {
|
|
|
19581
20085
|
*/
|
|
19582
20086
|
render() {
|
|
19583
20087
|
const identifier = this.identifier || this.textareaId;
|
|
19584
|
-
return (hAsync(Host, { key: '
|
|
20088
|
+
return (hAsync(Host, { key: '49e8e10db6bb3a82dba74429a4ef16fd0f1adca5', class: {
|
|
19585
20089
|
"duet-m-0": this.margin === "none",
|
|
19586
20090
|
"duet-has-counter": this.counter && !this.error,
|
|
19587
20091
|
"duet-expand": this.expand,
|
|
19588
|
-
} }, hAsync("div", { key: '
|
|
20092
|
+
} }, hAsync("div", { key: '3ebe6d991a459d25fcb624c6be6d7287cd6f2856', class: {
|
|
19589
20093
|
"duet-textarea-container": true,
|
|
19590
20094
|
"duet-theme-turva": this.theme === "turva",
|
|
19591
20095
|
"duet-label-hidden": this.labelHidden,
|
|
19592
20096
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
19593
20097
|
"has-error": !!this.error,
|
|
19594
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
20098
|
+
} }, hAsync(DuetInternalLabel, { key: '431f2df70846aae2a6d04f75e66c0ae702f77bb2', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '3c8ee3d71cbefc2d3859d5c78a09357599fa3d93', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: 'ecbbd7b2de0465087b6559c8941e2273e5d6e25a', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: 'bbfa15caf320dfda6ae6d48b0c9c6fe0fe25e284', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { key: 'c91f39fb9542a81ed961971d304517124a7046ae', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: '5f550265ff6c886f752c33ca662d56890d9f21a8', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { key: '0b24c58e21a7b62f658e573f13e44d68d5639df0', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), hAsync("duet-grid", { key: '8b7934cf5d66a8dd93054007879d3755f24edce4', alignment: "stretch" }, hAsync("duet-grid-item", { key: '04e9818c668a06504b70dd73a925fdfd2734eee7', margin: "none", fill: true }, hAsync("div", { key: '6fe4e85fb3d4935cc1374c4027a73e76bb499604', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'ee5eb2a2149271a7644588aa8e36c4046c7fa59e' }, this.error))), hAsync("duet-grid-item", { key: '47937bb1385e1385d5445e978714896dadd5b320', margin: "none", class: "duet-character-count-caption" }, this.counter && (hAsync(CharacterCount, { key: 'd681d37404d792fc9b1e379b6c84cb21c6f23190', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (hAsync("duet-visually-hidden", { key: 'e044e35903993d4f9ac1c589bfb148eb02db83f1', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
19595
20099
|
this.hiddenCounterLabel = el;
|
|
19596
20100
|
} })))));
|
|
19597
20101
|
}
|
|
@@ -19723,12 +20227,12 @@ class DuetToggle {
|
|
|
19723
20227
|
*/
|
|
19724
20228
|
render() {
|
|
19725
20229
|
const identifier = this.identifier || this.toggleId;
|
|
19726
|
-
return (hAsync(Host, { key: '
|
|
20230
|
+
return (hAsync(Host, { key: '694e8b1cb37f0b0b1842ff3d6c185029579e0b1f', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '167e4372a5554dce04af310a69ed4c4e0c6ee3ed', class: {
|
|
19727
20231
|
"duet-toggle": true,
|
|
19728
20232
|
"duet-theme-turva": this.theme === "turva",
|
|
19729
20233
|
"duet-side-label": this.labelPosition !== "top",
|
|
19730
20234
|
"duet-reverse-label": this.labelPosition === "right",
|
|
19731
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
20235
|
+
} }, hAsync(DuetInternalLabel, { key: '125d2ac85be7fc1097655a5d14257c480861b7d4', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), hAsync("label", { key: '8f91d032e9063ff55aaf2c0058d2e5d401ad8724', class: "duet-switch" }, hAsync("input", { key: 'c9bc713caaf82122725cb37f320f3318ce102fd8', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), hAsync("div", { key: '01ff73ea8682b434fa35435c3e6ceb1f0ddb650d', class: "duet-slider" })))));
|
|
19732
20236
|
}
|
|
19733
20237
|
get element() { return getElement(this); }
|
|
19734
20238
|
static get watchers() { return {
|
|
@@ -19799,11 +20303,11 @@ class DuetToolbar {
|
|
|
19799
20303
|
: this.variation === "secondary"
|
|
19800
20304
|
? "secondary"
|
|
19801
20305
|
: "default";
|
|
19802
|
-
return (hAsync(Host, { key: '
|
|
20306
|
+
return (hAsync(Host, { key: '188a69397278acb8403cb0798a75fbc9d80a0d45' }, hAsync("nav", { key: 'e215710483f2e92e44b12755d131bd1b7c3503fe', class: {
|
|
19803
20307
|
"duet-toolbar": true,
|
|
19804
20308
|
"duet-theme-turva": this.theme === "turva",
|
|
19805
20309
|
[variation]: true,
|
|
19806
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
20310
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'eacf66f064b8f43f140fb37852432c08d2bc4cde', class: "container" }, hAsync("div", { key: 'fc3781dbe2dda46e2452d996dcabf0fc29f07695', class: "list", role: "list" }, hAsync("slot", { key: '291e04fd4f9b9aa3bc0a63577593825bcc51a94d', name: "left" })), hAsync("div", { key: '3f9cfd1df02a12b5186353c61bb14b587308f1d4', class: "list", role: "list" }, hAsync("slot", { key: '7ab7c8a0f368b4d569370887ca4b5aefa2724893', name: "right" }))))));
|
|
19807
20311
|
}
|
|
19808
20312
|
get element() { return getElement(this); }
|
|
19809
20313
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -19871,18 +20375,18 @@ class DuetToolbarDropdown {
|
|
|
19871
20375
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
19872
20376
|
}
|
|
19873
20377
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
19874
|
-
return (hAsync(Host, { key: '
|
|
20378
|
+
return (hAsync(Host, { key: 'b9c82af8341d828827b7c5536dda939aca2f2cda', role: "listitem" }, hAsync("div", { key: 'a8d047838de2e4b01362bf0cd8e7c1ba25490d23', class: {
|
|
19875
20379
|
"duet-toolbar-dropdown": true,
|
|
19876
20380
|
"duet-theme-turva": this.theme === "turva",
|
|
19877
20381
|
[itemsAlign]: true,
|
|
19878
20382
|
[variation]: true,
|
|
19879
|
-
} }, hAsync("button", { key: '
|
|
20383
|
+
} }, hAsync("button", { key: '02b9012547af6361406a20419a042e19317e5cb4', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
19880
20384
|
active: this.active,
|
|
19881
20385
|
open: this.open,
|
|
19882
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
20386
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'b6ebb6cb14ebcb9d6d9763c915dcb4b0299c842d', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: 'c12058a53fa6dd527225b99c19afe407728915b5', class: "label" }, hAsync("slot", { key: '32968bac767897e9da6913bd81eabcc7db113006', name: "label" }), hAsync("duet-icon", { key: '6f02485c14f602b5f9147de5d85a10296341d5bf', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '69af428a1a3159f77134ec15939af57d8b2a5ee0', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
19883
20387
|
items: true,
|
|
19884
20388
|
hidden: !this.open,
|
|
19885
|
-
} }, hAsync("slot", { key: '
|
|
20389
|
+
} }, hAsync("slot", { key: '80bd5bf933f8fe6af768ee625f4fcaea1bd961b0' })))));
|
|
19886
20390
|
}
|
|
19887
20391
|
get element() { return getElement(this); }
|
|
19888
20392
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -19935,11 +20439,11 @@ class DuetToolbarDropdownLink {
|
|
|
19935
20439
|
* Always the last one in the class.
|
|
19936
20440
|
*/
|
|
19937
20441
|
render() {
|
|
19938
|
-
return (hAsync(Host, { key: '
|
|
20442
|
+
return (hAsync(Host, { key: 'e6284cb0d289f8b64e26d5588c12aac7d490b170' }, hAsync("a", { key: '56812f3a45834d09c37c304491daa0a7b8573c8e', class: {
|
|
19939
20443
|
"duet-toolbar-dropdown-link": true,
|
|
19940
20444
|
"duet-theme-turva": this.theme === "turva",
|
|
19941
20445
|
active: this.active,
|
|
19942
|
-
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
20446
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '3a1f39a9f5c3fdfba1b4849b289b874ee6d0d3bf', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: 'ad7c40813561cb6d3c215b0986a25f0aeadac435', class: "label" }, hAsync("slot", { key: 'ee1ffcf539b6fc36dab482151cbea393d7582ef0' })), this.active && (hAsync("duet-icon", { key: 'b95754e56d673cd0330bc41aefd6a6a48e25cff6', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
19943
20447
|
}
|
|
19944
20448
|
get element() { return getElement(this); }
|
|
19945
20449
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -20014,17 +20518,17 @@ class DuetToolbarItem {
|
|
|
20014
20518
|
: this.variation === "secondary"
|
|
20015
20519
|
? "secondary"
|
|
20016
20520
|
: "default";
|
|
20017
|
-
return (hAsync(Host, { key: '
|
|
20521
|
+
return (hAsync(Host, { key: '5c9c5d91e896d720dafdbdd0a087ecbf2fed62a1', role: "listitem" }, hAsync(TagName, { key: '9cd2ac354b443cb850cdc9a3dab0798927db4b90', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
20018
20522
|
"duet-toolbar-item": true,
|
|
20019
20523
|
"duet-theme-turva": this.theme === "turva",
|
|
20020
20524
|
active: this.active,
|
|
20021
20525
|
[variation]: true,
|
|
20022
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: '
|
|
20526
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: '6b275748935ac11b86a4abb677debff450804ecf', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '6076231664a2a10b0d78400436f506ba46beacfd', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: '56380ea981d2c92215213646d3e16ab0e1af9f3e', class: "duet-toolbar-badge" }))), hAsync("slot", { key: '464fb2cde04cf2e57bd136bdc4ea15a84117b478' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '9e6f3430c39e7c426de9bc8ebe4e5229bc2c474d', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '3a5b1dfffd22b2a06c25f06a8665f1458e881d63', class: {
|
|
20023
20527
|
"trailing-icon": !!this.trailingIcon,
|
|
20024
20528
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
20025
20529
|
"external-icon": !!(this.url && this.external),
|
|
20026
20530
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
20027
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: '
|
|
20531
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: 'adb45d78113ceec08f8577d445b43145506f9334', class: "duet-toolbar-badge" }))))));
|
|
20028
20532
|
}
|
|
20029
20533
|
get element() { return getElement(this); }
|
|
20030
20534
|
static get style() { return DuetToolbarItemStyle0; }
|
|
@@ -20078,12 +20582,12 @@ class DuetToolbarLink {
|
|
|
20078
20582
|
*/
|
|
20079
20583
|
render() {
|
|
20080
20584
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
20081
|
-
return (hAsync(Host, { key: '
|
|
20585
|
+
return (hAsync(Host, { key: 'fc85b821b21b1c14c76dc287a8cf4c2ec2eef5f4', role: "listitem" }, hAsync("a", { key: '1d04a6e6b8f053d336f7b1e64bb43b1f3af5ca72', class: {
|
|
20082
20586
|
"duet-toolbar-link": true,
|
|
20083
20587
|
"duet-theme-turva": this.theme === "turva",
|
|
20084
20588
|
active: this.active,
|
|
20085
20589
|
[variation]: true,
|
|
20086
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
20590
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '12a6f9ab1d2acfb541abc22579c85304d5e52c3b', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: 'bc2beb7e22a6152835e1d475d8a888b3fbe3b37b' }))));
|
|
20087
20591
|
}
|
|
20088
20592
|
get element() { return getElement(this); }
|
|
20089
20593
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -20355,12 +20859,12 @@ class DuetTooltipButton {
|
|
|
20355
20859
|
* Always the last one in the class.
|
|
20356
20860
|
*/
|
|
20357
20861
|
render() {
|
|
20358
|
-
return (hAsync(Host, { key: '
|
|
20862
|
+
return (hAsync(Host, { key: 'ae2e6b2178ee576213dd23b3454d9301c7d76445' }, hAsync("button", { key: '828b657596897f539bcb09e9c61f8351a105dbf3', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
20359
20863
|
"duet-tooltip-button": true,
|
|
20360
20864
|
"duet-tooltip-button-has-label": !!this.label,
|
|
20361
20865
|
"duet-theme-turva": this.theme === "turva",
|
|
20362
20866
|
"duet-tooltip-button-negative": this.negative,
|
|
20363
|
-
} }, hAsync("svg", { key: '
|
|
20867
|
+
} }, hAsync("svg", { key: 'f1910fbcf2abe0cd566aafc35bff9aafafba261c', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'cb30d10b660bb70e460cc38411be2085d25e40f5', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), hAsync("circle", { key: '0aa8e5f682f4d4bbfde4b77ef9a1db672cabb281', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: 'c35b7243eb4c68c3668ecfaa0c90fb2672b7d25e', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (hAsync("span", { class: "duet-tooltip-label" }, this.label)) : (hAsync("duet-visually-hidden", null, this.accessibleLabel)))));
|
|
20364
20868
|
}
|
|
20365
20869
|
get element() { return getElement(this); }
|
|
20366
20870
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -20428,11 +20932,11 @@ class DuetTooltipPopup {
|
|
|
20428
20932
|
this.contentEl.focus();
|
|
20429
20933
|
}
|
|
20430
20934
|
render() {
|
|
20431
|
-
return (hAsync(Host, { key: '
|
|
20935
|
+
return (hAsync(Host, { key: '964556bf2968cb31ee22add9a0e5f776b8bf6d97' }, hAsync("div", { key: '82334ed0e1c500f24b71337475a2d54236f3e87a', class: {
|
|
20432
20936
|
"duet-tooltip": true,
|
|
20433
20937
|
"duet-theme-turva": this.theme === "turva",
|
|
20434
20938
|
"duet-tooltip-active": this.active === true,
|
|
20435
|
-
} }, hAsync(FocusGuard, { key: '
|
|
20939
|
+
} }, hAsync(FocusGuard, { key: '42360ef43ddb6feb72e5fe4cc4133ab0338946a1', moveFocusTo: this.buttonEl }), hAsync("div", { key: 'f72ad11e31a3e94c9e605cb08b65f93e7718ddfd', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '3259ef9c053e2db1b0bad6cc6dc0f444081163d9' })), hAsync("div", { key: 'e278204fb9d9cfd336fe51a7b3902a8193b27191', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '292a12a67948c7186631bc1bb17a4897ba17f2f0', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: 'e624c12dff7a645bbb09fc938ae55366afdea858', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '6913f2962c93f355f3336636b1b2b806cd09561a', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: '1a4ffc8085ae871cfa321a0aef3b4c88354fe077' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '9db665a257c4fdd8152612ddc981e14d3534debd', moveFocusTo: this.contentEl }))));
|
|
20436
20940
|
}
|
|
20437
20941
|
get element() { return getElement(this); }
|
|
20438
20942
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -20540,14 +21044,14 @@ class DuetTray {
|
|
|
20540
21044
|
* Always the last one in the class.
|
|
20541
21045
|
*/
|
|
20542
21046
|
render() {
|
|
20543
|
-
return (hAsync("div", { key: '
|
|
21047
|
+
return (hAsync("div", { key: 'e3792fad133de97e663da30b97f7f1b2178d37ef', class: {
|
|
20544
21048
|
"duet-tray": true,
|
|
20545
21049
|
"duet-tray-is-active": this.active,
|
|
20546
21050
|
"duet-tray-is-hidden": this.hiddenState,
|
|
20547
21051
|
"duet-tray-is-responsive": this.responsive,
|
|
20548
21052
|
"duet-theme-turva": this.theme === "turva",
|
|
20549
21053
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
20550
|
-
} }, hAsync("div", { key: '
|
|
21054
|
+
} }, hAsync("div", { key: 'bd59a764acecbe3ef06cd35bd66f1dfef7510f61', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '130a7f33d591f4217c0cb53518c64263fb157835' })), this.hasAdditionalContent && (hAsync(Fragment, { key: 'b6f16fc8d0d2f00496c7621e586ce20fbda294bc' }, hAsync("button", { key: '80c8ef3feaacc7dfbee92487b4c45b76a29c06ad', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, hAsync("duet-icon", { key: '6ee4d016a02a102e29cbec8a4529911ff0971adf', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '647c81ca9f0ff38f430d4d941b482d86bf4f9e59' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '5c4e077f923a7ea0089832043d9c00f57370c536', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: '22cac37f81a3f69ffc0fb81fb547d8c358080c19', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '68324e24bafd484cd8639d23fdc0ed6c9ffd053e', name: "additional" })))))));
|
|
20551
21055
|
}
|
|
20552
21056
|
get element() { return getElement(this); }
|
|
20553
21057
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -21663,10 +22167,10 @@ class DuetUpload {
|
|
|
21663
22167
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
21664
22168
|
}
|
|
21665
22169
|
// @ts-ignore
|
|
21666
|
-
return (hAsync(Host, { key: '
|
|
22170
|
+
return (hAsync(Host, { key: 'f22b72ae72f670b1d3b96699cc22b916e44805bb', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: 'd9062ebd9b108b426984ea6336014d707816be6a', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: 'f05cf1d0a76d07a12e0169d4554344860fe8d5e9', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: '5f6ea952dccd0579fa97ae6e751c727bb2b72383', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: 'b99e0d6949b2377b83a5b8e3ba4fab263685e427', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: '0de37444dc62aac38f4ce95cb488cbd9c6485814', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '0d169ad657e0ae9af98769dd2c7b007899826afe', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && hAsync("slot", { key: 'a957b0255feb705762d39f4615bd9a49a4569017', name: "filefooter" }), hAsync("slot", { key: 'f76b8605d58a7659c2dd0aa29c48a1f34e4a18a9', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: '3c3b2d1cc4929a960035feb0055c41d435a2cfba', margin: "none", size: "small" }, hAsync("div", { key: 'e5f8bd26ec72800dd78794620d3d1dcfb4c55ad8', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: 'c3d1e3f1725fdddfaad3eec7fdc9ed7cb3ef8b5b', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '25b1dfcfeb51ed4dce30e9dc0dfd4bf3e5adb41e' }, hAsync("duet-spacer", { key: 'd19f3991e372c617a6b9509adbc062a03f390090', size: "large" }), hAsync("duet-button", { key: '8536bf08e8becf2c50e0fff041facbe975f18ad5', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
21667
22171
|
this.bytesMaxReached ||
|
|
21668
22172
|
this.filesToUploadExceedsLimit ||
|
|
21669
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
22173
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '970bfa230702ba75dc8f8ac9e71f4183c4c3c0d7' }, hAsync("duet-spacer", { key: '72b8c0c087760db99ce3fdda33e33471b9606d61', size: "medium" }), hAsync("duet-alert", { key: '0769bcb8f099a5094dba69584d27909b915a1b18', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), hAsync("duet-visually-hidden", { key: 'fba8af1631c5f83e159c7070c9680fb36e5e2d80', "aria-hidden": "true" }, hAsync("input", { key: '0c7c75a5a7328dfde2317095e37b363108c6423f', ref: input => {
|
|
21670
22174
|
this.nativeInput = input;
|
|
21671
22175
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
21672
22176
|
"duet-upload": true,
|
|
@@ -21987,7 +22491,7 @@ class DuetUploadAriaStatus {
|
|
|
21987
22491
|
* Always the last one in the class.
|
|
21988
22492
|
*/
|
|
21989
22493
|
render() {
|
|
21990
|
-
return (hAsync(Host, { key: '
|
|
22494
|
+
return (hAsync(Host, { key: '26f9145a9517170dfe1ba393f2c5ad65b0b06a02', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '972991ded0b6c0b7006d97923b1a0f554b7ab597' }, this.statusMessage)));
|
|
21991
22495
|
}
|
|
21992
22496
|
get element() { return getElement(this); }
|
|
21993
22497
|
static get watchers() { return {
|
|
@@ -22054,7 +22558,7 @@ class DuetUploadItem$1 {
|
|
|
22054
22558
|
inheritGlobalTheme(this);
|
|
22055
22559
|
}
|
|
22056
22560
|
render() {
|
|
22057
|
-
return (hAsync(Host, { key: '
|
|
22561
|
+
return (hAsync(Host, { key: '926fcc76b3ab1a4b3487828c7e8c2b2c27d99908' }, hAsync("duet-visually-hidden", { key: 'bae6ad6046effdb6fcd799f7f4402b9b28a338c5', "aria-hidden": "true" }, hAsync("input", { key: 'e7e5106bbb4de343baa858eb76739022df33d5d6', ref: input => {
|
|
22058
22562
|
this.nativeInput = input;
|
|
22059
22563
|
}, type: "file", class: {
|
|
22060
22564
|
"duet-upload": true,
|
|
@@ -22166,9 +22670,9 @@ class DuetUploadItem {
|
|
|
22166
22670
|
const { uid, meta, item } = this.data;
|
|
22167
22671
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
22168
22672
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
22169
|
-
return (hAsync("div", { key: '
|
|
22673
|
+
return (hAsync("div", { key: 'c8c6c57d941704bc0ddb5c25e0e76287ca4469a1', class: {
|
|
22170
22674
|
"upload-item-row": true,
|
|
22171
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
22675
|
+
} }, this.showCategory && (hAsync("div", { key: '0789dde74b01d1ee704ee518dda0975c31413989', class: "item-categories" }, hAsync("duet-heading", { key: 'fb76eeb96a18a1bc8c5073a41b0656ab506a4b40', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: 'cb374b138f6cf6c4124a810ed423aa1424105eec', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '19db25ee3bf0a7034ac787e6fa511cbd3c0b3b91', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '4c918f6aff58a949d21146cad2fbfb3e30d09b48', class: "item-actions" }, this.actions.map(actionItem => {
|
|
22172
22676
|
return (hAsync("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
|
|
22173
22677
|
}))));
|
|
22174
22678
|
}
|
|
@@ -22209,7 +22713,7 @@ class DuetVisuallyHidden {
|
|
|
22209
22713
|
* Always the last one in the class.
|
|
22210
22714
|
*/
|
|
22211
22715
|
render() {
|
|
22212
|
-
return (hAsync(Host, { key: '
|
|
22716
|
+
return (hAsync(Host, { key: 'f655733ff3605a6ba0993f8e37ac51650f8366bb', class: "duet-visually-hidden" }, hAsync("slot", { key: '4825e5d1d6c0268ea3f2b81dab7c44bcd2715046' })));
|
|
22213
22717
|
}
|
|
22214
22718
|
get element() { return getElement(this); }
|
|
22215
22719
|
static get style() { return DuetVisuallyHiddenStyle0; }
|