@spw-ds/spw-stencil-library 1.12.1 → 1.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cem.json +40 -0
- 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 +2 -2
- 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 +1 -1
- package/dist/cjs/spw-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/spw-field-label_8.cjs.entry.js +7 -7
- package/dist/cjs/spw-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-bottom.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-content-col.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer.cjs.entry.js +1 -1
- package/dist/cjs/spw-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-grid.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-lang.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-navigation.cjs.entry.js +4 -2
- package/dist/cjs/spw-header-persona-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-persona.cjs.entry.js +1 -1
- package/dist/cjs/spw-header.cjs.entry.js +1 -1
- package/dist/cjs/spw-hero.cjs.entry.js +1 -1
- package/dist/cjs/spw-illustration.cjs.entry.js +1 -1
- package/dist/cjs/spw-input-slider.cjs.entry.js +1 -1
- package/dist/cjs/spw-lightbox-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-lightbox.cjs.entry.js +1 -1
- package/dist/cjs/spw-list-description.cjs.entry.js +1 -1
- package/dist/cjs/spw-list-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-list-title.cjs.entry.js +1 -1
- package/dist/cjs/spw-list.cjs.entry.js +1 -1
- package/dist/cjs/spw-message.cjs.entry.js +1 -1
- package/dist/cjs/spw-modal.cjs.entry.js +9 -7
- package/dist/cjs/spw-mosaic-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-mosaic.cjs.entry.js +1 -1
- package/dist/cjs/spw-pagination.cjs.entry.js +1 -1
- package/dist/cjs/spw-radio.cjs.entry.js +1 -1
- package/dist/cjs/spw-scrolltop.cjs.entry.js +1 -1
- package/dist/cjs/spw-search-field.cjs.entry.js +4 -4
- package/dist/cjs/spw-select.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/spw-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/spw-slider-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-slider.cjs.entry.js +1 -1
- package/dist/cjs/spw-socials.cjs.entry.js +1 -1
- package/dist/cjs/spw-stencil-library.cjs.js +1 -1
- package/dist/cjs/spw-table-body.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-head.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-header.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-row.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-sidebar.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/spw-tabs-navigation.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs.cjs.entry.js +1 -1
- package/dist/cjs/spw-tag.cjs.entry.js +1 -1
- package/dist/cjs/spw-text-field.cjs.entry.js +1 -1
- package/dist/cjs/spw-textarea.cjs.entry.js +1 -1
- package/dist/cjs/spw-tile-description.cjs.entry.js +1 -1
- package/dist/cjs/spw-tile-title.cjs.entry.js +1 -1
- package/dist/cjs/spw-tile.cjs.entry.js +1 -1
- package/dist/cjs/spw-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-timeline.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/spw-topbar.cjs.entry.js +1 -1
- package/dist/cjs/spw-wizard-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-wizard.cjs.entry.js +6 -4
- package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.css +0 -7
- package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.css +0 -7
- package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.css +0 -7
- package/dist/collection/components/spw-accordion/spw-accordion.css +0 -7
- package/dist/collection/components/spw-avatar/spw-avatar.css +0 -7
- package/dist/collection/components/spw-block-content/spw-block-content.css +0 -7
- package/dist/collection/components/spw-box/spw-box.css +0 -7
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.css +0 -7
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.css +0 -7
- package/dist/collection/components/spw-button/spw-button.css +0 -7
- package/dist/collection/components/spw-card/spw-card-content/spw-card-content.css +0 -7
- package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.css +0 -7
- package/dist/collection/components/spw-card/spw-card-image/spw-card-image.css +0 -7
- package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.css +0 -7
- package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.css +0 -7
- package/dist/collection/components/spw-card/spw-card-title/spw-card-title.css +0 -7
- package/dist/collection/components/spw-card/spw-card.css +0 -7
- package/dist/collection/components/spw-checkbox/spw-checkbox.css +0 -7
- package/dist/collection/components/spw-cookies/spw-cookies.css +0 -7
- package/dist/collection/components/spw-custom-select/spw-custom-select.css +0 -7
- package/dist/collection/components/spw-date-picker/spw-date-picker.css +0 -7
- package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.css +0 -7
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.css +0 -7
- package/dist/collection/components/spw-dropdown/spw-dropdown.css +0 -7
- package/dist/collection/components/spw-field-label/spw-field-label.css +0 -7
- package/dist/collection/components/spw-field-message/spw-field-message.css +0 -7
- package/dist/collection/components/spw-file-upload/spw-file-upload.css +0 -7
- package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.css +0 -7
- package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.css +0 -7
- package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.css +0 -7
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.css +0 -7
- package/dist/collection/components/spw-footer/spw-footer.css +0 -7
- package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.css +0 -7
- package/dist/collection/components/spw-grid/spw-grid.css +0 -7
- package/dist/collection/components/spw-group/spw-group.css +0 -7
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.css +0 -7
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.css +0 -7
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +23 -1
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.css +0 -7
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.css +0 -7
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.css +0 -7
- package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.css +0 -7
- package/dist/collection/components/spw-header/spw-header.css +0 -7
- package/dist/collection/components/spw-hero/spw-hero.css +0 -7
- package/dist/collection/components/spw-icon/spw-icon.css +0 -7
- package/dist/collection/components/spw-illustration/spw-illustration.css +0 -7
- package/dist/collection/components/spw-input-slider/spw-input-slider.css +0 -7
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.css +0 -7
- package/dist/collection/components/spw-lightbox/spw-lightbox.css +0 -7
- package/dist/collection/components/spw-link/spw-link.css +0 -7
- package/dist/collection/components/spw-list/spw-list-description/spw-list-description.css +0 -7
- package/dist/collection/components/spw-list/spw-list-item/spw-list-item.css +0 -7
- package/dist/collection/components/spw-list/spw-list-title/spw-list-title.css +0 -7
- package/dist/collection/components/spw-list/spw-list.css +0 -7
- package/dist/collection/components/spw-loading/spw-loading.css +0 -7
- package/dist/collection/components/spw-message/spw-message.css +0 -7
- package/dist/collection/components/spw-modal/spw-modal.css +0 -7
- package/dist/collection/components/spw-modal/spw-modal.js +8 -6
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.css +0 -7
- package/dist/collection/components/spw-mosaic/spw-mosaic.css +0 -7
- package/dist/collection/components/spw-pagination/spw-pagination.css +0 -7
- package/dist/collection/components/spw-radio/spw-radio.css +0 -7
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.css +0 -7
- package/dist/collection/components/spw-search-field/spw-search-field.css +0 -7
- package/dist/collection/components/spw-search-field/spw-search-field.js +3 -3
- package/dist/collection/components/spw-select/spw-select.css +0 -7
- package/dist/collection/components/spw-separator/spw-separator.css +0 -7
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.css +0 -7
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.css +0 -7
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.css +0 -7
- package/dist/collection/components/spw-sidebar/spw-sidebar.css +0 -7
- package/dist/collection/components/spw-skeleton/spw-skeleton.css +0 -7
- package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.css +0 -7
- package/dist/collection/components/spw-slider/spw-slider.css +0 -7
- package/dist/collection/components/spw-socials/spw-socials.css +0 -7
- package/dist/collection/components/spw-table/spw-table-body/spw-table-body.css +0 -7
- package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.css +0 -7
- package/dist/collection/components/spw-table/spw-table-container/spw-table-container.css +0 -7
- package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.css +0 -7
- package/dist/collection/components/spw-table/spw-table-head/spw-table-head.css +0 -7
- package/dist/collection/components/spw-table/spw-table-header/spw-table-header.css +0 -7
- package/dist/collection/components/spw-table/spw-table-row/spw-table-row.css +0 -7
- package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.css +0 -7
- package/dist/collection/components/spw-table/spw-table.css +0 -7
- package/dist/collection/components/spw-tabs/spw-tabs-content/spw-tabs-content.css +0 -7
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.css +0 -7
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.css +0 -7
- package/dist/collection/components/spw-tabs/spw-tabs.css +0 -7
- package/dist/collection/components/spw-tag/spw-tag.css +0 -7
- package/dist/collection/components/spw-text-field/spw-text-field.css +0 -7
- package/dist/collection/components/spw-textarea/spw-textarea.css +0 -7
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.css +0 -7
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +0 -7
- package/dist/collection/components/spw-tile/spw-tile.css +0 -7
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.css +0 -7
- package/dist/collection/components/spw-timeline/spw-timeline.css +0 -7
- package/dist/collection/components/spw-toast/spw-toast-controller/spw-toast-controller.css +0 -7
- package/dist/collection/components/spw-toast/spw-toast.css +0 -7
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.css +0 -7
- package/dist/collection/components/spw-toc/spw-toc-navigation/spw-toc-navigation.css +0 -7
- package/dist/collection/components/spw-toc/spw-toc.css +0 -7
- package/dist/collection/components/spw-tooltip/spw-tooltip.css +0 -7
- package/dist/collection/components/spw-topbar/spw-topbar.css +0 -7
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.css +0 -7
- package/dist/collection/components/spw-wizard/spw-wizard.css +0 -7
- package/dist/collection/components/spw-wizard/spw-wizard.js +25 -3
- package/dist/components/p-4fzd5oDU.js +1 -0
- package/dist/{spw-stencil-library/p-bb192c0e.entry.js → components/p-BFQBddHX.js} +1 -1
- package/dist/components/p-BciLkiPG.js +1 -0
- package/dist/components/p-Bgg_Iv0O.js +1 -0
- package/dist/components/p-Btr81Ed_.js +1 -0
- package/dist/components/{p-BwzaPX9J.js → p-C1tFbihv.js} +1 -1
- package/dist/components/p-CH2dDXFF.js +1 -0
- package/dist/components/p-CMCm3XXa.js +1 -0
- package/dist/components/p-CUBYPgR-.js +1 -0
- package/dist/components/p-CXYGffCy.js +1 -0
- package/dist/components/p-CkwH0osH.js +1 -0
- package/dist/components/p-D-Y3xljk.js +1 -0
- package/dist/components/p-D01eUn9Q.js +1 -0
- package/dist/components/p-DHKTbYO_.js +1 -0
- package/dist/components/p-DaQA1Uox.js +1 -0
- package/dist/components/{p-BNsbxGcj.js → p-w4Zf5JRT.js} +1 -1
- 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-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 +3 -3
- 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-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 +59 -1
- package/dist/components_vscode.json +8 -0
- 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 +2 -2
- 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 +1 -1
- package/dist/esm/spw-date-picker.entry.js +1 -1
- package/dist/esm/spw-dropdown-container.entry.js +1 -1
- package/dist/esm/spw-dropdown-item.entry.js +1 -1
- package/dist/esm/spw-dropdown.entry.js +1 -1
- package/dist/esm/spw-field-label_8.entry.js +7 -7
- package/dist/esm/spw-file-upload.entry.js +1 -1
- package/dist/esm/spw-footer-bottom.entry.js +1 -1
- package/dist/esm/spw-footer-content-col.entry.js +1 -1
- package/dist/esm/spw-footer-content.entry.js +1 -1
- package/dist/esm/spw-footer-link.entry.js +1 -1
- package/dist/esm/spw-footer.entry.js +1 -1
- package/dist/esm/spw-grid-item.entry.js +1 -1
- package/dist/esm/spw-grid.entry.js +1 -1
- package/dist/esm/spw-header-lang.entry.js +1 -1
- package/dist/esm/spw-header-navigation-dropdown.entry.js +1 -1
- package/dist/esm/spw-header-navigation-item.entry.js +1 -1
- package/dist/esm/spw-header-navigation.entry.js +4 -2
- package/dist/esm/spw-header-persona-item.entry.js +1 -1
- package/dist/esm/spw-header-persona.entry.js +1 -1
- package/dist/esm/spw-header.entry.js +1 -1
- package/dist/esm/spw-hero.entry.js +1 -1
- package/dist/esm/spw-illustration.entry.js +1 -1
- package/dist/esm/spw-input-slider.entry.js +1 -1
- package/dist/esm/spw-lightbox-item.entry.js +1 -1
- package/dist/esm/spw-lightbox.entry.js +1 -1
- package/dist/esm/spw-list-description.entry.js +1 -1
- package/dist/esm/spw-list-item.entry.js +1 -1
- package/dist/esm/spw-list-title.entry.js +1 -1
- package/dist/esm/spw-list.entry.js +1 -1
- package/dist/esm/spw-message.entry.js +1 -1
- package/dist/esm/spw-modal.entry.js +9 -7
- package/dist/esm/spw-mosaic-item.entry.js +1 -1
- package/dist/esm/spw-mosaic.entry.js +1 -1
- package/dist/esm/spw-pagination.entry.js +1 -1
- package/dist/esm/spw-radio.entry.js +1 -1
- package/dist/esm/spw-scrolltop.entry.js +1 -1
- package/dist/esm/spw-search-field.entry.js +4 -4
- package/dist/esm/spw-select.entry.js +1 -1
- package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +1 -1
- package/dist/esm/spw-sidebar-navigation-item.entry.js +1 -1
- package/dist/esm/spw-sidebar-navigation-separator.entry.js +1 -1
- package/dist/esm/spw-sidebar.entry.js +1 -1
- package/dist/esm/spw-skeleton.entry.js +1 -1
- package/dist/esm/spw-slider-item.entry.js +1 -1
- package/dist/esm/spw-slider.entry.js +1 -1
- package/dist/esm/spw-socials.entry.js +1 -1
- package/dist/esm/spw-stencil-library.js +1 -1
- package/dist/esm/spw-table-body.entry.js +1 -1
- package/dist/esm/spw-table-cell.entry.js +1 -1
- package/dist/esm/spw-table-container.entry.js +1 -1
- package/dist/esm/spw-table-footer.entry.js +1 -1
- package/dist/esm/spw-table-head.entry.js +1 -1
- package/dist/esm/spw-table-header.entry.js +1 -1
- package/dist/esm/spw-table-row.entry.js +1 -1
- package/dist/esm/spw-table-sidebar.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/spw-tabs-navigation.entry.js +1 -1
- package/dist/esm/spw-tabs.entry.js +1 -1
- package/dist/esm/spw-tag.entry.js +1 -1
- package/dist/esm/spw-text-field.entry.js +1 -1
- package/dist/esm/spw-textarea.entry.js +1 -1
- package/dist/esm/spw-tile-description.entry.js +1 -1
- package/dist/esm/spw-tile-title.entry.js +1 -1
- package/dist/esm/spw-tile.entry.js +1 -1
- package/dist/esm/spw-timeline-item.entry.js +1 -1
- package/dist/esm/spw-timeline.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/spw-topbar.entry.js +1 -1
- package/dist/esm/spw-wizard-item.entry.js +1 -1
- package/dist/esm/spw-wizard.entry.js +6 -4
- package/dist/spw-stencil-library/p-093151f0.entry.js +1 -0
- package/dist/spw-stencil-library/p-0956452c.entry.js +1 -0
- package/dist/spw-stencil-library/p-096ba549.entry.js +1 -0
- package/dist/spw-stencil-library/p-0af7ad45.entry.js +1 -0
- package/dist/spw-stencil-library/p-0bdb6b45.entry.js +1 -0
- package/dist/spw-stencil-library/{p-693b980f.entry.js → p-0ecfa6fa.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ca225328.entry.js → p-0faf30c7.entry.js} +1 -1
- package/dist/spw-stencil-library/p-10624141.entry.js +1 -0
- package/dist/spw-stencil-library/p-11081edc.entry.js +1 -0
- package/dist/spw-stencil-library/{p-34cc819b.entry.js → p-1160c435.entry.js} +1 -1
- package/dist/spw-stencil-library/p-12b78f0f.entry.js +1 -0
- package/dist/spw-stencil-library/p-174e1f14.entry.js +1 -0
- package/dist/spw-stencil-library/p-1e06fe64.entry.js +1 -0
- package/dist/spw-stencil-library/{p-84c41619.entry.js → p-1e61703c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d35874ea.entry.js → p-1e84b48d.entry.js} +1 -1
- package/dist/spw-stencil-library/p-1f135fdb.entry.js +1 -0
- package/dist/spw-stencil-library/p-213a7a5d.entry.js +1 -0
- package/dist/spw-stencil-library/p-28701d8d.entry.js +1 -0
- package/dist/spw-stencil-library/{p-d41080ab.entry.js → p-2aecf4aa.entry.js} +1 -1
- package/dist/spw-stencil-library/p-2c58d495.entry.js +1 -0
- package/dist/spw-stencil-library/{p-862fdbdb.entry.js → p-2cdffa52.entry.js} +1 -1
- package/dist/spw-stencil-library/p-36e966b6.entry.js +1 -0
- package/dist/spw-stencil-library/p-3a5aa905.entry.js +1 -0
- package/dist/spw-stencil-library/p-3e27dae3.entry.js +1 -0
- package/dist/spw-stencil-library/{p-30bd9c0a.entry.js → p-41dac78f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-61b5224c.entry.js → p-485ecf3e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3ccb9c03.entry.js → p-4b69cf71.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-009759c5.entry.js → p-4c18e304.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f1baf303.entry.js → p-548efe71.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-82aa983b.entry.js → p-56898654.entry.js} +1 -1
- package/dist/spw-stencil-library/p-59b8ba01.entry.js +1 -0
- package/dist/spw-stencil-library/p-5faae2e0.entry.js +1 -0
- package/dist/spw-stencil-library/p-64741460.entry.js +1 -0
- package/dist/spw-stencil-library/p-65dd5c74.entry.js +1 -0
- package/dist/spw-stencil-library/{p-525c4149.entry.js → p-665e01bd.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1fba6401.entry.js → p-6c9bcee4.entry.js} +1 -1
- package/dist/spw-stencil-library/p-6e7aa2fb.entry.js +1 -0
- package/dist/spw-stencil-library/p-710c42a5.entry.js +1 -0
- package/dist/spw-stencil-library/p-714d45ad.entry.js +1 -0
- package/dist/spw-stencil-library/p-755d996c.entry.js +1 -0
- package/dist/spw-stencil-library/{p-d004b229.entry.js → p-79efde20.entry.js} +1 -1
- package/dist/spw-stencil-library/p-7c2cbe6c.entry.js +1 -0
- package/dist/spw-stencil-library/{p-8bb6a14d.entry.js → p-7c40f2d0.entry.js} +1 -1
- package/dist/spw-stencil-library/p-809bc00b.entry.js +1 -0
- package/dist/spw-stencil-library/p-85d6d0d4.entry.js +1 -0
- package/dist/spw-stencil-library/p-86737504.entry.js +1 -0
- package/dist/spw-stencil-library/p-868af137.entry.js +1 -0
- package/dist/spw-stencil-library/p-89be7ef5.entry.js +1 -0
- package/dist/spw-stencil-library/{p-7ccef87e.entry.js → p-8a2654aa.entry.js} +1 -1
- package/dist/spw-stencil-library/p-8b8f8608.entry.js +1 -0
- package/dist/spw-stencil-library/p-90f5f252.entry.js +1 -0
- package/dist/spw-stencil-library/{p-c660aab1.entry.js → p-9341a8c9.entry.js} +1 -1
- package/dist/spw-stencil-library/p-9489b280.entry.js +1 -0
- package/dist/spw-stencil-library/p-96904763.entry.js +1 -0
- package/dist/spw-stencil-library/p-99291555.entry.js +1 -0
- package/dist/spw-stencil-library/p-9e9f235d.entry.js +1 -0
- package/dist/spw-stencil-library/{p-474cbbca.entry.js → p-a2004bb3.entry.js} +1 -1
- package/dist/spw-stencil-library/p-ad497333.entry.js +1 -0
- package/dist/spw-stencil-library/p-ae35dd6c.entry.js +1 -0
- package/dist/spw-stencil-library/p-af70ed2a.entry.js +1 -0
- package/dist/spw-stencil-library/p-b03393de.entry.js +1 -0
- package/dist/spw-stencil-library/p-b0b7e5bc.entry.js +1 -0
- package/dist/spw-stencil-library/{p-81927404.entry.js → p-b56d8a05.entry.js} +1 -1
- package/dist/spw-stencil-library/p-b6226007.entry.js +1 -0
- package/dist/spw-stencil-library/p-ba3057fc.entry.js +1 -0
- package/dist/spw-stencil-library/p-bb3713ea.entry.js +1 -0
- package/dist/spw-stencil-library/p-be44b882.entry.js +1 -0
- package/dist/spw-stencil-library/p-c216e44e.entry.js +1 -0
- package/dist/spw-stencil-library/p-c778adaa.entry.js +1 -0
- package/dist/spw-stencil-library/p-cdd86935.entry.js +1 -0
- package/dist/spw-stencil-library/p-ceeb01c4.entry.js +1 -0
- package/dist/spw-stencil-library/p-d16208aa.entry.js +1 -0
- package/dist/spw-stencil-library/{p-ce07d59f.entry.js → p-d38788c4.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-28e49d02.entry.js → p-d3d7e4bf.entry.js} +1 -1
- package/dist/spw-stencil-library/p-d3e2f712.entry.js +1 -0
- package/dist/spw-stencil-library/p-da9d52ff.entry.js +1 -0
- package/dist/spw-stencil-library/p-db8988a2.entry.js +1 -0
- package/dist/spw-stencil-library/p-dbf95dfe.entry.js +1 -0
- package/dist/spw-stencil-library/p-dfe826bb.entry.js +1 -0
- package/dist/spw-stencil-library/{p-eeacd7b2.entry.js → p-e0cf6ee7.entry.js} +1 -1
- package/dist/spw-stencil-library/p-e17c0746.entry.js +1 -0
- package/dist/spw-stencil-library/{p-0a9288b5.entry.js → p-e305e962.entry.js} +1 -1
- package/dist/spw-stencil-library/p-e4025520.entry.js +1 -0
- package/dist/spw-stencil-library/p-ea6f5ed5.entry.js +1 -0
- package/dist/spw-stencil-library/p-ebb50977.entry.js +1 -0
- package/dist/spw-stencil-library/p-ee3b59d4.entry.js +1 -0
- package/dist/spw-stencil-library/p-f295e57d.entry.js +1 -0
- package/dist/spw-stencil-library/p-f50104cd.entry.js +1 -0
- package/dist/spw-stencil-library/{p-fd564976.entry.js → p-f641b8d7.entry.js} +1 -1
- package/dist/spw-stencil-library/p-f73ffd96.entry.js +1 -0
- package/dist/spw-stencil-library/{p-50ccad8a.entry.js → p-f8250816.entry.js} +1 -1
- package/dist/spw-stencil-library/p-fedf8280.entry.js +1 -0
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +33233 -29968
- package/dist/types/components/spw-header/spw-header-navigation/spw-header-navigation.d.ts +2 -0
- package/dist/types/components/spw-wizard/spw-wizard.d.ts +2 -0
- package/dist/types/components.d.ts +22 -0
- package/hydrate/index.js +126 -118
- package/hydrate/index.mjs +126 -118
- package/package.json +1 -1
- package/dist/components/p-1uE1Qo3N.js +0 -1
- package/dist/components/p-BRlLi9Ar.js +0 -1
- package/dist/components/p-BpRPVStK.js +0 -1
- package/dist/components/p-C8Vf9QlU.js +0 -1
- package/dist/components/p-CCD1i9Et.js +0 -1
- package/dist/components/p-CLCgZYzK.js +0 -1
- package/dist/components/p-CT9zdtB2.js +0 -1
- package/dist/components/p-Ce4aFl4t.js +0 -1
- package/dist/components/p-CfyijrJ8.js +0 -1
- package/dist/components/p-CnGo7W4h.js +0 -1
- package/dist/components/p-DdZeGXq7.js +0 -1
- package/dist/components/p-HzgF73Oa.js +0 -1
- package/dist/components/p-oVOlDrOp.js +0 -1
- package/dist/components/p-rvgnHRf7.js +0 -1
- package/dist/spw-stencil-library/p-0bf4fb22.entry.js +0 -1
- package/dist/spw-stencil-library/p-0ebf4d8c.entry.js +0 -1
- package/dist/spw-stencil-library/p-0efd7784.entry.js +0 -1
- package/dist/spw-stencil-library/p-153a026f.entry.js +0 -1
- package/dist/spw-stencil-library/p-1875874e.entry.js +0 -1
- package/dist/spw-stencil-library/p-1d5ff931.entry.js +0 -1
- package/dist/spw-stencil-library/p-28a5d0bf.entry.js +0 -1
- package/dist/spw-stencil-library/p-29695c41.entry.js +0 -1
- package/dist/spw-stencil-library/p-2b182fc8.entry.js +0 -1
- package/dist/spw-stencil-library/p-2ce6dc02.entry.js +0 -1
- package/dist/spw-stencil-library/p-2dda4dfe.entry.js +0 -1
- package/dist/spw-stencil-library/p-35b865cf.entry.js +0 -1
- package/dist/spw-stencil-library/p-37c6153e.entry.js +0 -1
- package/dist/spw-stencil-library/p-38a53864.entry.js +0 -1
- package/dist/spw-stencil-library/p-3f195a1c.entry.js +0 -1
- package/dist/spw-stencil-library/p-3fbc7bba.entry.js +0 -1
- package/dist/spw-stencil-library/p-416f6040.entry.js +0 -1
- package/dist/spw-stencil-library/p-45af74a9.entry.js +0 -1
- package/dist/spw-stencil-library/p-4904c883.entry.js +0 -1
- package/dist/spw-stencil-library/p-49b99541.entry.js +0 -1
- package/dist/spw-stencil-library/p-4dd215d6.entry.js +0 -1
- package/dist/spw-stencil-library/p-52fe32c2.entry.js +0 -1
- package/dist/spw-stencil-library/p-5601a46f.entry.js +0 -1
- package/dist/spw-stencil-library/p-5b520d03.entry.js +0 -1
- package/dist/spw-stencil-library/p-5d77d128.entry.js +0 -1
- package/dist/spw-stencil-library/p-6194071c.entry.js +0 -1
- package/dist/spw-stencil-library/p-66da29be.entry.js +0 -1
- package/dist/spw-stencil-library/p-6908b401.entry.js +0 -1
- package/dist/spw-stencil-library/p-6b6f4a62.entry.js +0 -1
- package/dist/spw-stencil-library/p-7217cd99.entry.js +0 -1
- package/dist/spw-stencil-library/p-732b2f4c.entry.js +0 -1
- package/dist/spw-stencil-library/p-74a9d177.entry.js +0 -1
- package/dist/spw-stencil-library/p-778c6591.entry.js +0 -1
- package/dist/spw-stencil-library/p-7bd15d1e.entry.js +0 -1
- package/dist/spw-stencil-library/p-7c4f53c3.entry.js +0 -1
- package/dist/spw-stencil-library/p-7db10e21.entry.js +0 -1
- package/dist/spw-stencil-library/p-7fc6757a.entry.js +0 -1
- package/dist/spw-stencil-library/p-8063aa58.entry.js +0 -1
- package/dist/spw-stencil-library/p-80c24670.entry.js +0 -1
- package/dist/spw-stencil-library/p-82883102.entry.js +0 -1
- package/dist/spw-stencil-library/p-8bbea8cb.entry.js +0 -1
- package/dist/spw-stencil-library/p-8c750816.entry.js +0 -1
- package/dist/spw-stencil-library/p-90067a27.entry.js +0 -1
- package/dist/spw-stencil-library/p-98e59a94.entry.js +0 -1
- package/dist/spw-stencil-library/p-9ccc1685.entry.js +0 -1
- package/dist/spw-stencil-library/p-a3ee7134.entry.js +0 -1
- package/dist/spw-stencil-library/p-a51ad71d.entry.js +0 -1
- package/dist/spw-stencil-library/p-a585320e.entry.js +0 -1
- package/dist/spw-stencil-library/p-a6250c87.entry.js +0 -1
- package/dist/spw-stencil-library/p-a6fb9fd7.entry.js +0 -1
- package/dist/spw-stencil-library/p-a80a9482.entry.js +0 -1
- package/dist/spw-stencil-library/p-ada5d5c1.entry.js +0 -1
- package/dist/spw-stencil-library/p-b106fb83.entry.js +0 -1
- package/dist/spw-stencil-library/p-b125ec4f.entry.js +0 -1
- package/dist/spw-stencil-library/p-b1ccc7eb.entry.js +0 -1
- package/dist/spw-stencil-library/p-c18a3d8a.entry.js +0 -1
- package/dist/spw-stencil-library/p-d2dfe51b.entry.js +0 -1
- package/dist/spw-stencil-library/p-e0ce83c2.entry.js +0 -1
- package/dist/spw-stencil-library/p-f1ecd17e.entry.js +0 -1
- package/dist/spw-stencil-library/p-f20b2da0.entry.js +0 -1
- package/dist/spw-stencil-library/p-f5d2d168.entry.js +0 -1
- package/dist/spw-stencil-library/p-fbe8dc29.entry.js +0 -1
- package/dist/spw-stencil-library/p-fc96be97.entry.js +0 -1
- package/dist/spw-stencil-library/p-ff289cc8.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as i,a as s,t as n}from"./index.js";import{d as
|
|
1
|
+
import{p as e,H as t,h as i,a as s,t as n}from"./index.js";import{d as r}from"./p-BFQBddHX.js";import{d as o}from"./p-Bgg_Iv0O.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.href="",this.surface="light"}surfaceChanged(){this.updateSurfaceClass()}componentWillLoad(){this.getSurfaceFromParent()}getSurfaceFromParent(){let e=this.el.parentElement;for(;e;){if("spw-breadcrumb"===e.tagName.toLowerCase()){this.surface=e.getAttribute("surface"),this.surface||(this.surface="light"),this.updateSurfaceClass();break}e=e.shadowRoot?e.shadowRoot.host:e.parentElement}}updateSurfaceClass(){this.el.classList.remove("spw-breadcrumb-item--light","spw-breadcrumb-item--dark"),this.el.classList.add("spw-breadcrumb-item--"+this.surface)}render(){return i(s,{key:"68661d36076f8e2ded2e0d3d438157e4bf5eeba7"},i("div",{key:"9bbabf1f3d7a3d5655b08670e4f021adc48c50c3",role:"listitem",class:"spw-breadcrumb-item spw-breadcrumb-item--"+this.surface},this.href?i("spw-link",{href:this.href,surface:this.surface},i("slot",null)):i("span",{class:"spw-breadcrumb-item__text","aria-current":"page"},i("slot",null))))}get el(){return this}static get watchers(){return{surface:[{surfaceChanged:0}]}}static get style(){return"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-breadcrumb-item{list-style:none;display:inline}.spw-breadcrumb-item__text{font-weight:700;color:var(--spw-color-themes-grey-grey-900)}:host(.spw-breadcrumb-item--dark) .spw-breadcrumb-item__text{color:var(--spw-ds-white)}.spw-breadcrumb-item spw-link{--spw-link-font-weight:400}:host(.spw-breadcrumb-item--light) .spw-breadcrumb-item spw-link{--spw-link-color:var(--spw-color-themes-grey-grey-900);--spw-link-hover-color:var(--spw-color-themes-grey-grey-900);--spw-link-active-color:var(--spw-color-themes-grey-grey-800)}"}},[257,"spw-breadcrumb-item",{href:[1],surface:[32]},void 0,{surface:[{surfaceChanged:0}]}]),p=a,d=function(){"undefined"!=typeof customElements&&["spw-breadcrumb-item","spw-icon","spw-link"].forEach((e=>{switch(e){case"spw-breadcrumb-item":customElements.get(n(e))||customElements.define(n(e),a);break;case"spw-icon":customElements.get(n(e))||r();break;case"spw-link":customElements.get(n(e))||o()}}))};export{p as SpwBreadcrumbItem,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as i,a as s,t as a}from"./index.js";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.maxItems=9999,this.variant="default",this.surface="light",this.fontSize="small"}componentDidLoad(){this.updateBreadcrumbVisibility()}componentDidUpdate(){this.updateBreadcrumbVisibility()}updateBreadcrumbVisibility(){const e=this.host.querySelectorAll("spw-breadcrumb-item"),t=e.length;if(e.forEach((e=>{e.classList.remove("hidden-item","collapsed-item")})),t>this.maxItems){const i=this.maxItems-1;e.forEach(((e,s)=>{s>=i&&s<t-1&&e.classList.add(s===t-2?"collapsed-item":"hidden-item")}))}}render(){return i(s,{key:"72cd3232357b54b5fa081df2c605ea039b791fd7"},i("nav",{key:"214606d2a4d13a2d629d9d88aa8a5182be5006c3","aria-label":this.accAriaLabel,class:{"spw-breadcrumb":!0,["spw-breadcrumb--surface-"+this.surface]:!0,["spw-breadcrumb--font-size-"+this.fontSize]:!0,["spw-breadcrumb--"+this.variant]:!0}},i("div",{key:"4ea1cedcd9fcd650e8198c1d613959bbee9f155e",role:"list",class:"spw-breadcrumb__list"},i("slot",{key:"8cc4da01764ace42c2de886f453e3c322c2f0483"}))))}get host(){return this}static get style(){return'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}
|
|
1
|
+
import{p as e,H as t,h as i,a as s,t as a}from"./index.js";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.maxItems=9999,this.variant="default",this.surface="light",this.fontSize="small"}componentDidLoad(){this.updateBreadcrumbVisibility()}componentDidUpdate(){this.updateBreadcrumbVisibility()}updateBreadcrumbVisibility(){const e=this.host.querySelectorAll("spw-breadcrumb-item"),t=e.length;if(e.forEach((e=>{e.classList.remove("hidden-item","collapsed-item")})),t>this.maxItems){const i=this.maxItems-1;e.forEach(((e,s)=>{s>=i&&s<t-1&&e.classList.add(s===t-2?"collapsed-item":"hidden-item")}))}}render(){return i(s,{key:"72cd3232357b54b5fa081df2c605ea039b791fd7"},i("nav",{key:"214606d2a4d13a2d629d9d88aa8a5182be5006c3","aria-label":this.accAriaLabel,class:{"spw-breadcrumb":!0,["spw-breadcrumb--surface-"+this.surface]:!0,["spw-breadcrumb--font-size-"+this.fontSize]:!0,["spw-breadcrumb--"+this.variant]:!0}},i("div",{key:"4ea1cedcd9fcd650e8198c1d613959bbee9f155e",role:"list",class:"spw-breadcrumb__list"},i("slot",{key:"8cc4da01764ace42c2de886f453e3c322c2f0483"}))))}get host(){return this}static get style(){return'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-breadcrumb{font-size:16px;max-width:100%;width:100%}.spw-breadcrumb--font-size-small{font-size:14px}.spw-breadcrumb__list{display:flex;list-style:none;padding:0;margin:0;width:100%;max-width:100%}@media (min-width: 1024px){.spw-breadcrumb--multiline .spw-breadcrumb__list{display:block}}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:last-child){display:block;margin-top:12px !important}}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)):after{display:none !important}}::slotted(spw-breadcrumb-item){margin-right:10px !important;padding-left:24px !important;position:relative;display:none}::slotted(spw-breadcrumb-item):after{position:absolute;top:50%;transform:translateY(-50%);left:0;font-family:var(--spw-ds-font-icons-solid);font-weight:700;content:"\\f060";font-size:14px}@media (min-width: 1024px){::slotted(spw-breadcrumb-item):after{right:0;left:auto;transform:translateY(-50%);content:"\\f054";font-size:12px}}@media (min-width: 1024px){::slotted(spw-breadcrumb-item){display:inline-block;padding-left:0 !important;padding-right:16px !important}}::slotted(spw-breadcrumb-item:last-child){flex:1;overflow:hidden;display:none;margin-right:0 !important;-webkit-box-orient:vertical;text-overflow:ellipsis;-webkit-line-clamp:1;line-clamp:1;padding-right:0 !important}::slotted(spw-breadcrumb-item:last-child):after{display:none}@media (min-width: 1024px){::slotted(spw-breadcrumb-item:last-child){display:-webkit-box}}.spw-breadcrumb:not(.spw-breadcrumb--multiline):not(.spw-breadcrumb--one-line) ::slotted(spw-breadcrumb-item:nth-last-child(2)){display:-webkit-box !important}.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item){display:none}@media (min-width: 1024px){.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item){display:inline-block}}.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child){overflow:initial;display:-webkit-box !important}.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child):after{display:block}@media (min-width: 1024px){.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child):after{display:none}}@media (min-width: 1024px){.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child){display:inline-block}}.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item){display:none}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item){display:inline-block}}.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)){overflow:initial;display:-webkit-box !important}.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)):after{display:block}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)){display:inline-block !important}}::slotted(.hidden-item){display:none}::slotted(.collapsed-item){font-size:0;position:relative}::slotted(.collapsed-item):before{font-family:var(--spw-ds-font-icons-solid);font-weight:700;content:"\\f141";font-size:16px;color:var(--spw-color-themes-grey-grey-500)}.spw-breadcrumb--surface-light ::slotted(spw-breadcrumb-item):after{opacity:1;color:var(--spw-ds-primary)}@media (min-width: 1024px){.spw-breadcrumb--surface-light ::slotted(spw-breadcrumb-item):after{color:var(--spw-color-themes-grey-grey-600)}}.spw-breadcrumb--surface-dark{color:var(--spw-ds-white) !important}.spw-breadcrumb--surface-dark ::slotted(spw-breadcrumb-item):after{opacity:0.7;color:var(--spw-ds-white)}.spw-breadcrumb--surface-dark ::slotted(.collapsed-item):before{opacity:0.7;color:var(--spw-ds-white)}'}},[257,"spw-breadcrumb",{variant:[1],surface:[1],fontSize:[1,"font-size"],accAriaLabel:[1,"acc-aria-label"]}]),o=r,n=function(){"undefined"!=typeof customElements&&["spw-breadcrumb"].forEach((e=>{"spw-breadcrumb"===e&&(customElements.get(a(e))||customElements.define(a(e),r))}))};export{o as SpwBreadcrumb,n as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-4fzd5oDU.js";const p=o,r=s;export{p as SpwButton,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as o,t as n}from"./index.js";import{f as i}from"./p-BBi01mKM.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return o("div",{key:"66ceb610e7cb0b66d4aa8287f75f698840a50819",class:"spw-card-content"},this.tag&&o("span",{key:"51e3aa55120ee1ae99fc37843a8cd1d118418b63",class:"spw-card-content__tag"},this.tag),this.date&&o("time",{key:"e507fba4526c323f520378e711da8418c3c4b929","date-time":this.date,class:"spw-card-content__date"},i(this.date)),o("slot",{key:"104ffaf30fd8c9a3b1d274141971a7c747894fad"}))}get el(){return this}static get style(){return'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}
|
|
1
|
+
import{p as t,H as e,h as o,t as n}from"./index.js";import{f as i}from"./p-BBi01mKM.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return o("div",{key:"66ceb610e7cb0b66d4aa8287f75f698840a50819",class:"spw-card-content"},this.tag&&o("span",{key:"51e3aa55120ee1ae99fc37843a8cd1d118418b63",class:"spw-card-content__tag"},this.tag),this.date&&o("time",{key:"e507fba4526c323f520378e711da8418c3c4b929","date-time":this.date,class:"spw-card-content__date"},i(this.date)),o("slot",{key:"104ffaf30fd8c9a3b1d274141971a7c747894fad"}))}get el(){return this}static get style(){return'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){min-width:100%;width:100%;margin-top:auto}.spw-card-content{position:relative;display:flex;flex-direction:column;padding:12px 24px 24px 24px;z-index:5}:host(.--vertical) .spw-card-content{padding:24px}:host(.--vertical) .spw-card-content ::slotted(spw-card-subtags){margin-top:12px}:host(.--event) .spw-card-content{padding:24px}:host(.--event) .spw-card-content ::slotted(spw-card-subtags){margin-top:12px}:host(.--no-image.--event) .spw-card-content{padding-left:64px;padding-top:12px}:host(.--sidebar) .spw-card-content{padding:0}:host(.--people) .spw-card-content{padding:24px;flex-direction:row;gap:24px}:host(.--highlighted) .spw-card-content{position:absolute;width:100%;bottom:0;padding:24px;padding-top:64px;overflow:hidden;border-radius:0 0 5px 5px}:host(.--highlighted) .spw-card-content:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;isolation:isolate;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.58) 50%, rgba(0, 0, 0, 0.87) 100%)}@media (min-width: 1024px){:host(.--highlighted) .spw-card-content{padding:32px;padding-top:64px}}:host(.--vertical) .spw-card-content,:host(.--sidebar) .spw-card-content,:host(.--event) .spw-card-content{justify-content:center;height:100%}:host(.--video) .spw-card-content{justify-content:flex-end;padding-right:80px;border-radius:0 0 5px 5px;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.58) 50%, rgba(0, 0, 0, 0.87) 100%)}:host(.--video) .spw-card-content:after{position:absolute;bottom:24px;right:24px;font-family:var(--spw-ds-font-icons-solid);font-weight:900;content:"\\f144";font-size:36px;color:white}.spw-card-content__tag{position:absolute;top:-25px;left:25px;padding:6px 10px;border-radius:4px 4px 0px 0px;background:var(--spw-ds-white);color:var(--spw-ds-primary);font-size:15px;font-weight:700}:host(.--no-image) .spw-card-content__tag,:host(.--event) .spw-card-content__tag,:host(.--video) .spw-card-content__tag,:host(.--vertical) .spw-card-content__tag{position:relative;top:0;left:0;padding:0;margin-bottom:8px}:host(.--video) .spw-card-content__tag,:host(.--highlighted) .spw-card-content__tag{width:auto;align-self:flex-start;display:inline-block;padding:8px 12px;border-radius:9999px;line-height:1;color:var(--spw-color-themes-grey-grey-900);box-shadow:var(--spw-effect-elevation-3);font-size:14px;background:var(--spw-ds-white)}:host(.--highlighted) .spw-card-content__tag{position:static;margin-bottom:12px}.spw-card-content__date{margin-bottom:7px;font-size:15px;font-weight:300;color:var(--spw-color-themes-grey-grey-600)}:host(.--highlighted) .spw-card-content__date{display:none}.spw-card-content ::slotted(spw-card){--spw-card-background:var(--spw-color-themes-grey-grey-50);--spw-card-box-shadow:none;--spw-card-border:1px solid var(--spw-color-themes-grey-grey-300)}:host(.--rounded-picture) .spw-card-content{padding:16px 0 0 0}:host(.--rounded-picture) .spw-card-content__tag{display:inline-block;width:fit-content;font-size:14px;margin-bottom:12px;position:static;top:auto;left:auto;border:1px solid var(--spw-color-themes-grey-grey-300);padding:4px 12px;border-radius:9999px}'}},[257,"spw-card-content",{tag:[1],date:[1],hasImage:[32]}]),s=a,r=function(){"undefined"!=typeof customElements&&["spw-card-content"].forEach((t=>{"spw-card-content"===t&&(customElements.get(n(t))||customElements.define(n(t),a))}))};export{s as SpwCardContent,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as i,a as n,t as o}from"./index.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),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 i(n,{key:"94f53e8e2d7a9c333ab2320ca3f37d13657fece3"},i("div",{key:"84c391bea45ccec30809e488c8ff12d2e921edbb",class:this.elementClass},i("slot",{key:"d9b85510693fe08e8b9951ab7395dca3ebfaa0d9"})))}static get style(){return'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}
|
|
1
|
+
import{p as e,H as t,h as i,a as n,t as o}from"./index.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),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 i(n,{key:"94f53e8e2d7a9c333ab2320ca3f37d13657fece3"},i("div",{key:"84c391bea45ccec30809e488c8ff12d2e921edbb",class:this.elementClass},i("slot",{key:"d9b85510693fe08e8b9951ab7395dca3ebfaa0d9"})))}static get style(){return'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}'}},[257,"spw-card-excerpt",{lineClamp:[8,"line-clamp"]}]),p=a,s=function(){"undefined"!=typeof customElements&&["spw-card-excerpt"].forEach((e=>{"spw-card-excerpt"===e&&(customElements.get(o(e))||customElements.define(o(e),a))}))};export{p as SpwCardExcerpt,s as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as i,t as o}from"./index.js";import{d as a}from"./p-
|
|
1
|
+
import{p as e,H as t,h as i,t as o}from"./index.js";import{d as a}from"./p-BFQBddHX.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),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),i("div",{key:"c9ffeacabaf599a9562559ccaa1a5c115e6f159e",class:this.elementClass,style:e},this.label&&i("span",{key:"a3d537c2db0473ba0627d4c2ff49ae23a5b5c610",class:"spw-card-image__label"},this.label),i("slot",{key:"795a34b5ac13c9193fb300296d305bff356d874a"}),i("div",{key:"bc1ac9a4db7a9c6126d8aaf087e21b9b561d2b1f",class:"spw-card-image__icon"},i("spw-icon",{key:"c65bc7dbb9f2b8dc6c13de087b173657566d3209",icon:this.hoverIcon})))}get el(){return this}static get style(){return'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}'}},[257,"spw-card-image",{label:[1],ratio:[1],ratioMobile:[1,"ratio-mobile"],ratioTablet:[1,"ratio-tablet"],ratioDesktop:[1,"ratio-desktop"],imagePosition:[1,"image-position"],hoverIcon:[1,"hover-icon"],imageFit:[1,"image-fit"]}]),r=s,n=function(){"undefined"!=typeof customElements&&["spw-card-image","spw-icon"].forEach((e=>{switch(e){case"spw-card-image":customElements.get(o(e))||customElements.define(o(e),s);break;case"spw-icon":customElements.get(o(e))||a()}}))};export{r as SpwCardImage,n as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as i,a as n,t as o}from"./index.js";const s=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}handleClick(){this.link&&(window.location.href=this.link)}get elementClass(){return{"spw-card-subtag-item":!0,"spw-card-subtag-item--has-link":!!this.link}}render(){return i(n,{key:"b9cc69c396246f2312c714f9a92064051a2a7593"},i("span",{key:"18ceda99d47d27ff2a465fde67d426590445d3d8",class:this.elementClass,onClick:()=>this.handleClick()},i("slot",{key:"332ea40deefbe4b854c4dbeb07eabbf0c964d61b"})))}static get style(){return"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}
|
|
1
|
+
import{p as t,H as e,h as i,a as n,t as o}from"./index.js";const s=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}handleClick(){this.link&&(window.location.href=this.link)}get elementClass(){return{"spw-card-subtag-item":!0,"spw-card-subtag-item--has-link":!!this.link}}render(){return i(n,{key:"b9cc69c396246f2312c714f9a92064051a2a7593"},i("span",{key:"18ceda99d47d27ff2a465fde67d426590445d3d8",class:this.elementClass,onClick:()=>this.handleClick()},i("slot",{key:"332ea40deefbe4b854c4dbeb07eabbf0c964d61b"})))}static get style(){return"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}:host(.--link) .spw-card-subtag-item{font-size:15px;color:var(--spw-ds-primary);font-weight:700}:host(.--link) .spw-card-subtag-item--has-link{text-decoration:underline}:host(.--link) .spw-card-subtag-item--has-link:hover{text-decoration:none}:host(.--link.--highlighted) .spw-card-subtag-item{color:white}:host(.--tag) .spw-card-subtag-item{display:inline-block;padding:8px 12px;border-radius:9999px;background:var(--spw-color-themes-grey-grey-200);transition:all 0.2s linear;line-height:1;font-size:14px;color:var(--spw-color-themes-grey-grey-900)}:host(.--tag) .spw-card-subtag-item:hover{background:var(--spw-color-themes-grey-grey-300)}"}},[257,"spw-card-subtag-item",{link:[1]}]),a=s,r=function(){"undefined"!=typeof customElements&&["spw-card-subtag-item"].forEach((t=>{"spw-card-subtag-item"===t&&(customElements.get(o(t))||customElements.define(o(t),s))}))};export{a as SpwCardSubtagItem,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as i,a as s,t as n}from"./index.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.variant="link"}componentWillLoad(){this.applyVariantToChildren()}applyVariantToChildren(){requestAnimationFrame((()=>{const t="--"+this.variant;this.el.querySelectorAll("spw-card-subtag-item").forEach((e=>{e.classList.add(t),this.el.classList.contains("--highlighted")&&e.classList.add("--highlighted")}))}))}get elementClass(){return{"spw-card-subtags":!0,["spw-card-subtags--"+this.variant]:!0}}render(){return i(s,{key:"932526d39865c60a98dc2c5b3a725d08116a8435"},i("div",{key:"5127d371be9c14528be9afa1badbd1278b1ae40c",class:this.elementClass},i("slot",{key:"06cb3b41922d0f2a4bcc1dee186a01b515581144"})))}get el(){return this}static get style(){return'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}
|
|
1
|
+
import{p as t,H as e,h as i,a as s,t as n}from"./index.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.variant="link"}componentWillLoad(){this.applyVariantToChildren()}applyVariantToChildren(){requestAnimationFrame((()=>{const t="--"+this.variant;this.el.querySelectorAll("spw-card-subtag-item").forEach((e=>{e.classList.add(t),this.el.classList.contains("--highlighted")&&e.classList.add("--highlighted")}))}))}get elementClass(){return{"spw-card-subtags":!0,["spw-card-subtags--"+this.variant]:!0}}render(){return i(s,{key:"932526d39865c60a98dc2c5b3a725d08116a8435"},i("div",{key:"5127d371be9c14528be9afa1badbd1278b1ae40c",class:this.elementClass},i("slot",{key:"06cb3b41922d0f2a4bcc1dee186a01b515581144"})))}get el(){return this}static get style(){return'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-card-subtags{margin-bottom:8px;color:var(--spw-ds-primary)}.--highlighted .spw-card-subtags{color:white}.spw-card-subtags spw-card-subtag-item:after,.spw-card-subtags .spw-card-subtag-item:after{content:",";margin-right:2px;display:inline}.spw-card-subtags spw-card-subtag-item:last-child:after,.spw-card-subtags .spw-card-subtag-item:last-child:after{display:none}.spw-card-subtags--tag spw-card-subtag-item:after,.spw-card-subtags--tag .spw-card-subtag-item:after{content:"";margin-right:4px}'}},[260,"spw-card-subtags",{variant:[1]}]),o=a,r=function(){"undefined"!=typeof customElements&&["spw-card-subtags"].forEach((t=>{"spw-card-subtags"===t&&(customElements.get(n(t))||customElements.define(n(t),a))}))};export{o as SpwCardSubtags,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as i,a as o,t as n}from"./index.js";const s=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.borderColor=""}render(){return i(o,{key:"334d6835dd28e414809f7de8b2f6ad82708d88e6",style:{"--spw-card-title-border-color":this.borderColor}},i("h3",{key:"ff00413ca35178fc4cbf60a605fe350e1239e7b7",class:"spw-card-title"},i("span",{key:"629c669018ecb697c63c9d938b46010c8706b6ba",class:"spw-card-title__text"},i("slot",{key:"dac76a2afd228e94dd389122d060304f165743ed"}))))}static get style(){return"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}
|
|
1
|
+
import{p as t,H as e,h as i,a as o,t as n}from"./index.js";const s=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.borderColor=""}render(){return i(o,{key:"334d6835dd28e414809f7de8b2f6ad82708d88e6",style:{"--spw-card-title-border-color":this.borderColor}},i("h3",{key:"ff00413ca35178fc4cbf60a605fe350e1239e7b7",class:"spw-card-title"},i("span",{key:"629c669018ecb697c63c9d938b46010c8706b6ba",class:"spw-card-title__text"},i("slot",{key:"dac76a2afd228e94dd389122d060304f165743ed"}))))}static get style(){return"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-card-title{line-height:1.3;font-weight:700;font-size:20px;transition:all 0.3s ease;color:var(--spw-color-themes-grey-grey-900)}:host(.--hovered:not(.--video):not(.--people):not(.--highlighted)) .spw-card-title{color:var(--spw-ds-primary)}:host(.--video) .spw-card-title,:host(.--highlighted) .spw-card-title{color:white}:host(.--highlighted) .spw-card-title{font-size:24px}@media (min-width: 768px){:host(.--highlighted) .spw-card-title{font-size:32px}}:host(.--sidebar) .spw-card-title{font-size:18px;line-height:1.2}:host(.--people) .spw-card-title{padding:0 24px;border-bottom:1px solid var(--spw-color-themes-grey-grey-300)}:host(.--people) .spw-card-title__text{display:inline-block;padding:18px 0;border-bottom:4px solid var(--spw-card-title-border-color, var(--spw-ds-primary))}"}},[257,"spw-card-title",{borderColor:[1,"border-color"]}]),r=s,a=function(){"undefined"!=typeof customElements&&["spw-card-title"].forEach((t=>{"spw-card-title"===t&&(customElements.get(n(t))||customElements.define(n(t),s))}))};export{r as SpwCardTitle,a as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as i,a as s,t as a}from"./index.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),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 t=e.split("/");return t.flatMap(((e,s)=>s<t.length-1?[i("span",null,e),i("span",null,"/")]:[i("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:t,target:a,dateStart:n,dateEnd:o,variant:r}=this,d=void 0===this.href?"div":"a",l="div"===d?{}:{href:e,rel:t,target:a},c={"aria-label":null==this?void 0:this.accAriaLabel,"aria-disabled":this.disabled?"true":null};return i(s,{key:"1ba4f06ba66af1625688a01d08c34fab95499577",class:{"--is-full-height":this.fullHeight}},i("article",{key:"135ae12d051e9ebc078029c99ac52ea49bf540db",class:this.elementClass},"event"===r&&i(d,Object.assign({key:"99c5e749128c5293c44ddeb4c85bf143dbe3c6b1"},l,{class:"spw-card__dates"}),n&&i("div",{key:"fcf0661e3aae2de10ad7b845da453553662b3154",class:"spw-card__date-item"},this.formatDate(n)),o&&i("div",{key:"11cc7956f31154ac081e6e819294fcfe6aafff5d",class:"spw-card__date-item"},this.formatDate(o))),i(d,Object.assign({key:"bc3380c036847c8ac197e731f05f0333a2734634"},l,c,{class:"spw-card__link"}),i("slot",{key:"c4c0f79011ee0ca8a893a080c177f17c51526768"}))))}get el(){return this}static get style(){return'@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}
|
|
1
|
+
import{p as e,H as t,h as i,a as s,t as a}from"./index.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),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 t=e.split("/");return t.flatMap(((e,s)=>s<t.length-1?[i("span",null,e),i("span",null,"/")]:[i("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:t,target:a,dateStart:n,dateEnd:o,variant:r}=this,d=void 0===this.href?"div":"a",l="div"===d?{}:{href:e,rel:t,target:a},c={"aria-label":null==this?void 0:this.accAriaLabel,"aria-disabled":this.disabled?"true":null};return i(s,{key:"1ba4f06ba66af1625688a01d08c34fab95499577",class:{"--is-full-height":this.fullHeight}},i("article",{key:"135ae12d051e9ebc078029c99ac52ea49bf540db",class:this.elementClass},"event"===r&&i(d,Object.assign({key:"99c5e749128c5293c44ddeb4c85bf143dbe3c6b1"},l,{class:"spw-card__dates"}),n&&i("div",{key:"fcf0661e3aae2de10ad7b845da453553662b3154",class:"spw-card__date-item"},this.formatDate(n)),o&&i("div",{key:"11cc7956f31154ac081e6e819294fcfe6aafff5d",class:"spw-card__date-item"},this.formatDate(o))),i(d,Object.assign({key:"bc3380c036847c8ac197e731f05f0333a2734634"},l,c,{class:"spw-card__link"}),i("slot",{key:"c4c0f79011ee0ca8a893a080c177f17c51526768"}))))}get el(){return this}static get style(){return'@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}'}},[257,"spw-card",{variant:[1],elementType:[1,"element-type"],href:[1],target:[1],rel:[1],dateStart:[1,"date-start"],dateEnd:[1,"date-end"],fullHeight:[4,"full-height"],disabled:[4],accAriaLabel:[1,"acc-aria-label"],hasImage:[32]},[[0,"slotchange","slotChanged"],[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]]),o=n,r=function(){"undefined"!=typeof customElements&&["spw-card"].forEach((e=>{"spw-card"===e&&(customElements.get(a(e))||customElements.define(a(e),n))}))};export{o as SpwCard,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as o,d as
|
|
1
|
+
import{S as o,d as s}from"./p-CUBYPgR-.js";const p=o,r=s;export{p as SpwCheckbox,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as o,t as s}from"./index.js";import{d as i}from"./p-
|
|
1
|
+
import{p as e,H as t,h as o,t as s}from"./index.js";import{d as i}from"./p-CMCm3XXa.js";import{d as n}from"./p-CH2dDXFF.js";import{d as a}from"./p-w4Zf5JRT.js";import{d as c}from"./p-D01eUn9Q.js";import{d as r}from"./p-4fzd5oDU.js";import{d as p}from"./p-CUBYPgR-.js";import{d as l}from"./p-BFQBddHX.js";import{d}from"./p-CkwH0osH.js";const m=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.cookiesTitle="Nous utilisons des cookies",this.cookiesDescription="Ce site web utilise des cookies essentiels pour assurer son bon fonctionnement et des cookies de suivi pour comprendre comment vous interagissez avec lui. Ces derniers ne seront installés qu'après avoir obtenu votre consentement.",this.acceptAllButtonText="Accepter tous les cookies",this.acceptRequiredButtonText="Accepter uniquement les cookies fonctionnels",this.isVisible=!1,this.analyticsEnabled=!1}componentWillLoad(){this.initializeCookieSettings(),this.checkCookieSettings()}initializeCookieSettings(){null===localStorage.getItem("spw-cookie-settings__required")&&localStorage.setItem("spw-cookie-settings__required","false"),null===localStorage.getItem("spw-cookie-settings__analytics")&&localStorage.setItem("spw-cookie-settings__analytics","false"),null===localStorage.getItem("spw-cookie-settings__saved")&&localStorage.setItem("spw-cookie-settings__saved","false")}checkCookieSettings(){const e=this.getCookieSettings();e["spw-cookie-settings__saved"]||(this.isVisible=!0),this.analyticsEnabled=e["spw-cookie-settings__analytics"]}getCookieSettings(){return{"spw-cookie-settings__required":JSON.parse(localStorage.getItem("spw-cookie-settings__required")),"spw-cookie-settings__analytics":JSON.parse(localStorage.getItem("spw-cookie-settings__analytics")),"spw-cookie-settings__saved":JSON.parse(localStorage.getItem("spw-cookie-settings__saved"))}}setCookieSettings(e){Object.keys(e).forEach((t=>{localStorage.setItem(t,JSON.stringify(e[t]))}))}toggleAnalytics(){this.analyticsEnabled=!this.analyticsEnabled,this.setCookieSettings({"spw-cookie-settings__analytics":this.analyticsEnabled})}acceptAllCookies(){this.setCookieSettings({"spw-cookie-settings__required":!0,"spw-cookie-settings__analytics":!0,"spw-cookie-settings__saved":!0}),this.isVisible=!1}acceptRequiredCookies(){this.setCookieSettings({"spw-cookie-settings__required":!0,"spw-cookie-settings__analytics":!1,"spw-cookie-settings__saved":!0}),this.isVisible=!1}render(){return this.isVisible?o("div",{class:"spw-cookies"},o("div",{class:"spw-cookies__container"},o("div",{class:"spw-cookies__content"},o("h2",{class:"spw-cookies__title"},this.cookiesTitle),o("p",{class:"spw-cookies__text"},this.cookiesDescription),o("spw-accordion",null,o("spw-accordion-item",null,o("spw-accordion-title",{slot:"title"},"Paramétrer les cookies"),o("spw-accordion-content",{slot:"content"},o("div",{class:"spw-cookies__checkbox"},o("spw-checkbox",{checked:this.analyticsEnabled,onSpwChange:()=>this.toggleAnalytics()},o("span",{class:"spw-cookies__checkbox-text"},'Les cookies de statistiques proviennent de sociétés de externes ("cookies tiers") et sont utilisés pour collecter des informations sur les sites web visités par l\'utilisateur.'))))))),o("div",{class:"spw-cookies__buttons"},o("spw-button",{"is-full-width":"true",onClick:()=>this.acceptAllCookies()},this.acceptAllButtonText),o("spw-button",{"is-full-width":"true",variant:"secondary",onClick:()=>this.acceptRequiredCookies()},this.acceptRequiredButtonText)))):null}static get style(){return"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-cookies{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:flex;align-items:flex-end;justify-content:end;z-index:9999}.spw-cookies__container{background:white;border-radius:5px;box-shadow:0 2px 10px rgba(0, 0, 0, 0.1);max-width:400px;width:100%;margin:12px;line-height:1.5;max-height:calc(-24px + 100vh);overflow-y:auto}.spw-cookies__content,.spw-cookies__buttons{padding:16px}@media (min-width: 768px){.spw-cookies__content,.spw-cookies__buttons{padding:24px}}.spw-cookies__content{padding-bottom:0}.spw-cookies__buttons{position:sticky;z-index:10;bottom:0;background:#fff;display:flex;flex-direction:column;gap:12px;text-align:center}.spw-cookies__buttons spw-button{--spw-button-py-medium:var(--spw-button-py-large)}.spw-cookies__title{font-size:24px;line-height:1.2;color:var(--spw-colors-support-grey-grey-900);margin-bottom:8px}.spw-cookies__text{color:var(--spw-color-themes-grey-grey-600);margin-bottom:16px}.spw-cookies__checkbox{padding-top:4px}.spw-cookies__checkbox-text{color:var(--spw-color-themes-grey-grey-600)}"}},[1,"spw-cookies",{cookiesTitle:[1,"cookies-title"],cookiesDescription:[1,"cookies-description"],acceptAllButtonText:[1,"accept-all-button-text"],acceptRequiredButtonText:[1,"accept-required-button-text"],isVisible:[32],analyticsEnabled:[32]}]),u=m,w=function(){"undefined"!=typeof customElements&&["spw-cookies","spw-accordion","spw-accordion-content","spw-accordion-item","spw-accordion-title","spw-button","spw-checkbox","spw-icon","spw-loading"].forEach((e=>{switch(e){case"spw-cookies":customElements.get(s(e))||customElements.define(s(e),m);break;case"spw-accordion":customElements.get(s(e))||i();break;case"spw-accordion-content":customElements.get(s(e))||n();break;case"spw-accordion-item":customElements.get(s(e))||a();break;case"spw-accordion-title":customElements.get(s(e))||c();break;case"spw-button":customElements.get(s(e))||r();break;case"spw-checkbox":customElements.get(s(e))||p();break;case"spw-icon":customElements.get(s(e))||l();break;case"spw-loading":customElements.get(s(e))||d()}}))};export{u as SpwCookies,w as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as s,H as t,c as e,h as i,t as o}from"./index.js";import{d as c}from"./p-CfyijrJ8.js";import{d as r}from"./p-rvgnHRf7.js";import{d as n}from"./p-CLCgZYzK.js";import{d as l}from"./p-oVOlDrOp.js";import{d as a}from"./p-BwzaPX9J.js";const p=s(class extends t{constructor(s){super(),!1!==s&&this.__registerHost(),this.__attachShadow(),this.valueChanged=e(this,"valueChanged",7),this.optionCreated=e(this,"optionCreated",7),this.optionRemoved=e(this,"optionRemoved",7),this.internals=this.attachInternals(),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=s=>{s.detail.instance!==this.host&&this.isOpen&&this.closeDropdown()},this.handleClickOutside=s=>{var t,e;if(this.isOpen){const i=s.composedPath(),o=i[0],c=this.host.contains(o),r=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.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 s=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".spw-custom-select__options");if(s&&s.contains(o))return}this.closeDropdown()}}},this.updateDropdownPosition=()=>{if(!this.selectContainer)return;const s=this.selectContainer.getBoundingClientRect(),t=window.innerHeight;this.dropdownDirection="top"===this.direction?"up":"bottom"===this.direction?"down":s.bottom+200>t&&s.top>200?"up":"down",this.dropdownPosition={top:s.bottom,left:s.left,width:s.width}}}componentWillLoad(){if(this.multiple)if("string"==typeof this.value)try{this.internalValue=JSON.parse(this.value)}catch(s){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 s,t;const e=null===(s=this.host)||void 0===s?void 0:s.querySelector(".spw-custom-select__search-input");e?e.focus():null===(t=this.selectContainer)||void 0===t||t.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(s){this.multiple?(this.internalValue=Array.isArray(s)?s:[s],this.value=this.internalValue):(this.internalValue=s,this.value=s),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 s=this.hostElement.querySelector('[slot="footer"]');this.hasSlottedFooter=!!s}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 s=this.hostElement;for(;s;){if(s instanceof t&&s.tagName.toLowerCase()===this.fixedDropdownParent.toLowerCase())return s;if(s.parentElement)s=s.parentElement;else{const t=s.getRootNode();if(!(t instanceof ShadowRoot))break;s=t.host}}return null}findScrollContainerInShadowRoot(s){const t=s.shadowRoot;if(!t)return null;const e=t.querySelectorAll("*");let i=null,o=-1;for(const s of Array.from(e)){const e=s,c=window.getComputedStyle(e);if("auto"===c.overflow||"scroll"===c.overflow||"auto"===c.overflowY||"scroll"===c.overflowY){let c=0,r=s;for(;r&&r!==t;)c++,r=r.parentNode;c>o&&(o=c,i=e)}}return i}ensureParentScrollListener(){if(!this.fixedDropdownParent||!this.fixedDropdown)return;if(this.parentScrollContainer)return;const s=this.findParentComponent();s&&(this.parentScrollContainer=this.findScrollContainerInShadowRoot(s),this.parentScrollContainer&&this.parentScrollContainer.addEventListener("scroll",this.updateDropdownPosition))}cleanupParentScrollListener(){this.parentScrollContainer&&(this.parentScrollContainer.removeEventListener("scroll",this.updateDropdownPosition),this.parentScrollContainer=null)}parseOptions(s){try{this.parsedOptions=Array.isArray(s)?s.map((s=>({value:s.value,label:s.label,disabled:s.disabled||!1}))):[],this.updateSelectedOption()}catch(s){this.parsedOptions=[]}}valueChangedHandler(s){this.internalValue=this.multiple?Array.isArray(s)?s:[s]:s,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((s=>this.parsedOptions.some((t=>t.value+""==s+"")))).sort(((s,t)=>this.parsedOptions.findIndex((t=>t.value+""==s+""))-this.parsedOptions.findIndex((s=>s.value+""==t+""))))):this.focusedOptionIndex=this.parsedOptions.findIndex((s=>s.value+""==this.internalValue+""))}internalValueChanged(){this.hasSelectedValue=Array.isArray(this.internalValue)?this.internalValue.length>0:!!this.internalValue}getFormValue(){return this.multiple?Array.isArray(this.internalValue)&&this.internalValue.length>0?this.internalValue.map((s=>s+"")).join(","):null:this.internalValue?this.internalValue+"":null}toggleDropdown(s){if(!this.disabled){if(s){if(s.composedPath()[0].classList.contains("spw-custom-select__search-input"))return;s.stopPropagation()}this.determineDropdownDirection();const t=this.isOpen;this.isOpen=!this.isOpen,this.isOpen&&!t&&(this.ensureParentScrollListener(),this.notifyOtherSelects()),this.isOpen||(this.focusedOptionIndex=null)}}notifyOtherSelects(){const s=new CustomEvent("spw-custom-select-opened",{detail:{instance:this.host},bubbles:!0,composed:!0});document.dispatchEvent(s)}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(s){return this.normalizeString(s).replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"")}addCreatedOption(s){const t=s.trim();if(!t)return;const e=this.slugify(t),i={label:t,value:e,created:!0};this.parsedOptions=[...this.parsedOptions,i],this.optionCreated.emit(i),this.selectOption(e),this.searchText=""}removeCreatedOption(s,t){if(t.stopPropagation(),this.multiple){const t=this.internalValue.findIndex((t=>t+""==s.value+""));t>-1&&(this.internalValue=[...this.internalValue.slice(0,t),...this.internalValue.slice(t+1)],this.value=this.internalValue,this.internals.setFormValue(this.getFormValue()),this.valueChanged.emit(this.internalValue))}else this.internalValue+""==s.value+""&&(this.internalValue="",this.value="",this.internals.setFormValue(this.getFormValue()),this.valueChanged.emit(this.internalValue));this.parsedOptions=this.parsedOptions.filter((t=>t.value+""!=s.value+"")),this.optionRemoved.emit(s)}handleClear(s){s.stopPropagation(),this.resetSelect()}selectOption(s,t){t&&t.stopPropagation();const e=this.parsedOptions.find((t=>t.value+""==s+""));if(!(null==e?void 0:e.disabled)){if(this.multiple){const t=this.internalValue.findIndex((t=>t+""==s+""));this.internalValue=t>-1?[...this.internalValue.slice(0,t),...this.internalValue.slice(t+1)]:[...this.internalValue,s],this.internalValue=this.internalValue.sort(((s,t)=>this.parsedOptions.findIndex((t=>t.value+""==s+""))-this.parsedOptions.findIndex((s=>s.value+""==t+""))))}else this.internalValue=s,this.closeDropdown();this.value=this.internalValue,this.internals.setFormValue(this.getFormValue()),this.valueChanged.emit(this.internalValue),this.updateSelectedOption()}}handleOptionKeyDown(s,t){"Enter"!==s.key&&" "!==s.key||(s.preventDefault(),this.selectOption(t))}handleKeyDown(s){var t,e;if(!s.target.classList.contains("spw-custom-select__search-input"))switch(s.key){case" ":s.preventDefault(),this.isOpen||this.openDropdownWithKeyboard();break;case"ArrowDown":if(s.preventDefault(),this.isOpen){let s=null===this.focusedOptionIndex?0:(this.focusedOptionIndex+1)%this.parsedOptions.length;for(;(null===(t=this.parsedOptions[s])||void 0===t?void 0:t.disabled)&&s!==this.focusedOptionIndex;)s=(s+1)%this.parsedOptions.length;this.focusedOptionIndex=s}else this.openDropdownWithKeyboard();break;case"ArrowUp":if(s.preventDefault(),this.isOpen){let s=null===this.focusedOptionIndex?this.parsedOptions.length-1:(this.focusedOptionIndex-1+this.parsedOptions.length)%this.parsedOptions.length;for(;(null===(e=this.parsedOptions[s])||void 0===e?void 0:e.disabled)&&s!==this.focusedOptionIndex;)s=(s-1+this.parsedOptions.length)%this.parsedOptions.length;this.focusedOptionIndex=s}break;case"Enter":s.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 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)}renderWarningMessage(){if(this.warning)return i("spw-field-message",{variant:"warning",showIcon:this.showWarningIcon},this.warning)}renderSuccessMessage(){if(this.success)return i("spw-field-message",{variant:"success",showIcon:this.showSuccessIcon},this.success)}get elementClass(){const s=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":s}}normalizeString(s){return s.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}getSelectedLabels(){if(this.multiple)return Array.isArray(this.internalValue)&&this.internalValue.length>0?this.internalValue.map((s=>{var t;return null===(t=this.parsedOptions.find((t=>t.value+""==s+"")))||void 0===t?void 0:t.label})).filter(Boolean).join(", "):null;{const s=this.parsedOptions.find((s=>s.value+""==this.internalValue+""));return s?s.label:null}}getFilteredOptions(){const s=this.normalizeString(this.searchText);return this.parsedOptions.filter((t=>this.normalizeString(t.label).includes(s)))}handleSearchInput(s){this.searchText=s.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 s=this.normalizeString(this.searchText.trim());return!this.parsedOptions.some((t=>this.normalizeString(t.label)===s))}render(){const s=this.getFilteredOptions(),t=this.showPlaceholder(),e=this.showCreateButton();return i("div",{key:"4bb22979651b6946dd66fc9844f205e59d0a5411",class:this.elementClass,ref:s=>this.host=s},this.label&&i("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&&i("spw-field-message",{key:"85594d2693007a09d2d1b70b9f5bc61056548ee2",class:"spw-custom-select__field-message",variant:"hint",showIcon:!1},this.assistiveText),i("div",{key:"53fe8200e2e8ec025c9148bb76a4bd7418068513",class:"spw-custom-select__wrapper"},i("div",{key:"79b757cffef9f53eb738d2e11aee592e63211841",class:"spw-custom-select__container",id:this.name,ref:s=>this.selectContainer=s,onClick:s=>this.toggleDropdown(s),onKeyDown:s=>this.handleKeyDown(s),tabindex:this.disabled?-1:0},i("div",{key:"c502d3c270203b548990cfab7d45394557314334",class:"spw-custom-select__selected"},this.isSearchVisible()&&i("div",{key:"9134c7f87988d3f0efb6c8095646bb6a1ca8ebd0",class:"spw-custom-select__search"},i("input",{key:"0a5b873ac75d71f480e1209184fa0e63552632b9",class:"spw-custom-select__search-input",placeholder:this.searchPlaceholder,onInput:s=>this.handleSearchInput(s),value:this.searchText}),e&&this.isOpen&&this.hasSelectedValue&&i("button",{key:"7ecf48c56ddb8a7918a38b37b0dbfb47994fc0af",class:"spw-custom-select__create-btn spw-custom-select__create-btn--big",type:"button",onMouseDown:s=>{s.preventDefault(),s.stopPropagation(),this.addCreatedOption(this.searchText)}},i("spw-icon",{key:"078c09832bcce6f476a83be55bc54e4cd19223bc",icon:"fa-plus"}))),t&&i("span",{key:"29e59d519f39c3dcafe60a169b2a01adee8904f7"},this.placeholder),this.multiple&&this.internalValue.length>0&&i("div",{key:"205e9ebc3bf531b76fc0abdbb760c214a08b6623",class:"spw-custom-select__selected-items"},this.internalValue.map((s=>{var t;return i("span",{class:"spw-custom-select__selected-item"},null===(t=this.parsedOptions.find((t=>t.value+""==s+"")))||void 0===t?void 0:t.label,i("spw-icon",{icon:"fa-times",class:"spw-custom-select__deselect-icon",onClick:t=>this.selectOption(s,t)}))}))),!this.multiple&&i("span",{key:"67eb1e59a69443c63cfe030421a45dd9ed98d626"},this.getSelectedLabels()))),i("div",{key:"d36ae8e7dbcbdf5d3895482bf94ce352ccb2deb2",class:"spw-custom-select__icons"},e&&!(this.isOpen&&this.hasSelectedValue)&&i("button",{key:"d5ab27383e5915b3a6a23e2a4c233e37b56bdcda",class:"spw-custom-select__create-btn",type:"button",onMouseDown:s=>{s.preventDefault(),s.stopPropagation(),this.addCreatedOption(this.searchText)}},i("spw-icon",{key:"00e486f257d3576fe5a481320685c0f73ac76b43",icon:"fa-plus"})),this.isClear&&(this.hasSelectedValue||!!this.searchText)&&i("span",{key:"522cc58133eebfc86d8f64ab549905f4d7dc85ea",class:"spw-custom-select__clear",onClick:s=>this.handleClear(s)},i("spw-icon",{key:"4afc256de08bae62efde4d0903a2fa2de4438d89",icon:"fa-xmark"})),i("div",{key:"ae0fb99288bad447c52288df66afdcf042c139d8",class:"spw-custom-select__arrow"},i("spw-icon",{key:"2166910463c05b09b845eab799fbb13b63bcc06f",icon:this.isOpen?"fa-chevron-up":"fa-chevron-down"}))),this.isOpen&&i("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"}:{}},i("div",{key:"43dd9a1b026ff6aac3a4d309e4f4e950156566ef",class:"spw-custom-select__options-list"},!!s.length&&i("ul",{key:"dc42399871b8b4286a440a9c5da7c618301ca330"},s.map(((s,t)=>i("li",{class:{"spw-custom-select__option":!0,"spw-custom-select__option--selected":this.multiple?this.internalValue.some((t=>t+""==s.value+"")):s.value===this.internalValue,"spw-custom-select__option--focused":t===this.focusedOptionIndex,"spw-custom-select__option--disabled":s.disabled,"spw-custom-select__option--created":!!s.created},onClick:()=>this.selectOption(s.value)},this.multiple&&i("spw-checkbox",{onKeyDown:t=>this.handleOptionKeyDown(t,s.value),class:"spw-custom-select__checkbox",checked:this.internalValue.some((t=>t+""==s.value+"")),disabled:s.disabled}),s.label,s.created&&i("spw-icon",{class:"spw-custom-select__option-remove",icon:"fa-trash",onClick:t=>this.removeCreatedOption(s,t)}))))),!s.length&&i("p",{key:"16b8fc9d36f71937588d8f57ddf593380766a5a8",class:"spw-custom-select__no-results"},this.noResultsText)),this.hasSlottedFooter&&i("div",{key:"c273c08ab20c4d80b26045fba0bc8abca5564851",class:"spw-custom-select__options-footer"},i("slot",{key:"f54f6b94a36cc064f8820a6892cfb02b05e039b1",name:"footer"})))),this.renderErrorMessage(),this.renderHintMessage(),this.renderSuccessMessage(),this.renderWarningMessage())}static get formAssociated(){return!0}get hostElement(){return this}static get watchers(){return{items:[{parseOptions:0}],value:[{valueChangedHandler:0}],internalValue:[{internalValueChanged:0}]}}static get style(){return"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}main{display:block}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)}"}},[321,"spw-custom-select",{value:[1544],label:[1],placeholder:[1],searchPlaceholder:[1,"search-placeholder"],noResultsText:[1,"no-results-text"],disabled:[4],name:[1],required:[4],items:[16],size:[1],multiple:[4],isSearch:[4,"is-search"],assistiveText:[1,"assistive-text"],error:[1],hint:[1],success:[1],warning:[1],showErrorIcon:[4,"show-error-icon"],showHintIcon:[4,"show-hint-icon"],showSuccessIcon:[4,"show-success-icon"],showWarningIcon:[4,"show-warning-icon"],tooltipTitle:[1,"tooltip-title"],tooltipText:[1,"tooltip-text"],tooltipMaxWidth:[1,"tooltip-max-width"],tooltipDirection:[1,"tooltip-direction"],tooltipCursor:[1,"tooltip-cursor"],fixedDropdown:[4,"fixed-dropdown"],fixedDropdownParent:[1,"fixed-dropdown-parent"],isClear:[4,"is-clear"],direction:[1],allowCreate:[4,"allow-create"],internalValue:[32],isOpen:[32],parsedOptions:[32],focusedOptionIndex:[32],searchText:[32],hasSlottedFooter:[32],dropdownDirection:[32],hasSelectedValue:[32],dropdownPosition:[32],setFocus:[64],resetSelect:[64],setValue:[64],getValue:[64]},void 0,{items:[{parseOptions:0}],value:[{valueChangedHandler:0}],internalValue:[{internalValueChanged:0}]}]),h=p,d=function(){"undefined"!=typeof customElements&&["spw-custom-select","spw-checkbox","spw-field-label","spw-field-message","spw-icon","spw-tooltip"].forEach((s=>{switch(s){case"spw-custom-select":customElements.get(o(s))||customElements.define(o(s),p);break;case"spw-checkbox":customElements.get(o(s))||c();break;case"spw-field-label":customElements.get(o(s))||r();break;case"spw-field-message":customElements.get(o(s))||n();break;case"spw-icon":customElements.get(o(s))||l();break;case"spw-tooltip":customElements.get(o(s))||a()}}))};export{h as SpwCustomSelect,d as defineCustomElement}
|
|
1
|
+
import{p as s,H as t,c as e,h as i,t as o}from"./index.js";import{d as c}from"./p-CUBYPgR-.js";import{d as r}from"./p-Btr81Ed_.js";import{d as n}from"./p-DaQA1Uox.js";import{d as l}from"./p-BFQBddHX.js";import{d as a}from"./p-C1tFbihv.js";const p=s(class extends t{constructor(s){super(),!1!==s&&this.__registerHost(),this.__attachShadow(),this.valueChanged=e(this,"valueChanged",7),this.optionCreated=e(this,"optionCreated",7),this.optionRemoved=e(this,"optionRemoved",7),this.internals=this.attachInternals(),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=s=>{s.detail.instance!==this.host&&this.isOpen&&this.closeDropdown()},this.handleClickOutside=s=>{var t,e;if(this.isOpen){const i=s.composedPath(),o=i[0],c=this.host.contains(o),r=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.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 s=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".spw-custom-select__options");if(s&&s.contains(o))return}this.closeDropdown()}}},this.updateDropdownPosition=()=>{if(!this.selectContainer)return;const s=this.selectContainer.getBoundingClientRect(),t=window.innerHeight;this.dropdownDirection="top"===this.direction?"up":"bottom"===this.direction?"down":s.bottom+200>t&&s.top>200?"up":"down",this.dropdownPosition={top:s.bottom,left:s.left,width:s.width}}}componentWillLoad(){if(this.multiple)if("string"==typeof this.value)try{this.internalValue=JSON.parse(this.value)}catch(s){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 s,t;const e=null===(s=this.host)||void 0===s?void 0:s.querySelector(".spw-custom-select__search-input");e?e.focus():null===(t=this.selectContainer)||void 0===t||t.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(s){this.multiple?(this.internalValue=Array.isArray(s)?s:[s],this.value=this.internalValue):(this.internalValue=s,this.value=s),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 s=this.hostElement.querySelector('[slot="footer"]');this.hasSlottedFooter=!!s}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 s=this.hostElement;for(;s;){if(s instanceof t&&s.tagName.toLowerCase()===this.fixedDropdownParent.toLowerCase())return s;if(s.parentElement)s=s.parentElement;else{const t=s.getRootNode();if(!(t instanceof ShadowRoot))break;s=t.host}}return null}findScrollContainerInShadowRoot(s){const t=s.shadowRoot;if(!t)return null;const e=t.querySelectorAll("*");let i=null,o=-1;for(const s of Array.from(e)){const e=s,c=window.getComputedStyle(e);if("auto"===c.overflow||"scroll"===c.overflow||"auto"===c.overflowY||"scroll"===c.overflowY){let c=0,r=s;for(;r&&r!==t;)c++,r=r.parentNode;c>o&&(o=c,i=e)}}return i}ensureParentScrollListener(){if(!this.fixedDropdownParent||!this.fixedDropdown)return;if(this.parentScrollContainer)return;const s=this.findParentComponent();s&&(this.parentScrollContainer=this.findScrollContainerInShadowRoot(s),this.parentScrollContainer&&this.parentScrollContainer.addEventListener("scroll",this.updateDropdownPosition))}cleanupParentScrollListener(){this.parentScrollContainer&&(this.parentScrollContainer.removeEventListener("scroll",this.updateDropdownPosition),this.parentScrollContainer=null)}parseOptions(s){try{this.parsedOptions=Array.isArray(s)?s.map((s=>({value:s.value,label:s.label,disabled:s.disabled||!1}))):[],this.updateSelectedOption()}catch(s){this.parsedOptions=[]}}valueChangedHandler(s){this.internalValue=this.multiple?Array.isArray(s)?s:[s]:s,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((s=>this.parsedOptions.some((t=>t.value+""==s+"")))).sort(((s,t)=>this.parsedOptions.findIndex((t=>t.value+""==s+""))-this.parsedOptions.findIndex((s=>s.value+""==t+""))))):this.focusedOptionIndex=this.parsedOptions.findIndex((s=>s.value+""==this.internalValue+""))}internalValueChanged(){this.hasSelectedValue=Array.isArray(this.internalValue)?this.internalValue.length>0:!!this.internalValue}getFormValue(){return this.multiple?Array.isArray(this.internalValue)&&this.internalValue.length>0?this.internalValue.map((s=>s+"")).join(","):null:this.internalValue?this.internalValue+"":null}toggleDropdown(s){if(!this.disabled){if(s){if(s.composedPath()[0].classList.contains("spw-custom-select__search-input"))return;s.stopPropagation()}this.determineDropdownDirection();const t=this.isOpen;this.isOpen=!this.isOpen,this.isOpen&&!t&&(this.ensureParentScrollListener(),this.notifyOtherSelects()),this.isOpen||(this.focusedOptionIndex=null)}}notifyOtherSelects(){const s=new CustomEvent("spw-custom-select-opened",{detail:{instance:this.host},bubbles:!0,composed:!0});document.dispatchEvent(s)}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(s){return this.normalizeString(s).replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"")}addCreatedOption(s){const t=s.trim();if(!t)return;const e=this.slugify(t),i={label:t,value:e,created:!0};this.parsedOptions=[...this.parsedOptions,i],this.optionCreated.emit(i),this.selectOption(e),this.searchText=""}removeCreatedOption(s,t){if(t.stopPropagation(),this.multiple){const t=this.internalValue.findIndex((t=>t+""==s.value+""));t>-1&&(this.internalValue=[...this.internalValue.slice(0,t),...this.internalValue.slice(t+1)],this.value=this.internalValue,this.internals.setFormValue(this.getFormValue()),this.valueChanged.emit(this.internalValue))}else this.internalValue+""==s.value+""&&(this.internalValue="",this.value="",this.internals.setFormValue(this.getFormValue()),this.valueChanged.emit(this.internalValue));this.parsedOptions=this.parsedOptions.filter((t=>t.value+""!=s.value+"")),this.optionRemoved.emit(s)}handleClear(s){s.stopPropagation(),this.resetSelect()}selectOption(s,t){t&&t.stopPropagation();const e=this.parsedOptions.find((t=>t.value+""==s+""));if(!(null==e?void 0:e.disabled)){if(this.multiple){const t=this.internalValue.findIndex((t=>t+""==s+""));this.internalValue=t>-1?[...this.internalValue.slice(0,t),...this.internalValue.slice(t+1)]:[...this.internalValue,s],this.internalValue=this.internalValue.sort(((s,t)=>this.parsedOptions.findIndex((t=>t.value+""==s+""))-this.parsedOptions.findIndex((s=>s.value+""==t+""))))}else this.internalValue=s,this.closeDropdown();this.value=this.internalValue,this.internals.setFormValue(this.getFormValue()),this.valueChanged.emit(this.internalValue),this.updateSelectedOption()}}handleOptionKeyDown(s,t){"Enter"!==s.key&&" "!==s.key||(s.preventDefault(),this.selectOption(t))}handleKeyDown(s){var t,e;if(!s.target.classList.contains("spw-custom-select__search-input"))switch(s.key){case" ":s.preventDefault(),this.isOpen||this.openDropdownWithKeyboard();break;case"ArrowDown":if(s.preventDefault(),this.isOpen){let s=null===this.focusedOptionIndex?0:(this.focusedOptionIndex+1)%this.parsedOptions.length;for(;(null===(t=this.parsedOptions[s])||void 0===t?void 0:t.disabled)&&s!==this.focusedOptionIndex;)s=(s+1)%this.parsedOptions.length;this.focusedOptionIndex=s}else this.openDropdownWithKeyboard();break;case"ArrowUp":if(s.preventDefault(),this.isOpen){let s=null===this.focusedOptionIndex?this.parsedOptions.length-1:(this.focusedOptionIndex-1+this.parsedOptions.length)%this.parsedOptions.length;for(;(null===(e=this.parsedOptions[s])||void 0===e?void 0:e.disabled)&&s!==this.focusedOptionIndex;)s=(s-1+this.parsedOptions.length)%this.parsedOptions.length;this.focusedOptionIndex=s}break;case"Enter":s.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 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)}renderWarningMessage(){if(this.warning)return i("spw-field-message",{variant:"warning",showIcon:this.showWarningIcon},this.warning)}renderSuccessMessage(){if(this.success)return i("spw-field-message",{variant:"success",showIcon:this.showSuccessIcon},this.success)}get elementClass(){const s=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":s}}normalizeString(s){return s.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}getSelectedLabels(){if(this.multiple)return Array.isArray(this.internalValue)&&this.internalValue.length>0?this.internalValue.map((s=>{var t;return null===(t=this.parsedOptions.find((t=>t.value+""==s+"")))||void 0===t?void 0:t.label})).filter(Boolean).join(", "):null;{const s=this.parsedOptions.find((s=>s.value+""==this.internalValue+""));return s?s.label:null}}getFilteredOptions(){const s=this.normalizeString(this.searchText);return this.parsedOptions.filter((t=>this.normalizeString(t.label).includes(s)))}handleSearchInput(s){this.searchText=s.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 s=this.normalizeString(this.searchText.trim());return!this.parsedOptions.some((t=>this.normalizeString(t.label)===s))}render(){const s=this.getFilteredOptions(),t=this.showPlaceholder(),e=this.showCreateButton();return i("div",{key:"4bb22979651b6946dd66fc9844f205e59d0a5411",class:this.elementClass,ref:s=>this.host=s},this.label&&i("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&&i("spw-field-message",{key:"85594d2693007a09d2d1b70b9f5bc61056548ee2",class:"spw-custom-select__field-message",variant:"hint",showIcon:!1},this.assistiveText),i("div",{key:"53fe8200e2e8ec025c9148bb76a4bd7418068513",class:"spw-custom-select__wrapper"},i("div",{key:"79b757cffef9f53eb738d2e11aee592e63211841",class:"spw-custom-select__container",id:this.name,ref:s=>this.selectContainer=s,onClick:s=>this.toggleDropdown(s),onKeyDown:s=>this.handleKeyDown(s),tabindex:this.disabled?-1:0},i("div",{key:"c502d3c270203b548990cfab7d45394557314334",class:"spw-custom-select__selected"},this.isSearchVisible()&&i("div",{key:"9134c7f87988d3f0efb6c8095646bb6a1ca8ebd0",class:"spw-custom-select__search"},i("input",{key:"0a5b873ac75d71f480e1209184fa0e63552632b9",class:"spw-custom-select__search-input",placeholder:this.searchPlaceholder,onInput:s=>this.handleSearchInput(s),value:this.searchText}),e&&this.isOpen&&this.hasSelectedValue&&i("button",{key:"7ecf48c56ddb8a7918a38b37b0dbfb47994fc0af",class:"spw-custom-select__create-btn spw-custom-select__create-btn--big",type:"button",onMouseDown:s=>{s.preventDefault(),s.stopPropagation(),this.addCreatedOption(this.searchText)}},i("spw-icon",{key:"078c09832bcce6f476a83be55bc54e4cd19223bc",icon:"fa-plus"}))),t&&i("span",{key:"29e59d519f39c3dcafe60a169b2a01adee8904f7"},this.placeholder),this.multiple&&this.internalValue.length>0&&i("div",{key:"205e9ebc3bf531b76fc0abdbb760c214a08b6623",class:"spw-custom-select__selected-items"},this.internalValue.map((s=>{var t;return i("span",{class:"spw-custom-select__selected-item"},null===(t=this.parsedOptions.find((t=>t.value+""==s+"")))||void 0===t?void 0:t.label,i("spw-icon",{icon:"fa-times",class:"spw-custom-select__deselect-icon",onClick:t=>this.selectOption(s,t)}))}))),!this.multiple&&i("span",{key:"67eb1e59a69443c63cfe030421a45dd9ed98d626"},this.getSelectedLabels()))),i("div",{key:"d36ae8e7dbcbdf5d3895482bf94ce352ccb2deb2",class:"spw-custom-select__icons"},e&&!(this.isOpen&&this.hasSelectedValue)&&i("button",{key:"d5ab27383e5915b3a6a23e2a4c233e37b56bdcda",class:"spw-custom-select__create-btn",type:"button",onMouseDown:s=>{s.preventDefault(),s.stopPropagation(),this.addCreatedOption(this.searchText)}},i("spw-icon",{key:"00e486f257d3576fe5a481320685c0f73ac76b43",icon:"fa-plus"})),this.isClear&&(this.hasSelectedValue||!!this.searchText)&&i("span",{key:"522cc58133eebfc86d8f64ab549905f4d7dc85ea",class:"spw-custom-select__clear",onClick:s=>this.handleClear(s)},i("spw-icon",{key:"4afc256de08bae62efde4d0903a2fa2de4438d89",icon:"fa-xmark"})),i("div",{key:"ae0fb99288bad447c52288df66afdcf042c139d8",class:"spw-custom-select__arrow"},i("spw-icon",{key:"2166910463c05b09b845eab799fbb13b63bcc06f",icon:this.isOpen?"fa-chevron-up":"fa-chevron-down"}))),this.isOpen&&i("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"}:{}},i("div",{key:"43dd9a1b026ff6aac3a4d309e4f4e950156566ef",class:"spw-custom-select__options-list"},!!s.length&&i("ul",{key:"dc42399871b8b4286a440a9c5da7c618301ca330"},s.map(((s,t)=>i("li",{class:{"spw-custom-select__option":!0,"spw-custom-select__option--selected":this.multiple?this.internalValue.some((t=>t+""==s.value+"")):s.value===this.internalValue,"spw-custom-select__option--focused":t===this.focusedOptionIndex,"spw-custom-select__option--disabled":s.disabled,"spw-custom-select__option--created":!!s.created},onClick:()=>this.selectOption(s.value)},this.multiple&&i("spw-checkbox",{onKeyDown:t=>this.handleOptionKeyDown(t,s.value),class:"spw-custom-select__checkbox",checked:this.internalValue.some((t=>t+""==s.value+"")),disabled:s.disabled}),s.label,s.created&&i("spw-icon",{class:"spw-custom-select__option-remove",icon:"fa-trash",onClick:t=>this.removeCreatedOption(s,t)}))))),!s.length&&i("p",{key:"16b8fc9d36f71937588d8f57ddf593380766a5a8",class:"spw-custom-select__no-results"},this.noResultsText)),this.hasSlottedFooter&&i("div",{key:"c273c08ab20c4d80b26045fba0bc8abca5564851",class:"spw-custom-select__options-footer"},i("slot",{key:"f54f6b94a36cc064f8820a6892cfb02b05e039b1",name:"footer"})))),this.renderErrorMessage(),this.renderHintMessage(),this.renderSuccessMessage(),this.renderWarningMessage())}static get formAssociated(){return!0}get hostElement(){return this}static get watchers(){return{items:[{parseOptions:0}],value:[{valueChangedHandler:0}],internalValue:[{internalValueChanged:0}]}}static get style(){return"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)}"}},[321,"spw-custom-select",{value:[1544],label:[1],placeholder:[1],searchPlaceholder:[1,"search-placeholder"],noResultsText:[1,"no-results-text"],disabled:[4],name:[1],required:[4],items:[16],size:[1],multiple:[4],isSearch:[4,"is-search"],assistiveText:[1,"assistive-text"],error:[1],hint:[1],success:[1],warning:[1],showErrorIcon:[4,"show-error-icon"],showHintIcon:[4,"show-hint-icon"],showSuccessIcon:[4,"show-success-icon"],showWarningIcon:[4,"show-warning-icon"],tooltipTitle:[1,"tooltip-title"],tooltipText:[1,"tooltip-text"],tooltipMaxWidth:[1,"tooltip-max-width"],tooltipDirection:[1,"tooltip-direction"],tooltipCursor:[1,"tooltip-cursor"],fixedDropdown:[4,"fixed-dropdown"],fixedDropdownParent:[1,"fixed-dropdown-parent"],isClear:[4,"is-clear"],direction:[1],allowCreate:[4,"allow-create"],internalValue:[32],isOpen:[32],parsedOptions:[32],focusedOptionIndex:[32],searchText:[32],hasSlottedFooter:[32],dropdownDirection:[32],hasSelectedValue:[32],dropdownPosition:[32],setFocus:[64],resetSelect:[64],setValue:[64],getValue:[64]},void 0,{items:[{parseOptions:0}],value:[{valueChangedHandler:0}],internalValue:[{internalValueChanged:0}]}]),h=p,d=function(){"undefined"!=typeof customElements&&["spw-custom-select","spw-checkbox","spw-field-label","spw-field-message","spw-icon","spw-tooltip"].forEach((s=>{switch(s){case"spw-custom-select":customElements.get(o(s))||customElements.define(o(s),p);break;case"spw-checkbox":customElements.get(o(s))||c();break;case"spw-field-label":customElements.get(o(s))||r();break;case"spw-field-message":customElements.get(o(s))||n();break;case"spw-icon":customElements.get(o(s))||l();break;case"spw-tooltip":customElements.get(o(s))||a()}}))};export{h as SpwCustomSelect,d as defineCustomElement}
|