@scania/tegel 1.11.0 → 1.12.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.
Files changed (81) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/tds-dropdown.cjs.entry.js +5 -4
  3. package/dist/cjs/tds-footer.cjs.entry.js +1 -1
  4. package/dist/cjs/tds-header-cell.cjs.entry.js +14 -18
  5. package/dist/cjs/tds-header-dropdown.cjs.entry.js +1 -1
  6. package/dist/cjs/tds-header-launcher.cjs.entry.js +1 -1
  7. package/dist/cjs/tds-header.cjs.entry.js +1 -1
  8. package/dist/cjs/tds-side-menu.cjs.entry.js +1 -1
  9. package/dist/cjs/tds-table-footer.cjs.entry.js +10 -3
  10. package/dist/cjs/tds-table-toolbar.cjs.entry.js +7 -2
  11. package/dist/cjs/tds-table.cjs.entry.js +25 -5
  12. package/dist/cjs/tds-tooltip.cjs.entry.js +11 -4
  13. package/dist/cjs/tegel.cjs.js +1 -1
  14. package/dist/collection/components/dropdown/dropdown.css +1 -0
  15. package/dist/collection/components/dropdown/dropdown.js +4 -3
  16. package/dist/collection/components/footer/footer.js +1 -1
  17. package/dist/collection/components/header/header-dropdown/header-dropdown.css +1 -0
  18. package/dist/collection/components/header/header-launcher/header-launcher.css +1 -0
  19. package/dist/collection/components/header/header.css +1 -0
  20. package/dist/collection/components/side-menu/side-menu.css +1 -0
  21. package/dist/collection/components/table/table/table.css +61 -0
  22. package/dist/collection/components/table/table/table.js +49 -3
  23. package/dist/collection/components/table/table-footer/table-footer.css +6 -0
  24. package/dist/collection/components/table/table-footer/table-footer.js +11 -3
  25. package/dist/collection/components/table/table-header-cell/table-header-cell.css +7 -0
  26. package/dist/collection/components/table/table-header-cell/table-header-cell.js +31 -17
  27. package/dist/collection/components/table/table-toolbar/table-toolbar.css +5 -0
  28. package/dist/collection/components/table/table-toolbar/table-toolbar.js +8 -2
  29. package/dist/collection/components/tooltip/tooltip.js +30 -5
  30. package/dist/components/tds-dropdown.js +5 -4
  31. package/dist/components/tds-footer.js +1 -1
  32. package/dist/components/tds-header-cell.js +22 -19
  33. package/dist/components/tds-header-dropdown.js +1 -1
  34. package/dist/components/tds-header-launcher.js +1 -1
  35. package/dist/components/tds-header.js +1 -1
  36. package/dist/components/tds-side-menu.js +1 -1
  37. package/dist/components/tds-table-footer.js +12 -4
  38. package/dist/components/tds-table-toolbar.js +9 -3
  39. package/dist/components/tds-table.js +30 -6
  40. package/dist/components/tds-tooltip.js +12 -4
  41. package/dist/esm/loader.js +1 -1
  42. package/dist/esm/tds-dropdown.entry.js +5 -4
  43. package/dist/esm/tds-footer.entry.js +1 -1
  44. package/dist/esm/tds-header-cell.entry.js +14 -18
  45. package/dist/esm/tds-header-dropdown.entry.js +1 -1
  46. package/dist/esm/tds-header-launcher.entry.js +1 -1
  47. package/dist/esm/tds-header.entry.js +1 -1
  48. package/dist/esm/tds-side-menu.entry.js +1 -1
  49. package/dist/esm/tds-table-footer.entry.js +10 -3
  50. package/dist/esm/tds-table-toolbar.entry.js +7 -2
  51. package/dist/esm/tds-table.entry.js +25 -5
  52. package/dist/esm/tds-tooltip.entry.js +11 -4
  53. package/dist/esm/tegel.js +1 -1
  54. package/dist/tegel/p-0fd4bd8f.entry.js +1 -0
  55. package/dist/tegel/p-3aadfd5a.entry.js +1 -0
  56. package/dist/tegel/p-3fc901d7.entry.js +1 -0
  57. package/dist/tegel/p-5bd414e4.entry.js +1 -0
  58. package/dist/tegel/p-67ae4ed2.entry.js +1 -0
  59. package/dist/tegel/p-84b40f5e.entry.js +1 -0
  60. package/dist/tegel/{p-6bd5c9f3.entry.js → p-88ea6805.entry.js} +1 -1
  61. package/dist/tegel/p-b9c8fc12.entry.js +1 -0
  62. package/dist/tegel/p-c622fd13.entry.js +1 -0
  63. package/dist/tegel/{p-70460f61.entry.js → p-ce3d0556.entry.js} +1 -1
  64. package/dist/tegel/{p-0a3f16c3.entry.js → p-f55f40f0.entry.js} +1 -1
  65. package/dist/tegel/tegel.css +2 -1
  66. package/dist/tegel/tegel.esm.js +1 -1
  67. package/dist/types/components/table/table/table.d.ts +9 -0
  68. package/dist/types/components/table/table-footer/table-footer.d.ts +1 -0
  69. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +3 -1
  70. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +1 -0
  71. package/dist/types/components/tooltip/tooltip.d.ts +3 -0
  72. package/dist/types/components.d.ts +24 -0
  73. package/package.json +1 -1
  74. package/dist/tegel/p-2581e064.entry.js +0 -1
  75. package/dist/tegel/p-53d3bfdb.entry.js +0 -1
  76. package/dist/tegel/p-7995afce.entry.js +0 -1
  77. package/dist/tegel/p-879e02ad.entry.js +0 -1
  78. package/dist/tegel/p-a34c65df.entry.js +0 -1
  79. package/dist/tegel/p-c652dddb.entry.js +0 -1
  80. package/dist/tegel/p-de3bf6c0.entry.js +0 -1
  81. package/dist/tegel/p-e0dd13b6.entry.js +0 -1
@@ -40,7 +40,8 @@ const TdsTooltip = class {
40
40
  this.selector = '';
41
41
  this.referenceEl = undefined;
42
42
  this.mouseOverTooltip = false;
43
- this.show = false;
43
+ this.trigger = 'hover';
44
+ this.show = null;
44
45
  this.placement = 'bottom';
45
46
  this.offsetSkidding = 0;
46
47
  this.offsetDistance = 8;
@@ -48,18 +49,24 @@ const TdsTooltip = class {
48
49
  componentWillLoad() {
49
50
  this.inheritedAttributes = inheritAttributes.inheritAttributes(this.host, ['style', 'class']);
50
51
  }
52
+ determineTrigger() {
53
+ if (this.trigger === 'hover') {
54
+ return this.mouseOverTooltip ? 'hover-popover' : 'hover';
55
+ }
56
+ return this.trigger;
57
+ }
51
58
  render() {
52
59
  var _a;
53
- return (index.h(index.Host, { key: '7488d071020eaaf9adefe51346927e8fd824b631' }, index.h("tds-popover-core", Object.assign({ key: '9aa67d282897a5d98f63342e5baab9d09939407d' }, this.inheritedAttributes, { class: {
60
+ return (index.h(index.Host, { key: '09e3cbcc6df68b45aba5ea2a83a7498b333816d3' }, index.h("tds-popover-core", Object.assign({ key: '818391a146b316b9830989a772c0ab050203eb71' }, this.inheritedAttributes, { class: {
54
61
  'tds-tooltip': true,
55
62
  [`tds-tooltip-${this.border}`]: true,
56
63
  [(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
57
64
  'tds-tooltip-show': this.show,
58
- }, selector: this.selector, referenceEl: this.referenceEl, trigger: this.mouseOverTooltip ? 'hover-popover' : 'hover', modifiers: this.popperjsExtraModifiers, offsetSkidding: this.offsetSkidding, offsetDistance: this.offsetDistance, show: this.show, placement: this.placement, autoHide: false, onInternalTdsShow: () => {
65
+ }, selector: this.selector, referenceEl: this.referenceEl, trigger: this.determineTrigger(), modifiers: this.popperjsExtraModifiers, offsetSkidding: this.offsetSkidding, offsetDistance: this.offsetDistance, show: this.show, placement: this.placement, autoHide: false, onInternalTdsShow: () => {
59
66
  this.show = true;
60
67
  }, onInternalTdsClose: () => {
61
68
  this.show = false;
62
- } }), this.text, index.h("slot", { key: '38d9665449796102773b74f272354ec3759be1f6' }))));
69
+ } }), this.text, index.h("slot", { key: 'd62923964dd2d9221349e01ef6403e3a83e53932' }))));
63
70
  }
64
71
  get host() { return index.getElement(this); }
65
72
  };
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy(JSON.parse("[[\"tds-header-launcher.cjs\",[[1,\"tds-header-launcher\",{\"open\":[32],\"buttonEl\":[32],\"hasListTypeMenu\":[32]},[[8,\"click\",\"onAnyClick\"]]]]],[\"tds-header-dropdown.cjs\",[[1,\"tds-header-dropdown\",{\"label\":[1],\"noDropdownIcon\":[4,\"no-dropdown-icon\"],\"selected\":[4],\"open\":[32],\"buttonEl\":[32]},[[4,\"click\",\"onAnyClick\"]]]]],[\"tds-header-hamburger.cjs\",[[1,\"tds-header-hamburger\"]]],[\"tds-dropdown-option.cjs\",[[17,\"tds-dropdown-option\",{\"value\":[1],\"disabled\":[4],\"selected\":[32],\"multiselect\":[32],\"size\":[32],\"setSelected\":[64]}]]],[\"tds-header-brand-symbol.cjs\",[[1,\"tds-header-brand-symbol\"]]],[\"tds-side-menu-dropdown.cjs\",[[1,\"tds-side-menu-dropdown\",{\"defaultOpen\":[4,\"default-open\"],\"buttonLabel\":[1,\"button-label\"],\"selected\":[4],\"open\":[4],\"hoverState\":[32],\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapsedSideMenuEventHandler\"],[1,\"pointerenter\",\"onEventPointerEnter\"],[0,\"focusin\",\"onEventFocus\"],[1,\"pointerleave\",\"onEventPointerLeave\"],[0,\"focusout\",\"onEventBlur\"]]]]],[\"tds-side-menu-user.cjs\",[[1,\"tds-side-menu-user\",{\"heading\":[1],\"subheading\":[1],\"imgSrc\":[1,\"img-src\"],\"imgAlt\":[1,\"img-alt\"]}]]],[\"tds-accordion-item.cjs\",[[1,\"tds-accordion-item\",{\"header\":[1],\"expandIconPosition\":[1,\"expand-icon-position\"],\"disabled\":[4],\"expanded\":[4],\"paddingReset\":[4,\"padding-reset\"],\"toggleAccordionItem\":[64]}]]],[\"tds-banner.cjs\",[[1,\"tds-banner\",{\"icon\":[1],\"header\":[1],\"subheader\":[1],\"variant\":[1],\"bannerId\":[1,\"banner-id\"],\"hidden\":[516],\"hideBanner\":[64],\"showBanner\":[64]}]]],[\"tds-card.cjs\",[[1,\"tds-card\",{\"modeVariant\":[1,\"mode-variant\"],\"imagePlacement\":[1,\"image-placement\"],\"header\":[1],\"subheader\":[1],\"bodyImg\":[1,\"body-img\"],\"bodyImgAlt\":[1,\"body-img-alt\"],\"bodyDivider\":[4,\"body-divider\"],\"clickable\":[4],\"cardId\":[1,\"card-id\"]}]]],[\"tds-datetime.cjs\",[[2,\"tds-datetime\",{\"type\":[513],\"value\":[1537],\"min\":[1],\"max\":[1],\"defaultValue\":[1,\"default-value\"],\"disabled\":[4],\"size\":[1],\"noMinWidth\":[4,\"no-min-width\"],\"modeVariant\":[1,\"mode-variant\"],\"name\":[1],\"state\":[1],\"autofocus\":[4],\"label\":[1],\"helper\":[1],\"focusInput\":[32],\"setValue\":[64]},[[0,\"focus\",\"handleFocusIn\"],[0,\"focusout\",\"handleFocusOut\"]]]]],[\"tds-dropdown.cjs\",[[1,\"tds-dropdown\",{\"name\":[1],\"disabled\":[4],\"helper\":[1],\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"modeVariant\":[1,\"mode-variant\"],\"openDirection\":[1,\"open-direction\"],\"placeholder\":[1],\"size\":[1],\"error\":[4],\"multiselect\":[4],\"filter\":[4],\"normalizeText\":[4,\"normalize-text\"],\"noResultText\":[1,\"no-result-text\"],\"defaultValue\":[1,\"default-value\"],\"open\":[32],\"value\":[32],\"filterResult\":[32],\"filterFocus\":[32],\"reset\":[64],\"setValue\":[64],\"appendValue\":[64],\"removeValue\":[64],\"close\":[64]},[[9,\"mousedown\",\"onAnyClick\"],[0,\"keydown\",\"onKeyDown\"]],{\"open\":[\"handleOpenState\"]}]]],[\"tds-folder-tabs.cjs\",[[1,\"tds-folder-tabs\",{\"modeVariant\":[1,\"mode-variant\"],\"defaultSelectedIndex\":[2,\"default-selected-index\"],\"selectedIndex\":[514,\"selected-index\"],\"buttonWidth\":[32],\"showLeftScroll\":[32],\"showRightScroll\":[32],\"selectTab\":[64]},null,{\"selectedIndex\":[\"handleSelectedIndexUpdate\"]}]]],[\"tds-footer-group.cjs\",[[1,\"tds-footer-group\",{\"titleText\":[1,\"title-text\"],\"open\":[32]}]]],[\"tds-header-launcher-list.cjs\",[[4,\"tds-header-launcher-list\"]]],[\"tds-header-launcher-list-item.cjs\",[[1,\"tds-header-launcher-list-item\"]]],[\"tds-inline-tabs.cjs\",[[1,\"tds-inline-tabs\",{\"modeVariant\":[1,\"mode-variant\"],\"defaultSelectedIndex\":[2,\"default-selected-index\"],\"selectedIndex\":[514,\"selected-index\"],\"showLeftScroll\":[32],\"showRightScroll\":[32],\"buttonWidth\":[32],\"selectTab\":[64]},null,{\"selectedIndex\":[\"handleSelectedIndexUpdate\"]}]]],[\"tds-message.cjs\",[[1,\"tds-message\",{\"header\":[1],\"modeVariant\":[1,\"mode-variant\"],\"variant\":[1],\"noIcon\":[4,\"no-icon\"],\"minimal\":[4]}]]],[\"tds-modal.cjs\",[[1,\"tds-modal\",{\"header\":[1],\"prevent\":[4],\"size\":[1],\"actionsPosition\":[1,\"actions-position\"],\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"closable\":[4],\"isShown\":[32],\"showModal\":[64],\"closeModal\":[64],\"initializeModal\":[64],\"cleanupModal\":[64]}]]],[\"tds-navigation-tabs.cjs\",[[1,\"tds-navigation-tabs\",{\"modeVariant\":[1,\"mode-variant\"],\"defaultSelectedIndex\":[2,\"default-selected-index\"],\"selectedIndex\":[514,\"selected-index\"],\"showLeftScroll\":[32],\"showRightScroll\":[32],\"selectTab\":[64]},null,{\"selectedIndex\":[\"handleSelectedIndexUpdate\"]}]]],[\"tds-popover-menu.cjs\",[[6,\"tds-popover-menu\",{\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"],\"fluidWidth\":[4,\"fluid-width\"]}]]],[\"tds-side-menu-close-button.cjs\",[[1,\"tds-side-menu-close-button\"]]],[\"tds-side-menu-collapse-button.cjs\",[[1,\"tds-side-menu-collapse-button\",{\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapseSideMenuEventHandler\"]]]]],[\"tds-slider.cjs\",[[0,\"tds-slider\",{\"label\":[1],\"value\":[1025],\"min\":[1],\"max\":[1],\"ticks\":[1],\"showTickNumbers\":[4,\"show-tick-numbers\"],\"tooltip\":[4],\"disabled\":[4],\"readOnly\":[4,\"read-only\"],\"controls\":[4],\"input\":[4],\"step\":[1],\"name\":[1],\"thumbSize\":[1,\"thumb-size\"],\"snap\":[4],\"sliderId\":[1,\"slider-id\"],\"reset\":[64]},[[0,\"keydown\",\"handleKeydown\"],[9,\"mouseup\",\"handleRelease\"],[9,\"touchend\",\"handleRelease\"],[9,\"mousemove\",\"handleMove\"],[9,\"touchmove\",\"handleMove\"]],{\"value\":[\"handleValueUpdate\"]}]]],[\"tds-step.cjs\",[[1,\"tds-step\",{\"index\":[1],\"state\":[1],\"hideLabels\":[32],\"size\":[32],\"orientation\":[32],\"labelPosition\":[32]},[[16,\"internalTdsPropsChange\",\"handlePropsChange\"]]]]],[\"tds-table-body-row.cjs\",[[1,\"tds-table-body-row\",{\"selected\":[516],\"disabled\":[516],\"multiselect\":[32],\"mainCheckBoxStatus\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-table-footer.cjs\",[[1,\"tds-table-footer\",{\"pagination\":[516],\"paginationValue\":[1538,\"pagination-value\"],\"pages\":[514],\"cols\":[2],\"columnsNumber\":[32],\"compactDesign\":[32],\"lastCorrectValue\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-table-header.cjs\",[[1,\"tds-table-header\",{\"allSelected\":[1540,\"all-selected\"],\"selected\":[1540],\"disabled\":[1540],\"indeterminate\":[4],\"multiselect\":[32],\"expandableRows\":[32],\"mainCheckboxSelected\":[32],\"mainExpendSelected\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"whiteBackground\":[32],\"enableToolbarDesign\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"],[16,\"internalTdsRowExpanded\",\"internalTdsRowExpandedListener\"]]]]],[\"tds-table-toolbar.cjs\",[[1,\"tds-table-toolbar\",{\"tableTitle\":[513,\"table-title\"],\"filter\":[516],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"whiteBackground\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-text-field.cjs\",[[6,\"tds-text-field\",{\"type\":[513],\"labelPosition\":[1,\"label-position\"],\"label\":[1],\"min\":[8],\"max\":[8],\"helper\":[1],\"placeholder\":[1],\"value\":[513],\"disabled\":[4],\"readOnly\":[4,\"read-only\"],\"size\":[1],\"modeVariant\":[1,\"mode-variant\"],\"noMinWidth\":[4,\"no-min-width\"],\"name\":[1],\"state\":[1],\"maxLength\":[2,\"max-length\"],\"autofocus\":[4],\"focusInput\":[32]}]]],[\"tds-textarea.cjs\",[[2,\"tds-textarea\",{\"label\":[1],\"name\":[1],\"helper\":[1],\"cols\":[2],\"rows\":[2],\"labelPosition\":[1,\"label-position\"],\"placeholder\":[1],\"value\":[1],\"disabled\":[4],\"readOnly\":[4,\"read-only\"],\"state\":[1],\"maxLength\":[2,\"max-length\"],\"modeVariant\":[1,\"mode-variant\"],\"autofocus\":[4],\"noMinWidth\":[4,\"no-min-width\"],\"focusInput\":[32]}]]],[\"tds-toast.cjs\",[[1,\"tds-toast\",{\"toastId\":[1,\"toast-id\"],\"header\":[1],\"subheader\":[1],\"variant\":[1],\"hidden\":[516],\"closable\":[4],\"toastRole\":[1,\"toast-role\"],\"hideToast\":[64],\"showToast\":[64]}]]],[\"tds-tooltip.cjs\",[[6,\"tds-tooltip\",{\"text\":[1],\"selector\":[1],\"referenceEl\":[16],\"mouseOverTooltip\":[4,\"mouse-over-tooltip\"],\"show\":[1028],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"]}]]],[\"tds-accordion.cjs\",[[1,\"tds-accordion\",{\"modeVariant\":[1,\"mode-variant\"],\"hideLastBorder\":[4,\"hide-last-border\"]}]]],[\"tds-badge.cjs\",[[1,\"tds-badge\",{\"value\":[1],\"hidden\":[516],\"size\":[1],\"shape\":[32],\"text\":[32]},null,{\"value\":[\"watchProps\"],\"size\":[\"watchProps\"]}]]],[\"tds-block.cjs\",[[1,\"tds-block\",{\"modeVariant\":[1,\"mode-variant\"]}]]],[\"tds-body-cell.cjs\",[[1,\"tds-body-cell\",{\"cellValue\":[520,\"cell-value\"],\"cellKey\":[520,\"cell-key\"],\"disablePadding\":[516,\"disable-padding\"],\"textAlign\":[513,\"text-align\"],\"textAlignState\":[32],\"activeSorting\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"whiteBackground\":[32],\"tableId\":[32]},[[16,\"internalTdsPropChange\",\"internalTdsPropChangeListener\"],[16,\"internalTdsHover\",\"internalTdsHoverListener\"],[16,\"internalTdsTextAlign\",\"internalTdsTextAlignListener\"]]]]],[\"tds-breadcrumb.cjs\",[[1,\"tds-breadcrumb\",{\"current\":[4]}]]],[\"tds-breadcrumbs.cjs\",[[1,\"tds-breadcrumbs\"]]],[\"tds-button.cjs\",[[6,\"tds-button\",{\"text\":[1],\"type\":[1],\"variant\":[1],\"size\":[1],\"disabled\":[4],\"fullbleed\":[4],\"modeVariant\":[1,\"mode-variant\"],\"onlyIcon\":[32]}]]],[\"tds-chip.cjs\",[[6,\"tds-chip\",{\"type\":[1],\"size\":[1],\"chipId\":[1,\"chip-id\"],\"checked\":[1540],\"name\":[1],\"value\":[1],\"disabled\":[4]}]]],[\"tds-folder-tab.cjs\",[[1,\"tds-folder-tab\",{\"disabled\":[4],\"selected\":[32],\"tabWidth\":[32],\"setTabWidth\":[64],\"setSelected\":[64]}]]],[\"tds-footer.cjs\",[[1,\"tds-footer\",{\"modeVariant\":[1,\"mode-variant\"]}]]],[\"tds-footer-item.cjs\",[[1,\"tds-footer-item\"]]],[\"tds-header.cjs\",[[4,\"tds-header\"]]],[\"tds-header-cell.cjs\",[[1,\"tds-header-cell\",{\"cellKey\":[513,\"cell-key\"],\"cellValue\":[513,\"cell-value\"],\"customWidth\":[513,\"custom-width\"],\"sortable\":[4],\"textAlign\":[513,\"text-align\"],\"textAlignState\":[32],\"sortingDirection\":[32],\"sortedByMyKey\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"multiselect\":[32],\"enableToolbarDesign\":[32],\"tableId\":[32],\"expandableRows\":[32]},[[16,\"internalTdsPropChange\",\"internalTdsPropChangeListener\"],[16,\"internalSortButtonClicked\",\"updateOptionsContent\"]]]]],[\"tds-header-dropdown-list-user.cjs\",[[1,\"tds-header-dropdown-list-user\",{\"imgUrl\":[1,\"img-url\"],\"imgAlt\":[1,\"img-alt\"],\"header\":[1],\"subheader\":[1]}]]],[\"tds-header-launcher-grid.cjs\",[[4,\"tds-header-launcher-grid\",{\"headingElement\":[32]}]]],[\"tds-header-launcher-grid-item.cjs\",[[1,\"tds-header-launcher-grid-item\"]]],[\"tds-header-launcher-grid-title.cjs\",[[4,\"tds-header-launcher-grid-title\"]]],[\"tds-header-launcher-list-title.cjs\",[[4,\"tds-header-launcher-list-title\"]]],[\"tds-header-title.cjs\",[[1,\"tds-header-title\"]]],[\"tds-inline-tab.cjs\",[[1,\"tds-inline-tab\",{\"disabled\":[4],\"selected\":[32],\"setSelected\":[64]}]]],[\"tds-link.cjs\",[[1,\"tds-link\",{\"disabled\":[4],\"underline\":[4]}]]],[\"tds-navigation-tab.cjs\",[[1,\"tds-navigation-tab\",{\"disabled\":[4],\"selected\":[32],\"setSelected\":[64]}]]],[\"tds-popover-menu-item.cjs\",[[1,\"tds-popover-menu-item\",{\"disabled\":[4]}]]],[\"tds-radio-button.cjs\",[[6,\"tds-radio-button\",{\"name\":[1],\"value\":[1],\"radioId\":[1,\"radio-id\"],\"checked\":[516],\"required\":[4],\"disabled\":[4]}]]],[\"tds-side-menu.cjs\",[[1,\"tds-side-menu\",{\"open\":[4],\"persistent\":[4],\"collapsed\":[1028],\"isUpperSlotEmpty\":[32],\"isCollapsed\":[32],\"initialCollapsedState\":[32]},[[16,\"internalTdsCollapse\",\"collapsedSideMenuEventHandler\"]],{\"collapsed\":[\"onCollapsedChange\"]}]]],[\"tds-side-menu-dropdown-list.cjs\",[[1,\"tds-side-menu-dropdown-list\",{\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapsedSideMenuEventHandler\"]]]]],[\"tds-side-menu-dropdown-list-item.cjs\",[[1,\"tds-side-menu-dropdown-list-item\",{\"selected\":[4],\"dropdownHasIcon\":[32],\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapseSideMenuEventHandler\"]]]]],[\"tds-side-menu-overlay.cjs\",[[1,\"tds-side-menu-overlay\"]]],[\"tds-spinner.cjs\",[[0,\"tds-spinner\",{\"size\":[1],\"variant\":[1]}]]],[\"tds-stepper.cjs\",[[1,\"tds-stepper\",{\"orientation\":[1],\"labelPosition\":[1,\"label-position\"],\"size\":[1],\"hideLabels\":[4,\"hide-labels\"],\"stepperId\":[1,\"stepper-id\"]},null,{\"orientation\":[\"handleDirectionChange\"],\"labelPosition\":[\"handleLabelPositionChange\"],\"size\":[\"handleSizeChange\"],\"hideLabels\":[\"handleHideLabelsChange\"]}]]],[\"tds-table.cjs\",[[1,\"tds-table\",{\"verticalDividers\":[516,\"vertical-dividers\"],\"compactDesign\":[516,\"compact-design\"],\"noMinWidth\":[516,\"no-min-width\"],\"multiselect\":[516],\"expandableRows\":[516,\"expandable-rows\"],\"responsive\":[516],\"modeVariant\":[513,\"mode-variant\"],\"tableId\":[1,\"table-id\"],\"getSelectedRows\":[64]},null,{\"multiselect\":[\"multiselectChanged\"],\"expandableRows\":[\"enableExpandableRowsChanged\"],\"compactDesign\":[\"compactDesignChanged\"],\"verticalDividers\":[\"verticalDividersChanged\"],\"noMinWidth\":[\"noMinWidthChanged\"],\"modeVariant\":[\"modeVariantChanged\"]}]]],[\"tds-table-body.cjs\",[[4,\"tds-table-body\",{\"multiselect\":[32],\"enablePaginationTableBody\":[32],\"expandableRows\":[32],\"multiselectArray\":[32],\"multiselectArrayJSON\":[32],\"mainCheckboxStatus\":[32],\"columnsNumber\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"],[16,\"internalTdsRowChange\",\"bodyCheckboxListener\"]]]]],[\"tds-table-body-row-expandable.cjs\",[[1,\"tds-table-body-row-expandable\",{\"colSpan\":[2,\"col-span\"],\"rowId\":[513,\"row-id\"],\"expanded\":[516],\"isExpanded\":[32],\"tableId\":[32],\"columnsNumber\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"modeVariant\":[32],\"expand\":[64],\"collapse\":[64]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]],{\"expanded\":[\"watchExpanded\"]}]]],[\"tds-toggle.cjs\",[[6,\"tds-toggle\",{\"checked\":[516],\"required\":[4],\"size\":[1],\"name\":[1],\"headline\":[1],\"disabled\":[4],\"toggleId\":[1,\"toggle-id\"],\"toggle\":[64]}]]],[\"tds-header-launcher-button.cjs\",[[1,\"tds-header-launcher-button\",{\"active\":[4]}]]],[\"tds-divider.cjs\",[[1,\"tds-divider\",{\"orientation\":[1]}]]],[\"tds-header-dropdown-list.cjs\",[[1,\"tds-header-dropdown-list\",{\"size\":[513],\"headingElement\":[32]}]]],[\"tds-header-dropdown-list-item.cjs\",[[1,\"tds-header-dropdown-list-item\",{\"selected\":[4],\"size\":[513]}]]],[\"tds-popover-canvas.cjs\",[[6,\"tds-popover-canvas\",{\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"],\"modifiers\":[16]}]]],[\"tds-side-menu-user-image_2.cjs\",[[1,\"tds-side-menu-user-image\",{\"src\":[1],\"alt\":[1]}],[1,\"tds-side-menu-user-label\",{\"heading\":[1],\"subheading\":[1]}]]],[\"tds-side-menu-item.cjs\",[[1,\"tds-side-menu-item\",{\"selected\":[4],\"active\":[4],\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapseSideMenuEventHandler\"]]]]],[\"tds-checkbox.cjs\",[[6,\"tds-checkbox\",{\"name\":[1],\"checkboxId\":[1,\"checkbox-id\"],\"disabled\":[4],\"required\":[4],\"checked\":[1540],\"indeterminate\":[1028],\"value\":[1],\"toggleCheckbox\":[64]},null,{\"indeterminate\":[\"handleIndeterminateState\"]}]]],[\"tds-popover-core.cjs\",[[6,\"tds-popover-core\",{\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"],\"modifiers\":[16],\"trigger\":[1],\"autoHide\":[4,\"auto-hide\"],\"renderedShowValue\":[32],\"popperInstance\":[32],\"target\":[32],\"isShown\":[32]},[[8,\"click\",\"onAnyClick\"],[8,\"internalTdsShow\",\"onTdsShow\"]],{\"show\":[\"onShowChange\"],\"referenceEl\":[\"onReferenceElChanged\"],\"trigger\":[\"onTriggerChanged\"]}]]],[\"tds-core-header-item_2.cjs\",[[1,\"tds-header-item\",{\"active\":[4],\"selected\":[4]}],[1,\"tds-core-header-item\"]]],[\"tds-icon.cjs\",[[1,\"tds-icon\",{\"name\":[513],\"size\":[513],\"svgTitle\":[1,\"svg-title\"],\"svgDescription\":[1,\"svg-description\"],\"icons_object\":[32],\"arrayOfIcons\":[32]}]]]]"), options);
22
+ return index.bootstrapLazy(JSON.parse("[[\"tds-header-launcher.cjs\",[[1,\"tds-header-launcher\",{\"open\":[32],\"buttonEl\":[32],\"hasListTypeMenu\":[32]},[[8,\"click\",\"onAnyClick\"]]]]],[\"tds-header-dropdown.cjs\",[[1,\"tds-header-dropdown\",{\"label\":[1],\"noDropdownIcon\":[4,\"no-dropdown-icon\"],\"selected\":[4],\"open\":[32],\"buttonEl\":[32]},[[4,\"click\",\"onAnyClick\"]]]]],[\"tds-header-hamburger.cjs\",[[1,\"tds-header-hamburger\"]]],[\"tds-dropdown-option.cjs\",[[17,\"tds-dropdown-option\",{\"value\":[1],\"disabled\":[4],\"selected\":[32],\"multiselect\":[32],\"size\":[32],\"setSelected\":[64]}]]],[\"tds-header-brand-symbol.cjs\",[[1,\"tds-header-brand-symbol\"]]],[\"tds-side-menu-dropdown.cjs\",[[1,\"tds-side-menu-dropdown\",{\"defaultOpen\":[4,\"default-open\"],\"buttonLabel\":[1,\"button-label\"],\"selected\":[4],\"open\":[4],\"hoverState\":[32],\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapsedSideMenuEventHandler\"],[1,\"pointerenter\",\"onEventPointerEnter\"],[0,\"focusin\",\"onEventFocus\"],[1,\"pointerleave\",\"onEventPointerLeave\"],[0,\"focusout\",\"onEventBlur\"]]]]],[\"tds-side-menu-user.cjs\",[[1,\"tds-side-menu-user\",{\"heading\":[1],\"subheading\":[1],\"imgSrc\":[1,\"img-src\"],\"imgAlt\":[1,\"img-alt\"]}]]],[\"tds-accordion-item.cjs\",[[1,\"tds-accordion-item\",{\"header\":[1],\"expandIconPosition\":[1,\"expand-icon-position\"],\"disabled\":[4],\"expanded\":[4],\"paddingReset\":[4,\"padding-reset\"],\"toggleAccordionItem\":[64]}]]],[\"tds-banner.cjs\",[[1,\"tds-banner\",{\"icon\":[1],\"header\":[1],\"subheader\":[1],\"variant\":[1],\"bannerId\":[1,\"banner-id\"],\"hidden\":[516],\"hideBanner\":[64],\"showBanner\":[64]}]]],[\"tds-card.cjs\",[[1,\"tds-card\",{\"modeVariant\":[1,\"mode-variant\"],\"imagePlacement\":[1,\"image-placement\"],\"header\":[1],\"subheader\":[1],\"bodyImg\":[1,\"body-img\"],\"bodyImgAlt\":[1,\"body-img-alt\"],\"bodyDivider\":[4,\"body-divider\"],\"clickable\":[4],\"cardId\":[1,\"card-id\"]}]]],[\"tds-datetime.cjs\",[[2,\"tds-datetime\",{\"type\":[513],\"value\":[1537],\"min\":[1],\"max\":[1],\"defaultValue\":[1,\"default-value\"],\"disabled\":[4],\"size\":[1],\"noMinWidth\":[4,\"no-min-width\"],\"modeVariant\":[1,\"mode-variant\"],\"name\":[1],\"state\":[1],\"autofocus\":[4],\"label\":[1],\"helper\":[1],\"focusInput\":[32],\"setValue\":[64]},[[0,\"focus\",\"handleFocusIn\"],[0,\"focusout\",\"handleFocusOut\"]]]]],[\"tds-dropdown.cjs\",[[1,\"tds-dropdown\",{\"name\":[1],\"disabled\":[4],\"helper\":[1],\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"modeVariant\":[1,\"mode-variant\"],\"openDirection\":[1,\"open-direction\"],\"placeholder\":[1],\"size\":[1],\"error\":[4],\"multiselect\":[4],\"filter\":[4],\"normalizeText\":[4,\"normalize-text\"],\"noResultText\":[1,\"no-result-text\"],\"defaultValue\":[1,\"default-value\"],\"open\":[32],\"value\":[32],\"filterResult\":[32],\"filterFocus\":[32],\"reset\":[64],\"setValue\":[64],\"appendValue\":[64],\"removeValue\":[64],\"close\":[64]},[[9,\"mousedown\",\"onAnyClick\"],[0,\"keydown\",\"onKeyDown\"]],{\"open\":[\"handleOpenState\"]}]]],[\"tds-folder-tabs.cjs\",[[1,\"tds-folder-tabs\",{\"modeVariant\":[1,\"mode-variant\"],\"defaultSelectedIndex\":[2,\"default-selected-index\"],\"selectedIndex\":[514,\"selected-index\"],\"buttonWidth\":[32],\"showLeftScroll\":[32],\"showRightScroll\":[32],\"selectTab\":[64]},null,{\"selectedIndex\":[\"handleSelectedIndexUpdate\"]}]]],[\"tds-footer-group.cjs\",[[1,\"tds-footer-group\",{\"titleText\":[1,\"title-text\"],\"open\":[32]}]]],[\"tds-header-cell.cjs\",[[1,\"tds-header-cell\",{\"cellKey\":[513,\"cell-key\"],\"cellValue\":[513,\"cell-value\"],\"customWidth\":[513,\"custom-width\"],\"sortable\":[4],\"textAlign\":[513,\"text-align\"],\"disablePadding\":[516,\"disable-padding\"],\"textAlignState\":[32],\"sortingDirection\":[32],\"sortedByMyKey\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"multiselect\":[32],\"enableToolbarDesign\":[32],\"tableId\":[32],\"expandableRows\":[32]},[[16,\"internalTdsPropChange\",\"internalTdsPropChangeListener\"],[16,\"internalSortButtonClicked\",\"updateOptionsContent\"]]]]],[\"tds-header-launcher-list.cjs\",[[4,\"tds-header-launcher-list\"]]],[\"tds-header-launcher-list-item.cjs\",[[1,\"tds-header-launcher-list-item\"]]],[\"tds-inline-tabs.cjs\",[[1,\"tds-inline-tabs\",{\"modeVariant\":[1,\"mode-variant\"],\"defaultSelectedIndex\":[2,\"default-selected-index\"],\"selectedIndex\":[514,\"selected-index\"],\"showLeftScroll\":[32],\"showRightScroll\":[32],\"buttonWidth\":[32],\"selectTab\":[64]},null,{\"selectedIndex\":[\"handleSelectedIndexUpdate\"]}]]],[\"tds-message.cjs\",[[1,\"tds-message\",{\"header\":[1],\"modeVariant\":[1,\"mode-variant\"],\"variant\":[1],\"noIcon\":[4,\"no-icon\"],\"minimal\":[4]}]]],[\"tds-modal.cjs\",[[1,\"tds-modal\",{\"header\":[1],\"prevent\":[4],\"size\":[1],\"actionsPosition\":[1,\"actions-position\"],\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"closable\":[4],\"isShown\":[32],\"showModal\":[64],\"closeModal\":[64],\"initializeModal\":[64],\"cleanupModal\":[64]}]]],[\"tds-navigation-tabs.cjs\",[[1,\"tds-navigation-tabs\",{\"modeVariant\":[1,\"mode-variant\"],\"defaultSelectedIndex\":[2,\"default-selected-index\"],\"selectedIndex\":[514,\"selected-index\"],\"showLeftScroll\":[32],\"showRightScroll\":[32],\"selectTab\":[64]},null,{\"selectedIndex\":[\"handleSelectedIndexUpdate\"]}]]],[\"tds-popover-menu.cjs\",[[6,\"tds-popover-menu\",{\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"],\"fluidWidth\":[4,\"fluid-width\"]}]]],[\"tds-side-menu-close-button.cjs\",[[1,\"tds-side-menu-close-button\"]]],[\"tds-side-menu-collapse-button.cjs\",[[1,\"tds-side-menu-collapse-button\",{\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapseSideMenuEventHandler\"]]]]],[\"tds-slider.cjs\",[[0,\"tds-slider\",{\"label\":[1],\"value\":[1025],\"min\":[1],\"max\":[1],\"ticks\":[1],\"showTickNumbers\":[4,\"show-tick-numbers\"],\"tooltip\":[4],\"disabled\":[4],\"readOnly\":[4,\"read-only\"],\"controls\":[4],\"input\":[4],\"step\":[1],\"name\":[1],\"thumbSize\":[1,\"thumb-size\"],\"snap\":[4],\"sliderId\":[1,\"slider-id\"],\"reset\":[64]},[[0,\"keydown\",\"handleKeydown\"],[9,\"mouseup\",\"handleRelease\"],[9,\"touchend\",\"handleRelease\"],[9,\"mousemove\",\"handleMove\"],[9,\"touchmove\",\"handleMove\"]],{\"value\":[\"handleValueUpdate\"]}]]],[\"tds-step.cjs\",[[1,\"tds-step\",{\"index\":[1],\"state\":[1],\"hideLabels\":[32],\"size\":[32],\"orientation\":[32],\"labelPosition\":[32]},[[16,\"internalTdsPropsChange\",\"handlePropsChange\"]]]]],[\"tds-table-body-row.cjs\",[[1,\"tds-table-body-row\",{\"selected\":[516],\"disabled\":[516],\"multiselect\":[32],\"mainCheckBoxStatus\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-table-footer.cjs\",[[1,\"tds-table-footer\",{\"pagination\":[516],\"paginationValue\":[1538,\"pagination-value\"],\"pages\":[514],\"cols\":[2],\"columnsNumber\":[32],\"compactDesign\":[32],\"lastCorrectValue\":[32],\"tableId\":[32],\"horizontalScrollWidth\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-table-header.cjs\",[[1,\"tds-table-header\",{\"allSelected\":[1540,\"all-selected\"],\"selected\":[1540],\"disabled\":[1540],\"indeterminate\":[4],\"multiselect\":[32],\"expandableRows\":[32],\"mainCheckboxSelected\":[32],\"mainExpendSelected\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"whiteBackground\":[32],\"enableToolbarDesign\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"],[16,\"internalTdsRowExpanded\",\"internalTdsRowExpandedListener\"]]]]],[\"tds-table-toolbar.cjs\",[[1,\"tds-table-toolbar\",{\"tableTitle\":[513,\"table-title\"],\"filter\":[516],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"whiteBackground\":[32],\"tableId\":[32],\"horizontalScrollWidth\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-text-field.cjs\",[[6,\"tds-text-field\",{\"type\":[513],\"labelPosition\":[1,\"label-position\"],\"label\":[1],\"min\":[8],\"max\":[8],\"helper\":[1],\"placeholder\":[1],\"value\":[513],\"disabled\":[4],\"readOnly\":[4,\"read-only\"],\"size\":[1],\"modeVariant\":[1,\"mode-variant\"],\"noMinWidth\":[4,\"no-min-width\"],\"name\":[1],\"state\":[1],\"maxLength\":[2,\"max-length\"],\"autofocus\":[4],\"focusInput\":[32]}]]],[\"tds-textarea.cjs\",[[2,\"tds-textarea\",{\"label\":[1],\"name\":[1],\"helper\":[1],\"cols\":[2],\"rows\":[2],\"labelPosition\":[1,\"label-position\"],\"placeholder\":[1],\"value\":[1],\"disabled\":[4],\"readOnly\":[4,\"read-only\"],\"state\":[1],\"maxLength\":[2,\"max-length\"],\"modeVariant\":[1,\"mode-variant\"],\"autofocus\":[4],\"noMinWidth\":[4,\"no-min-width\"],\"focusInput\":[32]}]]],[\"tds-toast.cjs\",[[1,\"tds-toast\",{\"toastId\":[1,\"toast-id\"],\"header\":[1],\"subheader\":[1],\"variant\":[1],\"hidden\":[516],\"closable\":[4],\"toastRole\":[1,\"toast-role\"],\"hideToast\":[64],\"showToast\":[64]}]]],[\"tds-tooltip.cjs\",[[6,\"tds-tooltip\",{\"text\":[1],\"selector\":[1],\"referenceEl\":[16],\"mouseOverTooltip\":[4,\"mouse-over-tooltip\"],\"trigger\":[1],\"show\":[1028],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"]}]]],[\"tds-accordion.cjs\",[[1,\"tds-accordion\",{\"modeVariant\":[1,\"mode-variant\"],\"hideLastBorder\":[4,\"hide-last-border\"]}]]],[\"tds-badge.cjs\",[[1,\"tds-badge\",{\"value\":[1],\"hidden\":[516],\"size\":[1],\"shape\":[32],\"text\":[32]},null,{\"value\":[\"watchProps\"],\"size\":[\"watchProps\"]}]]],[\"tds-block.cjs\",[[1,\"tds-block\",{\"modeVariant\":[1,\"mode-variant\"]}]]],[\"tds-body-cell.cjs\",[[1,\"tds-body-cell\",{\"cellValue\":[520,\"cell-value\"],\"cellKey\":[520,\"cell-key\"],\"disablePadding\":[516,\"disable-padding\"],\"textAlign\":[513,\"text-align\"],\"textAlignState\":[32],\"activeSorting\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"whiteBackground\":[32],\"tableId\":[32]},[[16,\"internalTdsPropChange\",\"internalTdsPropChangeListener\"],[16,\"internalTdsHover\",\"internalTdsHoverListener\"],[16,\"internalTdsTextAlign\",\"internalTdsTextAlignListener\"]]]]],[\"tds-breadcrumb.cjs\",[[1,\"tds-breadcrumb\",{\"current\":[4]}]]],[\"tds-breadcrumbs.cjs\",[[1,\"tds-breadcrumbs\"]]],[\"tds-button.cjs\",[[6,\"tds-button\",{\"text\":[1],\"type\":[1],\"variant\":[1],\"size\":[1],\"disabled\":[4],\"fullbleed\":[4],\"modeVariant\":[1,\"mode-variant\"],\"onlyIcon\":[32]}]]],[\"tds-chip.cjs\",[[6,\"tds-chip\",{\"type\":[1],\"size\":[1],\"chipId\":[1,\"chip-id\"],\"checked\":[1540],\"name\":[1],\"value\":[1],\"disabled\":[4]}]]],[\"tds-folder-tab.cjs\",[[1,\"tds-folder-tab\",{\"disabled\":[4],\"selected\":[32],\"tabWidth\":[32],\"setTabWidth\":[64],\"setSelected\":[64]}]]],[\"tds-footer.cjs\",[[1,\"tds-footer\",{\"modeVariant\":[1,\"mode-variant\"]}]]],[\"tds-footer-item.cjs\",[[1,\"tds-footer-item\"]]],[\"tds-header.cjs\",[[4,\"tds-header\"]]],[\"tds-header-dropdown-list-user.cjs\",[[1,\"tds-header-dropdown-list-user\",{\"imgUrl\":[1,\"img-url\"],\"imgAlt\":[1,\"img-alt\"],\"header\":[1],\"subheader\":[1]}]]],[\"tds-header-launcher-grid.cjs\",[[4,\"tds-header-launcher-grid\",{\"headingElement\":[32]}]]],[\"tds-header-launcher-grid-item.cjs\",[[1,\"tds-header-launcher-grid-item\"]]],[\"tds-header-launcher-grid-title.cjs\",[[4,\"tds-header-launcher-grid-title\"]]],[\"tds-header-launcher-list-title.cjs\",[[4,\"tds-header-launcher-list-title\"]]],[\"tds-header-title.cjs\",[[1,\"tds-header-title\"]]],[\"tds-inline-tab.cjs\",[[1,\"tds-inline-tab\",{\"disabled\":[4],\"selected\":[32],\"setSelected\":[64]}]]],[\"tds-link.cjs\",[[1,\"tds-link\",{\"disabled\":[4],\"underline\":[4]}]]],[\"tds-navigation-tab.cjs\",[[1,\"tds-navigation-tab\",{\"disabled\":[4],\"selected\":[32],\"setSelected\":[64]}]]],[\"tds-popover-menu-item.cjs\",[[1,\"tds-popover-menu-item\",{\"disabled\":[4]}]]],[\"tds-radio-button.cjs\",[[6,\"tds-radio-button\",{\"name\":[1],\"value\":[1],\"radioId\":[1,\"radio-id\"],\"checked\":[516],\"required\":[4],\"disabled\":[4]}]]],[\"tds-side-menu.cjs\",[[1,\"tds-side-menu\",{\"open\":[4],\"persistent\":[4],\"collapsed\":[1028],\"isUpperSlotEmpty\":[32],\"isCollapsed\":[32],\"initialCollapsedState\":[32]},[[16,\"internalTdsCollapse\",\"collapsedSideMenuEventHandler\"]],{\"collapsed\":[\"onCollapsedChange\"]}]]],[\"tds-side-menu-dropdown-list.cjs\",[[1,\"tds-side-menu-dropdown-list\",{\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapsedSideMenuEventHandler\"]]]]],[\"tds-side-menu-dropdown-list-item.cjs\",[[1,\"tds-side-menu-dropdown-list-item\",{\"selected\":[4],\"dropdownHasIcon\":[32],\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapseSideMenuEventHandler\"]]]]],[\"tds-side-menu-overlay.cjs\",[[1,\"tds-side-menu-overlay\"]]],[\"tds-spinner.cjs\",[[0,\"tds-spinner\",{\"size\":[1],\"variant\":[1]}]]],[\"tds-stepper.cjs\",[[1,\"tds-stepper\",{\"orientation\":[1],\"labelPosition\":[1,\"label-position\"],\"size\":[1],\"hideLabels\":[4,\"hide-labels\"],\"stepperId\":[1,\"stepper-id\"]},null,{\"orientation\":[\"handleDirectionChange\"],\"labelPosition\":[\"handleLabelPositionChange\"],\"size\":[\"handleSizeChange\"],\"hideLabels\":[\"handleHideLabelsChange\"]}]]],[\"tds-table.cjs\",[[1,\"tds-table\",{\"verticalDividers\":[516,\"vertical-dividers\"],\"compactDesign\":[516,\"compact-design\"],\"noMinWidth\":[516,\"no-min-width\"],\"multiselect\":[516],\"expandableRows\":[516,\"expandable-rows\"],\"responsive\":[516],\"modeVariant\":[513,\"mode-variant\"],\"horizontalScrollWidth\":[1,\"horizontal-scroll-width\"],\"tableId\":[1,\"table-id\"],\"enableHorizontalScrollToolbarDesign\":[32],\"enableHorizontalScrollFooterDesign\":[32],\"getSelectedRows\":[64]},null,{\"multiselect\":[\"multiselectChanged\"],\"expandableRows\":[\"enableExpandableRowsChanged\"],\"compactDesign\":[\"compactDesignChanged\"],\"verticalDividers\":[\"verticalDividersChanged\"],\"noMinWidth\":[\"noMinWidthChanged\"],\"modeVariant\":[\"modeVariantChanged\"],\"horizontalScrollWidth\":[\"widthChanged\"]}]]],[\"tds-table-body.cjs\",[[4,\"tds-table-body\",{\"multiselect\":[32],\"enablePaginationTableBody\":[32],\"expandableRows\":[32],\"multiselectArray\":[32],\"multiselectArrayJSON\":[32],\"mainCheckboxStatus\":[32],\"columnsNumber\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"],[16,\"internalTdsRowChange\",\"bodyCheckboxListener\"]]]]],[\"tds-table-body-row-expandable.cjs\",[[1,\"tds-table-body-row-expandable\",{\"colSpan\":[2,\"col-span\"],\"rowId\":[513,\"row-id\"],\"expanded\":[516],\"isExpanded\":[32],\"tableId\":[32],\"columnsNumber\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"modeVariant\":[32],\"expand\":[64],\"collapse\":[64]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]],{\"expanded\":[\"watchExpanded\"]}]]],[\"tds-toggle.cjs\",[[6,\"tds-toggle\",{\"checked\":[516],\"required\":[4],\"size\":[1],\"name\":[1],\"headline\":[1],\"disabled\":[4],\"toggleId\":[1,\"toggle-id\"],\"toggle\":[64]}]]],[\"tds-header-launcher-button.cjs\",[[1,\"tds-header-launcher-button\",{\"active\":[4]}]]],[\"tds-divider.cjs\",[[1,\"tds-divider\",{\"orientation\":[1]}]]],[\"tds-header-dropdown-list.cjs\",[[1,\"tds-header-dropdown-list\",{\"size\":[513],\"headingElement\":[32]}]]],[\"tds-header-dropdown-list-item.cjs\",[[1,\"tds-header-dropdown-list-item\",{\"selected\":[4],\"size\":[513]}]]],[\"tds-popover-canvas.cjs\",[[6,\"tds-popover-canvas\",{\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"],\"modifiers\":[16]}]]],[\"tds-side-menu-user-image_2.cjs\",[[1,\"tds-side-menu-user-image\",{\"src\":[1],\"alt\":[1]}],[1,\"tds-side-menu-user-label\",{\"heading\":[1],\"subheading\":[1]}]]],[\"tds-side-menu-item.cjs\",[[1,\"tds-side-menu-item\",{\"selected\":[4],\"active\":[4],\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapseSideMenuEventHandler\"]]]]],[\"tds-checkbox.cjs\",[[6,\"tds-checkbox\",{\"name\":[1],\"checkboxId\":[1,\"checkbox-id\"],\"disabled\":[4],\"required\":[4],\"checked\":[1540],\"indeterminate\":[1028],\"value\":[1],\"toggleCheckbox\":[64]},null,{\"indeterminate\":[\"handleIndeterminateState\"]}]]],[\"tds-popover-core.cjs\",[[6,\"tds-popover-core\",{\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"],\"modifiers\":[16],\"trigger\":[1],\"autoHide\":[4,\"auto-hide\"],\"renderedShowValue\":[32],\"popperInstance\":[32],\"target\":[32],\"isShown\":[32]},[[8,\"click\",\"onAnyClick\"],[8,\"internalTdsShow\",\"onTdsShow\"]],{\"show\":[\"onShowChange\"],\"referenceEl\":[\"onReferenceElChanged\"],\"trigger\":[\"onTriggerChanged\"]}]]],[\"tds-core-header-item_2.cjs\",[[1,\"tds-header-item\",{\"active\":[4],\"selected\":[4]}],[1,\"tds-core-header-item\"]]],[\"tds-icon.cjs\",[[1,\"tds-icon\",{\"name\":[513],\"size\":[513],\"svgTitle\":[1,\"svg-title\"],\"svgDescription\":[1,\"svg-description\"],\"icons_object\":[32],\"arrayOfIcons\":[32]}]]]]"), options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -180,6 +180,7 @@
180
180
  :host {
181
181
  --tds-scrollbar-width-standard: thin;
182
182
  --tds-scrollbar-width: 10px;
183
+ --tds-scrollbar-height: 10px;
183
184
  --tds-scrollbar-thumb-border-width: 3px;
184
185
  --tds-scrollbar-thumb-border-hover-width: 2px;
185
186
  }
@@ -172,6 +172,7 @@ export class TdsDropdown {
172
172
  }
173
173
  /** Method that resets the Dropdown, marks all children as non-selected and resets the value to null. */
174
174
  async reset() {
175
+ this.dropdownList.scrollTop = 0;
175
176
  this.internalReset();
176
177
  this.handleChange();
177
178
  }
@@ -349,7 +350,7 @@ export class TdsDropdown {
349
350
  render() {
350
351
  var _a, _b, _c, _d;
351
352
  appendHiddenInput(this.host, this.name, (_a = this.value) === null || _a === void 0 ? void 0 : _a.map((value) => value).toString(), this.disabled);
352
- return (h(Host, { key: '9fee6da0243cf7b74abce8387454b32caacba96e', role: "select", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && this.labelPosition === 'outside' && (h("div", { key: 'd338fdc28fdf1a6b24f7254e52f0d8581cc46293', class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: 'a6852251cdf06567f2cb2a7516adb71d9ae3295d', class: `dropdown-select ${this.size} ${this.disabled ? 'disabled' : ''}` }, this.filter ? (h("div", { class: {
353
+ return (h(Host, { key: 'b92a6543309f99f0ab56c9004afa282be660f883', role: "select", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && this.labelPosition === 'outside' && (h("div", { key: '1ff22a81edb49138e27d2da9f331390f68c5bf6b', class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: 'd4f25ede84a1a89cf6d468861b67a4e300d4db8a', class: `dropdown-select ${this.size} ${this.disabled ? 'disabled' : ''}` }, this.filter ? (h("div", { class: {
353
354
  filter: true,
354
355
  focus: this.filterFocus,
355
356
  disabled: this.disabled,
@@ -392,11 +393,11 @@ export class TdsDropdown {
392
393
  label-inside-as-placeholder
393
394
  ${this.size}
394
395
  ${((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) ? 'selected' : ''}
395
- ` }, this.label)), h("div", { class: `placeholder ${this.size}` }, ((_d = this.value) === null || _d === void 0 ? void 0 : _d.length) ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: '4db23bfa5b43445f3f995e6624eb4cc41e3dbca1', ref: (element) => (this.dropdownList = element), class: `dropdown-list
396
+ ` }, this.label)), h("div", { class: `placeholder ${this.size}` }, ((_d = this.value) === null || _d === void 0 ? void 0 : _d.length) ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: 'b7405cd74070923004c4a7c55fcaee497997f2e6', ref: (element) => (this.dropdownList = element), class: `dropdown-list
396
397
  ${this.size}
397
398
  ${this.open ? 'open' : 'closed'}
398
399
  ${this.getOpenDirection()}
399
- ${this.label && this.labelPosition === 'outside' ? 'label-outside' : ''}` }, h("slot", { key: '23a98af0ba0ec7457dd83f0542fad645ae63765a', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: '43425685729146305b871cabef0f769748865d9a', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: 'a1988ef07e8bf4be2f15ed274e3a9e431127e0ce', class: `helper ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, this.error && h("tds-icon", { key: '2d2ccb11a76efbc7d67f663ca7a92a4f62563bf5', name: "error", size: "16px" }), this.helper))));
400
+ ${this.label && this.labelPosition === 'outside' ? 'label-outside' : ''}` }, h("slot", { key: '9d79d84051131b7bd3a22693c37a2f3c6d4ce7fd', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: '23a08d35ba74ea637c0994d42c3b13f8f29cdb0b', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: '807779c00a1b2dfdac8283d40e9a6ad4011f3623', class: `helper ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, this.error && h("tds-icon", { key: '54a0bff1d0db7374ac39a1c696737cd8b0f001ba', name: "error", size: "16px" }), this.helper))));
400
401
  }
401
402
  static get is() { return "tds-dropdown"; }
402
403
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class TdsFooter {
16
16
  const usesStartSlot = hasSlot('start', this.host);
17
17
  const usesEndSlot = hasSlot('end', this.host);
18
18
  const usesCopyrightSlot = hasSlot('copyright', this.host);
19
- return (h(Host, { key: '454d913eea834fa60400c9714370d14425bc24b6', class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("footer", { key: '77ee89f78b3df1658a6c9e1f5b73273b447aca6d' }, usesTopSlot && h("slot", { key: '6a3c601f7fcd034d659848c3a568460489f874ca', name: "top" }), h("div", { key: '245560e49f1aa3ac1c0d9234f2b53c6c8be12a32', class: "footer-main" }, (usesStartSlot || usesEndSlot) && (h("div", { key: '414068ba7282518630065a79d30b6ca557958e7b', class: "footer-main-top" }, usesStartSlot && h("slot", { key: 'c96a3102e93ffa917ccd4c0b2a28d62d7fca91af', name: "start" }), usesEndSlot && h("slot", { key: 'ac6b940e444782af4cbaadf8fd451e1f9143abe5', name: "end" }))), h("div", { key: 'ce82243d065384f15de5f1d2e3008fdf2054c0d4', class: "footer-main-bottom" }, h("small", { key: '77ac4db0d9d34ddb9347f7183bdb374bf9b10242', class: "copyright" }, usesCopyrightSlot ? h("slot", { name: "copyright" }) : this.copyrightText), h("div", { key: '551b06ad3b3d15aa954997e17cbf127ce61fc9fd', class: "brand" }, h("p", { key: '8f87301b189a00065a6d6441d074d42ed892bc70' }, "Scania")))))));
19
+ return (h(Host, { key: '454d913eea834fa60400c9714370d14425bc24b6', class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("footer", { key: '77ee89f78b3df1658a6c9e1f5b73273b447aca6d' }, usesTopSlot && h("slot", { key: '6a3c601f7fcd034d659848c3a568460489f874ca', name: "top" }), h("div", { key: '245560e49f1aa3ac1c0d9234f2b53c6c8be12a32', class: "footer-main" }, (usesStartSlot || usesEndSlot) && (h("div", { key: '2b3220a69f400b8b609fb423f4136b9fb3d1bf96', class: "footer-main-top" }, usesStartSlot && h("slot", { key: '952412fc57aef7abe5a195ac173a14a48a626c95', name: "start" }), usesEndSlot && h("slot", { key: 'a8b8f6d9c625b7da0ecee95e05a1cda4492b964a', name: "end" }))), h("div", { key: 'ca1e76bd613fa3662a5822882fc4ddc0e030c606', class: "footer-main-bottom" }, h("small", { key: '5c5c3803d71c51b8793993240f00912b89377985', class: "copyright" }, usesCopyrightSlot ? h("slot", { name: "copyright" }) : this.copyrightText), h("div", { key: '2ebada35ffde37a7824b100fe34dd947c525741e', class: "brand" }, h("p", { key: 'e6233b2ce0d5f36a54f9069a9feec687388bc795' }, "Scania")))))));
20
20
  }
21
21
  static get is() { return "tds-footer"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,7 @@
1
1
  :host {
2
2
  --tds-scrollbar-width-standard: thin;
3
3
  --tds-scrollbar-width: 10px;
4
+ --tds-scrollbar-height: 10px;
4
5
  --tds-scrollbar-thumb-border-width: 3px;
5
6
  --tds-scrollbar-thumb-border-hover-width: 2px;
6
7
  }
@@ -1,6 +1,7 @@
1
1
  :host {
2
2
  --tds-scrollbar-width-standard: thin;
3
3
  --tds-scrollbar-width: 10px;
4
+ --tds-scrollbar-height: 10px;
4
5
  --tds-scrollbar-thumb-border-width: 3px;
5
6
  --tds-scrollbar-thumb-border-hover-width: 2px;
6
7
  }
@@ -4,6 +4,7 @@
4
4
  :host {
5
5
  --tds-scrollbar-width-standard: thin;
6
6
  --tds-scrollbar-width: 10px;
7
+ --tds-scrollbar-height: 10px;
7
8
  --tds-scrollbar-thumb-border-width: 3px;
8
9
  --tds-scrollbar-thumb-border-hover-width: 2px;
9
10
  }
@@ -4,6 +4,7 @@
4
4
  :host {
5
5
  --tds-scrollbar-width-standard: thin;
6
6
  --tds-scrollbar-width: 10px;
7
+ --tds-scrollbar-height: 10px;
7
8
  --tds-scrollbar-thumb-border-width: 3px;
8
9
  --tds-scrollbar-thumb-border-hover-width: 2px;
9
10
  }
@@ -1,3 +1,15 @@
1
+ :host {
2
+ --tds-scrollbar-width-standard: thin;
3
+ --tds-scrollbar-width: 10px;
4
+ --tds-scrollbar-height: 10px;
5
+ --tds-scrollbar-thumb-border-width: 3px;
6
+ --tds-scrollbar-thumb-border-hover-width: 2px;
7
+ }
8
+
9
+ body {
10
+ scrollbar-width: thin;
11
+ }
12
+
1
13
  :host,
2
14
  .tds-table {
3
15
  border-collapse: collapse;
@@ -12,4 +24,53 @@
12
24
  :host(.tds-table--responsive),
13
25
  .tds-table--responsive {
14
26
  width: 100%;
27
+ }
28
+
29
+ .tds-table--horizontal-scroll {
30
+ display: block;
31
+ overflow-x: scroll;
32
+ white-space: nowrap;
33
+ }
34
+ .tds-table--horizontal-scroll:hover::-webkit-scrollbar-thumb {
35
+ border: var(--tds-scrollbar-thumb-border-hover-width) solid transparent;
36
+ background: var(--tds-scrollbar-hover-thumb-color);
37
+ background-clip: padding-box;
38
+ }
39
+ .tds-table--horizontal-scroll::-webkit-scrollbar {
40
+ height: var(--tds-scrollbar-height);
41
+ }
42
+ .tds-table--horizontal-scroll::-webkit-scrollbar-track {
43
+ background: transparent;
44
+ }
45
+ .tds-table--horizontal-scroll::-webkit-scrollbar-thumb {
46
+ border-radius: 40px;
47
+ background: var(--tds-scrollbar-thumb-color);
48
+ border: var(--tds-scrollbar-thumb-border-width) solid transparent;
49
+ background-clip: padding-box;
50
+ }
51
+ .tds-table--horizontal-scroll::-webkit-scrollbar-button {
52
+ height: 0;
53
+ width: 0;
54
+ }
55
+ @supports not selector(::-webkit-scrollbar) {
56
+ .tds-table--horizontal-scroll {
57
+ scrollbar-color: var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);
58
+ scrollbar-width: var(--tds-scrollbar-width-standard);
59
+ }
60
+ }
61
+
62
+ .tds-table--horizontal-scroll-toolbar {
63
+ margin-top: 64px;
64
+ }
65
+
66
+ .tds-table--horizontal-scroll-toolbar-compact {
67
+ margin-top: 56px;
68
+ }
69
+
70
+ .tds-table--horizontal-scroll-footer {
71
+ margin-bottom: 49px;
72
+ }
73
+
74
+ .tds-table--horizontal-scroll-footer-compact {
75
+ margin-bottom: 33px;
15
76
  }
@@ -14,7 +14,10 @@ export class TdsTable {
14
14
  this.expandableRows = false;
15
15
  this.responsive = false;
16
16
  this.modeVariant = null;
17
+ this.horizontalScrollWidth = null;
17
18
  this.tableId = generateUniqueId();
19
+ this.enableHorizontalScrollToolbarDesign = false;
20
+ this.enableHorizontalScrollFooterDesign = false;
18
21
  }
19
22
  emitInternalTdsPropChange(changedValueName, changedValue) {
20
23
  this.internalTdsTablePropChange.emit({
@@ -63,18 +66,34 @@ export class TdsTable {
63
66
  modeVariantChanged(newValue) {
64
67
  this.emitInternalTdsPropChange('modeVariant', newValue);
65
68
  }
69
+ widthChanged(newValue) {
70
+ this.emitInternalTdsPropChange('horizontalScrollWidth', newValue);
71
+ }
72
+ componentWillRender() {
73
+ if (this.horizontalScrollWidth) {
74
+ this.enableHorizontalScrollToolbarDesign =
75
+ this.host.closest('tds-table').getElementsByTagName('tds-table-toolbar').length >= 1;
76
+ this.enableHorizontalScrollFooterDesign =
77
+ this.host.closest('tds-table').getElementsByTagName('tds-table-footer').length >= 1;
78
+ }
79
+ }
66
80
  render() {
67
- return (h(Host, { key: 'e90429bc887c2a3a24eaf3acf0bba7748fd291ed', class: {
81
+ return (h(Host, { key: 'da929268a984ca0e81843132b2fafd6c79bec3b3', class: {
68
82
  'tds-table--responsive': this.responsive,
69
83
  'tds-mode-variant-primary': this.modeVariant === 'primary',
70
84
  'tds-mode-variant-secondary': this.modeVariant === 'secondary',
71
- } }, h("table", { key: '0ab17fb64542a59745bf6b5a8dee0fc365adecf3', class: {
85
+ } }, h("table", { key: '2ba662d97bc834a7a0d6d71338fc7c322bc15741', style: this.horizontalScrollWidth ? { width: this.horizontalScrollWidth } : {}, class: {
72
86
  'tds-table': true,
73
87
  'tds-table--compact': this.compactDesign,
74
88
  'tds-table--divider': this.verticalDividers,
75
89
  'tds-table--no-min-width': this.noMinWidth,
76
90
  'tds-table--responsive': this.responsive,
77
- } }, h("slot", { key: '855c9d02a5564e5ac5cba37c92b87e19e6fba919' }))));
91
+ 'tds-table--horizontal-scroll': !!this.horizontalScrollWidth,
92
+ 'tds-table--horizontal-scroll-toolbar': this.enableHorizontalScrollToolbarDesign && !this.compactDesign,
93
+ 'tds-table--horizontal-scroll-toolbar-compact': this.enableHorizontalScrollToolbarDesign && this.compactDesign,
94
+ 'tds-table--horizontal-scroll-footer': this.enableHorizontalScrollFooterDesign && !this.compactDesign,
95
+ 'tds-table--horizontal-scroll-footer-compact': this.enableHorizontalScrollFooterDesign && this.compactDesign,
96
+ } }, h("slot", { key: 'c95e71aeaac2f4378d440bb23ff890c9c4a76fdf' }))));
78
97
  }
79
98
  static get is() { return "tds-table"; }
80
99
  static get encapsulation() { return "shadow"; }
@@ -215,6 +234,24 @@ export class TdsTable {
215
234
  "reflect": true,
216
235
  "defaultValue": "null"
217
236
  },
237
+ "horizontalScrollWidth": {
238
+ "type": "string",
239
+ "mutable": false,
240
+ "complexType": {
241
+ "original": "string",
242
+ "resolved": "string",
243
+ "references": {}
244
+ },
245
+ "required": false,
246
+ "optional": true,
247
+ "docs": {
248
+ "tags": [],
249
+ "text": "Width of the table, used as the constraint for horizontal scrolling.\n**NOTE**: this will disable usage of the responsive flag"
250
+ },
251
+ "attribute": "horizontal-scroll-width",
252
+ "reflect": false,
253
+ "defaultValue": "null"
254
+ },
218
255
  "tableId": {
219
256
  "type": "string",
220
257
  "mutable": false,
@@ -235,6 +272,12 @@ export class TdsTable {
235
272
  }
236
273
  };
237
274
  }
275
+ static get states() {
276
+ return {
277
+ "enableHorizontalScrollToolbarDesign": {},
278
+ "enableHorizontalScrollFooterDesign": {}
279
+ };
280
+ }
238
281
  static get events() {
239
282
  return [{
240
283
  "method": "internalTdsTablePropChange",
@@ -303,6 +346,9 @@ export class TdsTable {
303
346
  }, {
304
347
  "propName": "modeVariant",
305
348
  "methodName": "modeVariantChanged"
349
+ }, {
350
+ "propName": "horizontalScrollWidth",
351
+ "methodName": "widthChanged"
306
352
  }];
307
353
  }
308
354
  }
@@ -97,6 +97,12 @@
97
97
  width: 28px;
98
98
  }
99
99
 
100
+ :host(.footer__horizontal-scroll) {
101
+ display: inline-table;
102
+ position: absolute;
103
+ margin-top: 10px;
104
+ }
105
+
100
106
  @keyframes tds-shake-animation {
101
107
  10%, 90% {
102
108
  transform: translate3d(-1px, 0, 0);
@@ -1,5 +1,8 @@
1
1
  import { h, Host, } from "@stencil/core";
2
- const relevantTableProps = ['compactDesign'];
2
+ const relevantTableProps = [
3
+ 'compactDesign',
4
+ 'horizontalScrollWidth',
5
+ ];
3
6
  function removeShakeAnimation(e) {
4
7
  e.target.classList.remove('tds-table__page-selector-input--shake');
5
8
  }
@@ -38,6 +41,7 @@ export class TdsTableFooter {
38
41
  this.compactDesign = false;
39
42
  this.lastCorrectValue = undefined;
40
43
  this.tableId = '';
44
+ this.horizontalScrollWidth = null;
41
45
  }
42
46
  internalTdsPropChangeListener(event) {
43
47
  if (this.tableId === event.detail.tableId) {
@@ -90,7 +94,10 @@ export class TdsTableFooter {
90
94
  this.storeLastCorrectValue(this.paginationValue);
91
95
  }
92
96
  render() {
93
- 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" })))))))));
97
+ return (h(Host, { key: 'fe6221e5dd2ec57e63afefc5e45c0b3f5ad85d8f', class: {
98
+ 'tds-table--compact': this.compactDesign,
99
+ 'footer__horizontal-scroll': !!this.horizontalScrollWidth,
100
+ }, style: this.horizontalScrollWidth ? { width: this.horizontalScrollWidth } : {} }, h("tr", { key: '6f6bfca5e7719084b2c4564b86806f6eb7867601', class: "tds-table__footer-row" }, h("td", { key: '2c4389dfa2c028798246a5c4d8b9bdcc05a780f2', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '0831e596963e20222feee940fb7d7d489f832b5e', class: "tds-table__pagination" }, h("div", { key: '1129e67d9b69b06a1fadde589f9ad37a1bd9fcca', class: "tds-table__row-selector" }), h("div", { key: '81e685df813d615027470d4c84c468bb2c5fccca', class: "tds-table__page-selector" }, h("input", { key: '4b116837ae02fcbf6b51b940587ae6159d40f5cb', 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: '927af4715b33f50679aef3ec5eccc5fd4044add7', class: "tds-table__footer-text" }, "of ", h("span", { key: '2d89421fbbbb0828623465f39edc506b9bfa82da' }, this.pages), " pages"), h("button", { key: '37916d812b7b4510b088b382f48b2d9f04d212b2', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: 'd89ac980f4c48fe6c14610f27ccc05e43994631e', name: "chevron_left", size: "20px" })), h("button", { key: '246b17fc6ff26e3830d5a359a4a5de844bc93a1b', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: '6fa3441ed75b484974e50ee41ea1444bea7c30e2', name: "chevron_right", size: "20px" })))))))));
94
101
  }
95
102
  static get is() { return "tds-table-footer"; }
96
103
  static get encapsulation() { return "shadow"; }
@@ -185,7 +192,8 @@ export class TdsTableFooter {
185
192
  "columnsNumber": {},
186
193
  "compactDesign": {},
187
194
  "lastCorrectValue": {},
188
- "tableId": {}
195
+ "tableId": {},
196
+ "horizontalScrollWidth": {}
189
197
  };
190
198
  }
191
199
  static get events() {
@@ -22,6 +22,9 @@
22
22
  padding: 8px 16px;
23
23
  margin: 0;
24
24
  }
25
+ :host(.tds-table__header-cell) .tds-table__header-text-no-padding {
26
+ padding: 0;
27
+ }
25
28
 
26
29
  :host(.tds-table__header-cell--sortable) .tds-table__header-button {
27
30
  display: flex;
@@ -93,6 +96,10 @@
93
96
  min-width: unset;
94
97
  }
95
98
 
99
+ :host(.tds-table--no-padding) {
100
+ height: unset;
101
+ }
102
+
96
103
  :host(.tds-table__header-cell:first-of-type) {
97
104
  border-top-left-radius: 4px;
98
105
  }
@@ -12,25 +12,18 @@ const relevantTableProps = [
12
12
  export class TdsTableHeaderCell {
13
13
  constructor() {
14
14
  this.sortButtonClick = () => {
15
- // Toggling direction of sorting as we only use one button for sorting
16
- if (this.sortingDirection !== 'asc') {
15
+ if (this.sortingDirection !== 'asc' && this.sortingDirection !== 'desc') {
17
16
  this.sortingDirection = 'asc';
18
17
  }
19
18
  else {
20
- this.sortingDirection = 'desc';
19
+ this.sortingDirection = this.sortingDirection === 'asc' ? 'desc' : 'asc';
21
20
  }
22
- // Settings to true we can set enable CSS class for "active" state of column
23
21
  this.sortedByMyKey = true;
24
- /* Emit sort event */
25
22
  this.tdsSort.emit({
26
23
  tableId: this.tableId,
27
24
  columnKey: this.cellKey,
28
25
  sortingDirection: this.sortingDirection,
29
26
  });
30
- /**
31
- * Emits sortButtonClicked event which is listened to by all the header-cells.
32
- * This resets the sorting button in the header-cell that was not clicked.
33
- */
34
27
  this.internalSortButtonClicked.emit({
35
28
  tableId: this.tableId,
36
29
  key: this.cellKey,
@@ -38,9 +31,12 @@ export class TdsTableHeaderCell {
38
31
  };
39
32
  this.headerCellContent = () => {
40
33
  if (this.sortable) {
41
- return (h("button", { class: "tds-table__header-button", onClick: () => this.sortButtonClick(), style: { justifyContent: this.textAlignState } }, h("span", { class: "tds-table__header-button-text" }, this.cellValue, h("slot", null)), this.sortingDirection === null && (h("svg", { class: "tds-table__header-button-icon", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 15" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.45 13.67V4.62a.5.5 0 0 1 1 0v9.05h-1Z" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.07 10.28a.5.5 0 0 1 .7.08l2.1 2.66a.1.1 0 0 0 .15 0l2.09-2.66a.5.5 0 1 1 .78.62l-2.08 2.66a1.1 1.1 0 0 1-1.73 0l-2.1-2.66a.5.5 0 0 1 .1-.7ZM3.55.4v9.04a.5.5 0 1 1-1 0V.39h1Z" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.93 3.78a.5.5 0 0 1-.7-.08l-2.1-2.66a.1.1 0 0 0-.15 0L.89 3.7a.5.5 0 0 1-.78-.62L2.19.42a1.1 1.1 0 0 1 1.73 0l2.1 2.66a.5.5 0 0 1-.1.7Z" }))), this.sortingDirection && (h("svg", { class: `tds-table__header-button-icon ${this.sortingDirection === 'desc' ? 'tds-table__header-button-icon--rotate' : ''}`, fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17 2.974a1 1 0 0 0-2 0v24.3l-9.312-9.312a1 1 0 0 0-1.414 1.414l9.887 9.888a2.6 2.6 0 0 0 3.677 0l9.888-9.888a1 1 0 0 0-1.414-1.414L17 27.274v-24.3Z" })))));
34
+ return (h("button", { class: "tds-table__header-button", onClick: () => this.sortButtonClick(), style: { justifyContent: this.textAlignState } }, h("span", { class: "tds-table__header-button-text" }, this.cellValue, h("slot", null)), this.sortingDirection === undefined && (h("tds-icon", { class: "tds-table__header-button-icon", name: "sorting", size: "16px" })), this.sortingDirection && ['asc', 'desc'].includes(this.sortingDirection) && (h("tds-icon", { class: `tds-table__header-button-icon ${this.sortingDirection === 'asc' ? 'tds-table__header-button-icon--rotate' : ''}`, name: "arrow_down", size: "16px" }))));
42
35
  }
43
- return (h("p", { class: "tds-table__header-text", style: { textAlign: this.textAlignState } }, this.cellValue, h("slot", null)));
36
+ return (h("p", { class: {
37
+ 'tds-table__header-text': true,
38
+ 'tds-table__header-text-no-padding': this.disablePadding,
39
+ }, style: { textAlign: this.textAlignState } }, this.cellValue, h("slot", null)));
44
40
  };
45
41
  this.onHeadCellHover = (key) => {
46
42
  this.internalTdsHover.emit({
@@ -53,8 +49,9 @@ export class TdsTableHeaderCell {
53
49
  this.customWidth = undefined;
54
50
  this.sortable = false;
55
51
  this.textAlign = 'left';
52
+ this.disablePadding = false;
56
53
  this.textAlignState = undefined;
57
- this.sortingDirection = 'asc';
54
+ this.sortingDirection = undefined;
58
55
  this.sortedByMyKey = false;
59
56
  this.verticalDividers = false;
60
57
  this.compactDesign = false;
@@ -83,7 +80,7 @@ export class TdsTableHeaderCell {
83
80
  this.sortedByMyKey = false;
84
81
  // To sync with CSS transition timing
85
82
  setTimeout(() => {
86
- this.sortingDirection = null;
83
+ this.sortingDirection = undefined;
87
84
  }, 200);
88
85
  }
89
86
  }
@@ -108,7 +105,7 @@ export class TdsTableHeaderCell {
108
105
  this.host.closest('tds-table').getElementsByTagName('tds-table-toolbar').length >= 1;
109
106
  }
110
107
  render() {
111
- return (h(Host, { key: '2d4c736a4b0cd311c4bda33beee8740f10bfab4f', class: {
108
+ return (h(Host, { key: '6a051465b3a5af5460f7c5ac112798b521f9b4a8', class: {
112
109
  'tds-table__header-cell': true,
113
110
  'tds-table__header-cell--sortable': this.sortable,
114
111
  'tds-table__header-cell--is-sorted': this.sortedByMyKey,
@@ -118,9 +115,8 @@ export class TdsTableHeaderCell {
118
115
  'tds-table--no-min-width': this.noMinWidth,
119
116
  'tds-table--extra-column': this.multiselect || this.expandableRows,
120
117
  'tds-table--toolbar-available': this.enableToolbarDesign,
121
- }, style: { width: this.customWidth },
122
- // Calling actions from here to enable hover functionality for both sortable and unsortable Tables
123
- onMouseOver: () => this.onHeadCellHover(this.cellKey), onMouseLeave: () => this.onHeadCellHover('') }, this.headerCellContent()));
118
+ 'tds-table--no-padding': this.disablePadding,
119
+ }, style: { minWidth: this.customWidth }, onMouseOver: () => this.onHeadCellHover(this.cellKey), onMouseLeave: () => this.onHeadCellHover('') }, this.headerCellContent()));
124
120
  }
125
121
  static get is() { return "tds-header-cell"; }
126
122
  static get encapsulation() { return "shadow"; }
@@ -222,6 +218,24 @@ export class TdsTableHeaderCell {
222
218
  "attribute": "text-align",
223
219
  "reflect": true,
224
220
  "defaultValue": "'left'"
221
+ },
222
+ "disablePadding": {
223
+ "type": "boolean",
224
+ "mutable": false,
225
+ "complexType": {
226
+ "original": "boolean",
227
+ "resolved": "boolean",
228
+ "references": {}
229
+ },
230
+ "required": false,
231
+ "optional": false,
232
+ "docs": {
233
+ "tags": [],
234
+ "text": "Disables internal padding. Useful when passing other components to cell."
235
+ },
236
+ "attribute": "disable-padding",
237
+ "reflect": true,
238
+ "defaultValue": "false"
225
239
  }
226
240
  };
227
241
  }
@@ -88,6 +88,11 @@
88
88
  height: 20px;
89
89
  }
90
90
 
91
+ :host(.toolbar__horizontal-scroll) {
92
+ position: absolute;
93
+ top: var(--tds-spacing-element-16);
94
+ }
95
+
91
96
  :host(.tds-table--compact) {
92
97
  height: 56px;
93
98
  }