@duetds/components 6.8.4 → 6.8.6

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 (528) hide show
  1. package/hydrate/index.js +83 -33
  2. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  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 +1 -1
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  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 +3 -3
  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 +1 -1
  19. package/lib/cjs/duet-editable-table_3.cjs.entry.js +76 -31
  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 +1 -1
  24. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  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 +1 -1
  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 +1 -1
  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 +2 -2
  52. package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
  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 +1 -1
  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-1cfcd199.js → focus-utils-e3004898.js} +1 -1
  70. package/lib/cjs/{index-ab015402.js → index-1d72531b.js} +1 -1
  71. package/lib/cjs/loader.cjs.js +2 -2
  72. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  73. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  74. package/lib/collection/components/duet-button/duet-button.js +5 -5
  75. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  76. package/lib/collection/components/duet-card/duet-card.js +3 -3
  77. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  78. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  79. package/lib/collection/components/duet-choice-group/duet-choice-group.css +6 -1
  80. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  81. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  82. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  83. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  84. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  85. package/lib/collection/components/duet-editable-table/duet-editable-table.js +26 -7
  86. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  87. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  88. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  89. package/lib/collection/components/duet-header/duet-header.js +15 -15
  90. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  91. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  92. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  93. package/lib/collection/components/duet-input/duet-input.js +8 -8
  94. package/lib/collection/components/duet-label/duet-label.js +2 -2
  95. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  96. package/lib/collection/components/duet-list/duet-list.js +4 -4
  97. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  98. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  99. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  100. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  101. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  102. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  103. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  104. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  105. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  106. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  107. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  108. package/lib/collection/components/duet-select/duet-select.js +5 -5
  109. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  110. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  111. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  112. package/lib/collection/components/duet-step/duet-step.js +2 -2
  113. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  114. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  115. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  116. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  117. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  118. package/lib/collection/components/duet-upload/duet-upload.css +22 -0
  119. package/lib/collection/components/duet-upload/duet-upload.js +103 -34
  120. package/lib/collection/components/duet-upload/upload-editable-item-inprogres.js +1 -1
  121. package/lib/collection/components/duet-upload/upload-editable-item-success.js +11 -3
  122. package/lib/collection/components/duet-upload/upload-item-category.js +8 -0
  123. package/lib/collection/components/duet-upload/upload-item.js +16 -0
  124. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  125. package/lib/dist-custom-elements/duet-alert.js +1 -1
  126. package/lib/dist-custom-elements/duet-badge.js +1 -1
  127. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  128. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  129. package/lib/dist-custom-elements/duet-button.js +1 -1
  130. package/lib/dist-custom-elements/duet-caption.js +1 -1
  131. package/lib/dist-custom-elements/duet-card.js +3 -3
  132. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  133. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  134. package/lib/dist-custom-elements/duet-choice-group.js +7 -7
  135. package/lib/dist-custom-elements/duet-choice.js +5 -5
  136. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  137. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  138. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  139. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  140. package/lib/dist-custom-elements/duet-date-picker.js +10 -10
  141. package/lib/dist-custom-elements/duet-divider.js +1 -1
  142. package/lib/dist-custom-elements/duet-editable-table.js +1 -1
  143. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  144. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  145. package/lib/dist-custom-elements/duet-footer.js +4 -4
  146. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  147. package/lib/dist-custom-elements/duet-grid.js +1 -1
  148. package/lib/dist-custom-elements/duet-header.js +8 -8
  149. package/lib/dist-custom-elements/duet-heading.js +1 -1
  150. package/lib/dist-custom-elements/duet-hero.js +9 -9
  151. package/lib/dist-custom-elements/duet-icon.js +1 -1
  152. package/lib/dist-custom-elements/duet-input.js +1 -1
  153. package/lib/dist-custom-elements/duet-label.js +1 -1
  154. package/lib/dist-custom-elements/duet-layout.js +1 -1
  155. package/lib/dist-custom-elements/duet-link.js +1 -1
  156. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  157. package/lib/dist-custom-elements/duet-list.js +1 -1
  158. package/lib/dist-custom-elements/duet-logo.js +1 -1
  159. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  160. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  161. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  162. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  163. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  164. package/lib/dist-custom-elements/duet-modal.js +7 -7
  165. package/lib/dist-custom-elements/duet-multiselect.js +8 -8
  166. package/lib/dist-custom-elements/duet-nav.js +1 -1
  167. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  168. package/lib/dist-custom-elements/duet-notification.js +2 -2
  169. package/lib/dist-custom-elements/duet-number-input.js +9 -9
  170. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  171. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  172. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  173. package/lib/dist-custom-elements/duet-progress.js +1 -1
  174. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  175. package/lib/dist-custom-elements/duet-radio.js +1 -1
  176. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  177. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  178. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  179. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  180. package/lib/dist-custom-elements/duet-select.js +1 -1
  181. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  182. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  183. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  184. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  185. package/lib/dist-custom-elements/duet-slideout.js +2 -2
  186. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  187. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  188. package/lib/dist-custom-elements/duet-step.js +4 -4
  189. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  190. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  191. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  192. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  193. package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
  194. package/lib/dist-custom-elements/duet-tab-group.js +9 -9
  195. package/lib/dist-custom-elements/duet-tab.js +1 -1
  196. package/lib/dist-custom-elements/duet-table.js +1 -1
  197. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  198. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  199. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  200. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  201. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  202. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  203. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  204. package/lib/dist-custom-elements/duet-tray.js +3 -3
  205. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  206. package/lib/dist-custom-elements/duet-upload.js +92 -46
  207. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  208. package/lib/dist-custom-elements/index.js +1 -1
  209. package/lib/dist-custom-elements/{p-258d095f.js → p-023342e9.js} +1 -1
  210. package/lib/dist-custom-elements/{p-5333970a.js → p-068064d2.js} +1 -1
  211. package/lib/dist-custom-elements/{p-6c630da1.js → p-077f3d0f.js} +1 -1
  212. package/lib/dist-custom-elements/{p-1b6d9683.js → p-10bc90a5.js} +1 -1
  213. package/lib/dist-custom-elements/{p-a53cebf1.js → p-1bb1bc0f.js} +1 -1
  214. package/lib/dist-custom-elements/{p-c1d5b264.js → p-1dcfcc9f.js} +8 -8
  215. package/lib/dist-custom-elements/{p-43901e47.js → p-1f065f44.js} +1 -1
  216. package/lib/dist-custom-elements/{p-cd486ca1.js → p-28141fe5.js} +6 -6
  217. package/lib/dist-custom-elements/{p-a971f4cf.js → p-2b97f950.js} +12 -10
  218. package/lib/dist-custom-elements/{p-fa93f54b.js → p-32e43a11.js} +4 -4
  219. package/lib/dist-custom-elements/{p-49026ea5.js → p-33ba43e1.js} +1 -1
  220. package/lib/dist-custom-elements/{p-92135039.js → p-40818933.js} +2 -2
  221. package/lib/dist-custom-elements/{p-f41d4dba.js → p-46027643.js} +3 -3
  222. package/lib/dist-custom-elements/{p-8a77e325.js → p-46998408.js} +1 -1
  223. package/lib/dist-custom-elements/{p-03f5e1df.js → p-56443db2.js} +1 -1
  224. package/lib/dist-custom-elements/{p-b2b89a56.js → p-58fa2020.js} +2 -2
  225. package/lib/dist-custom-elements/{p-2b8d110c.js → p-6713af30.js} +1 -1
  226. package/lib/dist-custom-elements/{p-17a5bfd6.js → p-6bfd97a0.js} +2 -2
  227. package/lib/dist-custom-elements/{p-139ccc08.js → p-8198ee17.js} +1 -1
  228. package/lib/dist-custom-elements/{p-c05dc335.js → p-81d240e1.js} +1 -1
  229. package/lib/dist-custom-elements/{p-d3e697f4.js → p-86bdfc5f.js} +1 -1
  230. package/lib/dist-custom-elements/{p-14fe8052.js → p-9340fc7c.js} +1 -1
  231. package/lib/dist-custom-elements/{p-51be19a2.js → p-998f0e68.js} +1 -1
  232. package/lib/dist-custom-elements/{p-d4995343.js → p-a4fc8229.js} +1 -1
  233. package/lib/dist-custom-elements/{p-7782af26.js → p-a64f3e9c.js} +2 -2
  234. package/lib/dist-custom-elements/{p-6891c1b3.js → p-a9c9cbc3.js} +2 -2
  235. package/lib/dist-custom-elements/{p-bf71c608.js → p-bc2fe9f9.js} +1 -1
  236. package/lib/dist-custom-elements/{p-e9e98c22.js → p-c6743310.js} +1 -1
  237. package/lib/dist-custom-elements/{p-7cccb592.js → p-c94512a3.js} +3 -3
  238. package/lib/dist-custom-elements/{p-a89fd096.js → p-d56e25b8.js} +1 -1
  239. package/lib/dist-custom-elements/{p-104dae34.js → p-de338e31.js} +5 -5
  240. package/lib/dist-custom-elements/{p-21ae30e5.js → p-f8f93c32.js} +3 -3
  241. package/lib/duet/duet.esm.js +1 -1
  242. package/lib/duet/duet.js +1 -1
  243. package/lib/duet/{p-c17ad6a4.entry.js → p-00052a21.entry.js} +1 -1
  244. package/lib/duet/{p-ccbff327.system.entry.js → p-008e926c.system.entry.js} +1 -1
  245. package/lib/duet/{p-6b7be36b.entry.js → p-0135d3be.entry.js} +1 -1
  246. package/lib/duet/{p-ca4539ce.system.entry.js → p-01f704c5.system.entry.js} +1 -1
  247. package/lib/duet/{p-fc318998.system.entry.js → p-02402b1d.system.entry.js} +1 -1
  248. package/lib/duet/{p-0a64a5a4.js → p-0478aca4.js} +1 -1
  249. package/lib/duet/{p-464e267f.system.js → p-0ac82243.system.js} +1 -1
  250. package/lib/duet/{p-0ec5260f.system.entry.js → p-0c647794.system.entry.js} +2 -2
  251. package/lib/duet/{p-8684b2af.system.js → p-0d47b5d0.system.js} +1 -1
  252. package/lib/duet/{p-006cfe82.system.entry.js → p-0ee9fe5a.system.entry.js} +1 -1
  253. package/lib/duet/{p-32ba724d.js → p-0f76b544.js} +1 -1
  254. package/lib/duet/{p-53d28f2b.system.entry.js → p-0fae73be.system.entry.js} +1 -1
  255. package/lib/duet/{p-0769bfaa.system.entry.js → p-115bc126.system.entry.js} +1 -1
  256. package/lib/duet/{p-3405c2df.entry.js → p-118c2455.entry.js} +1 -1
  257. package/lib/duet/{p-1835986d.system.entry.js → p-131a09ef.system.entry.js} +1 -1
  258. package/lib/duet/{p-514e2f71.entry.js → p-187f61a9.entry.js} +1 -1
  259. package/lib/duet/{p-a4042d5b.system.entry.js → p-1af44cd7.system.entry.js} +1 -1
  260. package/lib/duet/{p-9eaee650.system.entry.js → p-1ca5d9c9.system.entry.js} +1 -1
  261. package/lib/duet/{p-0ec18f3b.system.entry.js → p-1de4480f.system.entry.js} +1 -1
  262. package/lib/duet/{p-f6f5032b.entry.js → p-1e404cf1.entry.js} +1 -1
  263. package/lib/duet/{p-886f3df1.system.entry.js → p-20310f15.system.entry.js} +1 -1
  264. package/lib/duet/{p-8661ddb0.system.entry.js → p-2357cbb2.system.entry.js} +1 -1
  265. package/lib/duet/{p-ad983011.entry.js → p-23e3e56f.entry.js} +1 -1
  266. package/lib/duet/{p-f5e7e0a7.system.entry.js → p-24266786.system.entry.js} +1 -1
  267. package/lib/duet/{p-9c456965.system.entry.js → p-26b45af6.system.entry.js} +1 -1
  268. package/lib/duet/{p-6aa662f0.system.entry.js → p-2885dc4f.system.entry.js} +1 -1
  269. package/lib/duet/{p-783530af.system.entry.js → p-29a36b0d.system.entry.js} +1 -1
  270. package/lib/duet/{p-45c55f88.system.entry.js → p-2c385164.system.entry.js} +1 -1
  271. package/lib/duet/{p-599dfb21.entry.js → p-2c8ec5dc.entry.js} +1 -1
  272. package/lib/duet/{p-85053e56.system.entry.js → p-2e65c35d.system.entry.js} +1 -1
  273. package/lib/duet/{p-ca8a79e7.entry.js → p-2ff2f7ab.entry.js} +1 -1
  274. package/lib/duet/{p-73e2201d.entry.js → p-317e511d.entry.js} +1 -1
  275. package/lib/duet/{p-238517b4.system.entry.js → p-33df50af.system.entry.js} +1 -1
  276. package/lib/duet/{p-21f94254.entry.js → p-33ffc418.entry.js} +1 -1
  277. package/lib/duet/{p-3d2339ae.system.entry.js → p-3466ab1a.system.entry.js} +1 -1
  278. package/lib/duet/{p-d27f9702.entry.js → p-34a536c5.entry.js} +1 -1
  279. package/lib/duet/{p-322c2769.entry.js → p-34b4940f.entry.js} +1 -1
  280. package/lib/duet/{p-c6787142.system.entry.js → p-355f2ced.system.entry.js} +1 -1
  281. package/lib/duet/{p-cf33e4a4.entry.js → p-384cd404.entry.js} +1 -1
  282. package/lib/duet/{p-0f5b0e9a.entry.js → p-3a8973fc.entry.js} +1 -1
  283. package/lib/duet/{p-4de46382.entry.js → p-3bcc21b1.entry.js} +1 -1
  284. package/lib/duet/{p-15346bb7.system.entry.js → p-3c02b40c.system.entry.js} +1 -1
  285. package/lib/duet/{p-b59904ae.system.entry.js → p-3d283bed.system.entry.js} +1 -1
  286. package/lib/duet/{p-350bad81.system.entry.js → p-3d9462b2.system.entry.js} +1 -1
  287. package/lib/duet/p-3db2790b.system.entry.js +4 -0
  288. package/lib/duet/{p-52a0bf60.system.entry.js → p-441bf2f7.system.entry.js} +1 -1
  289. package/lib/duet/{p-a4f9eacd.system.entry.js → p-44e0cb33.system.entry.js} +1 -1
  290. package/lib/duet/{p-faaa35cf.entry.js → p-4a820e40.entry.js} +1 -1
  291. package/lib/duet/{p-94c6c463.entry.js → p-4bce10fd.entry.js} +1 -1
  292. package/lib/duet/{p-8aba8575.entry.js → p-5127875a.entry.js} +1 -1
  293. package/lib/duet/{p-dc8c7e0b.entry.js → p-52598698.entry.js} +1 -1
  294. package/lib/duet/{p-a7b1f336.entry.js → p-53db1b2d.entry.js} +1 -1
  295. package/lib/duet/{p-57824291.entry.js → p-547f0190.entry.js} +1 -1
  296. package/lib/duet/{p-142e0dd6.system.entry.js → p-56f04d8b.system.entry.js} +1 -1
  297. package/lib/duet/{p-78b89180.entry.js → p-5704bea4.entry.js} +1 -1
  298. package/lib/duet/{p-2b9c8a7d.entry.js → p-5c4e7535.entry.js} +1 -1
  299. package/lib/duet/{p-6597319a.entry.js → p-5e1d86aa.entry.js} +1 -1
  300. package/lib/duet/{p-33a2e92d.system.entry.js → p-5eee6f5b.system.entry.js} +1 -1
  301. package/lib/duet/{p-88d3cc5a.system.entry.js → p-6303e2c2.system.entry.js} +1 -1
  302. package/lib/duet/{p-8c20f50a.entry.js → p-637954d3.entry.js} +1 -1
  303. package/lib/duet/{p-e829bf10.entry.js → p-64a196c8.entry.js} +1 -1
  304. package/lib/duet/{p-a05666f0.system.entry.js → p-653c4b81.system.entry.js} +1 -1
  305. package/lib/duet/{p-b2ebc2e1.entry.js → p-680fe6e2.entry.js} +1 -1
  306. package/lib/duet/{p-f738d8e5.entry.js → p-6843534a.entry.js} +1 -1
  307. package/lib/duet/{p-2dafbb00.system.entry.js → p-6a186073.system.entry.js} +1 -1
  308. package/lib/duet/{p-3b197740.entry.js → p-6e02f332.entry.js} +1 -1
  309. package/lib/duet/{p-5dedf71b.entry.js → p-7033077c.entry.js} +1 -1
  310. package/lib/duet/p-70df605a.entry.js +4 -0
  311. package/lib/duet/{p-8f7a04bc.system.entry.js → p-70e3e285.system.entry.js} +1 -1
  312. package/lib/duet/{p-1578385a.system.entry.js → p-716f6b7f.system.entry.js} +1 -1
  313. package/lib/duet/{p-71eda242.entry.js → p-72a74500.entry.js} +1 -1
  314. package/lib/duet/{p-1bdce03c.entry.js → p-73058322.entry.js} +1 -1
  315. package/lib/duet/{p-ec9d77cf.system.entry.js → p-733c0420.system.entry.js} +1 -1
  316. package/lib/duet/{p-ffba3249.entry.js → p-73941510.entry.js} +1 -1
  317. package/lib/duet/{p-f0384acb.entry.js → p-751cded7.entry.js} +1 -1
  318. package/lib/duet/{p-545ca91e.system.entry.js → p-78538446.system.entry.js} +1 -1
  319. package/lib/duet/{p-5aaee74b.entry.js → p-7af1ae76.entry.js} +1 -1
  320. package/lib/duet/{p-86799457.entry.js → p-7bd0998b.entry.js} +1 -1
  321. package/lib/duet/{p-345381c1.entry.js → p-7ca90a39.entry.js} +1 -1
  322. package/lib/duet/{p-aee5400b.system.entry.js → p-85652a95.system.entry.js} +1 -1
  323. package/lib/duet/{p-2b9fb222.system.entry.js → p-8761c920.system.entry.js} +1 -1
  324. package/lib/duet/{p-c8892cfa.entry.js → p-8b0af3a4.entry.js} +1 -1
  325. package/lib/duet/{p-39f8bec2.entry.js → p-8f3e2da9.entry.js} +1 -1
  326. package/lib/duet/{p-994c33e2.entry.js → p-90aef7eb.entry.js} +1 -1
  327. package/lib/duet/{p-8dc321a1.entry.js → p-91417a9a.entry.js} +1 -1
  328. package/lib/duet/{p-271e6527.entry.js → p-914cd18e.entry.js} +1 -1
  329. package/lib/duet/{p-d65b676f.entry.js → p-91cb169e.entry.js} +1 -1
  330. package/lib/duet/{p-1c731783.entry.js → p-95770ba7.entry.js} +1 -1
  331. package/lib/duet/{p-daf3ccef.system.entry.js → p-96befdd7.system.entry.js} +1 -1
  332. package/lib/duet/{p-af47bd24.system.entry.js → p-98ac3517.system.entry.js} +1 -1
  333. package/lib/duet/{p-8025514b.system.entry.js → p-9bfe1254.system.entry.js} +1 -1
  334. package/lib/duet/{p-9116af4f.entry.js → p-9d6beb46.entry.js} +1 -1
  335. package/lib/duet/{p-f0ba21c3.system.entry.js → p-9fdfdaed.system.entry.js} +1 -1
  336. package/lib/duet/{p-207ad310.entry.js → p-a1d584e5.entry.js} +1 -1
  337. package/lib/duet/{p-8ada2a8a.entry.js → p-a2eb4c1f.entry.js} +1 -1
  338. package/lib/duet/{p-b3e57f17.system.entry.js → p-a6da9ebd.system.entry.js} +1 -1
  339. package/lib/duet/{p-e0651eca.system.entry.js → p-a7d8d000.system.entry.js} +1 -1
  340. package/lib/duet/{p-5252d291.system.entry.js → p-a9d4d0e3.system.entry.js} +1 -1
  341. package/lib/duet/{p-5d3c68ad.system.entry.js → p-abf85b30.system.entry.js} +1 -1
  342. package/lib/duet/{p-23500651.system.entry.js → p-af645d50.system.entry.js} +1 -1
  343. package/lib/duet/{p-b16848d3.system.entry.js → p-af878746.system.entry.js} +1 -1
  344. package/lib/duet/{p-7adef50f.system.js → p-b03452eb.system.js} +1 -1
  345. package/lib/duet/{p-6d99c12c.entry.js → p-b09de818.entry.js} +1 -1
  346. package/lib/duet/{p-2b998d32.entry.js → p-b1aa9b0e.entry.js} +1 -1
  347. package/lib/duet/{p-8fcd5734.entry.js → p-b6f1722a.entry.js} +1 -1
  348. package/lib/duet/{p-0f7ab746.system.entry.js → p-b9ff52c3.system.entry.js} +1 -1
  349. package/lib/duet/{p-f06940f6.system.entry.js → p-baa83969.system.entry.js} +1 -1
  350. package/lib/duet/{p-19deb8bb.entry.js → p-bd5a23ad.entry.js} +1 -1
  351. package/lib/duet/{p-fcca01e2.entry.js → p-c0e762c5.entry.js} +1 -1
  352. package/lib/duet/{p-c8b3d426.system.entry.js → p-c21e0220.system.entry.js} +1 -1
  353. package/lib/duet/{p-a08a9752.entry.js → p-c2691df5.entry.js} +1 -1
  354. package/lib/duet/{p-5f5fae98.system.entry.js → p-c6ab65e4.system.entry.js} +1 -1
  355. package/lib/duet/{p-76dabced.system.entry.js → p-c99dff59.system.entry.js} +1 -1
  356. package/lib/duet/{p-0a96cc2c.system.entry.js → p-cfa12307.system.entry.js} +1 -1
  357. package/lib/duet/{p-433085d5.system.entry.js → p-d11642a4.system.entry.js} +1 -1
  358. package/lib/duet/{p-d8769dca.system.entry.js → p-d2ea6a49.system.entry.js} +1 -1
  359. package/lib/duet/{p-db98a514.system.entry.js → p-d3bb4cd0.system.entry.js} +1 -1
  360. package/lib/duet/{p-2b6e9c34.entry.js → p-d5add2a1.entry.js} +1 -1
  361. package/lib/duet/{p-e4b73cff.entry.js → p-d6bf59f8.entry.js} +1 -1
  362. package/lib/duet/{p-369661b2.entry.js → p-d7890385.entry.js} +1 -1
  363. package/lib/duet/{p-5f1e31c7.entry.js → p-dafbf164.entry.js} +1 -1
  364. package/lib/duet/{p-0aac4192.system.entry.js → p-de7c93e6.system.entry.js} +1 -1
  365. package/lib/duet/{p-ec5ae55d.system.entry.js → p-def5eefd.system.entry.js} +1 -1
  366. package/lib/duet/{p-5b0b828a.system.entry.js → p-dfbb9078.system.entry.js} +1 -1
  367. package/lib/duet/{p-8085ad32.entry.js → p-e3f9f86d.entry.js} +1 -1
  368. package/lib/duet/p-e403da27.entry.js +4 -0
  369. package/lib/duet/{p-c46b2038.system.entry.js → p-e653cfd1.system.entry.js} +1 -1
  370. package/lib/duet/{p-c32df4f2.system.entry.js → p-e7505450.system.entry.js} +1 -1
  371. package/lib/duet/{p-8de9a81e.system.entry.js → p-e98a91bd.system.entry.js} +1 -1
  372. package/lib/duet/{p-25bf58d2.entry.js → p-ea3cb1bd.entry.js} +1 -1
  373. package/lib/duet/{p-28b0eafe.entry.js → p-eaa14406.entry.js} +1 -1
  374. package/lib/duet/{p-83ac5c6e.entry.js → p-ecb016d1.entry.js} +1 -1
  375. package/lib/duet/{p-3490b163.entry.js → p-edc3786b.entry.js} +1 -1
  376. package/lib/duet/{p-6c171fd9.entry.js → p-f02f252c.entry.js} +1 -1
  377. package/lib/duet/{p-6f930a32.system.entry.js → p-f94c7bd2.system.entry.js} +1 -1
  378. package/lib/duet/{p-5daa0d26.system.entry.js → p-fa00dc57.system.entry.js} +1 -1
  379. package/lib/duet/{p-ac37e21d.entry.js → p-fad0a3b6.entry.js} +1 -1
  380. package/lib/esm/duet-action-button.entry.js +1 -1
  381. package/lib/esm/duet-alert.entry.js +1 -1
  382. package/lib/esm/duet-badge.entry.js +1 -1
  383. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  384. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  385. package/lib/esm/duet-button_2.entry.js +1 -1
  386. package/lib/esm/duet-caption_4.entry.js +1 -1
  387. package/lib/esm/duet-card.entry.js +1 -1
  388. package/lib/esm/duet-checkbox.entry.js +1 -1
  389. package/lib/esm/duet-checkmark.entry.js +1 -1
  390. package/lib/esm/duet-choice_2.entry.js +3 -3
  391. package/lib/esm/duet-collapsible.entry.js +1 -1
  392. package/lib/esm/duet-combobox.entry.js +1 -1
  393. package/lib/esm/duet-contact-card.entry.js +1 -1
  394. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  395. package/lib/esm/duet-date-picker.entry.js +2 -2
  396. package/lib/esm/duet-divider_2.entry.js +1 -1
  397. package/lib/esm/duet-editable-table_3.entry.js +76 -31
  398. package/lib/esm/duet-empty-state.entry.js +1 -1
  399. package/lib/esm/duet-fieldset.entry.js +1 -1
  400. package/lib/esm/duet-footer.entry.js +1 -1
  401. package/lib/esm/duet-grid_2.entry.js +1 -1
  402. package/lib/esm/duet-header_2.entry.js +1 -1
  403. package/lib/esm/duet-hero.entry.js +1 -1
  404. package/lib/esm/duet-icon.entry.js +1 -1
  405. package/lib/esm/duet-input_2.entry.js +1 -1
  406. package/lib/esm/duet-layout.entry.js +1 -1
  407. package/lib/esm/duet-list_2.entry.js +1 -1
  408. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  409. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  410. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  411. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  412. package/lib/esm/duet-menu-bar.entry.js +1 -1
  413. package/lib/esm/duet-modal.entry.js +2 -2
  414. package/lib/esm/duet-multiselect.entry.js +1 -1
  415. package/lib/esm/duet-nav.entry.js +1 -1
  416. package/lib/esm/duet-notification_2.entry.js +1 -1
  417. package/lib/esm/duet-number-input.entry.js +1 -1
  418. package/lib/esm/duet-page-heading.entry.js +1 -1
  419. package/lib/esm/duet-pagination_2.entry.js +1 -1
  420. package/lib/esm/duet-progress.entry.js +1 -1
  421. package/lib/esm/duet-radio_2.entry.js +1 -1
  422. package/lib/esm/duet-range-slider.entry.js +1 -1
  423. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  424. package/lib/esm/duet-section-layout.entry.js +1 -1
  425. package/lib/esm/duet-select.entry.js +1 -1
  426. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  427. package/lib/esm/duet-slideout-link.entry.js +1 -1
  428. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  429. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  430. package/lib/esm/duet-slideout.entry.js +2 -2
  431. package/lib/esm/duet-step_2.entry.js +1 -1
  432. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  433. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  434. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  435. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  436. package/lib/esm/duet-textarea.entry.js +1 -1
  437. package/lib/esm/duet-toggle.entry.js +1 -1
  438. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  439. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  440. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  441. package/lib/esm/duet-toolbar.entry.js +1 -1
  442. package/lib/esm/duet-tooltip.entry.js +1 -1
  443. package/lib/esm/duet-tray.entry.js +1 -1
  444. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  445. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  446. package/lib/esm/duet.js +3 -3
  447. package/lib/esm/{focus-utils-5c277b1d.js → focus-utils-038f6536.js} +1 -1
  448. package/lib/esm/{index-dc7d6b8d.js → index-0237f6f4.js} +1 -1
  449. package/lib/esm/loader.js +3 -3
  450. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  451. package/lib/esm-es5/duet-alert.entry.js +1 -1
  452. package/lib/esm-es5/duet-badge.entry.js +1 -1
  453. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  454. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  455. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  456. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  457. package/lib/esm-es5/duet-card.entry.js +1 -1
  458. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  459. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  460. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  461. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  462. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  463. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  464. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  465. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  466. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  467. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  468. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  469. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  470. package/lib/esm-es5/duet-footer.entry.js +1 -1
  471. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  472. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  473. package/lib/esm-es5/duet-hero.entry.js +1 -1
  474. package/lib/esm-es5/duet-icon.entry.js +2 -2
  475. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  476. package/lib/esm-es5/duet-layout.entry.js +1 -1
  477. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  478. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  479. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  480. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  481. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  482. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  483. package/lib/esm-es5/duet-modal.entry.js +2 -2
  484. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  485. package/lib/esm-es5/duet-nav.entry.js +1 -1
  486. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  487. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  488. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  489. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  490. package/lib/esm-es5/duet-progress.entry.js +1 -1
  491. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  492. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  493. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  494. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  495. package/lib/esm-es5/duet-select.entry.js +1 -1
  496. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  497. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  498. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  499. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  500. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  501. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  502. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  503. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  504. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  505. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  506. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  507. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  508. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  509. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  510. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  511. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  512. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  513. package/lib/esm-es5/duet-tray.entry.js +1 -1
  514. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  515. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  516. package/lib/esm-es5/duet.js +1 -1
  517. package/lib/esm-es5/{focus-utils-5c277b1d.js → focus-utils-038f6536.js} +1 -1
  518. package/lib/esm-es5/{index-dc7d6b8d.js → index-0237f6f4.js} +1 -1
  519. package/lib/esm-es5/loader.js +1 -1
  520. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +4 -0
  521. package/lib/types/components/duet-upload/duet-upload.d.ts +12 -1
  522. package/lib/types/components/duet-upload/upload-item-category.d.ts +5 -0
  523. package/lib/types/components/duet-upload/upload-item.d.ts +10 -0
  524. package/lib/types/components.d.ts +24 -0
  525. package/package.json +5 -5
  526. package/lib/duet/p-0a79b874.system.entry.js +0 -4
  527. package/lib/duet/p-141234e3.entry.js +0 -4
  528. package/lib/duet/p-fb1b340d.entry.js +0 -4
@@ -12,12 +12,15 @@ import { ErrorItem } from "./upload-editable-item-error";
12
12
  import { ProgressItem } from "./upload-editable-item-inprogres";
13
13
  import { PendingItem } from "./upload-editable-item-pending";
14
14
  import { SuccessItem } from "./upload-editable-item-success";
15
+ import { UploadCategory } from "./upload-item-category";
15
16
  import { validateFile, validateTotalAmountIsAboveMax, validateTotalSizeIsAboveMax } from "./upload-validators";
16
17
  import { makeXhrRequest, } from "./xhr.helpers";
17
18
  /**
18
- * @slot header - named slot - to place content after description / caption
19
+ * @slot header - named slot - to place content after description / caption (if caption is on top)
19
20
  * @slot fileheader - named slot - to place content above "filelist" (only displayed when "filelist" contains items)
20
21
  * @slot filefooter - named slot - to place content below "filelist" (only displayed when "filelist" contains items)
22
+ * @slot footer - named slot - to place content below filefooter
23
+ * @slot afterfooter - named slot - to place content below "footer" / caption (if caption is on bottom)
21
24
  * @part ${this.identifier}-empty-state : duet-upload-empty-state - named part - can be used to style the empty notification area or hide it completely
22
25
  * @part ${this.identifier}-editable-table : duet-upload-editable-table - named part - can be used to style the editable-table
23
26
  * @part ${this.identifier}-error-notification : duet-upload-error-notification - named part - can be used to style any error notifications occurring internally
@@ -384,46 +387,59 @@ export class DuetUpload {
384
387
  const pending = [];
385
388
  const success = [];
386
389
  all.forEach(data => {
390
+ var _a, _b;
387
391
  const group = this.getGroupFromItemData(data);
388
392
  const item = this.getItemHTMLFromItemData(data, group);
393
+ const category = h(UploadCategory, { meta: data.meta });
394
+ const categories = (_b = (_a = data.meta) === null || _a === void 0 ? void 0 : _a.badges) === null || _b === void 0 ? void 0 : _b.join(",");
389
395
  if (group === this.DefaultGroups.success) {
390
396
  success.push({
391
397
  uid: data.uid,
392
398
  item,
399
+ hasCategory: data.meta && !!data.meta.badges,
400
+ category,
393
401
  group,
394
- name: data.item.name,
402
+ actionDescription: `${categories || ""} ${data.item.name}`,
395
403
  });
396
404
  }
397
405
  else if (group === this.DefaultGroups.inprogress) {
398
406
  inprogress.push({
399
407
  uid: data.uid,
400
408
  item,
409
+ hasCategory: data.meta && !!data.meta.badges,
410
+ category,
401
411
  group,
402
- name: data.item.name,
412
+ actionDescription: `category ${data.item.name}`,
403
413
  });
404
414
  }
405
415
  else if (group === this.DefaultGroups.pending) {
406
416
  pending.push({
407
417
  uid: data.uid,
408
418
  item,
419
+ hasCategory: data.meta && !!data.meta.badges,
420
+ category,
409
421
  group,
410
- name: data.item.name,
422
+ actionDescription: `category ${data.item.name}`,
411
423
  });
412
424
  }
413
425
  else if (group === this.DefaultGroups.failure) {
414
426
  failure.push({
415
427
  uid: data.uid,
416
428
  item,
429
+ hasCategory: data.meta && !!data.meta.badges,
430
+ category,
417
431
  group,
418
- name: data.item.name,
432
+ actionDescription: `category ${data.item.name}`,
419
433
  });
420
434
  }
421
435
  else if (data.group) {
422
436
  inprogress.push({
423
437
  uid: data.uid,
424
438
  item,
439
+ hasCategory: data.meta && !!data.meta.badges,
440
+ category,
425
441
  group: data.group,
426
- name: data.item.name,
442
+ actionDescription: `category ${data.item.name}`,
427
443
  });
428
444
  }
429
445
  });
@@ -434,14 +450,27 @@ export class DuetUpload {
434
450
  inprogress,
435
451
  };
436
452
  };
437
- this.getColumns = (group) => {
453
+ this.getColumns = (group, hasCategory) => {
438
454
  return [
439
455
  {
440
456
  sort_order: 1,
441
457
  direction: -1,
442
458
  index: 0,
459
+ key: "category",
460
+ label: {
461
+ fi: "Kategoria",
462
+ sv: "Kategori",
463
+ en: "Category",
464
+ },
465
+ display: hasCategory,
466
+ },
467
+ {
468
+ sort_order: 1,
469
+ direction: -1,
470
+ index: 1,
443
471
  key: group.id,
444
472
  label: group.label,
473
+ display: true,
445
474
  },
446
475
  ];
447
476
  };
@@ -455,9 +484,8 @@ export class DuetUpload {
455
484
  if (!(currentItems === null || currentItems === void 0 ? void 0 : currentItems.length)) {
456
485
  return;
457
486
  }
458
- return (h("duet-table", { variation: "plain", breakpoint: "none", role: "log", margin: this.hideGroups ? "none" : "auto" }, h("table", { class: "duet-upload-editable-table" }, h("thead", { class: "duet-upload-editable-table-header" }, h("tr", null, h("th", { class: {
459
- "duet-upload-editable-table-header-hidden": this.hideGroups,
460
- } }, !this.hideGroups ? (getLocaleString(group.label)) : (h("duet-visually-hidden", null, getLocaleString(group.label)))))), h("tbody", null, h("tr", null, h("td", { class: "duet-upload-editable-table-data" }, h("duet-editable-table", { breakpoint: "none", variation: "plain", groupId: group.id, columns: this.getColumns(group), actions: this.getActions(group.id), margin: "none", rows: currentItems })))))));
487
+ const hasCategory = currentItems.some(item => item.hasCategory);
488
+ return (h("duet-editable-table", { variation: "plain", groupId: group.id, columns: this.getColumns(group, hasCategory), actions: this.getActions(group.id), margin: "none", rows: currentItems, "hide-head-visually": this.hideGroups || group.id !== this.DefaultGroups.success }));
461
489
  });
462
490
  return EditableTables;
463
491
  };
@@ -573,15 +601,9 @@ export class DuetUpload {
573
601
  this.multiple = true;
574
602
  this.limitSelection = false;
575
603
  this.value = undefined;
604
+ this.externalUploadButtonId = undefined;
605
+ this.captionOnBottom = false;
576
606
  this.groups = [
577
- {
578
- id: this.DefaultGroups.pending,
579
- label: {
580
- en: "Files to upload",
581
- sv: "Filer att ladda",
582
- fi: "Ladattavat tiedostot",
583
- },
584
- },
585
607
  {
586
608
  id: this.DefaultGroups.success,
587
609
  label: {
@@ -606,6 +628,14 @@ export class DuetUpload {
606
628
  en: "Files inprogress",
607
629
  },
608
630
  },
631
+ {
632
+ id: this.DefaultGroups.pending,
633
+ label: {
634
+ en: "Files to upload",
635
+ sv: "Filer att ladda",
636
+ fi: "Ladattavat tiedostot",
637
+ },
638
+ },
609
639
  ];
610
640
  }
611
641
  watchValidHandler(newValue, oldValue) {
@@ -626,6 +656,7 @@ export class DuetUpload {
626
656
  inheritGlobalTheme(this);
627
657
  this.listenForActionEvents();
628
658
  this.onReady();
659
+ this.externalUploadButton = document.querySelector(`#${this.externalUploadButtonId}`);
629
660
  }
630
661
  componentWillRender() {
631
662
  // listen to the events from the component
@@ -692,14 +723,17 @@ export class DuetUpload {
692
723
  caption = caption.replace(/{maxbytes}/g, `${maxMegaBytesPrFile.toString()} MB`);
693
724
  caption = caption.replace(/{maxbytestotal}/g, `${maxMegaBytesTotal.toString()} MB`);
694
725
  caption = caption.replace(/{filetypes}/g, this.allowedExtensions.split(",").join(", "));
726
+ if (this.externalUploadButton) {
727
+ this.externalUploadButton.ariaLabel = caption;
728
+ }
695
729
  // @ts-ignore
696
- return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { label: this.label, caption: caption }, h("slot", { name: "header" }), !this.files.size && (h("duet-label", { part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", theme: this.theme === "turva" ? "turva" : "default", size: "small", class: {
730
+ return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { label: this.label, caption: !this.captionOnBottom ? caption : undefined }, h("slot", { name: "header" }), !this.files.size && (h("duet-label", { part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", theme: this.theme === "turva" ? "turva" : "default", size: "small", class: {
697
731
  "duet-upload-filelist-empty": !this.files.size,
698
732
  "duet-upload-filelist": true,
699
733
  "duet-upload-filelist-filled": this.files.size,
700
734
  }, id: this.labelId, for: identifier }, h("span", { class: {
701
735
  "duet-upload-filelist-empty-label": !this.files.size,
702
- } }, this.fileListEmpty))), !!this.files.size && h("slot", { name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderEditableTableGroups(), !!this.files.size && h("slot", { name: "filefooter" }), h("duet-spacer", { size: "large" }), !this.hideButton && (h("duet-button", { id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel)), h("duet-spacer", { size: "medium" }), (this.fileMaxReached || this.bytesMaxReached) && (h("duet-alert", { part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes))), h("duet-spacer", { size: "medium" }), h("duet-visually-hidden", { "aria-hidden": "true" }, h("input", { ref: input => {
736
+ } }, this.fileListEmpty))), !!this.files.size && h("slot", { name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderEditableTableGroups(), !!this.files.size && h("slot", { name: "filefooter" }), h("slot", { name: "footer" }), this.captionOnBottom && (h("duet-caption", { size: "small" }, h("div", { class: "upload-bottom-caption" }, caption))), h("slot", { name: "afterfooter" }), h("duet-spacer", { size: "large" }), !this.hideButton && (h("duet-button", { id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel)), h("duet-spacer", { size: "medium" }), (this.fileMaxReached || this.bytesMaxReached) && (h("duet-alert", { part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes))), h("duet-spacer", { size: "medium" }), h("duet-visually-hidden", { "aria-hidden": "true" }, h("input", { ref: input => {
703
737
  this.nativeInput = input;
704
738
  }, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
705
739
  "duet-upload": true,
@@ -939,7 +973,7 @@ export class DuetUpload {
939
973
  "references": {
940
974
  "XHRInternalMiddleWare": {
941
975
  "location": "local",
942
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
976
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
943
977
  }
944
978
  }
945
979
  },
@@ -1318,7 +1352,7 @@ export class DuetUpload {
1318
1352
  "references": {
1319
1353
  "StringMap": {
1320
1354
  "location": "local",
1321
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
1355
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
1322
1356
  }
1323
1357
  }
1324
1358
  },
@@ -1694,6 +1728,41 @@ export class DuetUpload {
1694
1728
  "attribute": "value",
1695
1729
  "reflect": false
1696
1730
  },
1731
+ "externalUploadButtonId": {
1732
+ "type": "string",
1733
+ "mutable": false,
1734
+ "complexType": {
1735
+ "original": "string",
1736
+ "resolved": "string",
1737
+ "references": {}
1738
+ },
1739
+ "required": false,
1740
+ "optional": false,
1741
+ "docs": {
1742
+ "tags": [],
1743
+ "text": "Id of external uploadButton of the input used for setting accessibility attributes."
1744
+ },
1745
+ "attribute": "external-upload-button-id",
1746
+ "reflect": false
1747
+ },
1748
+ "captionOnBottom": {
1749
+ "type": "boolean",
1750
+ "mutable": false,
1751
+ "complexType": {
1752
+ "original": "boolean",
1753
+ "resolved": "boolean",
1754
+ "references": {}
1755
+ },
1756
+ "required": false,
1757
+ "optional": false,
1758
+ "docs": {
1759
+ "tags": [],
1760
+ "text": "If true the input caption will be placed below file list and footer"
1761
+ },
1762
+ "attribute": "caption-on-bottom",
1763
+ "reflect": false,
1764
+ "defaultValue": "false"
1765
+ },
1697
1766
  "groups": {
1698
1767
  "type": "unknown",
1699
1768
  "mutable": false,
@@ -1703,7 +1772,7 @@ export class DuetUpload {
1703
1772
  "references": {
1704
1773
  "DuetUploadTableGroupName": {
1705
1774
  "location": "local",
1706
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
1775
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
1707
1776
  }
1708
1777
  }
1709
1778
  },
@@ -1719,7 +1788,7 @@ export class DuetUpload {
1719
1788
  }],
1720
1789
  "text": "Array of group names that you want the editable table to use to display files"
1721
1790
  },
1722
- "defaultValue": "[\n {\n id: this.DefaultGroups.pending,\n label: {\n en: \"Files to upload\",\n sv: \"Filer att ladda\",\n fi: \"Ladattavat tiedostot\",\n },\n },\n {\n id: this.DefaultGroups.success,\n label: {\n fi: \"Valmiit tiedostot\",\n sv: \"Files success\",\n en: \"Files success\",\n },\n },\n {\n id: this.DefaultGroups.failure,\n label: {\n fi: \"Tiedostot, joissa on virheit\u00E4\",\n sv: \"Filer med fel\",\n en: \"Files with errors\",\n },\n },\n {\n id: this.DefaultGroups.inprogress,\n label: {\n fi: \"Kesken olevat tiedostot\",\n sv: \"Filer inprogress\",\n en: \"Files inprogress\",\n },\n },\n ]"
1791
+ "defaultValue": "[\n {\n id: this.DefaultGroups.success,\n label: {\n fi: \"Valmiit tiedostot\",\n sv: \"Files success\",\n en: \"Files success\",\n },\n },\n {\n id: this.DefaultGroups.failure,\n label: {\n fi: \"Tiedostot, joissa on virheit\u00E4\",\n sv: \"Filer med fel\",\n en: \"Files with errors\",\n },\n },\n {\n id: this.DefaultGroups.inprogress,\n label: {\n fi: \"Kesken olevat tiedostot\",\n sv: \"Filer inprogress\",\n en: \"Files inprogress\",\n },\n },\n {\n id: this.DefaultGroups.pending,\n label: {\n en: \"Files to upload\",\n sv: \"Filer att ladda\",\n fi: \"Ladattavat tiedostot\",\n },\n },\n ]"
1723
1792
  }
1724
1793
  };
1725
1794
  }
@@ -1745,7 +1814,7 @@ export class DuetUpload {
1745
1814
  "references": {
1746
1815
  "DuetUploadEvent": {
1747
1816
  "location": "local",
1748
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
1817
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
1749
1818
  }
1750
1819
  }
1751
1820
  }
@@ -1765,7 +1834,7 @@ export class DuetUpload {
1765
1834
  "references": {
1766
1835
  "DuetUploadEvent": {
1767
1836
  "location": "local",
1768
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
1837
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
1769
1838
  }
1770
1839
  }
1771
1840
  }
@@ -1785,7 +1854,7 @@ export class DuetUpload {
1785
1854
  "references": {
1786
1855
  "DuetUploadEvent": {
1787
1856
  "location": "local",
1788
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
1857
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
1789
1858
  }
1790
1859
  }
1791
1860
  }
@@ -1805,7 +1874,7 @@ export class DuetUpload {
1805
1874
  "references": {
1806
1875
  "DuetUploadEvent": {
1807
1876
  "location": "local",
1808
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
1877
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
1809
1878
  }
1810
1879
  }
1811
1880
  }
@@ -1825,7 +1894,7 @@ export class DuetUpload {
1825
1894
  "references": {
1826
1895
  "DuetUploadEvent": {
1827
1896
  "location": "local",
1828
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
1897
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
1829
1898
  }
1830
1899
  }
1831
1900
  }
@@ -1845,7 +1914,7 @@ export class DuetUpload {
1845
1914
  "references": {
1846
1915
  "DuetUploadEvent": {
1847
1916
  "location": "local",
1848
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
1917
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
1849
1918
  }
1850
1919
  }
1851
1920
  }
@@ -1865,7 +1934,7 @@ export class DuetUpload {
1865
1934
  "references": {
1866
1935
  "DuetUploadEvent": {
1867
1936
  "location": "local",
1868
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
1937
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
1869
1938
  }
1870
1939
  }
1871
1940
  }
@@ -1885,7 +1954,7 @@ export class DuetUpload {
1885
1954
  "references": {
1886
1955
  "DuetUploadEvent": {
1887
1956
  "location": "local",
1888
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
1957
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
1889
1958
  }
1890
1959
  }
1891
1960
  }
@@ -1905,7 +1974,7 @@ export class DuetUpload {
1905
1974
  "references": {
1906
1975
  "DuetUploadEvent": {
1907
1976
  "location": "local",
1908
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
1977
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
1909
1978
  }
1910
1979
  }
1911
1980
  }
@@ -1925,7 +1994,7 @@ export class DuetUpload {
1925
1994
  "references": {
1926
1995
  "DuetUploadEvent": {
1927
1996
  "location": "local",
1928
- "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
1997
+ "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx"
1929
1998
  }
1930
1999
  }
1931
2000
  }
@@ -2,4 +2,4 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { h } from "@stencil/core";
5
- export const ProgressItem = ({ progress, name }) => (h("span", { class: "duet-upload-item-name" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name, h("br", null), h("duet-progress", { progress: Math.ceil(progress), "aria-hidden": true })));
5
+ export const ProgressItem = ({ progress, name }) => (h("span", { class: "duet-upload-item-name" }, h("duet-paragraph", { class: "duet-upload-item-name", color: "gray-darker", margin: "none", weight: "semi-bold" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name), h("br", null), h("duet-progress", { progress: Math.ceil(progress), "aria-hidden": true })));
@@ -4,11 +4,19 @@
4
4
  import { h } from "@stencil/core";
5
5
  import { formatBytes } from "./upload.helpers";
6
6
  export const SuccessItem = ({ data, showLinks }) => {
7
- const { item, size, uploaded, url, meta } = data;
7
+ const { item, size, uploaded, url } = data;
8
8
  const { name } = item;
9
9
  const ContentName = (h("span", { class: "duet-upload-item-name" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name));
10
10
  const SizeText = (h("span", { class: "duet-upload-item-size", style: { fontSize: "14px", fontWeight: "400" } }, "(", formatBytes(size), ")"));
11
11
  const FilenameLine = uploaded && url && showLinks ? (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, h("duet-link", { url: url, external: true }, ContentName), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText)) : (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, ContentName, h("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText));
12
- const Badges = meta && meta.badges ? (h("span", null, h("duet-spacer", { size: "xx-small" }), meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) : undefined;
13
- return (h("span", { class: "duet-upload-item-success" }, h("div", null, FilenameLine), Badges));
12
+ // const Badges =
13
+ // meta && meta.badges ? (
14
+ // <span>
15
+ // <duet-spacer size="xx-small"></duet-spacer>
16
+ // {meta.badges.map(badgeText => (
17
+ // <duet-badge color="primary">{badgeText}</duet-badge>
18
+ // ))}
19
+ // </span>
20
+ // ) : undefined
21
+ return (h("span", { class: "duet-upload-item-success" }, h("div", null, FilenameLine)));
14
22
  };
@@ -0,0 +1,8 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { h } from "@stencil/core";
5
+ export const UploadCategory = ({ meta }) => {
6
+ const Badges = meta && meta.badges ? (h("span", null, h("duet-spacer", { size: "xx-small" }), meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) : (h("span", null));
7
+ return Badges;
8
+ };
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { h } from "@stencil/core";
5
+ import { formatBytes } from "./upload.helpers";
6
+ export const UploadItem = ({ data, showLinks }) => {
7
+ const { item, size, uploaded, url, meta } = data;
8
+ const { name } = item;
9
+ const ContentName = (h("span", { class: "duet-upload-item-name" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name));
10
+ const SizeText = (h("span", { class: "duet-upload-item-size", style: { fontSize: "14px", fontWeight: "400" } }, "(", formatBytes(size), ")"));
11
+ const FilenameLine = uploaded && url && showLinks ? (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, h("duet-link", { url: url, external: true }, ContentName), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText)) : (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, ContentName, h("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText));
12
+ const Badges = meta && meta.badges ? (h("span", null, h("duet-spacer", { size: "xx-small" }), meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) : undefined;
13
+ return (h("div", { class: {
14
+ test: true,
15
+ } }, h("div", { class: "item-categories" }, Badges), h("div", { class: "item-label" }, FilenameLine), h("div", { class: "item-actions" }, "ACTIONS")));
16
+ };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-f41d4dba.js';
4
+ import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-46027643.js';
5
5
 
6
6
  const DuetActionButton = DuetActionButton$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 DuetAlert$1, d as defineCustomElement$1 } from './p-104dae34.js';
4
+ import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-de338e31.js';
5
5
 
6
6
  const DuetAlert = DuetAlert$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 DuetBadge$1, d as defineCustomElement$1 } from './p-a89fd096.js';
4
+ import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-d56e25b8.js';
5
5
 
6
6
  const DuetBadge = DuetBadge$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-49026ea5.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-33ba43e1.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
- import { d as defineCustomElement$2 } from './p-d4995343.js';
6
+ import { d as defineCustomElement$2 } from './p-a4fc8229.js';
7
7
 
8
8
  const duetBreadcrumbCss = "*,*::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;display:block;width:100%}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:rgb(0, 41, 77);text-decoration:none}.duet-breadcrumb:hover{color:rgb(0, 77, 128)}.duet-breadcrumb.duet-theme-turva{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-theme-turva:hover{color:rgb(148, 9, 37)}.duet-breadcrumb:focus{outline:0}.duet-breadcrumb:active{opacity:0.75}:host(.user-is-tabbing) .duet-breadcrumb:focus{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-breadcrumb.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-breadcrumb.duet-breadcrumb-without-href:hover{color:rgb(0, 41, 77)}.duet-breadcrumb.duet-breadcrumb-without-href.duet-theme-turva:hover{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:active{opacity:1}";
9
9
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-49026ea5.js';
4
+ import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-33ba43e1.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { g as getLocaleString } from './p-6c05e879.js';
7
- import { d as defineCustomElement$2 } from './p-d4995343.js';
7
+ import { d as defineCustomElement$2 } from './p-a4fc8229.js';
8
8
 
9
9
  var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
10
10
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetButton$1, d as defineCustomElement$1 } from './p-fa93f54b.js';
4
+ import { D as DuetButton$1, d as defineCustomElement$1 } from './p-32e43a11.js';
5
5
 
6
6
  const DuetButton = DuetButton$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 DuetCaption$1, d as defineCustomElement$1 } from './p-2b8d110c.js';
4
+ import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-6713af30.js';
5
5
 
6
6
  const DuetCaption = DuetCaption$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -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, F as Fragment, d as Host } from './p-49026ea5.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-33ba43e1.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { c as createID } from './p-c1325e35.js';
7
7
  import { i as isKeyboardClick } from './p-d8549efe.js';
8
8
  import { s as sanitizeString } from './p-5a9d75e1.js';
9
9
  import { g as getColorByName } from './p-9ed347f9.js';
10
- import { d as defineCustomElement$3 } from './p-d4995343.js';
11
- import { d as defineCustomElement$2 } from './p-e9e98c22.js';
10
+ import { d as defineCustomElement$3 } from './p-a4fc8229.js';
11
+ import { d as defineCustomElement$2 } from './p-c6743310.js';
12
12
 
13
13
  const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
14
14
  const duetBlock = "div";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-5333970a.js';
4
+ import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-068064d2.js';
5
5
 
6
6
  const DuetCheckbox = DuetCheckbox$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 DuetCheckmark$1, d as defineCustomElement$1 } from './p-a53cebf1.js';
4
+ import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-1bb1bc0f.js';
5
5
 
6
6
  const DuetCheckmark = DuetCheckmark$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, h, d as Host } from './p-49026ea5.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-33ba43e1.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { f as findCheckedOption, w as watchForOptions } from './p-12721178.js';
7
- import { d as defineCustomElement$6 } from './p-2b8d110c.js';
8
- import { d as defineCustomElement$5 } from './p-6891c1b3.js';
9
- import { d as defineCustomElement$4 } from './p-d4995343.js';
10
- import { d as defineCustomElement$3 } from './p-7cccb592.js';
11
- import { d as defineCustomElement$2 } from './p-03f5e1df.js';
7
+ import { d as defineCustomElement$6 } from './p-6713af30.js';
8
+ import { d as defineCustomElement$5 } from './p-a9c9cbc3.js';
9
+ import { d as defineCustomElement$4 } from './p-a4fc8229.js';
10
+ import { d as defineCustomElement$3 } from './p-c94512a3.js';
11
+ import { d as defineCustomElement$2 } from './p-56443db2.js';
12
12
 
13
- const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:0}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
13
+ const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
14
14
 
15
15
  const duetChoiceSelector = ":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)";
16
16
  const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
@@ -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-49026ea5.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-33ba43e1.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-2b8d110c.js';
12
- import { d as defineCustomElement$4 } from './p-d4995343.js';
13
- import { d as defineCustomElement$3 } from './p-e9e98c22.js';
14
- import { d as defineCustomElement$2 } from './p-03f5e1df.js';
11
+ import { d as defineCustomElement$5 } from './p-6713af30.js';
12
+ import { d as defineCustomElement$4 } from './p-a4fc8229.js';
13
+ import { d as defineCustomElement$3 } from './p-c6743310.js';
14
+ import { d as defineCustomElement$2 } from './p-56443db2.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-49026ea5.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-33ba43e1.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-d4995343.js';
11
+ import { d as defineCustomElement$2 } from './p-a4fc8229.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