@scania/tegel 1.49.2-warning-beta.0 → 1.50.0-develop-beta.1
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/cjs/index-BJ10h8-I.js +2548 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/tds-accordion-item.cjs.entry.js +4 -4
- package/dist/cjs/tds-accordion.cjs.entry.js +3 -3
- package/dist/cjs/tds-badge.cjs.entry.js +3 -3
- package/dist/cjs/tds-banner.cjs.entry.js +3 -3
- package/dist/cjs/tds-block.cjs.entry.js +2 -2
- package/dist/cjs/tds-body-cell.cjs.entry.js +3 -3
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/tds-button_2.cjs.entry.js +5 -5
- package/dist/cjs/tds-card.cjs.entry.js +2 -2
- package/dist/cjs/tds-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/tds-chip.cjs.entry.js +3 -3
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +3 -3
- package/dist/cjs/tds-datetime.cjs.entry.js +4 -4
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +99 -144
- package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +5 -3
- package/dist/cjs/tds-footer-group.cjs.entry.js +4 -4
- package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header.cjs.entry.js +1 -1
- package/dist/cjs/tds-icon.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +5 -3
- package/dist/cjs/tds-link.cjs.entry.js +3 -3
- package/dist/cjs/tds-message.cjs.entry.js +3 -3
- package/dist/cjs/tds-modal.cjs.entry.js +3 -3
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +7 -5
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
- package/dist/cjs/tds-popover-core.cjs.entry.js +2 -2
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -4
- package/dist/cjs/tds-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu.cjs.entry.js +4 -4
- package/dist/cjs/tds-slider.cjs.entry.js +10 -10
- package/dist/cjs/tds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/tds-step.cjs.entry.js +2 -2
- package/dist/cjs/tds-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +8 -8
- package/dist/cjs/tds-table-body-row.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-footer.cjs.entry.js +6 -4
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-header.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/tds-table.cjs.entry.js +4 -4
- package/dist/cjs/tds-tag.cjs.entry.js +2 -2
- package/dist/cjs/tds-text-field.cjs.entry.js +6 -6
- package/dist/cjs/tds-textarea.cjs.entry.js +4 -4
- package/dist/cjs/tds-toast.cjs.entry.js +4 -4
- package/dist/cjs/tds-toggle.cjs.entry.js +4 -4
- package/dist/cjs/tds-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/tegel.cjs.js +3 -3
- package/dist/collection/assets/icons/traton/edit_inactive.svg +1 -0
- package/dist/collection/assets/icons/traton/skip_backwards.svg +1 -0
- package/dist/collection/assets/icons/traton/skip_forward.svg +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +7 -7
- package/dist/collection/components/accordion/accordion.js +4 -4
- package/dist/collection/components/badge/badge.js +5 -5
- package/dist/collection/components/banner/banner.js +8 -8
- package/dist/collection/components/block/block.js +3 -3
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
- package/dist/collection/components/button/button.js +14 -14
- package/dist/collection/components/card/card.js +12 -12
- package/dist/collection/components/checkbox/checkbox.js +10 -10
- package/dist/collection/components/chip/chip.css +5 -15
- package/dist/collection/components/chip/chip.js +8 -8
- package/dist/collection/components/datetime/datetime.js +19 -19
- package/dist/collection/components/divider/divider.js +3 -3
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +4 -4
- package/dist/collection/components/dropdown/dropdown.js +114 -161
- package/dist/collection/components/footer/footer-group/footer-group.js +5 -5
- package/dist/collection/components/footer/footer.js +3 -3
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +7 -7
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +3 -3
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +5 -5
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +2 -2
- package/dist/collection/components/header/header-item/header-item.js +4 -4
- package/dist/collection/components/header/header-launcher/header-launcher.js +3 -3
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +3 -3
- package/dist/collection/components/icon/icon.js +4 -4
- package/dist/collection/components/link/link.js +5 -5
- package/dist/collection/components/message/message.js +9 -9
- package/dist/collection/components/modal/modal.js +10 -10
- package/dist/collection/components/popover-canvas/popover-canvas.js +12 -12
- package/dist/collection/components/popover-core/popover-core.js +10 -10
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +3 -3
- package/dist/collection/components/popover-menu/popover-menu.js +12 -12
- package/dist/collection/components/radio-button/radio-button.js +9 -9
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +7 -7
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +3 -3
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +4 -4
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +5 -5
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +3 -3
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +3 -3
- package/dist/collection/components/side-menu/side-menu.js +6 -6
- package/dist/collection/components/slider/slider.js +27 -27
- package/dist/collection/components/spinner/spinner.js +3 -3
- package/dist/collection/components/stepper/step/step.js +4 -4
- package/dist/collection/components/stepper/stepper.js +7 -7
- package/dist/collection/components/table/table/table.js +5 -5
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +4 -4
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +2 -2
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +9 -9
- package/dist/collection/components/table/table-footer/table-footer.js +26 -4
- package/dist/collection/components/table/table-header/table-header.js +3 -3
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +5 -5
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +3 -3
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +3 -3
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +3 -3
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +8 -6
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +3 -3
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +8 -6
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +3 -3
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +10 -8
- package/dist/collection/components/tag/tag.js +4 -4
- package/dist/collection/components/text-field/text-field.js +26 -26
- package/dist/collection/components/textarea/textarea.js +20 -20
- package/dist/collection/components/toast/toast.js +11 -11
- package/dist/collection/components/toggle/toggle.js +10 -10
- package/dist/collection/components/tooltip/tooltip.js +12 -12
- package/dist/collection/utils/testConfiguration.js +46 -9
- package/dist/components/index.js +1 -1
- package/dist/components/{p-CVrz-nvu.js → p-2Sehn7YQ.js} +1 -1
- package/dist/components/{p-blXt609Y.js → p-BkkKUMC2.js} +1 -1
- package/dist/components/{p-le823YD3.js → p-CkGDaQ3D.js} +1 -1
- package/dist/components/{p-CAGXolMB.js → p-Cr5AJ7EI.js} +1 -1
- package/dist/components/p-D7QKvdhL.js +1 -0
- package/dist/components/p-D8Rhjha5.js +1 -0
- package/dist/components/{p-CIt4YhvL.js → p-DMVs7mmW.js} +1 -1
- package/dist/components/{p-Dc6aMuMv.js → p-DO04x4VW.js} +1 -1
- package/dist/components/{p-DDZjm4KO.js → p-Df03ehYR.js} +1 -1
- package/dist/components/p-Dh4rW_04.js +1 -0
- package/dist/components/p-Dkw_xBUE.js +1 -0
- package/dist/components/{p-454Tm-qg.js → p-DynhdmI7.js} +1 -1
- package/dist/components/{p-Dcq3a5KI.js → p-T8F4U3Yc.js} +1 -1
- package/dist/components/{p-D0Aaqu_c.js → p-TTZk9Ssg.js} +1 -1
- package/dist/components/{p-7g_ABN5n.js → p-Zonwl9_G.js} +1 -1
- package/dist/components/{p-Zx1hN-_O.js → p-bPqW3C5g.js} +1 -1
- package/dist/components/tds-accordion-item.js +1 -1
- package/dist/components/tds-accordion.js +1 -1
- package/dist/components/tds-badge.js +1 -1
- package/dist/components/tds-banner.js +1 -1
- package/dist/components/tds-block.js +1 -1
- package/dist/components/tds-body-cell.js +1 -1
- package/dist/components/tds-breadcrumb.js +1 -1
- package/dist/components/tds-breadcrumbs.js +1 -1
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +1 -1
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +1 -1
- package/dist/components/tds-datetime.js +1 -1
- package/dist/components/tds-divider.js +1 -1
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tab.js +1 -1
- package/dist/components/tds-folder-tabs.js +1 -1
- package/dist/components/tds-footer-group.js +1 -1
- package/dist/components/tds-footer.js +1 -1
- package/dist/components/tds-header-brand-symbol.js +1 -1
- package/dist/components/tds-header-cell.js +1 -1
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +1 -1
- package/dist/components/tds-header-dropdown.js +1 -1
- package/dist/components/tds-header-hamburger.js +1 -1
- package/dist/components/tds-header-item.js +1 -1
- package/dist/components/tds-header-launcher-button.js +1 -1
- package/dist/components/tds-header-launcher-list-item.js +1 -1
- package/dist/components/tds-header-launcher.js +1 -1
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +1 -1
- package/dist/components/tds-inline-tabs.js +1 -1
- package/dist/components/tds-link.js +1 -1
- package/dist/components/tds-message.js +1 -1
- package/dist/components/tds-modal.js +1 -1
- package/dist/components/tds-navigation-tab.js +1 -1
- package/dist/components/tds-navigation-tabs.js +1 -1
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu-item.js +1 -1
- package/dist/components/tds-popover-menu.js +1 -1
- package/dist/components/tds-radio-button.js +1 -1
- package/dist/components/tds-side-menu-close-button.js +1 -1
- package/dist/components/tds-side-menu-collapse-button.js +1 -1
- package/dist/components/tds-side-menu-dropdown-list-item.js +1 -1
- package/dist/components/tds-side-menu-dropdown.js +1 -1
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-user-image.js +1 -1
- package/dist/components/tds-side-menu-user-label.js +1 -1
- package/dist/components/tds-side-menu-user.js +1 -1
- package/dist/components/tds-side-menu.js +1 -1
- package/dist/components/tds-slider.js +1 -1
- package/dist/components/tds-spinner.js +1 -1
- package/dist/components/tds-step.js +1 -1
- package/dist/components/tds-stepper.js +1 -1
- package/dist/components/tds-table-body-input-wrapper.js +1 -1
- package/dist/components/tds-table-body-row-expandable.js +1 -1
- package/dist/components/tds-table-body-row.js +1 -1
- package/dist/components/tds-table-footer.js +1 -1
- package/dist/components/tds-table-header-input-wrapper.js +1 -1
- package/dist/components/tds-table-header.js +1 -1
- package/dist/components/tds-table-toolbar.js +1 -1
- package/dist/components/tds-table.js +1 -1
- package/dist/components/tds-tag.js +1 -1
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +1 -1
- package/dist/components/tds-toast.js +1 -1
- package/dist/components/tds-toggle.js +1 -1
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/index-BdzyrAx0.js +2519 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/tds-accordion-item.entry.js +4 -4
- package/dist/esm/tds-accordion.entry.js +3 -3
- package/dist/esm/tds-badge.entry.js +3 -3
- package/dist/esm/tds-banner.entry.js +3 -3
- package/dist/esm/tds-block.entry.js +2 -2
- package/dist/esm/tds-body-cell.entry.js +3 -3
- package/dist/esm/tds-breadcrumb.entry.js +2 -2
- package/dist/esm/tds-breadcrumbs.entry.js +2 -2
- package/dist/esm/tds-button_2.entry.js +5 -5
- package/dist/esm/tds-card.entry.js +2 -2
- package/dist/esm/tds-checkbox.entry.js +3 -3
- package/dist/esm/tds-chip.entry.js +3 -3
- package/dist/esm/tds-core-header-item_2.entry.js +3 -3
- package/dist/esm/tds-datetime.entry.js +4 -4
- package/dist/esm/tds-dropdown_2.entry.js +99 -144
- package/dist/esm/tds-folder-tab.entry.js +3 -3
- package/dist/esm/tds-folder-tabs.entry.js +5 -3
- package/dist/esm/tds-footer-group.entry.js +4 -4
- package/dist/esm/tds-footer-item.entry.js +1 -1
- package/dist/esm/tds-footer.entry.js +3 -3
- package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
- package/dist/esm/tds-header-cell.entry.js +3 -3
- package/dist/esm/tds-header-dropdown-list-item.entry.js +3 -3
- package/dist/esm/tds-header-dropdown-list-user.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
- package/dist/esm/tds-header-dropdown.entry.js +4 -4
- package/dist/esm/tds-header-hamburger.entry.js +2 -2
- package/dist/esm/tds-header-launcher-button.entry.js +2 -2
- package/dist/esm/tds-header-launcher-grid-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list.entry.js +1 -1
- package/dist/esm/tds-header-launcher.entry.js +3 -3
- package/dist/esm/tds-header-title.entry.js +1 -1
- package/dist/esm/tds-header.entry.js +1 -1
- package/dist/esm/tds-icon.entry.js +2 -2
- package/dist/esm/tds-inline-tab.entry.js +3 -3
- package/dist/esm/tds-inline-tabs.entry.js +5 -3
- package/dist/esm/tds-link.entry.js +3 -3
- package/dist/esm/tds-message.entry.js +3 -3
- package/dist/esm/tds-modal.entry.js +3 -3
- package/dist/esm/tds-navigation-tab.entry.js +3 -3
- package/dist/esm/tds-navigation-tabs.entry.js +7 -5
- package/dist/esm/tds-popover-canvas.entry.js +4 -4
- package/dist/esm/tds-popover-core.entry.js +2 -2
- package/dist/esm/tds-popover-menu-item.entry.js +3 -3
- package/dist/esm/tds-popover-menu.entry.js +4 -4
- package/dist/esm/tds-radio-button.entry.js +3 -3
- package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-collapse-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +1 -1
- package/dist/esm/tds-side-menu-dropdown.entry.js +4 -4
- package/dist/esm/tds-side-menu-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
- package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -3
- package/dist/esm/tds-side-menu-user.entry.js +2 -2
- package/dist/esm/tds-side-menu.entry.js +4 -4
- package/dist/esm/tds-slider.entry.js +10 -10
- package/dist/esm/tds-spinner.entry.js +2 -2
- package/dist/esm/tds-step.entry.js +2 -2
- package/dist/esm/tds-stepper.entry.js +2 -2
- package/dist/esm/tds-table-body-input-wrapper.entry.js +2 -2
- package/dist/esm/tds-table-body-row-expandable.entry.js +8 -8
- package/dist/esm/tds-table-body-row.entry.js +1 -1
- package/dist/esm/tds-table-body.entry.js +1 -1
- package/dist/esm/tds-table-footer.entry.js +6 -4
- package/dist/esm/tds-table-header-input-wrapper.entry.js +2 -2
- package/dist/esm/tds-table-header.entry.js +3 -3
- package/dist/esm/tds-table-toolbar.entry.js +3 -3
- package/dist/esm/tds-table.entry.js +4 -4
- package/dist/esm/tds-tag.entry.js +2 -2
- package/dist/esm/tds-text-field.entry.js +6 -6
- package/dist/esm/tds-textarea.entry.js +4 -4
- package/dist/esm/tds-toast.entry.js +4 -4
- package/dist/esm/tds-toggle.entry.js +4 -4
- package/dist/esm/tds-tooltip.entry.js +3 -3
- package/dist/esm/tegel.js +4 -4
- package/dist/tegel/assets/icons/traton/edit_inactive.svg +1 -0
- package/dist/tegel/assets/icons/traton/skip_backwards.svg +1 -0
- package/dist/tegel/assets/icons/traton/skip_forward.svg +1 -0
- package/dist/tegel/p-022feefe.entry.js +1 -0
- package/dist/tegel/p-02de949b.entry.js +1 -0
- package/dist/tegel/{p-873dd581.entry.js → p-05734bd9.entry.js} +1 -1
- package/dist/tegel/{p-f7e30ce0.entry.js → p-05b17d71.entry.js} +1 -1
- package/dist/tegel/p-0b2f28ca.entry.js +1 -0
- package/dist/tegel/p-0dd222cb.entry.js +1 -0
- package/dist/tegel/{p-c612b88f.entry.js → p-0e89bd08.entry.js} +1 -1
- package/dist/tegel/{p-84580662.entry.js → p-12b87ea5.entry.js} +1 -1
- package/dist/tegel/{p-130d96b2.entry.js → p-130750dd.entry.js} +1 -1
- package/dist/tegel/{p-2c4defb0.entry.js → p-190d22e3.entry.js} +1 -1
- package/dist/tegel/p-1a805013.entry.js +1 -0
- package/dist/tegel/{p-3d11fc11.entry.js → p-1c67816d.entry.js} +1 -1
- package/dist/tegel/p-2132adfd.entry.js +1 -0
- package/dist/tegel/{p-089347c1.entry.js → p-25ffd41a.entry.js} +1 -1
- package/dist/tegel/p-266eb96c.entry.js +1 -0
- package/dist/tegel/p-2831fafe.entry.js +1 -0
- package/dist/tegel/{p-64e04dc0.entry.js → p-29546870.entry.js} +1 -1
- package/dist/tegel/{p-b11a2807.entry.js → p-2b06e015.entry.js} +1 -1
- package/dist/tegel/{p-e399bba6.entry.js → p-3b8f7ccf.entry.js} +1 -1
- package/dist/tegel/p-3f690d81.entry.js +1 -0
- package/dist/tegel/p-443829dd.entry.js +1 -0
- package/dist/tegel/{p-492af98d.entry.js → p-45da9cad.entry.js} +1 -1
- package/dist/tegel/{p-f935c2e9.entry.js → p-4817040f.entry.js} +1 -1
- package/dist/tegel/{p-a6415b2c.entry.js → p-4b563670.entry.js} +1 -1
- package/dist/tegel/{p-a5ec44a0.entry.js → p-52432e2d.entry.js} +1 -1
- package/dist/tegel/{p-eebfce98.entry.js → p-57d395ed.entry.js} +1 -1
- package/dist/tegel/{p-fb9f17be.entry.js → p-58f73c59.entry.js} +1 -1
- package/dist/tegel/{p-6c86f384.entry.js → p-5a1681e5.entry.js} +1 -1
- package/dist/tegel/{p-e7793e67.entry.js → p-5a230bfb.entry.js} +1 -1
- package/dist/tegel/p-5c13c37d.entry.js +1 -0
- package/dist/tegel/{p-4236bbf5.entry.js → p-5c167f7d.entry.js} +1 -1
- package/dist/tegel/{p-408ccb20.entry.js → p-5ca31069.entry.js} +1 -1
- package/dist/tegel/{p-e8658834.entry.js → p-65475bb9.entry.js} +1 -1
- package/dist/tegel/{p-483d8c89.entry.js → p-68fe9b76.entry.js} +1 -1
- package/dist/tegel/{p-121afb33.entry.js → p-6abb4e48.entry.js} +1 -1
- package/dist/tegel/{p-bc98d0e2.entry.js → p-6b56155b.entry.js} +1 -1
- package/dist/tegel/{p-fe45a38b.entry.js → p-701d4293.entry.js} +1 -1
- package/dist/tegel/p-71f12fbe.entry.js +1 -0
- package/dist/tegel/p-76dea1da.entry.js +1 -0
- package/dist/tegel/p-79a98f30.entry.js +1 -0
- package/dist/tegel/{p-d92682e4.entry.js → p-7a110985.entry.js} +1 -1
- package/dist/tegel/{p-bfa98728.entry.js → p-7ad4cff6.entry.js} +1 -1
- package/dist/tegel/{p-34acf548.entry.js → p-7fb81f56.entry.js} +1 -1
- package/dist/tegel/p-809721c8.entry.js +1 -0
- package/dist/tegel/{p-5b787973.entry.js → p-888184f4.entry.js} +1 -1
- package/dist/tegel/{p-7fd4299d.entry.js → p-8aa37880.entry.js} +1 -1
- package/dist/tegel/{p-dfa11d82.entry.js → p-8b03811b.entry.js} +1 -1
- package/dist/tegel/{p-00f77dd3.entry.js → p-8d956ad4.entry.js} +1 -1
- package/dist/tegel/{p-8f69297f.entry.js → p-91bf500a.entry.js} +1 -1
- package/dist/tegel/p-925340e5.entry.js +1 -0
- package/dist/tegel/{p-2ef824fb.entry.js → p-943d61f9.entry.js} +1 -1
- package/dist/tegel/p-9b6ea0b4.entry.js +1 -0
- package/dist/tegel/p-BdzyrAx0.js +2 -0
- package/dist/tegel/p-a8b22784.entry.js +1 -0
- package/dist/tegel/{p-dc425994.entry.js → p-b6e1dfa5.entry.js} +1 -1
- package/dist/tegel/{p-09867bb0.entry.js → p-b882afdc.entry.js} +1 -1
- package/dist/tegel/{p-9c179f84.entry.js → p-ba462135.entry.js} +1 -1
- package/dist/tegel/{p-b29a9c01.entry.js → p-ba466230.entry.js} +1 -1
- package/dist/tegel/{p-462a1867.entry.js → p-be00d349.entry.js} +1 -1
- package/dist/tegel/{p-17ea4d71.entry.js → p-c044faa3.entry.js} +1 -1
- package/dist/tegel/{p-72f04cd1.entry.js → p-c10d32f0.entry.js} +1 -1
- package/dist/tegel/{p-c2e17e83.entry.js → p-c7e81ef2.entry.js} +1 -1
- package/dist/tegel/{p-9d1d18e5.entry.js → p-cbf5b8fd.entry.js} +1 -1
- package/dist/tegel/{p-92ee76ea.entry.js → p-ce67fac5.entry.js} +1 -1
- package/dist/tegel/{p-b524bbfe.entry.js → p-d2d05d9a.entry.js} +1 -1
- package/dist/tegel/{p-afad1dba.entry.js → p-d34cfa4a.entry.js} +1 -1
- package/dist/tegel/{p-fc5445b7.entry.js → p-d36b6ce9.entry.js} +1 -1
- package/dist/tegel/p-d4365572.entry.js +1 -0
- package/dist/tegel/{p-e4cd252c.entry.js → p-d45483a2.entry.js} +1 -1
- package/dist/tegel/{p-9a0253d6.entry.js → p-d727ce15.entry.js} +1 -1
- package/dist/tegel/{p-6bcb6678.entry.js → p-dad3e02f.entry.js} +1 -1
- package/dist/tegel/{p-8db648a3.entry.js → p-deacc365.entry.js} +1 -1
- package/dist/tegel/{p-808c9db1.entry.js → p-e2ef5e0b.entry.js} +1 -1
- package/dist/tegel/{p-bf411bd0.entry.js → p-e4d9f174.entry.js} +1 -1
- package/dist/tegel/p-ea1e187e.entry.js +1 -0
- package/dist/tegel/p-eef1f3a6.entry.js +1 -0
- package/dist/tegel/{p-e0be794f.entry.js → p-f6554516.entry.js} +1 -1
- package/dist/tegel/{p-735375dd.entry.js → p-fab0fa77.entry.js} +1 -1
- package/dist/tegel/p-fb9c0c8b.entry.js +1 -0
- package/dist/tegel/p-fec63ee6.entry.js +1 -0
- package/dist/tegel/tegel.css +95 -3
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +17 -30
- package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
- package/dist/types/components/table/table-footer/table-footer.d.ts +2 -0
- package/dist/types/components.d.ts +15 -4
- package/dist/types/stencil-public-runtime.d.ts +0 -4
- package/dist/types/stories/formatHtmlPreview.d.ts +1 -1
- package/dist/types/utils/testConfiguration.d.ts +13 -11
- package/package.json +4 -3
- package/dist/cjs/index-DGsdvbvx.js +0 -2521
- package/dist/components/p-C5Repnjj.js +0 -1
- package/dist/components/p-COWTtzpX.js +0 -1
- package/dist/components/p-CXwwrpih.js +0 -1
- package/dist/components/p-DU6on7Ts.js +0 -1
- package/dist/esm/index-9xxNGlso.js +0 -2492
- package/dist/tegel/p-01c5df5c.entry.js +0 -1
- package/dist/tegel/p-066bb57c.entry.js +0 -1
- package/dist/tegel/p-09c5a74a.entry.js +0 -1
- package/dist/tegel/p-10bd75ab.entry.js +0 -1
- package/dist/tegel/p-1c117ed6.entry.js +0 -1
- package/dist/tegel/p-1c73f091.entry.js +0 -1
- package/dist/tegel/p-399de5fb.entry.js +0 -1
- package/dist/tegel/p-513f9e4a.entry.js +0 -1
- package/dist/tegel/p-5aac239b.entry.js +0 -1
- package/dist/tegel/p-5de5a2e8.entry.js +0 -1
- package/dist/tegel/p-785a02d1.entry.js +0 -1
- package/dist/tegel/p-7aa48b05.entry.js +0 -1
- package/dist/tegel/p-7d2217bc.entry.js +0 -1
- package/dist/tegel/p-826bfbff.entry.js +0 -1
- package/dist/tegel/p-88deac25.entry.js +0 -1
- package/dist/tegel/p-9xxNGlso.js +0 -2
- package/dist/tegel/p-ad5f719a.entry.js +0 -1
- package/dist/tegel/p-b35c853f.entry.js +0 -1
- package/dist/tegel/p-b765f247.entry.js +0 -1
- package/dist/tegel/p-b881093c.entry.js +0 -1
- package/dist/tegel/p-c18d557c.entry.js +0 -1
- package/dist/tegel/p-dc823504.entry.js +0 -1
- package/dist/tegel/p-e2848b6f.entry.js +0 -1
- package/dist/tegel/p-fed169d8.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as n,H as i,a as r}from"./p-9xxNGlso.js";import{g as o}from"./p-Cn4f8w1e.js";var s="top",a="bottom",u="right",f="left",c="auto",d=[s,a,u,f],l="start",h="end",v="viewport",p="popper",b=d.reduce((function(t,e){return t.concat([e+"-"+l,e+"-"+h])}),[]),m=[].concat(d,[c]).reduce((function(t,e){return t.concat([e,e+"-"+l,e+"-"+h])}),[]),y=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function g(t){return t?(t.nodeName||"").toLowerCase():null}function w(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function x(t){return t instanceof w(t).Element||t instanceof Element}function O(t){return t instanceof w(t).HTMLElement||t instanceof HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof w(t).ShadowRoot||t instanceof ShadowRoot)}function k(t){return t.split("-")[0]}var E=Math.max,C=Math.min,S=Math.round;function M(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function T(){return!/^((?!chrome|android).)*safari/i.test(M())}function P(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),r=1,o=1;e&&O(t)&&(r=t.offsetWidth>0&&S(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&S(i.height)/t.offsetHeight||1);var s=(x(t)?w(t):window).visualViewport,a=!T()&&n,u=(i.left+(a&&s?s.offsetLeft:0))/r,f=(i.top+(a&&s?s.offsetTop:0))/o,c=i.width/r,d=i.height/o;return{width:c,height:d,top:f,right:u+c,bottom:f+d,left:u,x:u,y:f}}function R(t){var e=P(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function A(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&j(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function q(t){return w(t).getComputedStyle(t)}function B(t){return["table","td","th"].indexOf(g(t))>=0}function W(t){return((x(t)?t.ownerDocument:t.document)||window.document).documentElement}function I(t){return"html"===g(t)?t:t.assignedSlot||t.parentNode||(j(t)?t.host:null)||W(t)}function L(t){return O(t)&&"fixed"!==q(t).position?t.offsetParent:null}function H(t){for(var e=w(t),n=L(t);n&&B(n)&&"static"===q(n).position;)n=L(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===q(n).position)?e:n||function(t){var e=/firefox/i.test(M());if(/Trident/i.test(M())&&O(t)&&"fixed"===q(t).position)return null;var n=I(t);for(j(n)&&(n=n.host);O(n)&&["html","body"].indexOf(g(n))<0;){var i=q(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function z(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function D(t,e,n){return E(t,C(e,n))}function _(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function F(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function U(t){return t.split("-")[1]}var V={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,c=t.offsets,d=t.position,l=t.gpuAcceleration,v=t.adaptive,p=t.roundOffsets,b=t.isFixed,m=c.x,y=void 0===m?0:m,g=c.y,x=void 0===g?0:g,O="function"==typeof p?p({x:y,y:x}):{x:y,y:x};y=O.x,x=O.y;var j=c.hasOwnProperty("x"),k=c.hasOwnProperty("y"),E=f,C=s,M=window;if(v){var T=H(n),P="clientHeight",R="clientWidth";T===w(n)&&"static"!==q(T=W(n)).position&&"absolute"===d&&(P="scrollHeight",R="scrollWidth"),(r===s||(r===f||r===u)&&o===h)&&(C=a,x-=(b&&T===M&&M.visualViewport?M.visualViewport.height:T[P])-i.height,x*=l?1:-1),r!==f&&(r!==s&&r!==a||o!==h)||(E=u,y-=(b&&T===M&&M.visualViewport?M.visualViewport.width:T[R])-i.width,y*=l?1:-1)}var A,B=Object.assign({position:d},v&&V),I=!0===p?function(t,e){var n=t.y,i=e.devicePixelRatio||1;return{x:S(t.x*i)/i||0,y:S(n*i)/i||0}}({x:y,y:x},w(n)):{x:y,y:x};return y=I.x,x=I.y,Object.assign({},B,l?((A={})[C]=k?"0":"",A[E]=j?"0":"",A.transform=(M.devicePixelRatio||1)<=1?"translate("+y+"px, "+x+"px)":"translate3d("+y+"px, "+x+"px, 0)",A):((e={})[C]=k?x+"px":"",e[E]=j?y+"px":"",e.transform="",e))}var G={passive:!0},K={left:"right",right:"left",bottom:"top",top:"bottom"};function N(t){return t.replace(/left|right|bottom|top/g,(function(t){return K[t]}))}var J={start:"end",end:"start"};function Q(t){return t.replace(/start|end/g,(function(t){return J[t]}))}function X(t){var e=w(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Y(t){return P(W(t)).left+X(t).scrollLeft}function Z(t){var e=q(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function tt(t){return["html","body","#document"].indexOf(g(t))>=0?t.ownerDocument.body:O(t)&&Z(t)?t:tt(I(t))}function et(t,e){var n;void 0===e&&(e=[]);var i=tt(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=w(i),s=r?[o].concat(o.visualViewport||[],Z(i)?i:[]):i,a=e.concat(s);return r?a:a.concat(et(I(s)))}function nt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function it(t,e,n){return e===v?nt(function(t,e){var n=w(t),i=W(t),r=n.visualViewport,o=i.clientWidth,s=i.clientHeight,a=0,u=0;if(r){o=r.width,s=r.height;var f=T();(f||!f&&"fixed"===e)&&(a=r.offsetLeft,u=r.offsetTop)}return{width:o,height:s,x:a+Y(t),y:u}}(t,n)):x(e)?function(t,e){var n=P(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):nt(function(t){var e,n=W(t),i=X(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=E(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=E(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+Y(t),u=-i.scrollTop;return"rtl"===q(r||n).direction&&(a+=E(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:u}}(W(t)))}function rt(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?k(r):null,c=r?U(r):null,d=n.x+n.width/2-i.width/2,v=n.y+n.height/2-i.height/2;switch(o){case s:e={x:d,y:n.y-i.height};break;case a:e={x:d,y:n.y+n.height};break;case u:e={x:n.x+n.width,y:v};break;case f:e={x:n.x-i.width,y:v};break;default:e={x:n.x,y:n.y}}var p=o?z(o):null;if(null!=p){var b="y"===p?"height":"width";switch(c){case l:e[p]=e[p]-(n[b]/2-i[b]/2);break;case h:e[p]=e[p]+(n[b]/2-i[b]/2)}}return e}function ot(t,e){void 0===e&&(e={});var n=e.placement,i=void 0===n?t.placement:n,r=e.strategy,o=void 0===r?t.strategy:r,f=e.boundary,c=void 0===f?"clippingParents":f,l=e.rootBoundary,h=void 0===l?v:l,b=e.elementContext,m=void 0===b?p:b,y=e.altBoundary,w=void 0!==y&&y,j=e.padding,k=void 0===j?0:j,S=_("number"!=typeof k?k:F(k,d)),M=t.rects.popper,T=t.elements[w?m===p?"reference":p:m],R=function(t,e,n,i){var r="clippingParents"===e?function(t){var e=et(I(t)),n=["absolute","fixed"].indexOf(q(t).position)>=0&&O(t)?H(t):t;return x(n)?e.filter((function(t){return x(t)&&A(t,n)&&"body"!==g(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),s=o.reduce((function(e,n){var r=it(t,n,i);return e.top=E(r.top,e.top),e.right=C(r.right,e.right),e.bottom=C(r.bottom,e.bottom),e.left=E(r.left,e.left),e}),it(t,o[0],i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(x(T)?T:T.contextElement||W(t.elements.popper),c,h,o),B=P(t.elements.reference),L=rt({reference:B,element:M,placement:i}),z=nt(Object.assign({},M,L)),D=m===p?z:B,U={top:R.top-D.top+S.top,bottom:D.bottom-R.bottom+S.bottom,left:R.left-D.left+S.left,right:D.right-R.right+S.right},V=t.modifiersData.offset;if(m===p&&V){var $=V[i];Object.keys(U).forEach((function(t){var e=[u,a].indexOf(t)>=0?1:-1,n=[s,a].indexOf(t)>=0?"y":"x";U[t]+=$[n]*e}))}return U}function st(t,e){void 0===e&&(e={});var n=e.boundary,i=e.rootBoundary,r=e.padding,o=e.flipVariations,s=e.allowedAutoPlacements,a=void 0===s?m:s,u=U(e.placement),f=u?o?b:b.filter((function(t){return U(t)===u})):d,c=f.filter((function(t){return a.indexOf(t)>=0}));0===c.length&&(c=f);var l=c.reduce((function(e,o){return e[o]=ot(t,{placement:o,boundary:n,rootBoundary:i,padding:r})[k(o)],e}),{});return Object.keys(l).sort((function(t,e){return l[t]-l[e]}))}var at={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,d=n.altAxis,h=void 0===d||d,v=n.fallbackPlacements,p=n.padding,b=n.boundary,m=n.rootBoundary,y=n.altBoundary,g=n.flipVariations,w=void 0===g||g,x=n.allowedAutoPlacements,O=e.options.placement,j=k(O),E=v||(j!==O&&w?function(t){if(k(t)===c)return[];var e=N(t);return[Q(t),e,Q(e)]}(O):[N(O)]),C=[O].concat(E).reduce((function(t,n){return t.concat(k(n)===c?st(e,{placement:n,boundary:b,rootBoundary:m,padding:p,flipVariations:w,allowedAutoPlacements:x}):n)}),[]),S=e.rects.reference,M=e.rects.popper,T=new Map,P=!0,R=C[0],A=0;A<C.length;A++){var q=C[A],B=k(q),W=U(q)===l,I=[s,a].indexOf(B)>=0,L=I?"width":"height",H=ot(e,{placement:q,boundary:b,rootBoundary:m,altBoundary:y,padding:p}),z=I?W?u:f:W?a:s;S[L]>M[L]&&(z=N(z));var D=N(z),_=[];if(o&&_.push(H[B]<=0),h&&_.push(H[z]<=0,H[D]<=0),_.every((function(t){return t}))){R=q,P=!1;break}T.set(q,_)}if(P)for(var F=function(t){var e=C.find((function(e){var n=T.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return R=e,"break"},V=w?3:1;V>0&&"break"!==F(V);V--);e.placement!==R&&(e.modifiersData[i]._skip=!0,e.placement=R,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ut(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ft(t){return[s,u,a,f].some((function(e){return t[e]>=0}))}function ct(t,e,n){void 0===n&&(n=!1);var i,r,o=O(e),s=O(e)&&function(t){var e=t.getBoundingClientRect(),n=S(e.width)/t.offsetWidth||1,i=S(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),a=W(e),u=P(t,s,n),f={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!n)&&(("body"!==g(e)||Z(a))&&(f=(i=e)!==w(i)&&O(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:X(i)),O(e)?((c=P(e,!0)).x+=e.clientLeft,c.y+=e.clientTop):a&&(c.x=Y(a))),{x:u.left+f.scrollLeft-c.x,y:u.top+f.scrollTop-c.y,width:u.width,height:u.height}}function dt(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}var lt={placement:"bottom",modifiers:[],strategy:"absolute"};function ht(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function vt(t){void 0===t&&(t={});var e=t.defaultModifiers,n=void 0===e?[]:e,i=t.defaultOptions,r=void 0===i?lt:i;return function(t,e,i){void 0===i&&(i=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},lt,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},u=[],f=!1,c={state:a,setOptions:function(i){var o="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:x(t)?et(t):t.contextElement?et(t.contextElement):[],popper:et(e)};var s,f,l=function(t){var e=dt(t);return y.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((s=[].concat(n,a.options.modifiers),f=s.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(f).map((function(t){return f[t]}))));return a.orderedModifiers=l.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.options,n=t.effect;if("function"==typeof n){var i=n({state:a,name:t.name,instance:c,options:void 0===e?{}:e});u.push(i||function(){})}})),c.update()},forceUpdate:function(){if(!f){var t=a.elements,e=t.reference,n=t.popper;if(ht(e,n)){a.rects={reference:ct(e,H(n),"fixed"===a.options.strategy),popper:R(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var r=a.orderedModifiers[i],o=r.fn,s=r.options;"function"==typeof o&&(a=o({state:a,options:void 0===s?{}:s,name:r.name,instance:c})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(t){c.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){d(),f=!0}};if(!ht(t,e))return c;function d(){u.forEach((function(t){return t()})),u=[]}return c.setOptions(i).then((function(t){!f&&i.onFirstUpdate&&i.onFirstUpdate(t)})),c}}var pt=vt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,u=w(e.elements.popper),f=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&f.forEach((function(t){t.addEventListener("scroll",n.update,G)})),a&&u.addEventListener("resize",n.update,G),function(){o&&f.forEach((function(t){t.removeEventListener("scroll",n.update,G)})),a&&u.removeEventListener("resize",n.update,G)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=rt({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,u=void 0===a||a,f={placement:k(e.placement),variation:U(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,$(Object.assign({},f,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,$(Object.assign({},f,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];O(r)&&g(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});O(i)&&g(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.name,i=t.options.offset,r=void 0===i?[0,0]:i,o=m.reduce((function(t,n){return t[n]=function(t,e,n){var i=k(t),r=[f,s].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],c=o[1];return a=a||0,c=(c||0)*r,[f,u].indexOf(i)>=0?{x:c,y:a}:{x:a,y:c}}(n,e.rects,r),t}),{}),a=o[e.placement],c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a.x,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=o}},at,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,c=n.altAxis,d=void 0!==c&&c,h=n.tether,v=void 0===h||h,p=n.tetherOffset,b=void 0===p?0:p,m=ot(e,{boundary:n.boundary,rootBoundary:n.rootBoundary,padding:n.padding,altBoundary:n.altBoundary}),y=k(e.placement),g=U(e.placement),w=!g,x=z(y),O="x"===x?"y":"x",j=e.modifiersData.popperOffsets,S=e.rects.reference,M=e.rects.popper,T="function"==typeof b?b(Object.assign({},e.rects,{placement:e.placement})):b,P="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),A=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,q={x:0,y:0};if(j){if(o){var B,W="y"===x?s:f,I="y"===x?a:u,L="y"===x?"height":"width",_=j[x],F=_+m[W],V=_-m[I],$=v?-M[L]/2:0,G=g===l?S[L]:M[L],K=g===l?-M[L]:-S[L],N=e.elements.arrow,J=v&&N?R(N):{width:0,height:0},Q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[W],Y=Q[I],Z=D(0,S[L],J[L]),tt=w?S[L]/2-$-Z-X-P.mainAxis:G-Z-X-P.mainAxis,et=w?-S[L]/2+$+Z+Y+P.mainAxis:K+Z+Y+P.mainAxis,nt=e.elements.arrow&&H(e.elements.arrow),it=null!=(B=null==A?void 0:A[x])?B:0,rt=_+et-it,st=D(v?C(F,_+tt-it-(nt?"y"===x?nt.clientTop||0:nt.clientLeft||0:0)):F,_,v?E(V,rt):V);j[x]=st,q[x]=st-_}if(d){var at,ut=j[O],ft="y"===O?"height":"width",ct=ut+m["x"===x?s:f],dt=ut-m["x"===x?a:u],lt=-1!==[s,f].indexOf(y),ht=null!=(at=null==A?void 0:A[O])?at:0,vt=lt?ct:ut-S[ft]-M[ft]-ht+P.altAxis,pt=lt?ut+S[ft]+M[ft]-ht-P.altAxis:dt,bt=v&<?function(t,e,n){var i=D(t,e,n);return i>n?n:i}(vt,ut,pt):D(v?vt:ct,ut,v?pt:dt);j[O]=bt,q[O]=bt-ut}e.modifiersData[i]=q}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,c=n.modifiersData.popperOffsets,l=k(n.placement),h=z(l),v=[f,u].indexOf(l)>=0?"height":"width";if(o&&c){var p=function(t,e){return _("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:F(t,d))}(r.padding,n),b=R(o),m="y"===h?s:f,y="y"===h?a:u,g=n.rects.reference[v]+n.rects.reference[h]-c[h]-n.rects.popper[v],w=c[h]-n.rects.reference[h],x=H(o),O=x?"y"===h?x.clientHeight||0:x.clientWidth||0:0,j=O/2-b[v]/2+(g/2-w/2),E=D(p[m],j,O-b[v]-p[y]);n.modifiersData[i]=((e={})[h]=E,e.centerOffset=E-j,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&A(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,s=ot(e,{elementContext:"reference"}),a=ot(e,{altBoundary:!0}),u=ut(s,i),f=ut(a,r,o),c=ft(u),d=ft(f);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:f,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});const bt=class{constructor(n){t(this,n),this.internalTdsShow=e(this,"internalTdsShow",4),this.internalTdsClose=e(this,"internalTdsClose",0),this.defaultShow=!1,this.animation="none",this.show=null,this.placement="auto",this.offsetSkidding=0,this.offsetDistance=8,this.modifiers=[],this.trigger="click",this.autoHide=!0,this.renderedShowValue=!1,this.popperInstance=null,this.isShown=!1,this.disableLogic=!1,this.hasShownAtLeastOnce=!1,this.openedByKeyboard=!1,this.uuid=o(),this.setIsShown=t=>{this.isShown="function"==typeof t?t(this.isShown):t,this.isShown?(this.hasShownAtLeastOnce=!0,this.internalTdsShow.emit()):(this.internalTdsClose.emit(),this.openedByKeyboard=!1)},this.onClickTarget=t=>{t.stopPropagation(),this.openedByKeyboard="keydown"===t.type||"Enter"===t.key||" "===t.key,this.setIsShown((t=>!t))},this.handleShow=t=>{t.stopPropagation(),this.openedByKeyboard="focusin"===t.type,this.setIsShown(!0)},this.handleHide=t=>{t.stopPropagation(),this.setIsShown(!1)}}async close(){this.setIsShown(!1)}onAnyClick(t){"click"===this.trigger&&this.isShown&&null===this.show&&!t.composedPath().includes(this.host)&&this.setIsShown(!1)}onTdsShow(t){null===this.show&&t.target.id!==`tds-popover-core-${this.uuid}`&&this.setIsShown(!1)}handleKeydown(t){"Escape"===t.key&&this.isShown&&this.setIsShown(!1)}onShowChange(t){this.setIsShown(t)}onReferenceElChanged(t,e){t!==e&&this.initialize({referenceEl:t,trigger:this.trigger})}onTriggerChanged(t){this.initialize({referenceEl:this.referenceEl,trigger:t})}onIsShownChange(t){t&&this.openedByKeyboard&&setTimeout((()=>{this.focusFirstElement()}),0)}focusFirstElement(){const t=this.host.querySelectorAll('a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])');t.length>0?t[0].focus():(this.host.setAttribute("tabindex","0"),this.host.focus())}initialize({referenceEl:t,trigger:e}){var n,i,r,o,s,a;this.cleanUp(),this.target=void 0!==t?t:this.selector?document.querySelector(this.selector):null,this.popperInstance=this.target?pt(this.target,this.host,{strategy:"fixed",placement:this.placement,modifiers:[{name:"offset",options:{offset:[this.offsetSkidding,this.offsetDistance]}},...this.modifiers]}):null,this.popperInstance||console.error("Could not initialize: reference element not found."),"click"===e&&null===this.show&&(null===(n=this.target)||void 0===n||n.addEventListener("click",this.onClickTarget),null===(i=this.target)||void 0===i||i.addEventListener("keydown",(t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.openedByKeyboard=!0,this.onClickTarget(t))}))),"hover"!==e&&"hover-popover"!==e||(null===(r=this.target)||void 0===r||r.addEventListener("focusin",this.handleShow),null===(o=this.target)||void 0===o||o.addEventListener("focusout",this.handleHide),null===(s=this.target)||void 0===s||s.addEventListener("mouseenter",this.handleShow),null===(a=this.target)||void 0===a||a.addEventListener("mouseleave",this.handleHide),"hover-popover"===e&&(this.host.addEventListener("mouseenter",this.handleShow),this.host.addEventListener("mouseleave",this.handleHide)))}cleanUp(){var t,e,n,i,r,o,s,a,u;null===(t=this.target)||void 0===t||t.removeEventListener("click",this.onClickTarget),null===(e=this.target)||void 0===e||e.removeEventListener("keydown",this.onClickTarget),null===(n=this.target)||void 0===n||n.removeEventListener("focusin",this.handleShow),null===(i=this.target)||void 0===i||i.removeEventListener("focusout",this.handleHide),null===(r=this.target)||void 0===r||r.removeEventListener("mouseenter",this.handleShow),null===(o=this.target)||void 0===o||o.removeEventListener("mouseleave",this.handleHide),null===(s=this.host)||void 0===s||s.removeEventListener("mouseenter",this.handleShow),null===(a=this.host)||void 0===a||a.removeEventListener("mouseleave",this.handleHide),null===(u=this.popperInstance)||void 0===u||u.destroy()}connectedCallback(){if(void 0===this.selector&&void 0===this.referenceEl)return this.disableLogic=!0,void console.warn("TDS-POPOVER-CORE: Popover internal logic disabled. Please provide a `selector` or `referenceEl` prop");this.initialize({referenceEl:this.referenceEl,trigger:this.trigger})}componentWillLoad(){this.setIsShown(!0===this.show||!0===this.defaultShow)}componentDidRender(){var t;!this.isShown||this.renderedShowValue||this.disableLogic||null===(t=this.popperInstance)||void 0===t||t.update(),this.renderedShowValue=this.isShown}disconnectedCallback(){this.cleanUp()}render(){const t=(e={"is-shown":this.isShown&&"none"===this.animation||void 0===this.animation,"is-hidden":!this.isShown&&"none"===this.animation||void 0===this.animation,"initially-hidden":!this.hasShownAtLeastOnce,"tds-animation-enter-fade":this.isShown&&"fade"===this.animation,"tds-animation-exit-fade":!this.isShown&&"fade"===this.animation},Object.keys(e).filter((t=>e[t])).join(" "));var e;return n(i,{key:"24f0a1d31e1dd556cf3552f3c7a6ede8ce35dfc2",role:this.host.getAttribute("role"),class:t,id:`tds-popover-core-${this.uuid}`},n("slot",{key:"3e8df41cea7f8ed636974571bd1d5e8cbd802732"}))}get host(){return r(this)}static get watchers(){return{show:[{onShowChange:0}],referenceEl:[{onReferenceElChanged:0}],trigger:[{onTriggerChanged:0}],isShown:[{onIsShownChange:0}]}}};bt.style=".sc-tds-popover-core-h{pointer-events:none;display:block}.tds-animation-enter-fade.sc-tds-popover-core-h{animation:tds-fade-in var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-enter) forwards}.tds-animation-exit-fade.sc-tds-popover-core-h{animation:tds-fade-out var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-exit) forwards}.is-shown.sc-tds-popover-core-h{opacity:1;pointer-events:auto;visibility:visible}.is-hidden.sc-tds-popover-core-h{opacity:0;pointer-events:none;visibility:hidden}.initially-hidden.sc-tds-popover-core-h{opacity:0;pointer-events:none;visibility:hidden}";export{bt as tds_popover_core}
|
|
1
|
+
import{r as t,c as e,h as n,H as i,a as r}from"./p-BdzyrAx0.js";import{g as o}from"./p-Cn4f8w1e.js";var s="top",a="bottom",u="right",f="left",c="auto",d=[s,a,u,f],l="start",h="end",v="viewport",p="popper",b=d.reduce((function(t,e){return t.concat([e+"-"+l,e+"-"+h])}),[]),m=[].concat(d,[c]).reduce((function(t,e){return t.concat([e,e+"-"+l,e+"-"+h])}),[]),y=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function g(t){return t?(t.nodeName||"").toLowerCase():null}function w(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function x(t){return t instanceof w(t).Element||t instanceof Element}function O(t){return t instanceof w(t).HTMLElement||t instanceof HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof w(t).ShadowRoot||t instanceof ShadowRoot)}function k(t){return t.split("-")[0]}var E=Math.max,C=Math.min,S=Math.round;function M(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function T(){return!/^((?!chrome|android).)*safari/i.test(M())}function P(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),r=1,o=1;e&&O(t)&&(r=t.offsetWidth>0&&S(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&S(i.height)/t.offsetHeight||1);var s=(x(t)?w(t):window).visualViewport,a=!T()&&n,u=(i.left+(a&&s?s.offsetLeft:0))/r,f=(i.top+(a&&s?s.offsetTop:0))/o,c=i.width/r,d=i.height/o;return{width:c,height:d,top:f,right:u+c,bottom:f+d,left:u,x:u,y:f}}function R(t){var e=P(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function A(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&j(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function B(t){return w(t).getComputedStyle(t)}function q(t){return["table","td","th"].indexOf(g(t))>=0}function W(t){return((x(t)?t.ownerDocument:t.document)||window.document).documentElement}function I(t){return"html"===g(t)?t:t.assignedSlot||t.parentNode||(j(t)?t.host:null)||W(t)}function L(t){return O(t)&&"fixed"!==B(t).position?t.offsetParent:null}function z(t){for(var e=w(t),n=L(t);n&&q(n)&&"static"===B(n).position;)n=L(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===B(n).position)?e:n||function(t){var e=/firefox/i.test(M());if(/Trident/i.test(M())&&O(t)&&"fixed"===B(t).position)return null;var n=I(t);for(j(n)&&(n=n.host);O(n)&&["html","body"].indexOf(g(n))<0;){var i=B(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function H(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function D(t,e,n){return E(t,C(e,n))}function _(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function F(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function U(t){return t.split("-")[1]}var V={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,c=t.offsets,d=t.position,l=t.gpuAcceleration,v=t.adaptive,p=t.roundOffsets,b=t.isFixed,m=c.x,y=void 0===m?0:m,g=c.y,x=void 0===g?0:g,O="function"==typeof p?p({x:y,y:x}):{x:y,y:x};y=O.x,x=O.y;var j=c.hasOwnProperty("x"),k=c.hasOwnProperty("y"),E=f,C=s,M=window;if(v){var T=z(n),P="clientHeight",R="clientWidth";T===w(n)&&"static"!==B(T=W(n)).position&&"absolute"===d&&(P="scrollHeight",R="scrollWidth"),(r===s||(r===f||r===u)&&o===h)&&(C=a,x-=(b&&T===M&&M.visualViewport?M.visualViewport.height:T[P])-i.height,x*=l?1:-1),r!==f&&(r!==s&&r!==a||o!==h)||(E=u,y-=(b&&T===M&&M.visualViewport?M.visualViewport.width:T[R])-i.width,y*=l?1:-1)}var A,q=Object.assign({position:d},v&&V),I=!0===p?function(t,e){var n=t.y,i=e.devicePixelRatio||1;return{x:S(t.x*i)/i||0,y:S(n*i)/i||0}}({x:y,y:x},w(n)):{x:y,y:x};return y=I.x,x=I.y,Object.assign({},q,l?((A={})[C]=k?"0":"",A[E]=j?"0":"",A.transform=(M.devicePixelRatio||1)<=1?"translate("+y+"px, "+x+"px)":"translate3d("+y+"px, "+x+"px, 0)",A):((e={})[C]=k?x+"px":"",e[E]=j?y+"px":"",e.transform="",e))}var K={passive:!0},G={left:"right",right:"left",bottom:"top",top:"bottom"};function J(t){return t.replace(/left|right|bottom|top/g,(function(t){return G[t]}))}var N={start:"end",end:"start"};function Q(t){return t.replace(/start|end/g,(function(t){return N[t]}))}function X(t){var e=w(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Y(t){return P(W(t)).left+X(t).scrollLeft}function Z(t){var e=B(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function tt(t){return["html","body","#document"].indexOf(g(t))>=0?t.ownerDocument.body:O(t)&&Z(t)?t:tt(I(t))}function et(t,e){var n;void 0===e&&(e=[]);var i=tt(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=w(i),s=r?[o].concat(o.visualViewport||[],Z(i)?i:[]):i,a=e.concat(s);return r?a:a.concat(et(I(s)))}function nt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function it(t,e,n){return e===v?nt(function(t,e){var n=w(t),i=W(t),r=n.visualViewport,o=i.clientWidth,s=i.clientHeight,a=0,u=0;if(r){o=r.width,s=r.height;var f=T();(f||!f&&"fixed"===e)&&(a=r.offsetLeft,u=r.offsetTop)}return{width:o,height:s,x:a+Y(t),y:u}}(t,n)):x(e)?function(t,e){var n=P(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):nt(function(t){var e,n=W(t),i=X(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=E(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=E(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+Y(t),u=-i.scrollTop;return"rtl"===B(r||n).direction&&(a+=E(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:u}}(W(t)))}function rt(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?k(r):null,c=r?U(r):null,d=n.x+n.width/2-i.width/2,v=n.y+n.height/2-i.height/2;switch(o){case s:e={x:d,y:n.y-i.height};break;case a:e={x:d,y:n.y+n.height};break;case u:e={x:n.x+n.width,y:v};break;case f:e={x:n.x-i.width,y:v};break;default:e={x:n.x,y:n.y}}var p=o?H(o):null;if(null!=p){var b="y"===p?"height":"width";switch(c){case l:e[p]=e[p]-(n[b]/2-i[b]/2);break;case h:e[p]=e[p]+(n[b]/2-i[b]/2)}}return e}function ot(t,e){void 0===e&&(e={});var n=e.placement,i=void 0===n?t.placement:n,r=e.strategy,o=void 0===r?t.strategy:r,f=e.boundary,c=void 0===f?"clippingParents":f,l=e.rootBoundary,h=void 0===l?v:l,b=e.elementContext,m=void 0===b?p:b,y=e.altBoundary,w=void 0!==y&&y,j=e.padding,k=void 0===j?0:j,S=_("number"!=typeof k?k:F(k,d)),M=t.rects.popper,T=t.elements[w?m===p?"reference":p:m],R=function(t,e,n,i){var r="clippingParents"===e?function(t){var e=et(I(t)),n=["absolute","fixed"].indexOf(B(t).position)>=0&&O(t)?z(t):t;return x(n)?e.filter((function(t){return x(t)&&A(t,n)&&"body"!==g(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),s=o.reduce((function(e,n){var r=it(t,n,i);return e.top=E(r.top,e.top),e.right=C(r.right,e.right),e.bottom=C(r.bottom,e.bottom),e.left=E(r.left,e.left),e}),it(t,o[0],i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(x(T)?T:T.contextElement||W(t.elements.popper),c,h,o),q=P(t.elements.reference),L=rt({reference:q,element:M,placement:i}),H=nt(Object.assign({},M,L)),D=m===p?H:q,U={top:R.top-D.top+S.top,bottom:D.bottom-R.bottom+S.bottom,left:R.left-D.left+S.left,right:D.right-R.right+S.right},V=t.modifiersData.offset;if(m===p&&V){var $=V[i];Object.keys(U).forEach((function(t){var e=[u,a].indexOf(t)>=0?1:-1,n=[s,a].indexOf(t)>=0?"y":"x";U[t]+=$[n]*e}))}return U}function st(t,e){void 0===e&&(e={});var n=e.boundary,i=e.rootBoundary,r=e.padding,o=e.flipVariations,s=e.allowedAutoPlacements,a=void 0===s?m:s,u=U(e.placement),f=u?o?b:b.filter((function(t){return U(t)===u})):d,c=f.filter((function(t){return a.indexOf(t)>=0}));0===c.length&&(c=f);var l=c.reduce((function(e,o){return e[o]=ot(t,{placement:o,boundary:n,rootBoundary:i,padding:r})[k(o)],e}),{});return Object.keys(l).sort((function(t,e){return l[t]-l[e]}))}var at={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,d=n.altAxis,h=void 0===d||d,v=n.fallbackPlacements,p=n.padding,b=n.boundary,m=n.rootBoundary,y=n.altBoundary,g=n.flipVariations,w=void 0===g||g,x=n.allowedAutoPlacements,O=e.options.placement,j=k(O),E=v||(j!==O&&w?function(t){if(k(t)===c)return[];var e=J(t);return[Q(t),e,Q(e)]}(O):[J(O)]),C=[O].concat(E).reduce((function(t,n){return t.concat(k(n)===c?st(e,{placement:n,boundary:b,rootBoundary:m,padding:p,flipVariations:w,allowedAutoPlacements:x}):n)}),[]),S=e.rects.reference,M=e.rects.popper,T=new Map,P=!0,R=C[0],A=0;A<C.length;A++){var B=C[A],q=k(B),W=U(B)===l,I=[s,a].indexOf(q)>=0,L=I?"width":"height",z=ot(e,{placement:B,boundary:b,rootBoundary:m,altBoundary:y,padding:p}),H=I?W?u:f:W?a:s;S[L]>M[L]&&(H=J(H));var D=J(H),_=[];if(o&&_.push(z[q]<=0),h&&_.push(z[H]<=0,z[D]<=0),_.every((function(t){return t}))){R=B,P=!1;break}T.set(B,_)}if(P)for(var F=function(t){var e=C.find((function(e){var n=T.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return R=e,"break"},V=w?3:1;V>0&&"break"!==F(V);V--);e.placement!==R&&(e.modifiersData[i]._skip=!0,e.placement=R,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ut(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ft(t){return[s,u,a,f].some((function(e){return t[e]>=0}))}function ct(t,e,n){void 0===n&&(n=!1);var i,r,o=O(e),s=O(e)&&function(t){var e=t.getBoundingClientRect(),n=S(e.width)/t.offsetWidth||1,i=S(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),a=W(e),u=P(t,s,n),f={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!n)&&(("body"!==g(e)||Z(a))&&(f=(i=e)!==w(i)&&O(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:X(i)),O(e)?((c=P(e,!0)).x+=e.clientLeft,c.y+=e.clientTop):a&&(c.x=Y(a))),{x:u.left+f.scrollLeft-c.x,y:u.top+f.scrollTop-c.y,width:u.width,height:u.height}}function dt(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}var lt={placement:"bottom",modifiers:[],strategy:"absolute"};function ht(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function vt(t){void 0===t&&(t={});var e=t.defaultModifiers,n=void 0===e?[]:e,i=t.defaultOptions,r=void 0===i?lt:i;return function(t,e,i){void 0===i&&(i=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},lt,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},u=[],f=!1,c={state:a,setOptions:function(i){var o="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:x(t)?et(t):t.contextElement?et(t.contextElement):[],popper:et(e)};var s,f,l=function(t){var e=dt(t);return y.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((s=[].concat(n,a.options.modifiers),f=s.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(f).map((function(t){return f[t]}))));return a.orderedModifiers=l.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.options,n=t.effect;if("function"==typeof n){var i=n({state:a,name:t.name,instance:c,options:void 0===e?{}:e});u.push(i||function(){})}})),c.update()},forceUpdate:function(){if(!f){var t=a.elements,e=t.reference,n=t.popper;if(ht(e,n)){a.rects={reference:ct(e,z(n),"fixed"===a.options.strategy),popper:R(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var r=a.orderedModifiers[i],o=r.fn,s=r.options;"function"==typeof o&&(a=o({state:a,options:void 0===s?{}:s,name:r.name,instance:c})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(t){c.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){d(),f=!0}};if(!ht(t,e))return c;function d(){u.forEach((function(t){return t()})),u=[]}return c.setOptions(i).then((function(t){!f&&i.onFirstUpdate&&i.onFirstUpdate(t)})),c}}var pt=vt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,u=w(e.elements.popper),f=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&f.forEach((function(t){t.addEventListener("scroll",n.update,K)})),a&&u.addEventListener("resize",n.update,K),function(){o&&f.forEach((function(t){t.removeEventListener("scroll",n.update,K)})),a&&u.removeEventListener("resize",n.update,K)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=rt({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,u=void 0===a||a,f={placement:k(e.placement),variation:U(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,$(Object.assign({},f,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,$(Object.assign({},f,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];O(r)&&g(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});O(i)&&g(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.name,i=t.options.offset,r=void 0===i?[0,0]:i,o=m.reduce((function(t,n){return t[n]=function(t,e,n){var i=k(t),r=[f,s].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],c=o[1];return a=a||0,c=(c||0)*r,[f,u].indexOf(i)>=0?{x:c,y:a}:{x:a,y:c}}(n,e.rects,r),t}),{}),a=o[e.placement],c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a.x,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=o}},at,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,c=n.altAxis,d=void 0!==c&&c,h=n.tether,v=void 0===h||h,p=n.tetherOffset,b=void 0===p?0:p,m=ot(e,{boundary:n.boundary,rootBoundary:n.rootBoundary,padding:n.padding,altBoundary:n.altBoundary}),y=k(e.placement),g=U(e.placement),w=!g,x=H(y),O="x"===x?"y":"x",j=e.modifiersData.popperOffsets,S=e.rects.reference,M=e.rects.popper,T="function"==typeof b?b(Object.assign({},e.rects,{placement:e.placement})):b,P="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),A=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,B={x:0,y:0};if(j){if(o){var q,W="y"===x?s:f,I="y"===x?a:u,L="y"===x?"height":"width",_=j[x],F=_+m[W],V=_-m[I],$=v?-M[L]/2:0,K=g===l?S[L]:M[L],G=g===l?-M[L]:-S[L],J=e.elements.arrow,N=v&&J?R(J):{width:0,height:0},Q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[W],Y=Q[I],Z=D(0,S[L],N[L]),tt=w?S[L]/2-$-Z-X-P.mainAxis:K-Z-X-P.mainAxis,et=w?-S[L]/2+$+Z+Y+P.mainAxis:G+Z+Y+P.mainAxis,nt=e.elements.arrow&&z(e.elements.arrow),it=null!=(q=null==A?void 0:A[x])?q:0,rt=_+et-it,st=D(v?C(F,_+tt-it-(nt?"y"===x?nt.clientTop||0:nt.clientLeft||0:0)):F,_,v?E(V,rt):V);j[x]=st,B[x]=st-_}if(d){var at,ut=j[O],ft="y"===O?"height":"width",ct=ut+m["x"===x?s:f],dt=ut-m["x"===x?a:u],lt=-1!==[s,f].indexOf(y),ht=null!=(at=null==A?void 0:A[O])?at:0,vt=lt?ct:ut-S[ft]-M[ft]-ht+P.altAxis,pt=lt?ut+S[ft]+M[ft]-ht-P.altAxis:dt,bt=v&<?function(t,e,n){var i=D(t,e,n);return i>n?n:i}(vt,ut,pt):D(v?vt:ct,ut,v?pt:dt);j[O]=bt,B[O]=bt-ut}e.modifiersData[i]=B}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,c=n.modifiersData.popperOffsets,l=k(n.placement),h=H(l),v=[f,u].indexOf(l)>=0?"height":"width";if(o&&c){var p=function(t,e){return _("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:F(t,d))}(r.padding,n),b=R(o),m="y"===h?s:f,y="y"===h?a:u,g=n.rects.reference[v]+n.rects.reference[h]-c[h]-n.rects.popper[v],w=c[h]-n.rects.reference[h],x=z(o),O=x?"y"===h?x.clientHeight||0:x.clientWidth||0:0,j=O/2-b[v]/2+(g/2-w/2),E=D(p[m],j,O-b[v]-p[y]);n.modifiersData[i]=((e={})[h]=E,e.centerOffset=E-j,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&A(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,s=ot(e,{elementContext:"reference"}),a=ot(e,{altBoundary:!0}),u=ut(s,i),f=ut(a,r,o),c=ft(u),d=ft(f);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:f,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});const bt=class{constructor(n){t(this,n),this.internalTdsShow=e(this,"internalTdsShow",4),this.internalTdsClose=e(this,"internalTdsClose",0),this.defaultShow=!1,this.animation="none",this.show=null,this.placement="auto",this.offsetSkidding=0,this.offsetDistance=8,this.modifiers=[],this.trigger="click",this.autoHide=!0,this.renderedShowValue=!1,this.popperInstance=null,this.isShown=!1,this.disableLogic=!1,this.hasShownAtLeastOnce=!1,this.openedByKeyboard=!1,this.uuid=o(),this.setIsShown=t=>{this.isShown="function"==typeof t?t(this.isShown):t,this.isShown?(this.hasShownAtLeastOnce=!0,this.internalTdsShow.emit()):(this.internalTdsClose.emit(),this.openedByKeyboard=!1)},this.onClickTarget=t=>{t.stopPropagation(),this.openedByKeyboard="keydown"===t.type||"Enter"===t.key||" "===t.key,this.setIsShown((t=>!t))},this.handleShow=t=>{t.stopPropagation(),this.openedByKeyboard="focusin"===t.type,this.setIsShown(!0)},this.handleHide=t=>{t.stopPropagation(),this.setIsShown(!1)}}async close(){this.setIsShown(!1)}onAnyClick(t){"click"===this.trigger&&this.isShown&&null===this.show&&!t.composedPath().includes(this.host)&&this.setIsShown(!1)}onTdsShow(t){null===this.show&&t.target.id!==`tds-popover-core-${this.uuid}`&&this.setIsShown(!1)}handleKeydown(t){"Escape"===t.key&&this.isShown&&this.setIsShown(!1)}onShowChange(t){this.setIsShown(t)}onReferenceElChanged(t,e){t!==e&&this.initialize({referenceEl:t,trigger:this.trigger})}onTriggerChanged(t){this.initialize({referenceEl:this.referenceEl,trigger:t})}onIsShownChange(t){t&&this.openedByKeyboard&&setTimeout((()=>{this.focusFirstElement()}),0)}focusFirstElement(){const t=this.host.querySelectorAll('a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])');t.length>0?t[0].focus():(this.host.setAttribute("tabindex","0"),this.host.focus())}initialize({referenceEl:t,trigger:e}){var n,i,r,o,s,a;this.cleanUp(),this.target=void 0!==t?t:this.selector?document.querySelector(this.selector):null,this.popperInstance=this.target?pt(this.target,this.host,{strategy:"fixed",placement:this.placement,modifiers:[{name:"offset",options:{offset:[this.offsetSkidding,this.offsetDistance]}},...this.modifiers]}):null,this.popperInstance||console.error("Could not initialize: reference element not found."),"click"===e&&null===this.show&&(null===(n=this.target)||void 0===n||n.addEventListener("click",this.onClickTarget),null===(i=this.target)||void 0===i||i.addEventListener("keydown",(t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.openedByKeyboard=!0,this.onClickTarget(t))}))),"hover"!==e&&"hover-popover"!==e||(null===(r=this.target)||void 0===r||r.addEventListener("focusin",this.handleShow),null===(o=this.target)||void 0===o||o.addEventListener("focusout",this.handleHide),null===(s=this.target)||void 0===s||s.addEventListener("mouseenter",this.handleShow),null===(a=this.target)||void 0===a||a.addEventListener("mouseleave",this.handleHide),"hover-popover"===e&&(this.host.addEventListener("mouseenter",this.handleShow),this.host.addEventListener("mouseleave",this.handleHide)))}cleanUp(){var t,e,n,i,r,o,s,a,u;null===(t=this.target)||void 0===t||t.removeEventListener("click",this.onClickTarget),null===(e=this.target)||void 0===e||e.removeEventListener("keydown",this.onClickTarget),null===(n=this.target)||void 0===n||n.removeEventListener("focusin",this.handleShow),null===(i=this.target)||void 0===i||i.removeEventListener("focusout",this.handleHide),null===(r=this.target)||void 0===r||r.removeEventListener("mouseenter",this.handleShow),null===(o=this.target)||void 0===o||o.removeEventListener("mouseleave",this.handleHide),null===(s=this.host)||void 0===s||s.removeEventListener("mouseenter",this.handleShow),null===(a=this.host)||void 0===a||a.removeEventListener("mouseleave",this.handleHide),null===(u=this.popperInstance)||void 0===u||u.destroy()}connectedCallback(){if(void 0===this.selector&&void 0===this.referenceEl)return this.disableLogic=!0,void console.warn("TDS-POPOVER-CORE: Popover internal logic disabled. Please provide a `selector` or `referenceEl` prop");this.initialize({referenceEl:this.referenceEl,trigger:this.trigger})}componentWillLoad(){this.setIsShown(!0===this.show||!0===this.defaultShow)}componentDidRender(){var t;!this.isShown||this.renderedShowValue||this.disableLogic||null===(t=this.popperInstance)||void 0===t||t.update(),this.renderedShowValue=this.isShown}disconnectedCallback(){this.cleanUp()}render(){const t=(e={"is-shown":this.isShown&&"none"===this.animation||void 0===this.animation,"is-hidden":!this.isShown&&"none"===this.animation||void 0===this.animation,"initially-hidden":!this.hasShownAtLeastOnce,"tds-animation-enter-fade":this.isShown&&"fade"===this.animation,"tds-animation-exit-fade":!this.isShown&&"fade"===this.animation},Object.keys(e).filter((t=>e[t])).join(" "));var e;return n(i,{key:"fdf71a3d32da460b0361bac28483955805e448db",role:this.host.getAttribute("role"),class:t,id:`tds-popover-core-${this.uuid}`},n("slot",{key:"d2b28bcc7f618edcf5c6acac39806b24e31538b0"}))}get host(){return r(this)}static get watchers(){return{show:[{onShowChange:0}],referenceEl:[{onReferenceElChanged:0}],trigger:[{onTriggerChanged:0}],isShown:[{onIsShownChange:0}]}}};bt.style=".sc-tds-popover-core-h{pointer-events:none;display:block}.tds-animation-enter-fade.sc-tds-popover-core-h{animation:tds-fade-in var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-enter) forwards}.tds-animation-exit-fade.sc-tds-popover-core-h{animation:tds-fade-out var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-exit) forwards}.is-shown.sc-tds-popover-core-h{opacity:1;pointer-events:auto;visibility:visible}.is-hidden.sc-tds-popover-core-h{opacity:0;pointer-events:none;visibility:hidden}.initially-hidden.sc-tds-popover-core-h{opacity:0;pointer-events:none;visibility:hidden}";export{bt as tds_popover_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o,H as a,a as e}from"./p-
|
|
1
|
+
import{r as t,h as o,H as a,a as e}from"./p-BdzyrAx0.js";import{h as d}from"./p-DDX6uFcm.js";const s=class{constructor(o){t(this,o),this.modeVariant=null,this.copyrightText=`Copyright © ${(new Date).getFullYear()} Scania`}render(){const t=d("top",this.host),e=d("start",this.host),s=d("end",this.host),i=d("copyright",this.host);return o(a,{key:"45c3eab02748591e5751d4c23d6dcc9ca7541aca",class:{[`tds-mode-variant-${this.modeVariant}`]:null!==this.modeVariant}},o("footer",{key:"a5c338868f8201014d0f1eaecf4db3b5552c6a8d"},t&&o("slot",{key:"07257d9529a6af504715b69d33741052614a1737",name:"top"}),o("div",{key:"a1f11fbceefb0442cd61858f0ca8ed5a7c0aeb81",class:"footer-main"},(e||s)&&o("div",{key:"dd8bff6c7f4171a7c9d46d7f5dabcf2a31697dc7",class:"footer-main-top"},e&&o("slot",{key:"39f28defd591fbb6863d86225fca3cff09ec94cb",name:"start"}),s&&o("slot",{key:"344bd6c80538d46a22b5d10f09e5cf4633019ef9",name:"end"})),o("div",{key:"8896f0f1c3031b98b1d1b1d2cedd2cb35e003dff",class:"footer-main-bottom"},o("small",{key:"972571431d7ebeb07eaab043d970528c352df32d",class:"copyright"},i?o("slot",{name:"copyright"}):this.copyrightText),o("div",{key:"5b93f4ab6f07dd3bdb4cd05429b729426e11c103",class:"brand"},o("p",{key:"9537baabeba256b7774af6f3e135ecdc127a8993"},"Scania"))))))}get host(){return e(this)}};s.style=":host{display:block}:host slot[name=top]::slotted(*){box-sizing:border-box;background-color:var(--tds-footer-top-background);padding:40px;display:grid;grid-template-columns:repeat(4, 1fr);row-gap:40px;width:100%}:host .footer-main{background-color:var(--tds-footer-main-background);padding:0 40px}:host .footer-main-top{padding:40px 0;display:flex;justify-content:space-between}:host slot[name=start],:host slot[name=end]{display:flex}:host slot[name=start]::slotted(*),:host slot[name=end]::slotted(*){display:flex;column-gap:24px}:host slot[name=end]{margin-left:auto}:host .footer-main-bottom{padding:40px 0;display:flex;justify-content:space-between;border-top:1px solid var(--tds-footer-main-divider)}:host .footer-main-bottom small.copyright{margin:0;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-footer-main-copyright)}:host .footer-main-bottom .brand{background-image:var(--tds-background-image-scania-wordmark-white-svg-local), var(--tds-background-image-scania-wordmark-white-svg);background-repeat:no-repeat;background-size:117px;background-position:right;width:117px;height:20px}:host .footer-main-bottom .brand p{color:transparent;padding:0;margin:0;height:100%;visibility:hidden}@media all and (max-width: 992px){:host slot[name=top]::slotted(*){display:block;width:100%;padding:0}:host .footer-main{padding:0 24px}:host .footer-main-top{flex-direction:column;row-gap:48px;padding:24px 0}:host slot[name=end]::slotted(*){flex-direction:row;gap:8px}:host slot[name=end]{margin-left:unset}:host .footer-main-bottom{flex-direction:column;padding-bottom:32px}:host .footer-main-bottom p.copyright{padding-bottom:96px}:host .footer-main-bottom .brand{width:100%}}";export{s as tds_footer}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o,a as e}from"./p-
|
|
1
|
+
import{r as t,h as o,a as e}from"./p-BdzyrAx0.js";const s=class{constructor(o){t(this,o),this.disabled=!1,this.underline=!0,this.standalone=!1}connectedCallback(){const t=this.host.querySelectorAll("a");t.length>1&&console.warn("tds-link is only intended to wrap one <a> tag");const o=t[0];o&&(this.disabled?(o.setAttribute("tabindex","-1"),o.setAttribute("aria-disabled","true")):(o.removeAttribute("tabindex"),o.removeAttribute("aria-disabled")))}render(){return o("span",{key:"b01482ab25146498fcabba8266dc3ce7b6a94b79",class:{disabled:this.disabled,"no-underline":!this.underline,standalone:this.standalone}},o("slot",{key:"af1c5a41a618246478cdc2e505699921d8fc12ae"}))}get host(){return e(this)}};s.style=":host{display:inline}:host ::slotted(*){all:unset;cursor:pointer;outline:none;color:var(--tds-link);text-decoration:underline}:host ::slotted(*:hover){color:var(--tds-link-hover);text-decoration:none}:host .no-underline ::slotted(*){text-decoration:none}:host .no-underline ::slotted(*:hover){color:var(--tds-link-hover);text-decoration:underline;text-decoration-color:var(--tds-link-hover)}:host ::slotted(*:focus-visible){color:var(--tds-link-focus);text-decoration:none;box-shadow:0 0 0 1px var(--tds-white), 0 0 0 3px var(--tds-link-focus)}:host ::slotted(*:active){color:var(--tds-link);text-decoration:underline;text-decoration-color:var(--tds-link)}:host ::slotted(*:visited){color:var(--tds-link-visited);text-decoration-color:var(--tds-link-visited)}.disabled ::slotted(*),.disabled ::slotted(*:visited){color:var(--tds-link-disabled);text-decoration-color:var(--tds-link-disabled);pointer-events:none}.standalone ::slotted(*){font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}";export{s as tds_link}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as o,H as t,a}from"./p-BdzyrAx0.js";import{i as e}from"./p-CF8bH08v.js";const i=class{constructor(o){s(this,o),this.defaultShow=!1,this.show=null,this.placement="auto",this.offsetSkidding=0,this.animation="none",this.offsetDistance=8,this.modifiers=[],this.tdsAlertDialog="dialog",this.modeVariant=null,this.inheritedAttributes={}}async close(){var s;null===(s=this.childRef)||void 0===s||s.close()}componentWillLoad(){this.inheritedAttributes=e(this.host,["style","class"])}render(){var s;return o(t,{key:"bfab646964c673386c09f964c5119348bf7fd868",class:{[`tds-mode-variant-${this.modeVariant}`]:Boolean(this.modeVariant)}},o("tds-popover-core",Object.assign({key:"503a2debd5aa19107b2e958490263fdd699d4bf0",role:this.tdsAlertDialog},this.inheritedAttributes,{class:{"tds-popover-canvas":!0,[null!==(s=this.inheritedAttributes.class)&&void 0!==s?s:""]:!0},selector:this.selector,referenceEl:this.referenceEl,show:this.show,placement:this.placement,offsetSkidding:this.offsetSkidding,offsetDistance:this.offsetDistance,modifiers:this.modifiers,trigger:"click",ref:s=>{this.childRef=s},defaultShow:this.defaultShow,animation:this.animation}),o("div",{key:"15ded176e4c3d6dc4c78a6ac4a34c2988444cace"},o("slot",{key:"8221b5be15db24110562977cf7280302ac406de3"}))))}get host(){return a(this)}};i.style=".tds-popover-canvas.sc-tds-popover-canvas{box-sizing:border-box;display:inline-block;color:var(--tds-popover-canvas-color);background-color:var(--tds-popover-canvas-background);box-shadow:var(--tds-popover-canvas-box-shadow);border-radius:4px;z-index:900}.tds-popover-canvas.sc-tds-popover-canvas *.sc-tds-popover-canvas{box-sizing:border-box}";export{i as tds_popover_canvas}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as d,h as a,H as e}from"./p-BdzyrAx0.js";import{g as s}from"./p-Cn4f8w1e.js";const r=class{constructor(a){d(this,a),this.uuid=s()}render(){return a(e,{key:"eca4ad0a5442d8f9a4fa6f2f2d8edeb582b036e1"},a("tds-header-dropdown-list",{key:"99b5360adb94d53bcfada6dae88daa3b5570ac5d",size:"lg"},a("slot",{key:"d2ddc4f12789ceff5b74ab8dbca354603358d03b"})))}};export{r as tds_header_launcher_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as o,a as s}from"./p-
|
|
1
|
+
import{r as t,h as e,H as o,a as s}from"./p-BdzyrAx0.js";import{d as n}from"./p-CLF3diNe.js";const i=class{constructor(e){t(this,e),this.selected=!1,this.active=!1,this.collapsed=!1,this.hasUserComponent=!1}findSlottedAndExecute(t,e){var o;const s=null===(o=this.slotEl)||void 0===o?void 0:o.assignedElements({flatten:!0});if(!(null==s?void 0:s.length))return;const i=s[0];if(i){const o=n(i,t);o&&e(o)}}updateSlottedElements(){this.slotEl&&this.findSlottedAndExecute((t=>"tds-icon"===t.tagName.toLowerCase()||"svg"===t.tagName.toLowerCase()),(t=>{t.classList.add("__tds-side-menu-item-icon"),this.collapsed?t.classList.add("__tds-side-menu-item-icon-collapsed"):t.classList.remove("__tds-side-menu-item-icon-collapsed")}))}updateHasUserComponent(){if(this.slotEl){const t=t=>"tds-side-menu-user"===t.tagName.toLowerCase();this.hasUserComponent=!1,this.findSlottedAndExecute(t,(()=>{this.hasUserComponent=!0}))}}connectedCallback(){var t;this.sideMenuEl=this.host.closest("tds-side-menu"),this.collapsed=!!(null===(t=this.sideMenuEl)||void 0===t?void 0:t.collapsed)}componentDidLoad(){var t,e;this.slotEl=null!==(e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("slot"))&&void 0!==e?e:null,this.updateSlottedElements(),this.updateHasUserComponent(),this.slotEl&&this.slotEl.addEventListener("slotchange",(()=>{this.updateSlottedElements(),this.updateHasUserComponent()}))}collapseSideMenuEventHandler(t){this.collapsed=t.detail.collapsed,this.updateSlottedElements(),this.updateHasUserComponent()}render(){return e(o,{key:"8c8308b82ed3a2f9161c155310d30746a873b797"},e("div",{key:"1ee193c4e152bd02a7fd38c3bc173cfcab074e60",class:{component:!0,"component-selected":this.selected,"component-active":this.active,"component-collapsed":this.collapsed,"component-has-user":this.hasUserComponent}},e("slot",{key:"4abf87af30fb22e159a2874b499b756097ff821f"})))}get host(){return s(this)}};i.style=':host{display:block}:host .component ::slotted(a),:host .component ::slotted(button){all:unset;box-sizing:border-box;height:68px;width:100%;display:flex;align-items:center;gap:10px;padding:0 22px;border:none;background-color:var(--tds-sidebar-side-menu-background-cover);font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-sidebar-side-menu-single-item-color);cursor:pointer}:host .component ::slotted(tds-side-menu-user),:host .component-has-user ::slotted(button){all:unset;box-sizing:border-box;height:68px;width:100%;display:flex;align-items:center;gap:16px;padding:0 22px 0 16px;border:none;background-color:var(--tds-sidebar-side-menu-background-cover);font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-sidebar-side-menu-single-item-color);cursor:pointer}:host .component tds-icon{color:red !important}:host .component ::slotted(a:focus-visible),:host .component ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:inset 0 0 0 3px var(--tds-white);outline-offset:-2px;z-index:1}:host .component:hover ::slotted(a),:host .component:hover ::slotted(button),:host .component:hover ::slotted(tds-side-menu-user){background-color:var(--tds-sidebar-item-state-hover);position:relative}:host .component:hover ::slotted(a)::before,:host .component:hover ::slotted(button)::before,:host .component:hover ::slotted(tds-side-menu-user)::before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:var(--tds-side-menu-item-hover-indicator)}:host .component:hover ::slotted(a:focus-visible),:host .component:hover ::slotted(button:focus-visible),:host .component:hover ::slotted(tds-side-menu-user:focus-visible){background-color:var(--tds-sidebar-item-state-hover);position:relative}:host .component:hover ::slotted(a:focus-visible)::before,:host .component:hover ::slotted(button:focus-visible)::before,:host .component:hover ::slotted(tds-side-menu-user:focus-visible)::before{content:"";position:absolute;top:3px;left:3px;width:4px;height:calc(100% - 6px);background-color:var(--tds-side-menu-item-hover-indicator)}:host .component:active ::slotted(a),:host .component:active ::slotted(button),:host .component:active ::slotted(tds-side-menu-user){background-color:var(--tds-sidemenu-item-state-active);position:relative}:host .component:active ::slotted(a)::before,:host .component:active ::slotted(button)::before,:host .component:active ::slotted(tds-side-menu-user)::before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:var(--tds-side-menu-item-pressed-indicator)}:host .component:active ::slotted(a:focus-visible),:host .component:active ::slotted(button:focus-visible),:host .component:active ::slotted(tds-side-menu-user:focus-visible){background-color:var(--tds-sidemenu-item-state-active);position:relative}:host .component:active ::slotted(a:focus-visible)::before,:host .component:active ::slotted(button:focus-visible)::before,:host .component:active ::slotted(tds-side-menu-user:focus-visible)::before{content:"";position:absolute;top:3px;left:3px;width:4px;height:calc(100% - 6px);background-color:var(--tds-side-menu-item-pressed-indicator)}:host .component-collapsed ::slotted(a),:host .component-collapsed ::slotted(button){padding:0;display:flex;justify-content:center;align-items:center;position:relative}:host .component-selected:not(:host .component-active) ::slotted(a),:host .component-selected:not(:host .component-active) ::slotted(button),:host .component-selected:not(:host .component-active) ::slotted(tds-side-menu-user){background-color:var(--tds-sidebar-item-state-selected);position:relative}:host .component-selected:not(:host .component-active) ::slotted(a)::before,:host .component-selected:not(:host .component-active) ::slotted(button)::before,:host .component-selected:not(:host .component-active) ::slotted(tds-side-menu-user)::before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:var(--tds-sidebar-side-menu-single-subitem-selected-border-color)}:host .component-selected:not(:host .component-active) ::slotted(a:focus-visible),:host .component-selected:not(:host .component-active) ::slotted(button:focus-visible),:host .component-selected:not(:host .component-active) ::slotted(tds-side-menu-user:focus-visible){background-color:var(--tds-sidebar-item-state-selected);position:relative}:host .component-selected:not(:host .component-active) ::slotted(a:focus-visible)::before,:host .component-selected:not(:host .component-active) ::slotted(button:focus-visible)::before,:host .component-selected:not(:host .component-active) ::slotted(tds-side-menu-user:focus-visible)::before{content:"";position:absolute;top:3px;left:3px;width:4px;height:calc(100% - 6px);background-color:var(--tds-sidebar-side-menu-single-subitem-selected-border-color)}@media (min-width: 992px){:host .component.component-collapsed ::slotted(a),:host .component.component-collapsed ::slotted(button){color:rgba(90, 90, 90, 0);overflow:hidden}}';export{i as tds_side_menu_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as d,H as t,a}from"./p-
|
|
1
|
+
import{r as e,h as d,H as t,a}from"./p-BdzyrAx0.js";import{i as r}from"./p-Q3W78DlP.js";import"./p-CF8bH08v.js";const s=e=>{e.childNodes.forEach((e=>{if(e.nodeType===Node.ELEMENT_NODE){const d=e;"li"!==d.tagName.toLowerCase()&&"listitem"!==d.getAttribute("role")&&d.setAttribute("role","listitem")}}))},o=class{constructor(d){e(this,d),this.observer=new MutationObserver((e=>{e.forEach((e=>{"childList"===e.type&&s(e.target)}))}))}componentDidLoad(){const e=this.host.querySelector(".tds-header-component-list");e&&(this.observer.observe(e,{childList:!0,subtree:!1}),s(e))}disconnectedCallback(){this.observer.disconnect()}render(){const e=Object.assign({},r(this.host));return d(t,{key:"181fbfe75463969a86384760288b62a2c67ce83e"},d("slot",{key:"73d7e5f465cdb8d208bb227fdc0db5411eb2c32a",name:"hamburger"}),d("slot",{key:"62844699d097f33eb4286b7a564c42bba820323a",name:"title"}),d("nav",Object.assign({key:"30676babd29ca880b1f21d1fce28ab124e1ae90b"},e),d("ul",{key:"864fca4598d6611c6d895a1550301b21073eeb76",class:"tds-header-component-list"},d("slot",{key:"4acca7b1d28b79557f59395cc955ee74531b6828"}),d("li",{key:"0917aa2f981f5951b3b688e6eaa93c7a129cb366",class:"tds-header-middle-spacer"}),d("slot",{key:"c1b1b52718d6180a1b77f0f04498f7f81528ac0d",name:"end"}))))}get host(){return a(this)}};o.style=':host,:root{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}html,:root{--tds-nav-dropdown-menu-box:0 3px 3px rgb(0 0 0 / 15%), 0 -1px 1px rgb(0 0 0 / 1%);--tds-nav-dropdown-item-border-radius:0 0 4px 4px;--tds-font-family-headline:"Scania Sans Headline", arial, helvetica, sans-serif}tds-header{display:block;height:var(--tds-header-height);background-color:var(--tds-header-background);width:100%;z-index:300}tds-header tds-header-dropdown-list-item a *,tds-header tds-header-dropdown-list-item button *{pointer-events:none}nav{box-sizing:border-box;background-color:var(--tds-header-background);width:100%;display:block}nav *{box-sizing:border-box}nav .tds-header-component-list{height:var(--tds-header-height);all:unset;display:flex;justify-content:center;align-items:center}nav tds-header-dropdown,nav tds-header-item{display:none}nav .tds-header-middle-spacer{all:unset;display:block;flex-grow:1;height:var(--tds-header-height);border-right:1px solid var(--tds-header--basic-element-border)}@media screen and (min-width: 992px){nav tds-header-dropdown,nav tds-header-item{display:block}}nav tds-header-item:nth-child(3),nav tds-header-dropdown:nth-child(3){border-left:1px solid var(--tds-header--basic-element-border)}';export{o as tds_header}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,H as s,a}from"./p-BdzyrAx0.js";import{i as r}from"./p-Q3W78DlP.js";import"./p-CF8bH08v.js";const i=class{constructor(t){e(this,t)}render(){const e=Object.assign({},r(this.host));return t(s,{key:"ae06ee98e53076108ce5d994fea278cfcf7c866f"},t("tds-header-item",{key:"cfcc247e196267d28be0754334f9ad0970aad461"},t("button",Object.assign({key:"5daf590949aaa29674b59438452286c88f1bd9e5"},e,{"aria-label":this.tdsAriaLabel}),t("tds-icon",{key:"4f9f010a9a1b79278887822e2d3c025844f6a8c3",class:"icon",name:"burger",size:"20px"}))))}get host(){return a(this)}};i.style=":host{color:var(--tds-white)}:host tds-header-item{display:block}:host .icon{position:relative;margin-left:-6px;left:3px;transition:background 0.2s ease-in-out, color 0.2s ease-in-out}@media screen and (min-width: 992px){:host tds-header-item{display:none}:host([persistent]) tds-header-item{display:block}}";export{i as tds_header_hamburger}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,H as r,a}from"./p-BdzyrAx0.js";import{g as d}from"./p-Cn4f8w1e.js";const s=class{constructor(t){e(this,t),this.uuid=d()}render(){return t(r,{key:"d2480baadcaceab27fb6598d2c781bc74e75df75"},t("h3",{key:"e73adadc71723ad00b5f1f138a2fd5d73fdcf8af",class:"tds-header-launcher-list-title",id:`tds-header-launcher-${this.uuid}`},t("slot",{key:"338bd4e60f844e7c399bd4a8d4b3325fbf6f8d3e"})))}get host(){return a(this)}};s.style=".tds-header-launcher-list-title{all:unset;box-sizing:border-box;font:var(--tds-detail-06);letter-spacing:var(--tds-detail-06-ls);color:var(--tds-header-app-launcher-category-title-color);text-transform:uppercase;height:48px;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color);margin:0}";export{s as tds_header_launcher_list_title}
|