@scania/tegel 1.49.2-warning-beta.0 → 1.50.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 (436) hide show
  1. package/dist/cjs/{index-DGsdvbvx.js → index-BaAHvBEQ.js} +97 -70
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/tds-accordion-item.cjs.entry.js +4 -4
  4. package/dist/cjs/tds-accordion.cjs.entry.js +3 -3
  5. package/dist/cjs/tds-badge.cjs.entry.js +3 -3
  6. package/dist/cjs/tds-banner.cjs.entry.js +3 -3
  7. package/dist/cjs/tds-block.cjs.entry.js +2 -2
  8. package/dist/cjs/tds-body-cell.cjs.entry.js +3 -3
  9. package/dist/cjs/tds-breadcrumb.cjs.entry.js +2 -2
  10. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -2
  11. package/dist/cjs/tds-button_2.cjs.entry.js +5 -5
  12. package/dist/cjs/tds-card.cjs.entry.js +2 -2
  13. package/dist/cjs/tds-checkbox.cjs.entry.js +3 -3
  14. package/dist/cjs/tds-chip.cjs.entry.js +2 -2
  15. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +3 -3
  16. package/dist/cjs/tds-datetime.cjs.entry.js +4 -4
  17. package/dist/cjs/tds-dropdown_2.cjs.entry.js +99 -144
  18. package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -3
  19. package/dist/cjs/tds-folder-tabs.cjs.entry.js +5 -3
  20. package/dist/cjs/tds-footer-group.cjs.entry.js +4 -4
  21. package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
  22. package/dist/cjs/tds-footer.cjs.entry.js +3 -3
  23. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
  24. package/dist/cjs/tds-header-cell.cjs.entry.js +3 -3
  25. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +3 -3
  26. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +2 -2
  27. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
  28. package/dist/cjs/tds-header-dropdown.cjs.entry.js +4 -4
  29. package/dist/cjs/tds-header-hamburger.cjs.entry.js +2 -2
  30. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +2 -2
  31. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +1 -1
  32. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +1 -1
  33. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
  34. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
  35. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
  36. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +1 -1
  37. package/dist/cjs/tds-header-launcher.cjs.entry.js +3 -3
  38. package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
  39. package/dist/cjs/tds-header.cjs.entry.js +1 -1
  40. package/dist/cjs/tds-icon.cjs.entry.js +2 -2
  41. package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -3
  42. package/dist/cjs/tds-inline-tabs.cjs.entry.js +5 -3
  43. package/dist/cjs/tds-link.cjs.entry.js +3 -3
  44. package/dist/cjs/tds-message.cjs.entry.js +3 -3
  45. package/dist/cjs/tds-modal.cjs.entry.js +3 -3
  46. package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -3
  47. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +7 -5
  48. package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
  49. package/dist/cjs/tds-popover-core.cjs.entry.js +2 -2
  50. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -3
  51. package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -4
  52. package/dist/cjs/tds-radio-button.cjs.entry.js +3 -3
  53. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
  54. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +1 -1
  55. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +3 -3
  56. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +1 -1
  57. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +4 -4
  58. package/dist/cjs/tds-side-menu-item.cjs.entry.js +3 -3
  59. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
  60. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +3 -3
  61. package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -2
  62. package/dist/cjs/tds-side-menu.cjs.entry.js +4 -4
  63. package/dist/cjs/tds-slider.cjs.entry.js +10 -10
  64. package/dist/cjs/tds-spinner.cjs.entry.js +2 -2
  65. package/dist/cjs/tds-step.cjs.entry.js +2 -2
  66. package/dist/cjs/tds-stepper.cjs.entry.js +2 -2
  67. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +2 -2
  68. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +8 -8
  69. package/dist/cjs/tds-table-body-row.cjs.entry.js +1 -1
  70. package/dist/cjs/tds-table-body.cjs.entry.js +1 -1
  71. package/dist/cjs/tds-table-footer.cjs.entry.js +6 -4
  72. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +2 -2
  73. package/dist/cjs/tds-table-header.cjs.entry.js +3 -3
  74. package/dist/cjs/tds-table-toolbar.cjs.entry.js +3 -3
  75. package/dist/cjs/tds-table.cjs.entry.js +4 -4
  76. package/dist/cjs/tds-tag.cjs.entry.js +2 -2
  77. package/dist/cjs/tds-text-field.cjs.entry.js +6 -6
  78. package/dist/cjs/tds-textarea.cjs.entry.js +4 -4
  79. package/dist/cjs/tds-toast.cjs.entry.js +4 -4
  80. package/dist/cjs/tds-toggle.cjs.entry.js +4 -4
  81. package/dist/cjs/tds-tooltip.cjs.entry.js +3 -3
  82. package/dist/cjs/tegel.cjs.js +3 -3
  83. package/dist/collection/assets/icons/traton/edit_inactive.svg +1 -0
  84. package/dist/collection/assets/icons/traton/skip_backwards.svg +1 -0
  85. package/dist/collection/assets/icons/traton/skip_forward.svg +1 -0
  86. package/dist/collection/collection-manifest.json +1 -1
  87. package/dist/collection/components/accordion/accordion-item/accordion-item.js +7 -7
  88. package/dist/collection/components/accordion/accordion.js +4 -4
  89. package/dist/collection/components/badge/badge.js +5 -5
  90. package/dist/collection/components/banner/banner.js +8 -8
  91. package/dist/collection/components/block/block.js +3 -3
  92. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +2 -2
  93. package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
  94. package/dist/collection/components/button/button.js +14 -14
  95. package/dist/collection/components/card/card.js +12 -12
  96. package/dist/collection/components/checkbox/checkbox.js +10 -10
  97. package/dist/collection/components/chip/chip.js +8 -8
  98. package/dist/collection/components/datetime/datetime.js +19 -19
  99. package/dist/collection/components/divider/divider.js +3 -3
  100. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +4 -4
  101. package/dist/collection/components/dropdown/dropdown.js +114 -161
  102. package/dist/collection/components/footer/footer-group/footer-group.js +5 -5
  103. package/dist/collection/components/footer/footer.js +3 -3
  104. package/dist/collection/components/header/header-dropdown/header-dropdown.js +7 -7
  105. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +3 -3
  106. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +5 -5
  107. package/dist/collection/components/header/header-hamburger/header-hamburger.js +2 -2
  108. package/dist/collection/components/header/header-item/header-item.js +4 -4
  109. package/dist/collection/components/header/header-launcher/header-launcher.js +3 -3
  110. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +3 -3
  111. package/dist/collection/components/icon/icon.js +4 -4
  112. package/dist/collection/components/link/link.js +5 -5
  113. package/dist/collection/components/message/message.js +9 -9
  114. package/dist/collection/components/modal/modal.js +10 -10
  115. package/dist/collection/components/popover-canvas/popover-canvas.js +12 -12
  116. package/dist/collection/components/popover-core/popover-core.js +10 -10
  117. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +3 -3
  118. package/dist/collection/components/popover-menu/popover-menu.js +12 -12
  119. package/dist/collection/components/radio-button/radio-button.js +9 -9
  120. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +7 -7
  121. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +3 -3
  122. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +4 -4
  123. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +5 -5
  124. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +3 -3
  125. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +3 -3
  126. package/dist/collection/components/side-menu/side-menu.js +6 -6
  127. package/dist/collection/components/slider/slider.js +27 -27
  128. package/dist/collection/components/spinner/spinner.js +3 -3
  129. package/dist/collection/components/stepper/step/step.js +4 -4
  130. package/dist/collection/components/stepper/stepper.js +7 -7
  131. package/dist/collection/components/table/table/table.js +5 -5
  132. package/dist/collection/components/table/table-body-cell/table-body-cell.js +4 -4
  133. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +2 -2
  134. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +9 -9
  135. package/dist/collection/components/table/table-footer/table-footer.js +26 -4
  136. package/dist/collection/components/table/table-header/table-header.js +3 -3
  137. package/dist/collection/components/table/table-header-cell/table-header-cell.js +5 -5
  138. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +3 -3
  139. package/dist/collection/components/table/table-toolbar/table-toolbar.js +3 -3
  140. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +3 -3
  141. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +8 -6
  142. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +3 -3
  143. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +8 -6
  144. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +3 -3
  145. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +10 -8
  146. package/dist/collection/components/tag/tag.js +4 -4
  147. package/dist/collection/components/text-field/text-field.js +26 -26
  148. package/dist/collection/components/textarea/textarea.js +20 -20
  149. package/dist/collection/components/toast/toast.js +11 -11
  150. package/dist/collection/components/toggle/toggle.js +10 -10
  151. package/dist/collection/components/tooltip/tooltip.js +12 -12
  152. package/dist/components/index.js +1 -1
  153. package/dist/components/{p-CVrz-nvu.js → p-2Sehn7YQ.js} +1 -1
  154. package/dist/components/{p-blXt609Y.js → p-BkkKUMC2.js} +1 -1
  155. package/dist/components/{p-le823YD3.js → p-CkGDaQ3D.js} +1 -1
  156. package/dist/components/{p-CAGXolMB.js → p-Cr5AJ7EI.js} +1 -1
  157. package/dist/components/p-D7QKvdhL.js +1 -0
  158. package/dist/components/p-D8Rhjha5.js +1 -0
  159. package/dist/components/{p-CIt4YhvL.js → p-DMVs7mmW.js} +1 -1
  160. package/dist/components/{p-Dc6aMuMv.js → p-DO04x4VW.js} +1 -1
  161. package/dist/components/{p-DDZjm4KO.js → p-Df03ehYR.js} +1 -1
  162. package/dist/components/p-Dh4rW_04.js +1 -0
  163. package/dist/components/p-Dkw_xBUE.js +1 -0
  164. package/dist/components/{p-454Tm-qg.js → p-DynhdmI7.js} +1 -1
  165. package/dist/components/{p-Dcq3a5KI.js → p-T8F4U3Yc.js} +1 -1
  166. package/dist/components/{p-D0Aaqu_c.js → p-TTZk9Ssg.js} +1 -1
  167. package/dist/components/{p-7g_ABN5n.js → p-Zonwl9_G.js} +1 -1
  168. package/dist/components/{p-Zx1hN-_O.js → p-bPqW3C5g.js} +1 -1
  169. package/dist/components/tds-accordion-item.js +1 -1
  170. package/dist/components/tds-accordion.js +1 -1
  171. package/dist/components/tds-badge.js +1 -1
  172. package/dist/components/tds-banner.js +1 -1
  173. package/dist/components/tds-block.js +1 -1
  174. package/dist/components/tds-body-cell.js +1 -1
  175. package/dist/components/tds-breadcrumb.js +1 -1
  176. package/dist/components/tds-breadcrumbs.js +1 -1
  177. package/dist/components/tds-button.js +1 -1
  178. package/dist/components/tds-card.js +1 -1
  179. package/dist/components/tds-checkbox.js +1 -1
  180. package/dist/components/tds-chip.js +1 -1
  181. package/dist/components/tds-datetime.js +1 -1
  182. package/dist/components/tds-divider.js +1 -1
  183. package/dist/components/tds-dropdown-option.js +1 -1
  184. package/dist/components/tds-dropdown.js +1 -1
  185. package/dist/components/tds-folder-tab.js +1 -1
  186. package/dist/components/tds-folder-tabs.js +1 -1
  187. package/dist/components/tds-footer-group.js +1 -1
  188. package/dist/components/tds-footer.js +1 -1
  189. package/dist/components/tds-header-brand-symbol.js +1 -1
  190. package/dist/components/tds-header-cell.js +1 -1
  191. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  192. package/dist/components/tds-header-dropdown-list-user.js +1 -1
  193. package/dist/components/tds-header-dropdown.js +1 -1
  194. package/dist/components/tds-header-hamburger.js +1 -1
  195. package/dist/components/tds-header-item.js +1 -1
  196. package/dist/components/tds-header-launcher-button.js +1 -1
  197. package/dist/components/tds-header-launcher-list-item.js +1 -1
  198. package/dist/components/tds-header-launcher.js +1 -1
  199. package/dist/components/tds-icon.js +1 -1
  200. package/dist/components/tds-inline-tab.js +1 -1
  201. package/dist/components/tds-inline-tabs.js +1 -1
  202. package/dist/components/tds-link.js +1 -1
  203. package/dist/components/tds-message.js +1 -1
  204. package/dist/components/tds-modal.js +1 -1
  205. package/dist/components/tds-navigation-tab.js +1 -1
  206. package/dist/components/tds-navigation-tabs.js +1 -1
  207. package/dist/components/tds-popover-canvas.js +1 -1
  208. package/dist/components/tds-popover-core.js +1 -1
  209. package/dist/components/tds-popover-menu-item.js +1 -1
  210. package/dist/components/tds-popover-menu.js +1 -1
  211. package/dist/components/tds-radio-button.js +1 -1
  212. package/dist/components/tds-side-menu-close-button.js +1 -1
  213. package/dist/components/tds-side-menu-collapse-button.js +1 -1
  214. package/dist/components/tds-side-menu-dropdown-list-item.js +1 -1
  215. package/dist/components/tds-side-menu-dropdown.js +1 -1
  216. package/dist/components/tds-side-menu-item.js +1 -1
  217. package/dist/components/tds-side-menu-user-image.js +1 -1
  218. package/dist/components/tds-side-menu-user-label.js +1 -1
  219. package/dist/components/tds-side-menu-user.js +1 -1
  220. package/dist/components/tds-side-menu.js +1 -1
  221. package/dist/components/tds-slider.js +1 -1
  222. package/dist/components/tds-spinner.js +1 -1
  223. package/dist/components/tds-step.js +1 -1
  224. package/dist/components/tds-stepper.js +1 -1
  225. package/dist/components/tds-table-body-input-wrapper.js +1 -1
  226. package/dist/components/tds-table-body-row-expandable.js +1 -1
  227. package/dist/components/tds-table-body-row.js +1 -1
  228. package/dist/components/tds-table-footer.js +1 -1
  229. package/dist/components/tds-table-header-input-wrapper.js +1 -1
  230. package/dist/components/tds-table-header.js +1 -1
  231. package/dist/components/tds-table-toolbar.js +1 -1
  232. package/dist/components/tds-table.js +1 -1
  233. package/dist/components/tds-tag.js +1 -1
  234. package/dist/components/tds-text-field.js +1 -1
  235. package/dist/components/tds-textarea.js +1 -1
  236. package/dist/components/tds-toast.js +1 -1
  237. package/dist/components/tds-toggle.js +1 -1
  238. package/dist/components/tds-tooltip.js +1 -1
  239. package/dist/esm/{index-9xxNGlso.js → index-BBBKPH5r.js} +97 -70
  240. package/dist/esm/loader.js +3 -3
  241. package/dist/esm/tds-accordion-item.entry.js +4 -4
  242. package/dist/esm/tds-accordion.entry.js +3 -3
  243. package/dist/esm/tds-badge.entry.js +3 -3
  244. package/dist/esm/tds-banner.entry.js +3 -3
  245. package/dist/esm/tds-block.entry.js +2 -2
  246. package/dist/esm/tds-body-cell.entry.js +3 -3
  247. package/dist/esm/tds-breadcrumb.entry.js +2 -2
  248. package/dist/esm/tds-breadcrumbs.entry.js +2 -2
  249. package/dist/esm/tds-button_2.entry.js +5 -5
  250. package/dist/esm/tds-card.entry.js +2 -2
  251. package/dist/esm/tds-checkbox.entry.js +3 -3
  252. package/dist/esm/tds-chip.entry.js +2 -2
  253. package/dist/esm/tds-core-header-item_2.entry.js +3 -3
  254. package/dist/esm/tds-datetime.entry.js +4 -4
  255. package/dist/esm/tds-dropdown_2.entry.js +99 -144
  256. package/dist/esm/tds-folder-tab.entry.js +3 -3
  257. package/dist/esm/tds-folder-tabs.entry.js +5 -3
  258. package/dist/esm/tds-footer-group.entry.js +4 -4
  259. package/dist/esm/tds-footer-item.entry.js +1 -1
  260. package/dist/esm/tds-footer.entry.js +3 -3
  261. package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
  262. package/dist/esm/tds-header-cell.entry.js +3 -3
  263. package/dist/esm/tds-header-dropdown-list-item.entry.js +3 -3
  264. package/dist/esm/tds-header-dropdown-list-user.entry.js +2 -2
  265. package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
  266. package/dist/esm/tds-header-dropdown.entry.js +4 -4
  267. package/dist/esm/tds-header-hamburger.entry.js +2 -2
  268. package/dist/esm/tds-header-launcher-button.entry.js +2 -2
  269. package/dist/esm/tds-header-launcher-grid-item.entry.js +1 -1
  270. package/dist/esm/tds-header-launcher-grid-title.entry.js +1 -1
  271. package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
  272. package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
  273. package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
  274. package/dist/esm/tds-header-launcher-list.entry.js +1 -1
  275. package/dist/esm/tds-header-launcher.entry.js +3 -3
  276. package/dist/esm/tds-header-title.entry.js +1 -1
  277. package/dist/esm/tds-header.entry.js +1 -1
  278. package/dist/esm/tds-icon.entry.js +2 -2
  279. package/dist/esm/tds-inline-tab.entry.js +3 -3
  280. package/dist/esm/tds-inline-tabs.entry.js +5 -3
  281. package/dist/esm/tds-link.entry.js +3 -3
  282. package/dist/esm/tds-message.entry.js +3 -3
  283. package/dist/esm/tds-modal.entry.js +3 -3
  284. package/dist/esm/tds-navigation-tab.entry.js +3 -3
  285. package/dist/esm/tds-navigation-tabs.entry.js +7 -5
  286. package/dist/esm/tds-popover-canvas.entry.js +4 -4
  287. package/dist/esm/tds-popover-core.entry.js +2 -2
  288. package/dist/esm/tds-popover-menu-item.entry.js +3 -3
  289. package/dist/esm/tds-popover-menu.entry.js +4 -4
  290. package/dist/esm/tds-radio-button.entry.js +3 -3
  291. package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
  292. package/dist/esm/tds-side-menu-collapse-button.entry.js +1 -1
  293. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
  294. package/dist/esm/tds-side-menu-dropdown-list.entry.js +1 -1
  295. package/dist/esm/tds-side-menu-dropdown.entry.js +4 -4
  296. package/dist/esm/tds-side-menu-item.entry.js +3 -3
  297. package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
  298. package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -3
  299. package/dist/esm/tds-side-menu-user.entry.js +2 -2
  300. package/dist/esm/tds-side-menu.entry.js +4 -4
  301. package/dist/esm/tds-slider.entry.js +10 -10
  302. package/dist/esm/tds-spinner.entry.js +2 -2
  303. package/dist/esm/tds-step.entry.js +2 -2
  304. package/dist/esm/tds-stepper.entry.js +2 -2
  305. package/dist/esm/tds-table-body-input-wrapper.entry.js +2 -2
  306. package/dist/esm/tds-table-body-row-expandable.entry.js +8 -8
  307. package/dist/esm/tds-table-body-row.entry.js +1 -1
  308. package/dist/esm/tds-table-body.entry.js +1 -1
  309. package/dist/esm/tds-table-footer.entry.js +6 -4
  310. package/dist/esm/tds-table-header-input-wrapper.entry.js +2 -2
  311. package/dist/esm/tds-table-header.entry.js +3 -3
  312. package/dist/esm/tds-table-toolbar.entry.js +3 -3
  313. package/dist/esm/tds-table.entry.js +4 -4
  314. package/dist/esm/tds-tag.entry.js +2 -2
  315. package/dist/esm/tds-text-field.entry.js +6 -6
  316. package/dist/esm/tds-textarea.entry.js +4 -4
  317. package/dist/esm/tds-toast.entry.js +4 -4
  318. package/dist/esm/tds-toggle.entry.js +4 -4
  319. package/dist/esm/tds-tooltip.entry.js +3 -3
  320. package/dist/esm/tegel.js +4 -4
  321. package/dist/tegel/assets/icons/traton/edit_inactive.svg +1 -0
  322. package/dist/tegel/assets/icons/traton/skip_backwards.svg +1 -0
  323. package/dist/tegel/assets/icons/traton/skip_forward.svg +1 -0
  324. package/dist/tegel/{p-b29a9c01.entry.js → p-00aae27c.entry.js} +1 -1
  325. package/dist/tegel/{p-fb9f17be.entry.js → p-01f3cc50.entry.js} +1 -1
  326. package/dist/tegel/{p-bfa98728.entry.js → p-05f55787.entry.js} +1 -1
  327. package/dist/tegel/{p-64e04dc0.entry.js → p-07c66ff1.entry.js} +1 -1
  328. package/dist/tegel/{p-dc425994.entry.js → p-092de082.entry.js} +1 -1
  329. package/dist/tegel/{p-873dd581.entry.js → p-0c20d1c7.entry.js} +1 -1
  330. package/dist/tegel/{p-3d11fc11.entry.js → p-0c4944e5.entry.js} +1 -1
  331. package/dist/tegel/{p-5b787973.entry.js → p-14844734.entry.js} +1 -1
  332. package/dist/tegel/{p-92ee76ea.entry.js → p-14d74306.entry.js} +1 -1
  333. package/dist/tegel/{p-09867bb0.entry.js → p-1d066c1b.entry.js} +1 -1
  334. package/dist/tegel/{p-dfa11d82.entry.js → p-1dd505c6.entry.js} +1 -1
  335. package/dist/tegel/p-235903eb.entry.js +1 -0
  336. package/dist/tegel/{p-4236bbf5.entry.js → p-242583d2.entry.js} +1 -1
  337. package/dist/tegel/{p-130d96b2.entry.js → p-28f3e764.entry.js} +1 -1
  338. package/dist/tegel/{p-bc98d0e2.entry.js → p-2a58b2f8.entry.js} +1 -1
  339. package/dist/tegel/p-2b77f6d6.entry.js +1 -0
  340. package/dist/tegel/p-2f8d6d31.entry.js +1 -0
  341. package/dist/tegel/p-305797a3.entry.js +1 -0
  342. package/dist/tegel/{p-afad1dba.entry.js → p-313482df.entry.js} +1 -1
  343. package/dist/tegel/p-354919ea.entry.js +1 -0
  344. package/dist/tegel/{p-b881093c.entry.js → p-3c624875.entry.js} +1 -1
  345. package/dist/tegel/p-434da9d2.entry.js +1 -0
  346. package/dist/tegel/{p-fe45a38b.entry.js → p-4ea9b826.entry.js} +1 -1
  347. package/dist/tegel/{p-808c9db1.entry.js → p-583d9859.entry.js} +1 -1
  348. package/dist/tegel/{p-e2848b6f.entry.js → p-5e09c7ce.entry.js} +1 -1
  349. package/dist/tegel/p-626c4422.entry.js +1 -0
  350. package/dist/tegel/p-6410f220.entry.js +1 -0
  351. package/dist/tegel/{p-72f04cd1.entry.js → p-6676150e.entry.js} +1 -1
  352. package/dist/tegel/{p-34acf548.entry.js → p-6c292a59.entry.js} +1 -1
  353. package/dist/tegel/{p-2c4defb0.entry.js → p-6e965be5.entry.js} +1 -1
  354. package/dist/tegel/p-6f5456be.entry.js +1 -0
  355. package/dist/tegel/{p-a6415b2c.entry.js → p-6fc15fd4.entry.js} +1 -1
  356. package/dist/tegel/{p-121afb33.entry.js → p-719fcc3b.entry.js} +1 -1
  357. package/dist/tegel/p-80cd1b4c.entry.js +1 -0
  358. package/dist/tegel/{p-089347c1.entry.js → p-841d280c.entry.js} +1 -1
  359. package/dist/tegel/p-8a92f516.entry.js +1 -0
  360. package/dist/tegel/p-8b0e1b28.entry.js +1 -0
  361. package/dist/tegel/{p-2ef824fb.entry.js → p-9473abea.entry.js} +1 -1
  362. package/dist/tegel/{p-483d8c89.entry.js → p-94e82d86.entry.js} +1 -1
  363. package/dist/tegel/{p-eebfce98.entry.js → p-974f7eb2.entry.js} +1 -1
  364. package/dist/tegel/{p-f7e30ce0.entry.js → p-98eac83d.entry.js} +1 -1
  365. package/dist/tegel/{p-e399bba6.entry.js → p-9a15616f.entry.js} +1 -1
  366. package/dist/tegel/{p-492af98d.entry.js → p-9bec15bf.entry.js} +1 -1
  367. package/dist/tegel/{p-6bcb6678.entry.js → p-9c2ef80c.entry.js} +1 -1
  368. package/dist/tegel/p-9cf8c0f0.entry.js +1 -0
  369. package/dist/tegel/p-BBBKPH5r.js +2 -0
  370. package/dist/tegel/{p-e0be794f.entry.js → p-a3094874.entry.js} +1 -1
  371. package/dist/tegel/{p-fc5445b7.entry.js → p-a3ef5f80.entry.js} +1 -1
  372. package/dist/tegel/p-a424b80f.entry.js +1 -0
  373. package/dist/tegel/p-a4a3367d.entry.js +1 -0
  374. package/dist/tegel/p-a67979a0.entry.js +1 -0
  375. package/dist/tegel/{p-8db648a3.entry.js → p-a679b838.entry.js} +1 -1
  376. package/dist/tegel/{p-826bfbff.entry.js → p-a7b374a4.entry.js} +1 -1
  377. package/dist/tegel/{p-00f77dd3.entry.js → p-aa1ae2c3.entry.js} +1 -1
  378. package/dist/tegel/{p-8f69297f.entry.js → p-abd49ffe.entry.js} +1 -1
  379. package/dist/tegel/{p-f935c2e9.entry.js → p-ae5621f5.entry.js} +1 -1
  380. package/dist/tegel/{p-e7793e67.entry.js → p-b3465c24.entry.js} +1 -1
  381. package/dist/tegel/{p-a5ec44a0.entry.js → p-b535d60d.entry.js} +1 -1
  382. package/dist/tegel/{p-e4cd252c.entry.js → p-b96f269c.entry.js} +1 -1
  383. package/dist/tegel/{p-b524bbfe.entry.js → p-b9f1bdfd.entry.js} +1 -1
  384. package/dist/tegel/p-bd098be1.entry.js +1 -0
  385. package/dist/tegel/{p-c2e17e83.entry.js → p-bf77aa74.entry.js} +1 -1
  386. package/dist/tegel/{p-6c86f384.entry.js → p-c01dce12.entry.js} +1 -1
  387. package/dist/tegel/{p-c612b88f.entry.js → p-c30ed630.entry.js} +1 -1
  388. package/dist/tegel/{p-9d1d18e5.entry.js → p-c91a9648.entry.js} +1 -1
  389. package/dist/tegel/{p-462a1867.entry.js → p-cb84aeb0.entry.js} +1 -1
  390. package/dist/tegel/{p-e8658834.entry.js → p-cbfaf8f6.entry.js} +1 -1
  391. package/dist/tegel/{p-84580662.entry.js → p-cfc0ad1d.entry.js} +1 -1
  392. package/dist/tegel/{p-9a0253d6.entry.js → p-cff15a0b.entry.js} +1 -1
  393. package/dist/tegel/{p-d92682e4.entry.js → p-d26d4174.entry.js} +1 -1
  394. package/dist/tegel/{p-735375dd.entry.js → p-dbb6eb5c.entry.js} +1 -1
  395. package/dist/tegel/{p-408ccb20.entry.js → p-dbd3d34e.entry.js} +1 -1
  396. package/dist/tegel/{p-bf411bd0.entry.js → p-dedc2084.entry.js} +1 -1
  397. package/dist/tegel/{p-066bb57c.entry.js → p-e1bd2fa0.entry.js} +1 -1
  398. package/dist/tegel/{p-9c179f84.entry.js → p-e3c8271d.entry.js} +1 -1
  399. package/dist/tegel/{p-b11a2807.entry.js → p-f08d1a17.entry.js} +1 -1
  400. package/dist/tegel/{p-7fd4299d.entry.js → p-f1c8c48f.entry.js} +1 -1
  401. package/dist/tegel/{p-17ea4d71.entry.js → p-f80b5c4b.entry.js} +1 -1
  402. package/dist/tegel/p-fba1269d.entry.js +1 -0
  403. package/dist/tegel/p-ff25df42.entry.js +1 -0
  404. package/dist/tegel/tegel.css +93 -1
  405. package/dist/tegel/tegel.esm.js +1 -1
  406. package/dist/types/components/dropdown/dropdown.d.ts +17 -30
  407. package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
  408. package/dist/types/components/table/table-footer/table-footer.d.ts +2 -0
  409. package/dist/types/components.d.ts +15 -4
  410. package/dist/types/stencil-public-runtime.d.ts +0 -4
  411. package/dist/types/stories/formatHtmlPreview.d.ts +1 -1
  412. package/package.json +4 -3
  413. package/dist/components/p-C5Repnjj.js +0 -1
  414. package/dist/components/p-COWTtzpX.js +0 -1
  415. package/dist/components/p-CXwwrpih.js +0 -1
  416. package/dist/components/p-DU6on7Ts.js +0 -1
  417. package/dist/tegel/p-01c5df5c.entry.js +0 -1
  418. package/dist/tegel/p-09c5a74a.entry.js +0 -1
  419. package/dist/tegel/p-10bd75ab.entry.js +0 -1
  420. package/dist/tegel/p-1c117ed6.entry.js +0 -1
  421. package/dist/tegel/p-1c73f091.entry.js +0 -1
  422. package/dist/tegel/p-399de5fb.entry.js +0 -1
  423. package/dist/tegel/p-513f9e4a.entry.js +0 -1
  424. package/dist/tegel/p-5aac239b.entry.js +0 -1
  425. package/dist/tegel/p-5de5a2e8.entry.js +0 -1
  426. package/dist/tegel/p-785a02d1.entry.js +0 -1
  427. package/dist/tegel/p-7aa48b05.entry.js +0 -1
  428. package/dist/tegel/p-7d2217bc.entry.js +0 -1
  429. package/dist/tegel/p-88deac25.entry.js +0 -1
  430. package/dist/tegel/p-9xxNGlso.js +0 -2
  431. package/dist/tegel/p-ad5f719a.entry.js +0 -1
  432. package/dist/tegel/p-b35c853f.entry.js +0 -1
  433. package/dist/tegel/p-b765f247.entry.js +0 -1
  434. package/dist/tegel/p-c18d557c.entry.js +0 -1
  435. package/dist/tegel/p-dc823504.entry.js +0 -1
  436. package/dist/tegel/p-fed169d8.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as e,H as o,a as s}from"./p-9xxNGlso.js";import{d as n}from"./p-CLF3diNe.js";const i=class{constructor(e){t(this,e),this.selected=!1,this.active=!1,this.collapsed=!1,this.hasUserComponent=!1}findSlottedAndExecute(t,e){var o;const s=null===(o=this.slotEl)||void 0===o?void 0:o.assignedElements({flatten:!0});if(!(null==s?void 0:s.length))return;const i=s[0];if(i){const o=n(i,t);o&&e(o)}}updateSlottedElements(){this.slotEl&&this.findSlottedAndExecute((t=>"tds-icon"===t.tagName.toLowerCase()||"svg"===t.tagName.toLowerCase()),(t=>{t.classList.add("__tds-side-menu-item-icon"),this.collapsed?t.classList.add("__tds-side-menu-item-icon-collapsed"):t.classList.remove("__tds-side-menu-item-icon-collapsed")}))}updateHasUserComponent(){if(this.slotEl){const t=t=>"tds-side-menu-user"===t.tagName.toLowerCase();this.hasUserComponent=!1,this.findSlottedAndExecute(t,(()=>{this.hasUserComponent=!0}))}}connectedCallback(){var t;this.sideMenuEl=this.host.closest("tds-side-menu"),this.collapsed=!!(null===(t=this.sideMenuEl)||void 0===t?void 0:t.collapsed)}componentDidLoad(){var t,e;this.slotEl=null!==(e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("slot"))&&void 0!==e?e:null,this.updateSlottedElements(),this.updateHasUserComponent(),this.slotEl&&this.slotEl.addEventListener("slotchange",(()=>{this.updateSlottedElements(),this.updateHasUserComponent()}))}collapseSideMenuEventHandler(t){this.collapsed=t.detail.collapsed,this.updateSlottedElements(),this.updateHasUserComponent()}render(){return e(o,{key:"540c5825a2cf8913891c0b6c06ad7e338c9546bc"},e("div",{key:"2482c645b0d4650f1a389eed12e097a8fc35c03f",class:{component:!0,"component-selected":this.selected,"component-active":this.active,"component-collapsed":this.collapsed,"component-has-user":this.hasUserComponent}},e("slot",{key:"b476beffec5acc60afd8c7e60754c16995f43c32"})))}get host(){return s(this)}};i.style=':host{display:block}:host .component ::slotted(a),:host .component ::slotted(button){all:unset;box-sizing:border-box;height:68px;width:100%;display:flex;align-items:center;gap:10px;padding:0 22px;border:none;background-color:var(--tds-sidebar-side-menu-background-cover);font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-sidebar-side-menu-single-item-color);cursor:pointer}:host .component ::slotted(tds-side-menu-user),:host .component-has-user ::slotted(button){all:unset;box-sizing:border-box;height:68px;width:100%;display:flex;align-items:center;gap:16px;padding:0 22px 0 16px;border:none;background-color:var(--tds-sidebar-side-menu-background-cover);font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-sidebar-side-menu-single-item-color);cursor:pointer}:host .component tds-icon{color:red !important}:host .component ::slotted(a:focus-visible),:host .component ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:inset 0 0 0 3px var(--tds-white);outline-offset:-2px;z-index:1}:host .component:hover ::slotted(a),:host .component:hover ::slotted(button),:host .component:hover ::slotted(tds-side-menu-user){background-color:var(--tds-sidebar-item-state-hover);position:relative}:host .component:hover ::slotted(a)::before,:host .component:hover ::slotted(button)::before,:host .component:hover ::slotted(tds-side-menu-user)::before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:var(--tds-side-menu-item-hover-indicator)}:host .component:hover ::slotted(a:focus-visible),:host .component:hover ::slotted(button:focus-visible),:host .component:hover ::slotted(tds-side-menu-user:focus-visible){background-color:var(--tds-sidebar-item-state-hover);position:relative}:host .component:hover ::slotted(a:focus-visible)::before,:host .component:hover ::slotted(button:focus-visible)::before,:host .component:hover ::slotted(tds-side-menu-user:focus-visible)::before{content:"";position:absolute;top:3px;left:3px;width:4px;height:calc(100% - 6px);background-color:var(--tds-side-menu-item-hover-indicator)}:host .component:active ::slotted(a),:host .component:active ::slotted(button),:host .component:active ::slotted(tds-side-menu-user){background-color:var(--tds-sidemenu-item-state-active);position:relative}:host .component:active ::slotted(a)::before,:host .component:active ::slotted(button)::before,:host .component:active ::slotted(tds-side-menu-user)::before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:var(--tds-side-menu-item-pressed-indicator)}:host .component:active ::slotted(a:focus-visible),:host .component:active ::slotted(button:focus-visible),:host .component:active ::slotted(tds-side-menu-user:focus-visible){background-color:var(--tds-sidemenu-item-state-active);position:relative}:host .component:active ::slotted(a:focus-visible)::before,:host .component:active ::slotted(button:focus-visible)::before,:host .component:active ::slotted(tds-side-menu-user:focus-visible)::before{content:"";position:absolute;top:3px;left:3px;width:4px;height:calc(100% - 6px);background-color:var(--tds-side-menu-item-pressed-indicator)}:host .component-collapsed ::slotted(a),:host .component-collapsed ::slotted(button){padding:0;display:flex;justify-content:center;align-items:center;position:relative}:host .component-selected:not(:host .component-active) ::slotted(a),:host .component-selected:not(:host .component-active) ::slotted(button),:host .component-selected:not(:host .component-active) ::slotted(tds-side-menu-user){background-color:var(--tds-sidebar-item-state-selected);position:relative}:host .component-selected:not(:host .component-active) ::slotted(a)::before,:host .component-selected:not(:host .component-active) ::slotted(button)::before,:host .component-selected:not(:host .component-active) ::slotted(tds-side-menu-user)::before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:var(--tds-sidebar-side-menu-single-subitem-selected-border-color)}:host .component-selected:not(:host .component-active) ::slotted(a:focus-visible),:host .component-selected:not(:host .component-active) ::slotted(button:focus-visible),:host .component-selected:not(:host .component-active) ::slotted(tds-side-menu-user:focus-visible){background-color:var(--tds-sidebar-item-state-selected);position:relative}:host .component-selected:not(:host .component-active) ::slotted(a:focus-visible)::before,:host .component-selected:not(:host .component-active) ::slotted(button:focus-visible)::before,:host .component-selected:not(:host .component-active) ::slotted(tds-side-menu-user:focus-visible)::before{content:"";position:absolute;top:3px;left:3px;width:4px;height:calc(100% - 6px);background-color:var(--tds-sidebar-side-menu-single-subitem-selected-border-color)}@media (min-width: 992px){:host .component.component-collapsed ::slotted(a),:host .component.component-collapsed ::slotted(button){color:rgba(90, 90, 90, 0);overflow:hidden}}';export{i as tds_side_menu_item}
1
+ import{r as t,h as e,H as o,a as s}from"./p-BBBKPH5r.js";import{d as n}from"./p-CLF3diNe.js";const i=class{constructor(e){t(this,e),this.selected=!1,this.active=!1,this.collapsed=!1,this.hasUserComponent=!1}findSlottedAndExecute(t,e){var o;const s=null===(o=this.slotEl)||void 0===o?void 0:o.assignedElements({flatten:!0});if(!(null==s?void 0:s.length))return;const i=s[0];if(i){const o=n(i,t);o&&e(o)}}updateSlottedElements(){this.slotEl&&this.findSlottedAndExecute((t=>"tds-icon"===t.tagName.toLowerCase()||"svg"===t.tagName.toLowerCase()),(t=>{t.classList.add("__tds-side-menu-item-icon"),this.collapsed?t.classList.add("__tds-side-menu-item-icon-collapsed"):t.classList.remove("__tds-side-menu-item-icon-collapsed")}))}updateHasUserComponent(){if(this.slotEl){const t=t=>"tds-side-menu-user"===t.tagName.toLowerCase();this.hasUserComponent=!1,this.findSlottedAndExecute(t,(()=>{this.hasUserComponent=!0}))}}connectedCallback(){var t;this.sideMenuEl=this.host.closest("tds-side-menu"),this.collapsed=!!(null===(t=this.sideMenuEl)||void 0===t?void 0:t.collapsed)}componentDidLoad(){var t,e;this.slotEl=null!==(e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("slot"))&&void 0!==e?e:null,this.updateSlottedElements(),this.updateHasUserComponent(),this.slotEl&&this.slotEl.addEventListener("slotchange",(()=>{this.updateSlottedElements(),this.updateHasUserComponent()}))}collapseSideMenuEventHandler(t){this.collapsed=t.detail.collapsed,this.updateSlottedElements(),this.updateHasUserComponent()}render(){return e(o,{key:"8c8308b82ed3a2f9161c155310d30746a873b797"},e("div",{key:"1ee193c4e152bd02a7fd38c3bc173cfcab074e60",class:{component:!0,"component-selected":this.selected,"component-active":this.active,"component-collapsed":this.collapsed,"component-has-user":this.hasUserComponent}},e("slot",{key:"4abf87af30fb22e159a2874b499b756097ff821f"})))}get host(){return s(this)}};i.style=':host{display:block}:host .component ::slotted(a),:host .component ::slotted(button){all:unset;box-sizing:border-box;height:68px;width:100%;display:flex;align-items:center;gap:10px;padding:0 22px;border:none;background-color:var(--tds-sidebar-side-menu-background-cover);font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-sidebar-side-menu-single-item-color);cursor:pointer}:host .component ::slotted(tds-side-menu-user),:host .component-has-user ::slotted(button){all:unset;box-sizing:border-box;height:68px;width:100%;display:flex;align-items:center;gap:16px;padding:0 22px 0 16px;border:none;background-color:var(--tds-sidebar-side-menu-background-cover);font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-sidebar-side-menu-single-item-color);cursor:pointer}:host .component tds-icon{color:red !important}:host .component ::slotted(a:focus-visible),:host .component ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:inset 0 0 0 3px var(--tds-white);outline-offset:-2px;z-index:1}:host .component:hover ::slotted(a),:host .component:hover ::slotted(button),:host .component:hover ::slotted(tds-side-menu-user){background-color:var(--tds-sidebar-item-state-hover);position:relative}:host .component:hover ::slotted(a)::before,:host .component:hover ::slotted(button)::before,:host .component:hover ::slotted(tds-side-menu-user)::before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:var(--tds-side-menu-item-hover-indicator)}:host .component:hover ::slotted(a:focus-visible),:host .component:hover ::slotted(button:focus-visible),:host .component:hover ::slotted(tds-side-menu-user:focus-visible){background-color:var(--tds-sidebar-item-state-hover);position:relative}:host .component:hover ::slotted(a:focus-visible)::before,:host .component:hover ::slotted(button:focus-visible)::before,:host .component:hover ::slotted(tds-side-menu-user:focus-visible)::before{content:"";position:absolute;top:3px;left:3px;width:4px;height:calc(100% - 6px);background-color:var(--tds-side-menu-item-hover-indicator)}:host .component:active ::slotted(a),:host .component:active ::slotted(button),:host .component:active ::slotted(tds-side-menu-user){background-color:var(--tds-sidemenu-item-state-active);position:relative}:host .component:active ::slotted(a)::before,:host .component:active ::slotted(button)::before,:host .component:active ::slotted(tds-side-menu-user)::before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:var(--tds-side-menu-item-pressed-indicator)}:host .component:active ::slotted(a:focus-visible),:host .component:active ::slotted(button:focus-visible),:host .component:active ::slotted(tds-side-menu-user:focus-visible){background-color:var(--tds-sidemenu-item-state-active);position:relative}:host .component:active ::slotted(a:focus-visible)::before,:host .component:active ::slotted(button:focus-visible)::before,:host .component:active ::slotted(tds-side-menu-user:focus-visible)::before{content:"";position:absolute;top:3px;left:3px;width:4px;height:calc(100% - 6px);background-color:var(--tds-side-menu-item-pressed-indicator)}:host .component-collapsed ::slotted(a),:host .component-collapsed ::slotted(button){padding:0;display:flex;justify-content:center;align-items:center;position:relative}:host .component-selected:not(:host .component-active) ::slotted(a),:host .component-selected:not(:host .component-active) ::slotted(button),:host .component-selected:not(:host .component-active) ::slotted(tds-side-menu-user){background-color:var(--tds-sidebar-item-state-selected);position:relative}:host .component-selected:not(:host .component-active) ::slotted(a)::before,:host .component-selected:not(:host .component-active) ::slotted(button)::before,:host .component-selected:not(:host .component-active) ::slotted(tds-side-menu-user)::before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:var(--tds-sidebar-side-menu-single-subitem-selected-border-color)}:host .component-selected:not(:host .component-active) ::slotted(a:focus-visible),:host .component-selected:not(:host .component-active) ::slotted(button:focus-visible),:host .component-selected:not(:host .component-active) ::slotted(tds-side-menu-user:focus-visible){background-color:var(--tds-sidebar-item-state-selected);position:relative}:host .component-selected:not(:host .component-active) ::slotted(a:focus-visible)::before,:host .component-selected:not(:host .component-active) ::slotted(button:focus-visible)::before,:host .component-selected:not(:host .component-active) ::slotted(tds-side-menu-user:focus-visible)::before{content:"";position:absolute;top:3px;left:3px;width:4px;height:calc(100% - 6px);background-color:var(--tds-sidebar-side-menu-single-subitem-selected-border-color)}@media (min-width: 992px){:host .component.component-collapsed ::slotted(a),:host .component.component-collapsed ::slotted(button){color:rgba(90, 90, 90, 0);overflow:hidden}}';export{i as tds_side_menu_item}
@@ -1 +1 @@
1
- import{r as t,h as s,H as e,a as i}from"./p-9xxNGlso.js";const d=["verticalDividers","compactDesign","noMinWidth"],o=class{constructor(s){t(this,s),this.disablePadding=!1,this.textAlignState=void 0,this.activeSorting=!1,this.verticalDividers=!1,this.compactDesign=!1,this.noMinWidth=!1,this.tableId=""}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>d.includes(t))).forEach((s=>{if(void 0===this[s])throw new Error(`Table prop is not supported: ${s}`);this[s]=t.detail[s]}))}internalTdsHoverListener(t){const{tableId:s,key:e}=t.detail;s===this.tableId&&(this.activeSorting=this.cellKey===e)}internalTdsTextAlignListener(t){const[s,e,i]=t.detail;this.tableId===s&&this.cellKey===e&&(this.textAlignState=this.textAlign?this.textAlign:["left","start","right","end","center"].includes(i)?i:"left")}connectedCallback(){var t;this.tableEl=this.host.closest("tds-table"),this.tableId=null===(t=this.tableEl)||void 0===t?void 0:t.tableId}componentWillLoad(){this.tableEl&&d.forEach((t=>{var s;this[t]=null===(s=this.tableEl)||void 0===s?void 0:s[t]})),this.textAlign&&(this.textAlignState=this.textAlign)}render(){let t="var(--tds-spacing-element-16)";return this.disablePadding?t="0":this.compactDesign&&(t="var(--tds-spacing-element-8) var(--tds-spacing-element-16)"),s(e,{key:"8344d3c796f2f56305924347e161d08039ae9c72",class:{"tds-table__body-cell":!0,"tds-table__body-cell--hover":this.activeSorting,"tds-table__compact":this.compactDesign,"tds-table--divider":this.verticalDividers,"tds-table--no-min-width":this.noMinWidth}},s("td",{key:"330bec9031af90243469ab548b638a4be86dd40d",style:{textAlign:this.textAlignState,padding:t},colSpan:this.colSpan,rowSpan:this.rowSpan},this.cellValue,s("slot",{key:"0af9c581a3cf0db8c94cd68cd9e500ba51fe2501"})))}get host(){return i(this)}};o.style=":host{display:contents}:host(.tds-table__body-cell) td{box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);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}:host(.tds-table__body-cell) td *{box-sizing:border-box}:host(.tds-table__body-cell--hover) td{background-color:var(--tds-table-body-cell-background-hover)}:host(.tds-table__compact) td{padding:var(--tds-spacing-element-8) var(--tds-spacing-element-16)}:host(.tds-table--divider) td{border-right:1px solid var(--tds-table-divider)}:host(.tds-table--divider:last-of-type) td{border-right:none}:host(.tds-table--no-min-width) td{min-width:unset}";export{o as tds_body_cell}
1
+ import{r as t,h as s,H as e,a as i}from"./p-BBBKPH5r.js";const d=["verticalDividers","compactDesign","noMinWidth"],o=class{constructor(s){t(this,s),this.disablePadding=!1,this.textAlignState=void 0,this.activeSorting=!1,this.verticalDividers=!1,this.compactDesign=!1,this.noMinWidth=!1,this.tableId=""}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>d.includes(t))).forEach((s=>{if(void 0===this[s])throw new Error(`Table prop is not supported: ${s}`);this[s]=t.detail[s]}))}internalTdsHoverListener(t){const{tableId:s,key:e}=t.detail;s===this.tableId&&(this.activeSorting=this.cellKey===e)}internalTdsTextAlignListener(t){const[s,e,i]=t.detail;this.tableId===s&&this.cellKey===e&&(this.textAlignState=this.textAlign?this.textAlign:["left","start","right","end","center"].includes(i)?i:"left")}connectedCallback(){var t;this.tableEl=this.host.closest("tds-table"),this.tableId=null===(t=this.tableEl)||void 0===t?void 0:t.tableId}componentWillLoad(){this.tableEl&&d.forEach((t=>{var s;this[t]=null===(s=this.tableEl)||void 0===s?void 0:s[t]})),this.textAlign&&(this.textAlignState=this.textAlign)}render(){let t="var(--tds-spacing-element-16)";return this.disablePadding?t="0":this.compactDesign&&(t="var(--tds-spacing-element-8) var(--tds-spacing-element-16)"),s(e,{key:"1b2e629f6e69dc781b31a858762a310cde81283a",class:{"tds-table__body-cell":!0,"tds-table__body-cell--hover":this.activeSorting,"tds-table__compact":this.compactDesign,"tds-table--divider":this.verticalDividers,"tds-table--no-min-width":this.noMinWidth}},s("td",{key:"809dfc0ebb81dfb243bdfad230263d5c899baaee",style:{textAlign:this.textAlignState,padding:t},colSpan:this.colSpan,rowSpan:this.rowSpan},this.cellValue,s("slot",{key:"1e2286ec6f5d982d3e2dc0ec82451689b585c360"})))}get host(){return i(this)}};o.style=":host{display:contents}:host(.tds-table__body-cell) td{box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);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}:host(.tds-table__body-cell) td *{box-sizing:border-box}:host(.tds-table__body-cell--hover) td{background-color:var(--tds-table-body-cell-background-hover)}:host(.tds-table__compact) td{padding:var(--tds-spacing-element-8) var(--tds-spacing-element-16)}:host(.tds-table--divider) td{border-right:1px solid var(--tds-table-divider)}:host(.tds-table--divider:last-of-type) td{border-right:none}:host(.tds-table--no-min-width) td{min-width:unset}";export{o as tds_body_cell}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as s,H as a,a as o}from"./p-BBBKPH5r.js";const i=["compactDesign","horizontalScrollWidth","multiselect","expandableRows"];function l(t){t.target.classList.remove("tds-table__page-selector-input--shake")}const d=class{constructor(s){t(this,s),this.tdsPagination=e(this,"tdsPagination",7),this.pagination=!1,this.paginationValue=1,this.rowsperpage=!0,this.rowsPerPageValues=[10,25,50],this.rowsPerPageDropdownOpenDirection="auto",this.pages=0,this.cols=null,this.columnsNumber=0,this.compactDesign=!1,this.multiselect=!1,this.expandableRows=!1,this.lastCorrectValue=1,this.tableId="",this.horizontalScrollWidth=null,this.rowsPerPageValue=this.rowsPerPageValues[0],this.emitTdsPagination=()=>{this.tdsPagination.emit(this.rowsperpage?{tableId:this.tableId,paginationValue:Number(this.paginationValue),rowsPerPage:this.rowsPerPageValue}:{tableId:this.tableId,paginationValue:Number(this.paginationValue)})},this.previousPage=()=>{this.paginationValue>=2&&this.paginationValue--,this.emitTdsPagination(),this.storeLastCorrectValue(this.paginationValue)},this.nextPage=()=>{this.pages&&this.paginationValue<=this.pages&&this.paginationValue++,this.emitTdsPagination(),this.storeLastCorrectValue(this.paginationValue)},this.lastPage=()=>{this.paginationValue=this.pages,this.emitTdsPagination(),this.storeLastCorrectValue(this.paginationValue)},this.firstPage=()=>{this.paginationValue=1,this.emitTdsPagination(),this.storeLastCorrectValue(this.paginationValue)}}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>i.includes(t))).forEach((e=>{if(void 0===this[e])throw new Error(`Table prop is not supported: ${e}`);this[e]=t.detail[e]}))}colsChanged(t){null!==t?this.columnsNumber=t:this.updateColumnsNumber()}updateColumnsNumber(){var t,e,s;if(this.cols)return;let a=null!==(s=null===(e=null===(t=this.host.parentElement)||void 0===t?void 0:t.querySelector("tds-table-header"))||void 0===e?void 0:e.childElementCount)&&void 0!==s?s:0;this.multiselect&&(a+=1),this.expandableRows&&(a+=1),this.columnsNumber=a}connectedCallback(){var t;this.tableEl=this.host.closest("tds-table"),this.tableId=null===(t=this.tableEl)||void 0===t?void 0:t.tableId}componentWillLoad(){var t,e,s;i.forEach((t=>{var e;this[t]=null===(e=this.tableEl)||void 0===e?void 0:e[t]})),this.storeLastCorrectValue(this.paginationValue);const a=null!==(s=null===(e=null===(t=this.host.parentElement)||void 0===t?void 0:t.querySelector("tds-table-header"))||void 0===e?void 0:e.childElementCount)&&void 0!==s?s:0;if(this.cols)this.columnsNumber=this.cols;else{let t=a;this.multiselect&&(t+=1),this.expandableRows&&(t+=1),this.columnsNumber=t}}storeLastCorrectValue(t){this.lastCorrectValue=t}paginationInputChange(t){const e=Number(t.target.value);e>t.target.max||e<t.target.min?(t.target.classList.add("tds-table__page-selector-input--shake"),this.inputElement.value=String(this.lastCorrectValue),this.paginationValue=Number(this.inputElement.value)):this.paginationValue=e,this.emitTdsPagination(),this.storeLastCorrectValue(this.paginationValue)}rowsPerPageChange(t){this.rowsPerPageValue=parseInt(t.detail.value),this.paginationValue>this.pages&&(this.paginationValue=this.pages),this.emitTdsPagination()}getStyles(){const t={};return this.horizontalScrollWidth&&(t.width=`${this.horizontalScrollWidth}px`),t}render(){var t;return s(a,{key:"b9b2a655adbdac509705cf06f8b2cdc0e3b9a0ae",class:{"tds-table--compact":this.compactDesign,"footer__horizontal-scroll":!!this.horizontalScrollWidth},style:this.getStyles()},s("tr",{key:"d6f7af8c3ad70cdae194eb633313f815b8cc400a",class:"tds-table__footer-row"},s("td",{key:"1e5bd029e2cb154e8c4eb61a566311166b4b135f",class:"tds-table__footer-cell",colSpan:this.columnsNumber},this.pagination&&s("div",{key:"60abf7e8650298f0ec56bc48fc72488c3786e674",class:"tds-table__pagination"},s("div",{key:"aa3d9e8d9124efd479811b1e9c5e26437f798c54",class:"tds-table__row-selector"},this.rowsperpage&&(null===(t=this.rowsPerPageValues)||void 0===t?void 0:t.length)>0&&s("div",{key:"1f6ed9da5ca83748e507ce0f5193abaf5e36c213",class:"rows-per-page"},s("p",{key:"8319a28772407a09752e5aa0646db4f83f2ce926"},"Rows per page"),s("tds-dropdown",{key:"cc7596459725ebd14500179a5e15f80404df41e0",modeVariant:"secondary",id:"rows-dropdown",class:"page-dropdown",size:"xs",defaultValue:`${this.rowsPerPageValues[0]}`,onTdsChange:t=>this.rowsPerPageChange(t),openDirection:this.rowsPerPageDropdownOpenDirection},this.rowsPerPageValues.map((t=>s("tds-dropdown-option",{value:`${t}`},t)))))),s("div",{key:"3b7d98daceb0b48ceda16618914033c69eca0e10",class:"tds-table__page-selector"},s("input",{key:"d050a2fdf9c4cb49447ab84eaa5b4da60339ff53",ref:t=>{t&&(this.inputElement=t)},class:"tds-table__page-selector-input",type:"number",min:"1",max:this.pages,value:this.paginationValue,pattern:"[0-9]+",dir:"ltr",onChange:t=>this.paginationInputChange(t),onAnimationEnd:l}),s("p",{key:"fa177ca38fd59d80de9f75eb64e27d516b99bf18",class:"tds-table__footer-text"},"of ",s("span",{key:"e15b05026a1ae3e0b5f01e6f3604cf2d88ed0cbb"},this.pages)," pages"),s("button",{key:"12b29edbd391eb68dea8bc7439f4cc154f81ed47",type:"button",class:"tds-table__footer-btn",disabled:this.paginationValue<=1,onClick:()=>this.firstPage()},s("tds-icon",{key:"b365b40363e6036e0e7500d121e8af86ea7f9097",name:"skip_backwards",size:"20px"})),s("button",{key:"6458ce6240499c1d801506756c6bdda25893bea3",type:"button",class:"tds-table__footer-btn",disabled:this.paginationValue<=1,onClick:()=>this.previousPage()},s("tds-icon",{key:"9a0f4b8696d5437758a9b255b9e5abb4db40e9f1",name:"chevron_left",size:"20px"})),s("button",{key:"9672939723a0359217578ddd9055d2c269b201ec",type:"button",class:"tds-table__footer-btn",disabled:this.paginationValue>=this.pages,onClick:()=>this.nextPage()},s("tds-icon",{key:"f84e8a062daebddafef3f58e17015df1a741eca0",name:"chevron_right",size:"20px"})),s("button",{key:"9d00d09e9bf6b59664faa828ec85e3a43b3b17e2",type:"button",class:"tds-table__footer-btn",disabled:this.paginationValue>=this.pages,onClick:()=>this.lastPage()},s("tds-icon",{key:"815192910a462e07046048d84bbddb5cf2f850ba",name:"skip_forward",size:"20px"})))))))}get host(){return o(this)}static get watchers(){return{cols:[{colsChanged:0}],multiselect:[{updateColumnsNumber:0}],expandableRows:[{updateColumnsNumber:0}]}}};d.style=":host{box-sizing:border-box;display:table-footer-group;height:var(--tds-spacing-element-48)}: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 var(--tds-spacing-element-16)}:host .tds-table__footer-cell .tds-table__pagination{height:var(--tds-spacing-element-48);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__row-selector .rows-per-page,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page{display:flex;align-items:center;margin-right:var(--tds-spacing-element-16)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page p,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page p{margin-right:var(--tds-spacing-element-8)}: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:74px;height:30px;border:none;border-radius:var(--tds-spacing-element-4);transition:background-color 250ms ease;margin-right:var(--tds-spacing-element-4);padding-left:var(--tds-spacing-element-16)}: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:var(--tds-spacing-element-32);width:var(--tds-spacing-element-32);border-radius:var(--tds-spacing-element-4);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:var(--tds-spacing-element-20);width:var(--tds-spacing-element-20);fill:var(--tds-table-color)}:host(.tds-table--compact){height:var(--tds-spacing-element-32)}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination{height:var(--tds-spacing-element-32)}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{height:var(--tds-spacing-element-24)}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{height:28px;width:28px}:host(.footer__horizontal-scroll){display:inline-table;position:absolute;margin-top:10px}@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)}}";export{d as tds_table_footer}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,H as o,a as e}from"./p-BBBKPH5r.js";const h=class{constructor(i){t(this,i),this.tdsChange=s(this,"tdsChange",7),this.modeVariant="primary",this.defaultSelectedIndex=0,this.leftPadding=32,this.tdsScrollLeftAriaLabel="Scroll left",this.tdsScrollRightAriaLabel="Scroll right",this.showLeftScroll=!1,this.showRightScroll=!1,this.navWrapperElement=null,this.componentWidth=0,this.buttonsWidth=0,this.scrollableWidth=0,this.tabElements=[],this.clickHandlers=new WeakMap,this.addResizeObserver=()=>{if("undefined"==typeof ResizeObserver)return;const t=new ResizeObserver((t=>{t.forEach((t=>{const s=t.contentRect.width;let i=0;Array.from(this.host.children).forEach((t=>{const s=window.getComputedStyle(t);i+=t.clientWidth+parseFloat(s.marginLeft)+parseFloat(s.marginRight)})),this.componentWidth=s,this.buttonsWidth=i,this.scrollableWidth=i-s,this.updateScrollButtons()}))}));this.navWrapperElement&&t.observe(this.navWrapperElement)},this.addEventListenerToTabs=()=>{this.tabElements=Array.from(this.host.children),this.tabElements.map(((t,s)=>{const i=()=>{t.disabled||this.tdsChange.emit({selectedTabIndex:this.tabElements.indexOf(t)}).defaultPrevented||(this.tabElements.forEach((t=>t.setSelected(!1))),t.setSelected(!0),this.selectedIndex=s)};return t.addEventListener("click",i),this.clickHandlers.set(t,i),t}))},this.removeEventListenerFromTabs=()=>{this.tabElements.forEach((t=>{const s=this.clickHandlers.get(t);s&&(t.removeEventListener("click",s),this.clickHandlers.delete(t))}))}}async selectTab(t){return this.tabElements[t].disabled||(this.tabElements.forEach((t=>t.setSelected(!1))),this.tabElements=this.tabElements.map(((s,i)=>(i===t&&(s.setSelected(!0),this.selectedIndex=t),s)))),{selectedTabIndex:this.selectedIndex}}async reinitialize(){this.handleSlotChange()}handleSelectedIndexUpdate(){this.tabElements=Array.from(this.host.children).map((t=>(t.setSelected(!1),t))),this.selectedIndex&&this.tabElements[this.selectedIndex].setSelected(!0)}scrollRight(){this.navWrapperElement&&(this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft+this.buttonsWidth,this.evaluateScrollButtons())}scrollLeft(){this.navWrapperElement&&(this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft-this.buttonsWidth,this.evaluateScrollButtons())}evaluateScrollButtons(){if(!this.navWrapperElement)return;const t=this.navWrapperElement.scrollLeft;this.showRightScroll=t<=this.scrollableWidth,this.showLeftScroll=t>0}initializeTabs(){this.tabElements=Array.from(this.host.children),this.tabElements.forEach((t=>{t.classList.remove("last"),t.classList.remove("first")})),this.tabElements.length>0&&(this.tabElements[0].classList.add("first"),this.tabElements[this.tabElements.length-1].classList.add("last"))}initializeSelectedTab(){void 0===this.selectedIndex?(this.addEventListenerToTabs(),this.tabElements[this.defaultSelectedIndex].setSelected(!0),this.selectedIndex=this.defaultSelectedIndex):this.tabElements[this.selectedIndex].setSelected(!0),this.tdsChange.emit({selectedTabIndex:this.selectedIndex})}updateScrollButtons(){this.buttonsWidth>this.componentWidth?this.evaluateScrollButtons():(this.showLeftScroll=!1,this.showRightScroll=!1)}applyCustomLeftPadding(){this.navWrapperElement&&(this.navWrapperElement.style.paddingLeft=`${this.leftPadding}px`)}handleSlotChange(){this.initializeTabs(),this.addEventListenerToTabs(),this.initializeSelectedTab(),this.updateScrollButtons(),this.addResizeObserver(),this.applyCustomLeftPadding()}connectedCallback(){this.initializeTabs()}componentDidLoad(){this.initializeSelectedTab()}componentDidRender(){this.updateScrollButtons(),this.addResizeObserver()}disconnectedCallback(){this.removeEventListenerFromTabs()}render(){return i(o,{key:"0817601e2f5ca452bef28d7ffdeabf00ba49518b",role:"tablist",class:{[`tds-mode-variant-${this.modeVariant}`]:null!==this.modeVariant}},i("div",{key:"9a0c29efcbd7120760a0eb0946343d4aceb963ec",class:"wrapper",ref:t=>{this.navWrapperElement=t},style:{paddingLeft:`${this.leftPadding}px`}},i("button",{key:"2283540cb7864e70445dd3303a9e617cabd5c1a3","aria-label":this.tdsScrollLeftAriaLabel,class:{"scroll-left-button":!0,show:this.showLeftScroll},onClick:()=>this.scrollLeft(),disabled:!this.showLeftScroll},i("tds-icon",{key:"4de2e1da1fd959ae3ffe5f93298574b3a161f75d",name:"chevron_left",size:"20px"})),i("slot",{key:"cb72d39a1d8f8e0289244cd023311e211ec148e5",onSlotchange:()=>this.handleSlotChange()}),i("button",{key:"52e0ea24de069a6020e7902ea7222b6f52dc9895","aria-label":this.tdsScrollRightAriaLabel,class:{"scroll-right-button":!0,show:this.showRightScroll},onClick:()=>this.scrollRight(),disabled:!this.showRightScroll},i("tds-icon",{key:"4a4a3a5234d74decb2106f902365b39c20977066",name:"chevron_right",size:"20px"}))))}get host(){return e(this)}static get watchers(){return{selectedIndex:[{handleSelectedIndexUpdate:0}]}}};h.style=':host{box-sizing:border-box;display:flex;background-color:var(--tds-navigation-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:" ";display:block;border-bottom:1px solid var(--tds-navigation-tabs-horizontal-divider-background);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none;gap:16px}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:1}:host .scroll-left-button{left:0;z-index:1}:host .scroll-right-button,:host .scroll-left-button{color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-inline-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus::before,:host .scroll-left-button:focus::before{content:"";position:absolute;left:3px;right:3px;top:3px;bottom:3px;outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:0}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}';export{h as tds_navigation_tabs}
@@ -0,0 +1 @@
1
+ import{r as a,h as r,H as t,a as o}from"./p-BBBKPH5r.js";import{h as s}from"./p-DDX6uFcm.js";const c=class{constructor(r){a(this,r),this.size="lg",this.variant="Neutral"}render(){const a=s("prefix",this.host);return r(t,{key:"8a514622cb84f2315dea806ffb922e254b0b91ba",class:(()=>({[`${this.size.toLowerCase()}`]:!0,[this.variant.toLowerCase()]:!0}))()},r("div",{key:"bb73048a5c82e216eeb71ab1cf9c4dc692032fea",class:"tds-tag__content"},a&&r("slot",{key:"e0fa00414957f3d226f61702d558f64fae6d4e4c",name:"prefix"}),r("span",{key:"2b67dbbc318d329f37a4a8fa98b23eb57dc7bd63"},this.text)))}get host(){return o(this)}};c.style=".sc-tds-tag-h{box-sizing:border-box;display:inline-flex;align-items:center;border-radius:4px;background-color:var(--tds-tag-neutral-background);color:var(--tds-tag-neutral-color);gap:4px}.sc-tds-tag-h *.sc-tds-tag{box-sizing:border-box}.lg.sc-tds-tag-h{padding:4px}.sm.sc-tds-tag-h{border-radius:2px;padding:2px 4px;font:var(--tds-detail-05)}.success.sc-tds-tag-h{background-color:var(--tds-tag-success-background);color:var(--tds-tag-success-color)}.warning.sc-tds-tag-h{background-color:var(--tds-tag-warning-background);color:var(--tds-tag-warning-color)}.new.sc-tds-tag-h{background-color:var(--tds-tag-new-background);color:var(--tds-tag-new-color)}.neutral.sc-tds-tag-h{background-color:var(--tds-tag-neutral-background);color:var(--tds-tag-neutral-color)}.information.sc-tds-tag-h{background-color:var(--tds-tag-information-background);color:var(--tds-tag-information-color)}.error.sc-tds-tag-h{background-color:var(--tds-tag-error-background);color:var(--tds-tag-error-color)}.tds-tag__content.sc-tds-tag{display:flex;align-items:center;gap:inherit}";export{c as tds_tag}
@@ -1 +1 @@
1
- import{r as t,c as e,h as n,H as i,a as r}from"./p-9xxNGlso.js";import{g as o}from"./p-Cn4f8w1e.js";var s="top",a="bottom",u="right",f="left",c="auto",d=[s,a,u,f],l="start",h="end",v="viewport",p="popper",b=d.reduce((function(t,e){return t.concat([e+"-"+l,e+"-"+h])}),[]),m=[].concat(d,[c]).reduce((function(t,e){return t.concat([e,e+"-"+l,e+"-"+h])}),[]),y=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function g(t){return t?(t.nodeName||"").toLowerCase():null}function w(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function x(t){return t instanceof w(t).Element||t instanceof Element}function O(t){return t instanceof w(t).HTMLElement||t instanceof HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof w(t).ShadowRoot||t instanceof ShadowRoot)}function k(t){return t.split("-")[0]}var E=Math.max,C=Math.min,S=Math.round;function M(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function T(){return!/^((?!chrome|android).)*safari/i.test(M())}function P(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),r=1,o=1;e&&O(t)&&(r=t.offsetWidth>0&&S(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&S(i.height)/t.offsetHeight||1);var s=(x(t)?w(t):window).visualViewport,a=!T()&&n,u=(i.left+(a&&s?s.offsetLeft:0))/r,f=(i.top+(a&&s?s.offsetTop:0))/o,c=i.width/r,d=i.height/o;return{width:c,height:d,top:f,right:u+c,bottom:f+d,left:u,x:u,y:f}}function R(t){var e=P(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function A(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&j(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function q(t){return w(t).getComputedStyle(t)}function B(t){return["table","td","th"].indexOf(g(t))>=0}function W(t){return((x(t)?t.ownerDocument:t.document)||window.document).documentElement}function I(t){return"html"===g(t)?t:t.assignedSlot||t.parentNode||(j(t)?t.host:null)||W(t)}function L(t){return O(t)&&"fixed"!==q(t).position?t.offsetParent:null}function H(t){for(var e=w(t),n=L(t);n&&B(n)&&"static"===q(n).position;)n=L(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===q(n).position)?e:n||function(t){var e=/firefox/i.test(M());if(/Trident/i.test(M())&&O(t)&&"fixed"===q(t).position)return null;var n=I(t);for(j(n)&&(n=n.host);O(n)&&["html","body"].indexOf(g(n))<0;){var i=q(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function z(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function D(t,e,n){return E(t,C(e,n))}function _(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function F(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function U(t){return t.split("-")[1]}var V={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,c=t.offsets,d=t.position,l=t.gpuAcceleration,v=t.adaptive,p=t.roundOffsets,b=t.isFixed,m=c.x,y=void 0===m?0:m,g=c.y,x=void 0===g?0:g,O="function"==typeof p?p({x:y,y:x}):{x:y,y:x};y=O.x,x=O.y;var j=c.hasOwnProperty("x"),k=c.hasOwnProperty("y"),E=f,C=s,M=window;if(v){var T=H(n),P="clientHeight",R="clientWidth";T===w(n)&&"static"!==q(T=W(n)).position&&"absolute"===d&&(P="scrollHeight",R="scrollWidth"),(r===s||(r===f||r===u)&&o===h)&&(C=a,x-=(b&&T===M&&M.visualViewport?M.visualViewport.height:T[P])-i.height,x*=l?1:-1),r!==f&&(r!==s&&r!==a||o!==h)||(E=u,y-=(b&&T===M&&M.visualViewport?M.visualViewport.width:T[R])-i.width,y*=l?1:-1)}var A,B=Object.assign({position:d},v&&V),I=!0===p?function(t,e){var n=t.y,i=e.devicePixelRatio||1;return{x:S(t.x*i)/i||0,y:S(n*i)/i||0}}({x:y,y:x},w(n)):{x:y,y:x};return y=I.x,x=I.y,Object.assign({},B,l?((A={})[C]=k?"0":"",A[E]=j?"0":"",A.transform=(M.devicePixelRatio||1)<=1?"translate("+y+"px, "+x+"px)":"translate3d("+y+"px, "+x+"px, 0)",A):((e={})[C]=k?x+"px":"",e[E]=j?y+"px":"",e.transform="",e))}var G={passive:!0},K={left:"right",right:"left",bottom:"top",top:"bottom"};function N(t){return t.replace(/left|right|bottom|top/g,(function(t){return K[t]}))}var J={start:"end",end:"start"};function Q(t){return t.replace(/start|end/g,(function(t){return J[t]}))}function X(t){var e=w(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Y(t){return P(W(t)).left+X(t).scrollLeft}function Z(t){var e=q(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function tt(t){return["html","body","#document"].indexOf(g(t))>=0?t.ownerDocument.body:O(t)&&Z(t)?t:tt(I(t))}function et(t,e){var n;void 0===e&&(e=[]);var i=tt(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=w(i),s=r?[o].concat(o.visualViewport||[],Z(i)?i:[]):i,a=e.concat(s);return r?a:a.concat(et(I(s)))}function nt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function it(t,e,n){return e===v?nt(function(t,e){var n=w(t),i=W(t),r=n.visualViewport,o=i.clientWidth,s=i.clientHeight,a=0,u=0;if(r){o=r.width,s=r.height;var f=T();(f||!f&&"fixed"===e)&&(a=r.offsetLeft,u=r.offsetTop)}return{width:o,height:s,x:a+Y(t),y:u}}(t,n)):x(e)?function(t,e){var n=P(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):nt(function(t){var e,n=W(t),i=X(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=E(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=E(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+Y(t),u=-i.scrollTop;return"rtl"===q(r||n).direction&&(a+=E(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:u}}(W(t)))}function rt(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?k(r):null,c=r?U(r):null,d=n.x+n.width/2-i.width/2,v=n.y+n.height/2-i.height/2;switch(o){case s:e={x:d,y:n.y-i.height};break;case a:e={x:d,y:n.y+n.height};break;case u:e={x:n.x+n.width,y:v};break;case f:e={x:n.x-i.width,y:v};break;default:e={x:n.x,y:n.y}}var p=o?z(o):null;if(null!=p){var b="y"===p?"height":"width";switch(c){case l:e[p]=e[p]-(n[b]/2-i[b]/2);break;case h:e[p]=e[p]+(n[b]/2-i[b]/2)}}return e}function ot(t,e){void 0===e&&(e={});var n=e.placement,i=void 0===n?t.placement:n,r=e.strategy,o=void 0===r?t.strategy:r,f=e.boundary,c=void 0===f?"clippingParents":f,l=e.rootBoundary,h=void 0===l?v:l,b=e.elementContext,m=void 0===b?p:b,y=e.altBoundary,w=void 0!==y&&y,j=e.padding,k=void 0===j?0:j,S=_("number"!=typeof k?k:F(k,d)),M=t.rects.popper,T=t.elements[w?m===p?"reference":p:m],R=function(t,e,n,i){var r="clippingParents"===e?function(t){var e=et(I(t)),n=["absolute","fixed"].indexOf(q(t).position)>=0&&O(t)?H(t):t;return x(n)?e.filter((function(t){return x(t)&&A(t,n)&&"body"!==g(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),s=o.reduce((function(e,n){var r=it(t,n,i);return e.top=E(r.top,e.top),e.right=C(r.right,e.right),e.bottom=C(r.bottom,e.bottom),e.left=E(r.left,e.left),e}),it(t,o[0],i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(x(T)?T:T.contextElement||W(t.elements.popper),c,h,o),B=P(t.elements.reference),L=rt({reference:B,element:M,placement:i}),z=nt(Object.assign({},M,L)),D=m===p?z:B,U={top:R.top-D.top+S.top,bottom:D.bottom-R.bottom+S.bottom,left:R.left-D.left+S.left,right:D.right-R.right+S.right},V=t.modifiersData.offset;if(m===p&&V){var $=V[i];Object.keys(U).forEach((function(t){var e=[u,a].indexOf(t)>=0?1:-1,n=[s,a].indexOf(t)>=0?"y":"x";U[t]+=$[n]*e}))}return U}function st(t,e){void 0===e&&(e={});var n=e.boundary,i=e.rootBoundary,r=e.padding,o=e.flipVariations,s=e.allowedAutoPlacements,a=void 0===s?m:s,u=U(e.placement),f=u?o?b:b.filter((function(t){return U(t)===u})):d,c=f.filter((function(t){return a.indexOf(t)>=0}));0===c.length&&(c=f);var l=c.reduce((function(e,o){return e[o]=ot(t,{placement:o,boundary:n,rootBoundary:i,padding:r})[k(o)],e}),{});return Object.keys(l).sort((function(t,e){return l[t]-l[e]}))}var at={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,d=n.altAxis,h=void 0===d||d,v=n.fallbackPlacements,p=n.padding,b=n.boundary,m=n.rootBoundary,y=n.altBoundary,g=n.flipVariations,w=void 0===g||g,x=n.allowedAutoPlacements,O=e.options.placement,j=k(O),E=v||(j!==O&&w?function(t){if(k(t)===c)return[];var e=N(t);return[Q(t),e,Q(e)]}(O):[N(O)]),C=[O].concat(E).reduce((function(t,n){return t.concat(k(n)===c?st(e,{placement:n,boundary:b,rootBoundary:m,padding:p,flipVariations:w,allowedAutoPlacements:x}):n)}),[]),S=e.rects.reference,M=e.rects.popper,T=new Map,P=!0,R=C[0],A=0;A<C.length;A++){var q=C[A],B=k(q),W=U(q)===l,I=[s,a].indexOf(B)>=0,L=I?"width":"height",H=ot(e,{placement:q,boundary:b,rootBoundary:m,altBoundary:y,padding:p}),z=I?W?u:f:W?a:s;S[L]>M[L]&&(z=N(z));var D=N(z),_=[];if(o&&_.push(H[B]<=0),h&&_.push(H[z]<=0,H[D]<=0),_.every((function(t){return t}))){R=q,P=!1;break}T.set(q,_)}if(P)for(var F=function(t){var e=C.find((function(e){var n=T.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return R=e,"break"},V=w?3:1;V>0&&"break"!==F(V);V--);e.placement!==R&&(e.modifiersData[i]._skip=!0,e.placement=R,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ut(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ft(t){return[s,u,a,f].some((function(e){return t[e]>=0}))}function ct(t,e,n){void 0===n&&(n=!1);var i,r,o=O(e),s=O(e)&&function(t){var e=t.getBoundingClientRect(),n=S(e.width)/t.offsetWidth||1,i=S(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),a=W(e),u=P(t,s,n),f={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!n)&&(("body"!==g(e)||Z(a))&&(f=(i=e)!==w(i)&&O(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:X(i)),O(e)?((c=P(e,!0)).x+=e.clientLeft,c.y+=e.clientTop):a&&(c.x=Y(a))),{x:u.left+f.scrollLeft-c.x,y:u.top+f.scrollTop-c.y,width:u.width,height:u.height}}function dt(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}var lt={placement:"bottom",modifiers:[],strategy:"absolute"};function ht(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function vt(t){void 0===t&&(t={});var e=t.defaultModifiers,n=void 0===e?[]:e,i=t.defaultOptions,r=void 0===i?lt:i;return function(t,e,i){void 0===i&&(i=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},lt,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},u=[],f=!1,c={state:a,setOptions:function(i){var o="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:x(t)?et(t):t.contextElement?et(t.contextElement):[],popper:et(e)};var s,f,l=function(t){var e=dt(t);return y.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((s=[].concat(n,a.options.modifiers),f=s.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(f).map((function(t){return f[t]}))));return a.orderedModifiers=l.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.options,n=t.effect;if("function"==typeof n){var i=n({state:a,name:t.name,instance:c,options:void 0===e?{}:e});u.push(i||function(){})}})),c.update()},forceUpdate:function(){if(!f){var t=a.elements,e=t.reference,n=t.popper;if(ht(e,n)){a.rects={reference:ct(e,H(n),"fixed"===a.options.strategy),popper:R(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var r=a.orderedModifiers[i],o=r.fn,s=r.options;"function"==typeof o&&(a=o({state:a,options:void 0===s?{}:s,name:r.name,instance:c})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(t){c.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){d(),f=!0}};if(!ht(t,e))return c;function d(){u.forEach((function(t){return t()})),u=[]}return c.setOptions(i).then((function(t){!f&&i.onFirstUpdate&&i.onFirstUpdate(t)})),c}}var pt=vt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,u=w(e.elements.popper),f=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&f.forEach((function(t){t.addEventListener("scroll",n.update,G)})),a&&u.addEventListener("resize",n.update,G),function(){o&&f.forEach((function(t){t.removeEventListener("scroll",n.update,G)})),a&&u.removeEventListener("resize",n.update,G)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=rt({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,u=void 0===a||a,f={placement:k(e.placement),variation:U(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,$(Object.assign({},f,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,$(Object.assign({},f,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];O(r)&&g(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});O(i)&&g(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.name,i=t.options.offset,r=void 0===i?[0,0]:i,o=m.reduce((function(t,n){return t[n]=function(t,e,n){var i=k(t),r=[f,s].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],c=o[1];return a=a||0,c=(c||0)*r,[f,u].indexOf(i)>=0?{x:c,y:a}:{x:a,y:c}}(n,e.rects,r),t}),{}),a=o[e.placement],c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a.x,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=o}},at,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,c=n.altAxis,d=void 0!==c&&c,h=n.tether,v=void 0===h||h,p=n.tetherOffset,b=void 0===p?0:p,m=ot(e,{boundary:n.boundary,rootBoundary:n.rootBoundary,padding:n.padding,altBoundary:n.altBoundary}),y=k(e.placement),g=U(e.placement),w=!g,x=z(y),O="x"===x?"y":"x",j=e.modifiersData.popperOffsets,S=e.rects.reference,M=e.rects.popper,T="function"==typeof b?b(Object.assign({},e.rects,{placement:e.placement})):b,P="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),A=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,q={x:0,y:0};if(j){if(o){var B,W="y"===x?s:f,I="y"===x?a:u,L="y"===x?"height":"width",_=j[x],F=_+m[W],V=_-m[I],$=v?-M[L]/2:0,G=g===l?S[L]:M[L],K=g===l?-M[L]:-S[L],N=e.elements.arrow,J=v&&N?R(N):{width:0,height:0},Q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[W],Y=Q[I],Z=D(0,S[L],J[L]),tt=w?S[L]/2-$-Z-X-P.mainAxis:G-Z-X-P.mainAxis,et=w?-S[L]/2+$+Z+Y+P.mainAxis:K+Z+Y+P.mainAxis,nt=e.elements.arrow&&H(e.elements.arrow),it=null!=(B=null==A?void 0:A[x])?B:0,rt=_+et-it,st=D(v?C(F,_+tt-it-(nt?"y"===x?nt.clientTop||0:nt.clientLeft||0:0)):F,_,v?E(V,rt):V);j[x]=st,q[x]=st-_}if(d){var at,ut=j[O],ft="y"===O?"height":"width",ct=ut+m["x"===x?s:f],dt=ut-m["x"===x?a:u],lt=-1!==[s,f].indexOf(y),ht=null!=(at=null==A?void 0:A[O])?at:0,vt=lt?ct:ut-S[ft]-M[ft]-ht+P.altAxis,pt=lt?ut+S[ft]+M[ft]-ht-P.altAxis:dt,bt=v&&lt?function(t,e,n){var i=D(t,e,n);return i>n?n:i}(vt,ut,pt):D(v?vt:ct,ut,v?pt:dt);j[O]=bt,q[O]=bt-ut}e.modifiersData[i]=q}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,c=n.modifiersData.popperOffsets,l=k(n.placement),h=z(l),v=[f,u].indexOf(l)>=0?"height":"width";if(o&&c){var p=function(t,e){return _("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:F(t,d))}(r.padding,n),b=R(o),m="y"===h?s:f,y="y"===h?a:u,g=n.rects.reference[v]+n.rects.reference[h]-c[h]-n.rects.popper[v],w=c[h]-n.rects.reference[h],x=H(o),O=x?"y"===h?x.clientHeight||0:x.clientWidth||0:0,j=O/2-b[v]/2+(g/2-w/2),E=D(p[m],j,O-b[v]-p[y]);n.modifiersData[i]=((e={})[h]=E,e.centerOffset=E-j,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&A(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,s=ot(e,{elementContext:"reference"}),a=ot(e,{altBoundary:!0}),u=ut(s,i),f=ut(a,r,o),c=ft(u),d=ft(f);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:f,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});const bt=class{constructor(n){t(this,n),this.internalTdsShow=e(this,"internalTdsShow",4),this.internalTdsClose=e(this,"internalTdsClose",0),this.defaultShow=!1,this.animation="none",this.show=null,this.placement="auto",this.offsetSkidding=0,this.offsetDistance=8,this.modifiers=[],this.trigger="click",this.autoHide=!0,this.renderedShowValue=!1,this.popperInstance=null,this.isShown=!1,this.disableLogic=!1,this.hasShownAtLeastOnce=!1,this.openedByKeyboard=!1,this.uuid=o(),this.setIsShown=t=>{this.isShown="function"==typeof t?t(this.isShown):t,this.isShown?(this.hasShownAtLeastOnce=!0,this.internalTdsShow.emit()):(this.internalTdsClose.emit(),this.openedByKeyboard=!1)},this.onClickTarget=t=>{t.stopPropagation(),this.openedByKeyboard="keydown"===t.type||"Enter"===t.key||" "===t.key,this.setIsShown((t=>!t))},this.handleShow=t=>{t.stopPropagation(),this.openedByKeyboard="focusin"===t.type,this.setIsShown(!0)},this.handleHide=t=>{t.stopPropagation(),this.setIsShown(!1)}}async close(){this.setIsShown(!1)}onAnyClick(t){"click"===this.trigger&&this.isShown&&null===this.show&&!t.composedPath().includes(this.host)&&this.setIsShown(!1)}onTdsShow(t){null===this.show&&t.target.id!==`tds-popover-core-${this.uuid}`&&this.setIsShown(!1)}handleKeydown(t){"Escape"===t.key&&this.isShown&&this.setIsShown(!1)}onShowChange(t){this.setIsShown(t)}onReferenceElChanged(t,e){t!==e&&this.initialize({referenceEl:t,trigger:this.trigger})}onTriggerChanged(t){this.initialize({referenceEl:this.referenceEl,trigger:t})}onIsShownChange(t){t&&this.openedByKeyboard&&setTimeout((()=>{this.focusFirstElement()}),0)}focusFirstElement(){const t=this.host.querySelectorAll('a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])');t.length>0?t[0].focus():(this.host.setAttribute("tabindex","0"),this.host.focus())}initialize({referenceEl:t,trigger:e}){var n,i,r,o,s,a;this.cleanUp(),this.target=void 0!==t?t:this.selector?document.querySelector(this.selector):null,this.popperInstance=this.target?pt(this.target,this.host,{strategy:"fixed",placement:this.placement,modifiers:[{name:"offset",options:{offset:[this.offsetSkidding,this.offsetDistance]}},...this.modifiers]}):null,this.popperInstance||console.error("Could not initialize: reference element not found."),"click"===e&&null===this.show&&(null===(n=this.target)||void 0===n||n.addEventListener("click",this.onClickTarget),null===(i=this.target)||void 0===i||i.addEventListener("keydown",(t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.openedByKeyboard=!0,this.onClickTarget(t))}))),"hover"!==e&&"hover-popover"!==e||(null===(r=this.target)||void 0===r||r.addEventListener("focusin",this.handleShow),null===(o=this.target)||void 0===o||o.addEventListener("focusout",this.handleHide),null===(s=this.target)||void 0===s||s.addEventListener("mouseenter",this.handleShow),null===(a=this.target)||void 0===a||a.addEventListener("mouseleave",this.handleHide),"hover-popover"===e&&(this.host.addEventListener("mouseenter",this.handleShow),this.host.addEventListener("mouseleave",this.handleHide)))}cleanUp(){var t,e,n,i,r,o,s,a,u;null===(t=this.target)||void 0===t||t.removeEventListener("click",this.onClickTarget),null===(e=this.target)||void 0===e||e.removeEventListener("keydown",this.onClickTarget),null===(n=this.target)||void 0===n||n.removeEventListener("focusin",this.handleShow),null===(i=this.target)||void 0===i||i.removeEventListener("focusout",this.handleHide),null===(r=this.target)||void 0===r||r.removeEventListener("mouseenter",this.handleShow),null===(o=this.target)||void 0===o||o.removeEventListener("mouseleave",this.handleHide),null===(s=this.host)||void 0===s||s.removeEventListener("mouseenter",this.handleShow),null===(a=this.host)||void 0===a||a.removeEventListener("mouseleave",this.handleHide),null===(u=this.popperInstance)||void 0===u||u.destroy()}connectedCallback(){if(void 0===this.selector&&void 0===this.referenceEl)return this.disableLogic=!0,void console.warn("TDS-POPOVER-CORE: Popover internal logic disabled. Please provide a `selector` or `referenceEl` prop");this.initialize({referenceEl:this.referenceEl,trigger:this.trigger})}componentWillLoad(){this.setIsShown(!0===this.show||!0===this.defaultShow)}componentDidRender(){var t;!this.isShown||this.renderedShowValue||this.disableLogic||null===(t=this.popperInstance)||void 0===t||t.update(),this.renderedShowValue=this.isShown}disconnectedCallback(){this.cleanUp()}render(){const t=(e={"is-shown":this.isShown&&"none"===this.animation||void 0===this.animation,"is-hidden":!this.isShown&&"none"===this.animation||void 0===this.animation,"initially-hidden":!this.hasShownAtLeastOnce,"tds-animation-enter-fade":this.isShown&&"fade"===this.animation,"tds-animation-exit-fade":!this.isShown&&"fade"===this.animation},Object.keys(e).filter((t=>e[t])).join(" "));var e;return n(i,{key:"24f0a1d31e1dd556cf3552f3c7a6ede8ce35dfc2",role:this.host.getAttribute("role"),class:t,id:`tds-popover-core-${this.uuid}`},n("slot",{key:"3e8df41cea7f8ed636974571bd1d5e8cbd802732"}))}get host(){return r(this)}static get watchers(){return{show:[{onShowChange:0}],referenceEl:[{onReferenceElChanged:0}],trigger:[{onTriggerChanged:0}],isShown:[{onIsShownChange:0}]}}};bt.style=".sc-tds-popover-core-h{pointer-events:none;display:block}.tds-animation-enter-fade.sc-tds-popover-core-h{animation:tds-fade-in var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-enter) forwards}.tds-animation-exit-fade.sc-tds-popover-core-h{animation:tds-fade-out var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-exit) forwards}.is-shown.sc-tds-popover-core-h{opacity:1;pointer-events:auto;visibility:visible}.is-hidden.sc-tds-popover-core-h{opacity:0;pointer-events:none;visibility:hidden}.initially-hidden.sc-tds-popover-core-h{opacity:0;pointer-events:none;visibility:hidden}";export{bt as tds_popover_core}
1
+ import{r as t,c as e,h as n,H as i,a as r}from"./p-BBBKPH5r.js";import{g as o}from"./p-Cn4f8w1e.js";var s="top",a="bottom",u="right",f="left",c="auto",d=[s,a,u,f],l="start",h="end",v="viewport",p="popper",b=d.reduce((function(t,e){return t.concat([e+"-"+l,e+"-"+h])}),[]),m=[].concat(d,[c]).reduce((function(t,e){return t.concat([e,e+"-"+l,e+"-"+h])}),[]),y=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function g(t){return t?(t.nodeName||"").toLowerCase():null}function w(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function x(t){return t instanceof w(t).Element||t instanceof Element}function O(t){return t instanceof w(t).HTMLElement||t instanceof HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof w(t).ShadowRoot||t instanceof ShadowRoot)}function k(t){return t.split("-")[0]}var E=Math.max,C=Math.min,S=Math.round;function M(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function P(){return!/^((?!chrome|android).)*safari/i.test(M())}function T(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),r=1,o=1;e&&O(t)&&(r=t.offsetWidth>0&&S(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&S(i.height)/t.offsetHeight||1);var s=(x(t)?w(t):window).visualViewport,a=!P()&&n,u=(i.left+(a&&s?s.offsetLeft:0))/r,f=(i.top+(a&&s?s.offsetTop:0))/o,c=i.width/r,d=i.height/o;return{width:c,height:d,top:f,right:u+c,bottom:f+d,left:u,x:u,y:f}}function R(t){var e=T(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function B(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&j(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function A(t){return w(t).getComputedStyle(t)}function q(t){return["table","td","th"].indexOf(g(t))>=0}function W(t){return((x(t)?t.ownerDocument:t.document)||window.document).documentElement}function H(t){return"html"===g(t)?t:t.assignedSlot||t.parentNode||(j(t)?t.host:null)||W(t)}function I(t){return O(t)&&"fixed"!==A(t).position?t.offsetParent:null}function L(t){for(var e=w(t),n=I(t);n&&q(n)&&"static"===A(n).position;)n=I(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===A(n).position)?e:n||function(t){var e=/firefox/i.test(M());if(/Trident/i.test(M())&&O(t)&&"fixed"===A(t).position)return null;var n=H(t);for(j(n)&&(n=n.host);O(n)&&["html","body"].indexOf(g(n))<0;){var i=A(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function z(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function D(t,e,n){return E(t,C(e,n))}function _(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function F(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function K(t){return t.split("-")[1]}var U={top:"auto",right:"auto",bottom:"auto",left:"auto"};function V(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,c=t.offsets,d=t.position,l=t.gpuAcceleration,v=t.adaptive,p=t.roundOffsets,b=t.isFixed,m=c.x,y=void 0===m?0:m,g=c.y,x=void 0===g?0:g,O="function"==typeof p?p({x:y,y:x}):{x:y,y:x};y=O.x,x=O.y;var j=c.hasOwnProperty("x"),k=c.hasOwnProperty("y"),E=f,C=s,M=window;if(v){var P=L(n),T="clientHeight",R="clientWidth";P===w(n)&&"static"!==A(P=W(n)).position&&"absolute"===d&&(T="scrollHeight",R="scrollWidth"),(r===s||(r===f||r===u)&&o===h)&&(C=a,x-=(b&&P===M&&M.visualViewport?M.visualViewport.height:P[T])-i.height,x*=l?1:-1),r!==f&&(r!==s&&r!==a||o!==h)||(E=u,y-=(b&&P===M&&M.visualViewport?M.visualViewport.width:P[R])-i.width,y*=l?1:-1)}var B,q=Object.assign({position:d},v&&U),H=!0===p?function(t,e){var n=t.y,i=e.devicePixelRatio||1;return{x:S(t.x*i)/i||0,y:S(n*i)/i||0}}({x:y,y:x},w(n)):{x:y,y:x};return y=H.x,x=H.y,Object.assign({},q,l?((B={})[C]=k?"0":"",B[E]=j?"0":"",B.transform=(M.devicePixelRatio||1)<=1?"translate("+y+"px, "+x+"px)":"translate3d("+y+"px, "+x+"px, 0)",B):((e={})[C]=k?x+"px":"",e[E]=j?y+"px":"",e.transform="",e))}var $={passive:!0},G={left:"right",right:"left",bottom:"top",top:"bottom"};function J(t){return t.replace(/left|right|bottom|top/g,(function(t){return G[t]}))}var N={start:"end",end:"start"};function Q(t){return t.replace(/start|end/g,(function(t){return N[t]}))}function X(t){var e=w(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Y(t){return T(W(t)).left+X(t).scrollLeft}function Z(t){var e=A(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function tt(t){return["html","body","#document"].indexOf(g(t))>=0?t.ownerDocument.body:O(t)&&Z(t)?t:tt(H(t))}function et(t,e){var n;void 0===e&&(e=[]);var i=tt(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=w(i),s=r?[o].concat(o.visualViewport||[],Z(i)?i:[]):i,a=e.concat(s);return r?a:a.concat(et(H(s)))}function nt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function it(t,e,n){return e===v?nt(function(t,e){var n=w(t),i=W(t),r=n.visualViewport,o=i.clientWidth,s=i.clientHeight,a=0,u=0;if(r){o=r.width,s=r.height;var f=P();(f||!f&&"fixed"===e)&&(a=r.offsetLeft,u=r.offsetTop)}return{width:o,height:s,x:a+Y(t),y:u}}(t,n)):x(e)?function(t,e){var n=T(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):nt(function(t){var e,n=W(t),i=X(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=E(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=E(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+Y(t),u=-i.scrollTop;return"rtl"===A(r||n).direction&&(a+=E(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:u}}(W(t)))}function rt(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?k(r):null,c=r?K(r):null,d=n.x+n.width/2-i.width/2,v=n.y+n.height/2-i.height/2;switch(o){case s:e={x:d,y:n.y-i.height};break;case a:e={x:d,y:n.y+n.height};break;case u:e={x:n.x+n.width,y:v};break;case f:e={x:n.x-i.width,y:v};break;default:e={x:n.x,y:n.y}}var p=o?z(o):null;if(null!=p){var b="y"===p?"height":"width";switch(c){case l:e[p]=e[p]-(n[b]/2-i[b]/2);break;case h:e[p]=e[p]+(n[b]/2-i[b]/2)}}return e}function ot(t,e){void 0===e&&(e={});var n=e.placement,i=void 0===n?t.placement:n,r=e.strategy,o=void 0===r?t.strategy:r,f=e.boundary,c=void 0===f?"clippingParents":f,l=e.rootBoundary,h=void 0===l?v:l,b=e.elementContext,m=void 0===b?p:b,y=e.altBoundary,w=void 0!==y&&y,j=e.padding,k=void 0===j?0:j,S=_("number"!=typeof k?k:F(k,d)),M=t.rects.popper,P=t.elements[w?m===p?"reference":p:m],R=function(t,e,n,i){var r="clippingParents"===e?function(t){var e=et(H(t)),n=["absolute","fixed"].indexOf(A(t).position)>=0&&O(t)?L(t):t;return x(n)?e.filter((function(t){return x(t)&&B(t,n)&&"body"!==g(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),s=o.reduce((function(e,n){var r=it(t,n,i);return e.top=E(r.top,e.top),e.right=C(r.right,e.right),e.bottom=C(r.bottom,e.bottom),e.left=E(r.left,e.left),e}),it(t,o[0],i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(x(P)?P:P.contextElement||W(t.elements.popper),c,h,o),q=T(t.elements.reference),I=rt({reference:q,element:M,placement:i}),z=nt(Object.assign({},M,I)),D=m===p?z:q,K={top:R.top-D.top+S.top,bottom:D.bottom-R.bottom+S.bottom,left:R.left-D.left+S.left,right:D.right-R.right+S.right},U=t.modifiersData.offset;if(m===p&&U){var V=U[i];Object.keys(K).forEach((function(t){var e=[u,a].indexOf(t)>=0?1:-1,n=[s,a].indexOf(t)>=0?"y":"x";K[t]+=V[n]*e}))}return K}function st(t,e){void 0===e&&(e={});var n=e.boundary,i=e.rootBoundary,r=e.padding,o=e.flipVariations,s=e.allowedAutoPlacements,a=void 0===s?m:s,u=K(e.placement),f=u?o?b:b.filter((function(t){return K(t)===u})):d,c=f.filter((function(t){return a.indexOf(t)>=0}));0===c.length&&(c=f);var l=c.reduce((function(e,o){return e[o]=ot(t,{placement:o,boundary:n,rootBoundary:i,padding:r})[k(o)],e}),{});return Object.keys(l).sort((function(t,e){return l[t]-l[e]}))}var at={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,d=n.altAxis,h=void 0===d||d,v=n.fallbackPlacements,p=n.padding,b=n.boundary,m=n.rootBoundary,y=n.altBoundary,g=n.flipVariations,w=void 0===g||g,x=n.allowedAutoPlacements,O=e.options.placement,j=k(O),E=v||(j!==O&&w?function(t){if(k(t)===c)return[];var e=J(t);return[Q(t),e,Q(e)]}(O):[J(O)]),C=[O].concat(E).reduce((function(t,n){return t.concat(k(n)===c?st(e,{placement:n,boundary:b,rootBoundary:m,padding:p,flipVariations:w,allowedAutoPlacements:x}):n)}),[]),S=e.rects.reference,M=e.rects.popper,P=new Map,T=!0,R=C[0],B=0;B<C.length;B++){var A=C[B],q=k(A),W=K(A)===l,H=[s,a].indexOf(q)>=0,I=H?"width":"height",L=ot(e,{placement:A,boundary:b,rootBoundary:m,altBoundary:y,padding:p}),z=H?W?u:f:W?a:s;S[I]>M[I]&&(z=J(z));var D=J(z),_=[];if(o&&_.push(L[q]<=0),h&&_.push(L[z]<=0,L[D]<=0),_.every((function(t){return t}))){R=A,T=!1;break}P.set(A,_)}if(T)for(var F=function(t){var e=C.find((function(e){var n=P.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return R=e,"break"},U=w?3:1;U>0&&"break"!==F(U);U--);e.placement!==R&&(e.modifiersData[i]._skip=!0,e.placement=R,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ut(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ft(t){return[s,u,a,f].some((function(e){return t[e]>=0}))}function ct(t,e,n){void 0===n&&(n=!1);var i,r,o=O(e),s=O(e)&&function(t){var e=t.getBoundingClientRect(),n=S(e.width)/t.offsetWidth||1,i=S(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),a=W(e),u=T(t,s,n),f={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!n)&&(("body"!==g(e)||Z(a))&&(f=(i=e)!==w(i)&&O(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:X(i)),O(e)?((c=T(e,!0)).x+=e.clientLeft,c.y+=e.clientTop):a&&(c.x=Y(a))),{x:u.left+f.scrollLeft-c.x,y:u.top+f.scrollTop-c.y,width:u.width,height:u.height}}function dt(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}var lt={placement:"bottom",modifiers:[],strategy:"absolute"};function ht(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function vt(t){void 0===t&&(t={});var e=t.defaultModifiers,n=void 0===e?[]:e,i=t.defaultOptions,r=void 0===i?lt:i;return function(t,e,i){void 0===i&&(i=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},lt,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},u=[],f=!1,c={state:a,setOptions:function(i){var o="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:x(t)?et(t):t.contextElement?et(t.contextElement):[],popper:et(e)};var s,f,l=function(t){var e=dt(t);return y.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((s=[].concat(n,a.options.modifiers),f=s.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(f).map((function(t){return f[t]}))));return a.orderedModifiers=l.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.options,n=t.effect;if("function"==typeof n){var i=n({state:a,name:t.name,instance:c,options:void 0===e?{}:e});u.push(i||function(){})}})),c.update()},forceUpdate:function(){if(!f){var t=a.elements,e=t.reference,n=t.popper;if(ht(e,n)){a.rects={reference:ct(e,L(n),"fixed"===a.options.strategy),popper:R(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var r=a.orderedModifiers[i],o=r.fn,s=r.options;"function"==typeof o&&(a=o({state:a,options:void 0===s?{}:s,name:r.name,instance:c})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(t){c.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){d(),f=!0}};if(!ht(t,e))return c;function d(){u.forEach((function(t){return t()})),u=[]}return c.setOptions(i).then((function(t){!f&&i.onFirstUpdate&&i.onFirstUpdate(t)})),c}}var pt=vt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,u=w(e.elements.popper),f=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&f.forEach((function(t){t.addEventListener("scroll",n.update,$)})),a&&u.addEventListener("resize",n.update,$),function(){o&&f.forEach((function(t){t.removeEventListener("scroll",n.update,$)})),a&&u.removeEventListener("resize",n.update,$)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=rt({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,u=void 0===a||a,f={placement:k(e.placement),variation:K(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,V(Object.assign({},f,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,V(Object.assign({},f,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];O(r)&&g(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});O(i)&&g(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.name,i=t.options.offset,r=void 0===i?[0,0]:i,o=m.reduce((function(t,n){return t[n]=function(t,e,n){var i=k(t),r=[f,s].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],c=o[1];return a=a||0,c=(c||0)*r,[f,u].indexOf(i)>=0?{x:c,y:a}:{x:a,y:c}}(n,e.rects,r),t}),{}),a=o[e.placement],c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a.x,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=o}},at,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,c=n.altAxis,d=void 0!==c&&c,h=n.tether,v=void 0===h||h,p=n.tetherOffset,b=void 0===p?0:p,m=ot(e,{boundary:n.boundary,rootBoundary:n.rootBoundary,padding:n.padding,altBoundary:n.altBoundary}),y=k(e.placement),g=K(e.placement),w=!g,x=z(y),O="x"===x?"y":"x",j=e.modifiersData.popperOffsets,S=e.rects.reference,M=e.rects.popper,P="function"==typeof b?b(Object.assign({},e.rects,{placement:e.placement})):b,T="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,A={x:0,y:0};if(j){if(o){var q,W="y"===x?s:f,H="y"===x?a:u,I="y"===x?"height":"width",_=j[x],F=_+m[W],U=_-m[H],V=v?-M[I]/2:0,$=g===l?S[I]:M[I],G=g===l?-M[I]:-S[I],J=e.elements.arrow,N=v&&J?R(J):{width:0,height:0},Q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[W],Y=Q[H],Z=D(0,S[I],N[I]),tt=w?S[I]/2-V-Z-X-T.mainAxis:$-Z-X-T.mainAxis,et=w?-S[I]/2+V+Z+Y+T.mainAxis:G+Z+Y+T.mainAxis,nt=e.elements.arrow&&L(e.elements.arrow),it=null!=(q=null==B?void 0:B[x])?q:0,rt=_+et-it,st=D(v?C(F,_+tt-it-(nt?"y"===x?nt.clientTop||0:nt.clientLeft||0:0)):F,_,v?E(U,rt):U);j[x]=st,A[x]=st-_}if(d){var at,ut=j[O],ft="y"===O?"height":"width",ct=ut+m["x"===x?s:f],dt=ut-m["x"===x?a:u],lt=-1!==[s,f].indexOf(y),ht=null!=(at=null==B?void 0:B[O])?at:0,vt=lt?ct:ut-S[ft]-M[ft]-ht+T.altAxis,pt=lt?ut+S[ft]+M[ft]-ht-T.altAxis:dt,bt=v&&lt?function(t,e,n){var i=D(t,e,n);return i>n?n:i}(vt,ut,pt):D(v?vt:ct,ut,v?pt:dt);j[O]=bt,A[O]=bt-ut}e.modifiersData[i]=A}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,c=n.modifiersData.popperOffsets,l=k(n.placement),h=z(l),v=[f,u].indexOf(l)>=0?"height":"width";if(o&&c){var p=function(t,e){return _("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:F(t,d))}(r.padding,n),b=R(o),m="y"===h?s:f,y="y"===h?a:u,g=n.rects.reference[v]+n.rects.reference[h]-c[h]-n.rects.popper[v],w=c[h]-n.rects.reference[h],x=L(o),O=x?"y"===h?x.clientHeight||0:x.clientWidth||0:0,j=O/2-b[v]/2+(g/2-w/2),E=D(p[m],j,O-b[v]-p[y]);n.modifiersData[i]=((e={})[h]=E,e.centerOffset=E-j,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&B(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,s=ot(e,{elementContext:"reference"}),a=ot(e,{altBoundary:!0}),u=ut(s,i),f=ut(a,r,o),c=ft(u),d=ft(f);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:f,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});const bt=class{constructor(n){t(this,n),this.internalTdsShow=e(this,"internalTdsShow",4),this.internalTdsClose=e(this,"internalTdsClose",0),this.defaultShow=!1,this.animation="none",this.show=null,this.placement="auto",this.offsetSkidding=0,this.offsetDistance=8,this.modifiers=[],this.trigger="click",this.autoHide=!0,this.renderedShowValue=!1,this.popperInstance=null,this.isShown=!1,this.disableLogic=!1,this.hasShownAtLeastOnce=!1,this.openedByKeyboard=!1,this.uuid=o(),this.setIsShown=t=>{this.isShown="function"==typeof t?t(this.isShown):t,this.isShown?(this.hasShownAtLeastOnce=!0,this.internalTdsShow.emit()):(this.internalTdsClose.emit(),this.openedByKeyboard=!1)},this.onClickTarget=t=>{t.stopPropagation(),this.openedByKeyboard="keydown"===t.type||"Enter"===t.key||" "===t.key,this.setIsShown((t=>!t))},this.handleShow=t=>{t.stopPropagation(),this.openedByKeyboard="focusin"===t.type,this.setIsShown(!0)},this.handleHide=t=>{t.stopPropagation(),this.setIsShown(!1)}}async close(){this.setIsShown(!1)}onAnyClick(t){"click"===this.trigger&&this.isShown&&null===this.show&&!t.composedPath().includes(this.host)&&this.setIsShown(!1)}onTdsShow(t){null===this.show&&t.target.id!==`tds-popover-core-${this.uuid}`&&this.setIsShown(!1)}handleKeydown(t){"Escape"===t.key&&this.isShown&&this.setIsShown(!1)}onShowChange(t){this.setIsShown(t)}onReferenceElChanged(t,e){t!==e&&this.initialize({referenceEl:t,trigger:this.trigger})}onTriggerChanged(t){this.initialize({referenceEl:this.referenceEl,trigger:t})}onIsShownChange(t){t&&this.openedByKeyboard&&setTimeout((()=>{this.focusFirstElement()}),0)}focusFirstElement(){const t=this.host.querySelectorAll('a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])');t.length>0?t[0].focus():(this.host.setAttribute("tabindex","0"),this.host.focus())}initialize({referenceEl:t,trigger:e}){var n,i,r,o,s,a;this.cleanUp(),this.target=void 0!==t?t:this.selector?document.querySelector(this.selector):null,this.popperInstance=this.target?pt(this.target,this.host,{strategy:"fixed",placement:this.placement,modifiers:[{name:"offset",options:{offset:[this.offsetSkidding,this.offsetDistance]}},...this.modifiers]}):null,this.popperInstance||console.error("Could not initialize: reference element not found."),"click"===e&&null===this.show&&(null===(n=this.target)||void 0===n||n.addEventListener("click",this.onClickTarget),null===(i=this.target)||void 0===i||i.addEventListener("keydown",(t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.openedByKeyboard=!0,this.onClickTarget(t))}))),"hover"!==e&&"hover-popover"!==e||(null===(r=this.target)||void 0===r||r.addEventListener("focusin",this.handleShow),null===(o=this.target)||void 0===o||o.addEventListener("focusout",this.handleHide),null===(s=this.target)||void 0===s||s.addEventListener("mouseenter",this.handleShow),null===(a=this.target)||void 0===a||a.addEventListener("mouseleave",this.handleHide),"hover-popover"===e&&(this.host.addEventListener("mouseenter",this.handleShow),this.host.addEventListener("mouseleave",this.handleHide)))}cleanUp(){var t,e,n,i,r,o,s,a,u;null===(t=this.target)||void 0===t||t.removeEventListener("click",this.onClickTarget),null===(e=this.target)||void 0===e||e.removeEventListener("keydown",this.onClickTarget),null===(n=this.target)||void 0===n||n.removeEventListener("focusin",this.handleShow),null===(i=this.target)||void 0===i||i.removeEventListener("focusout",this.handleHide),null===(r=this.target)||void 0===r||r.removeEventListener("mouseenter",this.handleShow),null===(o=this.target)||void 0===o||o.removeEventListener("mouseleave",this.handleHide),null===(s=this.host)||void 0===s||s.removeEventListener("mouseenter",this.handleShow),null===(a=this.host)||void 0===a||a.removeEventListener("mouseleave",this.handleHide),null===(u=this.popperInstance)||void 0===u||u.destroy()}connectedCallback(){if(void 0===this.selector&&void 0===this.referenceEl)return this.disableLogic=!0,void console.warn("TDS-POPOVER-CORE: Popover internal logic disabled. Please provide a `selector` or `referenceEl` prop");this.initialize({referenceEl:this.referenceEl,trigger:this.trigger})}componentWillLoad(){this.setIsShown(!0===this.show||!0===this.defaultShow)}componentDidRender(){var t;!this.isShown||this.renderedShowValue||this.disableLogic||null===(t=this.popperInstance)||void 0===t||t.update(),this.renderedShowValue=this.isShown}disconnectedCallback(){this.cleanUp()}render(){const t=(e={"is-shown":this.isShown&&"none"===this.animation||void 0===this.animation,"is-hidden":!this.isShown&&"none"===this.animation||void 0===this.animation,"initially-hidden":!this.hasShownAtLeastOnce,"tds-animation-enter-fade":this.isShown&&"fade"===this.animation,"tds-animation-exit-fade":!this.isShown&&"fade"===this.animation},Object.keys(e).filter((t=>e[t])).join(" "));var e;return n(i,{key:"fdf71a3d32da460b0361bac28483955805e448db",role:this.host.getAttribute("role"),class:t,id:`tds-popover-core-${this.uuid}`},n("slot",{key:"d2b28bcc7f618edcf5c6acac39806b24e31538b0"}))}get host(){return r(this)}static get watchers(){return{show:[{onShowChange:0}],referenceEl:[{onReferenceElChanged:0}],trigger:[{onTriggerChanged:0}],isShown:[{onIsShownChange:0}]}}};bt.style=".sc-tds-popover-core-h{pointer-events:none;display:block}.tds-animation-enter-fade.sc-tds-popover-core-h{animation:tds-fade-in var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-enter) forwards}.tds-animation-exit-fade.sc-tds-popover-core-h{animation:tds-fade-out var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-exit) forwards}.is-shown.sc-tds-popover-core-h{opacity:1;pointer-events:auto;visibility:visible}.is-hidden.sc-tds-popover-core-h{opacity:0;pointer-events:none;visibility:hidden}.initially-hidden.sc-tds-popover-core-h{opacity:0;pointer-events:none;visibility:hidden}";export{bt as tds_popover_core}
@@ -1 +1 @@
1
- import{r as o,h as r,a as d}from"./p-9xxNGlso.js";const s=class{constructor(r){o(this,r),this.modeVariant=null,this.componentTag="div"}getNestingLevel(){let o=0,r=this.host.parentElement;for(;r;)"tds-block"===r.tagName.toLowerCase()&&o++,r=r.parentElement;return o}render(){const o=this.componentTag,d=this.getNestingLevel();let s="";return null===this.modeVariant&&(s=d%2==0?"tds-block-even":"tds-block-odd"),r(o,{key:"01743312d4accf10f2d372e149880bb8b53a9a97",class:`tds-block ${s} ${null!==this.modeVariant?`tds-mode-variant-${this.modeVariant}`:""}`},r("slot",{key:"84c2a61a6f4fc4c118ce73c83d78ca18a1607d0c"}))}get host(){return d(this)}};s.style=".tds-block{box-sizing:border-box;color:var(--tds-block-color);background-color:var(--tds-block-background);border-radius:4px;padding:16px;font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls)}.tds-block *{box-sizing:border-box}.tds-mode-variant-primary{background-color:var(--tds-block-background-primary)}.tds-mode-variant-secondary{background-color:var(--tds-block-background-secondary)}.tds-block-even{background-color:var(--tds-block-background-even)}.tds-block-odd{background-color:var(--tds-block-background-odd)}";export{s as tds_block}
1
+ import{r as o,h as r,a as d}from"./p-BBBKPH5r.js";const t=class{constructor(r){o(this,r),this.modeVariant=null,this.componentTag="div"}getNestingLevel(){let o=0,r=this.host.parentElement;for(;r;)"tds-block"===r.tagName.toLowerCase()&&o++,r=r.parentElement;return o}render(){const o=this.componentTag,d=this.getNestingLevel();let t="";return null===this.modeVariant&&(t=d%2==0?"tds-block-even":"tds-block-odd"),r(o,{key:"7f07ad2391246677a60d6e1f243bb399c1b97559",class:`tds-block ${t} ${null!==this.modeVariant?`tds-mode-variant-${this.modeVariant}`:""}`},r("slot",{key:"b106075c5d159dbd679f5936e6e644d11c997492"}))}get host(){return d(this)}};t.style=".tds-block{box-sizing:border-box;color:var(--tds-block-color);background-color:var(--tds-block-background);border-radius:4px;padding:16px;font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls)}.tds-block *{box-sizing:border-box}.tds-mode-variant-primary{background-color:var(--tds-block-background-primary)}.tds-mode-variant-secondary{background-color:var(--tds-block-background-secondary)}.tds-block-even{background-color:var(--tds-block-background-even)}.tds-block-odd{background-color:var(--tds-block-background-odd)}";export{t as tds_block}
@@ -1 +1 @@
1
- import{r as t,h as o,H as e,a as i}from"./p-9xxNGlso.js";const s=class{constructor(o){t(this,o),this.parentIsTopPart=!1}connectedCallback(){var t;const o=this.host.closest("tds-footer-group");o&&(this.parentIsTopPart="top"===(null===(t=o.parentElement)||void 0===t?void 0:t.slot))}render(){return o(e,{key:"e422cb3d81d974bdefd2a5221aa5f9df693feccd",role:"listitem"},o("div",{key:"bcd21f30335d92da6dd577fdc2b6e7ae273a6390",class:this.parentIsTopPart?"top-part-child":""},o("slot",{key:"861ffb44a8f9f2e4e75ad24b2bb640be9a712129"})))}get host(){return i(this)}};s.style=":host([role=listitem]) div ::slotted(a),:host([role=listitem]) div ::slotted(button){font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-main-links);text-decoration:none}:host([role=listitem]) div ::slotted(a:focus-visible),:host([role=listitem]) div ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host([role=listitem]) div ::slotted(a:hover),:host([role=listitem]) div ::slotted(button:hover){text-decoration:underline}:host([role=listitem]) div.top-part-child ::slotted(a),:host([role=listitem]) div.top-part-child ::slotted(button){font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links)}:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),:host([role=listitem]) div.top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}@media all and (max-width: 992px){:host([role=listitem]) div.top-part-child{border-bottom:1px solid var(--tds-footer-top-divider)}:host([role=listitem]) div.top-part-child ::slotted(a),:host([role=listitem]) div.top-part-child ::slotted(button){display:block;height:100%;padding:19px 40px;font-weight:normal}:host([role=listitem]) div.top-part-child ::slotted(a:active),:host([role=listitem]) div.top-part-child ::slotted(button:active){text-decoration:underline;background-color:var(--tds-footer-top-links-background-active)}:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),:host([role=listitem]) div.top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}}";export{s as tds_footer_item}
1
+ import{r as t,h as o,H as e,a as i}from"./p-BBBKPH5r.js";const s=class{constructor(o){t(this,o),this.parentIsTopPart=!1}connectedCallback(){var t;const o=this.host.closest("tds-footer-group");o&&(this.parentIsTopPart="top"===(null===(t=o.parentElement)||void 0===t?void 0:t.slot))}render(){return o(e,{key:"e422cb3d81d974bdefd2a5221aa5f9df693feccd",role:"listitem"},o("div",{key:"bcd21f30335d92da6dd577fdc2b6e7ae273a6390",class:this.parentIsTopPart?"top-part-child":""},o("slot",{key:"861ffb44a8f9f2e4e75ad24b2bb640be9a712129"})))}get host(){return i(this)}};s.style=":host([role=listitem]) div ::slotted(a),:host([role=listitem]) div ::slotted(button){font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-main-links);text-decoration:none}:host([role=listitem]) div ::slotted(a:focus-visible),:host([role=listitem]) div ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host([role=listitem]) div ::slotted(a:hover),:host([role=listitem]) div ::slotted(button:hover){text-decoration:underline}:host([role=listitem]) div.top-part-child ::slotted(a),:host([role=listitem]) div.top-part-child ::slotted(button){font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links)}:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),:host([role=listitem]) div.top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}@media all and (max-width: 992px){:host([role=listitem]) div.top-part-child{border-bottom:1px solid var(--tds-footer-top-divider)}:host([role=listitem]) div.top-part-child ::slotted(a),:host([role=listitem]) div.top-part-child ::slotted(button){display:block;height:100%;padding:19px 40px;font-weight:normal}:host([role=listitem]) div.top-part-child ::slotted(a:active),:host([role=listitem]) div.top-part-child ::slotted(button:active){text-decoration:underline;background-color:var(--tds-footer-top-links-background-active)}:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),:host([role=listitem]) div.top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}}";export{s as tds_footer_item}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,H as d,a}from"./p-9xxNGlso.js";const o=["multiselect","expandableRows","verticalDividers","compactDesign","noMinWidth"],i=class{constructor(s){t(this,s),this.tdsSelectAll=e(this,"tdsSelectAll",6),this.allSelected=!1,this.disabled=!1,this.indeterminate=!1,this.multiselect=!1,this.expandableRows=!1,this.mainCheckboxSelected=!1,this.mainExpendSelected=!1,this.verticalDividers=!1,this.compactDesign=!1,this.noMinWidth=!1,this.whiteBackground=!1,this.enableToolbarDesign=!1,this.tableId=""}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>o.includes(t))).forEach((e=>{if(void 0===this[e])throw new Error(`Table prop is not supported: ${e}`);this[e]=t.detail[e]}))}internalTdsRowExpandedListener(t){this.tableId===t.detail[0]&&setTimeout((()=>{this.bodyExpandClicked()}),100)}bodyExpandClicked(){var t;const e=null===(t=this.host.parentElement)||void 0===t?void 0:t.querySelector("tds-table-body");if(e){const t=e.getElementsByClassName("tds-table__row-extend--active").length,s=e.getElementsByTagName("tds-table-body-row-expendable").length;this.mainExpendSelected=s===t}}connectedCallback(){var t;this.tableEl=this.host.closest("tds-table"),this.tableId=null===(t=this.tableEl)||void 0===t?void 0:t.tableId}componentWillLoad(){o.forEach((t=>{var e;this[t]=null===(e=this.tableEl)||void 0===e?void 0:e[t]}))}componentWillRender(){const t=this.host.closest("tds-table");t&&(this.enableToolbarDesign=(null==t?void 0:t.getElementsByTagName("tds-table-toolbar").length)>=1)}async handleCheckboxChange(t){var e;this.allSelected=t.detail.checked,this.tdsSelectAll.emit({tableId:this.tableId,checked:t.detail.checked,selectedRows:await(null===(e=this.tableEl)||void 0===e?void 0:e.getSelectedRows())})}render(){return s(d,{key:"6694732da4046fe06dd5583dabcd7f08b1eca27e",class:{"tds-table--compact":this.compactDesign,"tds-table--divider":this.verticalDividers,"tds-table--toolbar-available":this.enableToolbarDesign}},s("tr",{key:"ae44f1f20feedd4833dcad0f5eb166dbcb8271c2"},this.multiselect&&s("th",{key:"7164dda86ee3eb21dc04c11ebd0dd074a8fdf00d",class:"tds-table__header-cell tds-table__header-cell--checkbox"},s("div",{key:"791a29bf597e9395c84bae6d408f146f8d240967",class:"tds-form-label tds-form-label--table"},s("tds-checkbox",{key:"6bad99498d9e67dfe068e393ed15dc229a6229de",checked:this.allSelected||this.selected,disabled:this.disabled,indeterminate:this.indeterminate,onTdsChange:t=>this.handleCheckboxChange(t)}))),this.expandableRows&&s("th",{key:"5818a44e2ce485265fecef36135dbbe113ac2bdf",class:"tds-table__header-cell tds-table__header-cell--checkbox"}),s("slot",{key:"a8cd6f4cde24922bf8a1998a4120c7ff02cf60f3"})))}get host(){return a(this)}};i.style=":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(.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}";export{i as tds_table_header}
1
+ import{r as t,c as e,h as s,H as d,a}from"./p-BBBKPH5r.js";const i=["multiselect","expandableRows","verticalDividers","compactDesign","noMinWidth"],o=class{constructor(s){t(this,s),this.tdsSelectAll=e(this,"tdsSelectAll",6),this.allSelected=!1,this.disabled=!1,this.indeterminate=!1,this.multiselect=!1,this.expandableRows=!1,this.mainCheckboxSelected=!1,this.mainExpendSelected=!1,this.verticalDividers=!1,this.compactDesign=!1,this.noMinWidth=!1,this.whiteBackground=!1,this.enableToolbarDesign=!1,this.tableId=""}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>i.includes(t))).forEach((e=>{if(void 0===this[e])throw new Error(`Table prop is not supported: ${e}`);this[e]=t.detail[e]}))}internalTdsRowExpandedListener(t){this.tableId===t.detail[0]&&setTimeout((()=>{this.bodyExpandClicked()}),100)}bodyExpandClicked(){var t;const e=null===(t=this.host.parentElement)||void 0===t?void 0:t.querySelector("tds-table-body");if(e){const t=e.getElementsByClassName("tds-table__row-extend--active").length,s=e.getElementsByTagName("tds-table-body-row-expendable").length;this.mainExpendSelected=s===t}}connectedCallback(){var t;this.tableEl=this.host.closest("tds-table"),this.tableId=null===(t=this.tableEl)||void 0===t?void 0:t.tableId}componentWillLoad(){i.forEach((t=>{var e;this[t]=null===(e=this.tableEl)||void 0===e?void 0:e[t]}))}componentWillRender(){const t=this.host.closest("tds-table");t&&(this.enableToolbarDesign=(null==t?void 0:t.getElementsByTagName("tds-table-toolbar").length)>=1)}async handleCheckboxChange(t){var e;this.allSelected=t.detail.checked,this.tdsSelectAll.emit({tableId:this.tableId,checked:t.detail.checked,selectedRows:await(null===(e=this.tableEl)||void 0===e?void 0:e.getSelectedRows())})}render(){return s(d,{key:"081f1f38317966710af212df1f9ce7c0abe5e43d",class:{"tds-table--compact":this.compactDesign,"tds-table--divider":this.verticalDividers,"tds-table--toolbar-available":this.enableToolbarDesign}},s("tr",{key:"d7d544ea5dd7d54c7599797fd22f5dcc610740d9"},this.multiselect&&s("th",{key:"de1d90c31d0bea8c277a748c4f9a5cda5251cb2f",class:"tds-table__header-cell tds-table__header-cell--checkbox"},s("div",{key:"3e62bed00d239585d752e76f522f656f796084f5",class:"tds-form-label tds-form-label--table"},s("tds-checkbox",{key:"0500722422e1512430fd01050fac00bfa5d0f165",checked:this.allSelected||this.selected,disabled:this.disabled,indeterminate:this.indeterminate,onTdsChange:t=>this.handleCheckboxChange(t)}))),this.expandableRows&&s("th",{key:"6b71efdaec2bd25f3a28077f90c42dc5bc950339",class:"tds-table__header-cell tds-table__header-cell--checkbox"}),s("slot",{key:"32f0040445889329eabd3f2084890721d1799636"})))}get host(){return a(this)}};o.style=":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(.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}";export{o as tds_table_header}
@@ -1 +1 @@
1
- import{r as t,h as o,H as s,a as e}from"./p-9xxNGlso.js";const i=["compactDesign"],n=class{constructor(o){t(this,o),this.showIcon=!0,this.renderSlot=!0,this.inputFocused=!1,this.compactDesign=!1,this.tableId=""}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>i.includes(t))).forEach((o=>{if(void 0===this[o])throw console.error(`Table prop is not supported: ${o}`),new Error(`Table prop is not supported: ${o}`);this[o]=t.detail[o]}))}connectedCallback(){const t=this.host.closest("tds-table");t?this.tableId=t.getAttribute("table-id"):console.error("Failed to find parent tds-table element.")}componentWillLoad(){const t=this.host.closest("tds-table");t?i.forEach((o=>{this[o]=t[o]})):console.error("Failed to find parent tds-table element.")}handleSlotChange(){this.validateSlot()}validateSlot(){const t=Array.from(this.host.children).filter((t=>"INPUT"===t.tagName));if(1!==t.length)console.warn("TABLE-BODY-INPUT-WRAPPER: Wrapper only accepts input as children."),this.renderSlot=!1;else{this.renderSlot||(this.renderSlot=!0);const o=t[0];o.addEventListener("focus",(()=>{this.inputFocused=!0})),o.addEventListener("blur",(()=>{this.inputFocused=!1})),o.addEventListener("keydown",(t=>{"Enter"===t.key&&(t.preventDefault(),this.moveToNextEditableCell())}))}}moveToNextEditableCell(){const t=Array.from(document.querySelectorAll("tds-table-body-input-wrapper")),o=t.indexOf(this.host);if(-1!==o&&o<t.length-1){const s=t[o+1].querySelector("input");s&&s.focus()}}render(){return o(s,{key:"55c8cd1004779a0a3a963c33b8466cc913ca287f",class:{"focused-input-wrapper":this.inputFocused,"show-icon":this.showIcon,"tds-table__compact":this.compactDesign}},this.renderSlot?o("slot",{onSlotchange:()=>this.handleSlotChange()}):null,this.showIcon?o("tds-icon",{class:"edit-icon",slot:"icon",size:"16px",name:"edit"}):null)}get host(){return e(this)}};n.style=":host{position:relative}:host(.focused-input-wrapper) tds-icon{display:inline-block}:host(.show-icon) ::slotted(input){padding-right:var(--tds-spacing-element-24)}:host(:hover) tds-icon{display:inline-block}:host(:hover) ::slotted(input:not(:focus)){background-color:var(--tds-table-input-background-hover)}tds-icon.edit-icon{display:none;position:absolute;right:10px;top:1px;pointer-events:none;cursor:pointer}::slotted(input){box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding-left:var(--tds-spacing-element-16);padding-right:var(--tds-spacing-element-16);color:var(--tds-table-color);background-color:transparent;height:48px;border-radius:0;border:0;border-bottom:2px solid transparent;width:100%;cursor:pointer}::slotted(input)::placeholder{color:var(--tds-table-color)}::slotted(input:disabled){background-color:var(--tds-table-input-background-disabled)}::slotted(input:focus){outline:none;background-color:var(--tds-table-input-background-focus);border-bottom:2px solid var(--tds-text-field-bar)}:host(.tds-table__compact) ::slotted(input){height:32px;}";export{n as tds_table_body_input_wrapper}
1
+ import{r as t,h as o,H as s,a as e}from"./p-BBBKPH5r.js";const i=["compactDesign"],n=class{constructor(o){t(this,o),this.showIcon=!0,this.renderSlot=!0,this.inputFocused=!1,this.compactDesign=!1,this.tableId=""}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>i.includes(t))).forEach((o=>{if(void 0===this[o])throw console.error(`Table prop is not supported: ${o}`),new Error(`Table prop is not supported: ${o}`);this[o]=t.detail[o]}))}connectedCallback(){const t=this.host.closest("tds-table");t?this.tableId=t.getAttribute("table-id"):console.error("Failed to find parent tds-table element.")}componentWillLoad(){const t=this.host.closest("tds-table");t?i.forEach((o=>{this[o]=t[o]})):console.error("Failed to find parent tds-table element.")}handleSlotChange(){this.validateSlot()}validateSlot(){const t=Array.from(this.host.children).filter((t=>"INPUT"===t.tagName));if(1!==t.length)console.warn("TABLE-BODY-INPUT-WRAPPER: Wrapper only accepts input as children."),this.renderSlot=!1;else{this.renderSlot||(this.renderSlot=!0);const o=t[0];o.addEventListener("focus",(()=>{this.inputFocused=!0})),o.addEventListener("blur",(()=>{this.inputFocused=!1})),o.addEventListener("keydown",(t=>{"Enter"===t.key&&(t.preventDefault(),this.moveToNextEditableCell())}))}}moveToNextEditableCell(){const t=Array.from(document.querySelectorAll("tds-table-body-input-wrapper")),o=t.indexOf(this.host);if(-1!==o&&o<t.length-1){const s=t[o+1].querySelector("input");s&&s.focus()}}render(){return o(s,{key:"8dc24acf73acb59732dcd490d792545a63679d2a",class:{"focused-input-wrapper":this.inputFocused,"show-icon":this.showIcon,"tds-table__compact":this.compactDesign}},this.renderSlot?o("slot",{onSlotchange:()=>this.handleSlotChange()}):null,this.showIcon?o("tds-icon",{class:"edit-icon",slot:"icon",size:"16px",name:"edit"}):null)}get host(){return e(this)}};n.style=":host{position:relative}:host(.focused-input-wrapper) tds-icon{display:inline-block}:host(.show-icon) ::slotted(input){padding-right:var(--tds-spacing-element-24)}:host(:hover) tds-icon{display:inline-block}:host(:hover) ::slotted(input:not(:focus)){background-color:var(--tds-table-input-background-hover)}tds-icon.edit-icon{display:none;position:absolute;right:10px;top:1px;pointer-events:none;cursor:pointer}::slotted(input){box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding-left:var(--tds-spacing-element-16);padding-right:var(--tds-spacing-element-16);color:var(--tds-table-color);background-color:transparent;height:48px;border-radius:0;border:0;border-bottom:2px solid transparent;width:100%;cursor:pointer}::slotted(input)::placeholder{color:var(--tds-table-color)}::slotted(input:disabled){background-color:var(--tds-table-input-background-disabled)}::slotted(input:focus){outline:none;background-color:var(--tds-table-input-background-focus);border-bottom:2px solid var(--tds-text-field-bar)}:host(.tds-table__compact) ::slotted(input){height:32px;}";export{n as tds_table_body_input_wrapper}