@scania/tegel 1.41.0 → 1.42.0-sass-migration-beta.0
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/loader.cjs.js +1 -1
- package/dist/cjs/tds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/tds-block.cjs.entry.js +1 -1
- package/dist/cjs/tds-body-cell.cjs.entry.js +4 -3
- package/dist/cjs/tds-button_2.cjs.entry.js +7 -5
- package/dist/cjs/tds-card.cjs.entry.js +2 -2
- package/dist/cjs/tds-checkbox.cjs.entry.js +5 -4
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +9 -5
- package/dist/cjs/tds-datetime.cjs.entry.js +8 -5
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +50 -32
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +10 -3
- package/dist/cjs/tds-footer-group.cjs.entry.js +6 -5
- package/dist/cjs/tds-footer-item.cjs.entry.js +6 -2
- package/dist/cjs/tds-footer.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-cell.cjs.entry.js +10 -5
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +5 -3
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +7 -5
- package/dist/cjs/tds-header-launcher.cjs.entry.js +8 -4
- package/dist/cjs/tds-header.cjs.entry.js +8 -6
- package/dist/cjs/tds-icon.cjs.entry.js +1 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +10 -3
- package/dist/cjs/tds-message.cjs.entry.js +2 -2
- package/dist/cjs/tds-modal.cjs.entry.js +5 -4
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +12 -5
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
- package/dist/cjs/tds-popover-core.cjs.entry.js +10 -8
- package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -4
- package/dist/cjs/tds-radio-button.cjs.entry.js +4 -1
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +5 -4
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +13 -9
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +5 -4
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +15 -9
- package/dist/cjs/tds-side-menu.cjs.entry.js +12 -9
- package/dist/cjs/tds-slider.cjs.entry.js +26 -16
- package/dist/cjs/tds-step.cjs.entry.js +3 -1
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +17 -10
- package/dist/cjs/tds-table-body-row.cjs.entry.js +8 -5
- package/dist/cjs/tds-table-body.cjs.entry.js +9 -5
- package/dist/cjs/tds-table-footer.cjs.entry.js +15 -8
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header.cjs.entry.js +24 -18
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +6 -4
- package/dist/cjs/tds-table.cjs.entry.js +14 -12
- package/dist/cjs/tds-text-field.cjs.entry.js +7 -6
- package/dist/cjs/tds-textarea.cjs.entry.js +5 -4
- package/dist/cjs/tds-toggle.cjs.entry.js +5 -4
- package/dist/cjs/tds-tooltip.cjs.entry.js +6 -10
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion.js +4 -4
- package/dist/collection/components/block/block.js +3 -3
- package/dist/collection/components/button/button.js +9 -7
- package/dist/collection/components/card/card.js +4 -4
- package/dist/collection/components/checkbox/checkbox.js +6 -5
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/datetime/datetime.js +10 -7
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +9 -6
- package/dist/collection/components/dropdown/dropdown.css +2 -1
- package/dist/collection/components/dropdown/dropdown.js +44 -31
- package/dist/collection/components/footer/footer-group/footer-group.js +6 -5
- package/dist/collection/components/footer/footer-item/footer-item.js +6 -2
- package/dist/collection/components/footer/footer.js +4 -4
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +7 -5
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +5 -3
- package/dist/collection/components/header/header-item/header-item.js +9 -5
- package/dist/collection/components/header/header-launcher/header-launcher.js +8 -4
- package/dist/collection/components/header/header.js +8 -6
- package/dist/collection/components/icon/icon.js +3 -4
- package/dist/collection/components/message/message.css +0 -2
- package/dist/collection/components/message/message.js +4 -4
- package/dist/collection/components/modal/modal.css +0 -2
- package/dist/collection/components/modal/modal.js +8 -7
- package/dist/collection/components/popover-canvas/popover-canvas.js +9 -9
- package/dist/collection/components/popover-core/popover-core.js +20 -23
- package/dist/collection/components/popover-menu/popover-menu.js +9 -9
- package/dist/collection/components/radio-button/radio-button.js +4 -1
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -4
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +5 -4
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +13 -9
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +15 -9
- package/dist/collection/components/side-menu/side-menu.js +12 -9
- package/dist/collection/components/slider/slider.js +26 -16
- package/dist/collection/components/stepper/step/step.js +3 -1
- package/dist/collection/components/table/table/table.js +36 -18
- package/dist/collection/components/table/table-body/table-body.js +9 -5
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +7 -6
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-body-row/table-body-row.js +13 -10
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +23 -16
- package/dist/collection/components/table/table-footer/table-footer.js +20 -13
- package/dist/collection/components/table/table-header/table-header.js +27 -21
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +22 -17
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +8 -6
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +12 -5
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +10 -3
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +12 -5
- package/dist/collection/components/text-field/text-field.js +9 -8
- package/dist/collection/components/textarea/textarea.js +7 -6
- package/dist/collection/components/toggle/toggle.js +5 -4
- package/dist/collection/components/tooltip/tooltip.js +9 -13
- package/dist/collection/tegel-light/components/tl-dropdown/_dropdownKeyboard.js +190 -0
- package/dist/collection/tegel-light/components/tl-dropdown/_dropdownScripts.js +304 -0
- package/dist/collection/utils/appendHiddenInput.js +6 -4
- package/dist/components/{p-d10d21bd.js → p-0d286c19.js} +2 -2
- package/dist/components/{p-63552d0e.js → p-415fafb3.js} +5 -5
- package/dist/components/{p-3308d5fa.js → p-6fd2b339.js} +10 -8
- package/dist/components/{p-c62b61fe.js → p-799470b1.js} +7 -5
- package/dist/components/{p-44f5b5e1.js → p-91803ba5.js} +5 -4
- package/dist/components/{p-3a7e4d0d.js → p-a64cbc40.js} +10 -9
- package/dist/components/{p-04a014cf.js → p-ad376f70.js} +7 -11
- package/dist/components/{p-6ef207b2.js → p-d9cffacb.js} +11 -8
- package/dist/components/{p-9336db16.js → p-da11a695.js} +5 -3
- package/dist/components/{p-1dafdc8c.js → p-e0ccf8e6.js} +15 -9
- package/dist/components/{p-3f475529.js → p-e52a9953.js} +42 -27
- package/dist/components/{p-7c3348eb.js → p-ead6727f.js} +9 -5
- package/dist/components/{p-f7d94947.js → p-edc838a0.js} +1 -2
- package/dist/components/tds-accordion-item.js +1 -1
- package/dist/components/tds-accordion.js +2 -2
- package/dist/components/tds-banner.js +1 -1
- package/dist/components/tds-block.js +1 -1
- package/dist/components/tds-body-cell.js +5 -4
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +4 -4
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-datetime.js +9 -6
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tabs.js +11 -4
- package/dist/components/tds-footer-group.js +7 -6
- package/dist/components/tds-footer-item.js +6 -2
- package/dist/components/tds-footer.js +2 -2
- package/dist/components/tds-header-brand-symbol.js +3 -3
- package/dist/components/tds-header-cell.js +11 -6
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +11 -9
- package/dist/components/tds-header-hamburger.js +2 -2
- package/dist/components/tds-header-item.js +1 -1
- package/dist/components/tds-header-launcher-button.js +1 -1
- package/dist/components/tds-header-launcher-list.js +1 -1
- package/dist/components/tds-header-launcher.js +13 -9
- package/dist/components/tds-header.js +8 -6
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tabs.js +11 -4
- package/dist/components/tds-message.js +3 -3
- package/dist/components/tds-modal.js +6 -5
- package/dist/components/tds-navigation-tabs.js +13 -6
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu.js +5 -5
- package/dist/components/tds-radio-button.js +4 -1
- package/dist/components/tds-side-menu-close-button.js +1 -1
- package/dist/components/tds-side-menu-collapse-button.js +6 -5
- package/dist/components/tds-side-menu-dropdown-list-item.js +13 -9
- package/dist/components/tds-side-menu-dropdown-list.js +3 -3
- package/dist/components/tds-side-menu-dropdown.js +7 -6
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu.js +12 -9
- package/dist/components/tds-slider.js +30 -20
- package/dist/components/tds-step.js +4 -2
- package/dist/components/tds-table-body-input-wrapper.js +2 -2
- package/dist/components/tds-table-body-row-expandable.js +17 -10
- package/dist/components/tds-table-body-row.js +9 -6
- package/dist/components/tds-table-body.js +9 -5
- package/dist/components/tds-table-footer.js +19 -12
- package/dist/components/tds-table-header-input-wrapper.js +2 -2
- package/dist/components/tds-table-header.js +25 -19
- package/dist/components/tds-table-toolbar.js +7 -5
- package/dist/components/tds-table.js +14 -12
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +8 -7
- package/dist/components/tds-toast.js +1 -1
- package/dist/components/tds-toggle.js +5 -4
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-accordion.entry.js +2 -2
- package/dist/esm/tds-block.entry.js +1 -1
- package/dist/esm/tds-body-cell.entry.js +4 -3
- package/dist/esm/tds-button_2.entry.js +7 -5
- package/dist/esm/tds-card.entry.js +2 -2
- package/dist/esm/tds-checkbox.entry.js +5 -4
- package/dist/esm/tds-core-header-item_2.entry.js +9 -5
- package/dist/esm/tds-datetime.entry.js +8 -5
- package/dist/esm/tds-dropdown_2.entry.js +50 -32
- package/dist/esm/tds-folder-tabs.entry.js +10 -3
- package/dist/esm/tds-footer-group.entry.js +6 -5
- package/dist/esm/tds-footer-item.entry.js +6 -2
- package/dist/esm/tds-footer.entry.js +2 -2
- package/dist/esm/tds-header-brand-symbol.entry.js +2 -2
- package/dist/esm/tds-header-cell.entry.js +10 -5
- package/dist/esm/tds-header-dropdown-list.entry.js +5 -3
- package/dist/esm/tds-header-dropdown.entry.js +7 -5
- package/dist/esm/tds-header-launcher.entry.js +8 -4
- package/dist/esm/tds-header.entry.js +8 -6
- package/dist/esm/tds-icon.entry.js +1 -2
- package/dist/esm/tds-inline-tabs.entry.js +10 -3
- package/dist/esm/tds-message.entry.js +2 -2
- package/dist/esm/tds-modal.entry.js +5 -4
- package/dist/esm/tds-navigation-tabs.entry.js +12 -5
- package/dist/esm/tds-popover-canvas.entry.js +4 -4
- package/dist/esm/tds-popover-core.entry.js +10 -8
- package/dist/esm/tds-popover-menu.entry.js +4 -4
- package/dist/esm/tds-radio-button.entry.js +4 -1
- package/dist/esm/tds-side-menu-collapse-button.entry.js +5 -4
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +13 -9
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown.entry.js +5 -4
- package/dist/esm/tds-side-menu-item.entry.js +15 -9
- package/dist/esm/tds-side-menu.entry.js +12 -9
- package/dist/esm/tds-slider.entry.js +26 -16
- package/dist/esm/tds-step.entry.js +3 -1
- package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-body-row-expandable.entry.js +17 -10
- package/dist/esm/tds-table-body-row.entry.js +8 -5
- package/dist/esm/tds-table-body.entry.js +9 -5
- package/dist/esm/tds-table-footer.entry.js +15 -8
- package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-header.entry.js +24 -18
- package/dist/esm/tds-table-toolbar.entry.js +6 -4
- package/dist/esm/tds-table.entry.js +14 -12
- package/dist/esm/tds-text-field.entry.js +7 -6
- package/dist/esm/tds-textarea.entry.js +5 -4
- package/dist/esm/tds-toggle.entry.js +5 -4
- package/dist/esm/tds-tooltip.entry.js +6 -10
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/p-08c16b2f.entry.js +1 -0
- package/dist/tegel/p-0b37e91a.entry.js +1 -0
- package/dist/tegel/p-1e1a87c1.entry.js +1 -0
- package/dist/tegel/p-2268af7f.entry.js +1 -0
- package/dist/tegel/p-226d0290.entry.js +1 -0
- package/dist/tegel/p-252a7d3f.entry.js +1 -0
- package/dist/tegel/p-25473962.entry.js +1 -0
- package/dist/tegel/{p-650b98bf.entry.js → p-27369d6a.entry.js} +1 -1
- package/dist/tegel/p-3ef04672.entry.js +1 -0
- package/dist/tegel/p-40d99d7d.entry.js +1 -0
- package/dist/tegel/{p-28f85555.entry.js → p-40fa0f5b.entry.js} +1 -1
- package/dist/tegel/p-4e15f31d.entry.js +1 -0
- package/dist/tegel/p-57c08d0d.entry.js +1 -0
- package/dist/tegel/p-58ac68f3.entry.js +1 -0
- package/dist/tegel/p-6a472310.entry.js +1 -0
- package/dist/tegel/p-70836598.entry.js +1 -0
- package/dist/tegel/p-7104b955.entry.js +1 -0
- package/dist/tegel/p-781b2939.entry.js +1 -0
- package/dist/tegel/p-894e7e11.entry.js +1 -0
- package/dist/tegel/p-942f8c6f.entry.js +1 -0
- package/dist/tegel/p-98eff725.entry.js +1 -0
- package/dist/tegel/p-9b06bd5f.entry.js +1 -0
- package/dist/tegel/p-9bcb8b2d.entry.js +1 -0
- package/dist/tegel/p-9c56b031.entry.js +1 -0
- package/dist/tegel/p-a20a54ef.entry.js +1 -0
- package/dist/tegel/p-a2b2092a.entry.js +1 -0
- package/dist/tegel/p-a334b517.entry.js +1 -0
- package/dist/tegel/p-a4e4c450.entry.js +1 -0
- package/dist/tegel/p-a60ed3de.entry.js +1 -0
- package/dist/tegel/p-a6dca188.entry.js +1 -0
- package/dist/tegel/{p-464469fe.entry.js → p-a912035b.entry.js} +1 -1
- package/dist/tegel/p-b218db70.entry.js +1 -0
- package/dist/tegel/p-b3b13975.entry.js +1 -0
- package/dist/tegel/{p-987f8f0f.entry.js → p-b9afb39e.entry.js} +1 -1
- package/dist/tegel/p-bb8c2a36.entry.js +1 -0
- package/dist/tegel/p-bee9e9d1.entry.js +1 -0
- package/dist/tegel/{p-f31f56fe.entry.js → p-c5694dd6.entry.js} +1 -1
- package/dist/tegel/{p-57a28f62.entry.js → p-ca068263.entry.js} +1 -1
- package/dist/tegel/{p-eb91e33b.entry.js → p-cda2e4b2.entry.js} +1 -1
- package/dist/tegel/p-d501a665.entry.js +1 -0
- package/dist/tegel/{p-f2318c88.entry.js → p-da38aa9a.entry.js} +1 -1
- package/dist/tegel/p-dda1ac69.entry.js +1 -0
- package/dist/tegel/p-e29fa563.entry.js +1 -0
- package/dist/tegel/p-ed66ef30.entry.js +1 -0
- package/dist/tegel/p-f602b3a1.entry.js +1 -0
- package/dist/tegel/p-f922308f.entry.js +1 -0
- package/dist/tegel/p-fb300776.entry.js +1 -0
- package/dist/tegel/p-fd22d1ca.entry.js +1 -0
- package/dist/tegel/{p-c6968db1.entry.js → p-fe4335ca.entry.js} +1 -1
- package/dist/tegel/tegel.css +2 -2
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/block/block.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/datetime/datetime.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +5 -5
- package/dist/types/components/footer/footer.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +1 -1
- package/dist/types/components/message/message.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +2 -2
- package/dist/types/components/popover-core/popover-core.d.ts +4 -4
- package/dist/types/components/popover-menu/popover-menu.d.ts +2 -2
- package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
- package/dist/types/components/table/table/table.d.ts +6 -3
- package/dist/types/components/table/table-body/table-body.d.ts +3 -3
- package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +8 -5
- package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
- package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +7 -7
- package/dist/types/components/table/table-footer/table-footer.d.ts +4 -4
- package/dist/types/components/table/table-header/table-header.d.ts +5 -5
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +8 -8
- package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
- package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
- package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +1 -1
- package/dist/types/components/text-field/text-field.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +81 -81
- package/dist/types/tegel-light/components/tl-dropdown/_dropdownKeyboard.d.ts +1 -0
- package/dist/types/tegel-light/components/tl-dropdown/_dropdownScripts.d.ts +4 -0
- package/dist/types/types/Attributes.d.ts +1 -1
- package/dist/types/utils/findNextFocusableElement.d.ts +1 -1
- package/dist/types/utils/findPreviousFocusableElement.d.ts +1 -1
- package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +1 -1
- package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +1 -1
- package/package.json +1 -1
- package/dist/tegel/p-0672ddfc.entry.js +0 -1
- package/dist/tegel/p-08ad6a21.entry.js +0 -1
- package/dist/tegel/p-08f63e5d.entry.js +0 -1
- package/dist/tegel/p-09cd056c.entry.js +0 -1
- package/dist/tegel/p-0c9a51d9.entry.js +0 -1
- package/dist/tegel/p-0cfe8671.entry.js +0 -1
- package/dist/tegel/p-0e772ad7.entry.js +0 -1
- package/dist/tegel/p-17bc1e49.entry.js +0 -1
- package/dist/tegel/p-1859156f.entry.js +0 -1
- package/dist/tegel/p-1f4267a8.entry.js +0 -1
- package/dist/tegel/p-24a76927.entry.js +0 -1
- package/dist/tegel/p-354d3986.entry.js +0 -1
- package/dist/tegel/p-3c97cb45.entry.js +0 -1
- package/dist/tegel/p-3e6d65ee.entry.js +0 -1
- package/dist/tegel/p-445fa788.entry.js +0 -1
- package/dist/tegel/p-51a17707.entry.js +0 -1
- package/dist/tegel/p-52689019.entry.js +0 -1
- package/dist/tegel/p-6b340718.entry.js +0 -1
- package/dist/tegel/p-72006dd7.entry.js +0 -1
- package/dist/tegel/p-743d4f07.entry.js +0 -1
- package/dist/tegel/p-77cfb0ef.entry.js +0 -1
- package/dist/tegel/p-7887bdbb.entry.js +0 -1
- package/dist/tegel/p-7b598e60.entry.js +0 -1
- package/dist/tegel/p-7ef50e7f.entry.js +0 -1
- package/dist/tegel/p-8c2695af.entry.js +0 -1
- package/dist/tegel/p-8eccfe32.entry.js +0 -1
- package/dist/tegel/p-9b635e01.entry.js +0 -1
- package/dist/tegel/p-9f187848.entry.js +0 -1
- package/dist/tegel/p-9fdc8fa5.entry.js +0 -1
- package/dist/tegel/p-a090bd2f.entry.js +0 -1
- package/dist/tegel/p-a56436c8.entry.js +0 -1
- package/dist/tegel/p-b210d23c.entry.js +0 -1
- package/dist/tegel/p-c0cbc9f5.entry.js +0 -1
- package/dist/tegel/p-cf717912.entry.js +0 -1
- package/dist/tegel/p-cfd7ed1a.entry.js +0 -1
- package/dist/tegel/p-d1d45942.entry.js +0 -1
- package/dist/tegel/p-d7cdbc4e.entry.js +0 -1
- package/dist/tegel/p-e5b796e7.entry.js +0 -1
- package/dist/tegel/p-f3c32d4d.entry.js +0 -1
- package/dist/tegel/p-fd15ced7.entry.js +0 -1
|
@@ -28,8 +28,8 @@ const TdsSlider = class {
|
|
|
28
28
|
this.supposedValueSlot = -1;
|
|
29
29
|
this.resizeObserverAdded = false;
|
|
30
30
|
this.resetEventListenerAdded = false;
|
|
31
|
+
this.formElement = null;
|
|
31
32
|
this.ariaLiveElement = null;
|
|
32
|
-
this.announcementDebounceTimeout = null;
|
|
33
33
|
this.resetToInitialValue = () => {
|
|
34
34
|
this.forceValueUpdate(this.initialValue);
|
|
35
35
|
this.reset();
|
|
@@ -92,21 +92,22 @@ const TdsSlider = class {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
handleRelease(event) {
|
|
95
|
+
var _a, _b, _c;
|
|
95
96
|
if (!this.thumbGrabbed) {
|
|
96
97
|
const clickedOnTrack = event.target === this.trackElement || event.target === this.trackFillElement;
|
|
97
98
|
if (clickedOnTrack) {
|
|
98
99
|
this.thumbCore(event);
|
|
99
|
-
this.trackElement.focus();
|
|
100
|
+
(_a = this.trackElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
100
101
|
}
|
|
101
102
|
return;
|
|
102
103
|
}
|
|
103
104
|
this.thumbGrabbed = false;
|
|
104
|
-
this.thumbInnerElement.classList.remove('pressed');
|
|
105
|
+
(_b = this.thumbInnerElement) === null || _b === void 0 ? void 0 : _b.classList.remove('pressed');
|
|
105
106
|
if (this.thumbElement) {
|
|
106
107
|
this.thumbElement.setAttribute('aria-grabbed', 'false');
|
|
107
108
|
}
|
|
108
109
|
this.updateValue(event);
|
|
109
|
-
this.trackElement.focus();
|
|
110
|
+
(_c = this.trackElement) === null || _c === void 0 ? void 0 : _c.focus();
|
|
110
111
|
}
|
|
111
112
|
handleMove(event) {
|
|
112
113
|
if (!this.thumbGrabbed) {
|
|
@@ -150,8 +151,11 @@ const TdsSlider = class {
|
|
|
150
151
|
return snappedLocalLeft;
|
|
151
152
|
}
|
|
152
153
|
thumbCore(event) {
|
|
154
|
+
var _a;
|
|
153
155
|
const numTicks = parseInt(this.ticks);
|
|
154
|
-
const trackRect = this.trackElement.getBoundingClientRect();
|
|
156
|
+
const trackRect = (_a = this.trackElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
157
|
+
if (!trackRect)
|
|
158
|
+
return;
|
|
155
159
|
let localLeft = 0;
|
|
156
160
|
if (event.type === 'mousemove' || event.type === 'mouseup') {
|
|
157
161
|
localLeft = event.clientX - trackRect.left;
|
|
@@ -166,7 +170,9 @@ const TdsSlider = class {
|
|
|
166
170
|
localLeft = this.updateSupposedValueSlot(localLeft);
|
|
167
171
|
}
|
|
168
172
|
this.thumbLeft = this.constrainThumb(localLeft);
|
|
169
|
-
this.thumbElement
|
|
173
|
+
if (this.thumbElement) {
|
|
174
|
+
this.thumbElement.style.left = `${this.thumbLeft}px`;
|
|
175
|
+
}
|
|
170
176
|
this.updateValue(event);
|
|
171
177
|
}
|
|
172
178
|
updateTrack() {
|
|
@@ -182,6 +188,8 @@ const TdsSlider = class {
|
|
|
182
188
|
// Debounce announcements to prevent too many rapid announcements
|
|
183
189
|
clearTimeout(this.announcementDebounceTimeout);
|
|
184
190
|
this.announcementDebounceTimeout = setTimeout(() => {
|
|
191
|
+
if (!this.ariaLiveElement)
|
|
192
|
+
return;
|
|
185
193
|
this.ariaLiveElement.textContent = `${this.label ? this.label + ' ' : ''}${this.value} of ${this.max}`;
|
|
186
194
|
}, 50);
|
|
187
195
|
}
|
|
@@ -305,11 +313,12 @@ const TdsSlider = class {
|
|
|
305
313
|
}
|
|
306
314
|
}
|
|
307
315
|
grabThumb() {
|
|
316
|
+
var _a;
|
|
308
317
|
if (this.readOnly) {
|
|
309
318
|
return;
|
|
310
319
|
}
|
|
311
320
|
this.thumbGrabbed = true;
|
|
312
|
-
this.thumbInnerElement.classList.add('pressed');
|
|
321
|
+
(_a = this.thumbInnerElement) === null || _a === void 0 ? void 0 : _a.classList.add('pressed');
|
|
313
322
|
if (this.thumbElement) {
|
|
314
323
|
this.thumbElement.setAttribute('aria-grabbed', 'true');
|
|
315
324
|
}
|
|
@@ -402,7 +411,8 @@ const TdsSlider = class {
|
|
|
402
411
|
this.calculateThumbLeftFromValue(this.value);
|
|
403
412
|
this.updateTrack();
|
|
404
413
|
});
|
|
405
|
-
|
|
414
|
+
if (this.wrapperElement)
|
|
415
|
+
resizeObserver.observe(this.wrapperElement);
|
|
406
416
|
}
|
|
407
417
|
this.calculateThumbLeftFromValue(this.value);
|
|
408
418
|
this.updateTrack();
|
|
@@ -439,30 +449,30 @@ const TdsSlider = class {
|
|
|
439
449
|
}
|
|
440
450
|
render() {
|
|
441
451
|
const ariaLabel = this.readOnly ? this.tdsReadOnlyAriaLabel : this.label || this.tdsAriaLabel;
|
|
442
|
-
return (index.h("div", { key: '
|
|
452
|
+
return (index.h("div", { key: '24887d4b2784913aed5eca30aad868b29bc3dc71', class: {
|
|
443
453
|
'tds-slider-wrapper': true,
|
|
444
454
|
'read-only': this.readOnly,
|
|
445
|
-
} }, index.h("input", { key: '
|
|
455
|
+
} }, index.h("input", { key: 'a30068ce649a2a4154df73f076b0d889898e2220', class: "tds-slider-native-element", type: "range", name: this.name, min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled }), index.h("div", { key: '38a8a4993efb95dc74a6b998a4a6dce68a57193d', class: "sr-only", "aria-live": "assertive", ref: (el) => {
|
|
446
456
|
this.ariaLiveElement = el;
|
|
447
|
-
} }), index.h("div", { key: '
|
|
457
|
+
} }), index.h("div", { key: 'dbdcd7a7524249488066f6cbc7ccda1edc125348', class: {
|
|
448
458
|
'tds-slider': true,
|
|
449
459
|
'disabled': this.disabled,
|
|
450
460
|
'tds-slider-small': this.useSmall,
|
|
451
461
|
}, ref: (el) => {
|
|
452
462
|
this.wrapperElement = el;
|
|
453
|
-
}, "aria-disabled": this.disabled ? 'true' : 'false' }, index.h("label", { key: '
|
|
463
|
+
}, "aria-disabled": this.disabled ? 'true' : 'false' }, index.h("label", { key: '703fef163564db3dab89f7ef62c8ec8ae849091a', id: `${this.sliderId}-label`, class: { offset: this.showTickNumbers } }, this.label), this.useInput && (index.h("div", { key: '61e0a370c74b04c29b7c3d8f227727df2d72e2e1', class: "tds-slider__input-values" }, index.h("div", { key: '080c7a8d5fe68231a33946284eaf0b42509ae2aa', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (index.h("div", { key: 'c281e3c27afb09bbde92bb45b95494bda73a2d1e', class: "tds-slider__controls" }, index.h("div", { key: '43388973041f6257683c1e95c28273b36329584b', class: "tds-slider__control tds-slider__control-minus", onClick: (event) => this.stepLeft(event), role: "button", "aria-label": "Decrease value", tabindex: this.disabled || this.readOnly ? '-1' : '0' }, index.h("tds-icon", { key: 'be17662d98c4e89ac549d7604fb8ef039ec1a4ff', name: "minus", size: "16px" })))), index.h("div", { key: '2d34951d542b45ff4fce0869bd9877626b414641', class: "tds-slider-inner", tabIndex: -1 }, this.tickValues.length > 0 && (index.h("div", { key: '991096492d690f53e0d597bd05d4f9f3fa875831', class: "tds-slider__value-dividers-wrapper" }, index.h("div", { key: 'e2362ac7b9af796e0d4b2961c99d6ef850f873fc', class: "tds-slider__value-dividers" }, this.tickValues.map((value) => (index.h("div", { class: "tds-slider__value-divider" }, this.showTickNumbers && index.h("span", null, value))))))), index.h("div", { key: '303410bc80f3fc1a49c1a1954f287151ba1397df', class: "tds-slider__track", ref: (el) => {
|
|
454
464
|
this.trackElement = el;
|
|
455
465
|
}, tabindex: this.disabled ? '-1' : '0', role: "presentation", onFocus: () => {
|
|
456
466
|
if (this.thumbElement) {
|
|
457
467
|
this.thumbElement.focus();
|
|
458
468
|
}
|
|
459
|
-
} }, index.h("div", { key: '
|
|
469
|
+
} }, index.h("div", { key: '458f4a54a0ffc5eef7ad1933ba1713f378e03bb2', class: "tds-slider__track-fill", ref: (el) => {
|
|
460
470
|
this.trackFillElement = el;
|
|
461
|
-
} }), index.h("div", { key: '
|
|
471
|
+
} }), index.h("div", { key: '09f5c914b3e31f40cbc5114ba11ac8ed6b6c10e3', class: "tds-slider__thumb", ref: (el) => {
|
|
462
472
|
this.thumbElement = el;
|
|
463
|
-
}, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb(), role: "slider", "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} of ${this.max}`, "aria-labelledby": `${this.sliderId}-label`, "aria-grabbed": this.thumbGrabbed ? 'true' : 'false', "aria-label": ariaLabel, tabindex: this.disabled ? '-1' : '0' }, this.tooltip && (index.h("div", { key: '
|
|
473
|
+
}, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb(), role: "slider", "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} of ${this.max}`, "aria-labelledby": `${this.sliderId}-label`, "aria-grabbed": this.thumbGrabbed ? 'true' : 'false', "aria-label": ariaLabel, tabindex: this.disabled ? '-1' : '0' }, this.tooltip && (index.h("div", { key: '915c5a0873d719e716a9eda6f24df4f289dcc3e3', class: "tds-slider__value" }, this.value, index.h("svg", { key: 'd1ad51a448a9314c8a9dc87e5b4c969d9699833f', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '84dd5e1bfdddb3f96ce260fde63ec01979e2e8f7', d: "M8.15882 12.6915L0.990487 1.54076C0.562658 0.875246 1.0405 0 1.83167 0H16.1683C16.9595 0 17.4373 0.875246 17.0095 1.54076L9.84118 12.6915C9.44754 13.3038 8.55246 13.3038 8.15882 12.6915Z", fill: "currentColor" })))), index.h("div", { key: '3c2bd4378b7d2f894bd04af1d0d4f68472d94129', class: "tds-slider__thumb-inner", ref: (el) => {
|
|
464
474
|
this.thumbInnerElement = el;
|
|
465
|
-
} })))), this.useInput && (index.h("div", { key: '
|
|
475
|
+
} })))), this.useInput && (index.h("div", { key: '8d7b06d47eb9c5b8adef909a63b4017143025477', class: "tds-slider__input-values" }, index.h("div", { key: '1e5e6cb7d0522ca0e89e67fd0125684b32e2c4f6', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), index.h("div", { key: 'e3a5d242963f2868f2f26674243c36c634422501', class: "tds-slider__input-field-wrapper" }, index.h("tds-text-field", { key: '840ddc76488d4d1de29be8d3b2032d57894d2b7a', noMinWidth: true, size: "sm", type: "number", value: this.value, min: this.min, max: this.max, readOnly: this.readOnly, disabled: this.disabled, onTdsChange: (e) => console.log(e), tdsAriaLabel: this.readOnly ? this.tdsReadOnlyAriaLabel : undefined, onTdsBlur: (event) => this.updateSliderValueFromTextField(event), onKeyDown: (event) => this.handleInputFieldEnterPress(event) })))), this.useControls && (index.h("div", { key: 'c71f7b90d4565cccdb41ef56e1dc3485506baad1', class: "tds-slider__controls" }, index.h("div", { key: 'c968cc1187252f95b5953a7a91437a09d0255d72', class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event), role: "button", "aria-label": "Increase value", tabindex: this.disabled || this.readOnly ? '-1' : '0' }, index.h("tds-icon", { key: '8e3488bcad15f4f6dd7182b066a905019d87d20d', name: "plus", size: "16px" })))))));
|
|
466
476
|
}
|
|
467
477
|
get host() { return index.getElement(this); }
|
|
468
478
|
static get watchers() { return {
|
|
@@ -27,6 +27,8 @@ const TdsStep = class {
|
|
|
27
27
|
/* Needs to be onload to do this on any updates. */
|
|
28
28
|
componentWillLoad() {
|
|
29
29
|
this.stepperEl = this.el.closest('tds-stepper');
|
|
30
|
+
if (!this.stepperEl)
|
|
31
|
+
return;
|
|
30
32
|
this.orientation = this.stepperEl.orientation;
|
|
31
33
|
this.labelPosition = this.stepperEl.labelPosition;
|
|
32
34
|
this.size = this.stepperEl.size;
|
|
@@ -46,7 +48,7 @@ const TdsStep = class {
|
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
50
|
render() {
|
|
49
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: '4da9583f2f8f406775789bb2ba2fb4a048bd2bb2' }, index.h("div", { key: '68552288702a78338767482726cc50c294c813c4', role: "listitem", "aria-disabled": this.state === 'upcoming' ? 'true' : 'false', "aria-current": this.tdsAriaCurrent, tabIndex: -1, "aria-label": `Step ${this.index}: ${this.state}`, class: `${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels ? 'hide-labels' : ''}` }, index.h("span", { key: '12da4b94879916c29a142ae2b1c9158132369242', class: `${this.state} content-container` }, this.state === 'success' || this.state === 'error' ? (index.h("tds-icon", { "aria-hidden": "true", svgTitle: `tds-step-icon-${this.stepperId}`, class: 'tds-step-icon', name: this.state === 'success' ? 'tick' : 'warning', size: this.size === 'lg' ? '20px' : '16px' })) : (index.h("span", { "aria-hidden": "true", class: "index-container" }, this.index))), !this.hideLabels && (index.h("div", { key: 'b67fe88775ae01d9878bfea0ed65a5e89bcd096c', "aria-hidden": "true", class: `label ${this.size} ${this.state}` }, index.h("slot", { key: '63476ee55ea1577a09b3885dd287ef117c00fc3c', name: "label" }))))));
|
|
50
52
|
}
|
|
51
53
|
get el() { return index.getElement(this); }
|
|
52
54
|
};
|
|
@@ -90,7 +90,7 @@ const TdsTableBodyInputWrapper = class {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (index.h(index.Host, { key: '
|
|
93
|
+
return (index.h(index.Host, { key: '332c2ebf290f802f6b8067a1b7b0754cbca2b9aa', class: {
|
|
94
94
|
'focused-input-wrapper': this.inputFocused,
|
|
95
95
|
'show-icon': this.showIcon,
|
|
96
96
|
'tds-table__compact': this.compactDesign,
|
|
@@ -75,24 +75,30 @@ const TdsTableBodyRowExpandable = class {
|
|
|
75
75
|
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded, tableId: this.tableId });
|
|
76
76
|
}
|
|
77
77
|
connectedCallback() {
|
|
78
|
+
var _a;
|
|
78
79
|
/* if user did set a prop we use that as default behaviour */
|
|
79
80
|
if (this.expanded !== undefined) {
|
|
80
81
|
this.isExpanded = this.expanded;
|
|
81
82
|
}
|
|
82
83
|
this.tableEl = this.host.closest('tds-table');
|
|
83
|
-
this.tableId = this.tableEl.tableId;
|
|
84
|
+
this.tableId = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.tableId;
|
|
84
85
|
}
|
|
85
86
|
componentWillLoad() {
|
|
86
87
|
relevantTableProps.forEach((tablePropName) => {
|
|
87
|
-
|
|
88
|
+
var _a;
|
|
89
|
+
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
88
90
|
});
|
|
89
91
|
}
|
|
90
92
|
componentWillRender() {
|
|
93
|
+
var _a;
|
|
91
94
|
if (this.colSpan !== null) {
|
|
92
95
|
this.columnsNumber = this.colSpan;
|
|
93
96
|
}
|
|
94
97
|
else {
|
|
95
|
-
|
|
98
|
+
const header = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.querySelector('tds-table-header');
|
|
99
|
+
if (header) {
|
|
100
|
+
this.columnsNumber = header.childElementCount + 1;
|
|
101
|
+
}
|
|
96
102
|
}
|
|
97
103
|
}
|
|
98
104
|
sendValue() {
|
|
@@ -104,26 +110,27 @@ const TdsTableBodyRowExpandable = class {
|
|
|
104
110
|
this.sendValue();
|
|
105
111
|
}
|
|
106
112
|
render() {
|
|
107
|
-
|
|
113
|
+
var _a;
|
|
114
|
+
return (index.h(index.Host, { key: 'd818a7b62472e7e6811b2aa6c22332e18d567d6d', class: {
|
|
108
115
|
'tds-table__row': true,
|
|
109
116
|
'tds-table__row-expand--active': this.isExpanded,
|
|
110
117
|
'tds-table__compact': this.compactDesign,
|
|
111
118
|
'tds-table--divider': this.verticalDividers,
|
|
112
|
-
} }, index.h("tr", { key: '
|
|
119
|
+
} }, index.h("tr", { key: '0efc401cb4cd6687aa732200990b685acb84000b', id: `expandable-content-${this.rowId}`, class: {
|
|
113
120
|
'tds-table__row': true,
|
|
114
121
|
'tds-table__row--expanded': this.isExpanded,
|
|
115
|
-
}, part: "row" }, index.h("td", { key: '
|
|
122
|
+
}, part: "row" }, index.h("td", { key: 'fae9736c8db81cfa7e7df618ebd03953b58c9178', class: {
|
|
116
123
|
'tds-table__cell-expand': true,
|
|
117
|
-
} }, index.h("label", { key: '
|
|
124
|
+
} }, index.h("label", { key: '325036919c99275a30386ec075fc2eb828702c8f', class: "tds-table__expand-control-container" }, index.h("input", { key: '43e62f1d60a19801a526931ec4a9f0c5f7e98e6b', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded, "aria-expanded": this.isExpanded ? 'true' : 'false', "aria-controls": `expandable-content-${this.rowId}`, "aria-label": this.tdsAriaLabelExpandButton }), index.h("span", { key: '0bea7d5d977ab0b2517ec5595a2b8640c6ce591b', class: "tds-expendable-row-icon" }, index.h("svg", { key: 'e7b63e3a6eb1d418f43259b25b84205abaa75bd7', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, index.h("path", { key: 'ff0e7f089fd0c1c2cfc5cc4339cdaab4e7f9e275', "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" }))))), index.h("slot", { key: '9bfd6e772f1a56cbcb5ada2fe9dd59c40e975faf' })), index.h("tr", { key: 'b3f61ca1d940ad529a44f283b81b43aefacc394d', class: {
|
|
118
125
|
'tds-table__row-expand': true,
|
|
119
126
|
'tds-table__row-expand--expanded': this.isExpanded,
|
|
120
|
-
}, part: "expand-row" }, index.h("td", { key: '
|
|
127
|
+
}, part: "expand-row" }, index.h("td", { key: '6635855ce743fa01d531119d90d3491ee416751b', class: {
|
|
121
128
|
'tds-table__cell-expand': true,
|
|
122
129
|
'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
|
|
123
130
|
'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
|
|
124
|
-
}, part: "expand-row-cell", colSpan: this.columnsNumber }, index.h("div", { key: '
|
|
131
|
+
}, part: "expand-row-cell", colSpan: (_a = this.columnsNumber) !== null && _a !== void 0 ? _a : undefined }, index.h("div", { key: '0b99435f7c84aa90155ab7229921bef06e90373b', style: {
|
|
125
132
|
overflow: this.overflow,
|
|
126
|
-
} }, index.h("slot", { key: '
|
|
133
|
+
} }, index.h("slot", { key: 'd8e730bcfabe84c4a370b111defa1aa1584f4b96', name: "expand-row" }))))));
|
|
127
134
|
}
|
|
128
135
|
get host() { return index.getElement(this); }
|
|
129
136
|
static get watchers() { return {
|
|
@@ -28,17 +28,19 @@ const TdsTableBodyRow = class {
|
|
|
28
28
|
this.tableId = '';
|
|
29
29
|
}
|
|
30
30
|
async handleCheckboxChange(event) {
|
|
31
|
+
var _a;
|
|
31
32
|
this.selected = event.detail.checked;
|
|
32
33
|
this.tdsSelect.emit({
|
|
33
34
|
tableId: this.tableId,
|
|
34
35
|
checked: this.selected,
|
|
35
|
-
selectedRows: await this.tableEl.getSelectedRows(),
|
|
36
|
+
selectedRows: await ((_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.getSelectedRows()),
|
|
36
37
|
});
|
|
37
38
|
}
|
|
38
39
|
handleRowClick(e) {
|
|
40
|
+
var _a, _b, _c;
|
|
39
41
|
if (!this.clickable)
|
|
40
42
|
return;
|
|
41
|
-
|
|
43
|
+
const rowIndex = Array.from((_c = (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.children) !== null && _c !== void 0 ? _c : []).indexOf(this.host);
|
|
42
44
|
this.tdsClick.emit({
|
|
43
45
|
event: e,
|
|
44
46
|
tableId: this.tableId,
|
|
@@ -71,18 +73,19 @@ const TdsTableBodyRow = class {
|
|
|
71
73
|
componentWillLoad() {
|
|
72
74
|
if (this.tableEl) {
|
|
73
75
|
relevantTableProps.forEach((tablePropName) => {
|
|
74
|
-
|
|
76
|
+
var _a;
|
|
77
|
+
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
75
78
|
});
|
|
76
79
|
}
|
|
77
80
|
}
|
|
78
81
|
render() {
|
|
79
|
-
return (index.h(index.Host, { key: '
|
|
82
|
+
return (index.h(index.Host, { key: '377d16a55b6c2cb87940ee6ec8629e71dde6ad17', tabindex: this.clickable ? '0' : null, class: {
|
|
80
83
|
'tds-table__row': true,
|
|
81
84
|
'tds-table__row--selected': this.selected,
|
|
82
85
|
'tds-table__compact': this.compactDesign,
|
|
83
86
|
'tds-table--divider': this.verticalDividers,
|
|
84
87
|
'tds-table__row--clickable': this.clickable,
|
|
85
|
-
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (index.h("td", { key: '
|
|
88
|
+
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (index.h("td", { key: 'a65e6eed2e09e49c80c5f25312613c874a3d3b1a', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, index.h("tds-checkbox", { key: '37b7bb583a756031ee86c57015523fdb659d683d', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), index.h("slot", { key: '35cdd94e92fc239d756b4ba240f10cd1e1914512' })));
|
|
86
89
|
}
|
|
87
90
|
get host() { return index.getElement(this); }
|
|
88
91
|
};
|
|
@@ -47,16 +47,20 @@ const TdsTableBody = class {
|
|
|
47
47
|
this.bodyCheckBoxClicked();
|
|
48
48
|
}
|
|
49
49
|
connectedCallback() {
|
|
50
|
+
var _a;
|
|
50
51
|
this.tableEl = this.host.closest('tds-table');
|
|
51
|
-
this.tableId = this.tableEl.tableId;
|
|
52
|
+
this.tableId = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.tableId;
|
|
52
53
|
}
|
|
53
54
|
componentWillLoad() {
|
|
54
55
|
relevantTableProps.forEach((tablePropName) => {
|
|
55
|
-
|
|
56
|
+
var _a;
|
|
57
|
+
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
56
58
|
});
|
|
57
59
|
}
|
|
58
60
|
componentWillRender() {
|
|
59
|
-
|
|
61
|
+
var _a, _b;
|
|
62
|
+
const headrColumn = (_a = this.host.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector('tds-table-header');
|
|
63
|
+
const headerColumnsNo = (_b = headrColumn === null || headrColumn === void 0 ? void 0 : headrColumn.children.length) !== null && _b !== void 0 ? _b : 0;
|
|
60
64
|
// multiselect and expended features requires one extra column for controls...
|
|
61
65
|
if (this.multiselect || this.expandableRows) {
|
|
62
66
|
this.columnsNumber = headerColumnsNo + 1;
|
|
@@ -66,12 +70,12 @@ const TdsTableBody = class {
|
|
|
66
70
|
}
|
|
67
71
|
}
|
|
68
72
|
render() {
|
|
69
|
-
return (index.h(index.Host, { key: '
|
|
73
|
+
return (index.h(index.Host, { key: '80e470d85ca46b398d9254bbcf84865b65656c7c', "data-selected-rows": this.multiselectArrayJSON, class: {
|
|
70
74
|
'tds-table--zebra-mode-rows-odd': this.zebraMode === 'rows-odd',
|
|
71
75
|
'tds-table--zebra-mode-rows-even': this.zebraMode === 'rows-even',
|
|
72
76
|
'tds-table--zebra-mode-columns-odd': this.zebraMode === 'columns-odd',
|
|
73
77
|
'tds-table--zebra-mode-columns-even': this.zebraMode === 'columns-even',
|
|
74
|
-
} }, index.h("slot", { key: '
|
|
78
|
+
} }, index.h("slot", { key: 'ef1c5c7a13129ff08d48d568088c05e2416b8284' })));
|
|
75
79
|
}
|
|
76
80
|
get host() { return index.getElement(this); }
|
|
77
81
|
};
|
|
@@ -45,7 +45,7 @@ const TdsTableFooter = class {
|
|
|
45
45
|
this.nextPage = () => {
|
|
46
46
|
/** If pages and greater or equal to the number of pages, increase pagination value.
|
|
47
47
|
* This is to not get above the number of pages in pagination value. */
|
|
48
|
-
if (this.paginationValue <= this.pages) {
|
|
48
|
+
if (this.pages && this.paginationValue <= this.pages) {
|
|
49
49
|
this.paginationValue++;
|
|
50
50
|
}
|
|
51
51
|
this.emitTdsPagination();
|
|
@@ -65,7 +65,7 @@ const TdsTableFooter = class {
|
|
|
65
65
|
this.paginationValue = 1;
|
|
66
66
|
this.rowsperpage = true;
|
|
67
67
|
this.rowsPerPageValues = [10, 25, 50];
|
|
68
|
-
this.pages =
|
|
68
|
+
this.pages = 0;
|
|
69
69
|
this.cols = null;
|
|
70
70
|
this.columnsNumber = 0;
|
|
71
71
|
this.compactDesign = false;
|
|
@@ -87,16 +87,19 @@ const TdsTableFooter = class {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
connectedCallback() {
|
|
90
|
+
var _a;
|
|
90
91
|
this.tableEl = this.host.closest('tds-table');
|
|
91
|
-
this.tableId = this.tableEl.tableId;
|
|
92
|
+
this.tableId = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.tableId;
|
|
92
93
|
}
|
|
93
94
|
componentWillLoad() {
|
|
95
|
+
var _a, _b, _c;
|
|
94
96
|
relevantTableProps.forEach((tablePropName) => {
|
|
95
|
-
|
|
97
|
+
var _a;
|
|
98
|
+
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
96
99
|
});
|
|
97
100
|
this.storeLastCorrectValue(this.paginationValue);
|
|
98
101
|
/** Get the number of columns. */
|
|
99
|
-
const numberOfColumns = this.host.parentElement.querySelector('tds-table-header').childElementCount;
|
|
102
|
+
const numberOfColumns = (_c = (_b = (_a = this.host.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector('tds-table-header')) === null || _b === void 0 ? void 0 : _b.childElementCount) !== null && _c !== void 0 ? _c : 0;
|
|
100
103
|
if (this.cols) {
|
|
101
104
|
this.columnsNumber = this.cols;
|
|
102
105
|
}
|
|
@@ -137,12 +140,16 @@ const TdsTableFooter = class {
|
|
|
137
140
|
}
|
|
138
141
|
render() {
|
|
139
142
|
var _a;
|
|
140
|
-
return (index.h(index.Host, { key: '
|
|
143
|
+
return (index.h(index.Host, { key: 'ccd4af0d18ff3abac93113618be574eaf4dfeccf', class: {
|
|
141
144
|
'tds-table--compact': this.compactDesign,
|
|
142
145
|
'footer__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
143
|
-
}, style: this.getStyles() }, index.h("tr", { key: '
|
|
146
|
+
}, style: this.getStyles() }, index.h("tr", { key: '83352ad6041939ce7c7faecf0a3357254bf70d20', class: "tds-table__footer-row" }, index.h("td", { key: '1c3448a74dedf1523c37598a9cdec1c119d32e29', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (index.h("div", { key: '49e152077961293d0d61a7ec2f7e6dfe4441812e', class: "tds-table__pagination" }, index.h("div", { key: '9d1bb01cbb816deaa6cf1f93c9c851f137dca9cf', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (index.h("div", { key: '5f8609d37e29b4303bd21146113bfc7133a29df8', class: "rows-per-page" }, index.h("p", { key: '90d62b23f416cfb6544b50a21b83dc0e6de030be' }, "Rows per page"), index.h("tds-dropdown", { key: '653df3963055fddacad426f82d204f91a98749f4', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
|
|
144
147
|
return (index.h("tds-dropdown-option", { value: `${value}` }, value));
|
|
145
|
-
}))))), index.h("div", { key: '
|
|
148
|
+
}))))), index.h("div", { key: '0990d81388b9f835edeb24c8cb17a6fb4d11caf9', class: "tds-table__page-selector" }, index.h("input", { key: 'b9f888009f0f0bfc38b5476c328bb92ae4c0962f', ref: (element) => {
|
|
149
|
+
if (element) {
|
|
150
|
+
this.inputElement = element;
|
|
151
|
+
}
|
|
152
|
+
}, class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "ltr", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), index.h("p", { key: '86f6a581d1f5fe50ea2106821ff4afa6dd479387', class: "tds-table__footer-text" }, "of ", index.h("span", { key: '91872a9e6eb05e4e1f540d2a6d203cc2e3fd7a27' }, this.pages), " pages"), index.h("button", { key: '03a354dde544ac8f6e622f6543b69278896963d3', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, index.h("tds-icon", { key: '6d80869e6cf2eba108b141113dc3ba3fe31e0a6a', name: "skip_backwards", size: "20px" })), index.h("button", { key: '0a95763fc3da9a93ca109dcf668ce8c5c5bd0e89', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, index.h("tds-icon", { key: '43e2b68e24844eb964b63a3fb291921edbcd079a', name: "chevron_left", size: "20px" })), index.h("button", { key: 'c61b81dc60bd58383055c5d98b311bc74b593518', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, index.h("tds-icon", { key: 'cdffb08f3cf5a72c98c6a526477add3feb4c5837', name: "chevron_right", size: "20px" })), index.h("button", { key: 'f6dc3bc7fc879bd205abce12dd235dbeaa767c5f', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, index.h("tds-icon", { key: '2c302a54f07077eb3dd3b9665aee6276caceab62', name: "skip_forward", size: "20px" })))))))));
|
|
146
153
|
}
|
|
147
154
|
get host() { return index.getElement(this); }
|
|
148
155
|
};
|
|
@@ -72,7 +72,7 @@ const TdsTableHeaderInputWrapper = class {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (index.h(index.Host, { key: '
|
|
75
|
+
return (index.h(index.Host, { key: '5d46a27bdb22aec58736f8f0dce6855d6ef48f23', class: {
|
|
76
76
|
'focused-input-wrapper': this.inputFocused,
|
|
77
77
|
'show-icon': this.showIcon,
|
|
78
78
|
'tds-table__compact': this.compactDesign,
|
|
@@ -54,46 +54,52 @@ const TdsTableHeaderRow = class {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
bodyExpandClicked() {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
57
|
+
var _a;
|
|
58
|
+
const parentBody = (_a = this.host.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector('tds-table-body');
|
|
59
|
+
if (parentBody) {
|
|
60
|
+
const numberOfExtendRowsActive = parentBody.getElementsByClassName('tds-table__row-extend--active').length;
|
|
61
|
+
const numberOfExtendRows = parentBody.getElementsByTagName('tds-table-body-row-expendable').length;
|
|
62
|
+
if (numberOfExtendRows === numberOfExtendRowsActive) {
|
|
63
|
+
this.mainExpendSelected = true;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
this.mainExpendSelected = false;
|
|
67
|
+
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
connectedCallback() {
|
|
71
|
+
var _a;
|
|
71
72
|
this.tableEl = this.host.closest('tds-table');
|
|
72
|
-
this.tableId = this.tableEl.tableId;
|
|
73
|
+
this.tableId = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.tableId;
|
|
73
74
|
}
|
|
74
75
|
componentWillLoad() {
|
|
75
76
|
relevantTableProps.forEach((tablePropName) => {
|
|
76
|
-
|
|
77
|
+
var _a;
|
|
78
|
+
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
77
79
|
});
|
|
78
80
|
}
|
|
79
81
|
componentWillRender() {
|
|
80
|
-
this.
|
|
81
|
-
|
|
82
|
+
const closestTable = this.host.closest('tds-table');
|
|
83
|
+
if (closestTable) {
|
|
84
|
+
this.enableToolbarDesign =
|
|
85
|
+
(closestTable === null || closestTable === void 0 ? void 0 : closestTable.getElementsByTagName('tds-table-toolbar').length) >= 1;
|
|
86
|
+
}
|
|
82
87
|
}
|
|
83
88
|
async handleCheckboxChange(event) {
|
|
89
|
+
var _a;
|
|
84
90
|
this.allSelected = event.detail.checked;
|
|
85
91
|
this.tdsSelectAll.emit({
|
|
86
92
|
tableId: this.tableId,
|
|
87
93
|
checked: event.detail.checked,
|
|
88
|
-
selectedRows: await this.tableEl.getSelectedRows(),
|
|
94
|
+
selectedRows: await ((_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.getSelectedRows()),
|
|
89
95
|
});
|
|
90
96
|
}
|
|
91
97
|
render() {
|
|
92
|
-
return (index.h(index.Host, { key: '
|
|
98
|
+
return (index.h(index.Host, { key: '0870860808274b91304987249df6c43d3fd90daa', class: {
|
|
93
99
|
'tds-table--compact': this.compactDesign,
|
|
94
100
|
'tds-table--divider': this.verticalDividers,
|
|
95
101
|
'tds-table--toolbar-available': this.enableToolbarDesign,
|
|
96
|
-
} }, index.h("tr", { key: '
|
|
102
|
+
} }, index.h("tr", { key: '29fd58da4486a422897cf98468d284c36fcace41' }, this.multiselect && (index.h("th", { key: '2234f9207945d4aeeeb001def4b2e3d298f28a01', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, index.h("div", { key: 'a9ef50d2d8e0d81b7608e084dae9e37c52e49664', class: "tds-form-label tds-form-label--table" }, index.h("tds-checkbox", { key: '24579bfc15603dd29d73cc3a56cb2633a5aaf0f6', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (index.h("th", { key: '5f30578196a9bf2ca3322f249df7318ddd80146f', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), index.h("slot", { key: '57fb6cecc52634b3f8e247c4eec14e26138d6117' }))));
|
|
97
103
|
}
|
|
98
104
|
get host() { return index.getElement(this); }
|
|
99
105
|
};
|
|
@@ -40,15 +40,17 @@ const TdsTableToolbar = class {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
connectedCallback() {
|
|
43
|
+
var _a;
|
|
43
44
|
this.tableEl = this.host.closest('tds-table');
|
|
44
|
-
this.tableId = this.tableEl.tableId;
|
|
45
|
+
this.tableId = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.tableId;
|
|
45
46
|
if (!this.tdsSearchAriaLabel) {
|
|
46
47
|
console.warn('tds-table-toolbar: tdsSearchAriaLabel is highly recommended for accessibility');
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
componentWillLoad() {
|
|
50
51
|
relevantTableProps.forEach((tablePropName) => {
|
|
51
|
-
|
|
52
|
+
var _a;
|
|
53
|
+
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
52
54
|
});
|
|
53
55
|
}
|
|
54
56
|
handleSearch(event) {
|
|
@@ -74,10 +76,10 @@ const TdsTableToolbar = class {
|
|
|
74
76
|
return styles;
|
|
75
77
|
}
|
|
76
78
|
render() {
|
|
77
|
-
return (index.h(index.Host, { key: '
|
|
79
|
+
return (index.h(index.Host, { key: 'e76b6fc0b933bd081686ab3e060cb35c07470f01', class: {
|
|
78
80
|
'tds-table--compact': this.compactDesign,
|
|
79
81
|
'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
80
|
-
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, index.h("div", { key: '
|
|
82
|
+
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, index.h("div", { key: 'f6cb90f651cac62f4161bc497426e2f364be93ee', class: "tds-table__upper-bar-flex" }, index.h("div", { key: 'b75b0b23fca7992adcea9848e8e6b950d667cd46', class: "tds-table__actionbar-left" }, this.tableTitle && (index.h("caption", { key: 'ed679dba3b67ea6ecb43d9fb4318c264d22ab064', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), index.h("slot", { key: '2937e33ed397413c608d58955083f5ecd9cfe136', name: "start" })), index.h("div", { key: 'c002e6d7e31ff3c21dec3a7a889b36ef930b8826', class: "tds-table__actionbar" }, this.filter && (index.h("div", { key: 'b6e45d1361ddb4c01f2cbce4a5af243e3aaed490', class: "tds-table__searchbar" }, index.h("input", { key: 'bb57c1a1a593ab22915903eabfb3216bec7a74e8', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), index.h("span", { key: '08bed8155351cba48a5934d797160973df0fc6de', class: "tds-table__searchbar-icon" }, index.h("tds-icon", { key: '9b5fda16df341aed692c05dc26ba319c563165d5', name: "search", size: "20px" })))), index.h("slot", { key: '32cbed6b093812e0e811a853b78e915ef091f098', name: "end" })))));
|
|
81
83
|
}
|
|
82
84
|
get host() { return index.getElement(this); }
|
|
83
85
|
};
|
|
@@ -34,20 +34,19 @@ const TdsTable = class {
|
|
|
34
34
|
}
|
|
35
35
|
/** Returns all selected rows data. */
|
|
36
36
|
async getSelectedRows() {
|
|
37
|
+
var _a;
|
|
37
38
|
let selectedRowsData = [];
|
|
38
39
|
const tableBody = this.host.querySelector('tds-table-body');
|
|
39
|
-
const selectedRows = Array.from(tableBody.querySelectorAll('tds-table-body-row')).filter((element) => element.selected);
|
|
40
|
+
const selectedRows = Array.from((_a = tableBody === null || tableBody === void 0 ? void 0 : tableBody.querySelectorAll('tds-table-body-row')) !== null && _a !== void 0 ? _a : []).filter((element) => element.selected);
|
|
40
41
|
selectedRows.forEach((row) => {
|
|
41
42
|
let selectedRow = [];
|
|
42
43
|
const rowCells = Array.from(row.getElementsByTagName('tds-body-cell'));
|
|
43
44
|
rowCells.forEach((cell) => {
|
|
44
45
|
var _a;
|
|
45
46
|
const cellObject = {
|
|
46
|
-
cellKey:
|
|
47
|
-
cellValue: null,
|
|
47
|
+
cellKey: cell.cellKey,
|
|
48
|
+
cellValue: ((_a = cell.cellValue) !== null && _a !== void 0 ? _a : cell.innerText),
|
|
48
49
|
};
|
|
49
|
-
cellObject.cellKey = cell.cellKey;
|
|
50
|
-
cellObject.cellValue = (_a = cell.cellValue) !== null && _a !== void 0 ? _a : cell.innerText;
|
|
51
50
|
selectedRow = [...selectedRow, cellObject];
|
|
52
51
|
});
|
|
53
52
|
selectedRowsData = [...selectedRowsData, selectedRow];
|
|
@@ -87,18 +86,21 @@ const TdsTable = class {
|
|
|
87
86
|
}
|
|
88
87
|
componentWillRender() {
|
|
89
88
|
if (this.horizontalScrollWidth) {
|
|
90
|
-
this.
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
const closestTable = this.host.closest('tds-table');
|
|
90
|
+
if (closestTable) {
|
|
91
|
+
this.enableHorizontalScrollToolbarDesign =
|
|
92
|
+
closestTable.getElementsByTagName('tds-table-toolbar').length >= 1;
|
|
93
|
+
this.enableHorizontalScrollFooterDesign =
|
|
94
|
+
closestTable.getElementsByTagName('tds-table-footer').length >= 1;
|
|
95
|
+
}
|
|
94
96
|
}
|
|
95
97
|
}
|
|
96
98
|
render() {
|
|
97
|
-
return (index.h(index.Host, { key: '
|
|
99
|
+
return (index.h(index.Host, { key: '7a09b4ad8b4b79d0c6488ae2fc56b756857abe67', class: {
|
|
98
100
|
'tds-table--responsive': this.responsive,
|
|
99
101
|
'tds-mode-variant-primary': this.modeVariant === 'primary',
|
|
100
102
|
'tds-mode-variant-secondary': this.modeVariant === 'secondary',
|
|
101
|
-
} }, index.h("table", { key: '
|
|
103
|
+
} }, index.h("table", { key: '949b04b7b26286b8641df078290eadb843899d76', style: this.getStyles(), class: {
|
|
102
104
|
'tds-table': true,
|
|
103
105
|
'tds-table--compact': this.compactDesign,
|
|
104
106
|
'tds-table--divider': this.verticalDividers,
|
|
@@ -109,7 +111,7 @@ const TdsTable = class {
|
|
|
109
111
|
'tds-table--horizontal-scroll-toolbar-compact': this.enableHorizontalScrollToolbarDesign && this.compactDesign,
|
|
110
112
|
'tds-table--horizontal-scroll-footer': this.enableHorizontalScrollFooterDesign && !this.compactDesign,
|
|
111
113
|
'tds-table--horizontal-scroll-footer-compact': this.enableHorizontalScrollFooterDesign && this.compactDesign,
|
|
112
|
-
} }, index.h("slot", { key: '
|
|
114
|
+
} }, index.h("slot", { key: '319e8974bf20f3fba6c7ef286a494d4875bd2c44' }))));
|
|
113
115
|
}
|
|
114
116
|
get host() { return index.getElement(this); }
|
|
115
117
|
static get watchers() { return {
|