@scania/tegel 1.18.0-1.18.0-tdsheaderitembeta.2 → 1.18.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/findClosestComponent-64302a79.js +14 -0
- package/dist/cjs/getDirectChildHTMLElementOfKind-6e210da2.js +11 -0
- package/dist/cjs/index-ca8040ad.js +58 -46
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/tagName-3399a06c.js +120 -0
- package/dist/cjs/tds-accordion-item.cjs.entry.js +7 -4
- package/dist/cjs/tds-badge.cjs.entry.js +1 -1
- package/dist/cjs/tds-banner.cjs.entry.js +5 -3
- package/dist/cjs/tds-block.cjs.entry.js +2 -2
- package/dist/cjs/tds-body-cell.cjs.entry.js +5 -3
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/tds-button.cjs.entry.js +3 -3
- package/dist/cjs/tds-card.cjs.entry.js +4 -2
- package/dist/cjs/tds-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/tds-chip.cjs.entry.js +1 -1
- package/dist/cjs/tds-core-header-item.cjs.entry.js +20 -0
- package/dist/cjs/tds-datetime.cjs.entry.js +6 -3
- package/dist/cjs/tds-divider.cjs.entry.js +1 -1
- package/dist/cjs/tds-dropdown-option.cjs.entry.js +95 -0
- package/dist/cjs/{tds-dropdown_2.cjs.entry.js → tds-dropdown.cjs.entry.js} +12 -98
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +4 -2
- package/dist/cjs/tds-footer-group.cjs.entry.js +6 -4
- package/dist/cjs/tds-footer-item.cjs.entry.js +6 -2
- package/dist/cjs/tds-footer.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-cell.cjs.entry.js +9 -4
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +4 -4
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +5 -3
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +4 -2
- package/dist/cjs/{tds-core-header-item_2.cjs.entry.js → tds-header-item.cjs.entry.js} +6 -17
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +4 -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 +4 -4
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +4 -1
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +4 -1
- package/dist/cjs/tds-header-launcher.cjs.entry.js +6 -3
- package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header.cjs.entry.js +2 -15
- package/dist/cjs/tds-icon.cjs.entry.js +1 -1
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +4 -2
- package/dist/cjs/tds-link.cjs.entry.js +2 -2
- package/dist/cjs/tds-message.cjs.entry.js +6 -3
- package/dist/cjs/tds-modal.cjs.entry.js +3 -1
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +4 -2
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -2
- package/dist/cjs/tds-popover-core.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-popover-menu.cjs.entry.js +5 -3
- package/dist/cjs/tds-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +3 -1
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +8 -5
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +7 -5
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +5 -3
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +7 -4
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +8 -5
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-user-image.cjs.entry.js +22 -0
- package/dist/cjs/tds-side-menu-user-label.cjs.entry.js +22 -0
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +5 -2
- package/dist/cjs/tds-slider.cjs.entry.js +11 -8
- package/dist/cjs/tds-step.cjs.entry.js +7 -4
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +8 -5
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +12 -9
- package/dist/cjs/tds-table-body-row.cjs.entry.js +6 -3
- package/dist/cjs/tds-table-body.cjs.entry.js +12 -6
- package/dist/cjs/tds-table-footer.cjs.entry.js +12 -8
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +8 -5
- package/dist/cjs/tds-table-header.cjs.entry.js +13 -7
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +6 -3
- package/dist/cjs/tds-table.cjs.entry.js +13 -9
- package/dist/cjs/tds-text-field.cjs.entry.js +8 -6
- package/dist/cjs/tds-textarea.cjs.entry.js +6 -3
- package/dist/cjs/tds-toast.cjs.entry.js +9 -6
- package/dist/cjs/tds-tooltip.cjs.entry.js +4 -2
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion-item/accordion-item.css +1 -6
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +6 -3
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/banner/banner.css +1 -1
- package/dist/collection/components/banner/banner.js +4 -2
- package/dist/collection/components/block/block.js +2 -2
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/collection/components/button/button.css +58 -187
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/card/card.js +4 -2
- package/dist/collection/components/checkbox/checkbox.js +2 -2
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/datetime/datetime.css +2 -2
- package/dist/collection/components/datetime/datetime.js +6 -3
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +7 -7
- package/dist/collection/components/dropdown/dropdown.css +3 -3
- package/dist/collection/components/dropdown/dropdown.js +11 -8
- package/dist/collection/components/footer/footer-group/footer-group.css +2 -2
- package/dist/collection/components/footer/footer-group/footer-group.js +5 -3
- package/dist/collection/components/footer/footer-item/footer-item.js +5 -2
- package/dist/collection/components/footer/footer.js +1 -1
- package/dist/collection/components/header/core-header-item/core-header-item.js +1 -1
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.css +3 -3
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +1 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +5 -3
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +2 -2
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -2
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +1 -1
- package/dist/collection/components/header/header-hamburger/header-hamburger.css +3 -3
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +3 -1
- package/dist/collection/components/header/header-item/header-item.js +6 -3
- package/dist/collection/components/header/header-launcher/header-launcher.js +6 -3
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.css +1 -1
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +3 -1
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -1
- package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +1 -1
- package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
- package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +4 -1
- package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +4 -1
- package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
- package/dist/collection/components/header/header-title/header-title.js +1 -1
- package/dist/collection/components/header/header.css +7 -7
- package/dist/collection/components/header/header.js +1 -14
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/link/link.js +2 -2
- package/dist/collection/components/message/message.css +5 -5
- package/dist/collection/components/message/message.js +5 -2
- package/dist/collection/components/modal/modal.js +3 -1
- package/dist/collection/components/popover-canvas/popover-canvas.js +4 -2
- package/dist/collection/components/popover-core/popover-core.js +1 -1
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.css +2 -2
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +2 -2
- package/dist/collection/components/popover-menu/popover-menu.css +1 -5
- package/dist/collection/components/popover-menu/popover-menu.js +4 -2
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +3 -1
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +8 -5
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +7 -4
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +4 -3
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +6 -5
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +1 -1
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +6 -4
- package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.css +1 -1
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +4 -1
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.js +11 -8
- package/dist/collection/components/stepper/step/step.css +1 -1
- package/dist/collection/components/stepper/step/step.js +6 -3
- package/dist/collection/components/table/table/table.js +20 -9
- package/dist/collection/components/table/table-body/table-body.css +12 -12
- package/dist/collection/components/table/table-body/table-body.js +10 -5
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +4 -3
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.css +3 -3
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +7 -4
- package/dist/collection/components/table/table-body-row/table-body-row.js +6 -3
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +11 -9
- package/dist/collection/components/table/table-footer/table-footer.css +1 -1
- package/dist/collection/components/table/table-footer/table-footer.js +11 -7
- package/dist/collection/components/table/table-header/table-header.js +13 -7
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +9 -4
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.css +3 -3
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +7 -4
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +6 -3
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +4 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +4 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +4 -2
- package/dist/collection/components/text-field/text-field.css +3 -3
- package/dist/collection/components/text-field/text-field.js +7 -5
- package/dist/collection/components/textarea/textarea.js +6 -3
- package/dist/collection/components/toast/toast.css +6 -6
- package/dist/collection/components/toast/toast.js +8 -5
- package/dist/collection/components/tooltip/tooltip.js +4 -2
- package/dist/collection/utils/findClosestComponent.js +9 -0
- package/dist/collection/utils/getDirectChildHTMLElementOfKind.js +6 -0
- package/dist/collection/utils/tagName.js +29 -0
- package/dist/collection/utils/tagNames.js +91 -0
- package/dist/components/p-875e2e9c.js +12 -0
- package/dist/components/{p-0676aa23.js → p-93414e58.js} +7 -10
- package/dist/components/p-b33f8162.js +116 -0
- package/dist/components/p-d18575db.js +9 -0
- package/dist/components/tds-accordion-item.js +8 -11
- package/dist/components/tds-badge.js +1 -1
- package/dist/components/tds-banner.js +6 -10
- package/dist/components/tds-block.js +2 -2
- package/dist/components/tds-body-cell.js +4 -3
- package/dist/components/tds-breadcrumb.js +1 -1
- package/dist/components/tds-breadcrumbs.js +1 -1
- package/dist/components/tds-button.js +3 -3
- package/dist/components/tds-card.js +5 -9
- package/dist/components/tds-checkbox.js +89 -1
- package/dist/components/tds-chip.js +1 -1
- package/dist/components/tds-core-header-item.js +30 -1
- package/dist/components/tds-datetime.js +7 -10
- package/dist/components/tds-divider.js +33 -1
- package/dist/components/tds-dropdown-option.js +112 -1
- package/dist/components/tds-dropdown.js +516 -1
- package/dist/components/tds-folder-tabs.js +5 -9
- package/dist/components/tds-footer-group.js +7 -11
- package/dist/components/tds-footer-item.js +5 -2
- package/dist/components/tds-footer.js +1 -1
- package/dist/components/tds-header-brand-symbol.js +4 -10
- package/dist/components/tds-header-cell.js +10 -11
- package/dist/components/tds-header-dropdown-list-item.js +39 -1
- package/dist/components/tds-header-dropdown-list-user.js +1 -1
- package/dist/components/tds-header-dropdown-list.js +99 -1
- package/dist/components/tds-header-dropdown.js +6 -34
- package/dist/components/tds-header-hamburger.js +5 -21
- package/dist/components/tds-header-item.js +1 -1
- package/dist/components/tds-header-launcher-button.js +39 -1
- package/dist/components/tds-header-launcher-grid-item.js +1 -1
- package/dist/components/tds-header-launcher-grid-title.js +1 -1
- package/dist/components/tds-header-launcher-grid.js +1 -1
- package/dist/components/tds-header-launcher-list-item.js +5 -8
- package/dist/components/tds-header-launcher-list-title.js +1 -1
- package/dist/components/tds-header-launcher-list.js +5 -8
- package/dist/components/tds-header-launcher.js +7 -40
- package/dist/components/tds-header-title.js +1 -1
- package/dist/components/tds-header.js +2 -15
- package/dist/components/tds-icon.js +63 -1
- package/dist/components/tds-inline-tabs.js +5 -9
- package/dist/components/tds-link.js +2 -2
- package/dist/components/tds-message.js +7 -10
- package/dist/components/tds-modal.js +4 -8
- package/dist/components/tds-navigation-tabs.js +5 -9
- package/dist/components/tds-popover-canvas.js +66 -1
- package/dist/components/tds-popover-core.js +1998 -1
- package/dist/components/tds-popover-menu-item.js +3 -3
- package/dist/components/tds-popover-menu.js +6 -10
- package/dist/components/tds-radio-button.js +1 -1
- package/dist/components/tds-side-menu-close-button.js +4 -8
- package/dist/components/tds-side-menu-collapse-button.js +9 -12
- package/dist/components/tds-side-menu-dropdown-list-item.js +6 -5
- package/dist/components/tds-side-menu-dropdown-list.js +4 -3
- package/dist/components/tds-side-menu-dropdown.js +8 -17
- package/dist/components/tds-side-menu-item.js +90 -1
- package/dist/components/tds-side-menu-overlay.js +1 -1
- package/dist/components/tds-side-menu-user-image.js +35 -1
- package/dist/components/tds-side-menu-user-label.js +35 -1
- package/dist/components/tds-side-menu-user.js +6 -15
- package/dist/components/tds-slider.js +13 -16
- package/dist/components/tds-step.js +8 -11
- package/dist/components/tds-table-body-input-wrapper.js +9 -12
- package/dist/components/tds-table-body-row-expandable.js +11 -9
- package/dist/components/tds-table-body-row.js +7 -10
- package/dist/components/tds-table-body.js +11 -6
- package/dist/components/tds-table-footer.js +13 -33
- package/dist/components/tds-table-header-input-wrapper.js +9 -12
- package/dist/components/tds-table-header.js +14 -14
- package/dist/components/tds-table-toolbar.js +7 -10
- package/dist/components/tds-table.js +12 -9
- package/dist/components/tds-text-field.js +9 -13
- package/dist/components/tds-textarea.js +7 -10
- package/dist/components/tds-toast.js +10 -13
- package/dist/components/tds-tooltip.js +5 -9
- package/dist/esm/findClosestComponent-884d0262.js +12 -0
- package/dist/esm/getDirectChildHTMLElementOfKind-96e23d9f.js +9 -0
- package/dist/esm/index-51d04e39.js +58 -46
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tagName-2e4b5836.js +116 -0
- package/dist/esm/tds-accordion-item.entry.js +8 -5
- package/dist/esm/tds-badge.entry.js +1 -1
- package/dist/esm/tds-banner.entry.js +5 -3
- package/dist/esm/tds-block.entry.js +2 -2
- package/dist/esm/tds-body-cell.entry.js +5 -3
- package/dist/esm/tds-breadcrumb.entry.js +1 -1
- package/dist/esm/tds-breadcrumbs.entry.js +1 -1
- package/dist/esm/tds-button.entry.js +3 -3
- package/dist/esm/tds-card.entry.js +4 -2
- package/dist/esm/tds-checkbox.entry.js +2 -2
- package/dist/esm/tds-chip.entry.js +1 -1
- package/dist/esm/tds-core-header-item.entry.js +16 -0
- package/dist/esm/tds-datetime.entry.js +7 -4
- package/dist/esm/tds-divider.entry.js +1 -1
- package/dist/{components/p-1c256b8d.js → esm/tds-dropdown-option.entry.js} +15 -50
- package/dist/{components/p-f5531179.js → esm/tds-dropdown.entry.js} +20 -66
- package/dist/esm/tds-folder-tabs.entry.js +4 -2
- package/dist/esm/tds-footer-group.entry.js +6 -4
- package/dist/esm/tds-footer-item.entry.js +6 -2
- package/dist/esm/tds-footer.entry.js +1 -1
- package/dist/esm/tds-header-brand-symbol.entry.js +2 -2
- package/dist/esm/tds-header-cell.entry.js +9 -4
- package/dist/esm/tds-header-dropdown-list-item.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list.entry.js +3 -3
- package/dist/esm/tds-header-dropdown.entry.js +5 -3
- package/dist/esm/tds-header-hamburger.entry.js +4 -2
- package/dist/esm/{tds-core-header-item_2.entry.js → tds-header-item.entry.js} +7 -17
- package/dist/esm/tds-header-launcher-button.entry.js +4 -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 +2 -2
- package/dist/esm/tds-header-launcher-list-item.entry.js +5 -2
- package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list.entry.js +5 -2
- package/dist/esm/tds-header-launcher.entry.js +6 -3
- package/dist/esm/tds-header-title.entry.js +1 -1
- package/dist/esm/tds-header.entry.js +2 -15
- package/dist/esm/tds-icon.entry.js +1 -1
- package/dist/esm/tds-inline-tabs.entry.js +4 -2
- package/dist/esm/tds-link.entry.js +2 -2
- package/dist/esm/tds-message.entry.js +7 -4
- package/dist/esm/tds-modal.entry.js +3 -1
- package/dist/esm/tds-navigation-tabs.entry.js +4 -2
- package/dist/esm/tds-popover-canvas.entry.js +4 -2
- package/dist/esm/tds-popover-core.entry.js +1 -1
- package/dist/esm/tds-popover-menu-item.entry.js +3 -3
- package/dist/esm/tds-popover-menu.entry.js +5 -3
- package/dist/esm/tds-radio-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-close-button.entry.js +3 -1
- package/dist/esm/tds-side-menu-collapse-button.entry.js +8 -5
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +7 -5
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +5 -3
- package/dist/esm/tds-side-menu-dropdown.entry.js +7 -4
- package/dist/esm/tds-side-menu-item.entry.js +8 -5
- package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
- package/dist/esm/tds-side-menu-user-image.entry.js +18 -0
- package/dist/esm/tds-side-menu-user-label.entry.js +18 -0
- package/dist/esm/tds-side-menu-user.entry.js +6 -3
- package/dist/esm/tds-slider.entry.js +12 -9
- package/dist/esm/tds-step.entry.js +7 -4
- package/dist/esm/tds-table-body-input-wrapper.entry.js +8 -5
- package/dist/esm/tds-table-body-row-expandable.entry.js +12 -9
- package/dist/esm/tds-table-body-row.entry.js +6 -3
- package/dist/esm/tds-table-body.entry.js +12 -6
- package/dist/esm/tds-table-footer.entry.js +12 -8
- package/dist/esm/tds-table-header-input-wrapper.entry.js +8 -5
- package/dist/esm/tds-table-header.entry.js +13 -7
- package/dist/esm/tds-table-toolbar.entry.js +6 -3
- package/dist/esm/tds-table.entry.js +13 -9
- package/dist/esm/tds-text-field.entry.js +8 -6
- package/dist/esm/tds-textarea.entry.js +7 -4
- package/dist/esm/tds-toast.entry.js +9 -6
- package/dist/esm/tds-tooltip.entry.js +4 -2
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/p-01dc0370.entry.js +1 -0
- package/dist/tegel/p-06431096.entry.js +1 -0
- package/dist/tegel/p-07e3a645.entry.js +1 -0
- package/dist/tegel/p-082d6de9.entry.js +1 -0
- package/dist/tegel/p-0a228d69.entry.js +1 -0
- package/dist/tegel/p-0d80429b.entry.js +1 -0
- package/dist/tegel/p-136c978a.entry.js +1 -0
- package/dist/tegel/p-13f14f71.entry.js +1 -0
- package/dist/tegel/p-15638893.entry.js +1 -0
- package/dist/tegel/p-16d3d938.entry.js +1 -0
- package/dist/tegel/p-191a6e60.entry.js +1 -0
- package/dist/tegel/p-19cda6ca.entry.js +1 -0
- package/dist/tegel/p-1c4b7a7d.entry.js +1 -0
- package/dist/tegel/p-2094ccde.entry.js +1 -0
- package/dist/tegel/p-26603eef.entry.js +1 -0
- package/dist/tegel/p-2b5871d5.entry.js +1 -0
- package/dist/tegel/p-304a4c84.entry.js +1 -0
- package/dist/tegel/p-3cc3e9f1.entry.js +1 -0
- package/dist/tegel/p-3cf784a4.entry.js +1 -0
- package/dist/tegel/p-400d5972.entry.js +1 -0
- package/dist/tegel/p-4132bc7c.entry.js +1 -0
- package/dist/tegel/{p-de540cc0.entry.js → p-416d8080.entry.js} +1 -1
- package/dist/tegel/p-43a74ec0.entry.js +1 -0
- package/dist/tegel/p-448fef57.entry.js +1 -0
- package/dist/tegel/p-45aa4dca.entry.js +1 -0
- package/dist/tegel/p-48148b7d.entry.js +1 -0
- package/dist/tegel/p-4a2000f2.entry.js +1 -0
- package/dist/tegel/{p-f9325536.entry.js → p-4b23a02f.entry.js} +1 -1
- package/dist/tegel/p-4eea4c8f.entry.js +1 -0
- package/dist/tegel/p-54a87c06.entry.js +1 -0
- package/dist/tegel/p-5be505ca.entry.js +1 -0
- package/dist/tegel/p-5f5fb18b.entry.js +1 -0
- package/dist/tegel/p-62196862.entry.js +1 -0
- package/dist/tegel/p-6542a541.entry.js +1 -0
- package/dist/tegel/p-6aea533d.entry.js +1 -0
- package/dist/tegel/p-6bc339db.entry.js +1 -0
- package/dist/tegel/p-718a5428.entry.js +1 -0
- package/dist/tegel/{p-fe9b385f.entry.js → p-73d72704.entry.js} +1 -1
- package/dist/tegel/{p-ede11de8.entry.js → p-7639adea.entry.js} +1 -1
- package/dist/tegel/p-79a4da37.entry.js +1 -0
- package/dist/tegel/p-7e989008.entry.js +1 -0
- package/dist/tegel/p-807d3a4e.entry.js +1 -0
- package/dist/tegel/p-81dc1e2f.entry.js +1 -0
- package/dist/tegel/p-854dcbe4.entry.js +1 -0
- package/dist/tegel/p-859e3ebf.js +1 -0
- package/dist/tegel/p-875e2e9c.js +1 -0
- package/dist/tegel/p-876a3b13.entry.js +1 -0
- package/dist/tegel/p-8a5df7a0.entry.js +1 -0
- package/dist/tegel/{p-50fcdc56.entry.js → p-8ccf3a15.entry.js} +1 -1
- package/dist/tegel/p-91072613.entry.js +1 -0
- package/dist/tegel/{p-bda3d846.entry.js → p-938f3efa.entry.js} +1 -1
- package/dist/tegel/p-985a2d37.entry.js +1 -0
- package/dist/tegel/{p-6b405a0f.entry.js → p-9a120de1.entry.js} +1 -1
- package/dist/tegel/p-9ac97508.entry.js +1 -0
- package/dist/tegel/{p-1ce239bf.entry.js → p-9d00bc5e.entry.js} +1 -1
- package/dist/tegel/p-9e49e118.entry.js +1 -0
- package/dist/tegel/p-a056ecbf.entry.js +1 -0
- package/dist/tegel/p-a66dcbc0.entry.js +1 -0
- package/dist/tegel/p-abe194db.entry.js +1 -0
- package/dist/tegel/p-ae0d0422.entry.js +1 -0
- package/dist/tegel/{p-c3513f1f.entry.js → p-b1fcdbd1.entry.js} +1 -1
- package/dist/tegel/p-b33f8162.js +1 -0
- package/dist/tegel/{p-9bf7f5cd.entry.js → p-b36fafa5.entry.js} +1 -1
- package/dist/tegel/{p-e65dba91.entry.js → p-b7cb84d1.entry.js} +1 -1
- package/dist/tegel/{p-cd289e17.entry.js → p-c026cd40.entry.js} +1 -1
- package/dist/tegel/p-ca19d259.entry.js +1 -0
- package/dist/tegel/{p-0df92ce7.entry.js → p-cc2524ea.entry.js} +1 -1
- package/dist/tegel/p-cdd4acb0.entry.js +1 -0
- package/dist/tegel/p-d023830f.entry.js +1 -0
- package/dist/tegel/p-d18575db.js +1 -0
- package/dist/tegel/{p-a464920f.entry.js → p-db250bc9.entry.js} +1 -1
- package/dist/tegel/p-ddb96690.entry.js +1 -0
- package/dist/tegel/p-e455db38.entry.js +1 -0
- package/dist/tegel/p-ef49682d.entry.js +1 -0
- package/dist/tegel/p-efc72ccb.entry.js +1 -0
- package/dist/tegel/p-f7c4f098.entry.js +1 -0
- package/dist/tegel/{p-137929b7.entry.js → p-fb026b94.entry.js} +1 -1
- package/dist/tegel/p-fc844498.entry.js +1 -0
- package/dist/tegel/tegel.css +1 -1
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/accordion/accordion-item/accordion-item.d.ts +1 -0
- package/dist/types/components/datetime/datetime.d.ts +1 -0
- package/dist/types/components/header/header-launcher-list/header-launcher-list.d.ts +1 -0
- package/dist/types/components/header/header-launcher-list-item/header-launcher-list-item.d.ts +1 -0
- package/dist/types/components/header/header.d.ts +0 -2
- package/dist/types/components/message/message.d.ts +1 -0
- package/dist/types/components/side-menu/side-menu-user/side-menu-user.d.ts +1 -0
- package/dist/types/components/slider/slider.d.ts +1 -0
- package/dist/types/components/stepper/step/step.d.ts +1 -1
- package/dist/types/components/table/table/table.d.ts +1 -1
- package/dist/types/components/table/table-footer/table-footer.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/dist/types/utils/findClosestComponent.d.ts +9 -0
- package/dist/types/utils/getDirectChildHTMLElementOfKind.d.ts +2 -0
- package/dist/types/utils/tagName.d.ts +6 -0
- package/dist/types/utils/tagNames.d.ts +4 -0
- package/package.json +1 -1
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +0 -38
- package/dist/components/p-09d36119.js +0 -37
- package/dist/components/p-0c3cab16.js +0 -90
- package/dist/components/p-30de8ac4.js +0 -32
- package/dist/components/p-3e74be57.js +0 -65
- package/dist/components/p-8e74bb22.js +0 -57
- package/dist/components/p-a9609e88.js +0 -72
- package/dist/components/p-cfb1b588.js +0 -41
- package/dist/components/p-dc461e7b.js +0 -2000
- package/dist/components/p-dddaa520.js +0 -37
- package/dist/components/p-e46088d9.js +0 -35
- package/dist/components/p-e4d7c655.js +0 -91
- package/dist/components/p-fcec766c.js +0 -101
- package/dist/esm/tds-dropdown_2.entry.js +0 -560
- package/dist/esm/tds-side-menu-user-image_2.entry.js +0 -33
- package/dist/tegel/p-06d2fa56.entry.js +0 -1
- package/dist/tegel/p-088bfcd4.entry.js +0 -1
- package/dist/tegel/p-0f38bea7.entry.js +0 -1
- package/dist/tegel/p-0f486a7c.entry.js +0 -1
- package/dist/tegel/p-1634247e.entry.js +0 -1
- package/dist/tegel/p-1a2f3852.entry.js +0 -1
- package/dist/tegel/p-1bc2c73c.entry.js +0 -1
- package/dist/tegel/p-285d7485.entry.js +0 -1
- package/dist/tegel/p-2b030cef.entry.js +0 -1
- package/dist/tegel/p-2e44b4e9.entry.js +0 -1
- package/dist/tegel/p-46fe6712.entry.js +0 -1
- package/dist/tegel/p-4ab7461e.entry.js +0 -1
- package/dist/tegel/p-4bab99d5.entry.js +0 -1
- package/dist/tegel/p-51e49417.entry.js +0 -1
- package/dist/tegel/p-52be41ce.entry.js +0 -1
- package/dist/tegel/p-54a105a4.entry.js +0 -1
- package/dist/tegel/p-588a05aa.entry.js +0 -1
- package/dist/tegel/p-5a891dd2.entry.js +0 -1
- package/dist/tegel/p-5d0e8f1e.entry.js +0 -1
- package/dist/tegel/p-6938329a.entry.js +0 -1
- package/dist/tegel/p-6aabf7e1.entry.js +0 -1
- package/dist/tegel/p-6c26e66f.entry.js +0 -1
- package/dist/tegel/p-73dd2dbb.entry.js +0 -1
- package/dist/tegel/p-7a83cf55.entry.js +0 -1
- package/dist/tegel/p-7d83ba98.entry.js +0 -1
- package/dist/tegel/p-831111e9.entry.js +0 -1
- package/dist/tegel/p-8ae952b6.entry.js +0 -1
- package/dist/tegel/p-91225c7a.entry.js +0 -1
- package/dist/tegel/p-91dcddd5.entry.js +0 -1
- package/dist/tegel/p-930e767e.entry.js +0 -1
- package/dist/tegel/p-9332c225.js +0 -1
- package/dist/tegel/p-959a6780.entry.js +0 -1
- package/dist/tegel/p-987084a5.entry.js +0 -1
- package/dist/tegel/p-9c2dfecc.entry.js +0 -1
- package/dist/tegel/p-9de400f4.entry.js +0 -1
- package/dist/tegel/p-a5a67770.entry.js +0 -1
- package/dist/tegel/p-a642c800.entry.js +0 -1
- package/dist/tegel/p-a9654cd4.entry.js +0 -1
- package/dist/tegel/p-aed1c5cf.entry.js +0 -1
- package/dist/tegel/p-b21eb276.entry.js +0 -1
- package/dist/tegel/p-b4c7099f.entry.js +0 -1
- package/dist/tegel/p-b9ac3122.entry.js +0 -1
- package/dist/tegel/p-b9e37cf2.entry.js +0 -1
- package/dist/tegel/p-bb129d43.entry.js +0 -1
- package/dist/tegel/p-bcae4d3a.entry.js +0 -1
- package/dist/tegel/p-c18b2746.entry.js +0 -1
- package/dist/tegel/p-c790ef93.entry.js +0 -1
- package/dist/tegel/p-c917d8be.entry.js +0 -1
- package/dist/tegel/p-cd5219ac.entry.js +0 -1
- package/dist/tegel/p-d1cbe5be.entry.js +0 -1
- package/dist/tegel/p-db00f607.entry.js +0 -1
- package/dist/tegel/p-dcbd977f.entry.js +0 -1
- package/dist/tegel/p-e7108828.entry.js +0 -1
- package/dist/tegel/p-ed02ad2b.entry.js +0 -1
- package/dist/tegel/p-f0d46e61.entry.js +0 -1
- package/dist/tegel/p-f841f094.entry.js +0 -1
- package/dist/tegel/p-ff5cd75f.entry.js +0 -1
- package/dist/cjs/{isHeadingElement-4f06b688.js → getPreviousNestedChildOfSiblingsMatching-4e700df1.js} +12 -12
- package/dist/esm/{isHeadingElement-8efea284.js → getPreviousNestedChildOfSiblingsMatching-a6fcb512.js} +12 -12
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as o,g as e}from"./p-2049fab2.js";const h=class{constructor(i){t(this,i),this.tdsChange=s(this,"tdsChange",7),this.navWrapperElement=null,this.componentWidth=0,this.buttonsWidth=0,this.scrollWidth=0,this.clickHandlers=new WeakMap,this.addResizeObserver=()=>{new ResizeObserver((t=>{t.forEach((t=>{const s=t.contentRect.width;let i=0;Array.from(this.host.children).forEach((t=>{const s=window.getComputedStyle(t);i+=t.clientWidth+parseFloat(s.marginLeft)+parseFloat(s.marginRight)})),this.componentWidth=s,this.buttonsWidth=i,this.scrollWidth=i-s,this.updateScrollButtons()}))})).observe(this.navWrapperElement)},this.addEventListenerToTabs=()=>{this.children=Array.from(this.host.children),this.children.map(((t,s)=>{const i=()=>{t.disabled||this.tdsChange.emit({selectedTabIndex:this.children.indexOf(t)}).defaultPrevented||(this.children.forEach((t=>t.setSelected(!1))),t.setSelected(!0),this.selectedIndex=s)};return t.addEventListener("click",i),this.clickHandlers.set(t,i),t}))},this.removeEventListenerFromTabs=()=>{this.children.forEach((t=>{const s=this.clickHandlers.get(t);s&&(t.removeEventListener("click",s),this.clickHandlers.delete(t))}))},this.modeVariant="primary",this.defaultSelectedIndex=0,this.selectedIndex=void 0,this.leftPadding=32,this.showLeftScroll=!1,this.showRightScroll=!1}async selectTab(t){if(t<0||t>=this.children.length)throw new Error("Tab index out of bounds");return this.children=Array.from(this.host.children),this.children[t].disabled||(this.children.forEach((t=>t.setSelected(!1))),this.children=this.children.map(((s,i)=>(i===t&&(s.setSelected(!0),this.selectedIndex=t),s)))),{selectedTabIndex:this.selectedIndex}}async reinitialize(){this.handleSlotChange()}handleSelectedIndexUpdate(){this.children=Array.from(this.host.children).map((t=>(t.setSelected(!1),t))),this.children[this.selectedIndex].setSelected(!0)}scrollRight(){this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft+this.buttonsWidth,this.evaluateScrollButtons()}scrollLeft(){this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft-this.buttonsWidth,this.evaluateScrollButtons()}evaluateScrollButtons(){const t=this.navWrapperElement.scrollLeft;this.showRightScroll=t<=this.scrollWidth,this.showLeftScroll=t>0}initializeTabs(){this.children=Array.from(this.host.children),this.children.forEach((t=>{t.classList.remove("last"),t.classList.remove("first")})),this.children[0].classList.add("first"),this.children[this.children.length-1].classList.add("last")}initializeSelectedTab(){void 0===this.selectedIndex?(this.addEventListenerToTabs(),this.children[this.defaultSelectedIndex].setSelected(!0),this.selectedIndex=this.defaultSelectedIndex):this.children[this.selectedIndex].setSelected(!0),this.tdsChange.emit({selectedTabIndex:this.selectedIndex})}updateScrollButtons(){this.buttonsWidth>this.componentWidth?this.evaluateScrollButtons():(this.showLeftScroll=!1,this.showRightScroll=!1)}applyCustomLeftPadding(){this.navWrapperElement&&(this.navWrapperElement.style.paddingLeft=`${this.leftPadding}px`)}handleSlotChange(){this.initializeTabs(),this.addEventListenerToTabs(),this.initializeSelectedTab(),this.updateScrollButtons(),this.addResizeObserver(),this.applyCustomLeftPadding()}connectedCallback(){this.initializeTabs()}componentDidLoad(){this.initializeSelectedTab()}componentDidRender(){this.updateScrollButtons(),this.addResizeObserver()}disconnectedCallback(){this.removeEventListenerFromTabs()}render(){return i(o,{key:"71f42e22f75a1fe4ca4f906b2151ed1a4c324e51",role:"list",class:this.modeVariant?`tds-mode-variant-${this.modeVariant}`:""},i("div",{key:"33e457be72862e642f2a867243f6325f94d210e8",class:"wrapper",ref:t=>{this.navWrapperElement=t},style:{paddingLeft:`${this.leftPadding}px`}},i("button",{key:"786a1655c5efe5f2a079c62cb89300a99149c3fb",class:"scroll-left-button "+(this.showLeftScroll?"show":""),onClick:()=>this.scrollLeft(),disabled:!this.showLeftScroll},i("tds-icon",{key:"df2f3798cb6cb4ea446932cdf8ce84ac068c57ff",name:"chevron_left",size:"20px"})),i("slot",{key:"b5e14ca573a2ac7a4e20defd05b412a941e72f0b",onSlotchange:()=>this.handleSlotChange()}),i("button",{key:"da0b823e674c5eacd325f69e98e14f4def9c477f",class:"scroll-right-button "+(this.showRightScroll?"show":""),onClick:()=>this.scrollRight(),disabled:!this.showRightScroll},i("tds-icon",{key:"2bdd7110bb4b22c4dfabc1a5ef2acf9e7592b9b9",name:"chevron_right",size:"20px"}))))}get host(){return e(this)}static get watchers(){return{selectedIndex:["handleSelectedIndexUpdate"]}}};h.style=':host{box-sizing:border-box;display:flex;background-color:var(--tds-inline-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:" ";display:block;border-bottom:1px solid var(--tds-inline-tabs-horizontal-divider-background);opacity:var(--tds-inline-tabs-horizontal-divider-opacity);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none;gap:16px}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:1}:host .scroll-left-button{left:0;z-index:1}:host .scroll-right-button,:host .scroll-left-button{color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-inline-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}';export{h as tds_inline_tabs}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as a,H as e}from"./p-2049fab2.js";const s=class{constructor(a){r(this,a),this.getIconName=()=>{switch(this.variant){case"information":default:return"info";case"error":return"error";case"warning":return"warning";case"success":return"tick"}},this.header=void 0,this.modeVariant=null,this.variant="information",this.noIcon=!1,this.minimal=!1}render(){return a(e,{key:"b270c0935bf7eb09d16df32854c5a9411a78fba9"},a("div",{key:"668d8a6a940ce0f972c2398d063640b38e307219",class:`\n wrapper ${this.variant}\n ${this.minimal?"minimal":""}\n ${null!==this.modeVariant?`tds-mode-variant-${this.modeVariant}`:""}`},!this.noIcon&&a("tds-icon",{key:"bfa6b4c85c649cd3cff00eb121ba9df08b02d65f",name:this.getIconName(),size:"20px"}),a("div",{key:"4239603ea7d58ed79ea6bb4cf212d4405204b2a6",class:"content"},this.header&&a("div",{key:"5c8ad00a65d6310a86a353580e98e45b056c9a96",class:"header"},this.header),!this.minimal&&a("div",{key:"d0087a45aa622374dfcc1b6d791a82b0c14b64cf",class:"extended-message"},a("slot",{key:"8fdfd7079bc6473ea8d8eff72874827f3f9bcae1"})))))}};s.style=":host .wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--tds-information)}:host .wrapper.information tds-icon{color:var(--tds-information)}:host .wrapper.success{border-left:4px solid var(--tds-positive)}:host .wrapper.success tds-icon{color:var(--tds-positive)}:host .wrapper.error{background-color:var(--tds-message-type-error-background);border-left:4px solid var(--tds-negative)}:host .wrapper.error tds-icon{color:var(--tds-negative)}:host .wrapper.warning{border-left:4px solid var(--tds-warning)}:host .wrapper.warning tds-icon{color:var(--tds-warning)}:host .wrapper.minimal{border:none;display:flex;align-items:center;padding:0;background-color:transparent}:host .wrapper.minimal .header{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .wrapper.minimal.error .header{color:var(--tds-negative)}:host tds-icon{padding-right:16px}:host .content{display:flex;flex-direction:column;gap:4px;color:var(--tds-message-color);padding:2px 0}:host .content .header{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls)}:host .content .extended-message{color:var(--tds-message-color);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .tds-mode-variant-primary{--tds-message-background:var(--tds-message-background-primary)}:host .tds-mode-variant-secondary{--tds-message-background:var(--tds-message-background-secondary)}";export{s as tds_message}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as o,g as d}from"./p-2049fab2.js";const s=["multiselect","expandableRows","zebraMode"],a=class{constructor(e){t(this,e),this.bodyCheckBoxClicked=()=>{const t=this.host.getElementsByClassName("tds-table__row").length,e=this.host.getElementsByClassName("tds-table__row--selected").length;this.mainCheckboxStatus=t===e},this.multiselect=!1,this.enablePaginationTableBody=!1,this.expandableRows=!1,this.multiselectArray=[],this.multiselectArrayJSON=void 0,this.mainCheckboxStatus=!1,this.columnsNumber=0,this.zebraMode="none",this.tableId=""}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>s.includes(t))).forEach((e=>{if(void 0===this[e])throw new Error(`Table prop is not supported: ${e}`);this[e]=t.detail[e]}))}bodyCheckboxListener(){this.bodyCheckBoxClicked()}connectedCallback(){this.tableEl=this.host.closest("tds-table"),this.tableId=this.tableEl.tableId}componentWillLoad(){s.forEach((t=>{this[t]=this.tableEl[t]}))}componentWillRender(){const t=this.host.parentElement.querySelector("tds-table-header").children.length;this.columnsNumber=this.multiselect||this.expandableRows?t+1:t}render(){return e(o,{key:"0e5ac81e32535901ac4940316a474472368cca86","data-selected-rows":this.multiselectArrayJSON,class:{"tds-table--zebra-mode-rows-odd":"rows-odd"===this.zebraMode,"tds-table--zebra-mode-rows-even":"rows-even"===this.zebraMode,"tds-table--zebra-mode-columns-odd":"columns-odd"===this.zebraMode,"tds-table--zebra-mode-columns-even":"columns-even"===this.zebraMode}},e("slot",{key:"c43f3047fc836b0d7f147e00680befd56b25721c"}))}get host(){return d(this)}};a.style=":host,tds-table-body{box-sizing:border-box;display:table-row-group}:host *,tds-table-body *{box-sizing:border-box}:host .tds-table__info-message,tds-table-body .tds-table__info-message{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:table-cell;box-sizing:border-box;color:var(--tds-table-color);padding:var(--tds-spacing-element-16);min-width:192px;vertical-align:top;background-color:transparent;transition:background-color 200ms ease}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd):hover{background-color:var(--tds-table-body-row-background-hover)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even):hover{background-color:var(--tds-table-body-row-background-hover)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell:nth-child(odd){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell.tds-table__body-cell--hover:nth-child(odd){background-color:var(--tds-table-body-cell-background-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell:nth-child(even){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell.tds-table__body-cell--hover:nth-child(even){background-color:var(--tds-table-body-cell-background-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-table-body-row:hover tds-body-cell,tds-table-body.tds-table--zebra-mode-columns-odd tds-table-body-row:hover tds-body-cell{background-color:transparent}";export{a as tds_table_body}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as o,H as t}from"./p-2049fab2.js";const s=class{constructor(o){e(this,o),this.disabled=!1}render(){return o(t,{key:"efdc72f869be19ff2d96dbb2e88610d69011a6ee",role:"listitem"},o("div",{key:"9313583023cc2cf6d21454e979f37de83030476a",class:{wrapper:!0,disabled:this.disabled}},o("slot",{key:"a12d405a1bc0f1e5ddc75d52c25a8ca0b53d6427"})))}};s.style=':host{box-sizing:border-box;display:block}:host *{box-sizing:border-box}:host .wrapper{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-popover-menu-color);position:relative;width:100%;display:flex;align-items:center}:host .wrapper:hover{cursor:pointer;background-color:var(--tds-popover-menu-background-hover)}:host .wrapper.disabled{pointer-events:none;color:var(--tds-popover-menu-divider-disabled-color)}:host .wrapper.disabled ::slotted(tds-icon){color:var(--tds-popover-menu-divider-disabled-icon-color)}:host ::slotted(*:not(tds-icon)){all:unset;width:100%;display:inline-flex;display:flex;align-items:center;gap:10px;padding:10px 16px}:host ::slotted(*:focus-visible)::before{z-index:-1;content:"";display:block;position:absolute;width:calc(100% - 4px);height:100%;top:0;left:2px;outline:1px solid var(--tds-blue-400);outline-offset:1px}';export{s as tds_popover_menu_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o,H as e,g as s}from"./p-2049fab2.js";const i=class{constructor(o){t(this,o),this.slotPosition=null,this.topPartGroup=!1,this.titleText=void 0,this.open=!1}connectedCallback(){this.topPartGroup="top"===this.host.parentElement.slot,this.topPartGroup||(this.slotPosition="end"===this.host.parentElement.slot?"end":"start")}render(){return o(e,{key:"b704a9cdc581f94a4680793bccc4da44496fe328"},this.titleText&&this.topPartGroup&&o("div",{key:"630d91ff93d0eeb6c0bc603d9255059bad3b8d33",class:"footer-top-title"},this.titleText),this.titleText&&this.topPartGroup&&o("button",{key:"2a424b0f61fb06b14ae9bb9a611b5264e0854111",onClick:()=>{this.open=!this.open},class:"footer-top-title-button "+(this.open?"expanded":"closed")},this.titleText,o("tds-icon",{key:"ea2d3d26b0c70d6346b71d98753a6e13bf074351",name:"chevron_down",size:"20px"})),o("div",{key:"400c3cf5f39e59fa60f26cba45df02ad8b5da063",role:"list",class:`${this.slotPosition?this.slotPosition:""}\n ${this.topPartGroup?"top-part-child":""}\n ${this.open?"expanded":"closed"}`},o("slot",{key:"38241a0f3b5a343f5074b113168ba97465f7c209"})))}get host(){return s(this)}};i.style=":host{display:block}:host .footer-top-title{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);opacity:var(--tds-footer-top-title-opacity);color:var(--tds-footer-top-links);padding-bottom:8px}:host button.footer-top-title-button{display:none;border:none;width:100%;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links);background-color:transparent;text-align:left;padding:19px 24px;justify-content:space-between;border-bottom:1px solid var(--tds-footer-top-divider)}:host button.footer-top-title-button.expanded{border-bottom:none}:host button.footer-top-title-button.expanded tds-icon{transform:rotateZ(180deg)}:host button.footer-top-title-button:hover{cursor:pointer}:host button.footer-top-title-button:active{background-color:var(--tds-footer-top-button-active)}:host button.footer-top-title-button:focus-visible{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host button.footer-top-title-button tds-icon{transition:transform 0.2s ease-in-out}:host [role=list]{list-style:none;padding:0;margin:0;display:flex;gap:8px}:host [role=list].start,:host [role=list].end{gap:24px}:host [role=list].top-part-child{flex-direction:column}@media all and (max-width: 992px){:host [role=list].start:not(.top-part-child){flex-direction:column}:host [role=list].start:not(.top-part-child).start,:host [role=list].start:not(.top-part-child).end{gap:8px}:host [role=list].top-part-child.closed{display:none}:host [role=list].top-part-child{gap:0}:host .footer-top-title{display:none}:host button.footer-top-title-button{display:flex;align-items:center}}";export{i as tds_footer_group}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as s,g as a}from"./p-2049fab2.js";import{i as c}from"./p-0bd4c19c.js";import"./p-3fe9cbbf.js";const i=class{constructor(t){e(this,t),this.active=!1}render(){this.ariaAttributes=Object.assign(Object.assign({},this.ariaAttributes),c(this.host));const e=Object.assign({},this.ariaAttributes);return t(s,{key:"ee714e05a3585542850f433cd81ed25d95a14070"},t("tds-header-item",{key:"0a7c7b20fa872c1ccd4e0760b9f68743ec6c761f",active:this.active},t("button",Object.assign({key:"1b0c93c04e5206dc47fe3df3a158e16ed624f8e1"},e),t("tds-icon",{key:"11a961f7e11d741108a450ef1a2fa1b22f5520a8",class:"icon",name:"bento",size:"20px"}))))}get host(){return a(this)}};i.style=":host{display:block}:host tds-header-item{display:block}:host .icon{position:relative;margin-left:-6px;left:3px;transition:all 0.2s ease-in-out}";export{i as tds_header_launcher_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as s,H as t,g as d}from"./p-2049fab2.js";const o=class{constructor(s){e(this,s),this.collapsed=!1}collapsedSideMenuEventHandler(e){this.collapsed=e.detail.collapsed}connectedCallback(){var e;this.sideMenuEl=this.host.closest("tds-side-menu"),this.collapsed=null===(e=this.sideMenuEl)||void 0===e?void 0:e.collapsed}render(){return s(t,{key:"87a06385e330eb2d65def2676ff78a09ad87d029",role:"list"},s("div",{key:"284f409bfc8b24cea7047dd631a8895591f18a5c",class:{"state-collapsed":this.collapsed}},s("slot",{key:"fdd823c6bb4fedfe12586edb58805d5588fa07e7"})))}get host(){return d(this)}};o.style=":host{display:block;width:190px}:host [role=list]{padding:0;margin:0;list-style:none;border-radius:none;background-color:var(--tds-header-app-launcher-menu-bg)}:host .state-collapsed ::slotted(*){border-bottom:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}";export{o as tds_side_menu_dropdown_list}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as a,h as e,H as s,g as r}from"./p-2049fab2.js";const o=["compactDesign","noMinWidth","verticalDividers","horizontalScrollWidth"],c=class{constructor(e){t(this,e),this.tdsFilter=a(this,"tdsFilter",7),this.tableTitle="",this.filter=!1,this.verticalDividers=!1,this.compactDesign=!1,this.noMinWidth=!1,this.whiteBackground=!1,this.tableId="",this.horizontalScrollWidth=null}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>o.includes(t))).forEach((a=>{if(void 0===this[a])throw new Error(`Table prop is not supported: ${a}`);this[a]=t.detail[a]}))}connectedCallback(){this.tableEl=this.host.closest("tds-table"),this.tableId=this.tableEl.tableId}componentWillLoad(){o.forEach((t=>{this[t]=this.tableEl[t]}))}handleSearch(t){const a=t.currentTarget.value.toLowerCase(),e=t.currentTarget.parentElement;this.tdsFilter.emit({tableId:this.tableId,query:a}),a.length>0?e.classList.add("tds-table__searchbar--active"):e.classList.remove("tds-table__searchbar--active")}getStyles(){const t={};return this.horizontalScrollWidth&&(t.width=`${this.horizontalScrollWidth}px`),t}render(){return e(s,{key:"c3488722c0a27313efa13acafeab81ca23c6c765",class:{"tds-table--compact":this.compactDesign,"toolbar__horizontal-scroll":!!this.horizontalScrollWidth},style:this.getStyles()},e("div",{key:"688e2903c9b447cb0770a8ee15dc8d1c4d3608d3",class:"tds-table__upper-bar-flex"},e("caption",{key:"a9c57a3b3cdbc61d7176163310cd8acda8ed58a2",class:"tds-table__title"},this.tableTitle),e("div",{key:"ae28004762b94923faa433a9f13245ab8595493b",class:"tds-table__actionbar"},this.filter&&e("div",{key:"0d85e682ee8a733fc61df0855ed1a56bd7356069",class:"tds-table__searchbar"},e("input",{key:"50b9c945f34cb13d440ed448f8be58ea2900f9f7",class:"tds-table__searchbar-input",type:"text",onKeyUp:t=>this.handleSearch(t)}),e("span",{key:"eff520922329f0379f22cb31171b81887c6bbdf7",class:"tds-table__searchbar-icon"},e("tds-icon",{key:"09c7d084aed40ec2a3a25dc1ca86d978b8ef39ec",name:"search",size:"20px"}))),e("slot",{key:"1b7dc61ec5ec9d5ac7e5ea116cedfd6a773d5628",name:"end"}))))}get host(){return r(this)}};c.style=':host{box-sizing:border-box;display:table-caption;position:relative;background-color:var(--tds-table-toolbar-background);color:var(--tds-table-color);padding:0 var(--tds-spacing-element-16);height:64px;border-top-left-radius:4px;border-top-right-radius:4px}:host *{box-sizing:border-box}:host .tds-table__upper-bar-flex{width:100%;height:100%;display:flex;justify-content:space-between}:host .tds-table__title{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);padding-top:var(--tds-spacing-element-16);text-align:left}:host .tds-table__actionbar,:host slot[name=end]::slotted(*){display:flex;align-self:center}:host .tds-table__searchbar{display:flex;align-self:center;position:relative;height:40px;width:40px;border-radius:4px 4px 0 0;transition:background-color 250ms ease, width 250ms ease;overflow:hidden;background-color:transparent}:host .tds-table__searchbar::after{content:"";width:100%;height:2px;position:absolute;bottom:0;background-color:var(--tds-blue-400);transform:scaleX(0);transition:transform 150ms ease}:host .tds-table__searchbar:focus-within::after{transform:scaleX(100%)}:host .tds-table__searchbar:focus-within,:host .tds-table__searchbar.tds-table__searchbar--active{width:208px;background-color:var(--tds-table-toolbar-searchbar-background)}:host .tds-table__searchbar:focus-within:hover,:host .tds-table__searchbar.tds-table__searchbar--active:hover{background-color:var(--tds-table-toolbar-searchbar-background)}:host .tds-table__searchbar .tds-table__searchbar-input{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-table-color);z-index:1;width:100%;height:100%;border:none;padding:0 36px 0 16px;background-color:transparent;outline:none;cursor:pointer}:host .tds-table__searchbar .tds-table__searchbar-input :focus{background-color:var(--tds-table-toolbar-searchbar-background)}:host .tds-table__searchbar:hover{background-color:var(--tds-table-toolbar-searchbar-background-hover)}:host .tds-table__searchbar .tds-table__searchbar-icon{z-index:0;position:absolute;right:9px;top:9px;width:20px;height:20px}:host(.toolbar__horizontal-scroll){position:absolute;top:var(--tds-spacing-element-16)}:host(.tds-table--compact){height:56px}';export{c as tds_table_toolbar}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as a,H as d,g as s}from"./p-2049fab2.js";import{g as o}from"./p-11648030.js";const l=["verticalDividers","compactDesign","noMinWidth","modeVariant"],i=class{constructor(a){t(this,a),this.internalTdsRowExpanded=e(this,"internalTdsRowExpanded",6),this.tdsChange=e(this,"tdsChange",6),this.colSpan=null,this.rowId=o(),this.expanded=void 0,this.overflow="auto",this.autoCollapse=!1,this.isExpanded=!1,this.tableId="",this.columnsNumber=null,this.verticalDividers=!1,this.compactDesign=!1,this.noMinWidth=!1,this.modeVariant=null}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>l.includes(t))).forEach((e=>{if(void 0===this[e])throw new Error(`Table prop is not supported: ${e}`);this[e]=t.detail[e]}))}handleRowExpand(t){this.autoCollapse&&t.detail.isExpanded&&t.detail.rowId!==this.rowId&&t.detail.tableId===this.tableId&&this.collapse()}watchExpanded(t){t!==this.isExpanded&&(this.isExpanded=t,this.tdsChange.emit({rowId:this.rowId,isExpanded:this.isExpanded,tableId:this.tableId}))}async expand(){this.isExpanded=!0,this.tdsChange.emit({rowId:this.rowId,isExpanded:this.isExpanded,tableId:this.tableId})}async collapse(){this.isExpanded=!1,this.tdsChange.emit({rowId:this.rowId,isExpanded:this.isExpanded,tableId:this.tableId})}connectedCallback(){void 0!==this.expanded&&(this.isExpanded=this.expanded),this.tableEl=this.host.closest("tds-table"),this.tableId=this.tableEl.tableId}componentWillLoad(){l.forEach((t=>{this[t]=this.tableEl[t]}))}componentWillRender(){this.columnsNumber=null!==this.colSpan?this.colSpan:this.tableEl.querySelector("tds-table-header").childElementCount+1}sendValue(){this.internalTdsRowExpanded.emit([this.tableId,this.isExpanded]),this.tdsChange.emit({rowId:this.rowId,isExpanded:this.isExpanded,tableId:this.tableId})}onChangeHandler(t){this.isExpanded=!0===t.currentTarget.checked,this.sendValue()}render(){return a(d,{key:"802679e89bc19447faa87010bd47d17447c08aca",class:{"tds-table__row":!0,"tds-table__row-expand--active":this.isExpanded,"tds-table__compact":this.compactDesign,"tds-table--divider":this.verticalDividers}},a("tr",{key:"1c089710478c5effb5f6eb727e22879a80e9003d",class:{"tds-table__row":!0,"tds-table__row--expanded":this.isExpanded},part:"row"},a("td",{key:"6f2b7ad6cffef0c33b9cc177e423eb3edbb5b806",class:{"tds-table__cell-expand":!0}},a("label",{key:"bfe1cc4c8bb91c3e50b1cc3abb823ce22a8c8cad",class:"tds-table__expand-control-container"},a("input",{key:"65be9c515bccfa2bd42dfdfa869b764ca863d009",class:"tds-table__expand-input",type:"checkbox",onChange:t=>this.onChangeHandler(t),checked:this.isExpanded}),a("span",{key:"fbf0df316c42061b1800c2db37a26ba6114a2037",class:"tds-expendable-row-icon"},a("svg",{key:"26057fa763a2debe0ef180c4e7d7e96fdd4a08a7",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},a("path",{key:"4d66ac5c686c5c0c9ba3a02dff9d7a89f5f15e1a","fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.273 9.783a1 1 0 0 1 1.415 0l9.888 9.888a.6.6 0 0 0 .848 0l9.888-9.888a1 1 0 1 1 1.415 1.414l-9.889 9.889a2.6 2.6 0 0 1-3.677 0l-9.888-9.889a1 1 0 0 1 0-1.414Z",fill:"currentColor"}))))),a("slot",{key:"b6b611bc514d9e3e74b7c275c407da8d7b1a5ef4"})),a("tr",{key:"8cb106ff4e548936195a6ffbb18739a07cd17ad1",class:{"tds-table__row-expand":!0,"tds-table__row-expand--expanded":this.isExpanded},part:"expand-row"},a("td",{key:"248e880b6793a6a36eb738646a07d82d91e15e8b",class:{"tds-table__cell-expand":!0,"tds-table__cell-expand--overflow-hidden":"hidden"===this.overflow,"tds-table__cell-expand--overflow-visible":"visible"===this.overflow},part:"expand-row-cell",colSpan:this.columnsNumber},a("div",{key:"7489853de5d7a2cbe0168f7e873f7bb0be01a215",style:{overflow:this.overflow}},a("slot",{key:"3f4d7715c224969fb2d798432019c3e45685731f",name:"expand-row"})))))}get host(){return s(this)}static get watchers(){return{expanded:["watchExpanded"]}}};i.style=":host{box-sizing:border-box;display:contents}:host *{box-sizing:border-box}:host .tds-table__row,:host .tds-table__row-extend{display:table-row;border-bottom:1px solid var(--tds-table-divider);background-color:var(--tds-table-body-row-background);transition:background-color 200ms ease;color:var(--tds-table-color)}:host .tds-table__row--expanded{border-bottom:none}:host .tds-table__row:hover,:host .tds-table__row-extend:hover{background-color:var(--tds-table-body-row-background-hover)}:host .tds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:46px;cursor:pointer;padding:0 16px;position:relative}:host .tds-table__expand-control-container .tds-table__expand-input{all:unset;top:0;left:0;width:100%;height:100%;position:absolute;cursor:pointer}:host .tds-table__expand-control-container .tds-table__expand-input:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .tds-table__expand-control-container .tds-expendable-row-icon{height:16px;width:16px;transition:transform 200ms ease;transform:rotate(0)}:host .tds-table__row-expand{display:none;transition:background-color 200ms ease}:host .tds-table__row-expand--expanded{border-bottom:1px solid var(--tds-table-divider)}:host .tds-table__row-expand .tds-table__cell-expand{max-width:1px;overflow:auto;padding:16px 16px 16px 66px;color:var(--tds-table-color)}:host .tds-table__row-expand .tds-table__cell-expand--overflow-visible{overflow:visible}:host .tds-table__row-expand .tds-table__cell-expand--overflow-hidden{overflow:hidden}:host(.tds-table__row-expand--active) .tds-table__row{background-color:var(--tds-table-body-row-background-selected)}:host(.tds-table__row-expand--active) .tds-table__expand-control-container .tds-expendable-row-icon{transform:rotate(180deg)}:host(.tds-table__row-expand--active) .tds-table__row-expand{background-color:var(--tds-table-body-row-background-selected);display:table-row}:host(.tds-table__compact) .tds-table__expand-control-container{height:30px}:host(.tds-table__compact) .tds-table__row-expand .tds-table__cell-expand{padding:8px 16px 8px 66px}:host(.tds-table__row--hidden){display:none}:host(.tds-table--divider) .tds-table__cell--expand{border-right:1px solid var(--tds-table-divider)}";export{i as tds_table_body_row_expandable}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as s,g as o}from"./p-2049fab2.js";import{i as r}from"./p-0bd4c19c.js";import"./p-3fe9cbbf.js";const d=class{constructor(t){e(this,t)}render(){const e=Object.assign({"aria-label":"Close"},r(this.host));return t(s,{key:"1dff25b895f341657373ab020116e5c4c0f7af67"},t("button",Object.assign({key:"e2c3af974cfc7f9c9e0ec5b64c199fcda0408279"},e),t("tds-icon",{key:"aa56689766fe0c49e8d8d591c9f741a24dd85cc8",name:"cross",size:"20px"})))}get host(){return o(this)}};d.style=":host button{height:64px;width:100%;text-align:left;padding:0 24px;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);display:flex;align-items:center;border-bottom:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}:host button:hover{cursor:pointer;background-color:var(--tds-sidebar-item-state-hover)}:host button:focus-visible{cursor:pointer;border:1px solid var(--tds-sidebar-side-menu-single-subitem-selected-border-color)}";export{d as tds_side_menu_close_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as e,g as o}from"./p-2049fab2.js";const h=class{constructor(i){t(this,i),this.tdsChange=s(this,"tdsChange",7),this.navWrapperElement=null,this.componentWidth=0,this.buttonsWidth=0,this.scrollWidth=0,this.clickHandlers=new WeakMap,this.addResizeObserver=()=>{new ResizeObserver((t=>{t.forEach((t=>{const s=t.contentRect.width;let i=0;Array.from(this.host.children).forEach((t=>{const s=window.getComputedStyle(t);i+=t.clientWidth+parseFloat(s.marginLeft)+parseFloat(s.marginRight)})),this.componentWidth=s,this.buttonsWidth=i,this.scrollWidth=i-s,this.updateScrollButtons()}))})).observe(this.navWrapperElement)},this.addEventListenerToTabs=()=>{this.children=Array.from(this.host.children),this.children.map(((t,s)=>{const i=()=>{t.disabled||this.tdsChange.emit({selectedTabIndex:this.children.indexOf(t)}).defaultPrevented||(this.children.forEach((t=>t.setSelected(!1))),t.setSelected(!0),this.selectedIndex=s)};return t.addEventListener("click",i),this.clickHandlers.set(t,i),t}))},this.removeEventListenerFromTabs=()=>{this.children.forEach((t=>{const s=this.clickHandlers.get(t);s&&(t.removeEventListener("click",s),this.clickHandlers.delete(t))}))},this.modeVariant=null,this.defaultSelectedIndex=0,this.selectedIndex=void 0,this.buttonWidth=0,this.showLeftScroll=!1,this.showRightScroll=!1}async selectTab(t){if(t<0||t>=this.children.length)throw new Error("Tab index out of bounds");return this.children[t].disabled||(this.children.forEach((t=>t.setSelected(!1))),this.children=this.children.map(((s,i)=>(i===t&&(s.setSelected(!0),this.selectedIndex=t),s)))),{selectedTabIndex:this.selectedIndex}}async reinitialize(){this.handleSlotChange()}handleSelectedIndexUpdate(){this.children=Array.from(this.host.children).map((t=>(t.setSelected(!1),t))),this.children[this.selectedIndex].setSelected(!0)}scrollRight(){this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft+this.buttonsWidth,this.evaluateScrollButtons()}scrollLeft(){this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft-this.buttonsWidth,this.evaluateScrollButtons()}evaluateScrollButtons(){const t=this.navWrapperElement.scrollLeft;this.showRightScroll=t<=this.scrollWidth,this.showLeftScroll=t>0}initializeTabs(){this.children=Array.from(this.host.children),this.children.forEach((t=>{t.classList.remove("last"),t.classList.remove("first")})),this.children[0].classList.add("first"),this.children[this.children.length-1].classList.add("last")}initializeSelectedTab(){void 0===this.selectedIndex?(this.addEventListenerToTabs(),this.children[this.defaultSelectedIndex].setSelected(!0),this.selectedIndex=this.defaultSelectedIndex):this.children[this.selectedIndex].setSelected(!0),this.tdsChange.emit({selectedTabIndex:this.selectedIndex})}updateScrollButtons(){this.buttonsWidth>this.componentWidth?this.evaluateScrollButtons():(this.showLeftScroll=!1,this.showRightScroll=!1)}handleSlotChange(){this.initializeTabs(),this.addEventListenerToTabs(),this.initializeSelectedTab(),this.updateScrollButtons(),this.addResizeObserver()}connectedCallback(){this.initializeTabs()}componentDidLoad(){this.initializeSelectedTab()}componentDidRender(){this.updateScrollButtons(),this.addResizeObserver()}disconnectedCallback(){this.removeEventListenerFromTabs()}render(){return i(e,{key:"3164044436f7029d85c4eed0ff7e0cc2b4e35752",role:"list",class:this.modeVariant?`tds-mode-variant-${this.modeVariant}`:""},i("div",{key:"59beaa0776ff83a30e84b69c5715a2f0d62ec6d9",class:"wrapper",ref:t=>{this.navWrapperElement=t}},i("button",{key:"0bd461d469592983e08043c23e295c21df04c80f",class:"scroll-left-button "+(this.showLeftScroll?"show":""),disabled:!this.showLeftScroll,onClick:()=>this.scrollLeft()},i("tds-icon",{key:"d21448eea9cab4d73087fec72d29270b52bf0999",name:"chevron_left",size:"20px"})),i("slot",{key:"efe348a98b964486a73d1aac235ce894277c6249",onSlotchange:()=>this.handleSlotChange()}),i("button",{key:"ea819f59668994e328410941b5b7455620ecb321",class:"scroll-right-button "+(this.showRightScroll?"show":""),disabled:!this.showRightScroll,onClick:()=>this.scrollRight()},i("tds-icon",{key:"c52241bb7c77eabbdb8de5a19bb4400c32aa2062",name:"chevron_right",size:"20px"}))))}get host(){return o(this)}static get watchers(){return{selectedIndex:["handleSelectedIndexUpdate"]}}};h.style=":host{box-sizing:border-box;overflow:hidden;outline:0}:host *{box-sizing:border-box}:host .wrapper{display:flex;overflow-x:scroll;scrollbar-width:none;position:relative}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{z-index:1;right:0}:host .scroll-left-button{z-index:1;left:0}:host .scroll-right-button,:host .scroll-left-button{height:50px;color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-folder-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";export{h as tds_folder_tabs}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as o,g as i}from"./p-2049fab2.js";const s={orientation:"orientation",labelPosition:"labelPosition",size:"size",hideLabels:"hideLabels"},r=class{constructor(e){t(this,e),this.index=void 0,this.state="upcoming",this.hideLabels=void 0,this.size=void 0,this.orientation=void 0,this.labelPosition=void 0}componentWillLoad(){this.stepperEl=this.el.closest("tds-stepper"),this.orientation=this.stepperEl.orientation,this.labelPosition=this.stepperEl.labelPosition,this.size=this.stepperEl.size,this.hideLabels=this.stepperEl.hideLabels,this.stepperId=this.stepperEl.stepperId}handlePropsChange(t){this.stepperId===t.detail.stepperId&&t.detail.changed.forEach((e=>{if(void 0===this[e])throw new Error(`Stepper prop is not supported: ${e}`);e in s&&(this[s[e]]=t.detail[e])}))}render(){return e(o,{key:"6c7a2673bbe13e518f2052cac2b8bcc948c7c5ea"},e("div",{key:"7df6c87c7743fcd539abcbde7c2396ba8d7fa4d6",role:"listitem",class:`${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels?"hide-labels":""}`},e("span",{key:"b2902e638345c79401405b9c16dd6f4d196c8bac",class:`${this.state} content-container`},"success"===this.state||"error"===this.state?e("tds-icon",{class:"tds-step-icon",name:"success"===this.state?"tick":"warning",size:"lg"===this.size?"20px":"16px"}):e("span",{class:"index-container"},this.index)),!this.hideLabels&&e("div",{key:"b35127501be3ab9cc6f3bf0b9f54709f0d98ec36",class:`label ${this.size} ${this.state}`},e("slot",{key:"43499d45d42401e384b8c9f20885873d23351110",name:"label"}))))}get el(){return i(this)}};r.style=':host{position:relative;display:table-cell}:host [role=listitem]{display:flex;justify-content:start;flex-direction:row;align-items:center;gap:8px}:host [role=listitem].text-below{flex-direction:column}:host [role=listitem].lg{padding:0 20px;font:var(--tds-detail-01);letter-spacing:var(--tds-detail-01-ls)}:host [role=listitem].lg .content-container{height:30px;min-width:30px}:host [role=listitem].lg .content-container tds-icon{vertical-align:bottom}:host [role=listitem].lg .content-container .index-container{vertical-align:sub}:host [role=listitem].lg.vertical::after{content:" ";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:36px;width:1px;top:40px;left:36px}:host [role=listitem].lg.horizontal::after{content:" ";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;left:calc(50% + 24px);right:0;top:18px}:host [role=listitem].lg.horizontal::before{content:" ";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;right:calc(50% + 24px);left:0;top:18px}:host [role=listitem].lg.horizontal.text-aside:not(.hide-labels)::after{content:" ";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;top:16px;width:10px;left:auto;right:-10px}:host [role=listitem].lg.horizontal.text-aside:not(.hide-labels)::before{content:" ";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;top:16px;width:10px;left:-10px;right:auto}:host [role=listitem].sm{padding:0 20px;font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls)}:host [role=listitem].sm .index-container{vertical-align:-webkit-baseline-middle;vertical-align:-moz-middle-with-baseline}:host [role=listitem].sm .content-container{height:24px;min-width:24px}:host [role=listitem].sm .tds-step-icon{vertical-align:-webkit-baseline-middle;vertical-align:-moz-middle-with-baseline;margin-top:-2px}:host [role=listitem].sm.vertical::after{content:" ";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:20px;width:1px;top:34px;left:32px}:host [role=listitem].sm.vertical::before{content:" ";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:20px;width:1px;top:34px;left:32px}:host [role=listitem].sm.horizontal::after{content:" ";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;left:calc(50% + 16px + 8px);right:0;top:13px}:host [role=listitem].sm.horizontal::before{content:" ";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;left:0;right:calc(50% + 24px);top:13px}:host [role=listitem].sm.horizontal.text-aside:not(.hide-labels)::after{content:" ";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;top:13px;width:10px;left:auto;right:-10px}:host [role=listitem].sm.horizontal.text-aside:not(.hide-labels)::before{content:" ";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;top:13px;width:10px;left:-10px;right:auto}:host [role=listitem] .content-container{border-radius:100px;border:1px solid var(--tds-stepper-icon-background);text-align:center;position:relative}:host [role=listitem] .content-container.error{border-color:var(--tds-negative);color:var(--tds-negative)}:host [role=listitem] .content-container.success{background-color:var(--tds-positive);border-color:var(--tds-positive);color:var(--tds-white)}:host [role=listitem] .content-container.upcoming{background-color:transparent;border-color:var(--tds-stepper-label-border-color-upcoming);color:var(--tds-stepper-label-text-color-upcoming);opacity:var(--tds-stepper-label-text-opacity-upcoming)}:host [role=listitem] .label{text-align:center}:host [role=listitem] .label.lg{font:var(--tds-detail-01);letter-spacing:var(--tds-detail-01-ls)}:host [role=listitem] .label.sm{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls)}:host [role=listitem] .label.upcoming{color:var(--tds-stepper-label-text-color-upcoming);opacity:var(--tds-stepper-label-text-opacity-upcoming)}:host(:last-of-type) [role=listitem].horizontal{padding-right:0}:host(:last-of-type) [role=listitem].sm::after,:host(:last-of-type) [role=listitem].lg::after{display:none}:host(:last-of-type) [role=listitem].sm.vertical::before{display:none}:host(:first-of-type) [role=listitem].horizontal{padding-left:0}:host(:first-of-type) [role=listitem].sm::before,:host(:first-of-type) [role=listitem].lg::before{display:none}';export{r as tds_step}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as t,g as e}from"./p-2049fab2.js";const a=class{constructor(t){s(this,t)}render(){var s;return null===(s=this.host.children[this.host.children.length-1])||void 0===s||s.classList.add("last"),t("nav",{key:"3f11a51e2918aadfeebe11c6254264f807dcb919"},t("div",{key:"de74067b415ca8a3b46f230840cb3ca18d81fbb1",role:"list",class:"tds-breadcrumb"},t("slot",{key:"81fa5a70cba9e85c7c567193bb035e0d338f97fd"})))}get host(){return e(this)}};a.style=":host{box-sizing:border-box}:host *{box-sizing:border-box}:host [role=list]{padding:0;margin:0;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:flex;flex-wrap:wrap;list-style-type:none}";export{a as tds_breadcrumbs}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as d,h as a,H as t,g as r}from"./p-2049fab2.js";import{g as s}from"./p-11648030.js";import{h as i}from"./p-ae110fc2.js";const o=class{constructor(t){e(this,t),this.tdsClick=d(this,"tdsClick",6),this.handleClick=()=>{this.tdsClick.emit({cardId:this.cardId})},this.getCardHeader=()=>{const e=i("header",this.host),d=i("subheader",this.host),t=i("thumbnail",this.host);return a("div",{class:"card-header"},t&&a("slot",{name:"thumbnail"}),a("div",{class:"header-subheader"},this.header&&a("span",{class:"header"},this.header),e&&a("slot",{name:"header"}),this.subheader&&a("span",{class:"subheader"},this.subheader),d&&a("slot",{name:"subheader"})))},this.getCardContent=()=>{const e=i("body",this.host),d=i("body-image",this.host),t=i("actions",this.host);return a("div",{class:this.stretch&&"stretch"},"below-header"===this.imagePlacement&&this.getCardHeader(),a("div",{class:"card-body"},d&&a("slot",{name:"body-image"}),this.bodyImg&&a("img",{class:"card-body-img",src:this.bodyImg,alt:this.bodyImgAlt}),"above-header"===this.imagePlacement&&this.getCardHeader(),this.bodyDivider&&a("tds-divider",null),e&&a("slot",{name:"body"})),t&&a("slot",{name:"actions"}))},this.modeVariant=null,this.imagePlacement="below-header",this.header=void 0,this.subheader=void 0,this.bodyImg=void 0,this.bodyImgAlt=void 0,this.bodyDivider=!1,this.clickable=!1,this.stretch=!1,this.cardId=s()}render(){return a(t,{key:"d777b6ef9815b43c55749ff8a03ef5d8cb21cf74",class:this.modeVariant&&`tds-mode-variant-${this.modeVariant}`},this.clickable?a("button",{class:`card ${this.clickable?"clickable":""} ${this.stretch?`${this.imagePlacement}-stretch`:this.imagePlacement}`,onClick:()=>{this.clickable&&this.handleClick()}},this.getCardContent()):a("div",{class:`card ${this.clickable?"clickable":""} ${this.stretch?`${this.imagePlacement}-stretch`:this.imagePlacement}`},this.getCardContent()))}get host(){return r(this)}};o.style=".card{box-sizing:border-box;box-shadow:var(--tds-card-box);background-color:var(--tds-card-background);display:block;border-radius:4px;overflow:hidden}.card *{box-sizing:border-box}.card.clickable:hover{box-shadow:var(--tds-card-box-hover);cursor:pointer}.card .card-header{font:var(--tds-headline-06);letter-spacing:var(--tds-headline-06-ls);padding:16px;display:flex;align-items:center}.card .card-header slot[name=thumbnail]::slotted(*){width:36px;height:36px;border-radius:100%;margin-right:16px}.card .card-header .card-top-header{padding-left:16px;display:flex;flex-direction:column}.card .card-header .card-top-header.no-header-img{padding-left:0}.card .card-header.below{padding-top:16px}.card .header-subheader{display:flex;flex-direction:column;gap:4px}.card .header-subheader .header,.card .header-subheader slot[name=header]{color:var(--tds-card-headline)}.card .header-subheader .subheader,.card .header-subheader slot[name=subheader]{color:var(--tds-card-sub-headline)}.card .card-body-img{width:100%}.card .tds-divider{margin:16px 16px 0;background-color:var(--tds-card-divider);height:1px}.card .card-body{display:block;word-wrap:break-word}.card slot[name=body]::slotted(*){font:var(--tds-detail-03) !important;letter-spacing:var(--tds-detail-03-ls) !important;color:var(--tds-card-body-color);padding:0 16px;margin-bottom:16px;margin-top:16px;max-width:336px}.card slot[name=actions]::slotted(*){display:flex;padding:16px;color:var(--tds-card-icon-color)}button{width:100%;border:none;text-align:left;padding:0}button:focus-visible{outline:2px solid var(--tds-blue-400);outline-offset:-2px}button:active{box-shadow:var(--tds-card-box-pressed)}.below-header-stretch,.above-header-stretch{display:flex;flex-direction:column}.below-header-stretch .stretch,.above-header-stretch .stretch{display:flex;flex-direction:column;flex-grow:1;width:100%}.below-header-stretch .card-body,.above-header-stretch .card-body{display:flex;flex-direction:column;flex-grow:1}.below-header-stretch .card-body slot[name=body]::slotted(*),.above-header-stretch .card-body slot[name=body]::slotted(*){max-width:unset;flex-grow:1}";export{o as tds_card}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as o,g as a}from"./p-2049fab2.js";const s=class{constructor(o){r(this,o),this.modeVariant=null}setModeVariantOnChildBlocks(){var r;this.children=Array.from(this.host.children).filter((r=>"TDS-BLOCK"===r.tagName)),null===(r=this.children)||void 0===r||r.forEach((r=>{r.setAttribute("mode-variant",this.modeVariant?"primary"===this.modeVariant?"secondary":"primary":"secondary")}))}render(){return this.setModeVariantOnChildBlocks(),o("div",{key:"a40067afde48258475108cb9785555e7c2bd0a47",class:"tds-block "+(null!==this.modeVariant?`tds-mode-variant-${this.modeVariant}`:"")},o("slot",{key:"aaf62c59a3a01a0c41a594c15257e4746a049418"}))}get host(){return a(this)}};s.style=".tds-block{box-sizing:border-box;color:var(--tds-block-color);border-radius:4px;padding:16px;font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls);background-color:var(--tds-block-background)}.tds-block *{box-sizing:border-box}.tds-mode-variant-primary{--tds-block-background:var(--tds-block-background-primary);--tds-block-background-nested:var(--tds-block-background-nested-primary)}.tds-mode-variant-secondary{--tds-block-background:var(--tds-block-background-secondary);--tds-block-background-nested:var(--tds-block-background-nested-secondary)}";export{s as tds_block}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as s,H as a}from"./p-2049fab2.js";const i=class{constructor(s){e(this,s),this.heading=void 0,this.subheading=void 0,this.imgSrc=void 0,this.imgAlt=void 0}render(){return s(a,{key:"061364f66ad366cbfb421fa0609020564bd36e83"},s("tds-side-menu-user-image",{key:"01ae0ecb3a011a6a8f50566dc5b683fb56f8d387",src:this.imgSrc,alt:this.imgAlt},s("slot",{key:"5265cabfa2a7533f7e6c8a9a47b1691f8991d3f0",name:"image"})),s("tds-side-menu-user-label",{key:"525ac1f1593b048c266733e24d5dd3f5632ce197",heading:this.heading,subheading:this.subheading}))}};i.style=":host{display:flex;align-items:center;gap:12px;height:68px}:host tds-side-menu-user-image{margin-left:-4px}";export{i as tds_side_menu_user}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as o,g as s}from"./p-2049fab2.js";import{d}from"./p-52bf0fdf.js";const r=class{constructor(t){e(this,t)}render(){return t(o,{key:"ef3825bce10e5d23e01b4be557014a5c90b8e7de"},t("div",{key:"134696c5345b16dc15dc1940d7d42066597b3a4e",class:"item"},t("slot",{key:"9e8fbe10a25cb6005d2ff03ce00adc5c6cdad495"})))}};r.style=":host{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-header-nav-item-color)}:host .item{all:unset;box-sizing:border-box;display:flex;justify-content:center;align-items:center;min-width:var(--tds-header-height);height:var(--tds-header-height);margin:0}:host .item *{box-sizing:border-box}:host slot{white-space:nowrap}:host ::slotted(svg){font-size:20px}";const a=class{constructor(t){e(this,t),this.active=!1,this.selected=!1}updateSlotted(e,t){const o=this.slotEl.assignedElements({flatten:!0})[0];if(o){const s=d(o,e);s&&t(s)}}updateSlottedElements(){this.slotEl&&(this.updateSlotted((e=>"tds-icon"===e.tagName.toLowerCase()||"svg"===e.tagName.toLowerCase()),(e=>e.classList.add("__tds-header-item-icon"))),this.updateSlotted((e=>"img"===e.tagName.toLowerCase()),(e=>e.classList.add("__tds-header-item-image"))))}componentDidLoad(){this.slotEl=this.host.shadowRoot.querySelector("slot"),this.updateSlottedElements(),this.slotEl.addEventListener("slotchange",this.updateSlottedElements)}render(){return t(o,{key:"d5f256a30d131817e23f428b87a3604e2a299ad6"},t("tds-core-header-item",{key:"d2dc6486839af96bbd10938bf9e03ff50123da4f",class:{"component-active":this.active,"component-selected":this.selected}},t("slot",{key:"a89a44221fe947e4075e6889ed3e3cf8478f6e96"})))}get host(){return s(this)}};a.style=":host ::slotted(button),:host ::slotted(a){all:unset;box-sizing:border-box;background-color:var(--tds-header-background);border-right:1px solid var(--tds-header--basic-element-border);width:100%;height:100%;cursor:pointer;padding:0 24px;display:flex;align-items:center;gap:8px}:host ::slotted(button) *,:host ::slotted(a) *{box-sizing:border-box}:host ::slotted(button:hover),:host ::slotted(a:hover){background-color:var(--tds-header-item-hover)}:host ::slotted(button:focus-visible),:host ::slotted(a:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .component-active ::slotted(button),:host .component-active ::slotted(a){background-color:var(--tds-header--basic-element-background-open);color:var(--tds-header-nav-item-dropdown-opened-color);border-color:var(--tds-header--basic-element-border-open)}:host .component-selected:not(.component-active) ::slotted(button),:host .component-selected:not(.component-active) ::slotted(a){background-color:var(--tds-header--basic-element-background-selected);padding-top:4px;border-bottom-style:solid;border-bottom-width:4px;border-bottom-color:var(--tds-nav-item-border-color-active)}";export{r as tds_core_header_item,a as tds_header_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o,g as e}from"./p-2049fab2.js";const l=class{constructor(o){t(this,o),this.parentIsTopPart=!1}connectedCallback(){this.parentIsTopPart="top"===this.host.closest("tds-footer-group").parentElement.slot}render(){return o("div",{key:"3ec8ab3daa658a8b54735c0b58b6a704da0206b3",role:"listitem",class:this.parentIsTopPart?"top-part-child":""},o("slot",{key:"990ef329bcac600c632e0b7e8eda843e0284c62e"}))}get host(){return e(this)}};l.style="[role=listitem] ::slotted(a),[role=listitem] ::slotted(button){font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-main-links);opacity:var(--tds-footer-main-links-opacity);text-decoration:none}[role=listitem] ::slotted(a:focus-visible),[role=listitem] ::slotted(button:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}[role=listitem] ::slotted(a:hover),[role=listitem] ::slotted(button:hover){text-decoration:underline}[role=listitem].top-part-child ::slotted(a),[role=listitem].top-part-child ::slotted(button){font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links)}[role=listitem].top-part-child ::slotted(a:focus-visible),[role=listitem].top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}@media all and (max-width: 992px){[role=listitem].top-part-child{border-bottom:1px solid var(--tds-footer-top-divider)}[role=listitem].top-part-child ::slotted(a),[role=listitem].top-part-child ::slotted(button){display:block;height:100%;padding:19px 40px;font-weight:normal}[role=listitem].top-part-child ::slotted(a:hover),[role=listitem].top-part-child ::slotted(button:hover){text-decoration:underline;background-color:var(--tds-footer-top-links-background-hover)}[role=listitem].top-part-child ::slotted(a:focus-visible),[role=listitem].top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}}";export{l as tds_footer_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as o,H as e,g as a}from"./p-2049fab2.js";import{i as t}from"./p-3fe9cbbf.js";const r=class{constructor(o){s(this,o),this.inheritedAttributes=[],this.selector="",this.referenceEl=void 0,this.show=null,this.placement="auto",this.offsetSkidding=0,this.offsetDistance=8,this.modifiers=[],this.childRef=void 0}async close(){var s;null===(s=this.childRef)||void 0===s||s.close()}componentWillLoad(){this.inheritedAttributes=t(this.host,["style","class"])}render(){var s;return o(e,{key:"6585164269ddef7083e5aed2bcfa4ea5ab7d32ba"},o("tds-popover-core",Object.assign({key:"9470ac2faa94611ece2c9394717a7bb9d63eb5b1"},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}}),o("div",{key:"330a63a0ef5c9f057d877dae9977b8bc25987771"},o("slot",{key:"38787385e51260e4a140f83d5eb22f03deb6e30e"}))))}get host(){return a(this)}};r.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:0 3px 3px rgba(0, 0, 0, 0.15), 0 -1px 1px rgba(0, 0, 0, 0.1);border-radius:4px;z-index:900}.tds-popover-canvas.sc-tds-popover-canvas *.sc-tds-popover-canvas{box-sizing:border-box}";export{r as tds_popover_canvas}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as r,H as a,g as d}from"./p-2049fab2.js";import{g as s,i as t}from"./p-9332c225.js";import"./p-52bf0fdf.js";const i=class{constructor(r){e(this,r),this.headingElement=void 0}componentWillLoad(){const e=s(this.host,(e=>t(e)));e?this.headingElement=e:console.warn("Heading element for list not found")}render(){var e;const d={class:"tds-header-launcher-grid",role:"list","aria-labelledby":null===(e=this.headingElement)||void 0===e?void 0:e.id};return r(a,{key:"8a88bd51ef2e16f9c1ce67bbd7d178692a223c22"},r("div",Object.assign({key:"8e5025c3d1563d5765a3cfce1e3d4f50bdf5caf4"},d),r("slot",{key:"0b4bc10cd7aa8fa1d6c0a15ea9a9997f74ad32c3"})))}get host(){return d(this)}};i.style=".tds-header-launcher-grid{box-sizing:border-box;padding:12px;margin:0;list-style:none;width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;border-radius:none}";export{i as tds_header_launcher_grid}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o,H as e,g as s}from"./p-2049fab2.js";const i=["compactDesign"],n=class{constructor(o){t(this,o),this.showIcon=!0,this.renderSlot=!0,this.inputFocused=!1,this.compactDesign=!1,this.tableId=""}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>i.includes(t))).forEach((o=>{if(void 0===this[o])throw console.error(`Table prop is not supported: ${o}`),new Error(`Table prop is not supported: ${o}`);this[o]=t.detail[o]}))}connectedCallback(){const t=this.host.closest("tds-table");t?this.tableId=t.getAttribute("table-id"):console.error("Failed to find parent tds-table element.")}componentWillLoad(){const t=this.host.closest("tds-table");t?i.forEach((o=>{this[o]=t[o]})):console.error("Failed to find parent tds-table element.")}handleSlotChange(){this.validateSlot()}validateSlot(){const t=Array.from(this.host.children).filter((t=>"INPUT"===t.tagName));if(1!==t.length)console.warn("TABLE-HEADER-INPUT-WRAPPER: Wrapper only accepts input as children."),this.renderSlot=!1;else{this.renderSlot||(this.renderSlot=!0);const o=t[0];o.addEventListener("focus",(()=>{this.inputFocused=!0})),o.addEventListener("blur",(()=>{this.inputFocused=!1}))}}render(){return o(e,{key:"733f9d487fd530eea4b597368c5ecdc46fd8dedd",class:{"focused-input-wrapper":this.inputFocused,"show-icon":this.showIcon,"tds-table__compact":this.compactDesign}},this.renderSlot?o("slot",{onSlotchange:()=>this.handleSlotChange()}):null,this.showIcon?o("tds-icon",{class:"search-icon",slot:"icon",size:"16px",name:"search"}):null)}get host(){return s(this)}};n.style=":host{position:relative}:host(:hover) tds-icon{display:inline-block}:host(.focused-input-wrapper) tds-icon{display:inline-block}:host(.focused-input-wrapper) ::slotted(input:not(:focus)){background-color:var(--tds-table-input-background-hover)}:host(.show-icon) ::slotted(input){padding-left:35px}tds-icon.search-icon{color:var(--tds-table-input-header-icon);position:absolute;left:15px;top:1px}::slotted(input){box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-table-color);padding-left:var(--tds-spacing-element-16);padding-right:var(--tds-spacing-element-16);height:48px;border-radius:0;background-color:transparent;border:0;border-bottom:2px solid transparent}::slotted(input)::placeholder{color:var(--tds-table-input-header-placeholder)}::slotted(input:focus){outline:none;background-color:var(--tds-table-input-header-background-focus);border-bottom:2px solid var(--tds-text-field-bar)}:host(.tds-table__compact) ::slotted(input){height:32px;}";export{n as tds_table_header_input_wrapper}
|
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
const dfs = require('./dfs-84f7f63e.js');
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Checks if the given element is a heading element (h1-h6) or has a role of "heading".
|
|
7
|
+
*
|
|
8
|
+
* @param {HTMLElement} el - The element to check.
|
|
9
|
+
* @returns {boolean} - True if the element is a heading element, false otherwise.
|
|
10
|
+
*/
|
|
11
|
+
const isHeadingElement = (el) => {
|
|
12
|
+
const tagName = el.tagName.toLowerCase();
|
|
13
|
+
const role = el.getAttribute('role');
|
|
14
|
+
return ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tagName) || role === 'heading';
|
|
15
|
+
};
|
|
16
|
+
|
|
5
17
|
// A higher-order function to find the nested child of siblings matching a predicate,
|
|
6
18
|
// based on a sibling traversal function (getNextSibling or getPreviousSibling).
|
|
7
19
|
function getNestedChildOfSiblingsMatching(element, searchPredicate, siblingTraversalFn) {
|
|
@@ -55,17 +67,5 @@ const getPreviousSibling = (element) => element.previousElementSibling;
|
|
|
55
67
|
*/
|
|
56
68
|
const getPreviousNestedChildOfSiblingsMatching = (element, searchPredicate) => getNestedChildOfSiblingsMatching(element, searchPredicate, getPreviousSibling);
|
|
57
69
|
|
|
58
|
-
/**
|
|
59
|
-
* Checks if the given element is a heading element (h1-h6) or has a role of "heading".
|
|
60
|
-
*
|
|
61
|
-
* @param {HTMLElement} el - The element to check.
|
|
62
|
-
* @returns {boolean} - True if the element is a heading element, false otherwise.
|
|
63
|
-
*/
|
|
64
|
-
const isHeadingElement = (el) => {
|
|
65
|
-
const tagName = el.tagName.toLowerCase();
|
|
66
|
-
const role = el.getAttribute('role');
|
|
67
|
-
return ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tagName) || role === 'heading';
|
|
68
|
-
};
|
|
69
|
-
|
|
70
70
|
exports.getPreviousNestedChildOfSiblingsMatching = getPreviousNestedChildOfSiblingsMatching;
|
|
71
71
|
exports.isHeadingElement = isHeadingElement;
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { d as dfs } from './dfs-1e574d5f.js';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Checks if the given element is a heading element (h1-h6) or has a role of "heading".
|
|
5
|
+
*
|
|
6
|
+
* @param {HTMLElement} el - The element to check.
|
|
7
|
+
* @returns {boolean} - True if the element is a heading element, false otherwise.
|
|
8
|
+
*/
|
|
9
|
+
const isHeadingElement = (el) => {
|
|
10
|
+
const tagName = el.tagName.toLowerCase();
|
|
11
|
+
const role = el.getAttribute('role');
|
|
12
|
+
return ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tagName) || role === 'heading';
|
|
13
|
+
};
|
|
14
|
+
|
|
3
15
|
// A higher-order function to find the nested child of siblings matching a predicate,
|
|
4
16
|
// based on a sibling traversal function (getNextSibling or getPreviousSibling).
|
|
5
17
|
function getNestedChildOfSiblingsMatching(element, searchPredicate, siblingTraversalFn) {
|
|
@@ -53,16 +65,4 @@ const getPreviousSibling = (element) => element.previousElementSibling;
|
|
|
53
65
|
*/
|
|
54
66
|
const getPreviousNestedChildOfSiblingsMatching = (element, searchPredicate) => getNestedChildOfSiblingsMatching(element, searchPredicate, getPreviousSibling);
|
|
55
67
|
|
|
56
|
-
/**
|
|
57
|
-
* Checks if the given element is a heading element (h1-h6) or has a role of "heading".
|
|
58
|
-
*
|
|
59
|
-
* @param {HTMLElement} el - The element to check.
|
|
60
|
-
* @returns {boolean} - True if the element is a heading element, false otherwise.
|
|
61
|
-
*/
|
|
62
|
-
const isHeadingElement = (el) => {
|
|
63
|
-
const tagName = el.tagName.toLowerCase();
|
|
64
|
-
const role = el.getAttribute('role');
|
|
65
|
-
return ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tagName) || role === 'heading';
|
|
66
|
-
};
|
|
67
|
-
|
|
68
68
|
export { getPreviousNestedChildOfSiblingsMatching as g, isHeadingElement as i };
|