@duetds/components 6.10.0 → 6.10.2

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 (564) hide show
  1. package/hydrate/index.js +110 -18
  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-banner.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-collapsible.cjs.entry.js +5 -3
  16. package/lib/cjs/duet-combobox.cjs.entry.js +13 -10
  17. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-editable-table_3.cjs.entry.js +43 -5
  22. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-shaped-image.cjs.entry.js +43 -0
  52. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  56. package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
  57. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -2
  69. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  72. package/lib/cjs/duet.cjs.js +2 -2
  73. package/lib/cjs/{focus-utils-fbc4272e.js → focus-utils-a7ec8d4d.js} +1 -1
  74. package/lib/cjs/{index-800daca9.js → index-b91d0c7f.js} +1 -1
  75. package/lib/cjs/loader.cjs.js +2 -2
  76. package/lib/collection/collection-manifest.json +1 -0
  77. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  78. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  79. package/lib/collection/components/duet-button/duet-button.js +5 -5
  80. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  81. package/lib/collection/components/duet-card/duet-card.js +3 -3
  82. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  83. package/lib/collection/components/duet-choice/duet-choice.css +4 -2
  84. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  85. package/lib/collection/components/duet-collapsible/duet-collapsible.css +10 -2
  86. package/lib/collection/components/duet-collapsible/duet-collapsible.js +25 -4
  87. package/lib/collection/components/duet-combobox/duet-combobox.js +16 -13
  88. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  89. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  90. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  91. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  92. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  93. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  94. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  95. package/lib/collection/components/duet-header/duet-header.js +15 -15
  96. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  97. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  98. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  99. package/lib/collection/components/duet-input/duet-input.js +8 -8
  100. package/lib/collection/components/duet-label/duet-label.js +2 -2
  101. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  102. package/lib/collection/components/duet-list/duet-list.js +3 -3
  103. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  104. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  105. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  106. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  107. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  108. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  109. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  110. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  111. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  112. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  113. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  114. package/lib/collection/components/duet-select/duet-select.js +5 -5
  115. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +73 -0
  116. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +149 -0
  117. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  118. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  119. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  120. package/lib/collection/components/duet-step/duet-step.js +2 -2
  121. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  122. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +1 -1
  123. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  124. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  125. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  126. package/lib/collection/components/duet-tooltip/duet-tooltip.js +5 -3
  127. package/lib/collection/components/duet-upload/duet-upload.js +70 -16
  128. package/lib/collection/components/duet-upload/upload-item.js +8 -2
  129. package/lib/collection/components/duet-upload/upload-validators.js +6 -0
  130. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  131. package/lib/dist-custom-elements/duet-alert.js +1 -1
  132. package/lib/dist-custom-elements/duet-badge.js +1 -1
  133. package/lib/dist-custom-elements/duet-banner.js +4 -4
  134. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  135. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  136. package/lib/dist-custom-elements/duet-button.js +1 -1
  137. package/lib/dist-custom-elements/duet-callout.js +3 -3
  138. package/lib/dist-custom-elements/duet-caption.js +1 -1
  139. package/lib/dist-custom-elements/duet-card.js +3 -3
  140. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  141. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  142. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  143. package/lib/dist-custom-elements/duet-choice.js +6 -6
  144. package/lib/dist-custom-elements/duet-collapsible.js +7 -4
  145. package/lib/dist-custom-elements/duet-combobox.js +14 -11
  146. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  147. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  148. package/lib/dist-custom-elements/duet-date-picker.js +10 -10
  149. package/lib/dist-custom-elements/duet-divider.js +1 -1
  150. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  151. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  152. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  153. package/lib/dist-custom-elements/duet-footer.js +4 -4
  154. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  155. package/lib/dist-custom-elements/duet-grid.js +1 -1
  156. package/lib/dist-custom-elements/duet-header.js +8 -8
  157. package/lib/dist-custom-elements/duet-heading.js +1 -1
  158. package/lib/dist-custom-elements/duet-hero.js +9 -9
  159. package/lib/dist-custom-elements/duet-icon.js +1 -1
  160. package/lib/dist-custom-elements/duet-input.js +1 -1
  161. package/lib/dist-custom-elements/duet-label.js +1 -1
  162. package/lib/dist-custom-elements/duet-layout.js +1 -1
  163. package/lib/dist-custom-elements/duet-link.js +1 -1
  164. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  165. package/lib/dist-custom-elements/duet-list.js +1 -1
  166. package/lib/dist-custom-elements/duet-logo.js +1 -1
  167. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  168. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  169. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  170. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  171. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  172. package/lib/dist-custom-elements/duet-modal.js +7 -7
  173. package/lib/dist-custom-elements/duet-multiselect.js +8 -8
  174. package/lib/dist-custom-elements/duet-nav.js +1 -1
  175. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  176. package/lib/dist-custom-elements/duet-notification.js +2 -2
  177. package/lib/dist-custom-elements/duet-number-input.js +9 -9
  178. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  179. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  180. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  181. package/lib/dist-custom-elements/duet-progress.js +1 -1
  182. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  183. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  184. package/lib/dist-custom-elements/duet-radio.js +1 -1
  185. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  186. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  187. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  188. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  189. package/lib/dist-custom-elements/duet-select.js +1 -1
  190. package/lib/dist-custom-elements/duet-shaped-image.d.ts +11 -0
  191. package/lib/dist-custom-elements/duet-shaped-image.js +63 -0
  192. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  193. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  194. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  195. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  196. package/lib/dist-custom-elements/duet-slideout.js +2 -2
  197. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  198. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  199. package/lib/dist-custom-elements/duet-step.js +4 -4
  200. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  201. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  202. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  203. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  204. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  205. package/lib/dist-custom-elements/duet-tab-group.js +11 -11
  206. package/lib/dist-custom-elements/duet-tab.js +1 -1
  207. package/lib/dist-custom-elements/duet-table.js +1 -1
  208. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  209. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  210. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  211. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  212. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  213. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  214. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  215. package/lib/dist-custom-elements/duet-tray.js +3 -3
  216. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  217. package/lib/dist-custom-elements/duet-upload.js +60 -21
  218. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  219. package/lib/dist-custom-elements/index.js +1 -1
  220. package/lib/dist-custom-elements/{p-fa14c66f.js → p-00f8d4bc.js} +1 -1
  221. package/lib/dist-custom-elements/{p-82c34274.js → p-05139591.js} +1 -1
  222. package/lib/dist-custom-elements/{p-57ad5c17.js → p-1b3de4b8.js} +1 -1
  223. package/lib/dist-custom-elements/{p-df44c118.js → p-227cc94f.js} +1 -1
  224. package/lib/dist-custom-elements/{p-3545220c.js → p-2747b8c6.js} +4 -4
  225. package/lib/dist-custom-elements/{p-f68e555b.js → p-28658e20.js} +8 -8
  226. package/lib/dist-custom-elements/{p-552a5bb2.js → p-2b132855.js} +1 -1
  227. package/lib/dist-custom-elements/{p-9c8cfcf0.js → p-3595aea9.js} +1 -1
  228. package/lib/dist-custom-elements/{p-97fb5b2d.js → p-38b3c30a.js} +6 -4
  229. package/lib/dist-custom-elements/{p-3030c398.js → p-39c6c68e.js} +1 -1
  230. package/lib/dist-custom-elements/{p-f4aef53f.js → p-4197b9ee.js} +2 -2
  231. package/lib/dist-custom-elements/{p-b55f0f8e.js → p-419d2da0.js} +6 -6
  232. package/lib/dist-custom-elements/{p-e64e9069.js → p-58105b4f.js} +1 -1
  233. package/lib/dist-custom-elements/{p-e04baccc.js → p-62f3b6cb.js} +3 -3
  234. package/lib/dist-custom-elements/{p-d1414d18.js → p-6de01596.js} +1 -1
  235. package/lib/dist-custom-elements/{p-8cd13b05.js → p-6f4b6168.js} +1 -1
  236. package/lib/dist-custom-elements/{p-b2671479.js → p-7d6d90bc.js} +1 -1
  237. package/lib/dist-custom-elements/{p-636fb80b.js → p-8638ba69.js} +1 -1
  238. package/lib/dist-custom-elements/{p-b24fe485.js → p-8fb68cb1.js} +2 -2
  239. package/lib/dist-custom-elements/{p-3ad54bf2.js → p-96b624ec.js} +1 -1
  240. package/lib/dist-custom-elements/{p-dfe1f0a8.js → p-9e83a449.js} +2 -2
  241. package/lib/dist-custom-elements/{p-741d215a.js → p-a0f68c00.js} +3 -3
  242. package/lib/dist-custom-elements/{p-a938b3e8.js → p-beca0ced.js} +1 -1
  243. package/lib/dist-custom-elements/{p-5c435996.js → p-c202693f.js} +1 -1
  244. package/lib/dist-custom-elements/{p-96efa345.js → p-d6a6460a.js} +1 -1
  245. package/lib/dist-custom-elements/{p-383843b5.js → p-e3ac121c.js} +5 -5
  246. package/lib/dist-custom-elements/{p-74d7de0d.js → p-e3acab40.js} +2 -2
  247. package/lib/dist-custom-elements/{p-78011b32.js → p-e6f6efa6.js} +1 -1
  248. package/lib/dist-custom-elements/{p-37238939.js → p-ea756e9e.js} +5 -5
  249. package/lib/dist-custom-elements/{p-72e6996e.js → p-eb29050b.js} +1 -1
  250. package/lib/dist-custom-elements/{p-3d2d4efa.js → p-f6b5ce88.js} +1 -1
  251. package/lib/duet/duet.esm.js +1 -1
  252. package/lib/duet/duet.js +1 -1
  253. package/lib/duet/{p-012a2ce0.entry.js → p-03522bb4.entry.js} +1 -1
  254. package/lib/duet/{p-bdbb23d4.entry.js → p-058dfaad.entry.js} +1 -1
  255. package/lib/duet/{p-688b7b42.entry.js → p-07300cb6.entry.js} +1 -1
  256. package/lib/duet/{p-1e387d9c.system.entry.js → p-073221c9.system.entry.js} +1 -1
  257. package/lib/duet/{p-ea28689d.system.entry.js → p-0738bb7d.system.entry.js} +1 -1
  258. package/lib/duet/p-077edef7.entry.js +4 -0
  259. package/lib/duet/p-0952d4a4.system.entry.js +4 -0
  260. package/lib/duet/{p-a16866b0.system.entry.js → p-09daf29e.system.entry.js} +1 -1
  261. package/lib/duet/{p-2cf703de.system.entry.js → p-0b34d9b5.system.entry.js} +1 -1
  262. package/lib/duet/{p-c3e1efb3.entry.js → p-0dda8331.entry.js} +1 -1
  263. package/lib/duet/{p-c4c876ea.entry.js → p-0fbdbb6a.entry.js} +1 -1
  264. package/lib/duet/{p-008c1a58.entry.js → p-13384099.entry.js} +1 -1
  265. package/lib/duet/{p-4e0b6493.system.entry.js → p-17d2c223.system.entry.js} +1 -1
  266. package/lib/duet/{p-3013b019.system.entry.js → p-17dc8da9.system.entry.js} +1 -1
  267. package/lib/duet/{p-ec21d1c7.system.entry.js → p-1a542b7c.system.entry.js} +1 -1
  268. package/lib/duet/{p-2d4742d1.entry.js → p-1b11e540.entry.js} +1 -1
  269. package/lib/duet/{p-e068a95b.entry.js → p-1b426189.entry.js} +1 -1
  270. package/lib/duet/{p-6fbef5ba.system.entry.js → p-1c7ad230.system.entry.js} +1 -1
  271. package/lib/duet/{p-54a0dcf8.system.entry.js → p-1d3647c6.system.entry.js} +1 -1
  272. package/lib/duet/{p-0027ddbf.system.entry.js → p-1d73a1d2.system.entry.js} +1 -1
  273. package/lib/duet/{p-ecd6a076.system.entry.js → p-1df0bbf9.system.entry.js} +1 -1
  274. package/lib/duet/{p-a22f0c5b.system.entry.js → p-1e6f5e74.system.entry.js} +1 -1
  275. package/lib/duet/{p-4f0a0167.system.entry.js → p-1f3d12d2.system.entry.js} +1 -1
  276. package/lib/duet/{p-fd1df6f3.js → p-225d9dbe.js} +1 -1
  277. package/lib/duet/{p-8ba78e5c.entry.js → p-22dd2fab.entry.js} +1 -1
  278. package/lib/duet/{p-037c4435.entry.js → p-22e418ea.entry.js} +1 -1
  279. package/lib/duet/{p-e0da6f8e.entry.js → p-245a63f4.entry.js} +1 -1
  280. package/lib/duet/{p-00a09181.system.entry.js → p-2528a411.system.entry.js} +1 -1
  281. package/lib/duet/{p-b3579acc.entry.js → p-29ce564d.entry.js} +1 -1
  282. package/lib/duet/{p-000412ac.entry.js → p-2a277fb6.entry.js} +1 -1
  283. package/lib/duet/{p-a3d2b027.system.entry.js → p-2cab347d.system.entry.js} +1 -1
  284. package/lib/duet/{p-283ebb7f.system.entry.js → p-2d3dbd85.system.entry.js} +1 -1
  285. package/lib/duet/{p-08720a1b.entry.js → p-2f8c7a7d.entry.js} +1 -1
  286. package/lib/duet/{p-a5591ee4.system.entry.js → p-30551712.system.entry.js} +1 -1
  287. package/lib/duet/{p-bb49aaf4.js → p-308b881b.js} +1 -1
  288. package/lib/duet/{p-1fa425d5.entry.js → p-30c684e8.entry.js} +1 -1
  289. package/lib/duet/{p-cb3fd41e.entry.js → p-32237f45.entry.js} +1 -1
  290. package/lib/duet/{p-abf41f20.system.entry.js → p-36edc06c.system.entry.js} +1 -1
  291. package/lib/duet/{p-adcc189e.system.entry.js → p-379e2995.system.entry.js} +1 -1
  292. package/lib/duet/{p-3e45156d.entry.js → p-39496689.entry.js} +1 -1
  293. package/lib/duet/{p-47764e81.entry.js → p-3a0676ab.entry.js} +1 -1
  294. package/lib/duet/{p-44cb4f55.entry.js → p-3b70cce3.entry.js} +1 -1
  295. package/lib/duet/p-420dfc2c.entry.js +4 -0
  296. package/lib/duet/{p-68b3fb35.entry.js → p-42e270f3.entry.js} +1 -1
  297. package/lib/duet/{p-46429778.system.entry.js → p-4a97ca92.system.entry.js} +1 -1
  298. package/lib/duet/{p-709a3bcc.system.entry.js → p-4f4ed95d.system.entry.js} +1 -1
  299. package/lib/duet/{p-2df896f8.entry.js → p-5048f9a7.entry.js} +1 -1
  300. package/lib/duet/{p-602d682c.system.entry.js → p-55952227.system.entry.js} +1 -1
  301. package/lib/duet/{p-b9475ad6.entry.js → p-56b92797.entry.js} +1 -1
  302. package/lib/duet/{p-9872b3f8.entry.js → p-5ad63594.entry.js} +1 -1
  303. package/lib/duet/{p-0c8eaaff.entry.js → p-5c444839.entry.js} +1 -1
  304. package/lib/duet/{p-47e4204e.system.entry.js → p-5c4a2f44.system.entry.js} +1 -1
  305. package/lib/duet/{p-13ec59a5.system.entry.js → p-5e7dc52a.system.entry.js} +1 -1
  306. package/lib/duet/{p-1ff0cf82.entry.js → p-5f2e386e.entry.js} +1 -1
  307. package/lib/duet/{p-3fb081dc.system.entry.js → p-62b435d1.system.entry.js} +1 -1
  308. package/lib/duet/{p-e53bec6b.system.js → p-62b68de6.system.js} +1 -1
  309. package/lib/duet/{p-d2dcddae.entry.js → p-62c70a95.entry.js} +1 -1
  310. package/lib/duet/{p-149a950c.entry.js → p-637f635a.entry.js} +1 -1
  311. package/lib/duet/{p-f3c8d6d0.entry.js → p-6392cafe.entry.js} +1 -1
  312. package/lib/duet/{p-0564c573.entry.js → p-6486ab91.entry.js} +1 -1
  313. package/lib/duet/{p-9c311a34.entry.js → p-65a5fdd5.entry.js} +1 -1
  314. package/lib/duet/{p-2e4c06ab.system.entry.js → p-673127ac.system.entry.js} +1 -1
  315. package/lib/duet/{p-35bd03c7.system.entry.js → p-6766ef3d.system.entry.js} +1 -1
  316. package/lib/duet/{p-ae1b8005.entry.js → p-6a07feba.entry.js} +1 -1
  317. package/lib/duet/{p-f5148591.system.entry.js → p-6a42d57c.system.entry.js} +1 -1
  318. package/lib/duet/{p-81250a24.system.entry.js → p-6a89c7d0.system.entry.js} +1 -1
  319. package/lib/duet/{p-2e9306c2.system.entry.js → p-6a9319ad.system.entry.js} +1 -1
  320. package/lib/duet/{p-6455f7e3.system.entry.js → p-6ad538a7.system.entry.js} +1 -1
  321. package/lib/duet/{p-bb9f0ac9.entry.js → p-6c1a2b16.entry.js} +1 -1
  322. package/lib/duet/{p-613310ba.entry.js → p-72a2ff4d.entry.js} +1 -1
  323. package/lib/duet/{p-6a37cde4.system.entry.js → p-72d1f618.system.entry.js} +1 -1
  324. package/lib/duet/{p-afcb0adb.entry.js → p-75898c81.entry.js} +1 -1
  325. package/lib/duet/{p-b7c95452.system.entry.js → p-770d0c35.system.entry.js} +1 -1
  326. package/lib/duet/{p-23baee2b.system.entry.js → p-779be7c6.system.entry.js} +1 -1
  327. package/lib/duet/{p-70ebb998.entry.js → p-78cb4832.entry.js} +1 -1
  328. package/lib/duet/{p-f9a7f80a.system.entry.js → p-7dea5e1a.system.entry.js} +1 -1
  329. package/lib/duet/{p-988287b4.entry.js → p-7f8020bf.entry.js} +1 -1
  330. package/lib/duet/p-80f4a443.system.js +4 -0
  331. package/lib/duet/{p-9a508e8a.system.entry.js → p-81668ed2.system.entry.js} +1 -1
  332. package/lib/duet/{p-1e494e22.entry.js → p-85ad609f.entry.js} +1 -1
  333. package/lib/duet/p-87f85912.system.entry.js +4 -0
  334. package/lib/duet/{p-8859f327.system.entry.js → p-89d9030e.system.entry.js} +1 -1
  335. package/lib/duet/{p-5479176d.system.entry.js → p-8c404f51.system.entry.js} +1 -1
  336. package/lib/duet/{p-232e3448.entry.js → p-8c9d67e4.entry.js} +1 -1
  337. package/lib/duet/p-8cf1327e.entry.js +4 -0
  338. package/lib/duet/{p-6d088fe1.entry.js → p-8ec5c49e.entry.js} +1 -1
  339. package/lib/duet/{p-6f943c89.entry.js → p-8f7f4724.entry.js} +1 -1
  340. package/lib/duet/p-8faea849.entry.js +4 -0
  341. package/lib/duet/{p-701e3dfb.system.entry.js → p-909e088e.system.entry.js} +1 -1
  342. package/lib/duet/{p-14b1b60b.system.entry.js → p-91a5c4fd.system.entry.js} +1 -1
  343. package/lib/duet/{p-9ce10545.system.entry.js → p-91df8a4a.system.entry.js} +1 -1
  344. package/lib/duet/{p-a69723b1.entry.js → p-925f2b45.entry.js} +1 -1
  345. package/lib/duet/{p-3e0e17a0.system.entry.js → p-931c3e1f.system.entry.js} +1 -1
  346. package/lib/duet/{p-4ec4a8cf.system.entry.js → p-93ef4cc2.system.entry.js} +1 -1
  347. package/lib/duet/{p-0559c939.system.entry.js → p-94d448f9.system.entry.js} +1 -1
  348. package/lib/duet/{p-e1777110.entry.js → p-98202339.entry.js} +1 -1
  349. package/lib/duet/{p-02f981f0.entry.js → p-9960de16.entry.js} +1 -1
  350. package/lib/duet/{p-82bdf011.entry.js → p-99a8b5f5.entry.js} +1 -1
  351. package/lib/duet/{p-4289d173.entry.js → p-9c554b07.entry.js} +1 -1
  352. package/lib/duet/{p-943b94e6.entry.js → p-a31222e3.entry.js} +1 -1
  353. package/lib/duet/{p-2fc605ca.system.entry.js → p-a4cc9386.system.entry.js} +1 -1
  354. package/lib/duet/{p-b60562d5.system.entry.js → p-a6917de1.system.entry.js} +1 -1
  355. package/lib/duet/{p-b07d932a.entry.js → p-a7c64d94.entry.js} +1 -1
  356. package/lib/duet/{p-6de132da.entry.js → p-a8a1d1f6.entry.js} +1 -1
  357. package/lib/duet/{p-2aaa024e.entry.js → p-ad3eba9a.entry.js} +1 -1
  358. package/lib/duet/{p-669a3254.system.entry.js → p-af3060c1.system.entry.js} +1 -1
  359. package/lib/duet/p-b17e6185.system.entry.js +4 -0
  360. package/lib/duet/{p-243440a4.entry.js → p-b3154717.entry.js} +1 -1
  361. package/lib/duet/p-b4e863ee.system.entry.js +4 -0
  362. package/lib/duet/p-b76ce62b.entry.js +4 -0
  363. package/lib/duet/{p-e6b03e98.entry.js → p-b906790d.entry.js} +1 -1
  364. package/lib/duet/{p-668f7c59.system.entry.js → p-bbadf525.system.entry.js} +1 -1
  365. package/lib/duet/{p-75bf0c67.system.js → p-bd1d0640.system.js} +1 -1
  366. package/lib/duet/{p-7b45a0a4.system.entry.js → p-c085e346.system.entry.js} +1 -1
  367. package/lib/duet/p-c1ccc327.entry.js +4 -0
  368. package/lib/duet/{p-aa7666da.entry.js → p-c424c794.entry.js} +1 -1
  369. package/lib/duet/{p-f1fb6acf.system.entry.js → p-c654f863.system.entry.js} +1 -1
  370. package/lib/duet/{p-92f91e36.system.entry.js → p-c794bee3.system.entry.js} +1 -1
  371. package/lib/duet/{p-026340a6.entry.js → p-c7fbe38a.entry.js} +1 -1
  372. package/lib/duet/{p-a2123bdd.system.entry.js → p-cad8060d.system.entry.js} +1 -1
  373. package/lib/duet/{p-7f29eda3.system.entry.js → p-cb5ebe92.system.entry.js} +1 -1
  374. package/lib/duet/{p-45656aff.system.entry.js → p-cf9279b9.system.entry.js} +1 -1
  375. package/lib/duet/{p-25497257.system.entry.js → p-cfde4f9a.system.entry.js} +1 -1
  376. package/lib/duet/{p-48de1718.entry.js → p-d159787d.entry.js} +1 -1
  377. package/lib/duet/{p-93f1e120.entry.js → p-d18383cd.entry.js} +1 -1
  378. package/lib/duet/{p-382edc5f.system.entry.js → p-d3323581.system.entry.js} +1 -1
  379. package/lib/duet/{p-e5f844b7.entry.js → p-d6a1c0de.entry.js} +1 -1
  380. package/lib/duet/p-d7425b07.entry.js +4 -0
  381. package/lib/duet/{p-86f91249.entry.js → p-d85d8db5.entry.js} +1 -1
  382. package/lib/duet/{p-34fc68cc.entry.js → p-dc9bf216.entry.js} +1 -1
  383. package/lib/duet/{p-2fa672b2.system.entry.js → p-de31586c.system.entry.js} +1 -1
  384. package/lib/duet/{p-888d9f0a.system.entry.js → p-e501bad4.system.entry.js} +1 -1
  385. package/lib/duet/{p-8934bed7.system.entry.js → p-e7af2cd8.system.entry.js} +1 -1
  386. package/lib/duet/{p-221f817d.system.entry.js → p-e9939ddb.system.entry.js} +1 -1
  387. package/lib/duet/{p-6476db2f.entry.js → p-eb9c8e60.entry.js} +1 -1
  388. package/lib/duet/{p-4eef93c1.system.entry.js → p-ed78f6fe.system.entry.js} +1 -1
  389. package/lib/duet/{p-b526eeaa.system.entry.js → p-ee909d5f.system.entry.js} +1 -1
  390. package/lib/duet/{p-e3465c7e.system.entry.js → p-ef033a06.system.entry.js} +1 -1
  391. package/lib/duet/{p-24745bad.system.entry.js → p-f4799c34.system.entry.js} +1 -1
  392. package/lib/duet/{p-1afc8ff9.system.entry.js → p-f5728af6.system.entry.js} +1 -1
  393. package/lib/duet/{p-238922fa.system.entry.js → p-f88ac93f.system.entry.js} +1 -1
  394. package/lib/duet/{p-9abdc5e1.entry.js → p-f8d00821.entry.js} +1 -1
  395. package/lib/duet/{p-f9d3080d.entry.js → p-fa400061.entry.js} +1 -1
  396. package/lib/duet/{p-185c367d.entry.js → p-fd33eb2c.entry.js} +1 -1
  397. package/lib/duet/{p-28e7bb58.entry.js → p-ff5f4d38.entry.js} +1 -1
  398. package/lib/esm/duet-action-button.entry.js +1 -1
  399. package/lib/esm/duet-alert.entry.js +1 -1
  400. package/lib/esm/duet-badge.entry.js +1 -1
  401. package/lib/esm/duet-banner.entry.js +1 -1
  402. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  403. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  404. package/lib/esm/duet-button_2.entry.js +1 -1
  405. package/lib/esm/duet-callout.entry.js +1 -1
  406. package/lib/esm/duet-caption_4.entry.js +1 -1
  407. package/lib/esm/duet-card.entry.js +1 -1
  408. package/lib/esm/duet-checkbox.entry.js +1 -1
  409. package/lib/esm/duet-checkmark.entry.js +1 -1
  410. package/lib/esm/duet-choice_2.entry.js +3 -3
  411. package/lib/esm/duet-collapsible.entry.js +5 -3
  412. package/lib/esm/duet-combobox.entry.js +13 -10
  413. package/lib/esm/duet-contact-card.entry.js +1 -1
  414. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  415. package/lib/esm/duet-date-picker.entry.js +2 -2
  416. package/lib/esm/duet-divider_2.entry.js +1 -1
  417. package/lib/esm/duet-editable-table_3.entry.js +43 -5
  418. package/lib/esm/duet-empty-state.entry.js +1 -1
  419. package/lib/esm/duet-fieldset.entry.js +1 -1
  420. package/lib/esm/duet-footer.entry.js +1 -1
  421. package/lib/esm/duet-grid_2.entry.js +1 -1
  422. package/lib/esm/duet-header_2.entry.js +1 -1
  423. package/lib/esm/duet-hero.entry.js +1 -1
  424. package/lib/esm/duet-icon.entry.js +1 -1
  425. package/lib/esm/duet-input_2.entry.js +1 -1
  426. package/lib/esm/duet-layout.entry.js +1 -1
  427. package/lib/esm/duet-list_2.entry.js +1 -1
  428. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  429. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  430. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  431. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  432. package/lib/esm/duet-menu-bar.entry.js +1 -1
  433. package/lib/esm/duet-modal.entry.js +2 -2
  434. package/lib/esm/duet-multiselect.entry.js +1 -1
  435. package/lib/esm/duet-nav.entry.js +1 -1
  436. package/lib/esm/duet-notification_2.entry.js +1 -1
  437. package/lib/esm/duet-number-input.entry.js +1 -1
  438. package/lib/esm/duet-page-heading.entry.js +1 -1
  439. package/lib/esm/duet-pagination_2.entry.js +1 -1
  440. package/lib/esm/duet-progress.entry.js +1 -1
  441. package/lib/esm/duet-promo-card.entry.js +1 -1
  442. package/lib/esm/duet-radio_2.entry.js +1 -1
  443. package/lib/esm/duet-range-slider.entry.js +1 -1
  444. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  445. package/lib/esm/duet-section-layout.entry.js +1 -1
  446. package/lib/esm/duet-select.entry.js +1 -1
  447. package/lib/esm/duet-shaped-image.entry.js +39 -0
  448. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  449. package/lib/esm/duet-slideout-link.entry.js +1 -1
  450. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  451. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  452. package/lib/esm/duet-slideout.entry.js +2 -2
  453. package/lib/esm/duet-step_2.entry.js +1 -1
  454. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  455. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  456. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  457. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  458. package/lib/esm/duet-textarea.entry.js +1 -1
  459. package/lib/esm/duet-toggle.entry.js +1 -1
  460. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  461. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  462. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  463. package/lib/esm/duet-toolbar.entry.js +1 -1
  464. package/lib/esm/duet-tooltip.entry.js +4 -2
  465. package/lib/esm/duet-tray.entry.js +1 -1
  466. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  467. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  468. package/lib/esm/duet.js +3 -3
  469. package/lib/esm/{focus-utils-28d5fb4c.js → focus-utils-552e67ed.js} +1 -1
  470. package/lib/esm/{index-36c4b0e6.js → index-5aaf4b5b.js} +1 -1
  471. package/lib/esm/loader.js +3 -3
  472. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  473. package/lib/esm-es5/duet-alert.entry.js +1 -1
  474. package/lib/esm-es5/duet-badge.entry.js +1 -1
  475. package/lib/esm-es5/duet-banner.entry.js +1 -1
  476. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  477. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  478. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  479. package/lib/esm-es5/duet-callout.entry.js +1 -1
  480. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  481. package/lib/esm-es5/duet-card.entry.js +1 -1
  482. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  483. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  484. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  485. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  486. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  487. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  488. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  489. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  490. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  491. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  492. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  493. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  494. package/lib/esm-es5/duet-footer.entry.js +1 -1
  495. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  496. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  497. package/lib/esm-es5/duet-hero.entry.js +1 -1
  498. package/lib/esm-es5/duet-icon.entry.js +1 -1
  499. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  500. package/lib/esm-es5/duet-layout.entry.js +1 -1
  501. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  502. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  503. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  504. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  505. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  506. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  507. package/lib/esm-es5/duet-modal.entry.js +1 -1
  508. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  509. package/lib/esm-es5/duet-nav.entry.js +1 -1
  510. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  511. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  512. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  513. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  514. package/lib/esm-es5/duet-progress.entry.js +1 -1
  515. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  516. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  517. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  518. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  519. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  520. package/lib/esm-es5/duet-select.entry.js +1 -1
  521. package/lib/esm-es5/duet-shaped-image.entry.js +4 -0
  522. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  523. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  524. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  525. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  526. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  527. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  528. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  529. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  530. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  531. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  532. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  533. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  534. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  535. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  536. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  537. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  538. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  539. package/lib/esm-es5/duet-tray.entry.js +1 -1
  540. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  541. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  542. package/lib/esm-es5/duet.js +1 -1
  543. package/lib/esm-es5/focus-utils-552e67ed.js +4 -0
  544. package/lib/esm-es5/{index-36c4b0e6.js → index-5aaf4b5b.js} +1 -1
  545. package/lib/esm-es5/loader.js +1 -1
  546. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +5 -0
  547. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -1
  548. package/lib/types/components/duet-shaped-image/duet-shaped-image.d.ts +34 -0
  549. package/lib/types/components/duet-upload/duet-upload.d.ts +11 -0
  550. package/lib/types/components/duet-upload/upload-item.d.ts +1 -0
  551. package/lib/types/components/duet-upload/upload-validators.d.ts +1 -0
  552. package/lib/types/components.d.ts +76 -1
  553. package/package.json +5 -5
  554. package/lib/duet/p-044ad522.entry.js +0 -4
  555. package/lib/duet/p-10d2fbee.entry.js +0 -4
  556. package/lib/duet/p-1e10d6e2.system.entry.js +0 -4
  557. package/lib/duet/p-60d9212f.entry.js +0 -4
  558. package/lib/duet/p-6155d256.system.js +0 -4
  559. package/lib/duet/p-877a6907.system.entry.js +0 -4
  560. package/lib/duet/p-8970a10f.system.entry.js +0 -4
  561. package/lib/duet/p-98f352a6.entry.js +0 -4
  562. package/lib/duet/p-a44015d7.entry.js +0 -4
  563. package/lib/duet/p-b991ebfc.entry.js +0 -4
  564. package/lib/esm-es5/focus-utils-28d5fb4c.js +0 -4
@@ -883,6 +883,10 @@ export namespace Components {
883
883
  * The content for the collapsible heading.
884
884
  */
885
885
  "heading": string;
886
+ /**
887
+ * Makes collapsible heading full width
888
+ */
889
+ "headingFullWidth": boolean;
886
890
  /**
887
891
  * The actual heading level used for the heading in html markup. This setting exists for accessibility reasons. It doesn’t change the style visually. only variations of h1-h6 area accepted
888
892
  */
@@ -3125,6 +3129,29 @@ export namespace Components {
3125
3129
  */
3126
3130
  "variation": DuetSelectVariation;
3127
3131
  }
3132
+ interface DuetShapedImage {
3133
+ /**
3134
+ * Adds accessible label for the image that is only shown for screen readers.
3135
+ */
3136
+ "accessibleLabel": string;
3137
+ /**
3138
+ * Controls the margin of the component.
3139
+ */
3140
+ "margin": DuetMargin;
3141
+ /**
3142
+ * Rotation. Note: in 'turva' theme there's no rotation.
3143
+ * @default "7"
3144
+ */
3145
+ "rotation": 7 | -7;
3146
+ /**
3147
+ * A URL from which to load an image.
3148
+ */
3149
+ "src": string;
3150
+ /**
3151
+ * Theme of the component.
3152
+ */
3153
+ "theme": DuetTheme;
3154
+ }
3128
3155
  interface DuetSlideout {
3129
3156
  /**
3130
3157
  * Background color. Use one of the color tokens.
@@ -3993,6 +4020,10 @@ export namespace Components {
3993
4020
  * Makes the input component disabled. This prevents users from being able to interact with the upload component, and conveys its inactive state to assistive technologies.
3994
4021
  */
3995
4022
  "disabled": boolean;
4023
+ /**
4024
+ * If link-click-event is set to true then upload component will emit an event on uploaded file link click (check linkClick event).
4025
+ */
4026
+ "emitEvent": boolean;
3996
4027
  /**
3997
4028
  * Display the input in error state along with an error message.
3998
4029
  */
@@ -4668,6 +4699,12 @@ declare global {
4668
4699
  prototype: HTMLDuetSelectElement;
4669
4700
  new (): HTMLDuetSelectElement;
4670
4701
  };
4702
+ interface HTMLDuetShapedImageElement extends Components.DuetShapedImage, HTMLStencilElement {
4703
+ }
4704
+ var HTMLDuetShapedImageElement: {
4705
+ prototype: HTMLDuetShapedImageElement;
4706
+ new (): HTMLDuetShapedImageElement;
4707
+ };
4671
4708
  interface HTMLDuetSlideoutElement extends Components.DuetSlideout, HTMLStencilElement {
4672
4709
  }
4673
4710
  var HTMLDuetSlideoutElement: {
@@ -4891,6 +4928,7 @@ declare global {
4891
4928
  "duet-scrollable": HTMLDuetScrollableElement;
4892
4929
  "duet-section-layout": HTMLDuetSectionLayoutElement;
4893
4930
  "duet-select": HTMLDuetSelectElement;
4931
+ "duet-shaped-image": HTMLDuetShapedImageElement;
4894
4932
  "duet-slideout": HTMLDuetSlideoutElement;
4895
4933
  "duet-slideout-lang": HTMLDuetSlideoutLangElement;
4896
4934
  "duet-slideout-link": HTMLDuetSlideoutLinkElement;
@@ -5705,6 +5743,10 @@ declare namespace LocalJSX {
5705
5743
  * The content for the collapsible heading.
5706
5744
  */
5707
5745
  "heading"?: string;
5746
+ /**
5747
+ * Makes collapsible heading full width
5748
+ */
5749
+ "headingFullWidth"?: boolean;
5708
5750
  /**
5709
5751
  * The actual heading level used for the heading in html markup. This setting exists for accessibility reasons. It doesn’t change the style visually. only variations of h1-h6 area accepted
5710
5752
  */
@@ -5768,7 +5810,7 @@ declare namespace LocalJSX {
5768
5810
  */
5769
5811
  "minCharacters"?: number;
5770
5812
  /**
5771
- * Emitted when a keyboard input occurred.
5813
+ * Emitted when selected item changed.
5772
5814
  */
5773
5815
  "onDuetChange"?: (event: DuetComboboxCustomEvent<DuetComboboxEvent>) => void;
5774
5816
  /**
@@ -8053,6 +8095,29 @@ declare namespace LocalJSX {
8053
8095
  */
8054
8096
  "variation"?: DuetSelectVariation;
8055
8097
  }
8098
+ interface DuetShapedImage {
8099
+ /**
8100
+ * Adds accessible label for the image that is only shown for screen readers.
8101
+ */
8102
+ "accessibleLabel"?: string;
8103
+ /**
8104
+ * Controls the margin of the component.
8105
+ */
8106
+ "margin"?: DuetMargin;
8107
+ /**
8108
+ * Rotation. Note: in 'turva' theme there's no rotation.
8109
+ * @default "7"
8110
+ */
8111
+ "rotation"?: 7 | -7;
8112
+ /**
8113
+ * A URL from which to load an image.
8114
+ */
8115
+ "src"?: string;
8116
+ /**
8117
+ * Theme of the component.
8118
+ */
8119
+ "theme"?: DuetTheme;
8120
+ }
8056
8121
  interface DuetSlideout {
8057
8122
  /**
8058
8123
  * Background color. Use one of the color tokens.
@@ -8910,6 +8975,10 @@ declare namespace LocalJSX {
8910
8975
  * Makes the input component disabled. This prevents users from being able to interact with the upload component, and conveys its inactive state to assistive technologies.
8911
8976
  */
8912
8977
  "disabled"?: boolean;
8978
+ /**
8979
+ * If link-click-event is set to true then upload component will emit an event on uploaded file link click (check linkClick event).
8980
+ */
8981
+ "emitEvent"?: boolean;
8913
8982
  /**
8914
8983
  * Display the input in error state along with an error message.
8915
8984
  */
@@ -9044,6 +9113,10 @@ declare namespace LocalJSX {
9044
9113
  * Emitted when the user clicks the upload button
9045
9114
  */
9046
9115
  "onDuetUpload"?: (event: DuetUploadCustomEvent<DuetUploadEvent>) => void;
9116
+ /**
9117
+ * Emitted when the user clicks the uploaded file link and link-click-event prop is set to true
9118
+ */
9119
+ "onLinkClick"?: (event: DuetUploadCustomEvent<DuetUploadEvent>) => void;
9047
9120
  /**
9048
9121
  * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
9049
9122
  */
@@ -9176,6 +9249,7 @@ declare namespace LocalJSX {
9176
9249
  "duet-scrollable": DuetScrollable;
9177
9250
  "duet-section-layout": DuetSectionLayout;
9178
9251
  "duet-select": DuetSelect;
9252
+ "duet-shaped-image": DuetShapedImage;
9179
9253
  "duet-slideout": DuetSlideout;
9180
9254
  "duet-slideout-lang": DuetSlideoutLang;
9181
9255
  "duet-slideout-link": DuetSlideoutLink;
@@ -9269,6 +9343,7 @@ declare module "@stencil/core" {
9269
9343
  "duet-scrollable": LocalJSX.DuetScrollable & JSXBase.HTMLAttributes<HTMLDuetScrollableElement>;
9270
9344
  "duet-section-layout": LocalJSX.DuetSectionLayout & JSXBase.HTMLAttributes<HTMLDuetSectionLayoutElement>;
9271
9345
  "duet-select": LocalJSX.DuetSelect & JSXBase.HTMLAttributes<HTMLDuetSelectElement>;
9346
+ "duet-shaped-image": LocalJSX.DuetShapedImage & JSXBase.HTMLAttributes<HTMLDuetShapedImageElement>;
9272
9347
  "duet-slideout": LocalJSX.DuetSlideout & JSXBase.HTMLAttributes<HTMLDuetSlideoutElement>;
9273
9348
  "duet-slideout-lang": LocalJSX.DuetSlideoutLang & JSXBase.HTMLAttributes<HTMLDuetSlideoutLangElement>;
9274
9349
  "duet-slideout-link": LocalJSX.DuetSlideoutLink & JSXBase.HTMLAttributes<HTMLDuetSlideoutLinkElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duetds/components",
3
- "version": "6.10.0",
3
+ "version": "6.10.2",
4
4
  "description": "This package includes Duet Design System Web Components and related utilities.",
5
5
  "bugs": {
6
6
  "email": "duetdesignsystem@lahitapiola.fi"
@@ -51,9 +51,9 @@
51
51
  "body-scroll-lock": "3.1.5"
52
52
  },
53
53
  "devDependencies": {
54
- "@duetds/fonts": "2.0.58",
55
- "@duetds/icons": "3.0.58",
56
- "@duetds/tokens": "3.0.58",
54
+ "@duetds/fonts": "2.0.60",
55
+ "@duetds/icons": "3.0.60",
56
+ "@duetds/tokens": "3.0.60",
57
57
  "@rollup/plugin-replace": "5.0.2",
58
58
  "@stencil/core": "3.1.0",
59
59
  "@stencil/sass": "3.0.0",
@@ -79,5 +79,5 @@
79
79
  "collection": "lib/collection/collection-manifest.json",
80
80
  "es2015": "lib/esm/index.js",
81
81
  "es2017": "lib/esm/index.js",
82
- "gitHead": "9147adce7bc7cd0630dd46669a9e719b2ffdcf94"
82
+ "gitHead": "628f4175b4b065e159bed155e11da147735d9a3a"
83
83
  }
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as c,H as i,g as o}from"./p-bb49aaf4.js";import{i as h}from"./p-4ebf1618.js";import{D as d}from"./p-76f00bd5.js";import{c as s}from"./p-c1325e35.js";import{F as r}from"./p-fd1df6f3.js";import{i as a,h as u,f as n}from"./p-f077c646.js";import{g as l,a as p,c as b,d as g}from"./p-076452be.js";import{f as m,w as k}from"./p-12721178.js";import"./p-5a9d75e1.js";const f=class{constructor(c){e(this,c),this.duetChange=t(this,"duetChange",7),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.hasHeader=!1,this.choiceId=s("DuetChoice"),this.expandId=s("DuetChoiceExpand"),this.headerId=s("DuetChoiceHeader"),this.infoButtonId=s("DuetChoiceInfoButton"),this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1},this.onClick=e=>{this.toggleChecked(e)},this.handleKeyDown=e=>{a(e)&&this.toggleChecked(e),u(e)&&this.hasInfo&&this.toggleInfo()},this.onChange=()=>{this.checked=this.nativeInput.checked||!1,this.duetChange.emit({checked:this.checked,value:this.value,component:"duet-choice"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.toggleChecked=e=>{e.preventDefault(),e.stopPropagation(),this.disabled||this.groupDisabled||(this.isInfoOpen=!1,"radio"===this.type&&this.checked||(this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})))},this.toggleInfo=()=>{this.isInfoOpen=!this.isInfoOpen},this.isHovering=!1,this.isInfoOpen=!1,this.isBlurred=!1,this.language=l(),this.theme="",this.label="label",this.accessibleLabelInfoButtonDefaults=d,this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults),this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.caption="",this.value=void 0,this.type="checkbox",this.name=void 0,this.checked=!1,this.collapsible=!1,this.margin="auto",this.icon="",this.expand=!1,this.padding="auto",this.identifier=void 0,this.groupDirection=void 0,this.groupDisabled=void 0,this.groupResponsive=void 0,this.disabled=!1,this.required=!1,this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"},this.infoLabel=p(this.infoLabelDefaults,l())}watchLanguageStateHandler(e,t){e!==t&&this.accessibleLabelInfoButton===this.accessibleLabelInfoButtonDefaults[t]&&(this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults,e)),e!==t&&this.infoLabel===this.infoLabelDefaults[t]&&(this.infoLabel=p(this.infoLabelDefaults,e))}componentWillLoad(){h(this),this.hasInfo=!!this.element.querySelector("[slot='info']"),this.hasHeader=!!this.element.querySelector('[slot="header"]'),this.hasAdditional=!!this.element.querySelector(":scope > [slot='additional']"),this.hasLabel=!!this.element.querySelector(":scope > [slot='label']"),this.hasBeforeText=!!this.element.querySelector("[slot='before-text']")}connectedCallback(){b(this)}disconnectedCallback(){g(this)}handleHostBlur(e){this.hasInfo&&this.isInfoOpen&&this.isKeyDown&&(this.element.contains(null==e?void 0:e.relatedTarget)||this.toggleInfo())}handleHostKeyDown(){this.isKeyDown=!0}handleHostKeyUp(e){this.isKeyDown=!1,n(e)&&this.isInfoOpen&&this.toggleInfo()}async setFocus(e){this.nativeInput.focus(e)}async toggleInfoMethod(){this.isInfoOpen=!this.isInfoOpen}getAriaDescribedby(){return this.accessibleDescribedBy?this.accessibleDescribedBy:this.collapsible||this.hasInfo?this.hasHeader?this.headerId:this.expandId:null}getClassNames(){return this.hasInfo&&!this.collapsible?{"duet-choice-card-info":!0,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":"turva"===this.theme}:!this.hasInfo&&this.collapsible?{"duet-choice-card-collapsible":!0,"duet-choice-card-collapsible-expanded":this.checked,"duet-choice-card-collapsed":!this.checked,"duet-choice-card-collapsible-disabled":!(!this.disabled&&!this.groupDisabled),"duet-theme-turva":"turva"===this.theme}:{"duet-choice-default-slot":!0}}render(){const e=this.element.closest("duet-choice-group"),t=e?e.label:void 0,o=this.identifier||this.choiceId;return c(i,{class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin,"duet-expand":this.expand,"duet-theme-turva":"turva"===this.theme}},c("div",{class:{"duet-choice-card-flextainer":!0,"duet-theme-turva":"turva"===this.theme}},c("div",{class:{"duet-choice-card":!0,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"duet-p-0":"none"===this.padding}},c("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.disabled||this.groupDisabled,required:this.required,id:o,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:e=>this.nativeInput=e}),c("label",{htmlFor:o,class:{"duet-choice-label":!0,"no-hover":this.isHovering,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&c("slot",{name:"before-text"}),this.icon&&c("div",{class:"duet-choice-card-icon"},c("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),c("div",{class:"duet-choice-card-text"},t&&c("duet-visually-hidden",null,t,", "),c("div",null,this.hasLabel?c("slot",{name:"label"}):this.label),this.caption&&c("div",null,c("duet-spacer",{size:"xx-small"}),c("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&c("div",null,c("duet-spacer",{size:"xx-small"}),c("slot",{name:"additional"}))),c("div",null,c("div",{class:{"duet-checkmark-container":!0,"duet-checkmark-radio":"radio"===this.type}},this.checked&&c("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&c("button",{ref:e=>this.infoButtonEl=e,id:this.infoButtonId,class:{"duet-choice-info-toggle":!0,"duet-theme-turva":"turva"===this.theme},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.disabled||this.groupDisabled,"aria-expanded":this.isInfoOpen?"true":"false","aria-label":`${this.infoLabel} ${this.label}`,"aria-controls":this.expandId,"aria-flowto":this.expandId,tabindex:"radio"!==this.type||this.checked?"0":"-1",type:"button"},c("duet-visually-hidden",{"aria-hidden":this.isBlurred?"false":"true"},this.accessibleLabelInfoButton),c("div",{class:"duet-choice-info-icon"},c("duet-icon",{icon:'<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>',margin:"none",size:"small",color:"currentColor"})))),this.collapsible||this.hasInfo?c("div",{class:this.getClassNames(),id:this.expandId},c("span",{class:{"duet-choice-section-visible":this.collapsible?this.checked:this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.checked:!this.isInfoOpen}},c("span",{id:this.headerId},c("slot",{name:"header"})),this.hasInfo?c("span",null,c("span",{"aria-relevant":"all","aria-atomic":"true","aria-live":this.isInfoOpen?"polite":"off"},c("slot",{name:"info"})),c("slot",null)):c("span",null,c("slot",null))),this.isInfoOpen&&c(r,{moveFocusTo:this.infoButtonEl})):null)}get element(){return o(this)}static get watchers(){return{language:["watchLanguageStateHandler"]}}};f.style='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}.horizontal.sc-duet-choice-h{margin-bottom:0 !important}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{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) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:not(.no-hover):hover{border-color:rgb(144, 149, 153)}.duet-choice-label.sc-duet-choice:not(.no-hover):hover .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.no-hover):hover{border-color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.no-hover):hover .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.no-hover):hover{border-color:rgb(116, 116, 117)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice .duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;z-index:200;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(0, 119, 179);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-choice-label.sc-duet-choice:not(.no-hover):hover .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.checked.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}';const v=":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)",x=class{constructor(t){e(this,t),this.choiceGroupName="duet-choice-group",this.getChoices=()=>Array.from(this.element.querySelectorAll(v)),this.isMyChoice=e=>this.getChoices().includes(e),this.onSelect=e=>{if("duet-choice"!==e.detail.component)return;const t=e.target;t&&this.isMyChoice(t)&&(this.value=t.value),e.cancelBubble=!0},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption=void 0,this.tooltip=void 0,this.tooltipDirection="auto",this.responsive=!1,this.breakpoint="small",this.value=void 0,this.disabled=void 0}async connectedCallback(){const e=this.element;if(void 0===this.value){const t=m(e,v);void 0!==t&&(await t.componentOnReady(),void 0===this.value&&(this.value=t.value))}this.mutationO=k(e,v,(e=>{void 0!==e?e.componentOnReady().then((()=>{this.isMyChoice(e)&&(this.value=e.value)})):this.updateChoices()})),this.updateChoices()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){h(this)}async updateChoices(){const e=this.getChoices(),{value:t}=this;let c=!1;for(const i of e)i.name=this.name,i.groupDisabled=this.disabled,i.groupDirection=this.direction,i.groupResponsive=this.responsive,c||i.value!==t?i.checked=!1:(c=!0,i.checked=!0);c||(this.value=void 0)}render(){return c(i,{onDuetChange:this.onSelect,class:{horizontal:"horizontal"===this.direction,"duet-choice-group-breakpoint-x-small":this.responsive&&"x-small"===this.breakpoint,"duet-choice-group-breakpoint-small":this.responsive&&"small"===this.breakpoint,"duet-choice-group-breakpoint-medium":this.responsive&&"medium"===this.breakpoint,"duet-choice-group-breakpoint-large":this.responsive&&"large"===this.breakpoint,"duet-choice-group-breakpoint-x-large":this.responsive&&"x-large"===this.breakpoint}},c("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme},this.tooltip&&c("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),c("div",{class:{[this.choiceGroupName]:!0,"duet-no-stacking":!this.responsive}},c("slot",null))))}get element(){return o(this)}static get watchers(){return{value:["updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}}};x.style="*.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}";export{f as duet_choice,x as duet_choice_group}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as e,H as o,g as n}from"./p-bb49aaf4.js";import{a}from"./p-b519ac77.js";import{i as r}from"./p-4ebf1618.js";import{f as i}from"./p-f077c646.js";const s=class{constructor(e){t(this,e),this.mql=[window.matchMedia(a.replace(/'/g,""))],this.boundMqlFunctions=[],this.checkIsDesktop=()=>{this.mql[0].matches?(this.isDesktop=!0,this.iconSize="x-small"):(this.isDesktop=!1,this.iconSize="small")},this.onClick=()=>{const t=this.open;if(!this.isDesktop){const t=Array.from(this.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));for(const e of t)e.open=!1}this.open=!t},this.isDesktop=!1,this.iconSize="small",this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(t){t.composedPath().every((t=>t!==this.element))&&this.isDesktop&&(this.open=!1)}componentWillLoad(){r(this)}connectedCallback(){this.checkIsDesktop();for(let t=0;t<this.mql.length;t++)if(this.mql[t].addEventListener){const e=this.checkIsDesktop.bind(this);this.mql[t].addEventListener("change",e),this.boundMqlFunctions[t]=e}}disconnectedCallback(){for(let t=0;t<this.mql.length;t++)this.mql[t].removeEventListener&&this.mql[t].removeEventListener("change",this.boundMqlFunctions[t]);this.boundMqlFunctions=[]}handleEscape(t){if(i(t))if(this.open)this.open=!1;else{const t=this.element.closest("duet-submenu-bar");t.open=!1,t.setFocus()}}async setFocus(t){this.button.focus(t)}render(){return e(o,null,e("div",{class:{"duet-submenu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,open:this.open,active:this.active}},e("button",{ref:t=>this.button=t,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{open:this.open,active:this.active},onClick:this.onClick,onKeyUp:t=>this.handleEscape(t)},this.icon&&e("duet-icon",{theme:this.theme,name:this.icon,size:this.iconSize,margin:"none",color:"currentColor"}),e("div",{class:"label"},e("span",{class:"label-text"},e("slot",{name:"label"})),e("duet-icon",{class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),e("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},e("slot",null))))}get element(){return n(this)}};s.style='*,*::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;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-dropdown{position:relative;height:100%}.duet-submenu-bar-dropdown button{position:relative;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:12px 1.5rem;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.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 77, 128)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(230, 242, 248)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(0, 41, 77);background:rgb(230, 242, 248)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(0, 41, 77)}.duet-theme-turva .duet-submenu-bar-dropdown button:hover.active{color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-theme-turva .duet-submenu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-theme-turva .duet-submenu-bar-dropdown button.active::after,.duet-theme-turva .duet-submenu-bar-dropdown button.open::after{background:rgb(198, 12, 48)}}.duet-submenu-bar-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(0, 41, 77);visibility:visible;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:102%;z-index:600;min-width:320px;padding:4px 0 0;background:rgb(255, 255, 255);border-radius:0 0 4px 4px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1);transition:none}}.duet-submenu-bar-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-bar-dropdown.duet-theme-turva button{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-submenu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(228, 228, 230)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(148, 9, 37);background:rgb(228, 228, 230)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(148, 9, 37)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}';export{s as duet_submenu_bar_dropdown}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function l(e){try{r(i.next(e))}catch(t){o(t)}}function s(e){try{r(i["throw"](e))}catch(t){o(t)}}function r(e){e.done?n(e.value):a(e.value).then(l,s)}r((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return r([e,t])}}function r(s){if(i)throw new TypeError("Generator is already executing.");while(l&&(l=0,s[0]&&(n=0)),n)try{if(i=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;a=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(r){s=[6,r];a=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-e53bec6b.system.js","./p-0c4bbd65.system.js","./p-45e609b1.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-51721695.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var t,n,i,a,o,l,s,r,c,u,d,h;return{setters:[function(e){t=e.r;n=e.c;i=e.h;a=e.H;o=e.g},function(e){l=e.a},function(e){s=e.f;r=e.t},function(e){c=e.i},function(e){u=e.c},function(e){d=e.i},function(e){h=e.s}],execute:function(){var p='*,*::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-collapsible-heading.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-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)}';var g=e("duet_collapsible",function(){function e(e){var i=this;t(this,e);this.duetToggle=n(this,"duetToggle",7);this.id=u("DuetCollapsible");this.handleKeyDown=function(e){if(d(e)){i.handleClick(e)}};this.getFontSizeFromTokens=function(e){if(e===void 0){e=i.headingSize}if(!e){return s}else{var t=/-/g;var n=e.replace(t,"_");return r["font_size_".concat(n)]}};this.getEquivalentIconSize=function(e){if(e===void 0){e=i.headingSize}switch(e){case"x-small":return"xx-small";case"small":return"xx-small";case"medium":return"xx-small";case"large":return"x-small";case"x-large":return"small";case"xx-large":return"medium";case"xxx-large":return"x-large";case"xxxx-large":return"xxx-large";default:return"xx-small"}};this.handleClick=function(e){e.preventDefault();i.open=!i.open;i.duetToggle.emit({component:"duet-collapsible",originalEvent:e})};this.theme="";this.accessibleLabel=undefined;this.heading="";this.centerHeading=false;this.headingWeight="semibold";this.headingSize=undefined;this.headingLevel=undefined;this.margin="auto";this.open=false}e.prototype.componentWillLoad=function(){c(this);this.hasAfterHeading=!!this.element.querySelector(":scope > [slot='after-heading']")};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeButton){this.element.classList.add("user-is-tabbing");this.nativeButton.focus(e)}return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.headingLevel?h(this.headingLevel):"div";return i(a,{class:{"duet-m-0":this.margin==="none"}},i(t,null,i("button",{class:{"duet-collapsible-heading":true,"duet-collapsible-heading-centered":this.centerHeading,"duet-theme-turva":this.theme==="turva","duet-collapsible-normal-weight":this.headingWeight==="normal","has-after-heading":this.hasAfterHeading},style:{"font-size":this.getFontSizeFromTokens()},role:"button",ref:function(t){return e.nativeButton=t},"aria-label":this.accessibleLabel,"aria-expanded":this.open?"true":"false","aria-controls":this.id,onClick:this.handleClick,onKeyDown:this.handleKeyDown},i("div",{class:"duet-collapsible-heading-icon"},i("duet-icon",{margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary",size:this.getEquivalentIconSize(),icon:l.svg})),i("div",{class:"duet-collapsible-heading-content",part:"duet-collapsible-heading-content"},this.heading),this.hasAfterHeading&&i("div",null,i("slot",{name:"after-heading"})))),i("div",{id:this.id,class:{"duet-collapsible-content":true,"duet-theme-turva":this.theme==="turva"},part:"duet-collapsible-content"},i("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());g.style=p}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h as t,r as e,c as a,H as i,g as s,F as d}from"./p-bb49aaf4.js";import{i as o}from"./p-4ebf1618.js";import{f as l,d as n}from"./p-0b3f675e.js";import{i as r}from"./p-f077c646.js";import{g as h,c as u,d as b,a as p,s as m}from"./p-076452be.js";import{p as c,s as g}from"./p-fd4785ab.js";import{b as f,a as y}from"./p-a76ceaf6.js";import{c as v}from"./p-c1325e35.js";import{p as x}from"./p-5a9d75e1.js";const w=({data:e,groupId:a,alignment:i})=>{const s=`duet-editable-table duet-editable-table-content-${a}`;return"string"==typeof e?t("td",{innerHTML:e,class:s,part:`${a}content`,style:{verticalAlign:i}}):t("td",{class:s,part:`${a}content`,style:{verticalAlign:i}},e)},k=class{constructor(t){e(this,t),this.duetTableToggle=a(this,"duetTableToggle",7),this.duetMenuClick=a(this,"duetMenuClick",7),this.hasHeadSlotFirst=!1,this.hasHeadSlotLast=!1,this.sortableDefaultLabel={fi:"Järjestä",en:"Click to sort",sv:"Klicka för att sortera"},this.actionColumnLabel={en:"Actions for rows",fi:"Toiminnot rivillä",sv:"Åtgärder för rader"},this.toggleColumn=(t,e)=>{e.preventDefault();const{sort_order:a,direction:i,index:s,key:d}=t;this.duetTableToggle.emit({sort_order:a,index:s,direction:i,key:d,component:"duet-editable-table",originalEvent:e})},this.handleKeyDown=(t,e)=>{r(e)&&this.toggleColumn(t,e)},this.language=h(),this.margin="auto",this.variation="striped",this.sticky=!1,this.stickyDistance="with-links",this.breakpoint="small",this.actions=void 0,this.columns=void 0,this.rows=void 0,this.sortable=!1,this.groupId="",this.theme="",this.accessibleRole=void 0,this.hideHeadVisually=!1}componentWillLoad(){o(this),this.hasHeadSlotFirst=!!this.element.querySelector("[slot='thead-first']"),this.hasHeadSlotLast=!!this.element.querySelector("[slot='thead-last']")}connectedCallback(){u(this)}disconnectedCallback(){b(this)}createLabel(e){const{sort_order:a,direction:i,index:s,label:d}=e,o=p(d);return this.sortable?t("span",{class:"duet-table-label","data-index":s},t("duet-button",{size:"small",icon:a&&1===i?"action-arrow-down-small":a&&-1===i?"action-arrow-up-small":"action-subtract-small","icon-size":"medium-small","accessible-label":this.sortableDefaultLabel[this.language],variation:"plain",margin:"none","icon-right":!0,onClick:t=>this.toggleColumn(e,t),onKeyDown:t=>this.handleKeyDown(e,t)},o)):o}getSortedColumns(){return[...this.columns].sort(l(["index"]))}getRowSortOrder(){return[...this.columns].sort(l(["sort_order"])).filter((t=>t.sort_order)).map((t=>-1===t.direction?`-${t.key}`:t.key))}renderTableHeader(){if(!this.columns)return;const e=this.getSortedColumns();return t("tr",{class:{"duet-table-action-header":!!this.actions}},e.map((e=>{if(!1!==e.display){const a=this.createLabel(e);return""!==a?t("th",{scope:"col"},a):t("td",null)}})),this.actions&&t("th",{scope:"col",class:"duet-table-action-header-heading"},this.actions&&t("duet-visually-hidden",null,this.actionColumnLabel[this.language])))}renderActions(e,a){if(this.actions)return t("td",{class:"duet-text-right"},this.actions.map((i=>t("duet-action-button",{actionMeta:Object.assign({},(null==e?void 0:e.meta)||{},{index:a}),actionId:(null==e?void 0:e.uid)||(null==e?void 0:e.id)||null,actionName:i.name,theme:this.theme,iconName:i.icon,iconColor:i.color,iconSize:i.size,background:i.background,"accessible-label":`${e.actionDescription||""} ${p(i.label)} `}))))}renderTableBody(){const e=this.getSortedColumns(),a=this.getRowSortOrder();return[...this.rows].sort(l(a)).map(((a,i)=>t("tr",{class:{"duet-table-action-row":!!this.actions,"duet-editable-table-row":!0,[`duet-editable-table-row-${this.groupId}`]:!0},"data-meta":JSON.stringify(a.meta)},e.map((e=>{if(!1!==e.display)return t(w,{data:a[e.key]?a[e.key]:a.item,groupId:this.groupId})})),this.actions&&this.renderActions(a,i))))}render(){return t(i,{class:{[`duet-editable-table-${this.variation}`]:!0,"duet-editable-table":!0,[`duet-editable-table-${this.theme}`]:!0,"duet-editable-table-scrollable":"none-scrollable"===this.breakpoint,"duet-editable-table-sortable":this.sortable,"duet-editable-table-actions":!!this.actions,"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme}},t("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},t("table",{role:this.accessibleRole},t("caption",null,t("slot",{name:"tcaption"})),t("thead",null,this.hasHeadSlotFirst&&t("tr",null,t("td",{class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{name:"thead-first"}))),this.renderTableHeader(),this.hasHeadSlotLast&&t("tr",null,t("td",{class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{name:"thead-last"})))),t("tbody",null,this.renderTableBody()),t("tfoot",null,t("tr",null,t("th",{class:"duet-editable-table-footer-menu",colSpan:99},t("slot",{name:"tfoot"})))))))}get element(){return s(this)}};k.style=".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}";const z={none:0,"with-links":16*parseFloat(c),"without-links":16*parseFloat(g)},T=class{constructor(t){e(this,t),this.headingSelector="thead tr > :not(*.duet-editable-table-actions-menu)",this.handleMediaQueryChange=t=>{this.matchesBreakpoint=f.includes(this.breakpoint)?!t.matches:t.matches},this.matchesBreakpoint=!0,this.language=h(),this.theme=void 0,this.margin="auto",this.variation="striped",this.sticky=!1,this.stickyDistance="with-links",this.breakpoint="small",this.hideHeadVisually=!1}watchLanguageStateHandler(t,e){t!==e&&setTimeout((()=>this.copyHeadingsToCells()),50)}connectedCallback(){this.mq=matchMedia("none"===this.breakpoint||"none-scrollable"===this.breakpoint?"all":y[this.breakpoint]),this.mq.addEventListener("change",n(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),this.observer=new MutationObserver((()=>n(this.copyHeadingsToCells(),50))),this.observer.observe(this.element,{childList:!0,subtree:!0})}componentWillLoad(){if(o(this),this.copyHeadingsToCells(),this.sticky&&"none-scrollable"===this.breakpoint&&console.warn('[DUET WARNING]: sticky and breakpoint="none-scrollable" are incompatible. Scrollable takes precedence'),this.sticky){const t=z[this.stickyDistance];this.element.querySelectorAll(this.headingSelector).forEach((e=>e.style.top=`${t}px`))}}componentDidLoad(){this.observer&&this.observer.takeRecords(),u(this)}disconnectedCallback(){this.observer.disconnect(),this.observer=null,this.mq.removeListener(this.handleMediaQueryChange),this.mq=null,this.matchesBreakpoint=!0,b(this)}copyHeadingsToCells(){const t=this.element.querySelectorAll(this.headingSelector),e=this.element.querySelectorAll("tbody tr"),a=Array.from(t).map((t=>t.textContent.trim()));e.forEach((t=>{t.querySelectorAll("td").forEach(((t,e)=>{a[e]&&(t.dataset.heading=a[e])}))}))}render(){return t(i,{class:{[`duet-table-${this.variation}`]:!0,"duet-table-flattened":!this.matchesBreakpoint,"duet-table-sticky":this.matchesBreakpoint&&this.sticky,"duet-table-scrollable":"none-scrollable"===this.breakpoint,"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme,"duet-table-hide-head-visually":this.hideHeadVisually}},t("slot",null))}get element(){return s(this)}static get watchers(){return{language:["watchLanguageStateHandler"]}}};T.style='duet-table{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;font-variant-numeric:tabular-nums}duet-table table,duet-table thead,duet-table tbody,duet-table tfoot,duet-table th,duet-table td,duet-table tr{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}duet-table.duet-m-0{margin:0 !important}duet-table table{width: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;text-align:left;border-spacing:0;border-collapse:separate}duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead,duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead *{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}duet-table.duet-theme-turva table{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}duet-table td{-webkit-hyphens:auto;hyphens:auto;color:rgb(0, 41, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}duet-table.duet-theme-turva th{color:rgb(116, 116, 117)}duet-table tbody th{font-weight:600;color:rgb(0, 41, 77)}duet-table.duet-theme-turva tbody th{color:rgb(23, 28, 58)}duet-table .duet-table-action-row td:last-child{justify-self:end;padding-right:20px !important;white-space:nowrap}.duet-table-flattened table,.duet-table-flattened thead,.duet-table-flattened tbody,.duet-table-flattened tfoot,.duet-table-flattened th,.duet-table-flattened td,.duet-table-flattened tr{display:block}.duet-table-flattened thead tr{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-table-flattened td{line-height:1.25}.duet-table-flattened td:not(:last-child){margin-bottom:16px !important}.duet-table-flattened tbody td,.duet-table-flattened tbody th,.duet-table-flattened tfoot td{padding:0 !important;text-align:left !important}.duet-table-flattened tbody th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}.duet-table-flattened td[data-heading]::before{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(0, 41, 77);content:attr(data-heading)}.duet-table-flattened.duet-theme-turva td[data-heading]::before{color:rgb(23, 28, 58)}.duet-table-sticky thead th{position:sticky;top:0;background:rgb(255, 255, 255)}.duet-table-striped td,.duet-table-striped th{padding:20px !important}@media (max-width: 35.9375em){.duet-table-striped td,.duet-table-striped th{padding:20px 12px !important}}.duet-table-striped tbody th{background:rgb(255, 255, 255)}.duet-table-striped.duet-table-sticky thead th{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(228, 228, 230)}.duet-table-striped tbody:not(:first-of-type) th{padding-top:40px !important}.duet-table-striped tbody:only-of-type tr:nth-of-type(odd){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tfoot td{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(228, 228, 230)}.duet-table-striped.duet-table-flattened tbody:not(:first-of-type) th{padding-top:20px !important}.duet-table-striped.duet-table-flattened tr{padding:20px !important}.duet-table-striped.duet-table-flattened tfoot td{border-top:0}.duet-table-striped.duet-table-flattened tfoot tr{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(228, 228, 230)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(101, 119, 135)}.duet-table-fixed th:first-child,.duet-table-minimal th:first-child,.duet-table-plain th:first-child{padding-left:0 !important}.duet-table-fixed th:last-child,.duet-table-minimal th:last-child,.duet-table-plain th:last-child{padding-right:0 !important}.duet-theme-turva.duet-table-fixed th,.duet-theme-turva.duet-table-minimal th,.duet-theme-turva.duet-table-plain th{border-bottom-color:rgb(68, 68, 69)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody th,.duet-theme-turva.duet-table-minimal tbody th,.duet-theme-turva.duet-table-plain tbody th{border-bottom-color:rgb(228, 228, 230)}.duet-table-fixed td,.duet-table-minimal td,.duet-table-plain td{padding:16px !important}.duet-table-fixed td:first-child,.duet-table-minimal td:first-child,.duet-table-plain td:first-child{padding-left:0 !important}.duet-table-fixed td:last-child,.duet-table-minimal td:last-child,.duet-table-plain td:last-child{padding-right:0 !important}.duet-table-fixed tbody td,.duet-table-minimal tbody td,.duet-table-plain tbody td{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody td,.duet-theme-turva.duet-table-minimal tbody td,.duet-theme-turva.duet-table-plain tbody td{border-bottom-color:rgb(228, 228, 230)}.duet-table-flattened.duet-table-fixed tbody:first-of-type th,.duet-table-flattened.duet-table-minimal tbody:first-of-type th,.duet-table-flattened.duet-table-plain tbody:first-of-type th{padding-top:0 !important}.duet-table-flattened.duet-table-fixed td,.duet-table-flattened.duet-table-minimal td,.duet-table-flattened.duet-table-plain td,.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{border-bottom:0}.duet-table-flattened.duet-table-fixed tr,.duet-table-flattened.duet-table-minimal tr,.duet-table-flattened.duet-table-plain tr{padding:20px 0 !important}.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{padding-top:20px !important}.duet-table-flattened.duet-table-fixed tfoot td,.duet-table-flattened.duet-table-minimal tfoot td,.duet-table-flattened.duet-table-plain tfoot td{margin-bottom:4px !important}.duet-table-flattened.duet-table-fixed tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-minimal tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-plain tbody:not(:only-of-type) tr:first-child{border-bottom:0}.duet-table-plain.duet-table-flattened tbody tr{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(228, 228, 230)}.duet-table-minimal tbody tr,.duet-table-minimal tbody tr td{vertical-align:top;border-bottom:0 none}.duet-table-minimal tbody tr:last-of-type,.duet-table-minimal tbody tr:last-of-type td{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened tbody tr,.duet-table-minimal.duet-table-flattened tbody tr td{border-bottom:0 none}.duet-table-minimal.duet-table-flattened tbody tr td[data-heading]::before{display:none}.duet-table-minimal.duet-table-flattened tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-fixed table{table-layout:fixed}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td,.duet-table-fixed tbody tr td:first-child{padding:4px !important;vertical-align:text-bottom;border-bottom:0 none}.duet-table-fixed thead{display:none}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td{border-bottom:0 none}.duet-table-fixed:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-scrollable{position:relative;width:100%;overflow-x:auto;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;background-repeat:no-repeat;background-attachment:local, local, scroll, scroll;background-size:100px 100%, 100px 100%, 12px 100%, 12px 100%}.duet-table-selected-column{background:rgba(0, 119, 179, 0.08)}.duet-theme-turva .duet-table-selected-column{background:rgba(68, 68, 69, 0.08)}.duet-table-sortable tbody tr td:first-child,.duet-table-sortable thead tr th:first-child{padding:20px}.duet-table-sortable:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-actions table{table-layout:auto}.duet-table-actions thead th:last-child{width:1px;white-space:nowrap}.duet-editable-table-table.duet-table-flattened tr{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:10px}.duet-editable-table-table.duet-table-flattened tr.duet-table-action-row td:last-child::before{padding:0;content:""}.duet-editable-table-table.duet-table-flattened td{grid-column:1/2}.duet-editable-table-table.duet-table-flattened td:first-child{grid-row:1;grid-column:1}.duet-editable-table-table.duet-table-flattened td:last-child{grid-row:1;grid-column:2}';const L=[{type:"default",system_message:"unknown error",message:{fi:"Tapahtui tuntematon virhe, ole hyvä ja yritä uudelleen.",sv:"Ett okänt fel uppstod, försök igen.",en:"An unknown error occured, please try again."}},{type:"400",system_message:"Bad Request: The server could not understand the request due to invalid syntax.",message:{fi:"Tiedostoa ei hyväksytty.",sv:"Servern avvisade din fil.",en:"The server rejected your file."}},{type:"401",system_message:"Not Authenticated: The client must authenticate itself to get the requested response...",message:{fi:"Vain kirjautunut käyttäjä voi lähettää tiedostoja.",sv:"Du måste vara inloggad för att ladda upp filer.",en:"You need to be logged in to upload files."}},{type:"403",system_message:"No Access: The client does not have access rights to the content.",message:{fi:"Ei oikeuksia lähettää tiedostoja.",sv:"Du har inte rätt åtkomsträttigheter för att ladda upp filer.",en:"You do not have the correct access rights to upload files."}},{type:"413",system_message:"Payload too large",message:{fi:"Tiedosto oli liian vastaanotettavaksi.",sv:"Filen var för stor för servern att hantera.",en:"The file was to large for the server to handle."}},{type:"415",system_message:"Unsupported media type",message:{fi:"Tiedoston tyyppi oli väärä.",sv:"Servern avvisade filen eftersom den hade fel typ.",en:"The server rejected the file because it had the wrong type."}},{type:"429",system_message:"Too many request from same address",message:{fi:"Liian monta yritystä, ole hyvä ja yritä myöhemmin uudelleen.",sv:"Servern har fått många förfrågningar från dig, försök igen senare.",en:"The server has received to many request from you, please try again later."}},{type:"500",system_message:"Internal Server Error",message:{fi:"Palvelin ilmoitti tuntemattomasta virheestä ja lataus epäonnistui.",sv:"Servern rapporterade ett okänt fel och uppladdningen misslyckades.",en:"The server reported an unknown error and the upload failed."}},{type:"duet-upload-100",system_message:"File extension not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den type.",en:"You cannot upload files with that extension."}},{type:"duet-upload-001",system_message:"File transfer failed",message:{fi:"Tiedoston lähetys keskeytyi, ole hyvä ja yritä uudelleen.",sv:"Din anslutning till servern avbröts, försök igen.",en:"Your connection to the server was interrupted, try again."}},{type:"duet-upload-101",system_message:"File mimetype not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den typ.",en:"You cannot upload files of that type."}},{type:"duet-upload-201",system_message:"File is too large",message:{fi:"Tiedosto on liian iso.",sv:"Filen är större än tillåtet.",en:"The file is larger than permitted."}},{type:"duet-upload-202",system_message:"The combined size of all files is too large",message:{fi:"Tiedostojen yhteenlaskettu koko on liian iso.",sv:"Du har nått den maximala kombinerade filstorleken.",en:"You have reached the maximum combined filesize."}},{type:"duet-upload-301",system_message:"The maximum file limit has been reached",message:{fi:"Liitteiden maksimimäärä saavutettu.",sv:"Maximalt antal bilagor har uppnåtts.",en:"Maximum number of attachments reached."}}],M=(t,e)=>{let a={type:void 0,system_message:void 0,message:void 0};return a=(e=x(e)).filter((e=>e.type==t))[0],a||(a=e.filter((t=>"default"===t.type))[0]),a},S=(t,e)=>{const a=M(t,e),i=p(a.message);return""!==i&&i?i:a.system_message},E={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"},j=({data:e,showLinks:a,type:i,actions:s,errorCodes:d,theme:o,label:l,categoryLabel:n,showCategory:r})=>{const{uid:h,item:u,size:b,uploaded:m,url:c,meta:g,progress:f,error:y}=e,{name:v}=u,x=t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),v),w=t("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",((t,e=2)=>{if(0===t)return"0 Bytes";const a=e<0?0:e,i=Math.floor(Math.log(t)/Math.log(1024));return parseFloat((t/Math.pow(1024,i)).toFixed(a))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]})(b),")"),k=g&&g.badges?t("span",null,g.badges.map((e=>t("duet-badge",{color:"primary"},e)))):void 0,z=`${g&&g.badges?g.badges.join(","):""} ${v}`;return t("div",{class:{"upload-item-row":!0}},r&&t("div",{class:"item-categories"},t("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},p(n)),k),t("div",{class:{"item-name":!0,"no-category":!r}},!!l&&t("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},p(l)),(()=>{switch(i){case"inprogress":return t("span",{class:"duet-upload-item-name",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),v),t("duet-visually-hidden",null,t("duet-paragraph",null,p(E))),t("duet-progress",{progress:Math.ceil(f),"aria-hidden":!0}));case"pending":return t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),v);case"failure":return t("span",{class:"duet-upload-item-error",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),v),t("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},S(y.type,d)));default:return t("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},m&&c&&a?t("duet-link",{url:c,external:!0},x):x,t("duet-spacer",{size:"xx-small",direction:"horizontal"}),w)}})()),t("div",{class:"item-actions"},s.map((e=>t("duet-action-button",{actionMeta:Object.assign({},g||{}),actionId:h||null,actionName:e.name,theme:o,iconName:e.icon,iconColor:e.color,iconSize:e.size,background:e.background,"accessible-label":`${z} ${p(e.label)} `,accessibleTitle:!1})))))},F=({label:e,categoryLabel:a})=>t("div",{class:"items-header"},a&&t("duet-heading",{class:"category-header",border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none"},p(a)),t("duet-heading",{class:{"filename-header":!0,"no-category":!a},border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none"},p(e))),C=(t,e,a)=>{const{allowedMimetypes:i,allowedExtensions:s,maxBytes:d}=e;let o=!1,l=M("default",a);if(t){const{name:e,type:n,size:r}=t,h=((t,e)=>{if(!e||!t)return!0;const a=e.split(",");let i=!1;return a.forEach((e=>{const a=e.split("/"),s=t.split("/");a[0]!==s[0]||a[1]!==s[1]&&"*"!==a[1]||(i=!0)})),i})(n,i),u="all"===s||""===s||" "===s||void 0===s||((t,e)=>{if(!e)return!0;const a=t.split(".");return e.split(",").includes(a[a.length-1])})(e.toLowerCase(),s),b=((t,e)=>!e||!t||e>=t)(r,d);h||(l=M("duet-upload-101",a)),u||(l=M("duet-upload-100",a)),b||(l=M("duet-upload-201",a)),o=h&&u&&b}else o=!1;return{valid:o,errorMessage:o?void 0:p(l.message),errorSystem:o?void 0:l.system_message,errorType:o?void 0:l.type}},$=({payload:t,options:e,onFailure:a,onSuccess:i,onProgress:s})=>{const{type:d="POST",xhr:o,uri:l,argument:n=null,headers:r=null}=e;o.open(d,`${l}${n||""}`,!0);const{data:h,name:u}=t;return r&&Object.keys(r).forEach((t=>{o.setRequestHeader(t,r[t])})),"POST"===d&&(o.onreadystatechange=()=>{o.readyState===XMLHttpRequest.DONE&&o.status>=200&&o.status<300&&i(o,u,o.status),o.readyState===XMLHttpRequest.DONE&&o.status>=300&&o.status<999&&a(o,u,o.status)},s(u)),o.send(h),o},R=class{constructor(i){e(this,i),this.duetChange=a(this,"duetChange",3),this.duetBlur=a(this,"duetBlur",7),this.duetFocus=a(this,"duetFocus",7),this.duetReady=a(this,"duetReady",7),this.duetDone=a(this,"duetDone",3),this.duetState=a(this,"duetState",3),this.duetDelete=a(this,"duetDelete",3),this.duetCancel=a(this,"duetCancel",3),this.duetProgress=a(this,"duetProgress",3),this.duetUpload=a(this,"duetUpload",3),this.buttonId=v("DuetButton"),this.labelId=v("DuetLabel"),this.uploadId=v("DuetUpload"),this.filesInProgress=new Map,this.fileMaxReached=!1,this.bytesMaxReached=!1,this.internalStatusMessageLabel=void 0,this.DefaultGroups={inprogress:"inprogress",success:"success",pending:"pending",failure:"failure"},this.kick=n((()=>{this.tick=Date.now()}),30),this.categoryLabel={en:"Category",sv:"Filtyp",fi:"Tiedostotyyppi"},this.listenForActionEvents=()=>{this.element.addEventListener("duetActionEvent",(t=>{const e=t.detail,{action:a,id:i,originalEvent:s}=e;switch(a){case"delete":this.onDelete(i,s);break;case"cancel":this.onCancel(i,s)}}))},this.verifyValidity=()=>{const{invalid:t,valid:e}=this.getFilesAsArray(),a=this.valid;this.valid=0===t.length&&0!==e.length,this.valid!==a&&this.duetState.emit({originalEvent:void 0,data:{valid:this.valid,from:"componentWillRender"},component:"duet-upload"})},this.getGroupFromItemData=t=>t.valid&&100===t.progress?this.DefaultGroups.success:t.progress>0&&100!==t.progress?this.DefaultGroups.inprogress:t.valid?t.pending?this.DefaultGroups.pending:t.group?t.group:"none":this.DefaultGroups.failure,this.mapFilesToUploadItems=(e,a,i)=>a===this.DefaultGroups.success?t(j,{theme:this.theme,actions:this.getActions(a),type:"success",data:e,showLinks:this.showLinks,categoryLabel:this.categoryLabel,label:this.uploadedItemsHeaderLabel,showCategory:i}):a===this.DefaultGroups.inprogress?t(j,{theme:this.theme,actions:this.getActions(a),type:"inprogress",data:e,showLinks:this.showLinks,categoryLabel:this.categoryLabel,label:this.uploadedItemsHeaderLabel,showCategory:i}):a===this.DefaultGroups.pending?t(j,{theme:this.theme,actions:this.getActions(a),type:"pending",data:e,showLinks:this.showLinks,categoryLabel:this.categoryLabel,label:this.uploadedItemsHeaderLabel,showCategory:i}):a===this.DefaultGroups.failure?t(j,{theme:this.theme,actions:this.getActions(a),type:"failure",data:e,showLinks:this.showLinks,errorCodes:this.errorCodes,categoryLabel:this.categoryLabel,label:this.uploadedItemsHeaderLabel,showCategory:i}):e.group?e.html:"none",this.genHashName=()=>Date.now().toString(36)+Math.random(),this.updateValueInMap=(t,e,a,i=!0)=>{try{const i=this.files.get(t);i[e]=a,this.files.set(t,i),this.external&&"url"!==e&&this.trackProgress(t,"uploaded"===e)}catch(s){}i&&this.kick()},this.updateProgress=(t,e)=>{t.lengthComputable?(a=>{this.updateValueInMap(e,"progress",a),this.onProgress(e,a,t)})(t.loaded/t.total*100):console.log("cant read progress")},this.trackProgress=(t,e=!1)=>{e?this.filesInProgress.delete(t):this.filesInProgress.set(t,"inprogress"),0===this.filesInProgress.size&&this.onDone()},this.getFilesAsArray=()=>{const t=[],e=[];return this.files.forEach((a=>{a.valid&&!a.deleted?t.push(a):a.valid||a.deleted||e.push(a)})),{valid:t,invalid:e}},this.resetFormFields=()=>{this.nativeInput.value=""},this.startUpload=async(t,e)=>{const{bytesMaxReached:a,fileMaxReached:i}=this.validateTotals();a||i?this.kick():(this.metaData=e,this.nativeInput.click(),this.onUpload(t,e),t.stopPropagation(),t.preventDefault())},this.transferComplete=t=>{this.updateValueInMap(t,"progress",100,!1),this.trackProgress(t,!0)},this.transferDone=(t,e,a)=>{this.updateValueInMap(e,"status",a,!1),this.updateValueInMap(e,"uploaded",!0,!1);try{const a=JSON.parse(t.response);this.updateValueInMap(e,"url",a.url)}catch(i){this.updateValueInMap(e,"url",null),console.error("Server did not respond with expected response {url: string}")}},this.transferDoneWithFailure=(t,e,a)=>{try{const{error:a}=JSON.parse(t.response);this.updateValueInMap(e,"error",{message:a.message,type:a.type},!1)}catch(i){console.error("Server did not respond with expected response error:{message: string, type: int}"),this.updateValueInMap(e,"error",{type:a},!1)}this.updateValueInMap(e,"valid",!1,!0)},this.transferFailed=t=>{this.updateValueInMap(t,"error",S("duet-upload-001",this.errorCodes))},this.transferCanceled=t=>{this.files.delete(t),this.validateTotals(t),this.kick()},this.validateTotals=t=>{const e=((t,e)=>{let a=0;return!!(e&&(this.files.forEach((t=>{t.valid&&t.size&&(a+=t.size)})),a>=e))})(0,this.maxBytesTotal),a=((t,e)=>{let a=0;return!!(e&&(this.files.forEach((t=>{t.valid&&a++})),a>=e))})(0,this.maxFiles);return e&&t&&this.updateValueInMap(t,"error",S("duet-upload-202",this.errorCodes),!1),a&&t&&this.updateValueInMap(t,"error",S("duet-upload-301",this.errorCodes),!1),this.bytesMaxReached=e,this.fileMaxReached=a,{bytesMaxReached:e,fileMaxReached:a}},this.uploadFile=async(t,e=!1,a)=>{!e&&this.deferUpload?(this.updateValueInMap(t.item.name,"pending",!0,!1),this.updateValueInMap(t.item.name,"group","pending",!0)):e&&(this.updateValueInMap(t.item.name,"pending",!1,!1),this.updateValueInMap(t.item.name,"group",void 0,!0));try{if(!this.deferUpload||e){const e=new FormData;e.append("file",t.item),a&&e.append("key",a),e.append("uid",t.uid),e.append("name",t.item.name),e.append("metadata",JSON.stringify({uid:t.uid,url:this.uri,size:t.item.size,meta:t.meta})),t.xhr=await this.makeXHRPostRequest(e)}}catch(i){this.updateValueInMap(t.item.name,"valid",!1,!1)}},this.uploadPendingFiles=()=>{for(const[t,e]of Array.from(this.files.entries()))"pending"===e.group&&!0===e.pending&&this.uploadFile(e,!0,t)},this.getItemFromUID=t=>{for(const[e,a]of Array.from(this.files.entries()))if(a.uid===t)return{value:a,key:e};return null},this.handleExternalUploadButton=(t,e)=>{this.externalUploadButton&&(this.externalUploadButton.disabled=!(!t&&!e))},this.onDelete=(t,e)=>{const a=this.getItemFromUID(t).key,i=this.files.get(a);this.files.delete(a);const{bytesMaxReached:s,fileMaxReached:d}=this.validateTotals();this.handleExternalUploadButton(s,d),this.kick(),this.duetDelete.emit({originalEvent:e,data:{deletion:i},component:"duet-upload"}),this.external||i.pending||this.makeXHRDeleteRequest(i),this.resetFormFields()},this.onCancel=(t,e)=>{const a=this.getItemFromUID(t).key,i=this.files.get(a);this.files.delete(a);const{bytesMaxReached:s,fileMaxReached:d}=this.validateTotals();if(this.handleExternalUploadButton(s,d),!this.external){const{xhr:t}=i;t&&t.abort()}this.kick(),this.resetFormFields(),this.duetCancel.emit({originalEvent:e,data:{cancelled:i},component:"duet-upload"})},this.onUpload=(t,e)=>{this.duetUpload.emit({originalEvent:t,metaData:e,component:"duet-upload"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,component:"duet-upload"})},this.onProgress=(t,e,a)=>{this.duetChange.emit({originalEvent:a,data:{key:t,percentComplete:e},component:"duet-upload"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,component:"duet-upload"})},this.onReady=()=>{this.duetReady.emit({component:"duet-upload"})},this.onDone=()=>{this.duetDone.emit({component:"duet-upload",data:{files:this.files}})},this.filterMap=()=>{const t=Array.from(this.files.values()),e=[],a=[],i=[],s=[];let d=!1;return t.forEach((t=>{const o=this.getGroupFromItemData(t);t.meta&&t.meta.badges&&(d=!0),o===this.DefaultGroups.success?s.push({uid:t.uid,data:t}):o===this.DefaultGroups.inprogress?e.push({uid:t.uid,data:t}):o===this.DefaultGroups.pending?i.push({uid:t.uid,data:t}):o===this.DefaultGroups.failure?a.push({uid:t.uid,data:t}):t.group&&e.push({uid:t.uid,data:t})})),{pending:i,failure:a,success:s,inprogress:e,hasCategory:d}},this.getActions=t=>this.actions.filter((e=>e.map.includes(t))),this.renderUploadedItems=()=>{const e=this.filterMap(),a=e.hasCategory,i=this.groups.map((i=>{const s=e[i.id];if(null==s?void 0:s.length)return t(d,null,!this.hideGroups&&t(F,{categoryLabel:a?this.categoryLabel:void 0,label:i.label}),s.map((t=>this.mapFilesToUploadItems(t.data,i.id,a))))}));return t(d,null,this.showUploadedItemsHeader&&t(F,{categoryLabel:a?this.categoryLabel:void 0,label:this.uploadedItemsHeaderLabel}),i)},this.tick=Date.now(),this.accessibleActiveDescendant=void 0,this.accessibleDescribedBy=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.external=!1,this.middleware=null,this.deferUpload=!1,this.hideButton=!1,this.actions=[{icon:"action-delete",color:"color-danger",size:"x-small",background:"gray-lightest",name:"delete",map:["success","failure"],label:{fi:"Poista tiedosto",en:"Delete the file",sv:"Ta bort filen"}},{icon:"navigation-close",color:"primary",size:"x-small",background:"gray-lightest",name:"cancel",map:["inprogress","pending"],label:{fi:"Keskeytä lähetys",en:"Cancel the upload",sv:"Stop överföringen"}}],this.uri=void 0,this.showLinks=!1,this.caption=void 0,this.statusLabelDefaults={fi:{inProgress:"Lähetetään {filesUploaded} lähetettävästä {filesTotal} tiedostosta",inProgressWithErrors:"Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä",done:"Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti",doneWithErrors:"Lataus valmis, {filesUploaded} tiedostoa ladattu onnistuneesti, {filesWithErrors} tiedostossa oli virheitä",files:"tiedostot",file:"tiedosto"},sv:{inProgress:"Adding {filesUploaded} of {filesTotal}",inProgressWithErrors:"Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",done:"Alla {filesTotal} har lagts till",doneWithErrors:"Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",files:"filer",file:"fil"},en:{inProgress:"Adding {filesUploaded} of {filesTotal}",inProgressWithErrors:"Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",done:"All {filesTotal} added successfully",doneWithErrors:"Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors",files:"File",file:"file"}},this.statusMessageLabel=p(this.statusLabelDefaults),this.buttonLabelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add an attachment"},this.buttonLabel=p(this.buttonLabelDefaults),this.accessibleButtonLabel=void 0,this.theme="",this.disabled=!1,this.identifier=void 0,this.margin="auto",this.required=!1,this.alignment="middle",this.hideGroups=!1,this.files=new Map,this.valid=!this.required,this.labelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add attachments"},this.label=p(this.labelDefaults),this.descriptionDefaults={en:"You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",sv:"Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",fi:"Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena."},this.description=p(this.descriptionDefaults),this.fileListEmptyDefaults={fi:"Ei vielä lisättyjä tiedostoja.",sv:"Inga filer har lagts till ännu.",en:"No files added yet."},this.fileListEmpty=p(this.fileListEmptyDefaults),this.error="",this.errorCodes=L,this.name=void 0,this.maxBytes=2e8,this.maxBytesTotal=void 0,this.maxFiles=99,this.allowedExtensions="all",this.allowedMimetypes="*",this.multiple=!0,this.limitSelection=!1,this.value=void 0,this.externalUploadButtonId=void 0,this.captionOnBottom=!1,this.showUploadedItemsHeader=!1,this.uploadedItemsHeaderLabel={fi:"Ladattu tiedosto",sv:"Lägg till en bilaga",en:"Uploaded file"},this.hideHeader=!1,this.groups=[{id:this.DefaultGroups.success,label:{fi:"Valmiit tiedostot",sv:"Files success",en:"Files success"}},{id:this.DefaultGroups.failure,label:{fi:"Tiedostot, joissa on virheitä",sv:"Filer med fel",en:"Files with errors"}},{id:this.DefaultGroups.inprogress,label:{fi:"Kesken olevat tiedostot",sv:"Filer inprogress",en:"Files inprogress"}},{id:this.DefaultGroups.pending,label:{en:"Files to upload",sv:"Filer att ladda",fi:"Ladattavat tiedostot"}}]}watchValidHandler(t,e){t!==e&&this.kick()}componentWillLoad(){this.internalStatusMessageLabel="string"==typeof this.statusMessageLabel?m(this.groups):this.statusMessageLabel,o(this),this.listenForActionEvents(),this.onReady(),this.externalUploadButton=document.querySelector(`#${this.externalUploadButtonId}`)}componentWillRender(){this.verifyValidity()}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async upload(t){const{bytesMaxReached:e,fileMaxReached:a}=this.validateTotals();if(e||a)return this.handleExternalUploadButton(e,a),void this.kick();this.metaData=t,this.nativeInput.click()}async uploadPending(){this.uploadPendingFiles()}async refresh(){this.kick(),await this.setFocus()}async getFiles(){return!(!this.files||0===this.files.size)&&this.getFilesAsArray()}async updateValue(t,e,a){this.updateValueInMap(t,e,a)}render(){const e=this.identifier||this.uploadId,a=Math.round((this.maxBytesTotal?this.maxBytesTotal:this.maxBytes*this.maxFiles)/1024/1024),s=Math.round(this.maxBytes/1024/1024);let o=this.description.replace(/{maxfiles}/g,this.maxFiles.toString());return o=o.replace(/{maxbytes}/g,`${s.toString()} MB`),o=o.replace(/{maxbytestotal}/g,`${a.toString()} MB`),o=o.replace(/{filetypes}/g,this.allowedExtensions.split(",").join(", ")),this.externalUploadButton&&(this.externalUploadButton.ariaLabel=o),t(i,{class:{"duet-m-0":"none"===this.margin}},t("duet-fieldset",{"label-hidden":this.hideHeader,label:this.label,caption:this.captionOnBottom?void 0:o},t("slot",{name:"header"}),!this.files.size&&t("duet-empty-state",{id:this.labelId,part:this.identifier?`${this.identifier}-empty-state`:"duet-upload-empty-state",icon:"messaging-attachment"},t("duet-paragraph",{margin:"none"},this.fileListEmpty)),!!this.files.size&&t("slot",{name:"fileheader"}),!!this.files.size&&t("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.renderUploadedItems(),!!this.files.size&&t("slot",{name:"filefooter"}),t("slot",{name:"uploadfooter"}),this.captionOnBottom&&t("duet-caption",{margin:"none",size:"small"},t("div",{class:"upload-bottom-caption"},o)),t("slot",{name:"afterfooter"}),!this.hideButton&&t(d,null,t("duet-spacer",{size:"large"}),t("duet-button",{id:this.buttonId,onClick:this.startUpload,"accessible-controls":e,disabled:this.fileMaxReached,"accessible-label":this.accessibleButtonLabel,"accessible-owns":e,size:"small",variation:"secondary",fixed:!0,icon:"action-add-circle",part:this.identifier?`${this.identifier}-button-upload`:"duet-upload-button-upload"},this.buttonLabel)),(this.fileMaxReached||this.bytesMaxReached)&&t(d,null,t("duet-spacer",{size:"medium"}),t("duet-alert",{part:this.identifier?`${this.identifier}-error-notification`:"duet-upload-error-notification"},this.fileMaxReached&&S("duet-upload-301",this.errorCodes),this.bytesMaxReached&&S("duet-upload-202",this.errorCodes))),t("duet-visually-hidden",{"aria-hidden":"true"},t("input",{ref:t=>{this.nativeInput=t},accept:this.limitSelection?`${this.allowedMimetypes},${this.allowedExtensions}`:void 0,onBlur:this.onBlur,onFocus:this.onFocus,onChange:t=>this.onChange(t),type:"file",class:{"duet-upload":!0},disabled:this.disabled,"aria-hidden":"true",required:this.required,name:this.name,id:this.identifier,multiple:this.multiple,tabIndex:-1}))))}makeXHRPostRequest(t){const e=new XMLHttpRequest,a=t.get("name");e.upload.addEventListener("progress",(t=>{this.updateProgress(t,a)})),e.upload.addEventListener("load",(()=>{this.transferComplete(a)})),e.upload.addEventListener("error",(()=>{this.transferFailed(a)})),e.upload.addEventListener("abort",(()=>{this.transferCanceled(a)}));let i={payload:{data:t,name:a},options:{type:"POST",uri:this.uri,xhr:e,argument:null,headers:void 0},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};return this.middleware&&(i=this.middleware(i)),$(i)}makeXHRDeleteRequest(t){const{uid:e,item:a}=t,i=new XMLHttpRequest;let s={payload:{data:null,name},options:{type:"DELETE",xhr:i,uri:this.uri,argument:`?key=${e}&name=${a.name}`,headers:{"x-fileuid":e,"x-filename":a.name}},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};return this.middleware&&(s=this.middleware(s)),$(s)}async onChange(t){var e;const a=Array.from(null===(e=this.nativeInput)||void 0===e?void 0:e.files);if(a)for(const i of a){const{valid:t,errorMessage:e,errorType:a,errorSystem:s}=C(i,{maxBytes:this.maxBytes,allowedExtensions:this.allowedExtensions,allowedMimetypes:this.allowedMimetypes},this.errorCodes),d={uid:this.genHashName(),item:i,size:i.size,meta:this.metaData,uploaded:!1,valid:t,error:{type:t?void 0:a,message:t?void 0:e,system_message:t?void 0:s},progress:0,deleted:!1,xhr:!1,url:!1};this.files.set(i.name,d),t&&!this.external?await this.uploadFile(d):t&&this.external?(this.updateValueInMap(d.item.name,"pending",!0,!1),this.updateValueInMap(d.item.name,"group","pending",!0)):t||this.updateValueInMap(i.name,"valid",!1,!0),this.kick()}this.resetFormFields(),this.metaData=void 0,this.duetChange.emit({originalEvent:t,data:{files:this.files},component:"duet-upload"})}get element(){return s(this)}static get watchers(){return{valid:["watchValidHandler"]}}};R.style="*,*::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}::slotted([slot=header]){margin-bottom:16px}::slotted([slot=fileheader]){margin:16px 0 0 0}::slotted([slot=filefooter]){margin-top:16px}::slotted([slot=uploadfooter]){margin-top:20px}.duet-upload{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-upload-item-size{font-size:0.75rem;font-weight:400}.duet-upload-filelist{margin-bottom:25px}.duet-upload-filelist-empty{display:flex;align-items:center;justify-content:center;width:100%;height:75px;margin:0 auto;font-size:1rem;font-weight:400;background-color:rgb(245, 248, 250)}.duet-upload-filelist-empty-label{font-size:1rem;font-weight:400}.duet-upload-editable-table-header-hidden{display:none}.duet-upload-editable-table tbody .duet-upload-editable-table-data{padding:0 !important;border:0}.duet-upload-editable-table duet-editable-table tfoot,.duet-upload-editable-table duet-editable-table thead{display:none}.duet-upload-editable-table duet-editable-table .duet-editable-table-content{padding-right:0 !important;padding-left:0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td{padding:1rem 0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child{padding-right:0 !important}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending{position:relative}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress{position:absolute;bottom:0;width:100%}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button),.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button){border:0}duet-paragraph::part(duet-paragraph){word-break:break-word}duet-editable-table tfoot{display:none}.upload-bottom-caption{margin-top:12px;margin-bottom:16px;line-height:1.4rem}.items-header{display:none;flex-direction:row;margin-bottom:0}@media (min-width: 36em){.items-header{display:flex}}.items-header:not(:last-child),.items-header:not(:first-child){margin-top:12px}.items-header .category-header{width:35%}.items-header .filename-header{width:65%}.items-header .filename-header.no-category{width:100%}.upload-item-row{display:flex;flex-direction:column;gap:16px;align-content:center;align-items:center;padding:16px 0 16px 0;border-bottom:1px solid rgb(225, 227, 230)}@media (min-width: 36em){.upload-item-row{flex-direction:row;gap:10px}}.upload-item-row .item-categories{width:100%}@media (min-width: 36em){.upload-item-row .item-categories{width:35%}}.upload-item-row .item-name{position:relative;bottom:2px;width:100%;text-align:left}@media (min-width: 36em){.upload-item-row .item-name{width:50%}.upload-item-row .item-name.no-category{width:85%}}.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:block}@media (min-width: 36em){.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:none}}.upload-item-row .item-actions{width:100%;margin-left:-8px;text-align:left}@media (min-width: 36em){.upload-item-row .item-actions{width:15%;padding-top:0;margin-left:auto;text-align:right}}.upload-item-row .duet-upload-item-name duet-icon{position:relative;top:4px}.upload-item-row .duet-upload-item-name duet-progress{display:block;margin-top:16px}";export{k as duet_editable_table,T as duet_table,R as duet_upload}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-e53bec6b.system.js","./p-21f3a17a.system.js"],(function(e,s){"use strict";var a,l,c,i,t,n,o;return{setters:[function(s){a=s.d;l=s.N;c=s.w;i=s.p;t=s.a;n=s.b;e("setNonce",s.s)},function(e){o=e.g}],execute:function(){function e(e){var s,a,l;return(l=(a=(s=e.head)===null||s===void 0?void 0:s.querySelector('meta[name="csp-nonce"]'))===null||a===void 0?void 0:a.getAttribute("content"))!==null&&l!==void 0?l:undefined}var b=function(e){return"__sc_import_".concat(e.replace(/\s|-/g,"_"))};var d=function(){var e=Array.from(a.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(l,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===l}));var t=(e||{})["data-opts"]||{};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{t.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,c.location.href)).href;{r(t.resourcesUrl,e)}if(!c.customElements){return s.import("./p-6cf44bfa.system.js").then((function(){return t}))}}return i(t)};var r=function(s,i){var n=b(l);try{c[n]=new Function("w","return import(w);//".concat(Math.random()))}catch(d){var o=new Map;c[n]=function(l){var b;var d=new URL(l,s).href;var r=o.get(d);if(!r){var u=a.createElement("script");u.type="module";u.crossOrigin=i.crossOrigin;u.src=URL.createObjectURL(new Blob(["import * as m from '".concat(d,"'; window.").concat(n,".m = m;")],{type:"application/javascript"}));var p=(b=t.$nonce$)!==null&&b!==void 0?b:e(a);if(p!=null){u.setAttribute("nonce",p)}r=new Promise((function(e){u.onload=function(){e(c[n].m);u.remove()}}));o.set(d,r);a.head.appendChild(u)}return r}}};d().then((function(e){o();return n(JSON.parse('[["p-0559c939.system",[[1,"duet-icon",{"theme":[1025],"icon":[1],"src":[1],"name":[1],"margin":[1],"responsive":[4],"color":[513],"background":[1],"backgroundOpacity":[2,"background-opacity"],"backgroundRotation":[2,"background-rotation"],"size":[1],"outline":[1],"shape":[1],"svgContent":[32]}]]],["p-a2123bdd.system",[[17,"duet-link",{"variation":[1],"accessibleLabel":[1,"accessible-label"],"language":[1537],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"identifier":[1],"theme":[1025],"url":[513],"external":[4],"tabToLink":[4,"tab-to-link"],"icon":[1],"padding":[1],"setFocus":[64]}],[1,"duet-heading",{"level":[513],"margin":[1],"visualLevel":[1,"visual-level"],"border":[8],"weight":[1],"color":[1],"theme":[1025],"hyphenate":[4]}],[1,"duet-paragraph",{"theme":[1025],"margin":[1],"size":[1],"weight":[1],"variation":[1],"color":[1]}],[1,"duet-caption",{"theme":[1025],"margin":[1],"selected":[4],"size":[1]}]]],["p-8970a10f.system",[[6,"duet-choice-group",{"direction":[1],"margin":[1],"theme":[1025],"error":[1],"name":[1],"label":[1],"labelHidden":[4,"label-hidden"],"caption":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"responsive":[4],"breakpoint":[1],"value":[1537],"disabled":[4]}],[6,"duet-choice",{"theme":[1025],"label":[1],"accessibleLabelInfoButtonDefaults":[1,"accessible-label-info-default"],"accessibleLabelInfoButton":[1025,"accessible-label-info-button"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"caption":[1],"value":[1537],"type":[513],"name":[1],"checked":[1540],"collapsible":[4],"margin":[1],"icon":[1],"expand":[4],"padding":[1],"identifier":[1],"groupDirection":[1,"group-direction"],"groupDisabled":[4,"group-disabled"],"groupResponsive":[4,"group-responsive"],"disabled":[516],"required":[4],"infoLabelDefaults":[1,"accessible-label-info-default"],"infoLabel":[1025,"info-label"],"isHovering":[32],"isInfoOpen":[32],"isBlurred":[32],"language":[32],"setFocus":[64],"toggleInfoMethod":[64]},[[2,"blur","handleHostBlur"],[2,"keydown","handleHostKeyDown"],[2,"keyup","handleHostKeyUp"]]]]],["p-e3465c7e.system",[[1,"duet-pagination",{"theme":[1025],"jumpString":[1,"jump-string"],"variation":[1],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabelsDefaults":[16],"accessibleLabels":[1040],"take":[2],"visibleItems":[2,"visible-items"],"total":[2],"ariaControls":[1,"accessible-controls"],"current":[1026],"numbersStore":[32],"totalPages":[32],"internalSectionIndex":[32],"language":[32]}],[1,"duet-range-stepper",{"theme":[1025],"stepIndex":[1026,"step-index"],"stepSize":[2,"step-size"],"total":[2],"ariaLabelsDefaults":[16],"ariaLabels":[1040],"ariaControls":[1,"accessible-controls"],"language":[32]}]]],["p-888d9f0a.system",[[2,"duet-date-picker",{"theme":[1025],"expand":[4],"name":[1],"identifier":[1],"label":[1],"caption":[1],"margin":[1],"language":[1537],"placeholderDefaults":[1,"placeholder-default"],"placeholder":[1025],"echoPlaceholder":[1540,"echo-placeholder"],"disabled":[516],"error":[1],"labelHidden":[4,"label-hidden"],"role":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"required":[4],"direction":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"value":[1537],"min":[1],"max":[1],"incrementYears":[2,"increment"],"validity":[1040],"open":[32],"focusedDay":[32],"inputValue":[32],"setFocus":[64],"show":[64],"hide":[64]},[[4,"click","handleDocumentClick"]]]]],["p-9a508e8a.system",[[1,"duet-hero",{"theme":[1025],"heading":[1],"preHeading":[1,"pre-heading"],"level":[1],"subHeadingLevel":[1,"sub-heading-level"],"description":[1],"icon":[1],"iconSize":[1,"icon-size"],"iconRight":[4,"icon-right"],"categoryIcon":[1,"category-icon"],"categoryIconColor":[1,"category-icon-color"],"buttonLabel":[1,"button-label"],"language":[1025],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"buttonUrl":[1,"button-url"],"buttonId":[1,"button-id"],"buttonData":[16],"textCenter":[4,"text-center"],"leftAlign":[4,"left-align"],"image":[1],"variation":[1],"back":[8],"listItems":[8,"list-items"],"actions":[8],"layout":[1025],"processedListItems":[32],"processedActions":[32],"processedBack":[32]}]]],["p-adcc189e.system",[[2,"duet-number-input",{"language":[1025],"locale":[1],"unit":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleLiveDefaults":[1,"accessible-live-default"],"accessibleLive":[1,"accessible-live"],"accessibleLiveEnabled":[4,"accessible-live-enabled"],"accessibleAddDefaults":[1,"accessible-add-default"],"accessibleAdd":[1,"accessible-add"],"accessibleSubtractDefaults":[1,"accessible-subtract-defaults"],"accessibleSubtract":[1,"accessible-subtract"],"theme":[1025],"margin":[1],"expand":[4],"identifier":[1],"min":[2],"labelDefaults":[1,"label-default"],"label":[1],"labelHidden":[4,"label-hidden"],"max":[2],"name":[1],"error":[1],"tooltip":[1],"step":[2],"rounding":[4],"role":[1],"disabled":[516],"required":[4],"value":[1025],"focusedValue":[32],"setFocus":[64]}]]],["p-2cf703de.system",[[1,"duet-contact-card",{"theme":[1025],"margin":[1],"image":[1025],"name":[1025],"description":[1025],"email":[1025],"phone":[1025],"buttonText":[1025,"button-text"],"buttonIcon":[1025,"button-icon"],"buttonUrl":[1025,"button-url"],"language":[32]}]]],["p-f9a7f80a.system",[[1,"duet-multiselect",{"margin":[1],"error":[1],"accessibleLiveError":[1,"accessible-live-error"],"expand":[4],"value":[1040],"theme":[1025],"labelHidden":[4,"label-hidden"],"identifier":[1],"placeholder":[1],"caption":[1],"items":[1],"disabled":[516],"label":[1],"accessibleDescribedBy":[1,"accessible-described-by"],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"processedItems":[32],"checkboxesVisible":[32],"activeDescendant":[32],"language":[32],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-709a3bcc.system",[[2,"duet-textarea",{"margin":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleAutocomplete":[1,"accessible-autocomplete"],"accessibleControls":[1,"accessible-controls"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLiveError":[1,"accessible-live-error"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"theme":[1025],"expand":[4],"disabled":[516],"identifier":[1],"required":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"placeholder":[1],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"maxlength":[2],"minlength":[2],"error":[1],"role":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"value":[1025],"disallowPattern":[1,"disallow-pattern"],"counter":[4],"counterLabel":[1,"counter-label"],"setFocus":[64]}]]],["p-ea28689d.system",[[1,"duet-modal",{"language":[1537],"accessibleCloseLabelDefaults":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1025,"accessible-close-label"],"size":[1],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleLabel":[1,"accessible-label"],"accessibleDetails":[1,"accessible-details"],"accessibleDescription":[1,"accessible-description"],"gutterSize":[1,"gutter-size"],"theme":[1025],"heading":[1],"headingLevel":[1,"heading-level"],"headingVisualLevel":[1,"heading-visual-level"],"icon":[1],"color":[1],"active":[1540],"closeOnBlur":[1028,"close-on-blur"],"open":[32],"show":[64],"hide":[64]},[[8,"keyup","handleKeyUp"]]]]],["p-2e9306c2.system",[[6,"duet-radio-group",{"direction":[1],"margin":[1],"theme":[1025],"error":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"name":[1],"label":[1],"labelHidden":[4,"label-hidden"],"caption":[1],"responsive":[4],"value":[1537],"disabled":[4]}],[2,"duet-radio",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleIndex":[1,"accessible-index"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"theme":[1025],"disabled":[516],"required":[4],"blockEvents":[4,"block-events"],"identifier":[1],"label":[1],"name":[1],"role":[1],"groupDisabled":[4,"group-disabled"],"groupDirection":[1,"group-direction"],"groupResponsive":[4,"group-responsive"],"checked":[1540],"value":[1537],"setFocus":[64]}]]],["p-a22f0c5b.system",[[1,"duet-cookie-consent",{"accessibleLabel":[1,"accessible-label"],"theme":[1025]}]]],["p-14b1b60b.system",[[1,"duet-notification-drawer",{"icon":[1],"label":[1],"language":[1],"accessibleLabelNotificationsDefaults":[1,"accessible-label-notification-default"],"accessibleLabelNotifications":[1,"accessible-label-notifications"],"badge":[4],"theme":[1025],"direction":[1],"isOpen":[32],"hasNotifications":[32],"setFocus":[64],"open":[64],"close":[64]},[[6,"focus","handleClickFocusOutside"],[6,"click","handleClickFocusOutside"]]],[1,"duet-notification",{"language":[1537],"accessibleLabelUnreadDefaults":[16],"accessibleLabelUnread":[1025,"accessible-label-unread"],"url":[1],"date":[1],"highlight":[4],"external":[4],"theme":[1025],"setFocus":[64]}]]],["p-54a0dcf8.system",[[6,"duet-step",{"theme":[1025],"heading":[1],"headingLevel":[1,"heading-level"],"stepIndex":[2,"step-index"],"state":[1],"roundedTop":[4,"rounded-top"],"roundedBottom":[4,"rounded-bottom"],"setFocus":[64]}],[1,"duet-stepper",{"theme":[1025],"accessibleLive":[1,"accessible-live"],"margin":[1],"backDisabled":[4,"back-disabled"],"selected":[1538]},[[0,"duetStepClick","onDuetStepClick"]]]]],["p-47e4204e.system",[[1,"duet-banner",{"theme":[1025],"margin":[1],"backgroundColor":[1,"background-color"],"iconColor":[1,"icon-color"],"iconBackgroundColor":[1,"icon-background-color"],"textColor":[1,"text-color"],"size":[1],"image":[1],"icon":[1],"headingLevel":[1,"heading-level"]}]]],["p-abf41f20.system",[[1,"duet-footer",{"theme":[1025],"variation":[1],"margin":[1],"logoHref":[1,"logo-href"],"language":[1537],"items":[8],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"menu":[8],"processedMainItem":[32],"processedItems":[32],"processedMenu":[32]}]]],["p-b7c95452.system",[[1,"duet-callout",{"theme":[1025],"margin":[1]}]]],["p-668f7c59.system",[[1,"duet-card",{"accessibleLabel":[1,"accessible-label"],"heading":[1],"secondaryHeading":[1,"secondary-heading"],"variation":[1],"collapsible":[4],"open":[1540],"headingLevel":[1,"heading-level"],"headingBackground":[1,"heading-background"],"icon":[1],"image":[1],"background":[1],"padding":[1],"margin":[1],"theme":[1025],"url":[1],"shadowBreakpoint":[1,"shadow-breakpoint"],"setFocus":[64]}]]],["p-238922fa.system",[[1,"duet-promo-card",{"theme":[1025],"margin":[1],"backgroundColor":[1,"background-color"],"textColor":[1,"text-color"],"image":[1],"headingLevel":[1,"heading-level"]}]]],["p-13ec59a5.system",[[1,"duet-tray",{"language":[1025],"accessibleCloseLabelDefaults":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1,"accessible-close-label"],"accessibleOpenLabelDefaults":[1,"accessible-open-label-default"],"accessibleOpenLabel":[1,"accessible-open-label"],"theme":[1025],"active":[516],"autoHide":[4,"auto-hide"],"responsive":[4],"expanded":[32],"hiddenState":[32]},[[9,"scroll","getFrame"],[16,"click","handleBodyClick"]]]]],["p-4f0a0167.system",[[1,"duet-breadcrumb",{"theme":[1025],"href":[1025],"icon":[1025],"accessibleLabel":[1,"accessible-label"]}]]],["p-81250a24.system",[[1,"duet-breadcrumbs",{"theme":[1025],"variation":[1],"children":[32]}]]],["p-1e10d6e2.system",[[1,"duet-collapsible",{"theme":[1025],"accessibleLabel":[1,"accessible-label"],"heading":[1],"centerHeading":[4,"center-heading"],"headingWeight":[1,"heading-weight"],"headingSize":[1,"heading-size"],"headingLevel":[1,"heading-level"],"margin":[1],"open":[1540],"setFocus":[64]}]]],["p-2fc605ca.system",[[6,"duet-combobox",{"accessibleLabelDefaults":[1,"accessible-label-defaults"],"accessibleLabels":[1040],"theme":[1025],"force":[4],"items":[1032],"formatter":[16],"value":[1537],"minCharacters":[2,"min-characters"],"openListOnClick":[4,"open-list-on-click"],"filterType":[1,"filter-type"],"processedItems":[32],"inputWidth":[32],"inputValue":[32],"selectionMsg":[32],"listOpen":[32],"selectedItems":[32],"activeItem":[32],"language":[32],"formatItem":[64]},[[4,"click","handleDocumentClick"]]]]],["p-5479176d.system",[[1,"duet-menu-bar",{"theme":[1025],"logo":[1028],"logoHref":[1025,"logo-href"],"logoLinkAccessibleLabel":[1025,"logo-link-accessible-label"],"accessibleLabel":[1,"accessible-label"],"logoSize":[32],"leftMoreVisible":[32],"rightMoreVisible":[32]},[[9,"resize","onWindowResize"]]]]],["p-23baee2b.system",[[1,"duet-menu-bar-button",{"accessibleLabel":[1,"accessible-label"],"accessibleControls":[1,"accessible-controls"],"accessiblePopup":[1,"accessible-popup"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleExpanded":[4,"accessible-expanded"],"accessiblePressed":[4,"accessible-pressed"],"theme":[1025],"icon":[1537],"iconSize":[32],"setFocus":[64]}]]],["p-669a3254.system",[[1,"duet-menu-bar-dropdown",{"accessibleLabel":[1,"accessible-label"],"theme":[1025],"open":[1540],"icon":[1537],"iconSize":[32],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-382edc5f.system",[[1,"duet-menu-bar-dropdown-link",{"theme":[1025],"href":[1025],"icon":[1537],"accessibleLabel":[1,"accessible-label"]}]]],["p-4e0b6493.system",[[1,"duet-menu-bar-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"accessibleLabel":[1,"accessible-label"],"iconSize":[32]}]]],["p-1e387d9c.system",[[1,"duet-page-heading",{"theme":[1025],"icon":[1025],"layout":[1025]}]]],["p-a16866b0.system",[[2,"duet-range-slider",{"theme":[1025],"margin":[1],"expand":[4],"identifier":[1],"name":[1],"required":[4],"disabled":[516],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"min":[2],"label":[1],"labelHidden":[4,"label-hidden"],"unit":[1],"max":[2],"step":[2],"locale":[1],"value":[1026],"debounce":[2],"setFocus":[64]}]]],["p-2e4c06ab.system",[[1,"duet-slideout",{"theme":[1025],"open":[1540],"backgroundColor":[1537,"background-color"],"language":[32],"toggle":[64],"setFocus":[64]},[[8,"keyup","handleKeyUp"]]]]],["p-35bd03c7.system",[[1,"duet-slideout-lang",{"theme":[1025],"language":[32]}]]],["p-4eef93c1.system",[[1,"duet-slideout-link",{"accessibleLabel":[1,"accessible-label"],"theme":[1025],"targetLanguage":[1,"target-language"],"active":[1028],"href":[1025],"icon":[1537],"size":[1537],"caret":[1028],"menuItem":[4,"menu-item"]}]]],["p-46429778.system",[[1,"duet-slideout-panel",{"theme":[1025],"active":[1540],"open":[1540],"icon":[1537],"labelSize":[1537,"label-size"],"backgroundColor":[1537,"background-color"],"label":[32],"language":[32],"setFocus":[64]}]]],["p-3013b019.system",[[1,"duet-slideout-panel-dropdown",{"theme":[1025],"active":[1540],"open":[1540],"icon":[1537],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-283ebb7f.system",[[1,"duet-submenu-bar",{"theme":[1025],"open":[1540],"accessibleLabel":[1,"accessible-label"],"mobile":[32],"bodyScroll":[32],"setFocus":[64]}]]],["p-2fa672b2.system",[[1,"duet-submenu-bar-dropdown",{"theme":[1025],"active":[1028],"open":[1540],"icon":[1537],"isDesktop":[32],"iconSize":[32],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-ec21d1c7.system",[[1,"duet-submenu-bar-dropdown-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"caret":[1028],"highlight":[1028]}]]],["p-6fbef5ba.system",[[1,"duet-submenu-bar-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"iconSize":[32]}]]],["p-6a37cde4.system",[[2,"duet-toggle",{"theme":[1025],"margin":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"label":[1],"labelPosition":[1,"label-position"],"required":[4],"disabled":[516],"checked":[1540],"value":[1537],"identifier":[1],"name":[1],"role":[1],"setFocus":[64]}]]],["p-7f29eda3.system",[[1,"duet-toolbar-dropdown",{"theme":[1025],"accessibleLabel":[1,"accessible-label"],"active":[1540],"open":[1540],"icon":[1537],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-92f91e36.system",[[1,"duet-toolbar-dropdown-link",{"accessibleLabel":[1,"accessible-label"],"theme":[1025],"targetLanguage":[1,"target-language"],"href":[1025],"icon":[1537],"active":[1028]}]]],["p-f5148591.system",[[1,"duet-toolbar-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"accessibleLabel":[1,"accessible-label"]}]]],["p-b60562d5.system",[[1,"duet-layout",{"sticky":[4],"margin":[1],"stickyDistance":[1,"sticky-distance"],"center":[4],"tabs":[4],"middle":[4],"paddingBreakpoint":[1,"padding-breakpoint"]}]]],["p-3fb081dc.system",[[1,"duet-nav",{"theme":[1025]}]]],["p-1afc8ff9.system",[[1,"duet-section-layout",{"margin":[1],"middle":[4]}]]],["p-7b45a0a4.system",[[1,"duet-toolbar",{"theme":[1025],"accessibleLabel":[1,"accessible-label"]}]]],["p-b526eeaa.system",[[2,"duet-select",{"variation":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDescribedBy":[1,"accessible-described-by"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"error":[1],"accessibleLiveError":[1,"accessible-live-error"],"expand":[4],"value":[1537],"theme":[1025],"labelHidden":[4,"label-hidden"],"identifier":[1],"name":[1],"placeholder":[1],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"items":[1],"disabled":[516],"required":[4],"label":[1],"role":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"processedItems":[32],"setFocus":[64]}]]],["p-a5591ee4.system",[[1,"duet-alert",{"theme":[1025],"accessibleLabelDefaults":[1,"accessible-label-default"],"accessibleLabel":[1025,"accessible-label"],"announcements":[4],"icon":[1],"autoDismiss":[2,"auto-dismiss"],"margin":[1],"padding":[1],"variation":[1],"dismissible":[4],"isDismissed":[32],"timeoutID":[32],"language":[32],"show":[64],"hide":[64]}]]],["p-8934bed7.system",[[0,"duet-progress",{"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabel":[1,"accessible-label"],"accessibleLabelUploadDefaults":[1,"accessible-label-upload-defaults"],"accessibleLabelUpload":[1,"accessible-label-upload"],"progress":[1538],"caption":[1],"height":[1],"theme":[1025]}]]],["p-24745bad.system",[[1,"duet-upload-aria-status",{"statusMessageLabel":[16],"accessibleAriaLive":[1,"accessible-aria-live"],"valid":[2],"total":[2],"invalid":[2],"inprogress":[2],"statusMessage":[32]}]]],["p-4ec4a8cf.system",[[2,"duet-checkbox",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleIndex":[1,"accessible-index"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleSelected":[1,"accessible-selected"],"required":[4],"theme":[1025],"disabled":[516],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"role":[1],"checked":[1540],"value":[1537],"setFocus":[64]}]]],["p-25497257.system",[[0,"duet-checkmark",{"theme":[1025],"checked":[1028],"presentationOnly":[4,"presentation-only"],"center":[4],"type":[513]}]]],["p-a3d2b027.system",[[1,"duet-tab-group",{"theme":[1025],"scrolls":[4],"collapses":[4],"accessibleLabel":[1,"accessible-label"],"variation":[1],"language":[1025],"labelDefaults":[1,"label-default"],"label":[1],"labelHidden":[4,"label-hidden"],"identifier":[1],"margin":[1],"padding":[1],"setTabIndex":[4,"set-tab-index"],"tabChangeConfirm":[4,"tab-change-confirm"],"tabs":[32],"selected":[32],"openTab":[64],"refresh":[64]}],[6,"duet-tab",{"label":[513],"caption":[513],"selected":[516],"accessibleDescriptionDefault":[1,"accessible-description-defaults"],"accessibleDescription":[1,"accessible-description"]}],[1,"duet-scrollable",{"theme":[1025],"identifier":[1],"collapsed":[1540],"buttons":[4],"center":[4],"selected":[1026],"tablistAtStart":[32],"isTabContentSmallerThanWrapper":[32],"tablistAtEnd":[32],"childrenData":[32]}]]],["p-701e3dfb.system",[[1,"duet-empty-state",{"theme":[1025],"icon":[1],"size":[1]}]]],["p-f1fb6acf.system",[[2,"duet-grid",{"responsive":[4],"breakpoint":[1],"direction":[1],"rowReverse":[4,"row-reverse"],"alignment":[1],"distribution":[1],"mobile":[1],"distributeFormElement":[32]}],[2,"duet-grid-item",{"fill":[4],"maxWidth":[1,"max-width"],"minWidth":[1,"min-width"],"theme":[1025],"margin":[1],"responsive":[4],"direction":[1],"breakpoint":[1]}]]],["p-221f817d.system",[[1,"duet-list",{"theme":[1025],"margin":[1],"padding":[1],"mobile":[1],"breakpoint":[1],"variation":[1],"labelWidth":[1,"label-width"],"responsive":[4]}],[1,"duet-list-item",{"responsive":[4],"breakpoint":[1]}]]],["p-00a09181.system",[[1,"duet-fieldset",{"theme":[1025],"margin":[1],"caption":[1],"label":[1],"error":[1],"accessibleLiveError":[1,"accessible-live-error"],"labelHidden":[4,"label-hidden"],"hasTooltip":[32]}]]],["p-ecd6a076.system",[[1,"duet-badge",{"theme":[1025],"variation":[1],"background":[1],"margin":[1]}]]],["p-6455f7e3.system",[[1,"duet-visually-hidden"]]],["p-8859f327.system",[[1,"duet-header",{"theme":[1025],"language":[1025],"accessibleI18nLabelsDefaults":[1,"accessible-labels-default"],"accessibleI18nLabels":[1040],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"accessibleLabelDefaults":[1,"accessible-label-default"],"accessibleLabel":[1025,"accessible-label"],"user":[8],"logoHref":[1,"logo-href"],"currentHref":[1025,"current-href"],"skipToId":[1,"skip-to-id"],"items":[8],"region":[1],"session":[8],"search":[8],"back":[8],"contact":[1],"contactItems":[8,"contact-items"],"languageItems":[8,"language-items"],"isContactOpen":[32],"isLanguageOpen":[32],"isSessionOpen":[32],"isSlideOutOpen":[32],"isSegmentOpen":[32],"openMenu":[32],"closedActives":[32],"processedItems":[32],"processedLanguageItems":[32],"processedContactItems":[32],"processedSession":[32],"processedSearch":[32],"processedUser":[32],"processedBack":[32],"renderDesktopNav":[32],"closeMenus":[64],"setFocus":[64]},[[8,"keyup","handleKeyUp"],[8,"keydown","handleKeyDown"],[4,"focus","handleDocumentClick"],[4,"click","handleDocumentClick"]]],[1,"duet-logo",{"theme":[1025],"margin":[1],"inverse":[4],"size":[1],"href":[1537],"accessibleLabelDefaults":[1040],"accessibleLabel":[1537,"accessible-label"],"language":[1537],"setFocus":[64]}]]],["p-45656aff.system",[[1,"duet-action-button",{"theme":[1025],"iconName":[1,"icon-name"],"iconColor":[1,"icon-color"],"iconSize":[1,"icon-size"],"actionName":[1,"action-name"],"actionId":[1,"action-id"],"actionMeta":[1,"action-meta"],"disabled":[4],"color":[513],"background":[1],"accessibleTitle":[8,"title"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabelsDefaults":[16],"accessibleLabel":[1025,"accessible-label"],"accessibleControls":[1,"accessible-controls"],"numbersStore":[32],"language":[32],"setFocus":[64]}]]],["p-0027ddbf.system",[[1,"duet-divider",{"theme":[1025],"margin":[1],"color":[1]}],[1,"duet-spacer",{"size":[1],"direction":[1],"breakpoint":[1]}]]],["p-602d682c.system",[[1,"duet-tooltip",{"theme":[1025],"language":[1025],"accessibleLabelDefault":[1,"accessible-label-default"],"accessibleLabel":[1025,"accessible-label"],"accessibleInputLabel":[1,"accessible-input-label"],"accessibleCloseLabelDefault":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1025,"accessible-close-label"],"label":[1],"breakpoint":[1],"direction":[1],"positionVertical":[513,"position-vertical"],"positionHorizontal":[513,"position-horizontal"],"active":[1540],"placement":[32],"tooltipY":[32],"tooltipX":[32],"arrowX":[32],"arrowY":[32]},[[9,"scroll","onScroll"],[9,"resize","handleWindowResize"],[4,"click","handleDocumentClick"]]]]],["p-9ce10545.system",[[1,"duet-button",{"accessibleLabel":[1,"accessible-label"],"accessibleControls":[1,"accessible-controls"],"accessiblePopup":[1,"accessible-popup"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleExpanded":[4,"accessible-expanded"],"accessiblePressed":[4,"accessible-pressed"],"loading":[4],"variation":[1],"negative":[4],"theme":[1025],"margin":[1],"padding":[1],"centerText":[4,"center-text"],"wrapping":[1],"expand":[4],"fixed":[4],"disabled":[516],"name":[1],"value":[1],"identifier":[1],"submit":[516],"external":[4],"language":[1537],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"icon":[1],"color":[1],"iconRight":[4,"icon-right"],"iconSize":[1,"icon-size"],"size":[1],"iconOnly":[4,"icon-only"],"url":[513],"setFocus":[64]}],[1,"duet-spinner",{"accessibleLabel":[1,"accessible-label"],"color":[1],"size":[1],"theme":[1025]}]]],["p-877a6907.system",[[1,"duet-upload",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"external":[4],"middleware":[16],"deferUpload":[4,"defer-upload"],"hideButton":[4,"hide-upload-button"],"actions":[16],"uri":[1],"showLinks":[4,"show-links"],"caption":[1],"statusLabelDefaults":[1,"status-label-default"],"statusMessageLabel":[1,"status-message-label"],"buttonLabelDefaults":[1,"button-label-default"],"buttonLabel":[1,"button-label"],"accessibleButtonLabel":[1,"accessible-button-label"],"theme":[1025],"disabled":[516],"identifier":[1],"margin":[1],"required":[4],"alignment":[1],"hideGroups":[4,"hide-table-labels"],"files":[1040],"valid":[1540],"labelDefaults":[1,"label-default"],"label":[1],"descriptionDefaults":[1,"description-default"],"description":[1],"fileListEmptyDefaults":[1,"list-empty-default"],"fileListEmpty":[1,"file-list-empty"],"error":[1],"errorCodes":[16],"name":[1],"maxBytes":[2,"max-bytes"],"maxBytesTotal":[2,"max-bytes-total"],"maxFiles":[2,"max-files"],"allowedExtensions":[1,"allowed-extensions"],"allowedMimetypes":[1,"allowed-mimetypes"],"multiple":[4],"limitSelection":[4,"limit-selection"],"value":[1025],"externalUploadButtonId":[1,"external-upload-button-id"],"captionOnBottom":[4,"caption-on-bottom"],"showUploadedItemsHeader":[4,"show-uploaded-items-header"],"uploadedItemsHeaderLabel":[16],"hideHeader":[4,"hide-header"],"groups":[16],"tick":[32],"setFocus":[64],"upload":[64],"uploadPending":[64],"refresh":[64],"getFiles":[64],"updateValue":[64]}],[6,"duet-editable-table",{"margin":[1],"variation":[1],"sticky":[4],"stickyDistance":[1,"sticky-distance"],"breakpoint":[1],"actions":[1040],"columns":[1040],"rows":[1040],"sortable":[4],"groupId":[1,"group-id"],"theme":[1025],"accessibleRole":[1,"accessible-role"],"hideHeadVisually":[4,"hide-head-visually"],"language":[32]}],[4,"duet-table",{"theme":[1025],"margin":[1],"variation":[1],"sticky":[4],"stickyDistance":[1,"sticky-distance"],"breakpoint":[1],"hideHeadVisually":[4,"hide-head-visually"],"matchesBreakpoint":[32],"language":[32]}]]],["p-3e0e17a0.system",[[6,"duet-input",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleAutocomplete":[1,"accessible-autocomplete"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleExpanded":[1,"accessible-expanded"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleHasPopup":[1,"accessible-has-popup"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLiveError":[1,"accessible-live-error"],"debounce":[2],"clear":[4],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"theme":[1025],"expand":[4],"disabled":[516],"identifier":[1],"margin":[1],"required":[4],"type":[1],"variation":[1],"label":[1025],"error":[1],"labelHidden":[4,"label-hidden"],"numericKeyboard":[4,"numeric-keyboard"],"name":[1],"pattern":[1],"maxlength":[2],"minlength":[2],"placeholder":[1],"component":[1],"role":[1],"icon":[1],"autoComplete":[1,"auto-complete"],"disallowPattern":[1,"disallow-pattern"],"value":[1025],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"language":[32],"isPasswordRevealed":[32],"isFocused":[32],"setFocus":[64],"resetCursor":[64],"clearInput":[64]}],[6,"duet-label",{"theme":[1025],"for":[1],"margin":[1],"size":[1]}]]]]'),e)}))}}}));