@duetds/components 6.8.9 → 6.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (555) hide show
  1. package/hydrate/index.js +121 -135
  2. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  19. package/lib/cjs/duet-editable-table_3.cjs.entry.js +95 -125
  20. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-grid_2.cjs.entry.js +11 -3
  24. package/lib/cjs/duet-header_2.cjs.entry.js +6 -6
  25. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  27. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-pagination_2.cjs.entry.js +6 -4
  42. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  68. package/lib/cjs/duet.cjs.js +2 -2
  69. package/lib/cjs/{focus-utils-f5b81c1f.js → focus-utils-5c2e36e8.js} +1 -1
  70. package/lib/cjs/{index-8a8ba131.js → index-92f0a873.js} +1 -1
  71. package/lib/cjs/loader.cjs.js +2 -2
  72. package/lib/cjs/{token-utils-2e10264d.js → token-utils-4bfb15d4.js} +4 -1
  73. package/lib/cjs/{tokens.module-69170ddd.js → tokens.module-d402cfac.js} +0 -1
  74. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  75. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  76. package/lib/collection/components/duet-button/duet-button.js +5 -5
  77. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  78. package/lib/collection/components/duet-card/duet-card.js +3 -3
  79. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  80. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  81. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  82. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  83. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  84. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  85. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  86. package/lib/collection/components/duet-editable-table/duet-editable-table.js +6 -6
  87. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  88. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  89. package/lib/collection/components/duet-grid/duet-grid.js +7 -3
  90. package/lib/collection/components/duet-grid-item/duet-grid-item.css +3 -2
  91. package/lib/collection/components/duet-grid-item/duet-grid-item.js +32 -0
  92. package/lib/collection/components/duet-header/duet-header.js +15 -15
  93. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  94. package/lib/collection/components/duet-hero/duet-hero.css +3 -0
  95. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  96. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  97. package/lib/collection/components/duet-input/duet-input.js +8 -8
  98. package/lib/collection/components/duet-label/duet-label.js +2 -2
  99. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  100. package/lib/collection/components/duet-list/duet-list.js +4 -4
  101. package/lib/collection/components/duet-logo/duet-logo.js +7 -7
  102. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  103. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  104. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  105. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  106. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  107. package/lib/collection/components/duet-pagination/duet-pagination.js +8 -6
  108. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  109. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  110. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  111. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  112. package/lib/collection/components/duet-select/duet-select.js +5 -5
  113. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  114. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  115. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  116. package/lib/collection/components/duet-step/duet-step.js +2 -2
  117. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  118. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  119. package/lib/collection/components/duet-table/duet-table.js +3 -3
  120. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  121. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  122. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  123. package/lib/collection/components/duet-upload/duet-upload.css +79 -13
  124. package/lib/collection/components/duet-upload/duet-upload.js +113 -90
  125. package/lib/collection/components/duet-upload/upload-item-header.js +8 -0
  126. package/lib/collection/components/duet-upload/upload-item.js +21 -5
  127. package/lib/collection/utils/token-utils.js +2 -0
  128. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  129. package/lib/dist-custom-elements/duet-alert.js +1 -1
  130. package/lib/dist-custom-elements/duet-badge.js +1 -1
  131. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  132. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  133. package/lib/dist-custom-elements/duet-button.js +1 -1
  134. package/lib/dist-custom-elements/duet-caption.js +1 -1
  135. package/lib/dist-custom-elements/duet-card.js +4 -4
  136. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  137. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  138. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  139. package/lib/dist-custom-elements/duet-choice.js +5 -5
  140. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  141. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  142. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  143. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  144. package/lib/dist-custom-elements/duet-date-picker.js +10 -10
  145. package/lib/dist-custom-elements/duet-divider.js +1 -1
  146. package/lib/dist-custom-elements/duet-editable-table.js +238 -1
  147. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  148. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  149. package/lib/dist-custom-elements/duet-footer.js +4 -4
  150. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  151. package/lib/dist-custom-elements/duet-grid.js +1 -1
  152. package/lib/dist-custom-elements/duet-header.js +8 -8
  153. package/lib/dist-custom-elements/duet-heading.js +1 -1
  154. package/lib/dist-custom-elements/duet-hero.js +10 -10
  155. package/lib/dist-custom-elements/duet-icon.js +1 -1
  156. package/lib/dist-custom-elements/duet-input.js +1 -1
  157. package/lib/dist-custom-elements/duet-label.js +1 -1
  158. package/lib/dist-custom-elements/duet-layout.js +1 -1
  159. package/lib/dist-custom-elements/duet-link.js +1 -1
  160. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  161. package/lib/dist-custom-elements/duet-list.js +1 -1
  162. package/lib/dist-custom-elements/duet-logo.js +1 -1
  163. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  164. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  165. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  166. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  167. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  168. package/lib/dist-custom-elements/duet-modal.js +7 -7
  169. package/lib/dist-custom-elements/duet-multiselect.js +8 -8
  170. package/lib/dist-custom-elements/duet-nav.js +1 -1
  171. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  172. package/lib/dist-custom-elements/duet-notification.js +2 -2
  173. package/lib/dist-custom-elements/duet-number-input.js +9 -9
  174. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  175. package/lib/dist-custom-elements/duet-pagination.js +12 -10
  176. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  177. package/lib/dist-custom-elements/duet-progress.js +1 -1
  178. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  179. package/lib/dist-custom-elements/duet-radio.js +1 -1
  180. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  181. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  182. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  183. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  184. package/lib/dist-custom-elements/duet-select.js +1 -1
  185. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  186. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  187. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  188. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  189. package/lib/dist-custom-elements/duet-slideout.js +3 -3
  190. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  191. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  192. package/lib/dist-custom-elements/duet-step.js +4 -4
  193. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  194. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  195. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  196. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  197. package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
  198. package/lib/dist-custom-elements/duet-tab-group.js +9 -9
  199. package/lib/dist-custom-elements/duet-tab.js +1 -1
  200. package/lib/dist-custom-elements/duet-table.js +1 -1
  201. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  202. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  203. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  204. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  205. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  206. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  207. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  208. package/lib/dist-custom-elements/duet-tray.js +4 -4
  209. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  210. package/lib/dist-custom-elements/duet-upload.js +125 -158
  211. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  212. package/lib/dist-custom-elements/index.js +1 -1
  213. package/lib/dist-custom-elements/{p-0f07edcd.js → p-0d1b84db.js} +1 -1
  214. package/lib/dist-custom-elements/{p-ce3afba1.js → p-132f2514.js} +6 -6
  215. package/lib/dist-custom-elements/{p-fa582233.js → p-17d43428.js} +3 -3
  216. package/lib/dist-custom-elements/{p-88d347ec.js → p-19ad4945.js} +9 -2
  217. package/lib/dist-custom-elements/{p-35d1520f.js → p-1bf112be.js} +1 -1
  218. package/lib/dist-custom-elements/{p-8563290f.js → p-26d32594.js} +3 -3
  219. package/lib/dist-custom-elements/{p-35c660bf.js → p-276e05ab.js} +5 -5
  220. package/lib/dist-custom-elements/{p-03367341.js → p-29b2c3bb.js} +1 -1
  221. package/lib/dist-custom-elements/{p-2bfc9c26.js → p-353d6d0c.js} +1 -1
  222. package/lib/dist-custom-elements/{p-0853da89.js → p-41ef88f4.js} +4 -4
  223. package/lib/dist-custom-elements/{p-7cc3a9b6.js → p-47ba781e.js} +4 -4
  224. package/lib/dist-custom-elements/{p-799100e3.js → p-49848110.js} +1 -1
  225. package/lib/dist-custom-elements/{p-4af6c136.js → p-4b4a086d.js} +8 -8
  226. package/lib/dist-custom-elements/{p-33e00967.js → p-505389ac.js} +1 -1
  227. package/lib/dist-custom-elements/{p-9ed347f9.js → p-68024252.js} +4 -2
  228. package/lib/dist-custom-elements/{p-8348ca39.js → p-7199196e.js} +2 -2
  229. package/lib/dist-custom-elements/{p-e95c3a28.js → p-7a4bdb83.js} +1 -1
  230. package/lib/dist-custom-elements/{p-eabaa24d.js → p-85fd8f09.js} +1 -1
  231. package/lib/dist-custom-elements/{p-fbfbd3c9.js → p-890a9b12.js} +2 -2
  232. package/lib/dist-custom-elements/{p-2f2a5be2.js → p-945a2c0c.js} +6 -6
  233. package/lib/dist-custom-elements/{p-2697a4f6.js → p-9d23386f.js} +2 -2
  234. package/lib/dist-custom-elements/{p-48ee4427.js → p-9eba8647.js} +2 -2
  235. package/lib/dist-custom-elements/{p-d409a0fc.js → p-a1ee31fb.js} +1 -1
  236. package/lib/dist-custom-elements/{p-2e320d47.js → p-a56cc313.js} +2 -2
  237. package/lib/dist-custom-elements/{p-3dca144f.js → p-c01c91d6.js} +2 -2
  238. package/lib/dist-custom-elements/{p-297a6774.js → p-c4a3d30d.js} +1 -1
  239. package/lib/dist-custom-elements/{p-db993558.js → p-c820f65e.js} +2 -2
  240. package/lib/dist-custom-elements/{p-aa453ca9.js → p-d0dea200.js} +2 -2
  241. package/lib/dist-custom-elements/{p-cefc1697.js → p-d6a4de03.js} +2 -2
  242. package/lib/dist-custom-elements/{p-697167af.js → p-d6bcc527.js} +1 -1
  243. package/lib/dist-custom-elements/{p-23e46e22.js → p-dde8e436.js} +5 -5
  244. package/lib/dist-custom-elements/{p-babace4d.js → p-e1de0408.js} +2 -2
  245. package/lib/dist-custom-elements/{p-4b9ef5dc.js → p-e48e8201.js} +4 -2
  246. package/lib/duet/duet.esm.js +1 -1
  247. package/lib/duet/duet.js +1 -1
  248. package/lib/duet/{p-429ae180.system.entry.js → p-00e57f9b.system.entry.js} +1 -1
  249. package/lib/duet/{p-936a1b6b.entry.js → p-02e23372.entry.js} +1 -1
  250. package/lib/duet/{p-4d40f304.entry.js → p-049f7427.entry.js} +1 -1
  251. package/lib/duet/{p-44d753ee.entry.js → p-07e54b8a.entry.js} +1 -1
  252. package/lib/duet/{p-cd98e431.system.entry.js → p-12ee9a23.system.entry.js} +1 -1
  253. package/lib/duet/p-1710310b.entry.js +4 -0
  254. package/lib/duet/{p-c5191cdc.entry.js → p-17d1d5ee.entry.js} +1 -1
  255. package/lib/duet/{p-86270afd.entry.js → p-18843061.entry.js} +1 -1
  256. package/lib/duet/{p-6ed854c9.system.entry.js → p-190507d4.system.entry.js} +1 -1
  257. package/lib/duet/p-197dba64.system.entry.js +4 -0
  258. package/lib/duet/{p-f98b9ae8.system.entry.js → p-1bfff197.system.entry.js} +1 -1
  259. package/lib/duet/{p-29851757.system.entry.js → p-1d283741.system.entry.js} +1 -1
  260. package/lib/duet/{p-8941bf37.system.entry.js → p-1de4b105.system.entry.js} +1 -1
  261. package/lib/duet/{p-cfc2b098.js → p-1ef436d2.js} +1 -1
  262. package/lib/duet/{p-2c44d7d1.system.entry.js → p-2184a285.system.entry.js} +1 -1
  263. package/lib/duet/{p-fdf5e1b6.entry.js → p-21d08944.entry.js} +1 -1
  264. package/lib/duet/{p-8bc10d1a.entry.js → p-21d4df80.entry.js} +1 -1
  265. package/lib/duet/{p-8b8eec00.system.entry.js → p-26ebc753.system.entry.js} +1 -1
  266. package/lib/duet/{p-3cdfb467.entry.js → p-29193196.entry.js} +1 -1
  267. package/lib/duet/{p-df4c44a0.entry.js → p-2a80caf9.entry.js} +1 -1
  268. package/lib/duet/p-2a89686a.entry.js +4 -0
  269. package/lib/duet/{p-b32d877a.system.entry.js → p-2b0d6d66.system.entry.js} +1 -1
  270. package/lib/duet/{p-00676a36.system.entry.js → p-2b4f4c85.system.entry.js} +1 -1
  271. package/lib/duet/{p-477efcbc.entry.js → p-2b94fb6c.entry.js} +1 -1
  272. package/lib/duet/{p-8c5399f3.entry.js → p-2c0d4d3c.entry.js} +1 -1
  273. package/lib/duet/{p-abde6822.entry.js → p-2e69c81b.entry.js} +1 -1
  274. package/lib/duet/{p-556fa590.entry.js → p-2e822cf0.entry.js} +1 -1
  275. package/lib/duet/{p-9e704252.entry.js → p-2faa3962.entry.js} +1 -1
  276. package/lib/duet/{p-f40d72fb.entry.js → p-2ff8c614.entry.js} +1 -1
  277. package/lib/duet/{p-0782a91f.system.entry.js → p-38680e94.system.entry.js} +1 -1
  278. package/lib/duet/{p-7e4af76c.system.entry.js → p-39c34fde.system.entry.js} +1 -1
  279. package/lib/duet/{p-313fe3f5.entry.js → p-4136d211.entry.js} +1 -1
  280. package/lib/duet/{p-ea109080.entry.js → p-44bbf984.entry.js} +1 -1
  281. package/lib/duet/{p-ac8174e5.system.entry.js → p-459b8e74.system.entry.js} +1 -1
  282. package/lib/duet/{p-bf91e001.entry.js → p-45a64d20.entry.js} +1 -1
  283. package/lib/duet/{p-3023d41a.system.entry.js → p-47fb8005.system.entry.js} +1 -1
  284. package/lib/duet/{p-a335e0bc.entry.js → p-48bab8b6.entry.js} +1 -1
  285. package/lib/duet/{p-0c89b6f9.system.entry.js → p-4ab70001.system.entry.js} +1 -1
  286. package/lib/duet/{p-b708a4c0.system.entry.js → p-4b02643a.system.entry.js} +1 -1
  287. package/lib/duet/{p-ebbbcd73.entry.js → p-5047ae3d.entry.js} +1 -1
  288. package/lib/duet/{p-fe31c401.entry.js → p-5127e9fb.entry.js} +1 -1
  289. package/lib/duet/{p-65b8dc2a.entry.js → p-52766fb1.entry.js} +1 -1
  290. package/lib/duet/{p-f9141695.system.entry.js → p-5576e447.system.entry.js} +1 -1
  291. package/lib/duet/{p-f591ed1f.entry.js → p-568c7b6d.entry.js} +1 -1
  292. package/lib/duet/{p-5782d12a.system.js → p-5743852f.system.js} +1 -1
  293. package/lib/duet/{p-200c17f6.system.entry.js → p-58b9c7b4.system.entry.js} +1 -1
  294. package/lib/duet/{p-ade32ce7.entry.js → p-58d08fb8.entry.js} +1 -1
  295. package/lib/duet/p-5c083efb.system.entry.js +4 -0
  296. package/lib/duet/p-5f872140.entry.js +4 -0
  297. package/lib/duet/{p-e827c36c.system.entry.js → p-6023d419.system.entry.js} +1 -1
  298. package/lib/duet/p-621e8af8.js +4 -0
  299. package/lib/duet/{p-d1ad24a0.system.entry.js → p-628c4fc7.system.entry.js} +1 -1
  300. package/lib/duet/{p-337b32f1.system.entry.js → p-6326cade.system.entry.js} +1 -1
  301. package/lib/duet/{p-837acc55.entry.js → p-643dd974.entry.js} +1 -1
  302. package/lib/duet/{p-45b4586f.system.entry.js → p-65b119a7.system.entry.js} +1 -1
  303. package/lib/duet/{p-7cf7fde9.entry.js → p-6fe463e6.entry.js} +1 -1
  304. package/lib/duet/{p-36cb9f64.system.entry.js → p-6fe5922d.system.entry.js} +1 -1
  305. package/lib/duet/{p-ad9b1943.entry.js → p-702a9390.entry.js} +1 -1
  306. package/lib/duet/{p-f2893a52.entry.js → p-72264693.entry.js} +1 -1
  307. package/lib/duet/p-723308e1.entry.js +4 -0
  308. package/lib/duet/{p-6aeb4931.entry.js → p-72585f83.entry.js} +1 -1
  309. package/lib/duet/{p-c9ac338f.system.entry.js → p-78f49cbf.system.entry.js} +1 -1
  310. package/lib/duet/{p-2c39a50d.system.entry.js → p-7a5077a2.system.entry.js} +1 -1
  311. package/lib/duet/{p-c54774ab.entry.js → p-7a53ff56.entry.js} +1 -1
  312. package/lib/duet/{p-0226f751.system.entry.js → p-7c32523b.system.entry.js} +1 -1
  313. package/lib/duet/p-7c4baf1c.js +4 -0
  314. package/lib/duet/{p-c520d4ea.system.entry.js → p-7d4e2e96.system.entry.js} +1 -1
  315. package/lib/duet/{p-ca597046.system.js → p-7dc36831.system.js} +1 -1
  316. package/lib/duet/{p-43e589c8.entry.js → p-7f2a16b3.entry.js} +1 -1
  317. package/lib/duet/{p-8e831193.system.entry.js → p-7fd9b8b6.system.entry.js} +1 -1
  318. package/lib/duet/{p-7a096435.entry.js → p-80bc3db3.entry.js} +1 -1
  319. package/lib/duet/{p-1dfc8eb0.system.entry.js → p-835ea0dc.system.entry.js} +1 -1
  320. package/lib/duet/{p-ac5df61e.system.entry.js → p-84eb3d96.system.entry.js} +1 -1
  321. package/lib/duet/{p-365bc70c.entry.js → p-850b95d7.entry.js} +1 -1
  322. package/lib/duet/{p-2011c8e6.system.entry.js → p-8760c0ee.system.entry.js} +1 -1
  323. package/lib/duet/{p-060f8f64.entry.js → p-893d0a53.entry.js} +1 -1
  324. package/lib/duet/{p-54dca5e8.system.entry.js → p-8a963cd7.system.entry.js} +1 -1
  325. package/lib/duet/{p-73627cbb.system.entry.js → p-8b123c27.system.entry.js} +1 -1
  326. package/lib/duet/{p-46fb20ed.entry.js → p-8f0579d1.entry.js} +1 -1
  327. package/lib/duet/{p-728bfa77.entry.js → p-8f60b4a4.entry.js} +1 -1
  328. package/lib/duet/{p-9bc8d785.system.entry.js → p-93f3e158.system.entry.js} +1 -1
  329. package/lib/duet/{p-d6cd2bb9.system.entry.js → p-95f020cc.system.entry.js} +1 -1
  330. package/lib/duet/p-98c7286c.entry.js +4 -0
  331. package/lib/duet/{p-5c28fd80.system.entry.js → p-9aae9d2a.system.entry.js} +1 -1
  332. package/lib/duet/{p-d35c775f.system.entry.js → p-9f5446d7.system.entry.js} +1 -1
  333. package/lib/duet/{p-2fc1306e.entry.js → p-9f9a14d7.entry.js} +1 -1
  334. package/lib/duet/p-a3782a14.entry.js +4 -0
  335. package/lib/duet/{p-5822c65a.system.entry.js → p-a5b5f3e2.system.entry.js} +1 -1
  336. package/lib/duet/{p-55e5bf94.entry.js → p-a6a5458a.entry.js} +1 -1
  337. package/lib/duet/{p-230830eb.system.entry.js → p-a79f86b5.system.entry.js} +1 -1
  338. package/lib/duet/{p-c42fad8c.entry.js → p-aac361b8.entry.js} +1 -1
  339. package/lib/duet/{p-3693927d.system.entry.js → p-acb0fbdc.system.entry.js} +1 -1
  340. package/lib/duet/{p-42ff082a.system.entry.js → p-ad82c633.system.entry.js} +1 -1
  341. package/lib/duet/{p-cfbf4269.system.entry.js → p-addd277e.system.entry.js} +1 -1
  342. package/lib/duet/p-afb58e46.js +4 -0
  343. package/lib/duet/{p-0d95bf16.system.entry.js → p-b16b89c3.system.entry.js} +1 -1
  344. package/lib/duet/{p-63dc5d85.system.entry.js → p-b1b1160e.system.entry.js} +1 -1
  345. package/lib/duet/{p-2e8ae6ef.system.entry.js → p-b3584ef1.system.entry.js} +2 -2
  346. package/lib/duet/{p-508d3dcb.system.entry.js → p-b421ea8a.system.entry.js} +1 -1
  347. package/lib/duet/{p-8169f888.entry.js → p-bc89db28.entry.js} +1 -1
  348. package/lib/duet/{p-c6083026.entry.js → p-be3c04fb.entry.js} +1 -1
  349. package/lib/duet/{p-b97b1676.system.entry.js → p-c073eb55.system.entry.js} +1 -1
  350. package/lib/duet/{p-53c13b55.entry.js → p-c0ac70a9.entry.js} +1 -1
  351. package/lib/duet/{p-77fbdca2.system.entry.js → p-c22a97ea.system.entry.js} +1 -1
  352. package/lib/duet/{p-3db073f3.system.entry.js → p-c3495075.system.entry.js} +1 -1
  353. package/lib/duet/{p-69671377.system.js → p-c360334a.system.js} +1 -1
  354. package/lib/duet/{p-71917207.system.entry.js → p-c3e4e6a2.system.entry.js} +1 -1
  355. package/lib/duet/{p-dc0d47f6.system.entry.js → p-c4738155.system.entry.js} +1 -1
  356. package/lib/duet/{p-59673927.system.entry.js → p-c518f7da.system.entry.js} +1 -1
  357. package/lib/duet/{p-e7ecad67.system.entry.js → p-c7507f6b.system.entry.js} +1 -1
  358. package/lib/duet/{p-f59c99ac.system.entry.js → p-c832c83e.system.entry.js} +1 -1
  359. package/lib/duet/{p-2ad517e0.system.entry.js → p-c91aaa04.system.entry.js} +1 -1
  360. package/lib/duet/{p-ac90e4ba.entry.js → p-cb2bd40e.entry.js} +1 -1
  361. package/lib/duet/{p-4ef2841d.entry.js → p-cc7f7692.entry.js} +1 -1
  362. package/lib/duet/{p-2abe8f54.entry.js → p-ce108a20.entry.js} +1 -1
  363. package/lib/duet/{p-406c6277.system.entry.js → p-d3da2989.system.entry.js} +1 -1
  364. package/lib/duet/{p-236447b8.entry.js → p-d503fd3d.entry.js} +1 -1
  365. package/lib/duet/{p-808cc181.system.entry.js → p-d5474f30.system.entry.js} +1 -1
  366. package/lib/duet/{p-881ed26f.entry.js → p-d563682c.entry.js} +1 -1
  367. package/lib/duet/{p-61b2e583.entry.js → p-d7c0027e.entry.js} +1 -1
  368. package/lib/duet/{p-ec6683f4.system.entry.js → p-d8d3f485.system.entry.js} +1 -1
  369. package/lib/duet/{p-062d4c6b.entry.js → p-d8de0d06.entry.js} +1 -1
  370. package/lib/duet/{p-43c99bf1.entry.js → p-daa0dccd.entry.js} +1 -1
  371. package/lib/duet/{p-255ede66.entry.js → p-dc71bc89.entry.js} +1 -1
  372. package/lib/duet/{p-63dfae1b.entry.js → p-dcce6bad.entry.js} +1 -1
  373. package/lib/duet/{p-62587a99.entry.js → p-de06c5ff.entry.js} +1 -1
  374. package/lib/duet/{p-a6df6c15.entry.js → p-e57b04f0.entry.js} +1 -1
  375. package/lib/duet/{p-96853ebb.entry.js → p-e71cb6f4.entry.js} +1 -1
  376. package/lib/duet/{p-db511eee.system.entry.js → p-e73937e1.system.entry.js} +1 -1
  377. package/lib/duet/{p-7c9bdbe1.system.entry.js → p-e8a6eda7.system.entry.js} +1 -1
  378. package/lib/duet/{p-749fc136.entry.js → p-e9cea31c.entry.js} +1 -1
  379. package/lib/duet/p-eb6c4a2a.system.js +4 -0
  380. package/lib/duet/{p-7e3541f6.system.entry.js → p-ef31120e.system.entry.js} +1 -1
  381. package/lib/duet/{p-398584d4.entry.js → p-f173da98.entry.js} +1 -1
  382. package/lib/duet/p-f67ee736.system.js +4 -0
  383. package/lib/duet/{p-8cf75c3e.entry.js → p-f7ff8b67.entry.js} +1 -1
  384. package/lib/duet/p-f9c26b20.system.entry.js +4 -0
  385. package/lib/duet/{p-8da23c48.entry.js → p-fa7a4245.entry.js} +1 -1
  386. package/lib/duet/{p-fd74020b.entry.js → p-faaa6249.entry.js} +1 -1
  387. package/lib/duet/{p-7675eb6f.system.entry.js → p-fad8bcee.system.entry.js} +1 -1
  388. package/lib/duet/{p-a9448361.system.entry.js → p-fc8b03f3.system.entry.js} +1 -1
  389. package/lib/esm/duet-action-button.entry.js +3 -3
  390. package/lib/esm/duet-alert.entry.js +1 -1
  391. package/lib/esm/duet-badge.entry.js +1 -1
  392. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  393. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  394. package/lib/esm/duet-button_2.entry.js +3 -3
  395. package/lib/esm/duet-caption_4.entry.js +3 -3
  396. package/lib/esm/duet-card.entry.js +3 -3
  397. package/lib/esm/duet-checkbox.entry.js +1 -1
  398. package/lib/esm/duet-checkmark.entry.js +1 -1
  399. package/lib/esm/duet-choice_2.entry.js +2 -2
  400. package/lib/esm/duet-collapsible.entry.js +1 -1
  401. package/lib/esm/duet-combobox.entry.js +1 -1
  402. package/lib/esm/duet-contact-card.entry.js +1 -1
  403. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  404. package/lib/esm/duet-date-picker.entry.js +2 -2
  405. package/lib/esm/duet-divider_2.entry.js +3 -3
  406. package/lib/esm/duet-editable-table_3.entry.js +95 -125
  407. package/lib/esm/duet-empty-state.entry.js +1 -1
  408. package/lib/esm/duet-fieldset.entry.js +1 -1
  409. package/lib/esm/duet-footer.entry.js +1 -1
  410. package/lib/esm/duet-grid_2.entry.js +11 -3
  411. package/lib/esm/duet-header_2.entry.js +6 -6
  412. package/lib/esm/duet-hero.entry.js +2 -2
  413. package/lib/esm/duet-icon.entry.js +3 -3
  414. package/lib/esm/duet-input_2.entry.js +1 -1
  415. package/lib/esm/duet-layout.entry.js +1 -1
  416. package/lib/esm/duet-list_2.entry.js +1 -1
  417. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  418. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  419. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  420. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  421. package/lib/esm/duet-menu-bar.entry.js +1 -1
  422. package/lib/esm/duet-modal.entry.js +2 -2
  423. package/lib/esm/duet-multiselect.entry.js +1 -1
  424. package/lib/esm/duet-nav.entry.js +1 -1
  425. package/lib/esm/duet-notification_2.entry.js +1 -1
  426. package/lib/esm/duet-number-input.entry.js +1 -1
  427. package/lib/esm/duet-page-heading.entry.js +1 -1
  428. package/lib/esm/duet-pagination_2.entry.js +6 -4
  429. package/lib/esm/duet-progress.entry.js +1 -1
  430. package/lib/esm/duet-radio_2.entry.js +1 -1
  431. package/lib/esm/duet-range-slider.entry.js +2 -2
  432. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  433. package/lib/esm/duet-section-layout.entry.js +1 -1
  434. package/lib/esm/duet-select.entry.js +1 -1
  435. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  436. package/lib/esm/duet-slideout-link.entry.js +1 -1
  437. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  438. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  439. package/lib/esm/duet-slideout.entry.js +4 -4
  440. package/lib/esm/duet-step_2.entry.js +1 -1
  441. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  442. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  443. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  444. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  445. package/lib/esm/duet-textarea.entry.js +1 -1
  446. package/lib/esm/duet-toggle.entry.js +1 -1
  447. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  448. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  449. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  450. package/lib/esm/duet-toolbar.entry.js +1 -1
  451. package/lib/esm/duet-tooltip.entry.js +1 -1
  452. package/lib/esm/duet-tray.entry.js +2 -2
  453. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  454. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  455. package/lib/esm/duet.js +3 -3
  456. package/lib/esm/{focus-utils-f1ddeb69.js → focus-utils-123e9cba.js} +1 -1
  457. package/lib/esm/{index-57a87c63.js → index-9d169c3d.js} +1 -1
  458. package/lib/esm/loader.js +3 -3
  459. package/lib/esm/{token-utils-b531747a.js → token-utils-6e0e2653.js} +4 -2
  460. package/lib/esm/{tokens.module-d3321092.js → tokens.module-5601adc9.js} +1 -1
  461. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  462. package/lib/esm-es5/duet-alert.entry.js +1 -1
  463. package/lib/esm-es5/duet-badge.entry.js +1 -1
  464. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  465. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  466. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  467. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  468. package/lib/esm-es5/duet-card.entry.js +1 -1
  469. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  470. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  471. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  472. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  473. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  474. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  475. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  476. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  477. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  478. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  479. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  480. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  481. package/lib/esm-es5/duet-footer.entry.js +1 -1
  482. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  483. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  484. package/lib/esm-es5/duet-hero.entry.js +1 -1
  485. package/lib/esm-es5/duet-icon.entry.js +2 -2
  486. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  487. package/lib/esm-es5/duet-layout.entry.js +1 -1
  488. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  489. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  490. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  491. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  492. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  493. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  494. package/lib/esm-es5/duet-modal.entry.js +1 -1
  495. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  496. package/lib/esm-es5/duet-nav.entry.js +1 -1
  497. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  498. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  499. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  500. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  501. package/lib/esm-es5/duet-progress.entry.js +1 -1
  502. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  503. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  504. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  505. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  506. package/lib/esm-es5/duet-select.entry.js +1 -1
  507. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  508. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  509. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  510. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  511. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  512. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  513. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  514. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  515. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  516. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  517. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  518. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  519. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  520. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  521. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  522. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  523. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  524. package/lib/esm-es5/duet-tray.entry.js +1 -1
  525. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  526. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  527. package/lib/esm-es5/duet.js +1 -1
  528. package/lib/esm-es5/{focus-utils-f1ddeb69.js → focus-utils-123e9cba.js} +1 -1
  529. package/lib/esm-es5/{index-57a87c63.js → index-9d169c3d.js} +1 -1
  530. package/lib/esm-es5/loader.js +1 -1
  531. package/lib/esm-es5/{token-utils-b531747a.js → token-utils-6e0e2653.js} +1 -1
  532. package/lib/esm-es5/{tokens.module-d3321092.js → tokens.module-5601adc9.js} +1 -1
  533. package/lib/types/common-types.d.ts +3 -0
  534. package/lib/types/components/duet-grid-item/duet-grid-item.d.ts +7 -1
  535. package/lib/types/components/duet-upload/duet-upload.d.ts +21 -4
  536. package/lib/types/components/duet-upload/upload-item-header.d.ts +8 -0
  537. package/lib/types/components/duet-upload/upload-item.d.ts +10 -1
  538. package/lib/types/components.d.ts +27 -0
  539. package/lib/types/utils/token-utils.d.ts +2 -0
  540. package/package.json +5 -5
  541. package/lib/dist-custom-elements/p-00635432.js +0 -243
  542. package/lib/duet/p-01006278.js +0 -4
  543. package/lib/duet/p-17063917.system.js +0 -4
  544. package/lib/duet/p-352ef7d4.entry.js +0 -4
  545. package/lib/duet/p-5d46f619.system.js +0 -4
  546. package/lib/duet/p-633dced0.entry.js +0 -4
  547. package/lib/duet/p-6a011296.entry.js +0 -4
  548. package/lib/duet/p-75effec6.system.entry.js +0 -4
  549. package/lib/duet/p-79a9746e.js +0 -4
  550. package/lib/duet/p-9052b6f5.js +0 -4
  551. package/lib/duet/p-96ee76aa.entry.js +0 -4
  552. package/lib/duet/p-99967a86.entry.js +0 -4
  553. package/lib/duet/p-9d7a6b9d.system.entry.js +0 -4
  554. package/lib/duet/p-e9dae4ed.system.entry.js +0 -4
  555. package/lib/duet/p-f5103ded.entry.js +0 -4
@@ -1,17 +1,17 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-0f07edcd.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-0d1b84db.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { D as DuetStringsExternalDefaults } from './p-76f00bd5.js';
7
7
  import { c as createID } from './p-c1325e35.js';
8
8
  import { F as FocusGuard } from './p-efaad71c.js';
9
9
  import { i as isKeyboardClick, a as isQuestionKey, b as isEscapeKey } from './p-d8549efe.js';
10
10
  import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
11
- import { d as defineCustomElement$5 } from './p-03367341.js';
12
- import { d as defineCustomElement$4 } from './p-cefc1697.js';
13
- import { d as defineCustomElement$3 } from './p-e95c3a28.js';
14
- import { d as defineCustomElement$2 } from './p-eabaa24d.js';
11
+ import { d as defineCustomElement$5 } from './p-29b2c3bb.js';
12
+ import { d as defineCustomElement$4 } from './p-d6a4de03.js';
13
+ import { d as defineCustomElement$3 } from './p-7a4bdb83.js';
14
+ import { d as defineCustomElement$2 } from './p-85fd8f09.js';
15
15
 
16
16
  var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
17
17
 
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-0f07edcd.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-0d1b84db.js';
5
5
  import { a as actionArrowDownSmall } from './p-115c79b6.js';
6
6
  import { f as font_size_medium, t as tokens } from './p-c4d8cad0.js';
7
7
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
8
8
  import { c as createID } from './p-c1325e35.js';
9
9
  import { i as isKeyboardClick } from './p-d8549efe.js';
10
10
  import { s as sanitizeString } from './p-5a9d75e1.js';
11
- import { d as defineCustomElement$2 } from './p-cefc1697.js';
11
+ import { d as defineCustomElement$2 } from './p-d6a4de03.js';
12
12
 
13
13
  const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{flex:0 auto;min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{flex:1 0 auto;margin-left:16px}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing.duet-theme-turva) .duet-collapsible-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(0, 41, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}";
14
14
 
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-0f07edcd.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-0d1b84db.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { d as debounce } from './p-0b3f675e.js';
7
7
  import { c as isEnterKey, b as isEscapeKey, d as isTabKey, e as isArrowUpKey, f as isArrowDownKey } from './p-d8549efe.js';
8
8
  import { g as getLocaleString, a as getLanguage } from './p-6c05e879.js';
9
9
  import { p as parsePossibleJSON } from './p-5a9d75e1.js';
10
10
  import { h, F as Fragment } from './p-152ee893.js';
11
- import { d as defineCustomElement$2 } from './p-cefc1697.js';
11
+ import { d as defineCustomElement$2 } from './p-d6a4de03.js';
12
12
 
13
13
  const SelectSingle = ({ item, search = "", selected }) => {
14
14
  const regEx = search !== "" ? new RegExp("(" + search.split(" ").join("|") + ")", "gi") : undefined;
@@ -1,16 +1,16 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-0f07edcd.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-0d1b84db.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
7
- import { d as defineCustomElement$8 } from './p-23e46e22.js';
8
- import { d as defineCustomElement$7 } from './p-db993558.js';
9
- import { d as defineCustomElement$6 } from './p-cefc1697.js';
10
- import { d as defineCustomElement$5 } from './p-fa582233.js';
11
- import { d as defineCustomElement$4 } from './p-babace4d.js';
12
- import { d as defineCustomElement$3 } from './p-2697a4f6.js';
13
- import { d as defineCustomElement$2 } from './p-eabaa24d.js';
7
+ import { d as defineCustomElement$8 } from './p-dde8e436.js';
8
+ import { d as defineCustomElement$7 } from './p-c820f65e.js';
9
+ import { d as defineCustomElement$6 } from './p-d6a4de03.js';
10
+ import { d as defineCustomElement$5 } from './p-17d43428.js';
11
+ import { d as defineCustomElement$4 } from './p-e1de0408.js';
12
+ import { d as defineCustomElement$3 } from './p-9d23386f.js';
13
+ import { d as defineCustomElement$2 } from './p-85fd8f09.js';
14
14
 
15
15
  const duetContactCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}.duet-contact-card.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;word-break:break-all}";
16
16
 
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-0f07edcd.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-0d1b84db.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
- import { d as defineCustomElement$6 } from './p-23e46e22.js';
7
- import { d as defineCustomElement$5 } from './p-cefc1697.js';
8
- import { d as defineCustomElement$4 } from './p-e95c3a28.js';
9
- import { d as defineCustomElement$3 } from './p-2697a4f6.js';
10
- import { d as defineCustomElement$2 } from './p-eabaa24d.js';
6
+ import { d as defineCustomElement$6 } from './p-dde8e436.js';
7
+ import { d as defineCustomElement$5 } from './p-d6a4de03.js';
8
+ import { d as defineCustomElement$4 } from './p-7a4bdb83.js';
9
+ import { d as defineCustomElement$3 } from './p-9d23386f.js';
10
+ import { d as defineCustomElement$2 } from './p-85fd8f09.js';
11
11
 
12
12
  const duetCookieConsentCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-cookie-consent{padding:20px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;color:rgb(255, 255, 255) !important;background-color:rgba(0, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(0, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url(\"data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+\") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}";
13
13
 
@@ -1,21 +1,21 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-0f07edcd.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-0d1b84db.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { c as createID } from './p-c1325e35.js';
7
7
  import { F as FocusGuard } from './p-efaad71c.js';
8
8
  import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
9
9
  import { h } from './p-152ee893.js';
10
- import { d as defineCustomElement$a } from './p-0853da89.js';
11
- import { d as defineCustomElement$9 } from './p-23e46e22.js';
12
- import { d as defineCustomElement$8 } from './p-03367341.js';
13
- import { d as defineCustomElement$7 } from './p-cefc1697.js';
14
- import { d as defineCustomElement$6 } from './p-4af6c136.js';
15
- import { d as defineCustomElement$5 } from './p-297a6774.js';
16
- import { d as defineCustomElement$4 } from './p-2697a4f6.js';
17
- import { d as defineCustomElement$3 } from './p-8563290f.js';
18
- import { d as defineCustomElement$2 } from './p-eabaa24d.js';
10
+ import { d as defineCustomElement$a } from './p-41ef88f4.js';
11
+ import { d as defineCustomElement$9 } from './p-dde8e436.js';
12
+ import { d as defineCustomElement$8 } from './p-29b2c3bb.js';
13
+ import { d as defineCustomElement$7 } from './p-d6a4de03.js';
14
+ import { d as defineCustomElement$6 } from './p-4b4a086d.js';
15
+ import { d as defineCustomElement$5 } from './p-c4a3d30d.js';
16
+ import { d as defineCustomElement$4 } from './p-9d23386f.js';
17
+ import { d as defineCustomElement$3 } from './p-26d32594.js';
18
+ import { d as defineCustomElement$2 } from './p-85fd8f09.js';
19
19
 
20
20
  const formatOptionsShort = { day: "numeric", month: "long" };
21
21
  const formatOptionsLong = { day: "numeric", month: "long", year: "numeric" };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetDivider$1, d as defineCustomElement$1 } from './p-aa453ca9.js';
4
+ import { D as DuetDivider$1, d as defineCustomElement$1 } from './p-d0dea200.js';
5
5
 
6
6
  const DuetDivider = DuetDivider$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,244 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetEditableTable$1, d as defineCustomElement$1 } from './p-00635432.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-0d1b84db.js';
5
+ import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
+ import { f as fieldSorter } from './p-0b3f675e.js';
7
+ import { i as isKeyboardClick } from './p-d8549efe.js';
8
+ import { g as getLocaleString } from './p-6c05e879.js';
9
+ import { h } from './p-152ee893.js';
10
+ import { d as defineCustomElement$7 } from './p-41ef88f4.js';
11
+ import { d as defineCustomElement$6 } from './p-dde8e436.js';
12
+ import { d as defineCustomElement$5 } from './p-d6a4de03.js';
13
+ import { d as defineCustomElement$4 } from './p-9d23386f.js';
14
+ import { d as defineCustomElement$3 } from './p-47ba781e.js';
15
+ import { d as defineCustomElement$2 } from './p-85fd8f09.js';
16
+
17
+ //simple functional component that renders the data in the table
18
+ const TableData = ({ data, groupId, alignment }, _children) => {
19
+ const classNames = `duet-editable-table duet-editable-table-content-${groupId}`;
20
+ if (typeof data === "string") {
21
+ return h("td", { innerHTML: data, class: classNames, part: `${groupId}content`, style: { verticalAlign: alignment } });
22
+ }
23
+ else {
24
+ return (h("td", { class: classNames, part: `${groupId}content`, style: { verticalAlign: alignment } }, data));
25
+ }
26
+ };
27
+
28
+ const duetEditableTableCss = ".sc-duet-editable-table-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-editable-table-actions-menu.sc-duet-editable-table{position:relative;padding:0 !important;margin:0}.duet-editable-table-actions-menu-button.sc-duet-editable-table{position:relative;right:-16px;float:right;padding:0}.duet-editable-table-actions-menu-icon.sc-duet-editable-table .duet-icon.sc-duet-editable-table{max-width:16px;max-height:16px}.duet-editable-table-row.duet-table-action-row.sc-duet-editable-table .duet-text-right.sc-duet-editable-table{text-align:right}.duet-editable-table-header.sc-duet-editable-table tr.sc-duet-editable-table .duet-editable-table-header-hidden.sc-duet-editable-table{padding:0 !important;font-size:0;border-bottom:0}";
29
+
30
+ const DuetEditableTable$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
31
+ constructor() {
32
+ super();
33
+ this.__registerHost();
34
+ this.duetTableToggle = createEvent(this, "duetTableToggle", 7);
35
+ this.duetMenuClick = createEvent(this, "duetMenuClick", 7);
36
+ this.hasHeadSlotFirst = false;
37
+ this.hasHeadSlotLast = false;
38
+ this.sortableDefaultLabel = {
39
+ fi: "Järjestä",
40
+ en: "Click to sort",
41
+ sv: "Klicka för att sortera",
42
+ };
43
+ this.actionColumnLabel = {
44
+ en: "Actions for rows",
45
+ fi: "Toiminnot rivillä",
46
+ sv: "Åtgärder för rader",
47
+ };
48
+ /**
49
+ * Private methods.
50
+ */
51
+ this.toggleColumn = (column, e) => {
52
+ e.preventDefault();
53
+ const { sort_order, direction, index, key } = column;
54
+ this.duetTableToggle.emit({
55
+ sort_order,
56
+ index,
57
+ direction,
58
+ key,
59
+ component: "duet-editable-table",
60
+ originalEvent: e,
61
+ });
62
+ };
63
+ this.handleKeyDown = (column, e) => {
64
+ if (isKeyboardClick(e)) {
65
+ this.toggleColumn(column, e);
66
+ }
67
+ };
68
+ this.margin = "auto";
69
+ this.variation = "striped";
70
+ this.sticky = false;
71
+ this.stickyDistance = "with-links";
72
+ this.breakpoint = "small";
73
+ this.actions = undefined;
74
+ this.columns = undefined;
75
+ this.rows = undefined;
76
+ this.sortable = false;
77
+ this.groupId = "";
78
+ this.theme = "";
79
+ this.accessibleRole = undefined;
80
+ this.hideHeadVisually = false;
81
+ }
82
+ /**
83
+ * Component lifecycle events.
84
+ */
85
+ componentWillLoad() {
86
+ inheritGlobalTheme(this);
87
+ this.hasHeadSlotFirst = !!this.element.querySelector("[slot='thead-first']");
88
+ this.hasHeadSlotLast = !!this.element.querySelector("[slot='thead-last']");
89
+ }
90
+ createLabel(column) {
91
+ const { sort_order, direction, index, label } = column;
92
+ const i18nLabel = getLocaleString(label);
93
+ if (!this.sortable) {
94
+ return i18nLabel;
95
+ }
96
+ const getButtonIcon = () => {
97
+ // "action-subtract-small" https://cdn.duetds.com/api/icons/2.2.12/lib/assets/action-subtract-small.svg
98
+ // "action-arrow-down-small" https://cdn.duetds.com/api/icons/2.2.12/lib/assets/action-arrow-down-small.svg
99
+ // "action-arrow-up-small" https://cdn.duetds.com/api/icons/2.2.12/lib/assets/action-arrow-up-small.svg
100
+ if (!!sort_order && direction === 1) {
101
+ return "action-arrow-down-small";
102
+ }
103
+ else if (!!sort_order && direction === -1) {
104
+ return "action-arrow-up-small";
105
+ }
106
+ return "action-subtract-small";
107
+ };
108
+ return (h$1("span", { class: "duet-table-label", "data-index": index }, h$1("duet-button", { size: "small", icon: getButtonIcon(), "icon-size": "medium-small", "accessible-label": getLocaleString(this.sortableDefaultLabel), variation: "plain", margin: "none", "icon-right": true, onClick: event => this.toggleColumn(column, event), onKeyDown: event => this.handleKeyDown(column, event) }, i18nLabel)));
109
+ }
110
+ getSortedColumns() {
111
+ //create a new array from sort instead of mutating original
112
+ return [...this.columns].sort(fieldSorter(["index"]));
113
+ }
114
+ getRowSortOrder() {
115
+ //create a new array from sort instead of mutating original
116
+ const fields = [...this.columns].sort(fieldSorter(["sort_order"]));
117
+ //return only key from objects that have sort_order
118
+ return fields
119
+ .filter(column => column.sort_order)
120
+ .map(column => {
121
+ // add - in-front of descending direction (required by field-sorter)
122
+ return column.direction === -1 ? `-${column.key}` : column.key;
123
+ });
124
+ }
125
+ renderTableHeader() {
126
+ if (!this.columns) {
127
+ return;
128
+ }
129
+ const sortedColumns = this.getSortedColumns();
130
+ return (h$1("tr", { class: {
131
+ "duet-table-action-header": !!this.actions,
132
+ } }, sortedColumns.map(column => {
133
+ if (column.display !== false) {
134
+ const label = this.createLabel(column);
135
+ return label !== "" ? h$1("th", { scope: "col" }, label) : h$1("td", null);
136
+ }
137
+ }), this.actions && (h$1("th", { scope: "col", class: "duet-table-action-header-heading" }, this.actions && h$1("duet-visually-hidden", null, getLocaleString(this.actionColumnLabel))))));
138
+ }
139
+ renderActions(rowItem, index) {
140
+ // escape early
141
+ if (!this.actions) {
142
+ return;
143
+ }
144
+ // iterate through actions and add them in the sidebar
145
+ return (h$1("td", { class: "duet-text-right" }, this.actions.map(actionItem => {
146
+ return (h$1("duet-action-button", { actionMeta: Object.assign({}, (rowItem === null || rowItem === void 0 ? void 0 : rowItem.meta) || {}, { index }), actionId: (rowItem === null || rowItem === void 0 ? void 0 : rowItem.uid) || (rowItem === null || rowItem === void 0 ? void 0 : rowItem.id) || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${rowItem.actionDescription || ""} ${getLocaleString(actionItem.label)} ` }));
147
+ })));
148
+ }
149
+ renderTableBody() {
150
+ const columns = this.getSortedColumns();
151
+ const rowSortOrder = this.getRowSortOrder();
152
+ const sortedRows = [...this.rows].sort(fieldSorter(rowSortOrder));
153
+ // return a tbody with rows for each item in sortedRows
154
+ return sortedRows.map((row, index) => (h$1("tr", { class: {
155
+ "duet-table-action-row": !!this.actions,
156
+ "duet-editable-table-row": true,
157
+ [`duet-editable-table-row-${this.groupId}`]: true,
158
+ }, "data-meta": JSON.stringify(row.meta) }, columns.map(column => {
159
+ //if we don't have any data for this column, try getting an item instead (for backwards compatibility
160
+ const value = row[column.key] ? row[column.key] : row.item;
161
+ if (column.display !== false) {
162
+ return h$1(TableData, { data: value, groupId: this.groupId });
163
+ }
164
+ }), this.actions && this.renderActions(row, index))));
165
+ }
166
+ /**
167
+ * Render Methods
168
+ */
169
+ render() {
170
+ return (h$1(Host, { class: {
171
+ [`duet-editable-table-${this.variation}`]: true,
172
+ "duet-editable-table": true,
173
+ [`duet-editable-table-${this.theme}`]: true,
174
+ // sticky only valid when in regular table layout
175
+ "duet-editable-table-scrollable": this.breakpoint === "none-scrollable",
176
+ "duet-editable-table-sortable": this.sortable,
177
+ "duet-editable-table-actions": !!this.actions,
178
+ "duet-m-0": this.margin === "none",
179
+ "duet-theme-turva": this.theme === "turva",
180
+ } }, h$1("duet-table", { class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, h$1("table", { role: this.accessibleRole }, h$1("caption", null, h$1("slot", { name: "tcaption" })), h$1("thead", null, this.hasHeadSlotFirst && (h$1("tr", null, h$1("td", { class: "duet-editable-table-actions-menu", colSpan: 99 }, h$1("slot", { name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (h$1("tr", null, h$1("td", { class: "duet-editable-table-actions-menu", colSpan: 99 }, h$1("slot", { name: "thead-last" }))))), h$1("tbody", null, this.renderTableBody()), h$1("tfoot", null, h$1("tr", null, h$1("th", { class: "duet-editable-table-footer-menu", colSpan: 99 }, h$1("slot", { name: "tfoot" }))))))));
181
+ }
182
+ get element() { return this; }
183
+ static get style() { return duetEditableTableCss; }
184
+ }, [6, "duet-editable-table", {
185
+ "margin": [1],
186
+ "variation": [1],
187
+ "sticky": [4],
188
+ "stickyDistance": [1, "sticky-distance"],
189
+ "breakpoint": [1],
190
+ "actions": [1040],
191
+ "columns": [1040],
192
+ "rows": [1040],
193
+ "sortable": [4],
194
+ "groupId": [1, "group-id"],
195
+ "theme": [1025],
196
+ "accessibleRole": [1, "accessible-role"],
197
+ "hideHeadVisually": [4, "hide-head-visually"]
198
+ }]);
199
+ function defineCustomElement$1() {
200
+ if (typeof customElements === "undefined") {
201
+ return;
202
+ }
203
+ const components = ["duet-editable-table", "duet-action-button", "duet-button", "duet-icon", "duet-spinner", "duet-table", "duet-visually-hidden"];
204
+ components.forEach(tagName => { switch (tagName) {
205
+ case "duet-editable-table":
206
+ if (!customElements.get(tagName)) {
207
+ customElements.define(tagName, DuetEditableTable$1);
208
+ }
209
+ break;
210
+ case "duet-action-button":
211
+ if (!customElements.get(tagName)) {
212
+ defineCustomElement$7();
213
+ }
214
+ break;
215
+ case "duet-button":
216
+ if (!customElements.get(tagName)) {
217
+ defineCustomElement$6();
218
+ }
219
+ break;
220
+ case "duet-icon":
221
+ if (!customElements.get(tagName)) {
222
+ defineCustomElement$5();
223
+ }
224
+ break;
225
+ case "duet-spinner":
226
+ if (!customElements.get(tagName)) {
227
+ defineCustomElement$4();
228
+ }
229
+ break;
230
+ case "duet-table":
231
+ if (!customElements.get(tagName)) {
232
+ defineCustomElement$3();
233
+ }
234
+ break;
235
+ case "duet-visually-hidden":
236
+ if (!customElements.get(tagName)) {
237
+ defineCustomElement$2();
238
+ }
239
+ break;
240
+ } });
241
+ }
5
242
 
6
243
  const DuetEditableTable = DuetEditableTable$1;
7
244
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetEmptyState$1, d as defineCustomElement$1 } from './p-fbfbd3c9.js';
4
+ import { D as DuetEmptyState$1, d as defineCustomElement$1 } from './p-890a9b12.js';
5
5
 
6
6
  const DuetEmptyState = DuetEmptyState$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetFieldset$1, d as defineCustomElement$1 } from './p-48ee4427.js';
4
+ import { D as DuetFieldset$1, d as defineCustomElement$1 } from './p-9eba8647.js';
5
5
 
6
6
  const DuetFieldset = DuetFieldset$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,16 +1,16 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent$1, h, F as Fragment } from './p-0f07edcd.js';
4
+ import { p as proxyCustomElement, H, c as createEvent$1, h, F as Fragment } from './p-0d1b84db.js';
5
5
  import { a as actionArrowRight } from './p-6fa39608.js';
6
6
  import { a as actionNewWindowSmall } from './p-f11208c3.js';
7
7
  import { D as DuetStringsExternalDefaults } from './p-76f00bd5.js';
8
8
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
9
9
  import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
10
10
  import { p as parsePossibleJSON } from './p-5a9d75e1.js';
11
- import { d as defineCustomElement$4 } from './p-cefc1697.js';
12
- import { d as defineCustomElement$3 } from './p-2f2a5be2.js';
13
- import { d as defineCustomElement$2 } from './p-eabaa24d.js';
11
+ import { d as defineCustomElement$4 } from './p-d6a4de03.js';
12
+ import { d as defineCustomElement$3 } from './p-945a2c0c.js';
13
+ import { d as defineCustomElement$2 } from './p-85fd8f09.js';
14
14
 
15
15
  var actionNewWindow={"title":"action-new-window","tags":"arrow open new window tab external link square box rectangle action","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z\"/></svg>"};
16
16
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetGridItem$1, d as defineCustomElement$1 } from './p-88d347ec.js';
4
+ import { D as DuetGridItem$1, d as defineCustomElement$1 } from './p-19ad4945.js';
5
5
 
6
6
  const DuetGridItem = DuetGridItem$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetGrid$1, d as defineCustomElement$1 } from './p-4b9ef5dc.js';
4
+ import { D as DuetGrid$1, d as defineCustomElement$1 } from './p-e48e8201.js';
5
5
 
6
6
  const DuetGrid = DuetGrid$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent$1, B as Build, h as h$1, d as Host, F as Fragment } from './p-0f07edcd.js';
4
+ import { p as proxyCustomElement, H, c as createEvent$1, B as Build, h as h$1, d as Host, F as Fragment } from './p-0d1b84db.js';
5
5
  import { f as formSearch } from './p-d004da5f.js';
6
6
  import { m as media_query_large } from './p-c4d8cad0.js';
7
7
  import { d as disableBodyScroll, e as enableBodyScroll } from './p-bd779757.js';
@@ -12,13 +12,13 @@ import { a as getLanguage, g as getLocaleString } from './p-6c05e879.js';
12
12
  import { p as parsePossibleJSON } from './p-5a9d75e1.js';
13
13
  import { a as actionArrowDownSmall } from './p-115c79b6.js';
14
14
  import { h } from './p-152ee893.js';
15
- import { d as defineCustomElement$8 } from './p-23e46e22.js';
16
- import { d as defineCustomElement$7 } from './p-aa453ca9.js';
17
- import { d as defineCustomElement$6 } from './p-cefc1697.js';
18
- import { d as defineCustomElement$5 } from './p-2f2a5be2.js';
19
- import { d as defineCustomElement$4 } from './p-e95c3a28.js';
20
- import { d as defineCustomElement$3 } from './p-2697a4f6.js';
21
- import { d as defineCustomElement$2 } from './p-eabaa24d.js';
15
+ import { d as defineCustomElement$8 } from './p-dde8e436.js';
16
+ import { d as defineCustomElement$7 } from './p-d0dea200.js';
17
+ import { d as defineCustomElement$6 } from './p-d6a4de03.js';
18
+ import { d as defineCustomElement$5 } from './p-945a2c0c.js';
19
+ import { d as defineCustomElement$4 } from './p-7a4bdb83.js';
20
+ import { d as defineCustomElement$3 } from './p-9d23386f.js';
21
+ import { d as defineCustomElement$2 } from './p-85fd8f09.js';
22
22
 
23
23
  var navigationContactDropdown={"title":"navigation-contact-dropdown","tags":"navigation contact dropdown speech bubbles","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M20.247 24a.743.743 0 0 1-.53-.22l-4.28-4.28h-.439c-3.308 0-6-2.692-6-6s2.692-6 6-6h3c3.309.001 6 2.692 6 6a5.974 5.974 0 0 1-3 5.179v4.571a.75.75 0 0 1-.751.75zm-5.25-15c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5h.75c.198 0 .391.08.53.22l3.22 3.22v-3.213c0-.289.169-.555.429-.678a4.51 4.51 0 0 0 2.571-4.049 4.504 4.504 0 0 0-4.498-4.499h-3.002z\"/><path d=\"M3.747 16.5a.747.747 0 0 1-.75-.75v-4.57a5.967 5.967 0 0 1-2.65-3.171A5.948 5.948 0 0 1 .57 3.431 6.014 6.014 0 0 1 5.985 0h3.012a6.04 6.04 0 0 1 5.752 4.286.751.751 0 0 1-.718.964.755.755 0 0 1-.719-.536A4.531 4.531 0 0 0 8.997 1.5h-3a4.511 4.511 0 0 0-4.071 2.572c-.512 1.084-.571 2.302-.167 3.431s1.224 2.032 2.308 2.545c.261.123.43.39.43.678v3.214l1.72-1.72a.744.744 0 0 1 1.06 0 .752.752 0 0 1 0 1.061l-3 3a.744.744 0 0 1-.53.219z\"/></svg>"};
24
24
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetHeading$1, d as defineCustomElement$1 } from './p-db993558.js';
4
+ import { D as DuetHeading$1, d as defineCustomElement$1 } from './p-c820f65e.js';
5
5
 
6
6
  const DuetHeading = DuetHeading$1;
7
7
  const defineCustomElement = defineCustomElement$1;