@scania/tegel 1.8.1 → 1.9.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/index-fd96d7bb.js +1988 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-accordion.cjs.entry.js +8 -3
- package/dist/cjs/tds-badge.cjs.entry.js +1 -1
- package/dist/cjs/tds-banner.cjs.entry.js +4 -4
- package/dist/cjs/tds-block.cjs.entry.js +2 -2
- package/dist/cjs/tds-body-cell.cjs.entry.js +3 -3
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/tds-button.cjs.entry.js +3 -3
- package/dist/cjs/tds-card.cjs.entry.js +2 -2
- package/dist/cjs/tds-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/tds-chip.cjs.entry.js +39 -36
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +4 -4
- package/dist/cjs/tds-datetime.cjs.entry.js +3 -3
- package/dist/cjs/tds-divider.cjs.entry.js +2 -2
- package/dist/cjs/tds-dropdown-option.cjs.entry.js +2 -2
- package/dist/cjs/tds-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +3 -3
- package/dist/cjs/tds-footer-group.cjs.entry.js +4 -4
- package/dist/cjs/tds-footer-item.cjs.entry.js +2 -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 +2 -2
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-launcher.cjs.entry.js +4 -4
- package/dist/cjs/tds-header-title.cjs.entry.js +2 -2
- package/dist/cjs/tds-header.cjs.entry.js +3 -3
- package/dist/cjs/tds-icon.cjs.entry.js +3 -3
- package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +3 -3
- package/dist/cjs/tds-link.cjs.entry.js +3 -3
- package/dist/cjs/tds-message.cjs.entry.js +3 -3
- package/dist/cjs/tds-modal.cjs.entry.js +7 -3
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +3 -3
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +3 -3
- package/dist/cjs/tds-popover-core.cjs.entry.js +2 -2
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-popover-menu.cjs.entry.js +3 -3
- package/dist/cjs/tds-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +5 -5
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu.cjs.entry.js +2 -2
- package/dist/cjs/tds-slider.cjs.entry.js +8 -8
- package/dist/cjs/tds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/tds-step.cjs.entry.js +3 -3
- package/dist/cjs/tds-stepper.cjs.entry.js +2 -4
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +33 -5
- package/dist/cjs/tds-table-body-row.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-header.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/tds-table.cjs.entry.js +1 -1
- package/dist/cjs/tds-text-field.cjs.entry.js +6 -6
- package/dist/cjs/tds-textarea.cjs.entry.js +4 -4
- package/dist/cjs/tds-toast.cjs.entry.js +4 -4
- package/dist/cjs/tds-toggle.cjs.entry.js +2 -2
- package/dist/cjs/tds-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/tegel.cjs.js +10 -10
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.css +4 -0
- package/dist/collection/components/accordion/accordion.js +24 -1
- package/dist/collection/components/banner/banner.css +0 -32
- package/dist/collection/components/banner/banner.js +2 -2
- package/dist/collection/components/block/block.js +1 -1
- 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.js +2 -2
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +2 -2
- package/dist/collection/components/chip/chip.css +17 -0
- package/dist/collection/components/chip/chip.js +55 -34
- package/dist/collection/components/datetime/datetime.js +2 -2
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +32 -5
- package/dist/collection/components/dropdown/dropdown.js +3 -3
- package/dist/collection/components/footer/footer-group/footer-group.js +3 -3
- package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.css +31 -4
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +3 -3
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/header/header-item/header-item.js +2 -2
- package/dist/collection/components/header/header-launcher/header-launcher.css +31 -4
- package/dist/collection/components/header/header-launcher/header-launcher.js +2 -2
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +1 -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 +1 -1
- package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +1 -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 +11 -0
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/iconsArray.js +9 -1
- package/dist/collection/components/link/link.js +2 -2
- package/dist/collection/components/message/message.js +2 -2
- package/dist/collection/components/modal/modal.css +0 -23
- package/dist/collection/components/modal/modal.js +23 -1
- package/dist/collection/components/popover-canvas/popover-canvas.js +2 -2
- package/dist/collection/components/popover-core/popover-core.js +1 -1
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +2 -2
- package/dist/collection/components/popover-menu/popover-menu.js +2 -2
- package/dist/collection/components/radio-button/radio-button.css +0 -24
- 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 +1 -1
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +4 -4
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.css +1 -1
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +21 -4
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +2 -2
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -2
- 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.js +1 -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/side-menu/side-menu.css +32 -4
- package/dist/collection/components/slider/slider.js +7 -7
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/stepper/step/step.css +9 -3
- package/dist/collection/components/stepper/step/step.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -3
- package/dist/collection/components/table/table-body/table-body.js +1 -1
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +2 -2
- package/dist/collection/components/table/table-body-row/table-body-row.js +2 -2
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +122 -4
- package/dist/collection/components/table/table-footer/table-footer.js +1 -1
- package/dist/collection/components/table/table-header/table-header.js +2 -2
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +1 -1
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +1 -1
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +2 -2
- package/dist/collection/components/text-field/text-field.js +5 -5
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/toast/toast.js +3 -3
- package/dist/collection/components/toggle/toggle.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +0 -11
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/{inheritAriaAttributes.js → p-0bd4c19c.js} +1 -1
- package/dist/components/{side-menu-user-image.js → p-0ea19663.js} +3 -3
- package/dist/components/{popover-canvas.js → p-19c59509.js} +6 -6
- package/dist/components/{header-dropdown-list-item.js → p-2bb5f9be.js} +4 -4
- package/dist/components/{header-launcher-button.js → p-2c342ccf.js} +7 -7
- package/dist/components/{checkbox.js → p-2d20f437.js} +5 -5
- package/dist/components/p-604b1ae6.js +1474 -0
- package/dist/components/{side-menu-user-label.js → p-7972bf06.js} +3 -3
- package/dist/components/{getPreviousNestedChildOfSiblingsMatching.js → p-859e3ebf.js} +1 -1
- package/dist/components/{core-header-item.js → p-a79e3dad.js} +3 -3
- package/dist/components/{divider.js → p-b226e1ea.js} +3 -3
- package/dist/components/{popover-core.js → p-b615fa10.js} +4 -4
- package/dist/components/{side-menu-item.js → p-c393fec5.js} +5 -5
- package/dist/components/{header-item.js → p-d9d19636.js} +6 -6
- package/dist/components/{header-dropdown-list.js → p-e7f57d5e.js} +4 -4
- package/dist/components/p-f64a898a.js +65 -0
- package/dist/components/tds-accordion-item.js +3 -3
- package/dist/components/tds-accordion.js +11 -5
- package/dist/components/tds-badge.js +2 -2
- package/dist/components/tds-banner.js +8 -8
- package/dist/components/tds-block.js +3 -3
- package/dist/components/tds-body-cell.js +4 -4
- package/dist/components/tds-breadcrumb.js +3 -3
- package/dist/components/tds-breadcrumbs.js +3 -3
- package/dist/components/tds-button.js +5 -5
- package/dist/components/tds-card.js +6 -6
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +44 -40
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +5 -5
- package/dist/components/tds-divider.js +1 -1
- package/dist/components/tds-dropdown-option.js +5 -5
- package/dist/components/tds-dropdown.js +7 -7
- package/dist/components/tds-folder-tab.js +4 -4
- package/dist/components/tds-folder-tabs.js +5 -5
- package/dist/components/tds-footer-group.js +6 -6
- package/dist/components/tds-footer-item.js +3 -3
- package/dist/components/tds-footer.js +4 -4
- package/dist/components/tds-header-brand-symbol.js +5 -5
- package/dist/components/tds-header-cell.js +3 -3
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +3 -3
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +12 -12
- package/dist/components/tds-header-hamburger.js +7 -7
- 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-grid-item.js +3 -3
- package/dist/components/tds-header-launcher-grid-title.js +4 -4
- package/dist/components/tds-header-launcher-grid.js +4 -4
- package/dist/components/tds-header-launcher-list-item.js +4 -4
- package/dist/components/tds-header-launcher-list-title.js +4 -4
- package/dist/components/tds-header-launcher-list.js +5 -5
- package/dist/components/tds-header-launcher.js +13 -13
- package/dist/components/tds-header-title.js +3 -3
- package/dist/components/tds-header.js +5 -5
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +4 -4
- package/dist/components/tds-inline-tabs.js +5 -5
- package/dist/components/tds-link.js +4 -4
- package/dist/components/tds-message.js +5 -5
- package/dist/components/tds-modal.js +11 -6
- package/dist/components/tds-navigation-tab.js +4 -4
- package/dist/components/tds-navigation-tabs.js +5 -5
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu-item.js +4 -4
- package/dist/components/tds-popover-menu.js +6 -6
- package/dist/components/tds-radio-button.js +5 -5
- package/dist/components/tds-side-menu-close-button.js +5 -5
- package/dist/components/tds-side-menu-collapse-button.js +7 -7
- package/dist/components/tds-side-menu-dropdown-list-item.js +4 -4
- package/dist/components/tds-side-menu-dropdown-list.js +4 -4
- package/dist/components/tds-side-menu-dropdown.js +9 -9
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-overlay.js +3 -3
- package/dist/components/tds-side-menu-user-image.js +1 -1
- package/dist/components/tds-side-menu-user-label.js +1 -1
- package/dist/components/tds-side-menu-user.js +5 -5
- package/dist/components/tds-side-menu.js +3 -3
- package/dist/components/tds-slider.js +11 -11
- package/dist/components/tds-spinner.js +3 -3
- package/dist/components/tds-step.js +5 -5
- package/dist/components/tds-stepper.js +4 -6
- package/dist/components/tds-table-body-row-expandable.js +42 -8
- package/dist/components/tds-table-body-row.js +5 -5
- package/dist/components/tds-table-body.js +3 -3
- package/dist/components/tds-table-footer.js +4 -4
- package/dist/components/tds-table-header.js +5 -5
- package/dist/components/tds-table-toolbar.js +4 -4
- package/dist/components/tds-table.js +3 -3
- package/dist/components/tds-text-field.js +9 -9
- package/dist/components/tds-textarea.js +6 -6
- package/dist/components/tds-toast.js +8 -8
- package/dist/components/tds-toggle.js +4 -4
- package/dist/components/tds-tooltip.js +7 -7
- package/dist/esm/index-9aa00178.js +1958 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/tds-accordion-item.entry.js +1 -1
- package/dist/esm/tds-accordion.entry.js +8 -3
- package/dist/esm/tds-badge.entry.js +1 -1
- package/dist/esm/tds-banner.entry.js +4 -4
- package/dist/esm/tds-block.entry.js +2 -2
- package/dist/esm/tds-body-cell.entry.js +3 -3
- package/dist/esm/tds-breadcrumb.entry.js +2 -2
- package/dist/esm/tds-breadcrumbs.entry.js +2 -2
- package/dist/esm/tds-button.entry.js +3 -3
- package/dist/esm/tds-card.entry.js +2 -2
- package/dist/esm/tds-checkbox.entry.js +3 -3
- package/dist/esm/tds-chip.entry.js +39 -36
- package/dist/esm/tds-core-header-item_2.entry.js +4 -4
- package/dist/esm/tds-datetime.entry.js +3 -3
- package/dist/esm/tds-divider.entry.js +2 -2
- package/dist/esm/tds-dropdown-option.entry.js +2 -2
- package/dist/esm/tds-dropdown.entry.js +5 -5
- package/dist/esm/tds-folder-tab.entry.js +3 -3
- package/dist/esm/tds-folder-tabs.entry.js +3 -3
- package/dist/esm/tds-footer-group.entry.js +4 -4
- package/dist/esm/tds-footer-item.entry.js +2 -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 +2 -2
- package/dist/esm/tds-header-dropdown-list-item.entry.js +3 -3
- package/dist/esm/tds-header-dropdown-list-user.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list.entry.js +2 -2
- package/dist/esm/tds-header-dropdown.entry.js +5 -5
- package/dist/esm/tds-header-hamburger.entry.js +2 -2
- package/dist/esm/tds-header-launcher-button.entry.js +2 -2
- package/dist/esm/tds-header-launcher-grid-item.entry.js +2 -2
- package/dist/esm/tds-header-launcher-grid-title.entry.js +2 -2
- package/dist/esm/tds-header-launcher-grid.entry.js +2 -2
- package/dist/esm/tds-header-launcher-list-item.entry.js +2 -2
- package/dist/esm/tds-header-launcher-list-title.entry.js +2 -2
- package/dist/esm/tds-header-launcher-list.entry.js +2 -2
- package/dist/esm/tds-header-launcher.entry.js +4 -4
- package/dist/esm/tds-header-title.entry.js +2 -2
- package/dist/esm/tds-header.entry.js +3 -3
- package/dist/esm/tds-icon.entry.js +3 -3
- package/dist/esm/tds-inline-tab.entry.js +3 -3
- package/dist/esm/tds-inline-tabs.entry.js +3 -3
- package/dist/esm/tds-link.entry.js +3 -3
- package/dist/esm/tds-message.entry.js +3 -3
- package/dist/esm/tds-modal.entry.js +7 -3
- package/dist/esm/tds-navigation-tab.entry.js +3 -3
- package/dist/esm/tds-navigation-tabs.entry.js +3 -3
- package/dist/esm/tds-popover-canvas.entry.js +3 -3
- package/dist/esm/tds-popover-core.entry.js +2 -2
- package/dist/esm/tds-popover-menu-item.entry.js +3 -3
- package/dist/esm/tds-popover-menu.entry.js +3 -3
- package/dist/esm/tds-radio-button.entry.js +3 -3
- package/dist/esm/tds-side-menu-close-button.entry.js +2 -2
- package/dist/esm/tds-side-menu-collapse-button.entry.js +5 -5
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown.entry.js +5 -5
- package/dist/esm/tds-side-menu-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-overlay.entry.js +2 -2
- package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -3
- package/dist/esm/tds-side-menu-user.entry.js +2 -2
- package/dist/esm/tds-side-menu.entry.js +2 -2
- package/dist/esm/tds-slider.entry.js +8 -8
- package/dist/esm/tds-spinner.entry.js +2 -2
- package/dist/esm/tds-step.entry.js +3 -3
- package/dist/esm/tds-stepper.entry.js +2 -4
- package/dist/esm/tds-table-body-row-expandable.entry.js +33 -5
- package/dist/esm/tds-table-body-row.entry.js +3 -3
- package/dist/esm/tds-table-body.entry.js +2 -2
- package/dist/esm/tds-table-footer.entry.js +2 -2
- package/dist/esm/tds-table-header.entry.js +3 -3
- package/dist/esm/tds-table-toolbar.entry.js +2 -2
- package/dist/esm/tds-table.entry.js +1 -1
- package/dist/esm/tds-text-field.entry.js +6 -6
- package/dist/esm/tds-textarea.entry.js +4 -4
- package/dist/esm/tds-toast.entry.js +4 -4
- package/dist/esm/tds-toggle.entry.js +2 -2
- package/dist/esm/tds-tooltip.entry.js +4 -4
- package/dist/esm/tegel.js +11 -11
- package/dist/tegel/p-0552fcf0.entry.js +1 -0
- package/dist/tegel/p-069d929a.entry.js +1 -0
- package/dist/tegel/{p-d362d26c.entry.js → p-08b7ab13.entry.js} +1 -1
- package/dist/tegel/p-0a3f16c3.entry.js +1 -0
- package/dist/tegel/p-0b2429b7.entry.js +1 -0
- package/dist/tegel/{p-f226f11e.entry.js → p-0c3dc988.entry.js} +1 -1
- package/dist/tegel/{p-52b9333c.entry.js → p-0e419ec2.entry.js} +1 -1
- package/dist/tegel/p-0ee8d8f8.entry.js +1 -0
- package/dist/tegel/{p-16f0471f.entry.js → p-10c67559.entry.js} +1 -1
- package/dist/tegel/p-120ddbc3.entry.js +1 -0
- package/dist/tegel/p-154b0295.entry.js +1 -0
- package/dist/tegel/p-1839e86c.entry.js +1 -0
- package/dist/tegel/p-1e5daa25.entry.js +1 -0
- package/dist/tegel/p-21df17f2.entry.js +1 -0
- package/dist/tegel/{p-dd082e5f.entry.js → p-2581e064.entry.js} +1 -1
- package/dist/tegel/{p-bc7459fb.entry.js → p-2bc51e55.entry.js} +1 -1
- package/dist/tegel/p-306ceae7.js +2 -0
- package/dist/tegel/p-31e34f56.entry.js +1 -0
- package/dist/tegel/p-39370666.entry.js +1 -0
- package/dist/tegel/p-39977bb1.entry.js +1 -0
- package/dist/tegel/p-47d4ea47.entry.js +1 -0
- package/dist/tegel/p-4b4cda77.entry.js +1 -0
- package/dist/tegel/{p-1e2ef3d6.entry.js → p-4dc24f53.entry.js} +1 -1
- package/dist/tegel/p-4dcd862a.entry.js +1 -0
- package/dist/tegel/{p-5d756b0b.entry.js → p-53593a00.entry.js} +1 -1
- package/dist/tegel/p-53d3bfdb.entry.js +1 -0
- package/dist/tegel/p-54e139fa.entry.js +1 -0
- package/dist/tegel/p-5540ec23.entry.js +1 -0
- package/dist/tegel/p-5abd13c0.entry.js +1 -0
- package/dist/tegel/{p-2f5db352.entry.js → p-5c07ccd7.entry.js} +1 -1
- package/dist/tegel/p-5c1c3b4b.entry.js +1 -0
- package/dist/tegel/{p-3dd15e1e.entry.js → p-6128483a.entry.js} +1 -1
- package/dist/tegel/{p-3f983f99.entry.js → p-641b0db1.entry.js} +1 -1
- package/dist/tegel/{p-76a00407.entry.js → p-66d9fd55.entry.js} +1 -1
- package/dist/tegel/p-69748ddd.entry.js +1 -0
- package/dist/tegel/p-6bd5c9f3.entry.js +1 -0
- package/dist/tegel/{p-5a273781.entry.js → p-6d39b655.entry.js} +1 -1
- package/dist/tegel/p-6d7887d7.entry.js +1 -0
- package/dist/tegel/{p-e3e19bd6.entry.js → p-752a508f.entry.js} +1 -1
- package/dist/tegel/p-78f41f1e.entry.js +1 -0
- package/dist/tegel/{p-7172fd77.entry.js → p-7995afce.entry.js} +1 -1
- package/dist/tegel/{p-033fbea5.entry.js → p-7c33a930.entry.js} +1 -1
- package/dist/tegel/{p-ed8f1e2a.entry.js → p-7e3d4dfc.entry.js} +1 -1
- package/dist/tegel/p-8545dc7a.entry.js +1 -0
- package/dist/tegel/p-87387c4b.entry.js +1 -0
- package/dist/tegel/p-879e02ad.entry.js +1 -0
- package/dist/tegel/{p-5880c2f3.entry.js → p-8d4a30ac.entry.js} +1 -1
- package/dist/tegel/p-91df4ba5.entry.js +1 -0
- package/dist/tegel/{p-e38b51a2.entry.js → p-927fad9a.entry.js} +1 -1
- package/dist/tegel/{p-e10b2f73.entry.js → p-9d15b453.entry.js} +1 -1
- package/dist/tegel/{p-7e0116af.entry.js → p-9ee01e60.entry.js} +1 -1
- package/dist/tegel/p-a34c65df.entry.js +1 -0
- package/dist/tegel/p-a384f9a0.entry.js +1 -0
- package/dist/tegel/p-a557aec6.entry.js +1 -0
- package/dist/tegel/{p-8a90d1ae.entry.js → p-af1a436c.entry.js} +1 -1
- package/dist/tegel/p-afe00180.entry.js +1 -0
- package/dist/tegel/p-b2c68cbc.entry.js +1 -0
- package/dist/tegel/{p-747811d6.entry.js → p-b7e4fc1c.entry.js} +1 -1
- package/dist/tegel/p-b945b89c.entry.js +1 -0
- package/dist/tegel/p-b975e962.entry.js +1 -0
- package/dist/tegel/{p-b6f8c65f.entry.js → p-c17b8164.entry.js} +1 -1
- package/dist/tegel/p-c3d1ab6b.entry.js +1 -0
- package/dist/tegel/{p-0c444c09.entry.js → p-c64f7cfe.entry.js} +1 -1
- package/dist/tegel/p-c652dddb.entry.js +1 -0
- package/dist/tegel/p-cd19d0f3.entry.js +1 -0
- package/dist/tegel/p-d6cf180a.entry.js +1 -0
- package/dist/tegel/{p-8ebc7052.entry.js → p-da0fceab.entry.js} +1 -1
- package/dist/tegel/p-da7072c2.entry.js +1 -0
- package/dist/tegel/{p-e2443a41.entry.js → p-de071583.entry.js} +1 -1
- package/dist/tegel/{p-2f692ff0.entry.js → p-de085966.entry.js} +1 -1
- package/dist/tegel/p-de10bf9c.entry.js +1 -0
- package/dist/tegel/p-de3bf6c0.entry.js +1 -0
- package/dist/tegel/p-de59b8dd.entry.js +1 -0
- package/dist/tegel/p-e0dd13b6.entry.js +1 -0
- package/dist/tegel/{p-b03790b1.entry.js → p-e7e960f6.entry.js} +1 -1
- package/dist/tegel/{p-1fcf69c3.entry.js → p-f18d7a60.entry.js} +1 -1
- package/dist/tegel/p-f8029cbb.entry.js +1 -0
- package/dist/tegel/{p-a1151348.entry.js → p-fb8e02ff.entry.js} +1 -1
- package/dist/tegel/{p-7a3fbb5b.entry.js → p-fdd59c9c.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 +2 -0
- package/dist/types/components/chip/chip.d.ts +2 -0
- package/dist/types/components/modal/modal.d.ts +2 -0
- package/dist/types/components/side-menu/side-menu-dropdown/side-menu-dropdown.d.ts +1 -0
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +16 -0
- package/dist/types/components.d.ts +67 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/utils/appendHiddenInput.d.ts +2 -2
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +331 -4
- package/dist/cjs/index-da55351d.js +0 -2863
- package/dist/components/icon.js +0 -65
- package/dist/esm/index-529974bd.js +0 -2833
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/tegel/p-0215d53c.entry.js +0 -1
- package/dist/tegel/p-02417061.entry.js +0 -1
- package/dist/tegel/p-05704939.entry.js +0 -1
- package/dist/tegel/p-10610955.entry.js +0 -1
- package/dist/tegel/p-1ba2c5df.entry.js +0 -1
- package/dist/tegel/p-1f39c53a.entry.js +0 -1
- package/dist/tegel/p-2598dc8a.entry.js +0 -1
- package/dist/tegel/p-2c388774.entry.js +0 -1
- package/dist/tegel/p-2ffae2d1.entry.js +0 -1
- package/dist/tegel/p-3b546070.entry.js +0 -1
- package/dist/tegel/p-412d8fd1.entry.js +0 -1
- package/dist/tegel/p-453c8af8.entry.js +0 -1
- package/dist/tegel/p-4a04433c.entry.js +0 -1
- package/dist/tegel/p-56bae450.entry.js +0 -1
- package/dist/tegel/p-5b7d9ca4.entry.js +0 -1
- package/dist/tegel/p-5db63168.entry.js +0 -1
- package/dist/tegel/p-652eb0ff.entry.js +0 -1
- package/dist/tegel/p-699829fc.js +0 -2
- package/dist/tegel/p-6c23bc53.entry.js +0 -1
- package/dist/tegel/p-7076c719.entry.js +0 -1
- package/dist/tegel/p-74a93487.entry.js +0 -1
- package/dist/tegel/p-7a8d7b95.entry.js +0 -1
- package/dist/tegel/p-864e5bb0.entry.js +0 -1
- package/dist/tegel/p-87bfc032.entry.js +0 -1
- package/dist/tegel/p-8a46d308.entry.js +0 -1
- package/dist/tegel/p-8bb8d06a.entry.js +0 -1
- package/dist/tegel/p-8c6aad07.entry.js +0 -1
- package/dist/tegel/p-a06e00e1.entry.js +0 -1
- package/dist/tegel/p-a0812bb2.entry.js +0 -1
- package/dist/tegel/p-a31282be.entry.js +0 -1
- package/dist/tegel/p-acc70f3c.entry.js +0 -1
- package/dist/tegel/p-af6d2907.entry.js +0 -1
- package/dist/tegel/p-b263f884.entry.js +0 -1
- package/dist/tegel/p-c08c8bd8.entry.js +0 -1
- package/dist/tegel/p-c77d9eaf.entry.js +0 -1
- package/dist/tegel/p-cc16393b.entry.js +0 -1
- package/dist/tegel/p-d26257ca.entry.js +0 -1
- package/dist/tegel/p-d2e0442d.entry.js +0 -1
- package/dist/tegel/p-d41ef4f8.entry.js +0 -1
- package/dist/tegel/p-d9fec37c.entry.js +0 -1
- package/dist/tegel/p-ddabb9e9.entry.js +0 -1
- package/dist/tegel/p-e12e62cf.entry.js +0 -1
- package/dist/tegel/p-e6a51915.entry.js +0 -1
- package/dist/tegel/p-e8957bd2.entry.js +0 -1
- package/dist/tegel/p-ed56507b.entry.js +0 -1
- package/dist/tegel/p-f93bb760.entry.js +0 -1
- package/dist/tegel/p-fb2968f2.entry.js +0 -1
- /package/dist/components/{generateUniqueId.js → p-11648030.js} +0 -0
- /package/dist/components/{inheritAttributes.js → p-3fe9cbbf.js} +0 -0
- /package/dist/components/{dfs.js → p-52bf0fdf.js} +0 -0
- /package/dist/components/{hasSlot.js → p-ae110fc2.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { g as generateUniqueId } from './
|
|
3
|
-
import { d as defineCustomElement$2 } from './
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h } from './p-604b1ae6.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-11648030.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-f64a898a.js';
|
|
4
4
|
|
|
5
5
|
const sliderCss = "tds-slider{box-sizing:border-box;width:100%}tds-slider *{box-sizing:border-box}tds-slider input[type=range].tds-slider-native-element{display:none}.tds-slider-wrapper{width:100%}.tds-slider-wrapper.read-only{pointer-events:none}.tds-slider{width:100%;display:flex;flex-wrap:nowrap;padding-top:65px}.tds-slider .tds-slider-inner{width:100%;height:20px;position:relative}.tds-slider .tds-slider__controls{position:relative;top:-25px}.tds-slider .tds-slider__controls .tds-slider__control{cursor:pointer}.tds-slider .tds-slider__controls .tds-slider__control.tds-slider__control-minus{padding:18px 18px 18px 0}.tds-slider .tds-slider__controls .tds-slider__control.tds-slider__control-plus{padding:18px 0 18px 18px}.tds-slider .tds-slider__input-values{position:relative;top:-25px;display:flex;flex-wrap:nowrap;align-items:center}.tds-slider .tds-slider__input-values .tds-slider__input-value{user-select:none;padding:18px;color:var(--tds-grey-700);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}.tds-slider .tds-slider__input-values .tds-slider__input-value.min-value{padding-left:0}.tds-slider .tds-slider__input-values .tds-slider__input-field-wrapper{background-color:var(--tds-slider-inputfield-background);display:flex;align-items:center;justify-content:center;border-radius:4px 4px 0 0}.tds-slider .tds-slider__input-values .tds-slider__input-field-wrapper input.tds-slider__input-field{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-slider-input-inputfield-color);border:0;background-color:transparent;text-align:center;padding:12px;box-shadow:inset 0 -1px 0 var(--tds-slider-inputfield-box-shadow);border-radius:4px 4px 0 0}.tds-slider .tds-slider__input-values .tds-slider__input-field-wrapper input.tds-slider__input-field:hover{box-shadow:inset 0 -1px 0 var(--tds-grey-600)}.tds-slider .tds-slider__input-values .tds-slider__input-field-wrapper input.tds-slider__input-field:focus{box-shadow:inset 0 -2px 0 var(--tds-blue-400);outline:0}.tds-slider label{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);user-select:none;position:absolute;color:var(--tds-slider-label-color);padding-bottom:16px;transform:translateY(-100%)}.tds-slider label.offset{padding-bottom:34px}.tds-slider .tds-slider__value{font:var(--tds-detail-01);letter-spacing:var(--tds-detail-01-ls);user-select:none;border-radius:4px;padding:8px;position:absolute;transform:translate(-50%, -100%);top:-24px;background-color:var(--tds-slider-value-tooltip-background);color:var(--tds-slider-value-tooltip-color)}.tds-slider .tds-slider__value svg{color:var(--tds-slider-value-tooltip-background);position:absolute;left:50%;transform:translateX(-50%);top:34px}.tds-slider .tds-slider__thumb{position:absolute}.tds-slider .tds-slider__thumb .tds-slider__thumb-inner{width:20px;height:20px;border-radius:100%;background-color:var(--tds-slider-thumb-color);position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);cursor:pointer}.tds-slider .tds-slider__thumb .tds-slider__thumb-inner::before{content:\" \";display:none;width:48px;height:48px;background-color:var(--tds-slider-thumb-color);position:absolute;border-radius:100%;top:50%;left:50%;transform:translate(-50%, -50%)}.tds-slider .tds-slider__thumb .tds-slider__thumb-inner:hover::before{display:block;opacity:0.08}.tds-slider .tds-slider__thumb .tds-slider__thumb-inner.pressed{width:24px;height:24px}.tds-slider .tds-slider__thumb .tds-slider__thumb-inner.pressed::before{display:block;opacity:0.16 !important}.tds-slider .tds-slider__value-dividers-wrapper{position:relative;width:100%;pointer-events:none}.tds-slider .tds-slider__value-dividers{pointer-events:none;position:absolute;display:flex;justify-content:space-between;width:100%}.tds-slider .tds-slider__value-dividers .tds-slider__value-divider{transform:translateY(-50%);height:16px;background-color:var(--tds-slider-divider-color);color:var(--tds-slider-divider-values-color);width:1px}.tds-slider .tds-slider__value-dividers .tds-slider__value-divider span{display:block;user-select:none;color:var(-tds-grey-700);font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);position:relative;top:-7px;left:50%;transform:translate(-50%, -100%);width:50px;text-align:center}.tds-slider .tds-slider__track{width:100%;height:2px;border-radius:1px;background-color:var(--tds-slider-track-color);position:relative}.tds-slider .tds-slider__track:focus{outline:0}.tds-slider .tds-slider__track:focus .tds-slider__thumb .tds-slider__thumb-inner{width:24px;height:24px}.tds-slider .tds-slider__track:focus .tds-slider__thumb .tds-slider__thumb-inner::before{display:block;opacity:0.08}.tds-slider .tds-slider__track .tds-slider__track-fill{background-color:var(--tds-slider-track-fill-color);border-radius:2px;height:4px;position:absolute;left:0;top:-1px}.tds-slider.disabled{cursor:not-allowed}.tds-slider.disabled>*{pointer-events:none}.tds-slider.disabled label{color:var(--tds-slider-disabled)}.tds-slider.disabled .tds-slider__controls .tds-slider__control{cursor:default}.tds-slider.disabled .tds-slider__controls .tds-slider__control.tds-slider__control-minus svg,.tds-slider.disabled .tds-slider__controls .tds-slider__control.tds-slider__control-plus svg{fill:var(--tds-slider-disabled)}.tds-slider.disabled .tds-slider__input-values .tds-slider__input-value{color:var(--tds-slider-disabled)}.tds-slider.disabled .tds-slider__input-values .tds-slider__input-field-wrapper{pointer-events:none}.tds-slider.disabled .tds-slider__input-values .tds-slider__input-field-wrapper input.tds-slider__input-field{color:var(--tds-slider-disabled);pointer-events:none}.tds-slider.disabled .tds-slider__value{display:none}.tds-slider.disabled .tds-slider__track .tds-slider__track-fill{background-color:var(--tds-slider-disabled)}.tds-slider.disabled .tds-slider__value-dividers .tds-slider__value-divider span{color:var(--tds-slider-disabled)}.tds-slider.disabled .tds-slider__thumb{pointer-events:none}.tds-slider.disabled .tds-slider__thumb .tds-slider__thumb-inner{background-color:var(--tds-slider-disabled);cursor:default}.tds-slider.tds-slider-small .tds-slider__thumb .tds-slider__thumb-inner{width:16px;height:16px}.tds-slider.tds-slider-small .tds-slider__thumb .tds-slider__thumb-inner::before{width:40px;height:40px}.tds-slider.tds-slider-small .tds-slider__thumb .tds-slider__thumb-inner.pressed{width:20px;height:20px}.tds-slider .tds-slider__controls .tds-slider__control{cursor:default}.tds-slider .tds-slider__controls .tds-slider__control.tds-slider__control-minus tds-icon,.tds-slider .tds-slider__controls .tds-slider__control.tds-slider__control-plus tds-icon{color:var(--tds-slider-controls-color)}.tds-slider.disabled .tds-slider__controls .tds-slider__control{cursor:default}.tds-slider.disabled .tds-slider__controls .tds-slider__control.tds-slider__control-minus tds-icon,.tds-slider.disabled .tds-slider__controls .tds-slider__control.tds-slider__control-plus tds-icon{color:var(--tds-slider-disabled)}";
|
|
6
6
|
const TdsSliderStyle0 = sliderCss;
|
|
7
7
|
|
|
8
|
-
const TdsSlider$1 = /*@__PURE__*/ proxyCustomElement(class TdsSlider extends
|
|
8
|
+
const TdsSlider$1 = /*@__PURE__*/ proxyCustomElement(class TdsSlider extends H {
|
|
9
9
|
constructor() {
|
|
10
10
|
super();
|
|
11
11
|
this.__registerHost();
|
|
@@ -291,24 +291,24 @@ const TdsSlider$1 = /*@__PURE__*/ proxyCustomElement(class TdsSlider extends HTM
|
|
|
291
291
|
this.updateTrack();
|
|
292
292
|
}
|
|
293
293
|
render() {
|
|
294
|
-
return (h("div", { key: '
|
|
294
|
+
return (h("div", { key: '9c5bf62899d37963bb7b8fb625aaad698faea337', class: {
|
|
295
295
|
'tds-slider-wrapper': true,
|
|
296
296
|
'read-only': this.readOnly,
|
|
297
|
-
} }, h("input", { key: '
|
|
297
|
+
} }, h("input", { key: '941a70b4e3a7784425e4f93f9b350eec6c68be55', class: "tds-slider-native-element", type: "range", name: this.name, min: this.min, max: this.max, value: this.value, disabled: this.disabled }), h("div", { key: 'feeff66bbe79feae4e5f920d98c22d8e89903769', class: {
|
|
298
298
|
'tds-slider': true,
|
|
299
299
|
'disabled': this.disabled,
|
|
300
300
|
'tds-slider-small': this.useSmall,
|
|
301
301
|
}, ref: (el) => {
|
|
302
302
|
this.wrapperElement = el;
|
|
303
|
-
} }, h("label", { key: '
|
|
303
|
+
} }, h("label", { key: '45fa4b4faad7fd9c72fc7ca3b4df3880a7ebff7f', class: this.showTickNumbers && 'offset' }, this.label), this.useInput && (h("div", { key: 'c7e54be509f4b3701583f571f21ba12eff5af70b', class: "tds-slider__input-values" }, h("div", { key: 'f6a0bb7b63752502c6c1b5dae98e36435cd723c0', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (h("div", { key: '0575cbae374f6c3b0857a5853f614b542d2458c6', class: "tds-slider__controls" }, h("div", { key: '9137108aabe821b5dc186d597662a7ef96da26cd', class: "tds-slider__control tds-slider__control-minus", onClick: (event) => this.stepLeft(event) }, h("tds-icon", { key: '02da8328036a52838d1dee14c90a1609cbbddaa0', name: "minus", size: "16px" })))), h("div", { key: '510859a373a25f9a93f29b8919f19c9a5bc67a53', class: "tds-slider-inner" }, this.tickValues.length > 0 && (h("div", { key: '6c61bb70796d907a26239e9fd9ed80af3163a460', class: "tds-slider__value-dividers-wrapper" }, h("div", { key: 'a6e0b03f496e4f139d4553773ac529f619bad01b', class: "tds-slider__value-dividers" }, this.tickValues.map((value) => (h("div", { class: "tds-slider__value-divider" }, this.showTickNumbers && h("span", null, value))))))), h("div", { key: 'b11e297631af75b8b6e30a03811eaa79ba302e75', class: "tds-slider__track", ref: (el) => {
|
|
304
304
|
this.trackElement = el;
|
|
305
|
-
}, tabindex: this.disabled ? '-1' : '0' }, h("div", { key: '
|
|
305
|
+
}, tabindex: this.disabled ? '-1' : '0' }, h("div", { key: '23e5671900b2ec63f2b2012cde9543155ed25d7a', class: "tds-slider__track-fill", ref: (el) => {
|
|
306
306
|
this.trackFillElement = el;
|
|
307
|
-
} }), h("div", { key: '
|
|
307
|
+
} }), h("div", { key: 'c431b6fbe7de7932c4cbabb30dac6ebff77851ff', class: "tds-slider__thumb", ref: (el) => {
|
|
308
308
|
this.thumbElement = el;
|
|
309
|
-
}, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb() }, this.tooltip && (h("div", { class: "tds-slider__value" }, this.value, h("svg", { width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { 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" })))), h("div", { key: '
|
|
309
|
+
}, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb() }, this.tooltip && (h("div", { key: 'a1727a0e71f38901a9c084d986f8d0a71a6e17c5', class: "tds-slider__value" }, this.value, h("svg", { key: 'f44b64e9269f290526c49e53c4ea083ed60025d0', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '828e5f5377a9ba3c41f613f52505fdf6b329fff1', 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" })))), h("div", { key: 'c2dc9e400794783ffdf9acaf1cadc97a2ea6e894', class: "tds-slider__thumb-inner", ref: (el) => {
|
|
310
310
|
this.thumbInnerElement = el;
|
|
311
|
-
} })))), this.useInput && (h("div", { class: "tds-slider__input-values" }, h("div", { class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { class: "tds-slider__input-field-wrapper" }, h("input", { size: this.calculateInputSizeFromMax(), class: "tds-slider__input-field", value: this.value, readOnly: this.readOnly, onBlur: (event) => this.updateSliderValueOnInputChange(event), onKeyDown: (event) => this.handleInputFieldEnterPress(event), type: "number", min: this.min, max: this.max })))), this.useControls && (h("div", { class: "tds-slider__controls" }, h("div", { class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event) }, h("tds-icon", { name: "plus", size: "16px" })))))));
|
|
311
|
+
} })))), this.useInput && (h("div", { key: 'a3a24d547e4b0d6161876da8be41884cedbae4d8', class: "tds-slider__input-values" }, h("div", { key: '304561b07e1e691b391c1f779ecfba1ddf9d1c51', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { key: 'a6e3cae9e496701fc7f5eff06eb4a81842c76ecd', class: "tds-slider__input-field-wrapper" }, h("input", { key: '62013aa85bb71ca8de6d2478cb8c2381afd3336d', size: this.calculateInputSizeFromMax(), class: "tds-slider__input-field", value: this.value, readOnly: this.readOnly, onBlur: (event) => this.updateSliderValueOnInputChange(event), onKeyDown: (event) => this.handleInputFieldEnterPress(event), type: "number", min: this.min, max: this.max })))), this.useControls && (h("div", { key: '9ac838af89b6bc5ad32d0fbbe3d2971838111c5f', class: "tds-slider__controls" }, h("div", { key: '23cdd6031ce48382c0362ec6f26e290bc8f6fd92', class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event) }, h("tds-icon", { key: 'c623619b0b4b48de2fb480ec767cef641c429793', name: "plus", size: "16px" })))))));
|
|
312
312
|
}
|
|
313
313
|
static get watchers() { return {
|
|
314
314
|
"value": ["handleValueUpdate"]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
1
|
+
import { p as proxyCustomElement, H, h } from './p-604b1ae6.js';
|
|
2
2
|
|
|
3
3
|
const spinnerCss = ":root{--tds-spinner-background:var(--tds-blue-400);--tds-spinner-background-inverted:var(--tds-white);--tds-spinner-speed:1.8s;--tds-spinner-speed-lg:2s;--tds-spinner-radius-xs:8px;--tds-spinner-radius-sm:12px;--tds-spinner-radius-md:26px;--tds-spinner-radius-lg:42px;--tds-spinner-radius:var(--tds-spinner-radius-lg);--tds-spinner-stroke-width-xs:3px;--tds-spinner-stroke-width-sm:4px;--tds-spinner-stroke-width-md:6px;--tds-spinner-stroke-width-lg:8px;--tds-spinner-stroke-width:var(--tds-spinner-stroke-width-lg);--PI:3.14159265358979}:host{box-sizing:border-box;display:block}:host *{box-sizing:border-box}.tds-spinner-svg{width:calc(var(--tds-spinner-radius) * 2);height:calc(var(--tds-spinner-radius) * 2);transform:scale(-1, 1) rotate(-90deg)}.tds-spinner-svg-xs{--tds-spinner-radius:var(--tds-spinner-radius-xs);--tds-spinner-stroke-width:var(--tds-spinner-stroke-width-xs);--tds-spinner-animation-speed:var(--tds-spinner-speed)}.tds-spinner-svg-sm{--tds-spinner-radius:var(--tds-spinner-radius-sm);--tds-spinner-stroke-width:var(--tds-spinner-stroke-width-sm);--tds-spinner-animation-speed:var(--tds-spinner-speed)}.tds-spinner-svg-md{--tds-spinner-radius:var(--tds-spinner-radius-md);--tds-spinner-stroke-width:var(--tds-spinner-stroke-width-md);--tds-spinner-animation-speed:var(--tds-spinner-speed)}.tds-spinner-svg-lg{--tds-spinner-radius:var(--tds-spinner-radius-lg);--tds-spinner-stroke-width:var(--tds-spinner-stroke-width-lg);--tds-spinner-animation-speed:var(--tds-spinner-speed-lg)}.tds-spinner-circle{cx:var(--tds-spinner-radius);cy:var(--tds-spinner-radius);r:calc(var(--tds-spinner-radius) - var(--tds-spinner-stroke-width) / 2);fill:none;--tds-spinner-stroke-dash:calc((2 * var(--PI)) * var(--tds-spinner-radius));stroke-dasharray:var(--tds-spinner-stroke-dash);stroke-width:var(--tds-spinner-stroke-width);animation:dash var(--tds-spinner-animation-speed) cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite}.tds-spinner-circle-standard{stroke:var(--tds-spinner-background)}.tds-spinner-circle-inverted{stroke:var(--tds-spinner-background-inverted)}@keyframes dash{from{stroke-dashoffset:calc(-1 * var(--tds-spinner-stroke-dash))}to{stroke-dashoffset:var(--tds-spinner-stroke-dash)}}";
|
|
4
4
|
const TdsSpinnerStyle0 = spinnerCss;
|
|
5
5
|
|
|
6
|
-
const TdsSpinner$1 = /*@__PURE__*/ proxyCustomElement(class TdsSpinner extends
|
|
6
|
+
const TdsSpinner$1 = /*@__PURE__*/ proxyCustomElement(class TdsSpinner extends H {
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
@@ -11,7 +11,7 @@ const TdsSpinner$1 = /*@__PURE__*/ proxyCustomElement(class TdsSpinner extends H
|
|
|
11
11
|
this.variant = 'standard';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h("div", { key: '
|
|
14
|
+
return (h("div", { key: '13dcb29d2a392299bb705f062544dca1226e4ae7', "aria-live": "assertive", role: "status", "aria-label": "loading" }, h("svg", { key: '3295c24006f13219f9d4dadb01194cc97a1259d3', class: `tds-spinner-svg tds-spinner-svg-${this.size}`, "aria-hidden": "true" }, h("circle", { key: 'ba6939e6ae556aa57b5a20b40f23922207a33b87', class: `tds-spinner-circle tds-spinner-circle-${this.variant}` }))));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return TdsSpinnerStyle0; }
|
|
17
17
|
}, [0, "tds-spinner", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { d as defineCustomElement$2 } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-604b1ae6.js';
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-f64a898a.js';
|
|
3
3
|
|
|
4
|
-
const stepCss = ":host{position:relative;display:table-cell}:host tds-icon{line-height:1}: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.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 .content-container{height:24px;min-width:24px}: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);display:flex;justify-content:center;align-items: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) [role=listitem].sm::after,:host(
|
|
4
|
+
const stepCss = ":host{position:relative;display:table-cell}:host tds-icon{line-height:1}: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.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 .content-container{height:24px;min-width:24px}: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);display:flex;justify-content:center;align-items: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}";
|
|
5
5
|
const TdsStepStyle0 = stepCss;
|
|
6
6
|
|
|
7
7
|
const propToStateMap = {
|
|
@@ -10,7 +10,7 @@ const propToStateMap = {
|
|
|
10
10
|
size: 'size',
|
|
11
11
|
hideLabels: 'hideLabels',
|
|
12
12
|
};
|
|
13
|
-
const TdsStep$1 = /*@__PURE__*/ proxyCustomElement(class TdsStep extends
|
|
13
|
+
const TdsStep$1 = /*@__PURE__*/ proxyCustomElement(class TdsStep extends H {
|
|
14
14
|
constructor() {
|
|
15
15
|
super();
|
|
16
16
|
this.__registerHost();
|
|
@@ -44,7 +44,7 @@ const TdsStep$1 = /*@__PURE__*/ proxyCustomElement(class TdsStep extends HTMLEle
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '25272154fa202dc80faadec2f69bb76c7cfb23ba' }, h("div", { key: 'b95ec3ae0c8842cce29a26a00b77e9d63ddf3e7c', role: "listitem", class: `${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels ? 'hide-labels' : ''}` }, h("div", { key: '5bc8c4ccdf3af7371ea49018d2cd9e1081f7055d', class: `${this.state} content-container` }, this.state === 'success' || this.state === 'error' ? (h("tds-icon", { name: this.state === 'success' ? 'tick' : 'warning', size: this.size === 'lg' ? '20px' : '16px' })) : (this.index)), !this.hideLabels && (h("div", { key: '971af264f2f27ddc0d42c9d05e9ae2d641d88bac', class: `label ${this.size} ${this.state}` }, h("slot", { key: 'dec79d74317c78f72230e4983ac7c672d2560e4b', name: "label" }))))));
|
|
48
48
|
}
|
|
49
49
|
get el() { return this; }
|
|
50
50
|
static get style() { return TdsStepStyle0; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { g as generateUniqueId } from './
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-604b1ae6.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-11648030.js';
|
|
3
3
|
|
|
4
4
|
const stepperCss = ":host [role=list]{display:flex;justify-content:space-evenly;min-width:100%}:host [role=list]:not(.text-position-aside){display:table;table-layout:fixed;width:100%;list-style:none}:host [role=list].vertical{height:100%;display:flex;flex-direction:column;justify-content:unset;gap:52px}:host [role=list].vertical.sm{gap:36px}:host [role=list].horizontal.text-position-aside{justify-content:unset}";
|
|
5
5
|
const TdsStepperStyle0 = stepperCss;
|
|
6
6
|
|
|
7
|
-
const TdsStepper$1 = /*@__PURE__*/ proxyCustomElement(class TdsStepper extends
|
|
7
|
+
const TdsStepper$1 = /*@__PURE__*/ proxyCustomElement(class TdsStepper extends H {
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
@@ -17,8 +17,6 @@ const TdsStepper$1 = /*@__PURE__*/ proxyCustomElement(class TdsStepper extends H
|
|
|
17
17
|
this.stepperId = generateUniqueId();
|
|
18
18
|
}
|
|
19
19
|
componentWillLoad() {
|
|
20
|
-
this.host.children[0].classList.add('first');
|
|
21
|
-
this.host.children[this.host.children.length - 1].classList.add('last');
|
|
22
20
|
if (this.orientation === 'vertical') {
|
|
23
21
|
this.labelPosition = 'aside';
|
|
24
22
|
}
|
|
@@ -52,7 +50,7 @@ const TdsStepper$1 = /*@__PURE__*/ proxyCustomElement(class TdsStepper extends H
|
|
|
52
50
|
});
|
|
53
51
|
}
|
|
54
52
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '1cee7a313771fe80c13c7b2ca72c069b47d77902' }, h("div", { key: '5c7ec9b395c3133fae25e4fd0de5912195246438', role: "list", class: `${this.orientation} text-position-${this.labelPosition} ${this.size}` }, h("slot", { key: 'bf6d7efe8e633c11fbd9d63e5dbfa6b56c853615' }))));
|
|
56
54
|
}
|
|
57
55
|
get host() { return this; }
|
|
58
56
|
static get watchers() { return {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-604b1ae6.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-11648030.js';
|
|
2
3
|
|
|
3
4
|
const tableBodyRowExpandableCss = ":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{padding:16px 16px 16px 66px;color:var(--tds-table-color)}: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)}";
|
|
4
5
|
const TdsTableBodyRowExpandableStyle0 = tableBodyRowExpandableCss;
|
|
@@ -9,13 +10,16 @@ const relevantTableProps = [
|
|
|
9
10
|
'noMinWidth',
|
|
10
11
|
'modeVariant',
|
|
11
12
|
];
|
|
12
|
-
const TdsTableBodyRowExpandable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRowExpandable extends
|
|
13
|
+
const TdsTableBodyRowExpandable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRowExpandable extends H {
|
|
13
14
|
constructor() {
|
|
14
15
|
super();
|
|
15
16
|
this.__registerHost();
|
|
16
17
|
this.__attachShadow();
|
|
17
18
|
this.internalTdsRowExpanded = createEvent(this, "internalTdsRowExpanded", 6);
|
|
19
|
+
this.tdsChange = createEvent(this, "tdsChange", 6);
|
|
18
20
|
this.colSpan = null;
|
|
21
|
+
this.rowId = generateUniqueId();
|
|
22
|
+
this.expanded = undefined;
|
|
19
23
|
this.isExpanded = false;
|
|
20
24
|
this.tableId = '';
|
|
21
25
|
this.columnsNumber = null;
|
|
@@ -36,7 +40,27 @@ const TdsTableBodyRowExpandable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTa
|
|
|
36
40
|
});
|
|
37
41
|
}
|
|
38
42
|
}
|
|
43
|
+
watchExpanded(newValue) {
|
|
44
|
+
if (newValue !== this.isExpanded) {
|
|
45
|
+
this.isExpanded = newValue;
|
|
46
|
+
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded });
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
/** method to expand table row */
|
|
50
|
+
async expand() {
|
|
51
|
+
this.isExpanded = true;
|
|
52
|
+
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded });
|
|
53
|
+
}
|
|
54
|
+
/** method to collapse table row */
|
|
55
|
+
async collapse() {
|
|
56
|
+
this.isExpanded = false;
|
|
57
|
+
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded });
|
|
58
|
+
}
|
|
39
59
|
connectedCallback() {
|
|
60
|
+
/* if user did set a prop we use that as default behaviour */
|
|
61
|
+
if (this.expanded !== undefined) {
|
|
62
|
+
this.isExpanded = this.expanded;
|
|
63
|
+
}
|
|
40
64
|
this.tableEl = this.host.closest('tds-table');
|
|
41
65
|
this.tableId = this.tableEl.tableId;
|
|
42
66
|
}
|
|
@@ -55,37 +79,47 @@ const TdsTableBodyRowExpandable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTa
|
|
|
55
79
|
}
|
|
56
80
|
sendValue() {
|
|
57
81
|
this.internalTdsRowExpanded.emit([this.tableId, this.isExpanded]);
|
|
82
|
+
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded });
|
|
58
83
|
}
|
|
59
84
|
onChangeHandler(event) {
|
|
60
85
|
this.isExpanded = event.currentTarget.checked === true;
|
|
61
86
|
this.sendValue();
|
|
62
87
|
}
|
|
63
88
|
render() {
|
|
64
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: '74b02f93d3827e994ec32d6936861ca272cf6091', class: {
|
|
65
90
|
'tds-table__row': true,
|
|
66
91
|
'tds-table__row-expand--active': this.isExpanded,
|
|
67
92
|
'tds-table__compact': this.compactDesign,
|
|
68
93
|
'tds-table--divider': this.verticalDividers,
|
|
69
|
-
} }, h("tr", { key: '
|
|
94
|
+
} }, h("tr", { key: '8c9b941b05eba4e785bd3d0d3b2fcc102e582e3b', class: {
|
|
70
95
|
'tds-table__row': true,
|
|
71
96
|
'tds-table__row--expanded': this.isExpanded,
|
|
72
|
-
} }, h("td", { key: '
|
|
97
|
+
} }, h("td", { key: '6ca2b7232372c6773b20cbebcf57c2dc22873b8e', class: "tds-table__cell tds-table__cell--expand" }, h("label", { key: '37831f286353d52f811edec384f2e8e9da65cd50', class: "tds-table__expand-control-container" }, h("input", { key: 'ecd7ac5041cba257b00485e44e9b2867fdd563a6', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded }), h("span", { key: '2eb29d27eea8ff2ee7a6afe74a70695b03aa141d', class: "tds-expendable-row-icon" }, h("svg", { key: '88731d236df24d952130566dfa395d3e161de82e', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '81a677c1f6a0b15145b879748cc4d9d6a93821d4', "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" }))))), h("slot", { key: 'deffa2b70b546db18812e4288e07fe6f8ac0d42d' })), h("tr", { key: '1515f8da52b7fec720a788ae9c2127d8a9a69fce', class: {
|
|
73
98
|
'tds-table__row-expand': true,
|
|
74
99
|
'tds-table__row-expand--expanded': this.isExpanded,
|
|
75
|
-
} }, h("td", { key: '
|
|
100
|
+
} }, h("td", { key: 'e16011d9e155b003d011de4a73518a81414f2e91', class: "tds-table__cell-expand", colSpan: this.columnsNumber }, h("slot", { key: 'f60bf938090436423632bf93076bd41ee8def3ce', name: "expand-row" })))));
|
|
76
101
|
}
|
|
77
102
|
get host() { return this; }
|
|
103
|
+
static get watchers() { return {
|
|
104
|
+
"expanded": ["watchExpanded"]
|
|
105
|
+
}; }
|
|
78
106
|
static get style() { return TdsTableBodyRowExpandableStyle0; }
|
|
79
107
|
}, [1, "tds-table-body-row-expandable", {
|
|
80
108
|
"colSpan": [2, "col-span"],
|
|
109
|
+
"rowId": [513, "row-id"],
|
|
110
|
+
"expanded": [516],
|
|
81
111
|
"isExpanded": [32],
|
|
82
112
|
"tableId": [32],
|
|
83
113
|
"columnsNumber": [32],
|
|
84
114
|
"verticalDividers": [32],
|
|
85
115
|
"compactDesign": [32],
|
|
86
116
|
"noMinWidth": [32],
|
|
87
|
-
"modeVariant": [32]
|
|
88
|
-
|
|
117
|
+
"modeVariant": [32],
|
|
118
|
+
"expand": [64],
|
|
119
|
+
"collapse": [64]
|
|
120
|
+
}, [[16, "internalTdsTablePropChange", "internalTdsPropChangeListener"]], {
|
|
121
|
+
"expanded": ["watchExpanded"]
|
|
122
|
+
}]);
|
|
89
123
|
function defineCustomElement$1() {
|
|
90
124
|
if (typeof customElements === "undefined") {
|
|
91
125
|
return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { d as defineCustomElement$2 } from './
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-604b1ae6.js';
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-2d20f437.js';
|
|
3
3
|
|
|
4
4
|
const tableBodyRowCss = ":host(.tds-table__row){box-sizing:border-box;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) *{box-sizing:border-box}:host(.tds-table__row) .tds-table__body-cell--checkbox{min-width:48px;width:48px;padding:0}:host(.tds-table__row:hover){background-color:var(--tds-table-body-row-background-hover)}:host(.tds-table__row--selected){background-color:var(--tds-table-body-row-background-selected)}:host(.tds-table__row--selected:hover){background-color:var(--tds-table-body-row-background-selected-hover)}:host(.tds-table__row--hidden){display:none}:host(.tds-table__row--expended){width:100%;background-color:pink}:host .tds-form-label--table{width:100%;height:48px;display:flex;justify-content:center;align-items:center;cursor:pointer}:host(.tds-table__compact) .tds-form-label--table{height:32px}:host(.tds-table--divider) .tds-table__body-cell--checkbox{border-right:1px solid var(--tds-table-divider)}";
|
|
5
5
|
const TdsTableBodyRowStyle0 = tableBodyRowCss;
|
|
@@ -9,7 +9,7 @@ const relevantTableProps = [
|
|
|
9
9
|
'verticalDividers',
|
|
10
10
|
'compactDesign',
|
|
11
11
|
];
|
|
12
|
-
const TdsTableBodyRow$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRow extends
|
|
12
|
+
const TdsTableBodyRow$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRow extends H {
|
|
13
13
|
constructor() {
|
|
14
14
|
super();
|
|
15
15
|
this.__registerHost();
|
|
@@ -54,12 +54,12 @@ const TdsTableBodyRow$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRow
|
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '2b99a5336354cb5e7e2e7ef9c81bac76a55c6895', class: {
|
|
58
58
|
'tds-table__row': true,
|
|
59
59
|
'tds-table__row--selected': this.selected,
|
|
60
60
|
'tds-table__compact': this.compactDesign,
|
|
61
61
|
'tds-table--divider': this.verticalDividers,
|
|
62
|
-
} }, this.multiselect && (h("td", { class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '
|
|
62
|
+
} }, this.multiselect && (h("td", { key: '049e91ea474a539b6fbe344db4aed9de42297f3d', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '2af9307e3143db71cae028c1cc2116382b20f4c9', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '2eff0d398eb53934ca0b152d25422a5febbbffbb' })));
|
|
63
63
|
}
|
|
64
64
|
get host() { return this; }
|
|
65
65
|
static get style() { return TdsTableBodyRowStyle0; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-604b1ae6.js';
|
|
2
2
|
|
|
3
3
|
const tableBodyCss = ":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}";
|
|
4
4
|
const TdsTableBodyStyle0 = tableBodyCss;
|
|
5
5
|
|
|
6
6
|
const relevantTableProps = ['multiselect', 'expandableRows'];
|
|
7
|
-
const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody extends
|
|
7
|
+
const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody extends H {
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
@@ -58,7 +58,7 @@ const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody exten
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '4b70d0bd4efabb2b82878ebc6ed7098576388b86', "data-selected-rows": this.multiselectArrayJSON }, h("slot", { key: '7c4324c634680b90c37e9e1042fe0f93704b9d0b' })));
|
|
62
62
|
}
|
|
63
63
|
get host() { return this; }
|
|
64
64
|
static get style() { return TdsTableBodyStyle0; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { d as defineCustomElement$2 } from './
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-604b1ae6.js';
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-f64a898a.js';
|
|
3
3
|
|
|
4
4
|
const tableFooterCss = ":host{box-sizing:border-box;display:table-footer-group;height:48px}:host *{box-sizing:border-box}:host .tds-table__footer-row{background-color:var(--tds-table-footer-background);color:var(--tds-table-color)}:host .tds-table__footer-cell{padding:0 16px}:host .tds-table__footer-cell .tds-table__pagination{height:48px;display:flex;align-items:center;justify-content:space-between}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector{display:flex;align-items:center}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);background-color:var(--tds-table-footer-page-selector-input-background);color:var(--tds-table-color);width:54px;height:30px;border:none;border-radius:4px;transition:background-color 250ms ease;margin-right:4px;padding-left:16px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:hover{background-color:var(--tds-table-footer-page-selector-input-background-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:disabled{color:var(--tds-table-footer-page-selector-input-color-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input--shake{animation:tds-shake-animation 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;transform:translate3d(0, 0, 0);backface-visibility:hidden;perspective:1000px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-text{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:1px 8px 0 0}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer;height:32px;width:32px;border-radius:4px;transition:background-color 250ms ease;color:var(--tds-table-footer-page-selector-icon)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:hover{background-color:var(--tds-table-footer-btn-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled{cursor:default;color:var(--tds-table-footer-page-selector-icon-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled:hover{background-color:transparent}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn-svg{height:20px;width:20px;fill:var(--tds-table-color)}:host(.tds-table--compact){height:32px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination{height:32px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{height:24px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{height:28px;width:28px}@keyframes tds-shake-animation{10%,90%{transform:translate3d(-1px, 0, 0)}20%,80%{transform:translate3d(2px, 0, 0)}30%,50%,70%{transform:translate3d(-4px, 0, 0)}40%,60%{transform:translate3d(4px, 0, 0)}}";
|
|
5
5
|
const TdsTableFooterStyle0 = tableFooterCss;
|
|
@@ -8,7 +8,7 @@ const relevantTableProps = ['compactDesign'];
|
|
|
8
8
|
function removeShakeAnimation(e) {
|
|
9
9
|
e.target.classList.remove('tds-table__page-selector-input--shake');
|
|
10
10
|
}
|
|
11
|
-
const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter extends
|
|
11
|
+
const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter extends H {
|
|
12
12
|
constructor() {
|
|
13
13
|
super();
|
|
14
14
|
this.__registerHost();
|
|
@@ -99,7 +99,7 @@ const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter e
|
|
|
99
99
|
this.storeLastCorrectValue(this.paginationValue);
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: '8a128e443420d841b0e56303d4c533ced7fef56c', class: this.compactDesign ? 'tds-table--compact' : '' }, h("tr", { key: '6315f2fdf35c670a702cb7a298b29d53a636a639', class: "tds-table__footer-row" }, h("td", { key: '6d179522f5e379c8899d545c1cae1ebf868dc9dc', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: 'd6b8f037c8a0b4ec05448a64ea3edc11b253289b', class: "tds-table__pagination" }, h("div", { key: '422d83996b22557dc9d31ab23e82b040a3106f62', class: "tds-table__row-selector" }), h("div", { key: 'a978da12ff6763049d9e75e9dea8d85e2786af07', class: "tds-table__page-selector" }, h("input", { key: '343d34c4c7edebd6a797e4bb5c59e20ea5b43fad', ref: (element) => (this.inputElement = element), 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 }), h("p", { key: '38d4a5c1897adeda83ea8faec711a4e32c1ef040', class: "tds-table__footer-text" }, "of ", h("span", { key: '0769b3a30cfe35dcfb13834625b60825ae087a60' }, this.pages), " pages"), h("button", { key: 'fa8af3c295fdbbeb5d965abd76ec71a7564f0a50', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: '0011853f15bc9f0880a2bdf98d20952df2f49ba8', name: "chevron_left", size: "20px" })), h("button", { key: '36c2c94ec609f6e6d30dfd9fc698709f65f24a98', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: 'e3affadd067d44e1f106be7a9334ffe14dae0f1f', name: "chevron_right", size: "20px" })))))))));
|
|
103
103
|
}
|
|
104
104
|
get host() { return this; }
|
|
105
105
|
static get style() { return TdsTableFooterStyle0; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { d as defineCustomElement$2 } from './
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-604b1ae6.js';
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-2d20f437.js';
|
|
3
3
|
|
|
4
4
|
const tableHeaderCss = ":host{box-sizing:border-box;display:table-header-group}:host *{box-sizing:border-box}:host .tds-table__header-cell--checkbox{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);display:table-cell;text-align:left;color:var(--tds-table-color);background-color:var(--tds-table-header-background);border-bottom:1px solid var(--tds-table-divider);height:48px;box-sizing:border-box;overflow:hidden;transition:background-color 200ms ease;min-width:unset;width:48px;padding:0;border-top-left-radius:4px}:host .tds-form-label--table{width:100%;height:48px;display:flex;justify-content:center;align-items:center;cursor:pointer}:host .tds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:48px;cursor:pointer}:host .tds-table__expand-control-container .tds-table__expand-input{display:none}:host .tds-table__expand-control-container .tds-expandable-row-icon{height:20px;width:20px;transition:transform 200ms ease;transform:rotate(0)}:host .tds-table__expand-control-container .tds-expandable-row-icon--opened{transform:rotate(180deg)}:host ::slotted(tds-header-cell:hover){background-color:var(--tds-table-header-background-hover)}:host(.tds-table--compact) .tds-table__header-cell--checkbox{height:32px}:host(.tds-table--compact) .tds-form-label--table{height:32px}:host(.tds-table--divider) .tds-table__header-cell--checkbox{border-right:1px solid var(--tds-table-divider)}:host(.tds-table--toolbar-available) .tds-table__header-cell--checkbox{border-top-left-radius:0}";
|
|
5
5
|
const TdsTableHeaderStyle0 = tableHeaderCss;
|
|
@@ -11,7 +11,7 @@ const relevantTableProps = [
|
|
|
11
11
|
'compactDesign',
|
|
12
12
|
'noMinWidth',
|
|
13
13
|
];
|
|
14
|
-
const TdsTableHeaderRow = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderRow extends
|
|
14
|
+
const TdsTableHeaderRow = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderRow extends H {
|
|
15
15
|
constructor() {
|
|
16
16
|
super();
|
|
17
17
|
this.__registerHost();
|
|
@@ -88,11 +88,11 @@ const TdsTableHeaderRow = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderR
|
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
render() {
|
|
91
|
-
return (h(Host, { key: '
|
|
91
|
+
return (h(Host, { key: '5f212887d3d35e32240e9745d62685b7024100e1', class: {
|
|
92
92
|
'tds-table--compact': this.compactDesign,
|
|
93
93
|
'tds-table--divider': this.verticalDividers,
|
|
94
94
|
'tds-table--toolbar-available': this.enableToolbarDesign,
|
|
95
|
-
} }, h("tr", { key: '
|
|
95
|
+
} }, h("tr", { key: '1a40af0dddfb627c39ae5df47aedc80eb1006f04' }, this.multiselect && (h("th", { key: '17d16e6bf8964b30e0ce93a76c436112ac0a6540', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: '98f282baf5a0b4a929ad04c850319e04955090a0', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '9d8115deb1403df121309d32a166ccc6eac685d5', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: '7cc0e1c0d3d7ec9f4bef917a5b8346cca8bc58ae', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '2f7aa3bd3acdd69f1f2a20d3525ad5901f0ac239' }))));
|
|
96
96
|
}
|
|
97
97
|
get host() { return this; }
|
|
98
98
|
static get style() { return TdsTableHeaderStyle0; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { d as defineCustomElement$2 } from './
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-604b1ae6.js';
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-f64a898a.js';
|
|
3
3
|
|
|
4
4
|
const tableToolbarCss = ":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(.tds-table--compact){height:56px}";
|
|
5
5
|
const TdsTableToolbarStyle0 = tableToolbarCss;
|
|
@@ -9,7 +9,7 @@ const relevantTableProps = [
|
|
|
9
9
|
'noMinWidth',
|
|
10
10
|
'verticalDividers',
|
|
11
11
|
];
|
|
12
|
-
const TdsTableToolbar$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableToolbar extends
|
|
12
|
+
const TdsTableToolbar$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableToolbar extends H {
|
|
13
13
|
constructor() {
|
|
14
14
|
super();
|
|
15
15
|
this.__registerHost();
|
|
@@ -60,7 +60,7 @@ const TdsTableToolbar$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableToolbar
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: 'adcfcb7f8f70a870f9fb04a2285095e732626892', class: this.compactDesign ? 'tds-table--compact' : '' }, h("div", { key: '26061d9f0fcb71fa2933f7f1657fb2bdb12ead1a', class: "tds-table__upper-bar-flex" }, h("caption", { key: 'dc482f239aeb319d9e97c0c751e66c9775320ba1', class: "tds-table__title" }, this.tableTitle), h("div", { key: 'c7e915c2f9da44d94b8867c0126c28a4de034769', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '3c7d5adcf41620a88b8d0d53447b0ee090576e54', class: "tds-table__searchbar" }, h("input", { key: 'fee2bc1860c61b0dcefe821c3d0416e24ff6c2aa', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event) }), h("span", { key: '0ff52f05dc15569b21bff731776c3fa59971c64c', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: 'a5c9c9d47fb1b56ac1e85feb404589c0ed30c194', name: "search", size: "20px" })))), h("slot", { key: '1a8c32e70f2c45f49e2c685b3877a5eb412ecc4e', name: "end" })))));
|
|
64
64
|
}
|
|
65
65
|
get host() { return this; }
|
|
66
66
|
static get style() { return TdsTableToolbarStyle0; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { g as generateUniqueId } from './
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-604b1ae6.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-11648030.js';
|
|
3
3
|
|
|
4
4
|
const tableCss = ":host,.tds-table{border-collapse:collapse;display:table;box-sizing:border-box}:host *,.tds-table *{box-sizing:border-box}:host(.tds-table--responsive),.tds-table--responsive{width:100%}";
|
|
5
5
|
const TdsTableStyle0 = tableCss;
|
|
6
6
|
|
|
7
|
-
const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends
|
|
7
|
+
const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { h as hasSlot } from './
|
|
3
|
-
import { d as defineCustomElement$2 } from './
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h } from './p-604b1ae6.js';
|
|
2
|
+
import { h as hasSlot } from './p-ae110fc2.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-f64a898a.js';
|
|
4
4
|
|
|
5
5
|
const textFieldCss = ".text-field-input-lg.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-20) var(--tds-spacing-element-16)}.text-field-input-lg.sc-tds-text-field::placeholder{color:var(--tds-text-field-color)}.text-field-input-lg.sc-tds-text-field:focus::placeholder{color:var(--tds-text-field-placeholder-focus-color)}.text-field-input-lg.sc-tds-text-field:disabled{cursor:not-allowed;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-lg.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-lg.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-input-md.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-16)}.text-field-input-md.sc-tds-text-field::placeholder{color:var(--tds-text-field-color)}.text-field-input-md.sc-tds-text-field:focus::placeholder{color:var(--tds-text-field-placeholder-focus-color)}.text-field-input-md.sc-tds-text-field:disabled{cursor:not-allowed;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-md.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-md.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-input-sm.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-16)}.text-field-input-sm.sc-tds-text-field::placeholder{color:var(--tds-text-field-color)}.text-field-input-sm.sc-tds-text-field:focus::placeholder{color:var(--tds-text-field-placeholder-focus-color)}.text-field-input-sm.sc-tds-text-field:disabled{cursor:not-allowed;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-sm.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-sm.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-container.sc-tds-text-field{border-radius:4px 4px 0 0;display:flex;position:relative;height:56px;box-sizing:border-box;background-color:var(--tds-text-field-background);border-bottom:1px solid var(--tds-text-field-border-bottom);transition:border-bottom-color 200ms ease}.text-field-container.sc-tds-text-field:hover{border-bottom-color:var(--tds-text-field-border-bottom-hover)}.form-text-field-md.sc-tds-text-field .text-field-container.sc-tds-text-field{height:48px}.form-text-field-sm.sc-tds-text-field .text-field-container.sc-tds-text-field{height:40px}.text-field-input-container.sc-tds-text-field{position:relative;width:100%}.text-field-data.sc-tds-text-field,.text-field-input.sc-tds-text-field{color:var(--tds-text-field-data-color)}.text-field-label-outside.sc-tds-text-field>*.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:block;margin-bottom:var(--tds-spacing-element-8);color:var(--tds-text-field-label-color)}.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);position:absolute;pointer-events:none;color:var(--tds-text-field-label-inside-color);left:16px}.form-text-field.sc-tds-text-field{display:block;min-width:208px}.form-text-field-nomin.sc-tds-text-field{min-width:auto}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field{padding-top:var(--tds-spacing-element-24);padding-bottom:15px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:20px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder-focus-color)}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field{padding-top:var(--tds-spacing-element-20);padding-bottom:11px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:16px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder-focus-color)}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field{padding-top:var(--tds-spacing-element-20);padding-bottom:11px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:16px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder-focus-color)}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:8px}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:8px}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:12px}.text-field-bar.sc-tds-text-field{position:absolute;width:100%}.text-field-bar.sc-tds-text-field::before,.text-field-bar.sc-tds-text-field::after{content:\"\";height:2px;top:54px;width:0;position:absolute;background:var(--tds-text-field-bar);transition:0.35s ease all}.form-text-field-md.sc-tds-text-field .text-field-bar.sc-tds-text-field::before,.form-text-field-md.sc-tds-text-field .text-field-bar.sc-tds-text-field::after{top:46px}.form-text-field-sm.sc-tds-text-field .text-field-bar.sc-tds-text-field::before,.form-text-field-sm.sc-tds-text-field .text-field-bar.sc-tds-text-field::after{top:40px}.text-field-bar.sc-tds-text-field::before{left:50%}.text-field-bar.sc-tds-text-field::after{right:50%}.text-field-focus.sc-tds-text-field .text-field-bar.sc-tds-text-field::before,.text-field-focus.sc-tds-text-field .text-field-bar.sc-tds-text-field::after{width:50%}.text-field-helper.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:flex;gap:8px;justify-content:space-between;flex-basis:100%;padding-top:var(--tds-spacing-element-4);color:var(--tds-text-field-helper)}.text-field-helper.sc-tds-text-field .text-field-textcounter.sc-tds-text-field{margin-left:auto}.form-text-field-disabled.sc-tds-text-field .text-field-container.sc-tds-text-field{border-bottom-color:transparent}.form-text-field-disabled.sc-tds-text-field .text-field-slot-wrap-prefix.sc-tds-text-field>*.sc-tds-text-field,.form-text-field-disabled.sc-tds-text-field .text-field-slot-wrap-suffix.sc-tds-text-field>*.sc-tds-text-field{color:var(--tds-text-field-ps-color-disabled)}.form-text-field-disabled.sc-tds-text-field .text-field-label-outside.sc-tds-text-field>*.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-icon__readonly.sc-tds-text-field{display:none;position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--tds-text-field-icon-read-only-label-color)}.text-field-icon__readonly-label.sc-tds-text-field{display:none;position:absolute;right:18px;top:48px;font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);padding:8px;white-space:nowrap;border-radius:4px 0 4px 4px;background-color:var(--tds-text-field-icon-read-only-label-background)}.form-text-field-readonly.sc-tds-text-field{pointer-events:none}.form-text-field-readonly.sc-tds-text-field .text-field-icon__readonly.sc-tds-text-field{display:block}.form-text-field-readonly.sc-tds-text-field .text-field-icon__readonly.sc-tds-text-field:hover~.text-field-icon__readonly-label.sc-tds-text-field{display:block}.form-text-field-readonly.sc-tds-text-field .text-field-input.sc-tds-text-field{padding-right:54px;background-color:transparent}.form-text-field-success.sc-tds-text-field .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-success)}.form-text-field-error.sc-tds-text-field .text-field-helper.sc-tds-text-field{color:var(--tds-text-field-helper-error)}.form-text-field-error.sc-tds-text-field .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-error)}.form-text-field-error.sc-tds-text-field .text-field-bar.sc-tds-text-field::before,.form-text-field-error.sc-tds-text-field .text-field-bar.sc-tds-text-field::after{background:var(--tds-text-field-bar-error)}.text-field-helper-error-state.sc-tds-text-field{display:flex;gap:8px;flex-wrap:nowrap}.text-field-textcounter.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);color:var(--tds-text-field-textcounter);float:right}.text-field-textcounter.sc-tds-text-field .text-field-textcounter-divider.sc-tds-text-field{color:var(--tds-text-field-textcounter-divider)}.text-field-slot-wrap-prefix.sc-tds-text-field,.text-field-slot-wrap-suffix.sc-tds-text-field{align-self:center;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);margin:0 0 0 14px;color:var(--tds-text-field-ps-color)}.text-field-slot-wrap-prefix.sc-tds-text-field-s>:not(tds-icon),.text-field-slot-wrap-suffix.sc-tds-text-field-s>:not(tds-icon){margin:0 0 0 2px}.text-field-slot-wrap-prefix.text-field-error.sc-tds-text-field,.text-field-slot-wrap-suffix.text-field-error.sc-tds-text-field{color:var(--tds-text-field-ps-color-error)}.text-field-slot-wrap-suffix.sc-tds-text-field{margin:0 14px 0 0}.text-field-slot-wrap-suffix.sc-tds-text-field-s>:not(tds-icon){margin:0 2px 0 0}";
|
|
6
6
|
const TdsTextFieldStyle0 = textFieldCss;
|
|
7
7
|
|
|
8
|
-
const TdsTextField$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextField extends
|
|
8
|
+
const TdsTextField$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextField extends H {
|
|
9
9
|
constructor() {
|
|
10
10
|
super();
|
|
11
11
|
this.__registerHost();
|
|
@@ -55,7 +55,7 @@ const TdsTextField$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextField exten
|
|
|
55
55
|
var _a;
|
|
56
56
|
const usesPrefixSlot = hasSlot('prefix', this.host);
|
|
57
57
|
const usesSuffixSlot = hasSlot('suffix', this.host);
|
|
58
|
-
return (h("div", { key: '
|
|
58
|
+
return (h("div", { key: 'af93aac8fe99744a466af32645df1159f6517621', class: {
|
|
59
59
|
'form-text-field-nomin': this.noMinWidth,
|
|
60
60
|
'form-text-field': !this.focusInput || this.disabled,
|
|
61
61
|
'text-field-focus': this.focusInput && !this.disabled,
|
|
@@ -69,12 +69,12 @@ const TdsTextField$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextField exten
|
|
|
69
69
|
'form-text-field-sm': this.size === 'sm',
|
|
70
70
|
'form-text-field-error': this.state === 'error',
|
|
71
71
|
'form-text-field-success': this.state === 'success',
|
|
72
|
-
} }, this.labelPosition === 'outside' && (h("div", { class: "text-field-label-outside" }, h("div",
|
|
72
|
+
} }, this.labelPosition === 'outside' && (h("div", { key: 'ceffe4d0d2cbc71f0261b8e3d61e18b24ba22b68', class: "text-field-label-outside" }, h("div", { key: '2084087df1a986ab9c41fb741fd00ff6e22bb572' }, this.label))), h("div", { key: '3077fb9808ee0b09cb28cb69b9f2bb34b7224eb0', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: '6e234045ab96c5d29a1119c2a7c16e77205f466e', class: {
|
|
73
73
|
'text-field-slot-wrap-prefix': true,
|
|
74
74
|
'text-field-error': this.state === 'error',
|
|
75
75
|
'text-field-success': this.state === 'success',
|
|
76
76
|
'text-field-default': this.state === 'default',
|
|
77
|
-
} }, h("slot", { name: "prefix" }))), h("div", { key: '
|
|
77
|
+
} }, h("slot", { key: '76df42ef5b886284b471cf77552b1d7473857f0c', name: "prefix" }))), h("div", { key: '03b3ee869ba507a9decd9c9b5af1fda9bc47c671', class: "text-field-input-container" }, h("input", { key: '47049115cff82c06d88a77792388f37ffedc5dbc', ref: (inputEl) => (this.textInput = inputEl), class: {
|
|
78
78
|
'text-field-input': true,
|
|
79
79
|
'text-field-input-sm': this.size === 'sm',
|
|
80
80
|
'text-field-input-md': this.size === 'md',
|
|
@@ -87,13 +87,13 @@ const TdsTextField$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextField exten
|
|
|
87
87
|
if (!this.readOnly) {
|
|
88
88
|
this.handleBlur(event);
|
|
89
89
|
}
|
|
90
|
-
} }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { class: "text-field-label-inside" }, this.label))), h("div", { key: '
|
|
90
|
+
} }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '69deb0290018fd1649700266e706b0a55ed66b5e', class: "text-field-label-inside" }, this.label))), h("div", { key: '5cddf711727ef892849e3970a366854ce19fffc1', class: "text-field-bar" }), usesSuffixSlot && (h("div", { key: 'a169798c9699ebced30dd65660678358d8e63ac8', class: {
|
|
91
91
|
'text-field-slot-wrap-suffix': true,
|
|
92
92
|
'text-field-error': this.state === 'error',
|
|
93
93
|
'text-field-success': this.state === 'success',
|
|
94
94
|
'text-field-default': this.state === 'default',
|
|
95
95
|
'tds-u-display-none': this.readOnly,
|
|
96
|
-
} }, h("slot", { name: "suffix" }))), h("span", { key: '
|
|
96
|
+
} }, h("slot", { key: '4043d0ab130b9a0e7d2c0966300b997537bae53e', name: "suffix" }))), h("span", { key: 'ef9e4d55f310cbc8132e46f1e74f89a9fbc62ca9', class: "text-field-icon__readonly" }, h("tds-icon", { key: 'a968990fc370038a3657c752720ae29905b8b115', name: "edit_inactive", size: "20px" })), h("span", { key: '7518767f23b8a424bdad9d3cc776c179bf745680', class: "text-field-icon__readonly-label" }, "This field is non-editable")), (this.helper || this.maxLength > 0) && (h("div", { key: '857ab4650416e7abb96637c4cb7a8bf5a6f7fbe5', class: "text-field-helper" }, this.state === 'error' && (h("div", { key: 'bee202fccd49ba3cbe14a65d9e75b1d2a1e8d7a4', class: "text-field-helper-error-state" }, h("tds-icon", { key: '039457d06cccdf7a3a61b6b65952d2735df6aac3', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, this.maxLength > 0 && (h("div", { key: '92aa70e21712e92836ecd92b1d5faa2f31473f82', class: "text-field-textcounter" }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '58559bb93ab041e096e6a6b383b6371cc49e40af', class: "text-field-textcounter-divider" }, " / "), this.maxLength))))));
|
|
97
97
|
}
|
|
98
98
|
get host() { return this; }
|
|
99
99
|
static get style() { return TdsTextFieldStyle0; }
|