@spw-ds/spw-stencil-library 1.14.0 → 1.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cem.json +290 -0
- package/dist/cjs/focus-trap-CCFWfNJ1.js +118 -0
- package/dist/cjs/index-DuCXzb-X.js +8 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/spw-accordion_4.cjs.entry.js +4 -4
- package/dist/cjs/spw-avatar.cjs.entry.js +1 -1
- package/dist/cjs/spw-block-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-box.cjs.entry.js +1 -1
- package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/spw-button_2.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-excerpt.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-image.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-subtag-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-subtags.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-title.cjs.entry.js +1 -1
- package/dist/cjs/spw-card.cjs.entry.js +1 -1
- package/dist/cjs/spw-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/spw-cookies.cjs.entry.js +1 -1
- package/dist/cjs/spw-custom-select.cjs.entry.js +8 -13
- package/dist/cjs/spw-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/spw-drawer.cjs.entry.js +244 -0
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +16 -2
- package/dist/cjs/spw-dropdown.cjs.entry.js +76 -2
- package/dist/cjs/spw-field-label_8.cjs.entry.js +14 -14
- package/dist/cjs/spw-file-upload.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer-bottom.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-content-col.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-content.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer.cjs.entry.js +2 -2
- package/dist/cjs/spw-grid-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-grid.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-lang.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-navigation.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-persona-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-persona.cjs.entry.js +2 -2
- package/dist/cjs/spw-header.cjs.entry.js +2 -2
- package/dist/cjs/spw-hero.cjs.entry.js +4 -4
- package/dist/cjs/spw-illustration.cjs.entry.js +1 -1
- package/dist/cjs/spw-input-slider.cjs.entry.js +2 -2
- package/dist/cjs/spw-lightbox-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-lightbox.cjs.entry.js +3 -3
- package/dist/cjs/spw-list-description.cjs.entry.js +2 -2
- package/dist/cjs/spw-list-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-list-title.cjs.entry.js +2 -2
- package/dist/cjs/spw-list.cjs.entry.js +2 -2
- package/dist/cjs/spw-message.cjs.entry.js +1 -1
- package/dist/cjs/spw-modal.cjs.entry.js +6 -118
- package/dist/cjs/spw-mosaic-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-mosaic.cjs.entry.js +2 -2
- package/dist/cjs/spw-pagination.cjs.entry.js +7 -7
- package/dist/cjs/spw-radio.cjs.entry.js +2 -2
- package/dist/cjs/spw-scrolltop.cjs.entry.js +2 -2
- package/dist/cjs/spw-search-field.cjs.entry.js +1 -1
- package/dist/cjs/spw-select.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +4 -4
- package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/spw-slider-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-slider.cjs.entry.js +2 -2
- package/dist/cjs/spw-socials.cjs.entry.js +2 -2
- package/dist/cjs/spw-stencil-library.cjs.js +1 -1
- package/dist/cjs/spw-table-body.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-head.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-header.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-row.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-table.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-tabs-navigation.cjs.entry.js +2 -2
- package/dist/cjs/spw-tabs.cjs.entry.js +2 -2
- package/dist/cjs/spw-tag.cjs.entry.js +2 -2
- package/dist/cjs/spw-text-field.cjs.entry.js +2 -2
- package/dist/cjs/spw-textarea.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile-description.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile-title.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile.cjs.entry.js +2 -2
- package/dist/cjs/spw-timeline-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-timeline.cjs.entry.js +3 -3
- package/dist/cjs/spw-toast-controller.cjs.entry.js +1 -1
- package/dist/cjs/spw-toast.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc-navigation.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc.cjs.entry.js +2 -2
- package/dist/cjs/spw-topbar.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.css +0 -9
- package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.css +0 -9
- package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.css +0 -9
- package/dist/collection/components/spw-accordion/spw-accordion.css +0 -9
- package/dist/collection/components/spw-avatar/spw-avatar.css +0 -9
- package/dist/collection/components/spw-block-content/spw-block-content.css +0 -9
- package/dist/collection/components/spw-box/spw-box.css +0 -9
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.css +0 -9
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.css +0 -9
- package/dist/collection/components/spw-button/spw-button.css +5 -10
- package/dist/collection/components/spw-card/spw-card-content/spw-card-content.css +0 -9
- package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.css +0 -9
- package/dist/collection/components/spw-card/spw-card-image/spw-card-image.css +0 -9
- package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.css +0 -9
- package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.css +0 -9
- package/dist/collection/components/spw-card/spw-card-title/spw-card-title.css +0 -9
- package/dist/collection/components/spw-card/spw-card.css +0 -9
- package/dist/collection/components/spw-checkbox/spw-checkbox.css +0 -9
- package/dist/collection/components/spw-cookies/spw-cookies.css +0 -9
- package/dist/collection/components/spw-custom-select/spw-custom-select.css +0 -9
- package/dist/collection/components/spw-custom-select/spw-custom-select.js +7 -12
- package/dist/collection/components/spw-date-picker/spw-date-picker.css +0 -9
- package/dist/collection/components/spw-drawer/spw-drawer.css +543 -0
- package/dist/collection/components/spw-drawer/spw-drawer.js +507 -0
- package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.css +0 -9
- package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.css +5 -9
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +15 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown.css +0 -9
- package/dist/collection/components/spw-dropdown/spw-dropdown.js +75 -1
- package/dist/collection/components/spw-field-label/spw-field-label.css +0 -9
- package/dist/collection/components/spw-field-label/spw-field-label.js +1 -1
- package/dist/collection/components/spw-field-message/spw-field-message.css +0 -9
- package/dist/collection/components/spw-field-message/spw-field-message.js +1 -1
- package/dist/collection/components/spw-file-upload/spw-file-upload.css +0 -9
- package/dist/collection/components/spw-file-upload/spw-file-upload.js +2 -2
- package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.css +0 -9
- package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.css +0 -9
- package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.css +0 -9
- package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.css +0 -9
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer.css +0 -9
- package/dist/collection/components/spw-footer/spw-footer.js +1 -1
- package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.css +0 -9
- package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +2 -2
- package/dist/collection/components/spw-grid/spw-grid.css +0 -9
- package/dist/collection/components/spw-grid/spw-grid.js +2 -2
- package/dist/collection/components/spw-group/spw-group.css +0 -9
- package/dist/collection/components/spw-group/spw-group.js +1 -1
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.css +3 -9
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.css +0 -9
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.css +0 -9
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.css +0 -9
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.css +0 -9
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +1 -1
- package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.css +0 -9
- package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
- package/dist/collection/components/spw-header/spw-header.css +6 -9
- package/dist/collection/components/spw-header/spw-header.js +1 -1
- package/dist/collection/components/spw-hero/spw-hero.css +0 -9
- package/dist/collection/components/spw-hero/spw-hero.js +3 -3
- package/dist/collection/components/spw-icon/spw-icon.css +0 -9
- package/dist/collection/components/spw-illustration/spw-illustration.css +0 -9
- package/dist/collection/components/spw-input-slider/spw-input-slider.css +0 -9
- package/dist/collection/components/spw-input-slider/spw-input-slider.js +1 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.css +0 -9
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +1 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox.css +0 -9
- package/dist/collection/components/spw-lightbox/spw-lightbox.js +2 -2
- package/dist/collection/components/spw-link/spw-link.css +0 -9
- package/dist/collection/components/spw-link/spw-link.js +1 -1
- package/dist/collection/components/spw-list/spw-list-description/spw-list-description.css +0 -9
- package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
- package/dist/collection/components/spw-list/spw-list-item/spw-list-item.css +0 -9
- package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
- package/dist/collection/components/spw-list/spw-list-title/spw-list-title.css +0 -9
- package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
- package/dist/collection/components/spw-list/spw-list.css +0 -9
- package/dist/collection/components/spw-list/spw-list.js +1 -1
- package/dist/collection/components/spw-loading/spw-loading.css +0 -9
- package/dist/collection/components/spw-loading/spw-loading.js +1 -1
- package/dist/collection/components/spw-message/spw-message.css +0 -9
- package/dist/collection/components/spw-modal/spw-modal.css +0 -9
- package/dist/collection/components/spw-modal/spw-modal.js +3 -3
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.css +0 -9
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic.css +0 -9
- package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
- package/dist/collection/components/spw-pagination/spw-pagination.css +0 -9
- package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
- package/dist/collection/components/spw-radio/spw-radio.css +0 -9
- package/dist/collection/components/spw-radio/spw-radio.js +1 -1
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.css +0 -9
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
- package/dist/collection/components/spw-search-field/spw-search-field.css +0 -9
- package/dist/collection/components/spw-select/spw-select.css +0 -9
- package/dist/collection/components/spw-separator/spw-separator.css +0 -9
- package/dist/collection/components/spw-separator/spw-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.css +0 -9
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.css +0 -9
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.css +0 -9
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar.css +0 -9
- package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
- package/dist/collection/components/spw-skeleton/spw-skeleton.css +0 -9
- package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.css +0 -9
- package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider.css +0 -9
- package/dist/collection/components/spw-slider/spw-slider.js +1 -1
- package/dist/collection/components/spw-socials/spw-socials.css +0 -9
- package/dist/collection/components/spw-socials/spw-socials.js +1 -1
- package/dist/collection/components/spw-table/spw-table-body/spw-table-body.css +0 -9
- package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
- package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.css +0 -9
- package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
- package/dist/collection/components/spw-table/spw-table-container/spw-table-container.css +0 -9
- package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
- package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.css +0 -9
- package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
- package/dist/collection/components/spw-table/spw-table-head/spw-table-head.css +0 -9
- package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
- package/dist/collection/components/spw-table/spw-table-header/spw-table-header.css +0 -9
- package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
- package/dist/collection/components/spw-table/spw-table-row/spw-table-row.css +0 -9
- package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
- package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.css +0 -9
- package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.js +1 -1
- package/dist/collection/components/spw-table/spw-table.css +0 -9
- package/dist/collection/components/spw-tabs/spw-tabs-content/spw-tabs-content.css +0 -9
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.css +0 -9
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.css +0 -9
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs.css +0 -9
- package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
- package/dist/collection/components/spw-tag/spw-tag.css +0 -9
- package/dist/collection/components/spw-tag/spw-tag.js +1 -1
- package/dist/collection/components/spw-text-field/spw-text-field.css +0 -9
- package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
- package/dist/collection/components/spw-textarea/spw-textarea.css +0 -9
- package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
- package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.css +0 -9
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +0 -9
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile.css +0 -9
- package/dist/collection/components/spw-tile/spw-tile.js +1 -1
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.css +0 -9
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
- package/dist/collection/components/spw-timeline/spw-timeline.css +0 -9
- package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
- package/dist/collection/components/spw-toast/spw-toast-controller/spw-toast-controller.css +0 -9
- package/dist/collection/components/spw-toast/spw-toast.css +0 -9
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.css +0 -9
- package/dist/collection/components/spw-toc/spw-toc-navigation/spw-toc-navigation.css +0 -9
- package/dist/collection/components/spw-toc/spw-toc.css +0 -9
- package/dist/collection/components/spw-toc/spw-toc.js +1 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.css +0 -9
- package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
- package/dist/collection/components/spw-topbar/spw-topbar.css +0 -9
- package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.css +0 -9
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.css +0 -9
- package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
- package/dist/collection/stories/components/spw-avatar/spw-avatar.stories.js +0 -1
- package/dist/collection/stories/components/spw-block-content/spw-block-content.stories.js +0 -1
- package/dist/collection/stories/components/spw-box/spw-box.stories.js +0 -1
- package/dist/collection/stories/components/spw-breadcrumb/spw-breadcrumb.stories.js +0 -1
- package/dist/collection/stories/components/spw-button/spw-button.stories.js +0 -1
- package/dist/collection/stories/components/spw-checkbox/spw-checkbox.stories.js +0 -1
- package/dist/collection/stories/components/spw-custom-select/spw-custom-select.stories.js +0 -1
- package/dist/collection/stories/components/spw-date-picker/spw-date-picker.stories.js +0 -1
- package/dist/collection/stories/components/spw-dropdown/spw-dropdown.stories.js +0 -1
- package/dist/collection/stories/components/spw-field-message/spw-field-message.stories.js +0 -1
- package/dist/collection/stories/components/spw-file-upload/spw-file-upload.stories.js +0 -1
- package/dist/collection/stories/components/spw-icon/spw-icon.stories.js +0 -1
- package/dist/collection/stories/components/spw-input-slider/spw-input-slider.stories.js +0 -1
- package/dist/collection/stories/components/spw-link/spw-link.stories.js +0 -1
- package/dist/collection/stories/components/spw-loading/spw-loading.stories.js +0 -1
- package/dist/collection/stories/components/spw-pagination/spw-pagination.stories.js +0 -1
- package/dist/collection/stories/components/spw-radio/spw-radio.stories.js +0 -1
- package/dist/collection/stories/components/spw-scrolltop/spw-scrolltop.stories.js +0 -1
- package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +0 -1
- package/dist/collection/stories/components/spw-select/spw-select.stories.js +0 -1
- package/dist/collection/stories/components/spw-separator/spw-separator.stories.js +0 -1
- package/dist/collection/stories/components/spw-skeleton/spw-skeleton.stories.js +0 -1
- package/dist/collection/stories/components/spw-tag/spw-tag.stories.js +0 -1
- package/dist/collection/stories/components/spw-text-field/spw-text-field.stories.js +0 -1
- package/dist/collection/stories/components/spw-textarea/spw-textarea.stories.js +0 -1
- package/dist/collection/stories/components/spw-toast/spw-toast.stories.js +0 -1
- package/dist/collection/stories/components/spw-tooltip/spw-tooltip.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-accordion/spw-accordion.stories.js +1 -4
- package/dist/collection/stories/organisms/spw-card/spw-card.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-footer/spw-footer.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-grid/spw-grid.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-header/spw-header.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-hero/spw-hero.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-lightbox/spw-lightbox.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-list/spw-list.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-message/spw-message.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-modal/spw-modal.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-mosaic/spw-mosaic.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-sidebar/spw-sidebar.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-slider/spw-slider.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-table/spw-table.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-tabs/spw-tabs.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-tile/spw-tile.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-timeline/spw-timeline.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-toc/spw-toc.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-topbar/spw-topbar.stories.js +0 -1
- package/dist/collection/stories/organisms/spw-wizard/spw-wizard.stories.js +0 -1
- package/dist/components/p-B-cQeHXM.js +1 -0
- package/dist/components/p-BIUq0sDZ.js +1 -0
- package/dist/components/{p-CCD4GNGP.js → p-BPhSJ6Z9.js} +1 -1
- package/dist/components/p-BY3qZT4B.js +1 -0
- package/dist/components/p-C3Ll1ThQ.js +1 -0
- package/dist/components/p-CjvNWegY.js +1 -0
- package/dist/components/p-CkAL76gB.js +1 -0
- package/dist/components/p-CvLC1GlH.js +1 -0
- package/dist/components/p-D0DQUsj1.js +1 -0
- package/dist/components/p-D25JsirJ.js +1 -0
- package/dist/components/p-DRPRSyPM.js +1 -0
- package/dist/components/p-DYJNpZeH.js +1 -0
- package/dist/components/p-Hi4pwfHU.js +1 -0
- package/dist/components/p-UzhhGIpr.js +1 -0
- package/dist/components/p-ZYgHSKrO.js +1 -0
- package/dist/components/{p-w4Zf5JRT.js → p-Zw0kVjLc.js} +1 -1
- package/dist/components/p-eaT1pNxG.js +1 -0
- package/dist/components/spw-accordion-content.js +1 -1
- package/dist/components/spw-accordion-item.js +1 -1
- package/dist/components/spw-accordion-title.js +1 -1
- package/dist/components/spw-accordion.js +1 -1
- package/dist/components/spw-avatar.js +1 -1
- package/dist/components/spw-block-content.js +1 -1
- package/dist/components/spw-box.js +1 -1
- package/dist/components/spw-breadcrumb-item.js +1 -1
- package/dist/components/spw-breadcrumb.js +1 -1
- package/dist/components/spw-button.js +1 -1
- package/dist/components/spw-card-content.js +1 -1
- package/dist/components/spw-card-excerpt.js +1 -1
- package/dist/components/spw-card-image.js +1 -1
- package/dist/components/spw-card-subtag-item.js +1 -1
- package/dist/components/spw-card-subtags.js +1 -1
- package/dist/components/spw-card-title.js +1 -1
- package/dist/components/spw-card.js +1 -1
- package/dist/components/spw-checkbox.js +1 -1
- package/dist/components/spw-cookies.js +1 -1
- package/dist/components/spw-custom-select.js +1 -1
- package/dist/components/spw-date-picker.js +1 -1
- package/dist/components/spw-drawer.d.ts +11 -0
- package/dist/components/spw-drawer.js +1 -0
- package/dist/components/spw-dropdown-container.js +1 -1
- package/dist/components/spw-dropdown-item.js +1 -1
- package/dist/components/spw-dropdown.js +1 -1
- package/dist/components/spw-field-label.js +1 -1
- package/dist/components/spw-field-message.js +1 -1
- package/dist/components/spw-file-upload.js +1 -1
- package/dist/components/spw-footer-bottom.js +1 -1
- package/dist/components/spw-footer-content-col.js +1 -1
- package/dist/components/spw-footer-content.js +1 -1
- package/dist/components/spw-footer-link.js +1 -1
- package/dist/components/spw-footer.js +1 -1
- package/dist/components/spw-grid-item.js +1 -1
- package/dist/components/spw-grid.js +1 -1
- package/dist/components/spw-group.js +1 -1
- package/dist/components/spw-header-lang.js +1 -1
- package/dist/components/spw-header-navigation-dropdown.js +1 -1
- package/dist/components/spw-header-navigation-item.js +1 -1
- package/dist/components/spw-header-navigation.js +1 -1
- package/dist/components/spw-header-persona-item.js +1 -1
- package/dist/components/spw-header-persona.js +1 -1
- package/dist/components/spw-header.js +1 -1
- package/dist/components/spw-hero.js +1 -1
- package/dist/components/spw-icon.js +1 -1
- package/dist/components/spw-illustration.js +1 -1
- package/dist/components/spw-input-slider.js +1 -1
- package/dist/components/spw-lightbox-item.js +1 -1
- package/dist/components/spw-lightbox.js +1 -1
- package/dist/components/spw-link.js +1 -1
- package/dist/components/spw-list-description.js +1 -1
- package/dist/components/spw-list-item.js +1 -1
- package/dist/components/spw-list-title.js +1 -1
- package/dist/components/spw-list.js +1 -1
- package/dist/components/spw-loading.js +1 -1
- package/dist/components/spw-message.js +1 -1
- package/dist/components/spw-modal.js +1 -1
- package/dist/components/spw-mosaic-item.js +1 -1
- package/dist/components/spw-mosaic.js +1 -1
- package/dist/components/spw-pagination.js +1 -1
- package/dist/components/spw-radio.js +1 -1
- package/dist/components/spw-scrolltop.js +1 -1
- package/dist/components/spw-search-field.js +1 -1
- package/dist/components/spw-select.js +1 -1
- package/dist/components/spw-separator.js +1 -1
- package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/components/spw-sidebar-navigation-item.js +1 -1
- package/dist/components/spw-sidebar-navigation-separator.js +1 -1
- package/dist/components/spw-sidebar.js +1 -1
- package/dist/components/spw-skeleton.js +1 -1
- package/dist/components/spw-slider-item.js +1 -1
- package/dist/components/spw-slider.js +1 -1
- package/dist/components/spw-socials.js +1 -1
- package/dist/components/spw-table-body.js +1 -1
- package/dist/components/spw-table-cell.js +1 -1
- package/dist/components/spw-table-container.js +1 -1
- package/dist/components/spw-table-footer.js +1 -1
- package/dist/components/spw-table-head.js +1 -1
- package/dist/components/spw-table-header.js +1 -1
- package/dist/components/spw-table-row.js +1 -1
- package/dist/components/spw-table-sidebar.js +1 -1
- package/dist/components/spw-table.js +1 -1
- package/dist/components/spw-tabs-content.js +1 -1
- package/dist/components/spw-tabs-navigation-item.js +1 -1
- package/dist/components/spw-tabs-navigation.js +1 -1
- package/dist/components/spw-tabs.js +1 -1
- package/dist/components/spw-tag.js +1 -1
- package/dist/components/spw-text-field.js +1 -1
- package/dist/components/spw-textarea.js +1 -1
- package/dist/components/spw-theme-provider.js +1 -1
- package/dist/components/spw-tile-description.js +1 -1
- package/dist/components/spw-tile-title.js +1 -1
- package/dist/components/spw-tile.js +1 -1
- package/dist/components/spw-timeline-item.js +1 -1
- package/dist/components/spw-timeline.js +1 -1
- package/dist/components/spw-toast-controller.js +1 -1
- package/dist/components/spw-toast.js +1 -1
- package/dist/components/spw-toc-container.js +1 -1
- package/dist/components/spw-toc-navigation.js +1 -1
- package/dist/components/spw-toc.js +1 -1
- package/dist/components/spw-tooltip.js +1 -1
- package/dist/components/spw-topbar.js +1 -1
- package/dist/components/spw-wizard-item.js +1 -1
- package/dist/components/spw-wizard.js +1 -1
- package/dist/components_json.json +432 -1
- package/dist/components_vscode.json +5219 -0
- package/dist/esm/focus-trap-Hi4pwfHU.js +114 -0
- package/dist/esm/index-Co4V4Zk-.js +8 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/spw-accordion_4.entry.js +4 -4
- package/dist/esm/spw-avatar.entry.js +1 -1
- package/dist/esm/spw-block-content.entry.js +1 -1
- package/dist/esm/spw-box.entry.js +1 -1
- package/dist/esm/spw-breadcrumb-item.entry.js +1 -1
- package/dist/esm/spw-breadcrumb.entry.js +1 -1
- package/dist/esm/spw-button_2.entry.js +3 -3
- package/dist/esm/spw-card-content.entry.js +1 -1
- package/dist/esm/spw-card-excerpt.entry.js +1 -1
- package/dist/esm/spw-card-image.entry.js +1 -1
- package/dist/esm/spw-card-subtag-item.entry.js +1 -1
- package/dist/esm/spw-card-subtags.entry.js +1 -1
- package/dist/esm/spw-card-title.entry.js +1 -1
- package/dist/esm/spw-card.entry.js +1 -1
- package/dist/esm/spw-checkbox.entry.js +1 -1
- package/dist/esm/spw-cookies.entry.js +1 -1
- package/dist/esm/spw-custom-select.entry.js +8 -13
- package/dist/esm/spw-date-picker.entry.js +1 -1
- package/dist/esm/spw-drawer.entry.js +242 -0
- package/dist/esm/spw-dropdown-container.entry.js +2 -2
- package/dist/esm/spw-dropdown-item.entry.js +16 -2
- package/dist/esm/spw-dropdown.entry.js +76 -2
- package/dist/esm/spw-field-label_8.entry.js +14 -14
- package/dist/esm/spw-file-upload.entry.js +3 -3
- package/dist/esm/spw-footer-bottom.entry.js +2 -2
- package/dist/esm/spw-footer-content-col.entry.js +2 -2
- package/dist/esm/spw-footer-content.entry.js +2 -2
- package/dist/esm/spw-footer-link.entry.js +2 -2
- package/dist/esm/spw-footer.entry.js +2 -2
- package/dist/esm/spw-grid-item.entry.js +3 -3
- package/dist/esm/spw-grid.entry.js +3 -3
- package/dist/esm/spw-header-lang.entry.js +2 -2
- package/dist/esm/spw-header-navigation-dropdown.entry.js +2 -2
- package/dist/esm/spw-header-navigation-item.entry.js +2 -2
- package/dist/esm/spw-header-navigation.entry.js +2 -2
- package/dist/esm/spw-header-persona-item.entry.js +2 -2
- package/dist/esm/spw-header-persona.entry.js +2 -2
- package/dist/esm/spw-header.entry.js +2 -2
- package/dist/esm/spw-hero.entry.js +4 -4
- package/dist/esm/spw-illustration.entry.js +1 -1
- package/dist/esm/spw-input-slider.entry.js +2 -2
- package/dist/esm/spw-lightbox-item.entry.js +2 -2
- package/dist/esm/spw-lightbox.entry.js +3 -3
- package/dist/esm/spw-list-description.entry.js +2 -2
- package/dist/esm/spw-list-item.entry.js +2 -2
- package/dist/esm/spw-list-title.entry.js +2 -2
- package/dist/esm/spw-list.entry.js +2 -2
- package/dist/esm/spw-message.entry.js +1 -1
- package/dist/esm/spw-modal.entry.js +5 -117
- package/dist/esm/spw-mosaic-item.entry.js +2 -2
- package/dist/esm/spw-mosaic.entry.js +2 -2
- package/dist/esm/spw-pagination.entry.js +7 -7
- package/dist/esm/spw-radio.entry.js +2 -2
- package/dist/esm/spw-scrolltop.entry.js +2 -2
- package/dist/esm/spw-search-field.entry.js +1 -1
- package/dist/esm/spw-select.entry.js +1 -1
- package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +2 -2
- package/dist/esm/spw-sidebar-navigation-item.entry.js +4 -4
- package/dist/esm/spw-sidebar-navigation-separator.entry.js +2 -2
- package/dist/esm/spw-sidebar.entry.js +2 -2
- package/dist/esm/spw-skeleton.entry.js +2 -2
- package/dist/esm/spw-slider-item.entry.js +2 -2
- package/dist/esm/spw-slider.entry.js +2 -2
- package/dist/esm/spw-socials.entry.js +2 -2
- package/dist/esm/spw-stencil-library.js +1 -1
- package/dist/esm/spw-table-body.entry.js +2 -2
- package/dist/esm/spw-table-cell.entry.js +2 -2
- package/dist/esm/spw-table-container.entry.js +2 -2
- package/dist/esm/spw-table-footer.entry.js +2 -2
- package/dist/esm/spw-table-head.entry.js +2 -2
- package/dist/esm/spw-table-header.entry.js +3 -3
- package/dist/esm/spw-table-row.entry.js +2 -2
- package/dist/esm/spw-table-sidebar.entry.js +2 -2
- package/dist/esm/spw-table.entry.js +1 -1
- package/dist/esm/spw-tabs-content.entry.js +1 -1
- package/dist/esm/spw-tabs-navigation-item.entry.js +2 -2
- package/dist/esm/spw-tabs-navigation.entry.js +2 -2
- package/dist/esm/spw-tabs.entry.js +2 -2
- package/dist/esm/spw-tag.entry.js +2 -2
- package/dist/esm/spw-text-field.entry.js +2 -2
- package/dist/esm/spw-textarea.entry.js +2 -2
- package/dist/esm/spw-tile-description.entry.js +2 -2
- package/dist/esm/spw-tile-title.entry.js +2 -2
- package/dist/esm/spw-tile.entry.js +2 -2
- package/dist/esm/spw-timeline-item.entry.js +3 -3
- package/dist/esm/spw-timeline.entry.js +3 -3
- package/dist/esm/spw-toast-controller.entry.js +1 -1
- package/dist/esm/spw-toast.entry.js +1 -1
- package/dist/esm/spw-toc-container.entry.js +1 -1
- package/dist/esm/spw-toc-navigation.entry.js +1 -1
- package/dist/esm/spw-toc.entry.js +2 -2
- package/dist/esm/spw-topbar.entry.js +2 -2
- package/dist/esm/spw-wizard-item.entry.js +2 -2
- package/dist/esm/spw-wizard.entry.js +2 -2
- package/dist/spw-stencil-library/p-006adc88.entry.js +1 -0
- package/dist/spw-stencil-library/p-018f7e9a.entry.js +1 -0
- package/dist/spw-stencil-library/p-0485f533.entry.js +1 -0
- package/dist/spw-stencil-library/p-07fbb8f6.entry.js +1 -0
- package/dist/spw-stencil-library/p-091d4662.entry.js +1 -0
- package/dist/spw-stencil-library/{p-af166ccc.entry.js → p-0a121f56.entry.js} +1 -1
- package/dist/spw-stencil-library/p-106a3fcd.entry.js +1 -0
- package/dist/spw-stencil-library/p-159f99ab.entry.js +1 -0
- package/dist/spw-stencil-library/p-18e87463.entry.js +1 -0
- package/dist/spw-stencil-library/p-1a46f3ba.entry.js +1 -0
- package/dist/spw-stencil-library/p-1d64b425.entry.js +1 -0
- package/dist/spw-stencil-library/p-1dd3086f.entry.js +1 -0
- package/dist/spw-stencil-library/{p-8ac6a05d.entry.js → p-25808824.entry.js} +1 -1
- package/dist/spw-stencil-library/p-25fe7de0.entry.js +1 -0
- package/dist/spw-stencil-library/p-27e23a3b.entry.js +1 -0
- package/dist/spw-stencil-library/p-2eeb292e.entry.js +1 -0
- package/dist/spw-stencil-library/p-3579a4e5.entry.js +1 -0
- package/dist/spw-stencil-library/{p-935b5d59.entry.js → p-36b59630.entry.js} +1 -1
- package/dist/spw-stencil-library/p-38dbba65.entry.js +1 -0
- package/dist/spw-stencil-library/p-3d37c0d2.entry.js +1 -0
- package/dist/spw-stencil-library/{p-23c1d210.entry.js → p-3da16e01.entry.js} +1 -1
- package/dist/spw-stencil-library/p-3db5d9dd.entry.js +1 -0
- package/dist/spw-stencil-library/{p-fdbb4769.entry.js → p-3e0f3dd4.entry.js} +1 -1
- package/dist/spw-stencil-library/p-3ed8aeca.entry.js +1 -0
- package/dist/spw-stencil-library/p-41c2c857.entry.js +1 -0
- package/dist/spw-stencil-library/p-486e0e66.entry.js +1 -0
- package/dist/spw-stencil-library/p-4a1c6a51.entry.js +1 -0
- package/dist/spw-stencil-library/{p-299fb874.entry.js → p-4b986821.entry.js} +1 -1
- package/dist/spw-stencil-library/p-4e6db3bf.entry.js +1 -0
- package/dist/spw-stencil-library/p-4f09896f.entry.js +1 -0
- package/dist/spw-stencil-library/p-50b391d6.entry.js +1 -0
- package/dist/spw-stencil-library/p-50bad396.entry.js +1 -0
- package/dist/spw-stencil-library/p-576df843.entry.js +1 -0
- package/dist/spw-stencil-library/p-5e6152f4.entry.js +1 -0
- package/dist/spw-stencil-library/p-5f1e7343.entry.js +1 -0
- package/dist/spw-stencil-library/p-609bd382.entry.js +1 -0
- package/dist/spw-stencil-library/p-60f1fb93.entry.js +1 -0
- package/dist/spw-stencil-library/p-634313d8.entry.js +1 -0
- package/dist/spw-stencil-library/p-67e57e7b.entry.js +1 -0
- package/dist/spw-stencil-library/{p-443e0885.entry.js → p-6bb83ef4.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3701b2ef.entry.js → p-700554d4.entry.js} +1 -1
- package/dist/spw-stencil-library/p-7043e2f6.entry.js +1 -0
- package/dist/spw-stencil-library/{p-f4ec65f7.entry.js → p-70eab5b3.entry.js} +1 -1
- package/dist/spw-stencil-library/p-718a1cfc.entry.js +1 -0
- package/dist/spw-stencil-library/{p-e64e8db5.entry.js → p-72ccef29.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5f9ab589.entry.js → p-86c818dc.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-22ad7ac8.entry.js → p-89814941.entry.js} +1 -1
- package/dist/spw-stencil-library/p-89c0b509.entry.js +1 -0
- package/dist/spw-stencil-library/p-8c3f163d.entry.js +1 -0
- package/dist/spw-stencil-library/{p-6885748d.entry.js → p-8d4507ab.entry.js} +1 -1
- package/dist/spw-stencil-library/p-8ece5de4.entry.js +1 -0
- package/dist/spw-stencil-library/p-96308ec8.entry.js +1 -0
- package/dist/spw-stencil-library/p-96b19074.entry.js +1 -0
- package/dist/spw-stencil-library/{p-840f8f73.entry.js → p-97222848.entry.js} +1 -1
- package/dist/spw-stencil-library/p-9aef4d39.entry.js +1 -0
- package/dist/spw-stencil-library/p-9ee4fd23.entry.js +1 -0
- package/dist/spw-stencil-library/p-9fa5fd1e.entry.js +1 -0
- package/dist/spw-stencil-library/p-Hi4pwfHU.js +1 -0
- package/dist/spw-stencil-library/{p-571d8133.entry.js → p-a5b78ab2.entry.js} +1 -1
- package/dist/spw-stencil-library/p-a8d07493.entry.js +1 -0
- package/dist/spw-stencil-library/p-adae2c8f.entry.js +1 -0
- package/dist/spw-stencil-library/p-aef1936f.entry.js +1 -0
- package/dist/spw-stencil-library/p-b0be475c.entry.js +1 -0
- package/dist/spw-stencil-library/p-b156247b.entry.js +1 -0
- package/dist/spw-stencil-library/p-b3c0af55.entry.js +1 -0
- package/dist/spw-stencil-library/p-b7f20973.entry.js +1 -0
- package/dist/spw-stencil-library/p-bd521e50.entry.js +1 -0
- package/dist/spw-stencil-library/{p-164a0f97.entry.js → p-be17a0cf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0a69f113.entry.js → p-bfebf124.entry.js} +1 -1
- package/dist/spw-stencil-library/p-c3b2299c.entry.js +1 -0
- package/dist/spw-stencil-library/p-c9c84bbe.entry.js +1 -0
- package/dist/spw-stencil-library/p-cc9371d1.entry.js +1 -0
- package/dist/spw-stencil-library/{p-df7e5e87.entry.js → p-cea7d5ac.entry.js} +1 -1
- package/dist/spw-stencil-library/p-d224d201.entry.js +1 -0
- package/dist/spw-stencil-library/{p-899b4433.entry.js → p-db6b5462.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f46326ea.entry.js → p-df1e5278.entry.js} +1 -1
- package/dist/spw-stencil-library/p-e039894a.entry.js +1 -0
- package/dist/spw-stencil-library/p-e1410eb6.entry.js +1 -0
- package/dist/spw-stencil-library/p-e4deed26.entry.js +1 -0
- package/dist/spw-stencil-library/p-e5fb89f8.entry.js +1 -0
- package/dist/spw-stencil-library/p-e68ef751.entry.js +1 -0
- package/dist/spw-stencil-library/p-e814b60f.entry.js +1 -0
- package/dist/spw-stencil-library/p-ea07c235.entry.js +1 -0
- package/dist/spw-stencil-library/p-ea0c0609.entry.js +1 -0
- package/dist/spw-stencil-library/p-ea6a7692.entry.js +1 -0
- package/dist/spw-stencil-library/p-ee27a3b1.entry.js +1 -0
- package/dist/spw-stencil-library/p-efebcaa2.entry.js +1 -0
- package/dist/spw-stencil-library/{p-3be26e1a.entry.js → p-f073fe43.entry.js} +1 -1
- package/dist/spw-stencil-library/p-f741b7f2.entry.js +1 -0
- package/dist/spw-stencil-library/p-f846ccbb.entry.js +1 -0
- package/dist/spw-stencil-library/p-fbc625af.entry.js +1 -0
- package/dist/spw-stencil-library/p-fc985ba3.entry.js +1 -0
- package/dist/spw-stencil-library/p-fd94894e.entry.js +1 -0
- package/dist/spw-stencil-library/{p-f30922a8.entry.js → p-ff1a0317.entry.js} +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +1647 -704
- package/dist/types/components/spw-custom-select/spw-custom-select.d.ts +0 -1
- package/dist/types/components/spw-drawer/spw-drawer.d.ts +58 -0
- package/dist/types/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.d.ts +1 -0
- package/dist/types/components/spw-dropdown/spw-dropdown.d.ts +4 -0
- package/dist/types/components.d.ts +146 -0
- package/hydrate/index.js +687 -344
- package/hydrate/index.mjs +687 -344
- package/package.json +1 -1
- package/dist/collection/stories/organisms/spw-socials/spw-socials.stories.js +0 -85
- package/dist/components/p-2XlMVTjB.js +0 -1
- package/dist/components/p-BBvVfbMj.js +0 -1
- package/dist/components/p-BFQBddHX.js +0 -1
- package/dist/components/p-BciLkiPG.js +0 -1
- package/dist/components/p-C-SfAoHb.js +0 -1
- package/dist/components/p-CH2dDXFF.js +0 -1
- package/dist/components/p-CMCm3XXa.js +0 -1
- package/dist/components/p-CUBYPgR-.js +0 -1
- package/dist/components/p-D01eUn9Q.js +0 -1
- package/dist/components/p-DHDV077L.js +0 -1
- package/dist/components/p-DTKl5Oaz.js +0 -1
- package/dist/components/p-DaQA1Uox.js +0 -1
- package/dist/components/p-VqkFHS-x.js +0 -1
- package/dist/components/p-sD0z4PvL.js +0 -1
- package/dist/spw-stencil-library/p-00557e4f.entry.js +0 -1
- package/dist/spw-stencil-library/p-0399dda3.entry.js +0 -1
- package/dist/spw-stencil-library/p-063792e8.entry.js +0 -1
- package/dist/spw-stencil-library/p-0dbdc2b6.entry.js +0 -1
- package/dist/spw-stencil-library/p-1669c1ca.entry.js +0 -1
- package/dist/spw-stencil-library/p-1e062122.entry.js +0 -1
- package/dist/spw-stencil-library/p-20c03a8a.entry.js +0 -1
- package/dist/spw-stencil-library/p-20df82ee.entry.js +0 -1
- package/dist/spw-stencil-library/p-21a995f9.entry.js +0 -1
- package/dist/spw-stencil-library/p-37902c8b.entry.js +0 -1
- package/dist/spw-stencil-library/p-37dde245.entry.js +0 -1
- package/dist/spw-stencil-library/p-37fd8c73.entry.js +0 -1
- package/dist/spw-stencil-library/p-3c52a712.entry.js +0 -1
- package/dist/spw-stencil-library/p-4222cbdb.entry.js +0 -1
- package/dist/spw-stencil-library/p-48fe8e82.entry.js +0 -1
- package/dist/spw-stencil-library/p-4c3f0c96.entry.js +0 -1
- package/dist/spw-stencil-library/p-4d7a0be2.entry.js +0 -1
- package/dist/spw-stencil-library/p-524bb690.entry.js +0 -1
- package/dist/spw-stencil-library/p-5376dba4.entry.js +0 -1
- package/dist/spw-stencil-library/p-557727f8.entry.js +0 -1
- package/dist/spw-stencil-library/p-57cf68a4.entry.js +0 -1
- package/dist/spw-stencil-library/p-5a378117.entry.js +0 -1
- package/dist/spw-stencil-library/p-5c95236a.entry.js +0 -1
- package/dist/spw-stencil-library/p-5dd27df4.entry.js +0 -1
- package/dist/spw-stencil-library/p-5e630615.entry.js +0 -1
- package/dist/spw-stencil-library/p-604ba2a3.entry.js +0 -1
- package/dist/spw-stencil-library/p-621e1b0b.entry.js +0 -1
- package/dist/spw-stencil-library/p-635e6cfd.entry.js +0 -1
- package/dist/spw-stencil-library/p-682bc321.entry.js +0 -1
- package/dist/spw-stencil-library/p-72260d09.entry.js +0 -1
- package/dist/spw-stencil-library/p-7a1bb101.entry.js +0 -1
- package/dist/spw-stencil-library/p-7c411306.entry.js +0 -1
- package/dist/spw-stencil-library/p-8069e108.entry.js +0 -1
- package/dist/spw-stencil-library/p-8391cd92.entry.js +0 -1
- package/dist/spw-stencil-library/p-848ff0ed.entry.js +0 -1
- package/dist/spw-stencil-library/p-86442324.entry.js +0 -1
- package/dist/spw-stencil-library/p-866605a9.entry.js +0 -1
- package/dist/spw-stencil-library/p-8f5b048a.entry.js +0 -1
- package/dist/spw-stencil-library/p-91fec20a.entry.js +0 -1
- package/dist/spw-stencil-library/p-9612aaa1.entry.js +0 -1
- package/dist/spw-stencil-library/p-96145845.entry.js +0 -1
- package/dist/spw-stencil-library/p-98a8d7e2.entry.js +0 -1
- package/dist/spw-stencil-library/p-98edde17.entry.js +0 -1
- package/dist/spw-stencil-library/p-9e0193ae.entry.js +0 -1
- package/dist/spw-stencil-library/p-a699356f.entry.js +0 -1
- package/dist/spw-stencil-library/p-aacdc7a6.entry.js +0 -1
- package/dist/spw-stencil-library/p-b496d259.entry.js +0 -1
- package/dist/spw-stencil-library/p-bb303e71.entry.js +0 -1
- package/dist/spw-stencil-library/p-bfa56ef0.entry.js +0 -1
- package/dist/spw-stencil-library/p-c195b353.entry.js +0 -1
- package/dist/spw-stencil-library/p-c3e48d44.entry.js +0 -1
- package/dist/spw-stencil-library/p-c55d4018.entry.js +0 -1
- package/dist/spw-stencil-library/p-c8c9608a.entry.js +0 -1
- package/dist/spw-stencil-library/p-c9b9e338.entry.js +0 -1
- package/dist/spw-stencil-library/p-cc20b98b.entry.js +0 -1
- package/dist/spw-stencil-library/p-d20e686b.entry.js +0 -1
- package/dist/spw-stencil-library/p-d2b73950.entry.js +0 -1
- package/dist/spw-stencil-library/p-e2f4bb5f.entry.js +0 -1
- package/dist/spw-stencil-library/p-e52f6ab9.entry.js +0 -1
- package/dist/spw-stencil-library/p-eb32dca1.entry.js +0 -1
- package/dist/spw-stencil-library/p-ee02cea7.entry.js +0 -1
- package/dist/spw-stencil-library/p-ef479a9e.entry.js +0 -1
- package/dist/spw-stencil-library/p-f09e0279.entry.js +0 -1
- package/dist/spw-stencil-library/p-f66e592a.entry.js +0 -1
- package/dist/spw-stencil-library/p-f9b7b64e.entry.js +0 -1
- package/dist/spw-stencil-library/p-fba02afb.entry.js +0 -1
- package/dist/spw-stencil-library/p-fceaffbc.entry.js +0 -1
- package/dist/spw-stencil-library/p-fceb0178.entry.js +0 -1
- package/dist/spw-stencil-library/p-fd0f954e.entry.js +0 -1
- package/dist/spw-stencil-library/p-fee061f8.entry.js +0 -1
- package/dist/types/stories/organisms/spw-socials/spw-socials.stories.d.ts +0 -4
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,a as n}from"./p-Co4V4Zk-.js";const o=class{constructor(e){t(this,e),this.isZebra=!1}componentDidLoad(){this.updateZebraStyles(),this.setupSlotListener()}setupSlotListener(){var t;const e=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("slot");e&&e.addEventListener("slotchange",(()=>{this.updateZebraStyles()}))}async updateZebraStyles(){if(!this.isZebra)return;const t=this.el.shadowRoot.querySelector("slot");if(!t)return;const e=t.assignedElements({flatten:!0});let n=0;e.forEach((t=>{"spw-table-row"===t.tagName.toLowerCase()&&(t.setAttribute("data-row-style",n%2==0?"even":"odd"),n++)}))}render(){return e("tbody",{key:"c1ad96fdf8c9434261fdde389b622783007e412d",part:"tbody"},e("slot",{key:"d02437370fd0fce984282efdb12383dfe6af06b6"}))}get el(){return n(this)}};o.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:contents}@media (max-width: 767px){tbody{display:block}}";export{o as spw_table_body}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as s,a as n}from"./p-Co4V4Zk-.js";const o=class{constructor(i){t(this,i),this.stepClick=e(this,"stepClick",7),this.currentStep=1,this.variant="horizontal",this.canClickNextSteps=!1}componentWillLoad(){this.updateStepsState()}slotChanged(){this.updateStepsState()}async setStep(t){this.currentStep=t,this.updateStepsState(),this.scrollToWizard()}handleStepClick(t){const e=t.detail;(e<this.currentStep||this.canClickNextSteps&&e>this.currentStep)&&(this.currentStep=e,this.updateStepsState(),this.stepClick.emit(e),this.scrollToWizard())}scrollToWizard(){var t;const e=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.host,i=(null==e?void 0:e.parentElement)||this.el;i&&i.scrollIntoView({behavior:"smooth",block:"start"})}updateStepsState(){requestAnimationFrame((()=>{const t=this.el.querySelectorAll("spw-wizard-item");t.forEach(((e,i)=>{const s=i+1;s>this.currentStep&&e.hasAttribute("status")&&e.removeAttribute("status"),e.hasAttribute("status")||e.setAttribute("state",s<this.currentStep?"completed":s===this.currentStep?"active":"inactive"),e.setAttribute("variant",this.variant),e.setAttribute("step-number",s.toString()),e.setAttribute("is-last",(i===t.length-1).toString()),e.setAttribute("is-clickable",(s!==this.currentStep&&(s<this.currentStep||this.canClickNextSteps)).toString()),e.setAttribute("is-current",(s===this.currentStep).toString()),e.setAttribute("is-before-current",(s<this.currentStep).toString()),e.setAttribute("is-after-current",(s>this.currentStep).toString())}))}))}get elementClass(){return{"spw-wizard":!0,[`spw-wizard--${this.variant}`]:!0}}render(){return i(s,{key:"178e7cccd1389ea3f3d606ae16384d6779d79f06"},i("div",{key:"6eea80c6829912766df4f1ce8fa772e406381ecb",class:this.elementClass},i("slot",{key:"7c315f82ec60d02e0cc4a0fe132a4ec6248f9d24"})))}get el(){return n(this)}};o.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-wizard{display:flex;gap:0}.spw-wizard--horizontal{flex-direction:row}.spw-wizard--vertical{flex-direction:column;align-items:flex-start}";export{o as spw_wizard}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as i,a as n}from"./p-Co4V4Zk-.js";const o=class{constructor(t){e(this,t),this.visibleItems=0,this.showMoreText="Voir plus",this.showLessText="Voir moins",this.showAll=!1,this.handleToggle=()=>{this.showAll=!this.showAll,this.updateItemsState()}}componentWillLoad(){this.updateItemsState()}slotChanged(){this.updateItemsState()}updateItemsState(){requestAnimationFrame((()=>{const e=this.el.querySelectorAll("spw-timeline-item");e.forEach(((t,i)=>{t.setAttribute("variant","vertical"),t.setAttribute("is-last",(i===e.length-1).toString()),t.style.display=this.visibleItems>0&&!this.showAll&&i>=this.visibleItems?"none":""}))}))}get elementClass(){return{"spw-timeline":!0,"spw-timeline--vertical":!0}}shouldShowToggleButton(){const e=this.el.querySelectorAll("spw-timeline-item");return this.visibleItems>0&&e.length>this.visibleItems}render(){return t(i,{key:"5a946a9f72eaf694c95a6e389cd05e7c035d447e"},t("div",{key:"b77053be46bbefbe1e7b683d37e09b29697491ba",class:this.elementClass},t("slot",{key:"bef7bec9265481d21bd8bbb31ba7f4f6536685e1"})),this.shouldShowToggleButton()&&t("div",{key:"e55bf4fcce24e65a7d4da053c3bb2c72da20b8cf",class:{"spw-timeline__toggle":!0,"spw-timeline__toggle--more":!this.showAll,"spw-timeline__toggle--less":this.showAll}},t("span",{key:"a04f13df12d839d923038a1472b54fb1057b2294",class:"spw-timeline__toggle-btn",onClick:this.handleToggle},this.showAll?this.showLessText:this.showMoreText)))}get el(){return n(this)}};o.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-timeline{display:flex;gap:6px}.spw-timeline--horizontal{flex-direction:row}.spw-timeline--vertical{flex-direction:column;align-items:flex-start}.spw-timeline__toggle{margin-top:8px;padding-left:32px;margin-left:7px;border-left:3px dashed #d1d5db}.spw-timeline__toggle--less{border-left-color:transparent}.spw-timeline__toggle-btn{background:none;border:none;color:var(--spw-ds-primary);font-size:14px;font-weight:700;text-decoration:underline;cursor:pointer;padding:0}.spw-timeline__toggle-btn:hover{text-decoration:none}";export{o as spw_timeline}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,h as t,a as e}from"./p-Co4V4Zk-.js";const a=class{constructor(t){i(this,t),this.active=!1,this.disabled=!1,this.iconVariant="fa-regular",this.openOnClick=!1,this.hasDropdown=!1,this.dropdownOpen=!1,this.navExpanded=!1,this.hasActiveChild=!1,this.checkNavExpanded=()=>{this.navExpanded=document.body.classList.contains("spw-sidebar-expanded")},this.handleDropdownToggle=i=>{var t,e;if(i.preventDefault(),i.stopPropagation(),this.disabled)return;const a=this.el.querySelector("spw-sidebar-navigation-dropdown");a&&(a.open=!a.open,a.open?null===(t=a.setAttribute)||void 0===t||t.call(a,"open",""):null===(e=a.removeAttribute)||void 0===e||e.call(a,"open"),this.dropdownOpen=a.open)},this.handleItemClick=i=>{if(!this.disabled&&this.openOnClick&&this.hasDropdown){if(i.target.closest("spw-sidebar-navigation-item")!==this.el)return;i.preventDefault(),i.stopPropagation(),this.navExpanded?this.toggleDropdown():(document.body.classList.add("spw-sidebar-expanded"),setTimeout((()=>{this.openDropdown()}),300))}},this.openDropdown=()=>{var i;const t=this.el.querySelector("spw-sidebar-navigation-dropdown");t&&(t.open=!0,null===(i=t.setAttribute)||void 0===i||i.call(t,"open",""),this.dropdownOpen=!0)},this.toggleDropdown=()=>{var i,t;const e=this.el.querySelector("spw-sidebar-navigation-dropdown");e&&(e.open=!e.open,e.open?null===(i=e.setAttribute)||void 0===i||i.call(e,"open",""):null===(t=e.removeAttribute)||void 0===t||t.call(e,"open"),this.dropdownOpen=e.open)}}componentDidLoad(){this.checkForDropdown(),this.setupMutationObserver(),this.checkNavExpanded(),this.setupBodyClassObserver(),this.propagateActiveStateToParents()}componentDidUpdate(){this.checkForDropdown()}disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect(),this.bodyClassObserver&&this.bodyClassObserver.disconnect()}setupMutationObserver(){this.mutationObserver=new MutationObserver((()=>{this.checkForDropdown()})),this.mutationObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["open"]})}checkForDropdown(){var i;const t=this.el.querySelector("spw-sidebar-navigation-dropdown");this.hasDropdown=null!==t,this.dropdownOpen=!!t&&(!!t.open||(null===(i=t.hasAttribute)||void 0===i?void 0:i.call(t,"open")))}setupBodyClassObserver(){this.bodyClassObserver=new MutationObserver((()=>{this.checkNavExpanded()})),this.bodyClassObserver.observe(document.body,{attributes:!0,attributeFilter:["class"]})}propagateActiveStateToParents(){this.active&&this.activateParentItems();const i=this.el.querySelectorAll("spw-sidebar-navigation-item");Array.from(i).some((i=>!0===i.active||"true"===i.getAttribute("active")))&&(this.hasActiveChild=!0,this.openDropdown())}activateParentItems(){let i=this.el.parentElement;for(;i;){const t=i.closest("spw-sidebar-navigation-item");if(!t||t===this.el)break;{t.hasActiveChild=!0;const e=t.querySelector(":scope > spw-sidebar-navigation-dropdown");e&&(e.open=!0,e.setAttribute("open","")),i=t.parentElement}}}get classes(){return{"spw-sidebar-navigation-item":!0,"spw-sidebar-navigation-item--active":this.active||this.hasActiveChild,"spw-sidebar-navigation-item--disabled":this.disabled,"spw-sidebar-navigation-item--has-dropdown":this.hasDropdown,"spw-sidebar-navigation-item--dropdown-opened":this.dropdownOpen}}render(){const i=!this.href||this.disabled||this.openOnClick?"div":"a",e=t("spw-icon",{key:"4700c5778d91fb367ffcf90c55b31d1eb78282e7",variant:this.iconVariant,icon:this.icon}),a=t("div",{key:"2406404742b25ff81bebd21d17e397b631ab950c",class:"spw-sidebar-navigation-item__icon"},this.bubble&&t("span",{key:"1cffd6dae86d4f0c2e0443a8b0dbd174ca657999",class:"spw-sidebar-navigation-item__bubble"},this.bubble),e),n=this.tooltipTitle?t("spw-tooltip",{cursor:this.disabled?"disabled":"pointer","tooltip-title":this.tooltipTitle,direction:"right",visible:!this.navExpanded},a):a,o={"spw-sidebar-navigation-item__dropdown-toggle":!0,"spw-sidebar-navigation-item__dropdown-toggle--open":this.dropdownOpen};return t(i,{key:"ccb7079d463215f671582dfe3f4d41acb2a53c84",class:this.classes,href:this.openOnClick?void 0:this.href,"aria-disabled":this.disabled?"true":void 0,tabIndex:this.disabled?-1:0,onClick:this.openOnClick?this.handleItemClick:void 0},this.icon&&n,t("div",{key:"557a4716bddf11ddad7a738feeac2d2bbffad344",class:"spw-sidebar-navigation-item__content"},t("div",{key:"a7052155045a1d884b68bf8a83ab6387eef18c9d",class:"spw-sidebar-navigation-item__content-label"},t("slot",{key:"51bb492ca65770f8ddb4232fdf640a0b813dee4b"})),this.hasDropdown&&t("div",{key:"519714001a45ccfdd55b074f34fb2540b214b358",class:o,onClick:this.handleDropdownToggle,tabIndex:this.disabled?-1:0},t("spw-icon",{key:"fec943dfcfcb4ec8047df513aae3e34a2b66db7e",icon:"fa-chevron-down"})),t("slot",{key:"7f241804786a5a00dee11516dbee994779b05c4b",name:"dropdown"})))}get el(){return e(this)}};a.style='html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-sidebar-navigation-item{cursor:pointer;position:relative;display:flex;align-items:start;color:inherit;text-decoration:none;padding-right:16px;padding-left:0;font-size:16px;width:var(--spw-ds-bo-sidebar-expanded-width);color:var(--spw-colors-support-grey-grey-900);transition:all 0.2s ease;margin:8px 0}@media (max-width: 1023px){.spw-sidebar-navigation-item{padding-left:16px}}.spw-sidebar-navigation-dropdown .spw-sidebar-navigation-item{width:auto;margin:0}.spw-sidebar-navigation-item:hover{color:var(--spw-colors-support-grey-grey-900)}.spw-sidebar-navigation-item--active .spw-sidebar-navigation-item__icon,.spw-sidebar-navigation-item--active:hover .spw-sidebar-navigation-item__icon{color:var(--spw-ds-primary)}.spw-sidebar-navigation-item--disabled{cursor:not-allowed;opacity:0.3}spw-sidebar-navigation-dropdown .spw-sidebar-navigation-item{padding-right:0}.spw-sidebar-navigation-item spw-tooltip{line-height:1}.spw-sidebar-navigation-item__bubble{position:absolute;top:0;left:32px;display:inline-flex;align-items:center;justify-content:center;z-index:12;width:20px;height:20px;font-size:10px;line-height:1;border:3px solid white;border-radius:50%;background-color:var(--spw-ds-primary);color:white}.spw-sidebar-navigation-item__icon{position:relative;min-width:var(--spw-ds-bo-sidebar-width);width:var(--spw-ds-bo-sidebar-width);padding:12px 0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:18px}@media (max-width: 1023px){.spw-sidebar-navigation-item__icon{width:auto;min-width:auto}}.--expanded .spw-sidebar-navigation-item__icon{position:static}.spw-sidebar-navigation-item__icon:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;transform:translate(-50%, -50%);transition:all 0.2s ease}.spw-sidebar-navigation-item:not(.spw-sidebar-navigation-item--disabled):hover .spw-sidebar-navigation-item__icon:before{width:40px;height:40px;background-color:var(--spw-colors-support-grey-grey-200)}.--expanded .spw-sidebar-navigation-item:not(.spw-sidebar-navigation-item--disabled):hover .spw-sidebar-navigation-item__icon:before{width:calc(100% - 16px);height:100%}.spw-sidebar-navigation-item--dropdown-opened .spw-sidebar-navigation-item__icon:before,.spw-sidebar-navigation-item--dropdown-opened:hover .spw-sidebar-navigation-item__icon:before{width:0;height:0;background-color:var(--spw-colors-support-grey-grey-100) !important}.--expanded .spw-sidebar-navigation-item--dropdown-opened .spw-sidebar-navigation-item__icon:before,.--expanded .spw-sidebar-navigation-item--dropdown-opened:hover .spw-sidebar-navigation-item__icon:before{width:calc(100% - 16px);height:100%}.--expanded .spw-sidebar-navigation-item__icon:before{transition:background-color 0.2s ease;border-radius:4px}.spw-sidebar-navigation-item__icon spw-icon{position:relative;z-index:2}.spw-sidebar-navigation-item__content{padding:12px 0;flex:1;z-index:2;max-width:calc(var(--spw-ds-bo-sidebar-expanded-width) - var(--spw-ds-bo-sidebar-width) - 12px)}.spw-sidebar-navigation-dropdown .spw-sidebar-navigation-item__content{max-width:100%;padding:8px}.spw-sidebar-navigation-item__content-label{white-space:nowrap;overflow:hidden;display:block;text-overflow:ellipsis}@media (max-width: 1023px){.spw-sidebar-navigation-item__content-label{padding-left:12px}}.--expanded .spw-sidebar-navigation-item__content-label{white-space:normal;overflow:visible;text-overflow:none}.spw-sidebar-navigation-dropdown .spw-sidebar-navigation-item__content-label{font-size:14px}@media (max-width: 1023px){.spw-sidebar-navigation-dropdown .spw-sidebar-navigation-item__content-label{padding-left:0}}.spw-sidebar-navigation-item__dropdown-toggle{position:absolute;right:16px;top:10px;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;z-index:10;transition:background-color 0.2s ease}.spw-sidebar-navigation-dropdown .spw-sidebar-navigation-item__dropdown-toggle{right:8px;top:5px}.spw-sidebar-navigation-item__dropdown-toggle:hover{background-color:var(--spw-colors-support-grey-grey-300)}.spw-sidebar-navigation-dropdown .spw-sidebar-navigation-item__dropdown-toggle:hover{background-color:var(--spw-colors-support-grey-grey-400)}.spw-sidebar-navigation-item__dropdown-toggle spw-icon{font-size:14px;position:relative;color:var(--spw-colors-support-grey-grey-900);transition:transform 0.2s ease}.spw-sidebar-navigation-item__dropdown-toggle--open spw-icon{transform:rotate(180deg)}.--collapsed .spw-sidebar-navigation-item spw-sidebar-navigation-dropdown{display:none}.spw-sidebar-navigation-item--dropdown-opened>.spw-sidebar-navigation-item__content>.spw-sidebar-navigation-item__content-label{font-weight:bold}.spw-sidebar-navigation-item--has-dropdown>.spw-sidebar-navigation-item__content>.spw-sidebar-navigation-item__content-label{padding-right:32px}.spw-sidebar-navigation-item .spw-sidebar-navigation-item--dropdown-opened>.spw-sidebar-navigation-item__content{background:white;border-radius:4px}.spw-sidebar-navigation-dropdown .spw-sidebar-navigation-item{border-radius:4px}.spw-sidebar-navigation-dropdown .spw-sidebar-navigation-item:hover{background-color:var(--spw-colors-support-grey-grey-300)}.spw-sidebar-navigation-dropdown .spw-sidebar-navigation-item.spw-sidebar-navigation-item--active>.spw-sidebar-navigation-item__content>.spw-sidebar-navigation-item__content-label{color:var(--spw-ds-primary);font-weight:bold}@media (max-width: 1023px){.spw-sidebar-navigation-dropdown .spw-sidebar-navigation-item{padding-left:0;padding-right:0}}';export{a as spw_sidebar_navigation_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as e,H as r}from"./p-Co4V4Zk-.js";const o=class{constructor(e){i(this,e),this.wizardItemClick=t(this,"wizardItemClick",7),this.state="inactive",this.isLast="false",this.isClickable="false",this.isBeforeCurrent="false",this.isAfterCurrent="false",this.isCurrent="false",this.handleClick=()=>{"true"===this.isClickable&&this.wizardItemClick.emit(this.stepNumber)}}renderIcon(){const i=this.status||this.state;return"warning"===i?e("spw-icon",{variant:"fa-solid",icon:"fa-triangle-exclamation"}):"error"===i?e("spw-icon",{variant:"fa-solid",icon:"fa-xmark"}):this.icon?e("spw-icon",{variant:"fa-solid",icon:this.icon}):e("span",null,this.stepNumber)}get elementClass(){const i=this.status||this.state;return{"spw-wizard-item":!0,[`spw-wizard-item--${i}`]:!0,[`spw-wizard-item--${this.variant}`]:!0,"spw-wizard-item--clickable":"true"===this.isClickable,"spw-wizard-item--current":"true"===this.isCurrent,"spw-wizard-item--before-current":"true"===this.isBeforeCurrent,"spw-wizard-item--after-current":"true"===this.isAfterCurrent}}render(){const i="false"===this.isLast;return e(r,{key:"90bdc7c000be2257281014d92eef7237b9bfab25"},e("div",{key:"3c44adde161d24cffdbceb1036e73c0895fc7eec",class:this.elementClass,onClick:this.handleClick},e("div",{key:"e58c9780ea03174e1c8b20d389ab411d09dbb7d9",class:"spw-wizard-item__step"},e("div",{key:"60a9f6f938bb6f3225bc346885b15f13789bd0b0",class:"spw-wizard-item__icon"},this.renderIcon()),i&&e("div",{key:"adbab83e37e40ab36c471cfc7248f4742d60bf45",class:"spw-wizard-item__connector"})),e("div",{key:"c36b69d6d4167637fd9d71471dd0c06afc74390f",class:"spw-wizard-item__content"},this.label&&e("div",{key:"5b9524a000c531154ad184aa11394b4d889d66d2",class:"spw-wizard-item__label"},this.label),this.description&&e("div",{key:"6e0121cb665cb0fb90df0ebb0ffb80efdd6e5a72",class:"spw-wizard-item__description"},this.description),this.additionalInfo&&e("div",{key:"2cf6b99687e5c9531a6a45a287f29970f324fb24",class:"spw-wizard-item__additional-info"},this.additionalInfo))))}};o.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:flex;flex:1;flex-direction:column;align-items:center}:host:last-child{flex:0}.spw-wizard-item{display:flex;flex-direction:column;align-items:center;width:100%;cursor:not-allowed}.spw-wizard-item--vertical{position:relative;flex-direction:row;align-items:flex-start;gap:16px}.spw-wizard-item--clickable{cursor:pointer}.spw-wizard-item--clickable .spw-wizard-item__icon:hover{transform:scale(1.05)}.spw-wizard-item--current{cursor:default}.spw-wizard-item__step{display:flex;align-items:center;width:100%;position:relative;justify-content:center;font-size:18px;line-height:1;font-weight:700}.spw-wizard-item__step spw-icon{font-size:16px}.spw-wizard-item--vertical .spw-wizard-item__step{position:static;flex-direction:column;align-items:flex-start;justify-content:start;flex:1}.spw-wizard-item__icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:3px solid;flex-shrink:0;z-index:1;background-color:white;transition:all 0.3s ease;position:relative}.spw-wizard-item__icon svg{width:24px;height:24px}.spw-wizard-item__connector{position:absolute;left:50%;right:-50%;height:3px;transition:background-color 0.3s ease}.spw-wizard-item--vertical .spw-wizard-item__connector{top:0;left:14px;right:auto;width:3px;height:100%}.spw-wizard-item__label{display:block;margin-top:12px;font-size:16px;font-weight:700;text-align:center;color:var(--spw-color-themes-grey-grey-900);padding:0 8px}.spw-wizard-item--horizontal .spw-wizard-item__label{display:none}@media (min-width: 768px){.spw-wizard-item--horizontal .spw-wizard-item__label{display:block}}.spw-wizard-item--vertical .spw-wizard-item__label{text-align:left}.spw-wizard-item__description{display:block;margin-top:4px;font-size:14px;text-align:center;color:var(--spw-color-themes-grey-grey-700);padding:0 8px}.spw-wizard-item--vertical .spw-wizard-item__description{text-align:left}.spw-wizard-item--horizontal .spw-wizard-item__description{display:none}@media (min-width: 768px){.spw-wizard-item--horizontal .spw-wizard-item__description{display:block}}.spw-wizard-item__additional-info{display:block;margin-top:4px;font-size:12px;text-align:center;font-weight:700;color:var(--spw-ds-primary);padding:0 8px}.spw-wizard-item--horizontal .spw-wizard-item__additional-info{display:none}@media (min-width: 768px){.spw-wizard-item--horizontal .spw-wizard-item__additional-info{display:block}}.spw-wizard-item--vertical .spw-wizard-item__additional-info{text-align:left}.spw-wizard-item--vertical .spw-wizard-item__content{margin-top:-6px;margin-bottom:8px}.spw-wizard-item--inactive .spw-wizard-item__icon{border-color:#d1d5db;background-color:white;color:#d1d5db}.spw-wizard-item--inactive .spw-wizard-item__connector{background-color:#d1d5db}.spw-wizard-item--active .spw-wizard-item__icon{border-color:#16a34a;background-color:white;color:#16a34a}.spw-wizard-item--active .spw-wizard-item__connector{background-color:#d1d5db}.spw-wizard-item--completed .spw-wizard-item__icon{border-color:#16a34a;background-color:white;color:#16a34a}.spw-wizard-item--completed .spw-wizard-item__connector{background-color:#d1d5db}.spw-wizard-item--warning:not(.spw-wizard-item--current):not(.spw-wizard-item--before-current) .spw-wizard-item__icon{border-color:#d1d5db;background-color:white;color:#d1d5db}.spw-wizard-item--warning:not(.spw-wizard-item--current):not(.spw-wizard-item--before-current) .spw-wizard-item__connector{background-color:#d1d5db !important}.spw-wizard-item--error:not(.spw-wizard-item--current):not(.spw-wizard-item--before-current) .spw-wizard-item__icon{border-color:#d1d5db;background-color:white;color:#d1d5db}.spw-wizard-item--error:not(.spw-wizard-item--current):not(.spw-wizard-item--before-current) .spw-wizard-item__connector{background-color:#d1d5db !important}.spw-wizard-item--before-current.spw-wizard-item--completed .spw-wizard-item__connector{background-color:#16a34a !important}.spw-wizard-item--before-current.spw-wizard-item--warning .spw-wizard-item__icon{border-color:#f97316 !important;background-color:white !important;color:#f97316 !important}.spw-wizard-item--before-current.spw-wizard-item--warning .spw-wizard-item__connector{background-color:#f97316 !important}.spw-wizard-item--before-current.spw-wizard-item--error .spw-wizard-item__icon{border-color:#dc2626 !important;background-color:white !important;color:#dc2626 !important}.spw-wizard-item--before-current.spw-wizard-item--error .spw-wizard-item__connector{background-color:#dc2626 !important}.spw-wizard-item--current.spw-wizard-item--completed .spw-wizard-item__icon{border-color:#16a34a !important;background-color:#16a34a !important;color:white !important}.spw-wizard-item--current.spw-wizard-item--active .spw-wizard-item__icon{border-color:#16a34a !important;background-color:#16a34a !important;color:white !important}.spw-wizard-item--current.spw-wizard-item--warning .spw-wizard-item__icon{border-color:#f97316 !important;background-color:#f97316 !important;color:white !important}.spw-wizard-item--current.spw-wizard-item--warning .spw-wizard-item__connector{background-color:#d1d5db !important}.spw-wizard-item--current.spw-wizard-item--error .spw-wizard-item__icon{border-color:#dc2626 !important;background-color:#dc2626 !important;color:white !important}.spw-wizard-item--current.spw-wizard-item--error .spw-wizard-item__connector{background-color:#d1d5db !important}";export{o as spw_wizard_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as i,a as n}from"./p-Co4V4Zk-.js";const o=class{constructor(e){t(this,e),this.gap="medium",this.surface="light"}componentWillLoad(){this.applyVariantToChildren()}slotChanged(){this.applyVariantToChildren()}applyVariantToChildren(){requestAnimationFrame((()=>{const t=`--${this.surface}`;this.el.querySelectorAll("spw-list-item").forEach((e=>{e.classList.add(t),e.setAttribute("surface",this.surface)}))}))}get elementClass(){return{"spw-list":!0,[`spw-list--${this.gap}`]:!0}}render(){return e(i,{key:"f0d761c29dcd8d941405051fe61ab5d34530a6ba"},e("ul",{key:"5bc5e5b4a6698383f77925db8115d7706389e61a",role:"list",class:this.elementClass},e("slot",{key:"47f63bb4ba132b5187c0c71456e83eea7e5f50f0"})))}get el(){return n(this)}};o.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-list{display:flex;flex-direction:column}.spw-list--small{gap:12px}.spw-list--medium{gap:24px}.spw-list--large{gap:32px}";export{o as spw_list}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as o,a as i}from"./p-Co4V4Zk-.js";const s=class{constructor(t){e(this,t),this.disabled=!1,this.iconVariant="fa-regular",this.hasSubItems=!1,this.subItemsOpen=!1,this.handleToggleSubItems=e=>{e.preventDefault(),e.stopPropagation(),this.disabled||(this.subItemsOpen=!this.subItemsOpen)},this.handleItemClick=e=>{this.disabled||this.hasSubItems&&!this.href&&(e.preventDefault(),e.stopPropagation(),this.subItemsOpen=!this.subItemsOpen)}}componentDidLoad(){this.checkForSubItems(),this.setupMutationObserver(),setTimeout((()=>{this.checkForSubItems()}),0)}componentDidUpdate(){this.checkForSubItems()}disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect()}setupMutationObserver(){this.mutationObserver=new MutationObserver((()=>{this.checkForSubItems()})),this.mutationObserver.observe(this.el,{childList:!0,subtree:!0})}checkForSubItems(){const e=this.el.querySelector('[slot="sub-items"]'),t=null!==e&&(e.children.length>0||e.childNodes.length>0);this.hasSubItems!==t&&(this.hasSubItems=t)}get classes(){return{"spw-dropdown-item":!0,"spw-dropdown-item--disabled":this.disabled,"spw-dropdown-item--has-sub-items":this.hasSubItems,"spw-dropdown-item--sub-items-open":this.subItemsOpen}}render(){const e={"spw-dropdown-item__toggle":!0,"spw-dropdown-item__toggle--open":this.subItemsOpen};return t(o,{key:"64d51205ea8e220d8d3d22c6163ffae1def82892"},t(this.href&&!this.disabled?"a":"div",{key:"5cfb7b0bd5d57228f49efb175bfa01c2b1678c8c",class:this.classes,href:this.href,"aria-disabled":this.disabled?"true":void 0,onClick:this.handleItemClick},this.icon&&t("div",{key:"b397503e12d41f4b3f339d73aa014942ee94b70e",class:"spw-dropdown-item__icon"},t("spw-icon",{key:"0545ea4d6f163007279e315bbb0fd80c6f5e22a2",variant:this.iconVariant,icon:this.icon})),t("div",{key:"eff42c92481ce24a1807f7eb97ce0df4092b3310",class:"spw-dropdown-item__content"},t("div",{key:"8735e69e60341295fdb844af88704ce040aa0cd8",class:"spw-dropdown-item__label"},t("slot",{key:"8f186c331628491298a61ca203e1ef1d9f80825e"})),this.hasSubItems&&t("div",{key:"91c60f4dd34200d5e575a7cec98e6f690c6195ef",class:e,onClick:this.handleToggleSubItems},t("spw-icon",{key:"c563396ee0b6e27f81be1466f2d9c7b8f03b9c70",icon:"fa-chevron-down"})))),this.hasSubItems&&t("div",{key:"41325cd7b9755084a80ed15ebb7e505a1d5ca0a0",class:"spw-dropdown-item__sub-items",style:{display:this.subItemsOpen?"block":"none"}},t("slot",{key:"927d7b7b3b9206ea64a4b930d3f91d76d49128e1",name:"sub-items"})))}get el(){return i(this)}};s.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-dropdown-item{cursor:pointer;position:relative;display:flex;align-items:center;gap:8px;padding:8px 12px;color:var(--spw-colors-support-grey-grey-900);text-decoration:none;transition:background-color 0.2s ease;font-size:14px;border-radius:4px}.spw-dropdown-item:hover{background-color:var(--spw-colors-support-grey-grey-200)}.spw-dropdown-item--disabled{cursor:not-allowed;opacity:0.5;pointer-events:none}.spw-dropdown-item--has-sub-items{padding-right:32px}.spw-dropdown-item--sub-items-open{background-color:var(--spw-colors-support-grey-grey-100)}.spw-dropdown-item__icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;font-size:14px;color:var(--spw-colors-support-grey-grey-700)}.spw-dropdown-item__content{flex:1;display:flex;align-items:center;justify-content:space-between;position:relative}.spw-dropdown-item__label{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spw-dropdown-item__toggle{position:absolute;right:-24px;top:50%;transform:translateY(-50%);width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;transition:background-color 0.2s ease, transform 0.2s ease}.spw-dropdown-item__toggle:hover{background-color:var(--spw-colors-support-grey-grey-300)}.spw-dropdown-item__toggle spw-icon{font-size:12px;color:var(--spw-colors-support-grey-grey-900);transition:transform 0.2s ease}.spw-dropdown-item__toggle--open spw-icon{transform:rotate(180deg)}.spw-dropdown-item__sub-items{padding-left:16px;margin-top:4px}.spw-dropdown-item__sub-items spw-dropdown-item{font-size:13px}";export{s as spw_dropdown_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as i,a as r}from"./p-Co4V4Zk-.js";const s=class{constructor(i){e(this,i),this.spwChange=t(this,"spwChange",7),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals),this.disabled=!1,this.checked=!1,this.error=!1}handleRadio(e){if(this.disabled)return null==e||e.preventDefault(),void(null==e||e.stopPropagation());this.internalChecked||(this.setCheckedState(!0),this.spwChange.emit({checked:this.internalChecked,value:this.value}),this.uncheckOthers())}uncheckOthers(){const e=this.el.closest("form");e&&Array.from(e.querySelectorAll(`spw-radio[name="${this.name}"]`)).forEach((e=>{e!==this.el&&e.setChecked(!1)}))}async setChecked(e){this.disabled||this.setCheckedState(e)}checkedChanged(e){this.setCheckedState(e),e&&this.uncheckOthers()}setCheckedState(e){this.internalChecked=e,this.checked=e,this.inputElement&&(this.inputElement.checked=e),this.updateFormValue()}updateFormValue(){this.internals.setFormValue(this.internalChecked?this.value:null)}handleKeydown(e){" "!==e.key&&"Enter"!==e.key||(this.handleRadio(),e.preventDefault())}componentWillLoad(){this.internalChecked=this.checked,this.defaultChecked=this.checked}componentDidLoad(){var e;this.setCheckedState(this.internalChecked),null===(e=this.el.closest("form"))||void 0===e||e.addEventListener("formdata",(e=>{this.internalChecked&&e.formData.set(this.name,this.value)}))}formResetCallback(){this.setCheckedState(this.defaultChecked)}get elementClass(){return{"spw-radio__wrapper":!0,"spw-radio__wrapper--disabled":this.disabled,"spw-radio__wrapper--checked":this.internalChecked,"spw-radio__wrapper--error":this.error}}render(){const e=Boolean(this.el.innerHTML);return i("div",{key:"a781adf38f9770b007e32e827af954e56a30c7f2",class:"spw-radio"},i("input",{key:"8a69300ce3b900c0ee7ea36253cf7ec816f70398",type:"radio",ref:e=>this.inputElement=e,checked:this.internalChecked,"aria-checked":this.internalChecked?"true":"false",onChange:this.handleRadio.bind(this),name:this.name,value:this.value,disabled:this.disabled,style:{display:"none"}}),e&&i("label",{key:"8c06d8b2581204f2ddbdbd1440694052039498a0",class:"spw-radio__label "+(this.disabled?"spw-radio__label--disabled":""),onClick:e=>this.handleRadio(e)},i("slot",{key:"9434b6826bc54470f91e5529acf6150348b8b437"})),i("div",{key:"34ce75e3e5ef4bfbc3893d77fa585ad952770275",tabIndex:this.disabled?-1:0,onClick:e=>this.handleRadio(e),onKeyDown:this.handleKeydown.bind(this),role:"radio","aria-checked":this.internalChecked?"true":"false","aria-disabled":this.disabled,"aria-label":this.accAriaLabel||this.name,class:this.elementClass},this.internalChecked&&i("span",{key:"16d4f2247dd961d5d9f5c9dfccc600dab309548d",class:"spw-radio__circle"})))}static get formAssociated(){return!0}get el(){return r(this)}static get watchers(){return{checked:[{checkedChanged:0}]}}};s.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:inline-flex;vertical-align:top}.spw-radio{display:inline-flex;flex-direction:row;align-items:flex-start;padding:0}.spw-radio__wrapper{display:flex;position:relative;justify-content:center;align-items:center;width:20px;height:20px;background-color:var(--spw-ds-white);border:2px solid var(--spw-color-themes-grey-grey-900);border-radius:var(--spw-spacings-border-radius-full);font-size:var(--spw-typography-font-size-xs);flex:none;order:0;flex-grow:0}.spw-radio__wrapper--error{border-color:var(--spw-color-states-error-error-300)}.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):focus-visible,.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):active,.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):focus-within{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__wrapper--disabled{border-color:var(--spw-color-themes-grey-grey-500)}.spw-radio__wrapper--checked{border-color:var(--spw-ds-primary);color:var(--spw-ds-primary)}.spw-radio__wrapper--checked--disabled{color:var(--spw-color-themes-grey-grey-500)}.spw-radio__circle{width:10px;height:10px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:var(--spw-spacings-border-radius-full);background:var(--spw-ds-primary);display:block}.spw-radio__label{color:var(--spw-color-themes-grey-grey-900);word-wrap:break-word;order:1;padding-top:1px;user-select:none;padding-left:var(--spw-spacings-spacing-sm)}.spw-radio__label:hover~.spw-radio__wrapper:not(.spw-radio__wrapper--disabled){outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__label:active~.spw-radio__wrapper:not(.spw-radio__wrapper--disabled){outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__label--disabled{color:var(--spw-color-themes-grey-grey-600)}.spw-radio__wrapper:hover,.spw-radio__label:hover{cursor:pointer}.spw-radio__wrapper--disabled:hover,.spw-radio__label--disabled:hover{cursor:not-allowed}";export{s as spw_radio}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-Co4V4Zk-.js";const n=class{constructor(e){t(this,e)}render(){return e("thead",{key:"bcf6e652ad90ca539067497316ce21faf5c9b97a",part:"thead"},e("slot",{key:"809253308d029c5979b28c8b426a53483f2912ae"}))}};n.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:contents}@media (max-width: 767px){:host{display:none}}";export{n as spw_table_head}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as i}from"./p-Co4V4Zk-.js";const n=class{constructor(t){e(this,t),this.lineClamp=3}get elementClass(){const e="none"!==this.lineClamp;return{"spw-card-excerpt":!0,"spw-card-excerpt--has-clamp":e,[`spw-card-excerpt--clamp-${this.lineClamp}`]:e}}render(){return t(i,{key:"94f53e8e2d7a9c333ab2320ca3f37d13657fece3"},t("div",{key:"84c391bea45ccec30809e488c8ff12d2e921edbb",class:this.elementClass},t("slot",{key:"d9b85510693fe08e8b9951ab7395dca3ebfaa0d9"})))}};n.style='html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host(.--people){flex:1}:host(.--people) ::slotted(spw-link){--spw-link-color:#000;--spw-link-hover-color:#000;--spw-link-active-color:#000;--spw-link-font-weight:400}.spw-card-excerpt{color:var(--spw-color-themes-grey-grey-600);font-family:"Nunito Sans";font-size:16px;line-height:1.3;margin-top:12px}.spw-card-excerpt--has-clamp{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis}:host(.--people) .spw-card-excerpt{margin-top:0;font-size:16px;color:var(--spw-color-themes-grey-grey-900)}:host(.--highlighted) .spw-card-excerpt{color:white}:host(.--sidebar) .spw-card-excerpt{margin-top:8px}.spw-card-excerpt--clamp-1{-webkit-line-clamp:1;line-clamp:1}.spw-card-excerpt--clamp-2{-webkit-line-clamp:2;line-clamp:2}.spw-card-excerpt--clamp-3{-webkit-line-clamp:3;line-clamp:3}.spw-card-excerpt--clamp-4{-webkit-line-clamp:4;line-clamp:4}.spw-card-excerpt--clamp-5{-webkit-line-clamp:5;line-clamp:5}.spw-card-excerpt--clamp-6{-webkit-line-clamp:6;line-clamp:6}.spw-card-excerpt--clamp-7{-webkit-line-clamp:7;line-clamp:7}.spw-card-excerpt--clamp-8{-webkit-line-clamp:8;line-clamp:8}.spw-card-excerpt--clamp-9{-webkit-line-clamp:9;line-clamp:9}.spw-card-excerpt--clamp-10{-webkit-line-clamp:10;line-clamp:10}';export{n as spw_card_excerpt}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as i,a as n}from"./p-Co4V4Zk-.js";const o=class{constructor(t){e(this,t),this.viewMoreText="Voir plus",this.shouldShowViewMore=!1,this.parentHref="#",this.parentTarget="_self",this.dropdownLevel=1,this.isMegamenu=!1}componentDidLoad(){this.calculateDropdownLevel(),this.isMegamenu=this.isParentMegamenu(),this.checkIfShouldShowViewMore();const e=this.el.shadowRoot.querySelector("slot");e&&new MutationObserver((()=>{this.checkIfShouldShowViewMore()})).observe(e,{childList:!0,subtree:!0})}calculateDropdownLevel(){let e=1,t=this.el.parentElement;for(;t&&"SPW-HEADER-NAVIGATION"!==t.tagName;)"SPW-HEADER-NAVIGATION-DROPDOWN"===t.tagName&&e++,t=t.parentElement;this.dropdownLevel=e}checkIfShouldShowViewMore(){if(2!==this.dropdownLevel)return void(this.shouldShowViewMore=!1);if(!this.isMegamenu)return void(this.shouldShowViewMore=!1);const e=this.el.shadowRoot.querySelector("slot");if(!e)return;const t=e.assignedElements({flatten:!0}),i=Array.from(t).filter((e=>"SPW-HEADER-NAVIGATION-ITEM"===e.tagName)).filter((e=>"3"===e.getAttribute("data-level")));this.getParentLink(),this.shouldShowViewMore=i.length>7||0===i.length}isParentMegamenu(){let e=this.el.parentElement;for(;e;){if("SPW-HEADER-NAVIGATION-ITEM"===e.tagName&&"1"===e.getAttribute("data-level"))return"megamenu"===e.getAttribute("variant");e=e.parentElement}return!1}getParentLink(){let e=this.el.parentElement;for(;e;){if("SPW-HEADER-NAVIGATION-ITEM"===e.tagName){const t=e.querySelector("a");t&&(this.parentHref=t.getAttribute("href")||"#",this.parentTarget=t.getAttribute("target")||"_self");break}e=e.parentElement}}render(){return t(i,{key:"ba7103f29234e8bae802d8aecf08f942b9fa5481",class:{"spw-header-navigation-dropdown--is-megamenu":this.isMegamenu}},t("div",{key:"7371574a8be7084a053cf9fa91eb5c5239fd0769",class:"spw-header-navigation-dropdown"},t("slot",{key:"1609aa6db756e127e8cd5ca954fee0c4c0b63486"}),this.shouldShowViewMore&&t("spw-link",{key:"226401939eb4327ebe413c73860e58439fb7e7c7",icon:"fa-arrow-right",class:"spw-header-navigation-item--view-more",href:this.parentHref,target:this.parentTarget},this.viewMoreText)))}get el(){return n(this)}};o.style='html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:contents}.spw-header-navigation-dropdown--is-megamenu{display:contents}@media (min-width: 1024px){.spw-header-navigation-dropdown--is-megamenu{width:100%;max-width:var(--spw-ds-container-lg);margin:0 auto;display:flex;flex-wrap:wrap;padding:16px 0}}@media (min-width: 1350px){.spw-header-navigation-dropdown--is-megamenu{max-width:var(--spw-ds-container-xl)}}@media (min-width: 1024px){:host(.spw-header-navigation-dropdown--is-megamenu) ::slotted(spw-header-navigation-item[data-level="3"]:nth-child(n+8)){display:none}}.spw-header-navigation-item--view-more{display:none !important}@media (min-width: 1024px){.spw-header-navigation-item--view-more{display:block !important;padding:8px 16px;border-left:1px solid var(--spw-colors-support-grey-grey-300);font-size:14px}}';export{o as spw_header_navigation_dropdown}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as i,a as s}from"./p-Co4V4Zk-.js";const a=class{constructor(t){e(this,t),this.hasImage=!1,this.childHoveredCount=0,this.variant="news",this.elementType="a",this.target="_self",this.fullHeight=!1,this.disabled=!1,this.onNestedCardEnter=()=>{this.childHoveredCount++,this.setImageHovered(!1)},this.onNestedCardLeave=()=>{this.childHoveredCount=Math.max(0,this.childHoveredCount-1),0===this.childHoveredCount&&this.isPointerInside(this.el)&&this.setImageHovered(!0)}}componentWillLoad(){this.checkForImage(),this.applyVariantToChildren(),this.attachNestedCardListeners()}slotChanged(){this.checkForImage(),this.applyVariantToChildren(),this.attachNestedCardListeners()}onMouseEnter(){0===this.childHoveredCount&&this.setImageHovered(!0)}onMouseLeave(){this.setImageHovered(!1)}attachNestedCardListeners(){requestAnimationFrame((()=>{this.el.querySelectorAll("spw-card").forEach((e=>{e.addEventListener("mouseenter",this.onNestedCardEnter.bind(this),!0),e.addEventListener("mouseleave",this.onNestedCardLeave.bind(this),!0)}))}))}isPointerInside(e){const t=e.getBoundingClientRect(),{left:i,top:s,right:a,bottom:n}=t,{clientX:o,clientY:r}=window;return o>=i&&o<=a&&r>=s&&r<=n}checkForImage(){requestAnimationFrame((()=>{const e=this.el.querySelector("spw-card-image"),t=this.el.querySelector("spw-card-content");this.hasImage=!!e,this.hasImage||null==t||t.classList.add("--no-image")}))}formatDate(e){if(!e)return[];const i=e.split("/");return i.flatMap(((e,s)=>s<i.length-1?[t("span",null,e),t("span",null,"/")]:[t("span",null,e)]))}applyVariantToChildren(){requestAnimationFrame((()=>{const e=`--${this.variant}`,t=this.el.querySelector("spw-card-content"),i=this.el.querySelector("spw-card-image"),s=this.el.querySelector("spw-card-title"),a=this.el.querySelector("spw-card-excerpt"),n=this.el.querySelector("spw-card-subtags");null==t||t.classList.add(e),null==i||i.classList.add(e),null==s||s.classList.add(e),null==a||a.classList.add(e),null==n||n.classList.add(e)}))}setImageHovered(e){const t=this.el.querySelector("spw-card-image"),i=this.el.querySelector("spw-card-title");t&&this.href&&t.classList.toggle("--hovered",e),i&&this.href&&i.classList.toggle("--hovered",e)}get elementClass(){return{"spw-card":!0,"spw-card--hoverable":!!this.href,"spw-card--no-image":!this.hasImage,[`spw-card--${this.variant}`]:!0}}render(){const{href:e,rel:s,target:a,dateStart:n,dateEnd:o,variant:r}=this,d=void 0===this.href?"div":"a",p="div"===d?{}:{href:e,rel:s,target:a},c={"aria-label":null==this?void 0:this.accAriaLabel,"aria-disabled":this.disabled?"true":null};return t(i,{key:"1ba4f06ba66af1625688a01d08c34fab95499577",class:{"--is-full-height":this.fullHeight}},t("article",{key:"135ae12d051e9ebc078029c99ac52ea49bf540db",class:this.elementClass},"event"===r&&t(d,Object.assign({key:"99c5e749128c5293c44ddeb4c85bf143dbe3c6b1"},p,{class:"spw-card__dates"}),n&&t("div",{key:"fcf0661e3aae2de10ad7b845da453553662b3154",class:"spw-card__date-item"},this.formatDate(n)),o&&t("div",{key:"11cc7956f31154ac081e6e819294fcfe6aafff5d",class:"spw-card__date-item"},this.formatDate(o))),t(d,Object.assign({key:"bc3380c036847c8ac197e731f05f0333a2734634"},p,c,{class:"spw-card__link"}),t("slot",{key:"c4c0f79011ee0ca8a893a080c177f17c51526768"}))))}get el(){return s(this)}};a.style='@charset "UTF-8";html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;position:relative;width:100%;--spw-card-background:var(--spw-ds-white);--spw-card-box-shadow:var(--spw-effect-elevation-6);--spw-card-border:none}:host[data-modal-trigger]{cursor:pointer}:host(.--is-full-height){height:100%}.spw-card{display:block;border-radius:5px;background:var(--spw-card-background);box-shadow:var(--spw-card-box-shadow);border:var(--spw-card-border);transition:all 0.3s ease-in-out}:host(.--is-full-height) .spw-card{height:100%}.spw-card--hoverable:hover{box-shadow:var(--spw-effect-elevation-4);transform:translateY(-5px)}.spw-card__dates{cursor:pointer;position:absolute;top:50%;left:0;transform:translate(-50%, -50%);flex-direction:column;line-height:1.1;width:80px;height:80px;text-align:center;color:white;display:inline-flex;align-items:center;justify-content:center;background:var(--spw-ds-primary);border-radius:50%;font-size:18px;text-decoration:none;z-index:2}.spw-card__date-item span:first-of-type{font-weight:bold}.spw-card__link{display:block;height:100%;width:100%;color:inherit;text-decoration:none}.spw-card--no-image .spw-card__link{padding-top:15px}.spw-card__link:focus-visible{outline:3px solid white;outline-offset:-1px;box-shadow:0 0 0 5px black;border-radius:5px}.spw-card--vertical .spw-card__link,.spw-card--video .spw-card__link{display:flex;min-height:240px}.spw-card--event .spw-card__link{display:flex}.spw-card--sidebar{box-shadow:none}.spw-card--sidebar:hover{box-shadow:none}.spw-card--sidebar .spw-card__link{display:flex;gap:16px}.spw-card--event{position:relative;width:calc(100% - 40px);left:40px}.spw-card--rounded-picture{box-shadow:none;background:transparent}.spw-card--rounded-picture:hover{box-shadow:none}.spw-card--rounded-picture .spw-card__link{display:flex;flex-direction:column}';export{a as spw_card}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as o,a as s}from"./p-Co4V4Zk-.js";const n=class{constructor(i){t(this,i),this.spwLightboxItemClick=e(this,"spwLightboxItemClick",7),this.alt="",this.copyrightIcon="fa-copyright",this.copyrightIconVariant="fa-light",this.copyrightTarget="_blank",this.textOpenImage="Ouvrir l'image",this.isHover=!0,this.hoverIcon="fa-magnifying-glass"}getIndex(){const t=this.hostElement.closest("spw-lightbox");return t?Array.from(t.querySelectorAll("spw-lightbox-item")).indexOf(this.hostElement):0}handleClick(){this.spwLightboxItemClick.emit({src:this.src,alt:this.alt,captionTitle:this.captionTitle||"",captionText:this.captionText||"",index:this.getIndex()})}handleKeydown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.handleClick())}render(){return i(o,{key:"e0a1b9ba9e2a4c33e939eb44ad70d5b9474b7f98"},i("div",{key:"8fa6be30d88c4ad0985b21699eca9b1733c95002",class:{"spw-lightbox-item__wrapper":!0,"spw-lightbox-item__wrapper--hoverable":this.isHover},role:"button",tabindex:"0","aria-label":this.alt||this.textOpenImage,onClick:()=>this.handleClick(),onKeyDown:t=>this.handleKeydown(t)},i("slot",{key:"780cc51e40ecd7509c618a3610168f9742f274ef"},i("img",{key:"230ce5be541a1bb669576f3fab40bda4332cb16f",class:"spw-lightbox-item__img",src:this.src,alt:this.alt,loading:"lazy"})),this.isHover&&i("div",{key:"7b02bc0d790df3f55a31ec9cb51cdd47241ba17f",class:"spw-lightbox-item__hover-overlay"},i("spw-icon",{key:"8a3398b30350959fedc6babd7d36cf102e7c31be",icon:this.hoverIcon}))))}get hostElement(){return s(this)}};n.style='html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;cursor:pointer;border-radius:4px;outline:none;height:100%}.spw-lightbox-item__wrapper{position:relative;width:100%;height:100%;overflow:hidden;border-radius:4px}.spw-lightbox-item__wrapper:focus-visible{outline:3px solid #fff;outline-offset:-1px;box-shadow:0 0 0 5px #000}.spw-lightbox-item__img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity 0.15s}::slotted(img){display:block;width:100%;height:100%;object-fit:cover}.spw-lightbox-item__wrapper--hoverable{transition:box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out}.spw-lightbox-item__wrapper--hoverable:hover{box-shadow:var(--spw-effect-elevation-4);transform:translateY(-5px)}.spw-lightbox-item__hover-overlay{position:absolute;z-index:2;display:flex;visibility:hidden;top:0;left:0;width:100%;height:100%;color:white;justify-content:center;align-items:center;opacity:0;transition:all 0.3s ease}.spw-lightbox-item__hover-overlay:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:black;opacity:0.4}.spw-lightbox-item__hover-overlay spw-icon{position:relative;z-index:1;font-size:30px;font-weight:300;transform:scale(1.5);transition:all 0.3s ease}:host(:hover) .spw-lightbox-item__hover-overlay{visibility:visible;opacity:1}:host(:hover) .spw-lightbox-item__hover-overlay spw-icon{transform:scale(1)}';export{n as spw_lightbox_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as i,a as s}from"./p-Co4V4Zk-.js";const o=class{constructor(t){e(this,t),this.defaultExpanded=!1,this.hasTopbar=!1,this.BODY_CLASS="spw-sidebar-expanded",this.toggleSidebar=()=>{this.expanded=!this.expanded,document.body.classList.toggle(this.BODY_CLASS,this.expanded)},this.checkTopbarClass=()=>{this.hasTopbar=document.body.classList.contains("has-topbar")},this.checkExpandedState=()=>{const e=document.body.classList.contains(this.BODY_CLASS);this.expanded!==e&&(this.expanded=e)}}componentWillLoad(){this.expanded=this.defaultExpanded,this.expanded&&document.body.classList.add(this.BODY_CLASS),this.checkTopbarClass(),this.observeBodyClassChanges()}disconnectedCallback(){var e;document.body.classList.remove(this.BODY_CLASS),null===(e=this.observer)||void 0===e||e.disconnect()}async open(){this.expanded||(this.expanded=!0,document.body.classList.add(this.BODY_CLASS))}async close(){this.expanded&&(this.expanded=!1,document.body.classList.remove(this.BODY_CLASS))}async toggle(){this.expanded=!this.expanded,document.body.classList.toggle(this.BODY_CLASS,this.expanded)}observeBodyClassChanges(){this.observer=new MutationObserver((()=>{this.checkTopbarClass(),this.checkExpandedState()})),this.observer.observe(document.body,{attributes:!0,attributeFilter:["class"]})}get hostClass(){return{"--expanded":this.expanded,"--collapsed":!this.expanded}}get elementClass(){return{"spw-sidebar":!0,"spw-sidebar--expanded":this.expanded,"spw-sidebar--collapsed":!this.expanded,"spw-sidebar--with-topbar":this.hasTopbar}}render(){return t(i,{key:"85674117e60989814f7d7a37f3dd3b904379d110",class:this.hostClass},t("div",{key:"a7dc79b161de709d47cda189859f6fbddf816035",class:this.elementClass},t("span",{key:"ee66487ae37380cc48444f049bd9aaef8c597928",class:"spw-sidebar__toggle",onClick:this.toggleSidebar,"aria-expanded":this.expanded.toString()},t("spw-icon",{key:"479cf95d769990758fd766ebed32554863cf7508",icon:"fa-chevron-right"})),t("div",{key:"3d96559cf723cd903a77fb943ba58cca0036b96a",class:"spw-sidebar__content"},t("slot",{key:"62d878e457b129647df984e5b960b9fd61a9b0fa",name:"navigation-top"}),t("slot",{key:"fca6deed9ea823420628c03078e53b7cdd502e49",name:"navigation-bottom"})),t("div",{key:"67d0697a069f050892328f652b4e6930deb7a3fa",class:"spw-sidebar__resize-border",onClick:this.toggleSidebar})))}get el(){return s(this)}};o.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;height:100%}.spw-sidebar{height:100%;width:var(--spw-ds-bo-sidebar-width);display:flex;flex-direction:column;background:white;border-right:1px solid var(--spw-colors-support-grey-grey-300);position:fixed;top:0;left:0;z-index:800}@media (min-width: 1024px){.spw-sidebar{transition:width 0.2s ease}}.spw-sidebar--with-topbar{top:var(--spw-ds-bo-topbar-height);height:calc(100% - var(--spw-ds-bo-topbar-height))}.spw-sidebar__toggle{display:none}@media (min-width: 1024px){.spw-sidebar__toggle{position:absolute;right:0;top:67px;flex-basis:auto;width:20px;padding:6px 0;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;box-shadow:var(--spw-effect-elevation-6);border:1px solid var(--spw-colors-support-grey-grey-300);cursor:pointer;font-size:13px;z-index:20;transform:translateX(50%);background:white;line-height:1}.spw-sidebar__toggle spw-icon{position:relative;transition:transform 0.15s 0.2s ease}.spw-sidebar--expanded .spw-sidebar__toggle spw-icon{transform:rotate(180deg)}}.spw-sidebar__content{overflow:hidden;flex:1 1 auto;overflow-y:auto;padding:16px 0;display:flex;flex-direction:column;justify-content:space-between}.spw-sidebar__content::-webkit-scrollbar{width:14px;height:14px}.spw-sidebar__content::-webkit-scrollbar-thumb{background:var(--spw-color-themes-grey-grey-400);border-radius:20px;border:4px solid var(--spw-ds-white)}.spw-sidebar__content::-webkit-scrollbar-track{background:var(--spw-ds-white)}.spw-sidebar__content{scrollbar-face-color:var(--spw-color-themes-grey-grey-400);scrollbar-track-color:var(--spw-ds-white)}@media (max-width: 1023px){.spw-sidebar__content{padding:0}}.spw-sidebar--expanded{width:var(--spw-ds-bo-sidebar-expanded-width)}.spw-sidebar--collapsed{width:var(--spw-ds-bo-sidebar-width)}.spw-sidebar__resize-border{display:none;position:absolute;top:0;right:0;width:10px;height:100%;transform:translateX(50%);cursor:col-resize;align-items:center;justify-content:center;background:transparent;z-index:10}";export{o as spw_sidebar}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as i,a as o}from"./p-Co4V4Zk-.js";const n=class{constructor(e){t(this,e)}render(){var t,o,n,s,a,r;return e(i,{key:"7e1c7f9af9094cab0544d2d63ace649048ebeaf3",style:{"--spw-grid-item-col-span-mobile":(null===(t=this.colSpanMobile)||void 0===t?void 0:t.toString())||"auto","--spw-grid-item-col-span-tablet":(null===(o=this.colSpanTablet)||void 0===o?void 0:o.toString())||"auto","--spw-grid-item-col-span-desktop":(null===(n=this.colSpanDesktop)||void 0===n?void 0:n.toString())||"auto","--spw-grid-item-row-span-mobile":(null===(s=this.rowSpanMobile)||void 0===s?void 0:s.toString())||"auto","--spw-grid-item-row-span-tablet":(null===(a=this.rowSpanTablet)||void 0===a?void 0:a.toString())||"auto","--spw-grid-item-row-span-desktop":(null===(r=this.rowSpanDesktop)||void 0===r?void 0:r.toString())||"auto"}},e("slot",{key:"0894fd864649d968d5d3899ce34cbcece700a86a"}))}get el(){return o(this)}};n.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;grid-column:span var(--spw-grid-item-col-span-mobile, auto);grid-row:span var(--spw-grid-item-row-span-mobile, auto)}@media (min-width: 768px){:host{grid-column:span var(--spw-grid-item-col-span-tablet, auto);grid-row:span var(--spw-grid-item-row-span-tablet, auto)}}@media (min-width: 1024px){:host{grid-column:span var(--spw-grid-item-col-span-desktop, auto);grid-row:span var(--spw-grid-item-row-span-desktop, auto)}}";export{n as spw_grid_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as i}from"./p-Co4V4Zk-.js";const n=class{constructor(t){e(this,t)}get elementClass(){return{"spw-list-description":!0,"spw-list-description--has-clamp":"none"!==this.lineClamp,[`spw-list-description--clamp-${this.lineClamp}`]:!0}}render(){return t(i,{key:"1acb8335f45d7ffb0e2cb9fc8d1bbd44567511f1"},t("div",{key:"dd9fa74ca7ec1021de985fd064e7f8ae25ea0a03",class:this.elementClass},t("slot",{key:"eafa4bbebf071a426b72e6e675b2c9a3ac9538cc"})))}};n.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-list-description{margin-top:6px;color:var(--spw-color-themes-grey-grey-800);font-size:16px;line-height:1.25}.spw-list-description--has-clamp{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis}.spw-list-description--clamp-1{-webkit-line-clamp:1;line-clamp:1}.spw-list-description--clamp-2{-webkit-line-clamp:2;line-clamp:2}.spw-list-description--clamp-3{-webkit-line-clamp:3;line-clamp:3}.spw-list-description--clamp-4{-webkit-line-clamp:4;line-clamp:4}.spw-list-description--clamp-5{-webkit-line-clamp:5;line-clamp:5}.spw-list-description--clamp-6{-webkit-line-clamp:6;line-clamp:6}.spw-list-description--clamp-7{-webkit-line-clamp:7;line-clamp:7}.spw-list-description--clamp-8{-webkit-line-clamp:8;line-clamp:8}.spw-list-description--clamp-9{-webkit-line-clamp:9;line-clamp:9}.spw-list-description--clamp-10{-webkit-line-clamp:10;line-clamp:10}";export{n as spw_list_description}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as e,F as a,H as s}from"./p-Co4V4Zk-.js";const n=class{constructor(e){i(this,e),this.pageChanged=t(this,"pageChanged",7),this.isDisabled=!1,this.variant="numbers",this.currentPage=1,this.nextButtonText="Suivant",this.previousButtonText="Précédent",this.isDynamic=!0,this.inputPageValue="",this.isMobile=window.innerWidth<800,this.updateIsMobile=()=>{this.isMobile=window.innerWidth<800}}componentWillLoad(){this.calculateTotalPages(),this.inputPageValue=this.currentPage.toString(),window.addEventListener("resize",this.updateIsMobile)}disconnectedCallback(){window.removeEventListener("resize",this.updateIsMobile)}calculateTotalPages(){this.totalPages=Math.ceil(this.totalItems/this.itemsPerPage)}onCurrentPageChange(i){this.inputPageValue=i.toString()}onItemsPerPageChange(){this.currentPage=1,this.pageChanged.emit(this.currentPage)}onTotalItemsChange(){if(!this.totalItems||this.totalItems<=0)return;const i=Math.ceil(this.totalItems/this.itemsPerPage);this.currentPage>i&&(this.currentPage=i,this.pageChanged.emit(this.currentPage))}async setPage(i){this.goToPage(i)}goToPage(i){i!==this.currentPage&&!this.isDisabled&&i>=1&&i<=this.totalPages&&(this.isDynamic&&(this.currentPage=i),this.pageChanged.emit(i))}handleInputChange(i){const t=i.target.value;this.inputPageValue=t;const e=parseInt(t,10);!isNaN(e)&&e>=1&&e<=this.totalPages&&(clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>{this.goToPage(e)}),500))}getPaginationClass(){var i,t;const e=this.calculatePageRange(),a=e.filter((({page:i})=>"..."===i)).length,s=a>0&&"..."===(null===(i=e[1])||void 0===i?void 0:i.page),n=a>0&&"..."===(null===(t=e[e.length-2])||void 0===t?void 0:t.page);let o=`spw-pagination spw-pagination--${this.currentPage} spw-pagination--total-${this.totalPages}`;return 2===a?o+=" spw-pagination--double-ellipsis":s?o+=" spw-pagination--ellipsis-start":n&&(o+=" spw-pagination--ellipsis-end"),o}handleKeyDown(i){if("Enter"===i.key){const i=parseInt(this.inputPageValue,10);isNaN(i)||this.goToPage(i)}}calculatePageRange(){const i=[],{currentPage:t,totalPages:e,isMobile:a}=this;if(a)if(e<=5)for(let t=1;t<=e;t++)i.push({page:t,class:"spw-pagination__item--small-range"});else if(t<=3){for(let t=1;t<=3;t++)i.push({page:t,class:"spw-pagination__item--start-range"});i.push({page:"...",class:"spw-pagination__item--ellipsis"}),i.push({page:e,class:"spw-pagination__item--end"})}else if(t>=e-2){i.push({page:1,class:"spw-pagination__item--start"}),i.push({page:"...",class:"spw-pagination__item--ellipsis"});for(let t=e-2;t<=e;t++)i.push({page:t,class:"spw-pagination__item--end-range"})}else{i.push({page:1,class:"spw-pagination__item--start"}),i.push({page:"...",class:"spw-pagination__item--ellipsis"});for(let e=t-1;e<=t+1;e++)i.push({page:e,class:"spw-pagination__item--middle-range"});i.push({page:"...",class:"spw-pagination__item--ellipsis"}),i.push({page:e,class:"spw-pagination__item--end"})}else if(e<=7)for(let t=1;t<=e;t++)i.push({page:t,class:"spw-pagination__item--small-range"});else if(t<=4){for(let t=1;t<=4;t++)i.push({page:t,class:"spw-pagination__item--start-range"});i.push({page:"...",class:"spw-pagination__item--ellipsis"}),i.push({page:e,class:"spw-pagination__item--end"})}else if(t>=e-3){i.push({page:1,class:"spw-pagination__item--start"}),i.push({page:"...",class:"spw-pagination__item--ellipsis"});for(let t=e-3;t<=e;t++)i.push({page:t,class:"spw-pagination__item--end-range"})}else{i.push({page:1,class:"spw-pagination__item--start"}),i.push({page:"...",class:"spw-pagination__item--ellipsis"});for(let e=t-2;e<=t+2;e++)i.push({page:e,class:"spw-pagination__item--middle-range"});i.push({page:"...",class:"spw-pagination__item--ellipsis"}),i.push({page:e,class:"spw-pagination__item--end"})}return i}render(){const i=this.calculatePageRange(),t=this.currentPage<this.totalPages,n=this.currentPage>1&&e("li",{key:"dcd1498e29ee3fb0a7aacfcf837cf779941390c0",class:"spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow"},e("button",{key:"b15634e85c1082de7220d634d703583cfe000cc0",onClick:()=>this.goToPage(this.currentPage-1)},e("spw-icon",{key:"e15c7fd09d198cced97501c8eeac814e6c72e45e",icon:"fa-chevron-left"})," ",e("span",{key:"417047243b0821163a0e107fb5f810c60758a899",class:"spw-pagination__item-arrow-text"},this.previousButtonText))),o=t&&e("li",{key:"dfad6e553a19c22f6f7ecca0a0c0b41a190370a9",class:"spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow"},e("button",{key:"278d707a4394e2225cf6c9bf50ae1146b54914fd",onClick:()=>this.goToPage(this.currentPage+1)},e("span",{key:"47b58d5f383d2aee5335ce3e3520593ae6b8fdc1",class:"spw-pagination__item-arrow-text"},this.nextButtonText)," ",e("spw-icon",{key:"aaeb333a63ce999845ff481283d65d359b498626",icon:"fa-chevron-right"}))),p=this.currentPage>1&&e("li",{key:"67d470dd7ec978d778bf9501f7ff4f0d53e8fd74",class:"spw-pagination__item spw-pagination__item--arrow"},e("button",{key:"1ef874caef38ad58bfef892f7ff3d3c6a92f1e13",onClick:()=>this.goToPage(this.currentPage-1)},e("spw-icon",{key:"615092ac9a6fd45d24fba1625ff16f5ab83bcd08",icon:"fa-chevron-left"})," ",e("span",{key:"68890a0dc95b5356e08002ecd2e8917f024ea2dd"},this.previousButtonText))),l=this.currentPage<this.totalPages&&e("li",{key:"b3ec5c4edbbf33b3c3597e2e8269d390cdf13f3d",class:"spw-pagination__item spw-pagination__item--arrow"},e("button",{key:"183cf1b1d5d6a92f7738674e3d2e9cb7f060af57",onClick:()=>this.goToPage(this.currentPage+1),disabled:this.currentPage>=this.totalPages},e("span",{key:"7dfbc497fa94d90984af376e5e20a46621ef4402"},this.nextButtonText)," ",e("spw-icon",{key:"0aa1fef8996bf23df1eda494cb8f1d9ef6a857b9",icon:"fa-chevron-right"}))),r=e("ul",{key:"bb0d46915afe5a30ed9751d858a7046a026d0ff4",class:"spw-pagination__mobile-arrows"},p,l);return e(s,{key:"044cde627233453d74e4a55bfea69d8199513b72"},e("div",{key:"7e49988f7e2331a3b986cb9644fb51b5e3e25997",class:this.getPaginationClass()},"input"===this.variant&&e(a,{key:"721f2508e7980a7d017d57bd35571bea3d7e7478"},e("ul",{key:"ed8562aa281db341405e2d7a7374e1890e63ae16"},n,e("li",{key:"0f0a0a41bc898e82c1293d59892a2278de1f3e2a",class:"spw-pagination__input"},e("spw-text-field",{key:"09eb4b0c43e1bc8b0d598d5144bf8defcf772f4b",value:this.inputPageValue,type:"text",name:"pagination-input",onInput:i=>this.handleInputChange(i),onKeyDown:i=>this.handleKeyDown(i),disabled:this.isDisabled})),e("li",{key:"638c548a6d33678719f9c9543eb3b99a9b52a7d9",class:"spw-pagination__total-pages"},"sur ",this.totalPages," ",1===this.totalPages?"page":"pages"),o),r),"numbers"===this.variant&&e(a,{key:"a88d47012d933c68cb648223cf0e2de3e0b4b1e5"},e("ul",{key:"88d35c75e74693c3cefc806a9592bbf96103add8"},n,i.map((({page:i,class:t})=>"..."===i?e("li",{class:`spw-pagination__item spw-pagination__item--dots ${t}`},e("spw-icon",{icon:"fa-ellipsis"})):e("li",{class:{"spw-pagination__item":!0,"spw-pagination__item--active":i===this.currentPage,[t]:!0}},e("button",{onClick:()=>this.goToPage(i),disabled:i===this.currentPage},i)))),o),r)))}static get watchers(){return{totalItems:[{calculateTotalPages:0},{onTotalItemsChange:0}],itemsPerPage:[{calculateTotalPages:0},{onItemsPerPageChange:0}],currentPage:[{calculateTotalPages:0},{onCurrentPageChange:0}]}}};n.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-pagination__item--dots,.spw-pagination__item button{text-align:center;line-height:32px;font-weight:700;border-radius:32px;font-size:14px;min-width:32px;height:32px}.spw-pagination__item--dots:focus-visible,.spw-pagination__item button:focus-visible{outline:3px solid white;outline-offset:-1px;box-shadow:0 0 0 5px black}.spw-pagination{display:flex;flex-direction:column;align-items:center}@media (min-width: 768px){.spw-pagination{align-items:flex-start}}.spw-pagination ul{display:flex;align-items:center;padding:0}.spw-pagination__item{margin-right:12px}.spw-pagination__item spw-icon{font-size:18px}.spw-pagination__item button{padding:0 6px;margin:0;border:none;cursor:pointer;color:var(--spw-color-themes-grey-grey-900);background:none}.spw-pagination__item:not(.spw-pagination__item--active,.spw-pagination__item--dots,.spw-pagination__item--disabled):hover button{background:var(--spw-color-themes-grey-grey-200)}.spw-pagination__item:not(.spw-pagination__item--active,.spw-pagination__item--dots,.spw-pagination__item--disabled):active button{background:var(--spw-color-themes-grey-grey-300)}.spw-pagination__item--arrow button{padding:0 12px;display:flex;gap:8px;align-items:center;text-decoration:underline}.spw-pagination__item--arrow button:hover{text-decoration:none}.spw-pagination__item--dots{position:relative;top:3px;display:inline-flex;align-items:center;justify-content:center;cursor:default;background:none;color:var(--spw-color-themes-grey-grey-400)}.spw-pagination__item--dots spw-icon{font-size:16px}.spw-pagination__item--desktop{display:none}@media (min-width: 768px){.spw-pagination__item--desktop{display:inline-block}}.spw-pagination__item--active button{color:white;background:var(--spw-ds-primary)}.spw-pagination__input spw-text-field{width:36px;--spw-input-height:32px;--spw-input-padding:0 4px;--spw-input-text-align:center;--spw-input-font-size:14px}.spw-pagination__mobile-arrows{margin-top:12px}@media (min-width: 768px){.spw-pagination__mobile-arrows{display:none !important}}.spw-pagination__total-pages{font-size:14px;margin:0 12px 0 6px}";export{n as spw_pagination}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as i,a as s}from"./p-Co4V4Zk-.js";const n=class{constructor(i){e(this,i),this.valueChanged=t(this,"valueChanged",7),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals),this.type="text",this.label="",this.isSearch=!1,this.isClear=!1,this.required=!1,this.size="medium",this.error="",this.hint="",this.success="",this.warning="",this.showErrorIcon=!0,this.showHintIcon=!0,this.showSuccessIcon=!0,this.showWarningIcon=!0,this.accAriaLabelIncrement="Incrémenter",this.accAriaLabelDecrement="Décrémenter",this.hasControls=!0,this.hasSubmitButton=!1,this.tooltipDirection="top",this.tooltipCursor="help",this.isClearIconVisible=!1}async setFocus(){var e;null===(e=this.inputElement)||void 0===e||e.focus()}valueChangedHandler(e){this.setValue(this.normalizeDecimalSeparator(null!=e?String(e):""))}async setValue(e){const t=this.mask?this.applyMask(e):e;if(this.inputElement&&this.inputElement.value!==t&&(this.inputElement.value=t),this.value===t)return;this.value=t;const i=this.getTypedValue(t);this.internals.setFormValue(i?String(i):null),this.isClearIconVisible=this.isClear&&!!t,this.valueChanged.emit(i)}getTypedValue(e){return e?"number"!==this.type||isNaN(Number(e))?e:Number(e):""}componentDidLoad(){const e=this.normalizeDecimalSeparator(null!=this.value?String(this.value):"");this.defaultValue=e,this.inputElement&&(this.inputElement.value=e);const t=this.getTypedValue(e);this.internals.setFormValue(t?String(t):null),this.isClearIconVisible=this.isClear&&!!e}formResetCallback(){var e;this.setValue(null!==(e=this.defaultValue)&&void 0!==e?e:"")}handleInput(e){this.setValue(e.target.value)}handleClear(){this.setValue("")}handleKeyDown(e){var t,i,s,n,r;if("Enter"===e.key&&this.hasSubmitButton&&(e.preventDefault(),this.handleSubmit()),"number"===this.type&&null!=this.decimalPrecision){const o=this.inputElement,a=null!==(t=null==o?void 0:o.value)&&void 0!==t?t:"",l=e.key;if(["Backspace","Delete","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Tab","Enter","Home","End"].includes(l))return;if(e.ctrlKey||e.metaKey)return;if(","===l||"."===l){if(e.preventDefault(),!a.includes(".")){const e=null!==(i=o.selectionStart)&&void 0!==i?i:a.length,t=null!==(s=o.selectionEnd)&&void 0!==s?s:a.length,n=a.slice(0,e)+"."+a.slice(t);o.value=n,o.setSelectionRange(e+1,e+1),this.setValue(n)}return}if("-"===l)return void((0!==o.selectionStart||a.includes("-"))&&e.preventDefault());if(!/^[0-9]$/.test(l))return void e.preventDefault();const d=a.indexOf(".");if(-1!==d){const t=null!==(n=null==o?void 0:o.selectionStart)&&void 0!==n?n:a.length,i=(null!==(r=null==o?void 0:o.selectionEnd)&&void 0!==r?r:a.length)-t,s=a.slice(d+1);t>d&&s.length-i>=this.decimalPrecision&&e.preventDefault()}}}handleSubmit(){const e=this.el.closest("form");e&&e.requestSubmit()}normalizeDecimalSeparator(e){return"number"===this.type&&null!=this.decimalPrecision?e.replace(",","."):e}roundToPrecision(e){if(null==this.decimalPrecision)return e;const t=Math.pow(10,this.decimalPrecision);return Math.round(e*t)/t}getCurrentNumericValue(){var e,t,i,s;const n=null!=this.decimalPrecision?null!==(t=null===(e=this.inputElement)||void 0===e?void 0:e.value)&&void 0!==t?t:String(null!==(i=this.value)&&void 0!==i?i:""):String(null!==(s=this.value)&&void 0!==s?s:""),r=Number(n);return isNaN(r)?0:r}increment(){var e;if(this.disabled)return;const t=null!==(e=this.step)&&void 0!==e?e:1;let i=this.roundToPrecision(this.getCurrentNumericValue()+t);null!=this.max&&i>this.max&&(i=this.max),this.setValue(String(i))}decrement(){var e;if(this.disabled)return;const t=null!==(e=this.step)&&void 0!==e?e:1;let i=this.roundToPrecision(this.getCurrentNumericValue()-t);null!=this.min&&i<this.min&&(i=this.min),this.setValue(String(i))}unmask(e){return e?e.replace("number"===this.type?/[^0-9.,\-]/g:/[^0-9A-Za-z]/g,""):""}matchesPlaceholder(e,t){switch(t){case"9":return/[0-9]/.test(e);case"A":case"a":return/[A-Za-z]/.test(e);case"X":return/[0-9A-Za-z]/.test(e);default:return!1}}transformForPlaceholder(e,t){return"A"===t?e.toUpperCase():e}applyMask(e){if(!this.mask)return e;const t=this.unmask(e).split("");let i=0,s="";for(let e=0;e<this.mask.length;e++){const n=this.mask[e];if(["9","A","a","X"].includes(n)){for(;i<t.length&&!this.matchesPlaceholder(t[i],n);)i++;if(i>=t.length)break;s+=this.transformForPlaceholder(t[i],n),i++}else{if(i>=t.length)break;s+=n}}return s}renderErrorMessage(){if(this.error)return i("spw-field-message",{variant:"error",showIcon:this.showErrorIcon},this.error)}renderHintMessage(){if(this.hint)return i("spw-field-message",{variant:"hint",showIcon:this.showHintIcon},this.hint)}renderSuccessMessage(){if(this.success)return i("spw-field-message",{variant:"success",showIcon:this.showSuccessIcon},this.success)}renderWarningMessage(){if(this.warning)return i("spw-field-message",{variant:"warning",showIcon:this.showWarningIcon},this.warning)}get elementClass(){const e="number"===this.type;return{"spw-text-field":!0,[`spw-text-field--${this.size}`]:!0,"spw-text-field--is-search":this.isSearch,"spw-text-field--is-error":!!this.error,"spw-text-field--is-clear":this.isClearIconVisible,"spw-text-field--is-number":e,"spw-text-field--has-controls":e&&this.hasControls,"spw-text-field--has-submit-button":this.hasSubmitButton,"spw-text-field--disabled":this.disabled}}render(){return i("div",{key:"41344c0a7baae0b78740a2e79bd60fe39cc5e1e8",class:this.elementClass},this.label&&i("spw-field-label",{key:"c544f2b87e9a5f140cd554e78e7b5cef504ed5b3",label:this.label,name:this.name,required:this.required,tooltipTitle:this.tooltipTitle,tooltipText:this.tooltipText,tooltipMaxWidth:this.tooltipMaxWidth,tooltipDirection:this.tooltipDirection,tooltipCursor:this.tooltipCursor}),this.assistiveText&&i("spw-field-message",{key:"91242a77c6e88000abda5d0dcb8759a38246c643",class:"spw-text-field__field-message",variant:"hint",showIcon:!1},this.assistiveText),i("div",{key:"7bc7fe0d449a9780ac30a0770daf3f6b536cbf3e",class:"spw-text-field__container"},"number"===this.type&&this.hasControls&&i("button",{key:"71b161b15cbd13c05f6b91c7708f8989705d5ebe",type:"button",class:"spw-text-field__number-btn spw-text-field__number-btn--decrement",onClick:()=>this.decrement(),disabled:this.disabled||null!=this.min&&Number(this.value)<=this.min,"aria-label":this.accAriaLabelDecrement},i("spw-icon",{key:"4dc4e23dc7bed73b2ca9e206baa779bc5d23cdcc",icon:"fa-minus"})),i("div",{key:"636cb26b066ed37b81f0c4d10d12076d407b2431",class:"spw-text-field__input-container"},i("input",{key:"b31e1128ef9f0cb29c371bb05a03d1b0d03d58ba",class:"spw-text-field__input",ref:e=>this.inputElement=e,type:"number"===this.type&&null!=this.decimalPrecision?"text":this.type,inputMode:"number"===this.type&&null!=this.decimalPrecision?"decimal":void 0,min:"number"===this.type&&null==this.decimalPrecision?this.min:void 0,max:"number"===this.type&&null==this.decimalPrecision?this.max:void 0,step:"number"===this.type&&null==this.decimalPrecision?this.step:void 0,placeholder:this.placeholder,"aria-label":this.accAriaLabel||this.name,disabled:this.disabled,name:this.name,id:this.name,minLength:this.minLength,maxLength:this.maxLength,required:this.required,onInput:e=>this.handleInput(e),onKeyDown:e=>this.handleKeyDown(e)}),(this.isSearch||this.isClearIconVisible)&&i("div",{key:"f0a4482e6d4208252b6cd77baabd36b521487a57",class:"spw-text-field__icons"},this.isClearIconVisible&&i("span",{key:"12b218ede706d8adb3d8545429582e4b9ec2de90",class:"spw-text-field__clear",onClick:()=>this.handleClear()},i("spw-icon",{key:"6260e109d05f8ea3cbff4fa4e1bb1475c09c3aea",class:"spw-text-field__icon spw-text-field__icon--clear",icon:"fa-xmark"})),this.isSearch&&!this.hasSubmitButton&&i("spw-icon",{key:"c282880a18c634a51b657b6098bd058007bb4ba3",class:"spw-text-field__icon spw-text-field__icon--search",icon:"fa-magnifying-glass"}),this.hasSubmitButton&&i("button",{key:"22be1eb7107eed95c5bcf33a323e6f506b984859",type:"button",class:"spw-text-field__submit",onClick:()=>this.handleSubmit(),"aria-label":"Rechercher"},i("spw-icon",{key:"afee21b71448a151d97f10741b62163afc7b6f9f",icon:"fa-magnifying-glass"})))),"number"===this.type&&this.hasControls&&i("button",{key:"7dcfb213fbe349c3721a81c4882c85b9221e4b60",type:"button",class:"spw-text-field__number-btn spw-text-field__number-btn--increment",onClick:()=>this.increment(),disabled:this.disabled||null!=this.max&&Number(this.value)>=this.max,"aria-label":this.accAriaLabelIncrement},i("spw-icon",{key:"356f1b12fe9d97e215fb6422143378f67878a0ee",icon:"fa-plus"})),this.indicator&&i("div",{key:"1c7eb4d8917e29a7d1f891cd10b086f9d2552ee6",class:"spw-text-field__indicator"},this.indicator)),this.renderErrorMessage(),this.renderHintMessage(),this.renderSuccessMessage(),this.renderWarningMessage())}static get formAssociated(){return!0}get el(){return s(this)}static get watchers(){return{value:[{valueChangedHandler:0}]}}};n.style='@charset "UTF-8";html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;--spw-input-height:40px;--spw-input-padding:0 12px;--spw-input-text-align:left;--spw-input-font-size:16px;--spw-input-radius:4px;--spw-input-icon-search-color:var(--spw-color-themes-grey-grey-900);--spw-input-border:var(--spw-color-themes-grey-grey-800);--spw-input-shadow:none}.spw-text-field{position:relative}.spw-text-field__input-container{flex:1;position:relative;display:flex}.spw-text-field__input{flex:1;width:100%;height:var(--spw-input-height);padding:var(--spw-input-padding);text-overflow:ellipsis;line-height:var(--spw-input-height);border-radius:var(--spw-input-radius);box-shadow:var(--spw-input-shadow);font-size:var(--spw-input-font-size);text-align:var(--spw-input-text-align);border:1px solid var(--spw-input-border)}.spw-text-field__input:hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-text-field__input:focus,.spw-text-field__input:focus-visible{outline:3px solid white;outline-offset:0;box-shadow:0 0 0 6px black}.spw-text-field__input[type=number]{-moz-appearance:textfield;-webkit-appearance:none;appearance:none;margin:0}.spw-text-field__input[type=number]::-webkit-outer-spin-button,.spw-text-field__input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host-context(spw-header) .spw-text-field__input{border:1px solid var(--spw-color-themes-grey-grey-300)}.spw-text-field--disabled .spw-text-field__input{border-color:var(--spw-color-themes-grey-grey-400);background:var(--spw-color-themes-grey-grey-100);color:var(--spw-color-themes-grey-grey-500);cursor:not-allowed}.spw-text-field--disabled .spw-text-field__input::placeholder{color:var(--spw-color-themes-grey-grey-500)}.spw-text-field--disabled .spw-text-field__input:hover,.spw-text-field--disabled .spw-text-field__input:focus,.spw-text-field--disabled .spw-text-field__input:focus-visible{outline:none}.spw-text-field--is-error .spw-text-field__input{border-color:var(--spw-colors-states-error-error-300)}.spw-text-field--large .spw-text-field__input{height:60px;padding:0 24px;line-height:60px}.spw-text-field--is-search:not(.spw-text-field--is-clear) .spw-text-field__input{padding-right:40px}.spw-text-field--is-clear:not(.spw-text-field--is-search) .spw-text-field__input{padding-right:40px}.spw-text-field--is-clear .spw-text-field__input{padding-right:70px}.spw-text-field__container{display:flex;align-items:center}.spw-text-field__indicator{padding-left:12px}.spw-text-field__field-message{margin-bottom:8px;margin-top:-4px}.spw-text-field__icons{display:flex;align-items:center;position:absolute;top:50%;right:12px;gap:8px;transform:translateY(-50%)}.spw-text-field--large .spw-text-field__icons{right:24px}.spw-text-field--disabled .spw-text-field__icons{pointer-events:none}.spw-text-field__clear{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;cursor:pointer;padding:2px;font-size:16px;transition:all 0.2s ease-in}.spw-text-field__clear:hover{color:var(--spw-ds-primary)}.spw-text-field--disabled .spw-text-field__clear{border-color:var(--spw-color-themes-grey-grey-500)}.spw-text-field__icon{color:var(--spw-input-icon-search-color)}.spw-text-field--disabled .spw-text-field__icon{color:var(--spw-color-themes-grey-grey-500)}.spw-text-field__icon--search{pointer-events:none;font-size:18px}.spw-text-field--large .spw-text-field__icon--search{font-size:24px}.spw-text-field__icon--clear{color:var(--spw-color-themes-grey-grey-900);font-size:12px}.spw-text-field__submit{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;border-radius:50%;background:transparent;cursor:pointer;transition:all 0.2s ease;color:var(--spw-input-icon-search-color);font-size:18px}.spw-text-field__submit:focus,.spw-text-field__submit:focus-visible{outline:1px solid white;outline-offset:0;box-shadow:0 0 0 3px black}.spw-text-field--large .spw-text-field__submit{width:36px;height:36px;font-size:24px}.spw-text-field--disabled .spw-text-field__submit{cursor:not-allowed;color:var(--spw-color-themes-grey-grey-500)}.spw-text-field__number-btn{display:inline-flex;align-items:center;justify-content:center;width:var(--spw-input-height);height:var(--spw-input-height);padding:0;border:1px solid var(--spw-input-border);background:var(--spw-color-themes-grey-grey-100);cursor:pointer;transition:all 0.2s ease-in-out;color:var(--spw-color-themes-grey-grey-900);font-size:14px}.spw-text-field__number-btn--decrement{border-radius:var(--spw-input-radius) 0 0 var(--spw-input-radius);border-right:none}.spw-text-field__number-btn--increment{border-radius:0 var(--spw-input-radius) var(--spw-input-radius) 0;border-left:none}.spw-text-field__number-btn:hover:not(:disabled){background:var(--spw-color-themes-grey-grey-200)}.spw-text-field__number-btn:focus,.spw-text-field__number-btn:focus-visible{outline:3px solid white;outline-offset:0;box-shadow:0 0 0 6px black;z-index:1}.spw-text-field__number-btn:disabled{cursor:not-allowed;color:var(--spw-color-themes-grey-grey-400);background:var(--spw-color-themes-grey-grey-100)}.spw-text-field--large .spw-text-field__number-btn{width:60px;height:60px;font-size:18px}.spw-text-field--has-controls .spw-text-field__input{border-radius:0;border-left:none;border-right:none;text-align:center}';export{n as spw_text_field}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as i,a as o,c as n}from"./p-Co4V4Zk-.js";const s=class{constructor(e){t(this,e),this.background="white",this.variant="default"}componentDidLoad(){this.applyBackgroundToChildren(),this.applyVariantToChildren()}backgroundChanged(){this.applyBackgroundToChildren()}variantChanged(){this.applyVariantToChildren()}applyBackgroundToChildren(){this.el.querySelectorAll("spw-accordion-item").forEach((t=>{this.background?t.style.setProperty("--spw-accordion-item-background",this.background):t.style.removeProperty("--spw-accordion-item-background")}))}applyVariantToChildren(){this.el.querySelectorAll("spw-accordion-item").forEach((t=>{t.variant=this.variant}))}render(){return e(i,{key:"843b0bffbfb004440ddae3d36948d4473d6228d3"},e("div",{key:"7b8388a01b29c3e4a3958d0609c48943de6aee6b",class:"spw-accordion"},e("slot",{key:"00086c16ea6c0cf3dcd15ceae433d5d8645e00de"})))}get el(){return o(this)}static get watchers(){return{background:[{backgroundChanged:0}],variant:[{variantChanged:0}]}}};s.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;position:relative}";const a=class{constructor(e){t(this,e),this.isOpened=!1}componentDidLoad(){this.assignItemId(),this.updateHeight(),window.addEventListener("resize",this.handleResize.bind(this)),this.contentElement.addEventListener("transitionend",this.handleTransitionEnd.bind(this))}disconnectedCallback(){window.removeEventListener("resize",this.handleResize.bind(this)),this.contentElement.removeEventListener("transitionend",this.handleTransitionEnd.bind(this))}assignItemId(){const t=this.el.closest("spw-accordion-item");if(t){const e=t.getAttribute("data-accordion-id");e&&this.el.setAttribute("data-accordion-id",e)}}handleAccordionToggle(t){const e=this.el.getAttribute("data-accordion-id");t.detail.id===e&&(this.isOpened=t.detail.isOpen,this.updateHeight())}handleResize(){this.updateHeight(),setTimeout((()=>{this.updateHeight()}),300)}handleTransitionEnd(t){"max-height"===t.propertyName&&(this.isOpened?this.contentElement.classList.add("spw-accordion-content--is-opened"):this.contentElement.classList.remove("spw-accordion-content--is-opened"))}updateHeight(){requestAnimationFrame((()=>{const t=this.contentElement;t.style.maxHeight=this.isOpened?`${t.scrollHeight}px`:"0px"}))}render(){return e("div",{key:"b372cc0a27e1ff25e0e9dde30f0a4e4cdc48601a",class:"spw-accordion-content",ref:t=>this.contentElement=t,"data-accordion-id":this.el.getAttribute("data-accordion-id")},e("div",{key:"79e9cd2d38ba392dc248c9ea991753f6c897d654",class:"spw-accordion-content__inner"},e("slot",{key:"99e8bda5b6e72ef32c355b02fd33b7fd68ff6b44",onSlotchange:()=>this.updateHeight()})))}get el(){return o(this)}};a.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-accordion-content{line-height:1.5;font-weight:400;overflow:hidden;color:var(--spw-color-themes-grey-grey-800);transition:all 0.25s ease-in}:host(.--collapsed) .spw-accordion-content{max-height:0 !important}.spw-accordion-content--is-opened{max-height:100% !important}.spw-accordion-content__inner{padding:0;margin-bottom:var(--spw-spacings-spacing-lg)}";const r=class{constructor(e){t(this,e),this.accordionToggle=n(this,"accordionToggle",7),this.isOpen=!1,this.isMobile=window.innerWidth<768,this.defaultOpen=!1,this.variant="default"}componentWillLoad(){this.isOpen=this.defaultOpen,this.assignItemId(),this.setupResizeListener(),this.toggleClasses()}componentDidLoad(){if(this.isOpen){const t=this.el.getAttribute("data-accordion-id");this.accordionToggle.emit({isOpen:this.isOpen,id:t}),this.updateFocusableElements()}}disconnectedCallback(){this.teardownResizeListener()}defaultOpenChanged(t){this.isOpen=t,this.toggleClasses(),this.updateFocusableElements()}assignItemId(){const t=Array.from(this.el.parentNode.children).indexOf(this.el);this.el.setAttribute("data-accordion-id",`accordion-item-${t}`)}toggleContent(){this.isOpen=!this.isOpen;const t=this.el.getAttribute("data-accordion-id");this.accordionToggle.emit({isOpen:this.isOpen,id:t}),this.updateFocusableElements(),this.isOpen||this.scrollToElement(),this.toggleClasses()}toggleClasses(){const t=this.el.querySelector("spw-accordion-content"),e=this.el.querySelector("spw-accordion-title");t&&t.classList.toggle("--collapsed",!this.isOpen),e&&e.classList.toggle("--collapsed",!this.isOpen)}handleClick(t){t.preventDefault(),this.toggleContent()}scrollToElement(){const t=this.el.shadowRoot.querySelector(".spw-accordion-item__content");t&&this.isMobile&&t.scrollIntoView({behavior:"smooth",block:"start"})}updateFocusableElements(){const t=this.el.shadowRoot.querySelector('slot[name="content"]');t&&t.assignedElements({flatten:!0}).forEach((t=>{t.querySelectorAll("*").forEach((t=>{if(this.isOpen){const e=t.getAttribute("data-tabindex-original");null!==e?(t.setAttribute("tabindex",e),t.removeAttribute("data-tabindex-original")):t.removeAttribute("tabindex")}else{if(!t.hasAttribute("data-tabindex-original")){const e=t.getAttribute("tabindex");t.setAttribute("data-tabindex-original",null!==e?e:"")}t.setAttribute("tabindex","-1")}}))}))}setupResizeListener(){this.resizeListener=()=>{this.isMobile=window.innerWidth<768},window.addEventListener("resize",this.resizeListener)}teardownResizeListener(){this.resizeListener&&window.removeEventListener("resize",this.resizeListener)}get elementClass(){return{"spw-accordion-item":!0,"spw-accordion-item--collapsed":!this.isOpen,"spw-accordion-item--default":"default"===this.variant,"spw-accordion-item--separated":"separated"===this.variant}}get elementChildClass(){return{"spw-accordion-item__trigger":!0}}render(){return e(i,{key:"78cb69dd988ee6d713e546e858e6ec2489e59135",class:this.elementClass},e("div",{key:"7aba66cbccc64bfeba949786e36f97b2f8a3a6e5",class:"spw-accordion-item__content"},e("a",{key:"42120d0a11a0f5d8672b9fc7b9e5943622d0d677",href:"#",class:this.elementChildClass,onClick:t=>this.handleClick(t)},e("slot",{key:"1a42bee7ccbd21f3f597449deb9e669f97dcde22",name:"title"})),e("slot",{key:"0e1a2f3cb7568f98c595eca5ed141bd27353e742",name:"content"})))}get el(){return o(this)}static get watchers(){return{defaultOpen:[{defaultOpenChanged:0}]}}};r.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}:host(.spw-accordion-item--separated){margin-bottom:6px}.spw-accordion-item{position:relative}.spw-accordion-item__content{position:relative;border-bottom:1px solid var(--spw-color-themes-grey-grey-300)}:host(.spw-accordion-item--separated) .spw-accordion-item__content{border:1px solid var(--spw-color-themes-grey-grey-300);border-radius:6px;padding:0 12px}.spw-accordion-item__trigger{display:block;text-decoration:none;position:sticky;top:0;background:var(--spw-accordion-item-background);z-index:10}:host(.spw-accordion-item--separated) .spw-accordion-item__trigger{border-radius:6px}@media (min-width: 768px){.spw-accordion-item__trigger{position:relative}}.spw-accordion-item__trigger:focus-visible{outline:2px solid white;outline-offset:-3px;box-shadow:0 0 0 2px black}";const d=class{constructor(e){t(this,e),this.tag="h3"}render(){const t=this.tag,o=this.icon?e("spw-icon",{icon:this.icon}):null;return e(i,{key:"63c94a62aeeffbed5dc8440a4f5c2b46d6933b86"},e("div",{key:"3df9730005950dccb661d4c87b730e8aca00b6ac",class:"spw-accordion-title"},e("div",{key:"5e7ed39c0e02adf8a6b4231d78f0c4106528b166",class:"spw-accordion-title__content"},e("div",{key:"a3222cc548ca5ea34a64a92c359957d84b223462",class:"spw-accordion-title__flex"},e(t,{key:"24a65550d1fa0e54966312570abb256efbefd495",class:"spw-accordion-title__flex-title"},o&&e("div",{key:"3b0769fb47eab668fe2ea62f08724a579c50122b",class:"spw-accordion-title__icon"},o),e("div",{key:"cdf86802d84e2ffca4a87a189df12191b9db4ee9"},e("slot",{key:"e515d454f2a0759a8e753ba99f0e43bedf27a87a"}))),e("slot",{key:"fd2febae460ff2fe51f118b41c6ec3c97e99e184",name:"right"})),e("span",{key:"9884fdef38c3398953605065d37b5280f0753272",class:"spw-accordion-title__trigger"},e("spw-icon",{key:"adb25da7b6fbf99e6aa25b6a6c9c4187693c645f",icon:"fa-chevron-down"})))))}};d.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-accordion-title{padding:var(--spw-spacings-spacing-lg) 0;transition:all 0.3s}.spw-accordion-title__flex{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.spw-accordion-title__flex-title{display:flex;font-weight:700;color:var(--spw-color-themes-grey-grey-900);transition:all 0.3s}.spw-accordion-title:hover .spw-accordion-title__flex-title{color:var(--spw-ds-primary)}.spw-accordion-title__icon{margin-right:12px}:host-context(.spw-accordion-item:hover)>.spw-accordion-title{color:var(--spw-ds-primary)}.spw-accordion-title__content{position:relative;padding-right:var(--spw-spacings-spacing-3-xl)}.spw-accordion-title__content h2,.spw-accordion-title__content h3,.spw-accordion-title__content h4,.spw-accordion-title__content h5,.spw-accordion-title__content h6{font-size:16px}.spw-accordion-title__trigger{position:absolute;top:50%;right:0;transform:translateY(-50%) rotate(180deg);transition:all 0.3s;color:black}:host(.--collapsed) .spw-accordion-title__trigger{transform:translateY(-50%) rotate(0deg)}";export{s as spw_accordion,a as spw_accordion_content,r as spw_accordion_item,d as spw_accordion_title}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as o,h as e,a as r,H as s}from"./p-Co4V4Zk-.js";const i=class{constructor(e){t(this,e),this.spwFocus=o(this,"spwFocus",7),this.spwBlur=o(this,"spwBlur",7),this.spwNavigate=o(this,"spwNavigate",7),this.target="_self",this.name="",this.value="",this.type="button",this.variant="primary",this.surface="default",this.disabled=!1,this.size="medium",this.isIconOnly=!1,this.iconVariant="fa-solid",this.isFullWidth=!1,this.isFullWidthMobile=!0,this.hideTextOnMobile=!1,this.isLoading=!1,this.onFocus=()=>{this.spwFocus.emit()},this.onBlur=()=>{this.spwBlur.emit()},this.onClick=t=>{if(this.disabled||this.isLoading)t.preventDefault();else{if("reset"===this.type)return t.preventDefault(),void this.resetForm();if("submit"===this.type&&!this.disabled){const o=this.form?document.getElementById(this.form):this.el.closest("form");if(o)return t.preventDefault(),void o.requestSubmit()}void 0!==this.href&&this.spwNavigate.emit(t)}}}async setFocus(){this.nativeEl&&(this.nativeEl.classList.add("--programmatic-focus"),this.nativeEl.focus(),this.nativeEl.addEventListener("blur",(()=>{var t;null===(t=this.nativeEl)||void 0===t||t.classList.remove("--programmatic-focus")}),{once:!0}))}resetForm(){const t=this.form?document.getElementById(this.form):this.el.closest("form");t&&t.reset()}get elementClass(){return{"spw-button":!0,[`spw-button--${this.variant}`]:!0,[`spw-button--surface-${this.surface}`]:!0,[`spw-button--${this.size}`]:!0,"spw-button--is-icon-only":this.isIconOnly,"spw-button--fullwidth":this.isFullWidth,"spw-button--fullwidth-mobile":this.isFullWidthMobile,"spw-button--hide-text-mobile":this.hideTextOnMobile,"spw-button--loading":this.isLoading}}render(){var t;const{type:o,download:r,form:s,href:i,rel:n,target:a,name:p,value:d}=this,l=void 0===this.href?"button":"a",w="button"===l?{type:o,form:s,name:p,value:d}:{download:r,href:i,rel:n,target:a},b=this.icon&&!this.iconPosition?"right":this.iconPosition,u=this.icon?e("spw-icon",{variant:this.iconVariant,class:`spw-icon--${b}`,icon:this.icon}):null,c=this.disabled,g=(null===(t=this.el.textContent)||void 0===t?void 0:t.trim())||null;return e(l,Object.assign({key:"af8ac1a8762a7da373014f322ee004297a8295f5"},w,{ref:t=>this.nativeEl=t,class:this.elementClass,disabled:c,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick},{"aria-label":this.accAriaLabel||this.name||g||"Label","aria-disabled":c?"true":null}),e("div",{key:"dc40b975fc312377bcbdc89ee1e0da4707893b13",class:"spw-button__inner"},e("div",{key:"c5a397c631fd9984fca6f711b1cc890cf1516f79",class:"spw-button__inner-text"},"left"===b&&u,!this.isIconOnly&&e("slot",{key:"92e532897aa0f62a2c1927026b15a7e81307256c"}),"right"===b&&u)),e("spw-loading",{key:"f7ae144bc041a0fa7d189a532a069cf7ed3e3aa5",text:""}))}get el(){return r(this)}};i.style='@charset "UTF-8";html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:inline-block;vertical-align:top;--spw-button-font-size-small:14px;--spw-button-font-size-medium:16px;--spw-button-font-size-large:18px;--spw-button-px-small:16px;--spw-button-px-medium:20px;--spw-button-px-large:24px;--spw-button-py-small:8px;--spw-button-py-medium:12px;--spw-button-py-large:16px;--spw-button-text-decoration:none}:host([is-full-width]:not([is-full-width=false])){display:block;width:100%}@media (max-width: 767px){:host([is-full-width-mobile]:not([is-full-width-mobile=false])){display:block;width:100%}}.spw-button{border:2px solid transparent;display:block;width:100%;white-space:nowrap;border-radius:9999px;letter-spacing:0.18px;cursor:pointer;font-weight:bold;outline:3px solid transparent;overflow:hidden;transition:all 0.1s ease-in;line-height:1}.spw-button--fullwidth{width:100% !important}.spw-button--fullwidth-mobile{width:100%}@media (min-width: 768px){.spw-button--fullwidth-mobile{width:auto}}.spw-button--is-icon-only{padding-left:0 !important;padding-right:0 !important}@media (max-width: 767px){.spw-button--hide-text-mobile{padding-left:0 !important;padding-right:0 !important}.spw-button--hide-text-mobile slot{display:none}.spw-button--hide-text-mobile.spw-button--large{width:54px}.spw-button--hide-text-mobile.spw-button--medium{width:45px}.spw-button--hide-text-mobile.spw-button--small{width:35px}}.spw-button:focus-visible,.spw-button.--programmatic-focus{outline:3px solid white;outline-offset:-1px;box-shadow:0 0 0 5px black}.spw-button spw-loading{opacity:0;position:absolute;top:50%;left:50%;pointer-events:none;transform:translate(-50%, -50%);z-index:1}.spw-button--loading{position:relative;pointer-events:none}.spw-button--loading spw-loading{opacity:1}.spw-button__inner{display:flex;align-items:center;justify-content:center;position:relative;z-index:2}.spw-button__inner-text{display:flex;align-items:center;justify-content:center;position:relative;z-index:2}.spw-button--loading .spw-button__inner-text{opacity:0}.spw-button:is(a){text-decoration:var(--spw-button-text-decoration)}.spw-button--primary{background:var(--spw-ds-primary);color:var(--spw-ds-white)}.spw-button--primary:not([disabled]):hover{background:var(--spw-ds-variant)}.spw-button--primary:not([disabled]):active{background:var(--spw-ds-active)}.spw-button--primary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.3);--spw-loading-spinner-color:white}.spw-button--secondary{background:var(--spw-color-themes-grey-grey-200);color:var(--spw-color-themes-grey-grey-900)}.spw-button--secondary:not([disabled]):hover{background:var(--spw-color-themes-grey-grey-300)}.spw-button--secondary:not([disabled]):active{background:var(--spw-color-themes-grey-grey-400)}.spw-button--secondary spw-loading{--spw-loading-border-color:rgba(0, 0, 0, 0.1);--spw-loading-spinner-color:var(--spw-ds-primary)}.spw-button--tertiary{transition:none;border-radius:4px;background:none;color:var(--spw-ds-primary)}.spw-button--tertiary:not([disabled]):hover,.spw-button--tertiary:not([disabled]):active{text-decoration:underline}.spw-button--tertiary:not([disabled]):active{color:var(--spw-ds-active)}.spw-button--tertiary spw-loading{--spw-loading-border-color:rgba(0, 0, 0, 0.1);--spw-loading-spinner-color:var(--spw-ds-primary)}.spw-button--primary[disabled],.spw-button--secondary[disabled]{background:var(--spw-color-themes-grey-grey-100)}.spw-button--tertiary[disabled]{background:none}.spw-button--primary[disabled],.spw-button--secondary[disabled],.spw-button--tertiary[disabled]{color:var(--spw-color-themes-grey-grey-400);border-color:none;cursor:not-allowed}.spw-button--surface-dark{box-shadow:var(--spw-effect-elevation-8)}.spw-button--surface-dark:not([disabled]):active{box-shadow:var(--spw-effect-elevation-active-0), var(--spw-effect-elevation-active-1), var(--spw-effect-elevation-active-2)}.spw-button--surface-dark[disabled]{box-shadow:none}.spw-button--surface-dark.spw-button--primary{color:var(--spw-colors-support-grey-grey-900);border-color:var(--spw-ds-white);background:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--primary:not([disabled]):hover{background:transparent;color:var(--spw-ds-white);border-color:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--primary:not([disabled]):active{background:transparent;color:var(--spw-colors-support-grey-grey-500);border-color:var(--spw-colors-support-grey-grey-500)}.spw-button--surface-dark.spw-button--primary[disabled]{border-color:var(--spw-colors-support-grey-grey-700);background:var(--spw-colors-support-grey-grey-700);color:var(--spw-colors-support-grey-grey-800)}.spw-button--surface-dark.spw-button--primary spw-loading{--spw-loading-border-color:var(--spw-colors-support-grey-grey-300);--spw-loading-spinner-color:var(--spw-ds-primary)}.spw-button--surface-dark.spw-button--secondary{background:transparent;color:var(--spw-ds-white);border-color:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--secondary:not([disabled]):hover{color:var(--spw-colors-support-grey-grey-900);border-color:var(--spw-ds-white);background:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--secondary:not([disabled]):active{color:var(--spw-colors-support-grey-grey-900);border-color:var(--spw-colors-support-grey-grey-400);background:var(--spw-colors-support-grey-grey-400)}.spw-button--surface-dark.spw-button--secondary[disabled]{border-color:var(--spw-colors-support-grey-grey-700);background:var(--spw-colors-support-grey-grey-700);color:var(--spw-colors-support-grey-grey-800)}.spw-button--surface-dark.spw-button--secondary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-dark.spw-button--tertiary{box-shadow:none;color:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--tertiary:not([disabled]):hover,.spw-button--surface-dark.spw-button--tertiary:not([disabled]):active{box-shadow:none}.spw-button--surface-dark.spw-button--tertiary:not([disabled]):active{color:var(--spw-ds-primary)}.spw-button--surface-dark.spw-button--tertiary[disabled]{color:var(--spw-colors-support-grey-grey-700)}.spw-button--surface-dark.spw-button--tertiary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-primary{box-shadow:none}.spw-button--surface-primary:not([disabled]):active{box-shadow:none}.spw-button--surface-primary[disabled]{box-shadow:none}.spw-button--surface-primary.spw-button--primary{color:var(--spw-colors-support-grey-grey-900);border-color:var(--spw-ds-white);background:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--primary:not([disabled]):hover{background:transparent;color:var(--spw-ds-white);border-color:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--primary:not([disabled]):active{background:transparent;color:white;border-color:white;opacity:0.9}.spw-button--surface-primary.spw-button--primary[disabled]{border-color:white;background:white;color:var(--spw-colors-support-grey-grey-600);opacity:0.5}.spw-button--surface-primary.spw-button--primary spw-loading{--spw-loading-border-color:var(--spw-colors-support-grey-grey-300);--spw-loading-spinner-color:var(--spw-ds-primary)}.spw-button--surface-primary.spw-button--secondary{background:transparent;color:var(--spw-ds-white);border-color:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--secondary:not([disabled]):hover{color:var(--spw-colors-support-grey-grey-900);border-color:var(--spw-ds-white);background:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--secondary:not([disabled]):active{color:var(--spw-colors-support-grey-grey-900);border-color:white;background:white;opacity:0.9}.spw-button--surface-primary.spw-button--secondary[disabled]{border-color:white;background:white;color:var(--spw-colors-support-grey-grey-600);opacity:0.5}.spw-button--surface-primary.spw-button--secondary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-primary.spw-button--tertiary{box-shadow:none;color:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--tertiary:not([disabled]):hover,.spw-button--surface-primary.spw-button--tertiary:not([disabled]):active{box-shadow:none}.spw-button--surface-primary.spw-button--tertiary:not([disabled]):active{color:white;opacity:0.9}.spw-button--surface-primary.spw-button--tertiary[disabled]{color:white;opacity:0.5}.spw-button--surface-primary.spw-button--tertiary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-light.spw-button--primary[disabled]{color:var(--spw-colors-support-grey-grey-600);background:var(--spw-colors-support-grey-grey-500)}.spw-button--surface-light.spw-button--secondary{color:var(--spw-colors-support-grey-grey-900);background:var(--spw-ds-white)}.spw-button--surface-light.spw-button--secondary:not([disabled]):hover{background:var(--spw-colors-support-grey-grey-300)}.spw-button--surface-light.spw-button--secondary:not([disabled]):active{background:var(--spw-colors-support-grey-grey-500)}.spw-button--surface-light.spw-button--secondary[disabled]{color:var(--spw-colors-support-grey-grey-600);background:var(--spw-colors-support-grey-grey-500)}.spw-button--surface-light.spw-button--tertiary{color:var(--spw-colors-support-grey-grey-900)}.spw-button--surface-light.spw-button--tertiary:not([disabled]):active{color:var(--spw-ds-primary)}.spw-button--surface-light.spw-button--tertiary[disabled]{color:var(--spw-colors-support-grey-grey-600)}.spw-button--large{font-size:var(--spw-button-font-size-large);padding:var(--spw-button-py-large) var(--spw-button-px-large)}.spw-button--large .spw-button__inner-text{gap:12px}.spw-button--large.spw-button--is-icon-only{width:54px}.spw-button--medium{font-size:var(--spw-button-font-size-medium);padding:var(--spw-button-py-medium) var(--spw-button-px-medium)}.spw-button--medium .spw-button__inner-text{gap:8px}.spw-button--medium.spw-button--is-icon-only{width:45px}.spw-button--small{font-size:var(--spw-button-font-size-small);padding:var(--spw-button-py-small) var(--spw-button-px-small)}.spw-button--small .spw-button__inner-text{gap:6px}.spw-button--small.spw-button--is-icon-only{width:35px}.spw-button--small.spw-button--tertiary,.spw-button--medium.spw-button--tertiary,.spw-button--large.spw-button--tertiary{padding:4px}';const n=class{constructor(o){t(this,o),this.text="Chargement...",this.surface="light",this.size="medium",this.orientation="horizontal"}get loadingClasses(){return{"spw-loading":!0,[`spw-loading--${this.surface}`]:!0,[`spw-loading--${this.size}`]:!0,[`spw-loading--${this.orientation}`]:!0}}render(){return e(s,{key:"3e4184324f5760fb373c047ff96b3ceb639b653e"},e("div",{key:"79980d59ff58731f54276d77a2687914c96b4e92",class:this.loadingClasses},e("div",{key:"0e8b3edc3682ff1b51a161e1a9d8a7913e10aeeb",class:"spw-loading__spinner"}),this.text&&e("p",{key:"6fe0eb89d7727ecf6ad9d0cb4efed0b586904436",class:"spw-loading__text"},this.text)))}};n.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;--spw-loading-border-color:var(--spw-color-themes-grey-grey-200);--spw-loading-spinner-color:var(--spw-ds-primary);--spw-loading-text-color:var(--spw-color-themes-grey-grey-800)}.spw-loading{display:flex;align-items:center}.spw-loading__spinner{width:20px;height:20px;border-radius:50%;border:4px solid var(--spw-loading-border-color);border-top-color:var(--spw-loading-spinner-color);animation:loading 1s linear infinite}@keyframes loading{to{transform:rotate(360deg)}}.spw-loading__text{font-size:14px;color:var(--spw-loading-text-color)}.spw-loading--light{--spw-loading-border-color:var(--spw-color-themes-grey-grey-200);--spw-loading-spinner-color:var(--spw-ds-primary);--spw-loading-text-color:var(--spw-color-themes-grey-grey-800)}.spw-loading--dark{--spw-loading-border-color:rgba(255, 255, 255, 0.3);--spw-loading-spinner-color:var(--spw-color-themes-grey-grey-50);--spw-loading-text-color:var(--spw-color-themes-grey-grey-50)}.spw-loading--small .spw-loading__spinner{width:16px;height:16px;border-width:3px}.spw-loading--small .spw-loading__text{font-size:12px;margin-left:6px}.spw-loading--medium .spw-loading__spinner{width:20px;height:20px;border-width:4px}.spw-loading--medium .spw-loading__text{font-size:14px;margin-left:8px}.spw-loading--large .spw-loading__spinner{width:30px;height:30px;border-width:5px}.spw-loading--large .spw-loading__text{font-size:16px;margin-left:8px}.spw-loading--extra-large .spw-loading__spinner{width:36px;height:36px;border-width:6px}.spw-loading--extra-large .spw-loading__text{font-size:18px;margin-left:12px}.spw-loading--horizontal{flex-direction:row}.spw-loading--horizontal .spw-loading__text{margin-top:0}.spw-loading--vertical{flex-direction:column}.spw-loading--vertical .spw-loading__text{margin-left:0;margin-top:8px}";export{i as spw_button,n as spw_loading}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,a as i}from"./p-Co4V4Zk-.js";const o=class{constructor(t){e(this,t),this.hoverIcon="fa-plus"}componentDidLoad(){const e=this.el.closest("spw-card");e&&(e.addEventListener("mouseenter",(()=>this.onCardHover(!0))),e.addEventListener("mouseleave",(()=>this.onCardHover(!1))))}onCardHover(e){const t=this.el.shadowRoot.querySelector(".spw-card-image");t&&(e?t.classList.add("--is-hovered"):t.classList.remove("--is-hovered"))}get hasRatio(){return!!(this.ratio||this.ratioMobile||this.ratioTablet||this.ratioDesktop)}get elementClass(){return{"spw-card-image":!0,"spw-card-image--ratio":this.hasRatio}}render(){const e={};return this.ratio&&(e["--spw-card-image-ratio"]=this.ratio,e["--spw-card-image-ratio-mobile"]=this.ratio,e["--spw-card-image-ratio-tablet"]=this.ratio,e["--spw-card-image-ratio-desktop"]=this.ratio),this.ratioMobile&&(e["--spw-card-image-ratio-mobile"]=this.ratioMobile),this.ratioTablet&&(e["--spw-card-image-ratio-tablet"]=this.ratioTablet),this.ratioDesktop&&(e["--spw-card-image-ratio-desktop"]=this.ratioDesktop),this.imagePosition&&(e["--spw-card-image-object-position"]=this.imagePosition),this.imageFit&&(e["--spw-card-image-object-fit"]=this.imageFit),t("div",{key:"c9ffeacabaf599a9562559ccaa1a5c115e6f159e",class:this.elementClass,style:e},this.label&&t("span",{key:"a3d537c2db0473ba0627d4c2ff49ae23a5b5c610",class:"spw-card-image__label"},this.label),t("slot",{key:"795a34b5ac13c9193fb300296d305bff356d874a"}),t("div",{key:"bc1ac9a4db7a9c6126d8aaf087e21b9b561d2b1f",class:"spw-card-image__icon"},t("spw-icon",{key:"c65bc7dbb9f2b8dc6c13de087b173657566d3209",icon:this.hoverIcon})))}get el(){return i(this)}};o.style='html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host(.--video):after,:host(.--highlighted):after{content:"";background:black;opacity:0.4;transition:all linear 0.2s;border-radius:5px;position:absolute;top:0;left:0;width:100%;height:100%}:host{width:100%;line-height:1;--spw-card-image-display:block}:host(.--people){width:112px;max-width:112px}.spw-card-image{position:relative;overflow:hidden;border-radius:5px 5px 0 0;display:var(--spw-card-image-display)}:host(.--vertical) .spw-card-image,:host(.--event) .spw-card-image{border-radius:5px 0 0 5px}:host(.--highlighted) .spw-card-image,:host(.--people) .spw-card-image{border-radius:5px}:host(.--video) .spw-card-image,:host(.--sidebar) .spw-card-image{border-radius:5px}.spw-card-image ::slotted(img),.spw-card-image img{width:100%;height:auto;transition:all 0.3s ease;transform-origin:center center}.spw-card-image--ratio{aspect-ratio:var(--spw-card-image-ratio-mobile, var(--spw-card-image-ratio))}@media (min-width: 768px){.spw-card-image--ratio{aspect-ratio:var(--spw-card-image-ratio-tablet, var(--spw-card-image-ratio))}}@media (min-width: 1024px){.spw-card-image--ratio{aspect-ratio:var(--spw-card-image-ratio-desktop, var(--spw-card-image-ratio))}}.spw-card-image--ratio ::slotted(img),.spw-card-image--ratio img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:var(--spw-card-image-object-fit, cover);object-position:var(--spw-card-image-object-position, center)}.spw-card-image__icon:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:black;opacity:0.4}.spw-card-image__icon{position:absolute;z-index:2;display:flex;visibility:hidden;width:100%;height:100%;font-size:30px;font-weight:300;opacity:0;top:0;left:0;color:white;justify-content:center;align-items:center;transition:all 0.3s ease}.spw-card-image__icon spw-icon{transform:scale(1.5);transition:all 0.3s ease}.spw-card-image__label{position:absolute;top:10px;right:10px;display:inline-flex;padding:8px 12px;align-items:center;border-radius:9999px;color:var(--spw-color-themes-grey-grey-900);box-shadow:var(--spw-effect-elevation-3);font-size:14px;background:var(--spw-ds-white);z-index:3;line-height:1}:host(.--hovered:not(.--video)) .spw-card-image .spw-card-image__icon,:host(.--hovered:not(.--video)) .spw-card-image.--is-hovered .spw-card-image__icon{visibility:visible;opacity:1}:host(.--hovered:not(.--video)) .spw-card-image .spw-card-image__icon spw-icon,:host(.--hovered:not(.--video)) .spw-card-image.--is-hovered .spw-card-image__icon spw-icon{transform:scale(1)}:host(.--hovered:not(.--video)) .spw-card-image ::slotted(img),:host(.--hovered:not(.--video)) .spw-card-image.--is-hovered ::slotted(img){transform:scale(1.1)}:host(.--vertical),:host(.--event){width:170px;min-width:170px;position:relative;overflow:hidden}:host(.--vertical) .spw-card-image,:host(.--event) .spw-card-image{height:100%}:host(.--vertical) .spw-card-image ::slotted(img),:host(.--event) .spw-card-image ::slotted(img){position:absolute;top:0;left:0;width:100%;height:100% !important;object-fit:var(--spw-card-image-object-fit, cover);object-position:var(--spw-card-image-object-position, center)}:host(.--sidebar){width:75px;min-width:75px;height:75px;min-height:75px;position:relative;overflow:hidden}:host(.--sidebar) .spw-card-image{height:100%}:host(.--sidebar) .spw-card-image ::slotted(img){position:absolute;top:0;left:0;width:100%;height:100% !important;object-fit:var(--spw-card-image-object-fit, cover);object-position:var(--spw-card-image-object-position, center)}:host(.--highlighted){position:relative}:host(.--highlighted):after{opacity:0}:host(.--video){width:100%;height:100%;position:absolute;overflow:hidden;top:0;left:0}:host(.--video):after{opacity:0}:host(.--video) .spw-card-image{height:100%}:host(.--video) .spw-card-image ::slotted(img){position:absolute;top:0;left:0;width:100%;height:100% !important;object-fit:var(--spw-card-image-object-fit, cover);object-position:var(--spw-card-image-object-position, center)}:host(.--video.--hovered):after{opacity:0.2}:host(.--rounded-picture){width:100%}:host(.--rounded-picture) .spw-card-image{border-radius:8px 8px 120px 8px;border:1px solid var(--spw-color-themes-grey-grey-300);overflow:hidden}:host(.--rounded-picture) .spw-card-image ::slotted(img),:host(.--rounded-picture) .spw-card-image img{width:100%;height:100% !important;object-fit:cover;object-position:center;display:block}';export{o as spw_card_image}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as e,a as i}from"./p-Co4V4Zk-.js";const o=class{constructor(e){t(this,e),this.valueChanged=s(this,"valueChanged",7),this.optionCreated=s(this,"optionCreated",7),this.optionRemoved=s(this,"optionRemoved",7),e.$hostElement$["s-ei"]?this.internals=e.$hostElement$["s-ei"]:(this.internals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.internals),this.parentScrollContainer=null,this.isOpen=!1,this.parsedOptions=[],this.focusedOptionIndex=null,this.searchText="",this.hasSlottedFooter=!1,this.dropdownDirection="down",this.hasSelectedValue=!1,this.dropdownPosition={top:0,left:0,width:0},this.value=[],this.label="",this.placeholder="Sélectionnez une option",this.searchPlaceholder="Entrez votre recherche",this.noResultsText="Aucun résultat trouvé",this.required=!1,this.size="medium",this.multiple=!1,this.isSearch=!1,this.error="",this.hint="",this.success="",this.warning="",this.showErrorIcon=!0,this.showHintIcon=!0,this.showSuccessIcon=!0,this.showWarningIcon=!0,this.tooltipDirection="top",this.tooltipCursor="help",this.fixedDropdown=!1,this.isClear=!1,this.direction="auto",this.allowCreate=!1,this.handleOtherSelectOpened=t=>{t.detail.instance!==this.host&&this.isOpen&&this.closeDropdown()},this.handleClickOutside=t=>{var s,e;if(this.isOpen){const i=t.composedPath(),o=i[0],c=this.host.contains(o),r=null===(s=this.host.shadowRoot)||void 0===s?void 0:s.querySelector(".spw-custom-select__search-input"),n=null==r?void 0:r.contains(o),l=this.hostElement.querySelector('[slot="footer"]'),a=!!l&&i.includes(l);if(!c&&!n&&!a){if(this.multiple){const t=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".spw-custom-select__options");if(t&&t.contains(o))return}this.closeDropdown()}}},this.updateDropdownPosition=()=>{if(!this.selectContainer)return;const t=this.selectContainer.getBoundingClientRect(),s=window.innerHeight;this.dropdownDirection="top"===this.direction?"up":"bottom"===this.direction?"down":t.bottom+200>s&&t.top>200?"up":"down",this.dropdownPosition={top:t.bottom,left:t.left,width:t.width}}}componentWillLoad(){if(this.multiple)if("string"==typeof this.value)try{this.internalValue=JSON.parse(this.value)}catch(t){this.internalValue=[]}else this.internalValue=Array.isArray(this.value)?this.value:[];else this.internalValue=this.value;this.defaultValue=this.internalValue,this.items&&this.parseOptions(this.items),this.updateSelectedOption()}async setFocus(){var t,s;const e=null===(t=this.host)||void 0===t?void 0:t.querySelector(".spw-custom-select__search-input");e?e.focus():null===(s=this.selectContainer)||void 0===s||s.focus()}async resetSelect(){this.multiple?(this.internalValue=[],this.value=[]):(this.internalValue="",this.value=""),this.searchText="",this.focusedOptionIndex=null,this.internals.setFormValue(this.getFormValue()),this.valueChanged.emit(this.internalValue),this.updateSelectedOption()}async setValue(t){this.multiple?(this.internalValue=Array.isArray(t)?t:[t],this.value=this.internalValue):(this.internalValue=t,this.value=t),this.internals.setFormValue(this.getFormValue()),this.valueChanged.emit(this.internalValue),this.updateSelectedOption()}async getValue(){return this.internalValue}formResetCallback(){this.setValue(this.defaultValue)}componentDidLoad(){this.internals.setFormValue(this.getFormValue());const t=this.hostElement.querySelector('[slot="footer"]');this.hasSlottedFooter=!!t}connectedCallback(){document.addEventListener("click",this.handleClickOutside,!0),document.addEventListener("spw-custom-select-opened",this.handleOtherSelectOpened),window.addEventListener("scroll",this.updateDropdownPosition,!0),window.addEventListener("resize",this.updateDropdownPosition)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside,!0),document.removeEventListener("spw-custom-select-opened",this.handleOtherSelectOpened),window.removeEventListener("scroll",this.updateDropdownPosition,!0),window.removeEventListener("resize",this.updateDropdownPosition),this.cleanupParentScrollListener(),this.isOpen=!1}findParentComponent(){if(!this.fixedDropdownParent)return null;let t=this.hostElement;for(;t;){if(t instanceof HTMLElement&&t.tagName.toLowerCase()===this.fixedDropdownParent.toLowerCase())return t;if(t.parentElement)t=t.parentElement;else{const s=t.getRootNode();if(!(s instanceof ShadowRoot))break;t=s.host}}return null}findScrollContainerInShadowRoot(t){const s=t.shadowRoot;if(!s)return null;const e=s.querySelectorAll("*");let i=null,o=-1;for(const t of Array.from(e)){const e=t,c=window.getComputedStyle(e);if("auto"===c.overflow||"scroll"===c.overflow||"auto"===c.overflowY||"scroll"===c.overflowY){let c=0,r=t;for(;r&&r!==s;)c++,r=r.parentNode;c>o&&(o=c,i=e)}}return i}ensureParentScrollListener(){if(!this.fixedDropdownParent||!this.fixedDropdown)return;if(this.parentScrollContainer)return;const t=this.findParentComponent();t&&(this.parentScrollContainer=this.findScrollContainerInShadowRoot(t),this.parentScrollContainer&&this.parentScrollContainer.addEventListener("scroll",this.updateDropdownPosition))}cleanupParentScrollListener(){this.parentScrollContainer&&(this.parentScrollContainer.removeEventListener("scroll",this.updateDropdownPosition),this.parentScrollContainer=null)}parseOptions(t){try{this.parsedOptions=Array.isArray(t)?t.map((t=>({value:t.value,label:t.label,disabled:t.disabled||!1}))):[],this.updateSelectedOption()}catch(t){this.parsedOptions=[]}}valueChangedHandler(t){this.internalValue=this.multiple?Array.isArray(t)?t:[t]:t,this.updateSelectedOption(),this.internals.setFormValue(this.getFormValue()),this.valueChanged.emit(this.internalValue)}updateSelectedOption(){this.internals.setFormValue(this.getFormValue()),this.multiple||void 0===this.internalValue?this.multiple&&Array.isArray(this.internalValue)&&(this.internalValue=this.internalValue.filter((t=>this.parsedOptions.some((s=>String(s.value)===String(t))))).sort(((t,s)=>this.parsedOptions.findIndex((s=>String(s.value)===String(t)))-this.parsedOptions.findIndex((t=>String(t.value)===String(s)))))):this.focusedOptionIndex=this.parsedOptions.findIndex((t=>String(t.value)===String(this.internalValue)))}internalValueChanged(){this.hasSelectedValue=Array.isArray(this.internalValue)?this.internalValue.length>0:Boolean(this.internalValue)}getFormValue(){return this.multiple?Array.isArray(this.internalValue)&&this.internalValue.length>0?this.internalValue.map((t=>String(t))).join(","):null:this.internalValue?String(this.internalValue):null}toggleDropdown(t){if(!this.disabled){if(t){if(t.composedPath()[0].classList.contains("spw-custom-select__search-input"))return;t.stopPropagation()}this.determineDropdownDirection();const s=this.isOpen;this.isOpen=!this.isOpen,this.isOpen&&!s&&(this.ensureParentScrollListener(),this.notifyOtherSelects()),this.isOpen||(this.focusedOptionIndex=null)}}notifyOtherSelects(){const t=new CustomEvent("spw-custom-select-opened",{detail:{instance:this.host},bubbles:!0,composed:!0});document.dispatchEvent(t)}determineDropdownDirection(){this.updateDropdownPosition()}openDropdownWithKeyboard(){this.determineDropdownDirection(),this.isOpen=!0,this.focusedOptionIndex=0,this.ensureParentScrollListener(),this.notifyOtherSelects()}closeDropdown(){this.isOpen=!1,this.focusedOptionIndex=null,this.searchText=""}slugify(t){return this.normalizeString(t).replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"")}addCreatedOption(t){const s=t.trim();if(!s)return;const e=this.slugify(s),i={label:s,value:e,created:!0};this.parsedOptions=[...this.parsedOptions,i],this.optionCreated.emit(i),this.selectOption(e),this.searchText=""}removeCreatedOption(t,s){if(s.stopPropagation(),this.multiple){const s=this.internalValue.findIndex((s=>String(s)===String(t.value)));s>-1&&(this.internalValue=[...this.internalValue.slice(0,s),...this.internalValue.slice(s+1)],this.value=this.internalValue,this.internals.setFormValue(this.getFormValue()),this.valueChanged.emit(this.internalValue))}else String(this.internalValue)===String(t.value)&&(this.internalValue="",this.value="",this.internals.setFormValue(this.getFormValue()),this.valueChanged.emit(this.internalValue));this.parsedOptions=this.parsedOptions.filter((s=>String(s.value)!==String(t.value))),this.optionRemoved.emit(t)}handleClear(t){t.stopPropagation(),this.resetSelect()}selectOption(t,s){s&&s.stopPropagation();const e=this.parsedOptions.find((s=>String(s.value)===String(t)));if(!(null==e?void 0:e.disabled)){if(this.multiple){const s=this.internalValue.findIndex((s=>String(s)===String(t)));this.internalValue=s>-1?[...this.internalValue.slice(0,s),...this.internalValue.slice(s+1)]:[...this.internalValue,t],this.internalValue=this.internalValue.sort(((t,s)=>this.parsedOptions.findIndex((s=>String(s.value)===String(t)))-this.parsedOptions.findIndex((t=>String(t.value)===String(s)))))}else this.internalValue=t,this.closeDropdown();this.value=this.internalValue,this.internals.setFormValue(this.getFormValue()),this.valueChanged.emit(this.internalValue),this.updateSelectedOption()}}handleOptionKeyDown(t,s){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.selectOption(s))}handleKeyDown(t){var s,e;if(!t.target.classList.contains("spw-custom-select__search-input"))switch(t.key){case" ":t.preventDefault(),this.isOpen||this.openDropdownWithKeyboard();break;case"ArrowDown":if(t.preventDefault(),this.isOpen){let t=null===this.focusedOptionIndex?0:(this.focusedOptionIndex+1)%this.parsedOptions.length;for(;(null===(s=this.parsedOptions[t])||void 0===s?void 0:s.disabled)&&t!==this.focusedOptionIndex;)t=(t+1)%this.parsedOptions.length;this.focusedOptionIndex=t}else this.openDropdownWithKeyboard();break;case"ArrowUp":if(t.preventDefault(),this.isOpen){let t=null===this.focusedOptionIndex?this.parsedOptions.length-1:(this.focusedOptionIndex-1+this.parsedOptions.length)%this.parsedOptions.length;for(;(null===(e=this.parsedOptions[t])||void 0===e?void 0:e.disabled)&&t!==this.focusedOptionIndex;)t=(t-1+this.parsedOptions.length)%this.parsedOptions.length;this.focusedOptionIndex=t}break;case"Enter":t.preventDefault(),this.isOpen&&null!==this.focusedOptionIndex&&this.selectOption(this.parsedOptions[this.focusedOptionIndex].value);break;case"Escape":this.isOpen&&this.closeDropdown()}}renderErrorMessage(){if(this.error)return e("spw-field-message",{variant:"error",showIcon:this.showErrorIcon},this.error)}renderHintMessage(){if(this.hint)return e("spw-field-message",{variant:"hint",showIcon:this.showHintIcon},this.hint)}renderWarningMessage(){if(this.warning)return e("spw-field-message",{variant:"warning",showIcon:this.showWarningIcon},this.warning)}renderSuccessMessage(){if(this.success)return e("spw-field-message",{variant:"success",showIcon:this.showSuccessIcon},this.success)}get elementClass(){const t=this.showCreateButton();return{"spw-custom-select":!0,[`spw-custom-select--${this.size}`]:!0,[`spw-custom-select--${this.dropdownDirection}`]:!0,"spw-custom-select--is-error":!!this.error,"spw-custom-select--disabled":this.disabled,"spw-custom-select--is-opened":this.isOpen,"spw-custom-select--has-value":this.hasSelectedValue,"spw-custom-select--no-value":!this.hasSelectedValue,"spw-custom-select--is-searchable":this.isSearch,"spw-custom-select--not-searchable":!this.isSearch,"spw-custom-select--is-clear":this.isClear&&(this.hasSelectedValue||!!this.searchText),"spw-custom-select--show-create":t}}normalizeString(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}getSelectedLabels(){if(this.multiple)return Array.isArray(this.internalValue)&&this.internalValue.length>0?this.internalValue.map((t=>{var s;return null===(s=this.parsedOptions.find((s=>String(s.value)===String(t))))||void 0===s?void 0:s.label})).filter(Boolean).join(", "):null;{const t=this.parsedOptions.find((t=>String(t.value)===String(this.internalValue)));return t?t.label:null}}getFilteredOptions(){const t=this.normalizeString(this.searchText);return this.parsedOptions.filter((s=>this.normalizeString(s.label).includes(t)))}handleSearchInput(t){this.searchText=t.target.value,this.focusedOptionIndex=0,this.isOpen||(this.isOpen=!0,this.ensureParentScrollListener(),this.notifyOtherSelects())}isSearchVisible(){return!!this.isSearch&&(!this.hasSelectedValue&&!this.isOpen||!(!this.isSearch||!this.isOpen)||this.isOpen)}showPlaceholder(){return!this.isSearch&&!this.hasSelectedValue}showCreateButton(){if(!this.allowCreate||!this.isSearch||!this.searchText.trim())return!1;const t=this.normalizeString(this.searchText.trim());return!this.parsedOptions.some((s=>this.normalizeString(s.label)===t))}render(){const t=this.getFilteredOptions(),s=this.showPlaceholder(),i=this.showCreateButton();return e("div",{key:"4bb22979651b6946dd66fc9844f205e59d0a5411",class:this.elementClass,ref:t=>this.host=t},this.label&&e("spw-field-label",{key:"4d9c26597da16ec05bc8aee0c2a03413ea17ff50",label:this.label,name:this.name,required:this.required,tooltipTitle:this.tooltipTitle,tooltipText:this.tooltipText,tooltipMaxWidth:this.tooltipMaxWidth,tooltipDirection:this.tooltipDirection,tooltipCursor:this.tooltipCursor}),this.assistiveText&&e("spw-field-message",{key:"85594d2693007a09d2d1b70b9f5bc61056548ee2",class:"spw-custom-select__field-message",variant:"hint",showIcon:!1},this.assistiveText),e("div",{key:"53fe8200e2e8ec025c9148bb76a4bd7418068513",class:"spw-custom-select__wrapper"},e("div",{key:"79b757cffef9f53eb738d2e11aee592e63211841",class:"spw-custom-select__container",id:this.name,ref:t=>this.selectContainer=t,onClick:t=>this.toggleDropdown(t),onKeyDown:t=>this.handleKeyDown(t),tabindex:this.disabled?-1:0},e("div",{key:"c502d3c270203b548990cfab7d45394557314334",class:"spw-custom-select__selected"},this.isSearchVisible()&&e("div",{key:"9134c7f87988d3f0efb6c8095646bb6a1ca8ebd0",class:"spw-custom-select__search"},e("input",{key:"0a5b873ac75d71f480e1209184fa0e63552632b9",class:"spw-custom-select__search-input",placeholder:this.searchPlaceholder,onInput:t=>this.handleSearchInput(t),value:this.searchText}),i&&this.isOpen&&this.hasSelectedValue&&e("button",{key:"7ecf48c56ddb8a7918a38b37b0dbfb47994fc0af",class:"spw-custom-select__create-btn spw-custom-select__create-btn--big",type:"button",onMouseDown:t=>{t.preventDefault(),t.stopPropagation(),this.addCreatedOption(this.searchText)}},e("spw-icon",{key:"078c09832bcce6f476a83be55bc54e4cd19223bc",icon:"fa-plus"}))),s&&e("span",{key:"29e59d519f39c3dcafe60a169b2a01adee8904f7"},this.placeholder),this.multiple&&this.internalValue.length>0&&e("div",{key:"205e9ebc3bf531b76fc0abdbb760c214a08b6623",class:"spw-custom-select__selected-items"},this.internalValue.map((t=>{var s;return e("span",{class:"spw-custom-select__selected-item"},null===(s=this.parsedOptions.find((s=>String(s.value)===String(t))))||void 0===s?void 0:s.label,e("spw-icon",{icon:"fa-times",class:"spw-custom-select__deselect-icon",onClick:s=>this.selectOption(t,s)}))}))),!this.multiple&&e("span",{key:"67eb1e59a69443c63cfe030421a45dd9ed98d626"},this.getSelectedLabels()))),e("div",{key:"d36ae8e7dbcbdf5d3895482bf94ce352ccb2deb2",class:"spw-custom-select__icons"},i&&!(this.isOpen&&this.hasSelectedValue)&&e("button",{key:"d5ab27383e5915b3a6a23e2a4c233e37b56bdcda",class:"spw-custom-select__create-btn",type:"button",onMouseDown:t=>{t.preventDefault(),t.stopPropagation(),this.addCreatedOption(this.searchText)}},e("spw-icon",{key:"00e486f257d3576fe5a481320685c0f73ac76b43",icon:"fa-plus"})),this.isClear&&(this.hasSelectedValue||!!this.searchText)&&e("span",{key:"522cc58133eebfc86d8f64ab549905f4d7dc85ea",class:"spw-custom-select__clear",onClick:t=>this.handleClear(t)},e("spw-icon",{key:"4afc256de08bae62efde4d0903a2fa2de4438d89",icon:"fa-xmark"})),e("div",{key:"ae0fb99288bad447c52288df66afdcf042c139d8",class:"spw-custom-select__arrow"},e("spw-icon",{key:"2166910463c05b09b845eab799fbb13b63bcc06f",icon:this.isOpen?"fa-chevron-up":"fa-chevron-down"}))),this.isOpen&&e("div",{key:"2331976d5867174852a1394987bf6bdf8545a3f2",class:{"spw-custom-select__options":!0,[`spw-custom-select__options--${this.dropdownDirection}`]:!0,"spw-custom-select__options--fixed":this.fixedDropdown},style:this.fixedDropdown?{position:"fixed",top:`${this.dropdownPosition.top}px`,left:`${this.dropdownPosition.left}px`,width:`${this.dropdownPosition.width}px`}:{}},e("div",{key:"43dd9a1b026ff6aac3a4d309e4f4e950156566ef",class:"spw-custom-select__options-list"},!!t.length&&e("ul",{key:"dc42399871b8b4286a440a9c5da7c618301ca330"},t.map(((t,s)=>e("li",{class:{"spw-custom-select__option":!0,"spw-custom-select__option--selected":this.multiple?this.internalValue.some((s=>String(s)===String(t.value))):t.value===this.internalValue,"spw-custom-select__option--focused":s===this.focusedOptionIndex,"spw-custom-select__option--disabled":t.disabled,"spw-custom-select__option--created":!!t.created},onClick:()=>this.selectOption(t.value)},this.multiple&&e("spw-checkbox",{onKeyDown:s=>this.handleOptionKeyDown(s,t.value),class:"spw-custom-select__checkbox",checked:this.internalValue.some((s=>String(s)===String(t.value))),disabled:t.disabled}),t.label,t.created&&e("spw-icon",{class:"spw-custom-select__option-remove",icon:"fa-trash",onClick:s=>this.removeCreatedOption(t,s)}))))),!t.length&&e("p",{key:"16b8fc9d36f71937588d8f57ddf593380766a5a8",class:"spw-custom-select__no-results"},this.noResultsText)),this.hasSlottedFooter&&e("div",{key:"c273c08ab20c4d80b26045fba0bc8abca5564851",class:"spw-custom-select__options-footer"},e("slot",{key:"f54f6b94a36cc064f8820a6892cfb02b05e039b1",name:"footer"})))),this.renderErrorMessage(),this.renderHintMessage(),this.renderSuccessMessage(),this.renderWarningMessage())}static get formAssociated(){return!0}get hostElement(){return i(this)}static get watchers(){return{items:[{parseOptions:0}],value:[{valueChangedHandler:0}],internalValue:[{internalValueChanged:0}]}}};o.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-custom-select{position:relative}.spw-custom-select__field-message{margin-bottom:8px;margin-top:-4px}.spw-custom-select__checkbox{margin-right:8px}.spw-custom-select__container{display:flex;justify-content:space-between;align-items:center;width:100%;height:40px;padding:0 12px;line-height:40px;border-radius:4px;border:1px solid var(--spw-color-themes-grey-grey-800);background-color:#fff}.spw-custom-select__container:hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-custom-select__container:focus-within,.spw-custom-select__container:focus-visible{outline:3px solid white;outline-offset:0;box-shadow:0 0 0 6px black}.spw-custom-select--disabled .spw-custom-select__container{border-color:var(--spw-color-themes-grey-grey-400);background:var(--spw-color-themes-grey-grey-100);color:var(--spw-color-themes-grey-grey-500);cursor:not-allowed}.spw-custom-select--disabled .spw-custom-select__container::placeholder{color:var(--spw-color-themes-grey-grey-500)}.spw-custom-select--disabled .spw-custom-select__container:hover,.spw-custom-select--disabled .spw-custom-select__container:focus,.spw-custom-select--disabled .spw-custom-select__container:focus-visible{outline:none}.spw-custom-select--is-error .spw-custom-select__container{border-color:var(--spw-colors-states-error-error-300)}.spw-custom-select--large .spw-custom-select__container{height:60px;padding:0 24px;line-height:60px}.spw-custom-select--is-opened .spw-custom-select__container{height:auto;line-height:1;min-height:40px}.spw-custom-select--is-opened.spw-custom-select--down .spw-custom-select__container{border-radius:4px 4px 0 0;border-bottom-color:transparent}.spw-custom-select--is-opened.spw-custom-select--up .spw-custom-select__container{border-radius:0 0 4px 4px;border-top-color:transparent}.spw-custom-select__selected{flex:1;padding-right:30px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.spw-custom-select__selected span{white-space:nowrap}.spw-custom-select--is-clear .spw-custom-select__selected{padding-right:58px}.spw-custom-select__selected-item{display:inline-flex;align-items:center;gap:6px;color:var(--spw-color-themes-grey-grey-900);border:1px solid var(--spw-color-themes-grey-grey-900);background:var(--spw-color-themes-grey-grey-200);line-height:24px;height:24px;padding:0 8px;margin:4px 6px 2px 0;border-radius:999px;font-size:14px;user-select:none}.spw-custom-select__selected-items{flex:1;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.spw-custom-select--is-opened .spw-custom-select__selected-items{padding-top:3px;padding-bottom:4px;overflow:visible;text-overflow:initial;text-wrap:initial}.spw-custom-select__icons{display:flex;align-items:center;position:absolute;top:50%;right:12px;gap:8px;pointer-events:none;transform:translateY(-50%);z-index:12}.spw-custom-select--large .spw-custom-select__icons{right:24px}.spw-custom-select__clear{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;pointer-events:auto;cursor:pointer;padding:2px;font-size:16px;transition:all 0.2s ease-in}.spw-custom-select__clear:hover{color:var(--spw-ds-primary)}.spw-custom-select__arrow{font-size:16px;color:var(--spw-color-themes-grey-grey-900);pointer-events:none}.spw-custom-select__wrapper{position:relative}.spw-custom-select--is-opened .spw-custom-select__search{position:absolute;top:0;left:0;z-index:11;width:100%;margin-top:1px;display:flex;align-items:center}.spw-custom-select--has-value.spw-custom-select--is-opened .spw-custom-select__search{top:100%;margin-top:-3px;padding:4px;border:1px solid var(--spw-color-themes-grey-grey-800);background:white}.spw-custom-select--up.spw-custom-select--has-value.spw-custom-select--is-opened .spw-custom-select__search{top:-100%;margin-top:-7px}.spw-custom-select__search-input{padding:0;height:38px;line-height:40px;border:none;margin:0;width:calc(100% - 30px);background:transparent;text-overflow:ellipsis}.spw-custom-select--is-clear .spw-custom-select__search-input{width:calc(100% - 58px)}.spw-custom-select--show-create .spw-custom-select__search-input{width:calc(100% - 66px)}.spw-custom-select--is-clear.spw-custom-select--show-create .spw-custom-select__search-input{width:calc(100% - 94px)}.spw-custom-select__search-input:focus{outline:none}.spw-custom-select--is-opened .spw-custom-select__search-input{border-left:1px solid var(--spw-color-themes-grey-grey-800);padding:0 12px}.spw-custom-select--is-opened.spw-custom-select--has-value .spw-custom-select__search-input{border:1px solid var(--spw-color-themes-grey-grey-800);flex:1;width:auto;border-radius:3px}.spw-custom-select__create-btn{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0;padding-top:2px;width:28px;line-height:28px;border:1px solid var(--spw-color-themes-grey-grey-800);border-radius:100px;background:#fff;cursor:pointer;color:var(--spw-color-themes-grey-grey-900);font-size:14px;pointer-events:auto;transition:background 0.15s ease, border-color 0.15s ease}.spw-custom-select__create-btn:hover{background:var(--spw-color-themes-grey-grey-200);border-color:var(--spw-color-themes-grey-grey-900)}.spw-custom-select__create-btn:focus-visible{outline:3px solid white;box-shadow:0 0 0 6px black}.spw-custom-select__create-btn--big{width:38px;height:38px;border-radius:4px;margin-left:4px;padding-top:0}.spw-custom-select__options{background-color:#fff;border:1px solid var(--spw-color-themes-grey-grey-800);border-radius:0 0 4px 4px;overflow:hidden;z-index:9999;box-shadow:0 4px 6px rgba(0, 0, 0, 0.1)}.spw-custom-select__options:not(.spw-custom-select__options--fixed){position:absolute;top:100%;left:0;width:100%;margin-top:-1px}.spw-custom-select__options--up:not(.spw-custom-select__options--fixed){top:0;transform:translateY(-100%);border-radius:4px 4px 0 0;margin-top:0}.spw-custom-select__options--fixed.spw-custom-select__options--down{transform:translateY(0)}.spw-custom-select__options--fixed.spw-custom-select__options--up{transform:translateY(-100%);border-radius:4px 4px 0 0;margin-top:-40px}.spw-custom-select--down.spw-custom-select--has-value.spw-custom-select--is-opened:not(.spw-custom-select--not-searchable) .spw-custom-select__options--fixed{margin-top:44px}.spw-custom-select--up.spw-custom-select--has-value.spw-custom-select--is-opened:not(.spw-custom-select--not-searchable) .spw-custom-select__options--fixed{margin-top:-86px}.spw-custom-select--down.spw-custom-select--has-value.spw-custom-select--is-opened:not(.spw-custom-select--not-searchable) .spw-custom-select__options:not(.spw-custom-select__options--fixed){margin-top:44px}.spw-custom-select--up.spw-custom-select--has-value.spw-custom-select--is-opened:not(.spw-custom-select--not-searchable) .spw-custom-select__options:not(.spw-custom-select__options--fixed){margin-top:-46px}.spw-custom-select__options-list{max-height:200px;overflow-y:auto}.spw-custom-select__options-list::-webkit-scrollbar{width:14px;height:14px}.spw-custom-select__options-list::-webkit-scrollbar-thumb{background:var(--spw-color-themes-grey-grey-400);border-radius:20px;border:4px solid var(--spw-ds-white)}.spw-custom-select__options-list::-webkit-scrollbar-track{background:var(--spw-ds-white)}.spw-custom-select__options-list{scrollbar-face-color:var(--spw-color-themes-grey-grey-400);scrollbar-track-color:var(--spw-ds-white)}.spw-custom-select__options-footer{border-top:1px solid var(--spw-color-themes-grey-grey-900);padding:8px;background-color:#fff}.spw-custom-select__no-results{padding:12px;cursor:not-allowed;color:var(--spw-color-themes-grey-grey-600)}.spw-custom-select__option{display:flex;align-items:center;border-bottom:1px solid var(--spw-color-themes-grey-grey-900);padding:12px;cursor:pointer}.spw-custom-select__option:hover{background-color:var(--spw-color-themes-grey-grey-200)}.spw-custom-select__option:last-child{border-bottom:none}.spw-custom-select__option--selected{font-weight:700}.spw-custom-select__option--disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.spw-custom-select__option--disabled:hover{background-color:transparent}.spw-custom-select__option--created{justify-content:space-between}.spw-custom-select__option-remove{padding-left:4px;margin-left:auto;flex-shrink:0;font-size:14px;color:var(--spw-color-themes-grey-grey-600);transition:color 0.15s ease}.spw-custom-select__option-remove:hover{color:var(--spw-color-themes-grey-grey-900)}.spw-custom-select__error{display:block;font-size:12px;color:var(--spw-color-themes-grey-grey-600);margin-top:8px}.spw-custom-select__option--focused{background-color:var(--spw-color-themes-grey-grey-300)}";export{o as spw_custom_select}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-Co4V4Zk-.js";const n=class{constructor(e){t(this,e),this.active=!1}render(){return this.active?e("div",{class:"spw-tabs-content",role:"tabpanel",id:`panel-${this.tabId}`,"aria-labelledby":`tab-${this.tabId}`,"aria-hidden":this.active?"false":"true"},e("slot",null)):null}};n.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}:host(.--box) .spw-tabs-content{border:1px solid var(--spw-colors-support-grey-grey-300);border-radius:0 0 4px 4px;background:white}";export{n as spw_tabs_content}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as n,a as o}from"./p-Co4V4Zk-.js";const s=class{constructor(i){t(this,i),this.tocItemsChanged=e(this,"tocItemsChanged",7)}componentDidLoad(){this.scanHeadings(),this.setupMutationObserver()}disconnectedCallback(){this.observer&&this.observer.disconnect()}async getItems(){return this.scanHeadings()}setupMutationObserver(){this.observer=new MutationObserver((()=>{this.scanHeadings()})),this.observer.observe(this.el,{childList:!0,subtree:!0,characterData:!0})}slugify(t){return t.toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}scanHeadings(){const t=[];return this.el.querySelectorAll("h2, h3, h4, h5, h6").forEach((e=>{var i;const n=(null===(i=e.textContent)||void 0===i?void 0:i.trim())||"";let o=e.id;if(!o&&n&&(o=this.slugify(n),e.id=o),o&&n){const i=parseInt(e.tagName.substring(1));t.push({id:o,text:n,level:i})}})),this.tocItemsChanged.emit(t),t}render(){return i(n,{key:"b65fc485e901264fc4df9443d7ad55b4c17cb52c"},i("slot",{key:"186f67706aa14e2fd3ce5799e61de589bd1a5a59"}))}get el(){return o(this)}};s.style="html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main)}body{margin:0}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}";export{s as spw_toc_container}
|