@duetds/components 8.3.1 → 8.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (614) hide show
  1. package/hydrate/index.js +268 -63
  2. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  3. package/lib/cjs/duet-alert.cjs.entry.js +2 -2
  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 +2 -2
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
  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 +2 -2
  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-chip.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-footer.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +88 -0
  38. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -15
  40. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  41. package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  44. package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  47. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +3 -2
  48. package/lib/cjs/duet-popup-menu.cjs.entry.js +85 -22
  49. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  54. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  70. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  71. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-toolbar-item.cjs.entry.js +59 -0
  73. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-toolbar.cjs.entry.js +2 -15
  75. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  77. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  78. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  79. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  80. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  81. package/lib/cjs/duet.cjs.js +2 -2
  82. package/lib/cjs/{focus-utils-2d403f5e.js → focus-utils-26803c28.js} +1 -1
  83. package/lib/cjs/{index-a515d5ff.js → index-4e1fe95e.js} +1 -1
  84. package/lib/cjs/{keyboard-utils-66010749.js → keyboard-utils-66ecb5d6.js} +4 -2
  85. package/lib/cjs/loader.cjs.js +2 -2
  86. package/lib/collection/collection-manifest.json +2 -0
  87. package/lib/collection/components/duet-button/duet-button.css +3 -0
  88. package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
  89. package/lib/collection/components/duet-list/duet-list.js +1 -1
  90. package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +45 -9
  91. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +1 -0
  92. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +0 -13
  93. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +1 -1
  94. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +1 -1
  95. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +103 -0
  96. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +286 -0
  97. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +1 -1
  98. package/lib/collection/components/duet-modal/duet-modal.css +2 -2
  99. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +95 -25
  100. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +20 -1
  101. package/lib/collection/components/duet-slideout/duet-slideout.css +3 -3
  102. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +3 -2
  103. package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +65 -14
  104. package/lib/collection/components/duet-toolbar/duet-toolbar.css +1 -0
  105. package/lib/collection/components/duet-toolbar/duet-toolbar.js +0 -13
  106. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +1 -1
  107. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +1 -1
  108. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +122 -0
  109. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +270 -0
  110. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +1 -1
  111. package/lib/collection/utils/keyboard-utils.js +4 -2
  112. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  113. package/lib/dist-custom-elements/duet-alert.js +1 -1
  114. package/lib/dist-custom-elements/duet-badge.js +1 -1
  115. package/lib/dist-custom-elements/duet-banner.js +3 -3
  116. package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
  117. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  118. package/lib/dist-custom-elements/duet-button.js +1 -1
  119. package/lib/dist-custom-elements/duet-callout.js +2 -2
  120. package/lib/dist-custom-elements/duet-caption.js +1 -1
  121. package/lib/dist-custom-elements/duet-card.js +4 -4
  122. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  123. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  124. package/lib/dist-custom-elements/duet-chip.js +3 -3
  125. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  126. package/lib/dist-custom-elements/duet-choice.js +6 -6
  127. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  128. package/lib/dist-custom-elements/duet-combobox.js +3 -3
  129. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  130. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  131. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  132. package/lib/dist-custom-elements/duet-divider.js +1 -1
  133. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  134. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  135. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  136. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  137. package/lib/dist-custom-elements/duet-footer.js +5 -5
  138. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  139. package/lib/dist-custom-elements/duet-grid.js +1 -1
  140. package/lib/dist-custom-elements/duet-header.js +9 -9
  141. package/lib/dist-custom-elements/duet-heading.js +1 -1
  142. package/lib/dist-custom-elements/duet-hero.js +9 -9
  143. package/lib/dist-custom-elements/duet-icon.js +1 -1
  144. package/lib/dist-custom-elements/duet-input.js +1 -1
  145. package/lib/dist-custom-elements/duet-label.js +1 -1
  146. package/lib/dist-custom-elements/duet-layout.js +1 -1
  147. package/lib/dist-custom-elements/duet-link.js +1 -1
  148. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  149. package/lib/dist-custom-elements/duet-list.js +1 -1
  150. package/lib/dist-custom-elements/duet-logo.js +1 -1
  151. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  152. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  153. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
  154. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +11 -0
  155. package/lib/dist-custom-elements/duet-menu-bar-item.js +119 -0
  156. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  157. package/lib/dist-custom-elements/duet-menu-bar.js +3 -16
  158. package/lib/dist-custom-elements/duet-modal.js +9 -9
  159. package/lib/dist-custom-elements/duet-multiselect.js +10 -10
  160. package/lib/dist-custom-elements/duet-nav.js +1 -1
  161. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  162. package/lib/dist-custom-elements/duet-notification.js +3 -3
  163. package/lib/dist-custom-elements/duet-number-input.js +12 -12
  164. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  165. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  166. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  167. package/lib/dist-custom-elements/duet-popup-menu-item.js +5 -3
  168. package/lib/dist-custom-elements/duet-popup-menu.js +90 -24
  169. package/lib/dist-custom-elements/duet-progress.js +1 -1
  170. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  171. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  172. package/lib/dist-custom-elements/duet-radio.js +1 -1
  173. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  174. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  175. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  176. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  177. package/lib/dist-custom-elements/duet-select.js +1 -1
  178. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  179. package/lib/dist-custom-elements/duet-show-more.js +6 -6
  180. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  181. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  182. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  183. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  184. package/lib/dist-custom-elements/duet-slideout.js +4 -4
  185. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  186. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  187. package/lib/dist-custom-elements/duet-step.js +5 -5
  188. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  189. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  190. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  191. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  192. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  193. package/lib/dist-custom-elements/duet-tab-group.js +14 -14
  194. package/lib/dist-custom-elements/duet-tab.js +2 -2
  195. package/lib/dist-custom-elements/duet-table.js +1 -1
  196. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  197. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  198. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  199. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
  200. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +11 -0
  201. package/lib/dist-custom-elements/duet-toolbar-item.js +90 -0
  202. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
  203. package/lib/dist-custom-elements/duet-toolbar.js +2 -15
  204. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  205. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  206. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  207. package/lib/dist-custom-elements/duet-tray.js +4 -4
  208. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  209. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  210. package/lib/dist-custom-elements/duet-upload.js +18 -18
  211. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  212. package/lib/dist-custom-elements/index.js +1 -1
  213. package/lib/dist-custom-elements/{p-7f8daa04.js → p-04647f60.js} +4 -4
  214. package/lib/dist-custom-elements/{p-8500f1f3.js → p-0b90bbc2.js} +1 -1
  215. package/lib/dist-custom-elements/{p-eb30f749.js → p-0e584f41.js} +1 -1
  216. package/lib/dist-custom-elements/{p-ba9d785a.js → p-1166a31e.js} +3 -3
  217. package/lib/dist-custom-elements/{p-99bfa47d.js → p-148fdc67.js} +1 -1
  218. package/lib/dist-custom-elements/{p-f1a37b7f.js → p-231e248d.js} +5 -5
  219. package/lib/dist-custom-elements/{p-7385cfae.js → p-42a1b569.js} +2 -2
  220. package/lib/dist-custom-elements/{p-d84624d1.js → p-42f3ff36.js} +1 -1
  221. package/lib/dist-custom-elements/{p-eb03dc27.js → p-440669fe.js} +11 -11
  222. package/lib/dist-custom-elements/{p-89fa2387.js → p-54a40cbc.js} +1 -1
  223. package/lib/dist-custom-elements/{p-022cc9de.js → p-55dc7e3a.js} +1 -1
  224. package/lib/dist-custom-elements/{p-57e61a09.js → p-581c0a5a.js} +1 -1
  225. package/lib/dist-custom-elements/{p-da0965a5.js → p-5b7820b5.js} +1 -1
  226. package/lib/dist-custom-elements/{p-33c43f27.js → p-604f5020.js} +6 -6
  227. package/lib/dist-custom-elements/{p-70fb72b8.js → p-6cb11f93.js} +1 -1
  228. package/lib/dist-custom-elements/{p-dd3202f3.js → p-7cf48950.js} +1 -1
  229. package/lib/dist-custom-elements/{p-de5298ac.js → p-8356d992.js} +2 -2
  230. package/lib/dist-custom-elements/{p-3380c780.js → p-85712a7c.js} +1 -1
  231. package/lib/dist-custom-elements/{p-83c687c4.js → p-88394bab.js} +10 -10
  232. package/lib/dist-custom-elements/{p-fdafc7af.js → p-88ce5a27.js} +1 -1
  233. package/lib/dist-custom-elements/{p-82a9c4cc.js → p-9448a82f.js} +1 -1
  234. package/lib/dist-custom-elements/{p-033ffb95.js → p-9c0ce616.js} +1 -1
  235. package/lib/dist-custom-elements/{p-15b43530.js → p-a3651df3.js} +2 -2
  236. package/lib/dist-custom-elements/{p-a8d729e4.js → p-b68755bb.js} +1 -1
  237. package/lib/dist-custom-elements/{p-13cbfdc6.js → p-b9f613f5.js} +1 -1
  238. package/lib/dist-custom-elements/{p-55634a0b.js → p-bec3a15c.js} +4 -2
  239. package/lib/dist-custom-elements/{p-99c2c6f3.js → p-d07c620c.js} +5 -5
  240. package/lib/dist-custom-elements/{p-97144a49.js → p-d2dafb20.js} +2 -2
  241. package/lib/dist-custom-elements/{p-e8d8a5f1.js → p-dd175a82.js} +8 -8
  242. package/lib/dist-custom-elements/{p-6c8a44ea.js → p-de066189.js} +1 -1
  243. package/lib/dist-custom-elements/{p-8aacf8f2.js → p-e278477e.js} +1 -1
  244. package/lib/dist-custom-elements/{p-92e8fec4.js → p-e47bf090.js} +1 -1
  245. package/lib/dist-custom-elements/{p-85c51c36.js → p-f38ed7fe.js} +4 -4
  246. package/lib/dist-custom-elements/{p-89c8eef0.js → p-fc352257.js} +6 -6
  247. package/lib/dist-custom-elements/{p-57d9241f.js → p-ffe65adf.js} +2 -2
  248. package/lib/duet/duet.esm.js +1 -1
  249. package/lib/duet/duet.js +1 -1
  250. package/lib/duet/{p-92e54702.system.entry.js → p-05b8ae17.system.entry.js} +2 -2
  251. package/lib/duet/{p-4bd54c36.entry.js → p-072607fd.entry.js} +1 -1
  252. package/lib/duet/{p-1001ec0f.entry.js → p-077c7ac7.entry.js} +1 -1
  253. package/lib/duet/{p-5581d26e.entry.js → p-090ae709.entry.js} +1 -1
  254. package/lib/duet/{p-1612a6c7.system.entry.js → p-0c8ef637.system.entry.js} +1 -1
  255. package/lib/duet/{p-e69813f3.system.entry.js → p-0c98eb74.system.entry.js} +1 -1
  256. package/lib/duet/{p-e0d1257a.entry.js → p-0d452219.entry.js} +1 -1
  257. package/lib/duet/{p-dc3e35c7.entry.js → p-0f80c628.entry.js} +1 -1
  258. package/lib/duet/{p-43ebba16.system.entry.js → p-1099ef42.system.entry.js} +1 -1
  259. package/lib/duet/{p-dcd8af75.entry.js → p-113ad39d.entry.js} +1 -1
  260. package/lib/duet/p-13bdce94.entry.js +4 -0
  261. package/lib/duet/{p-9f355c50.entry.js → p-154f1517.entry.js} +1 -1
  262. package/lib/duet/{p-d0500cf2.system.entry.js → p-1c5a34ec.system.entry.js} +1 -1
  263. package/lib/duet/{p-ae0382ff.entry.js → p-1ce475d7.entry.js} +1 -1
  264. package/lib/duet/{p-39ea1b09.system.entry.js → p-1d032bb3.system.entry.js} +1 -1
  265. package/lib/duet/{p-d328f8cc.entry.js → p-1e55dfa3.entry.js} +1 -1
  266. package/lib/duet/p-246f8836.system.entry.js +4 -0
  267. package/lib/duet/{p-aab945c6.system.entry.js → p-265aaa8b.system.entry.js} +1 -1
  268. package/lib/duet/{p-d44d74d3.system.entry.js → p-26859589.system.entry.js} +1 -1
  269. package/lib/duet/{p-1f0dc968.entry.js → p-26c2008d.entry.js} +1 -1
  270. package/lib/duet/{p-e00c9499.system.entry.js → p-276fac2f.system.entry.js} +1 -1
  271. package/lib/duet/p-280e0b55.entry.js +4 -0
  272. package/lib/duet/{p-169aab07.entry.js → p-288ba4f9.entry.js} +1 -1
  273. package/lib/duet/{p-d6c18967.system.entry.js → p-2a29c6d5.system.entry.js} +1 -1
  274. package/lib/duet/{p-b9568179.entry.js → p-2b5c578e.entry.js} +1 -1
  275. package/lib/duet/{p-9e1d8b6f.system.entry.js → p-2d4cd88c.system.entry.js} +1 -1
  276. package/lib/duet/{p-49ba8156.system.entry.js → p-30174f82.system.entry.js} +1 -1
  277. package/lib/duet/p-322b427c.system.entry.js +4 -0
  278. package/lib/duet/{p-3f56cdd6.entry.js → p-33ba6560.entry.js} +1 -1
  279. package/lib/duet/p-3624bad1.js +4 -0
  280. package/lib/duet/{p-0cdc8487.system.entry.js → p-36ca4962.system.entry.js} +1 -1
  281. package/lib/duet/{p-aa08b72e.system.entry.js → p-3706d57f.system.entry.js} +1 -1
  282. package/lib/duet/{p-0600d0e8.system.entry.js → p-378c88b0.system.entry.js} +1 -1
  283. package/lib/duet/{p-d5d63283.system.entry.js → p-3790d9c6.system.entry.js} +1 -1
  284. package/lib/duet/{p-a0f179db.entry.js → p-37b390b1.entry.js} +1 -1
  285. package/lib/duet/p-3a2f42cc.entry.js +4 -0
  286. package/lib/duet/{p-c2973a4e.system.entry.js → p-3b7af0aa.system.entry.js} +1 -1
  287. package/lib/duet/{p-dbedcced.entry.js → p-3ffede1b.entry.js} +1 -1
  288. package/lib/duet/{p-bc522875.system.entry.js → p-423cc443.system.entry.js} +2 -2
  289. package/lib/duet/{p-aac0b756.entry.js → p-42f7208c.entry.js} +1 -1
  290. package/lib/duet/p-4594fdfc.system.entry.js +4 -0
  291. package/lib/duet/{p-a89e81b7.entry.js → p-4646de9d.entry.js} +1 -1
  292. package/lib/duet/{p-21f1bd62.system.entry.js → p-468606ef.system.entry.js} +1 -1
  293. package/lib/duet/{p-1d195c3a.system.entry.js → p-46980318.system.entry.js} +1 -1
  294. package/lib/duet/{p-05728995.entry.js → p-46c368b6.entry.js} +1 -1
  295. package/lib/duet/{p-e538a8a2.system.entry.js → p-48d5fd63.system.entry.js} +1 -1
  296. package/lib/duet/{p-5b3275f8.system.entry.js → p-497fbe6f.system.entry.js} +2 -2
  297. package/lib/duet/{p-43adcd6a.entry.js → p-4a69a574.entry.js} +1 -1
  298. package/lib/duet/p-4c2964ba.system.entry.js +4 -0
  299. package/lib/duet/{p-d9400840.entry.js → p-4c40ab32.entry.js} +1 -1
  300. package/lib/duet/{p-1e6bd5da.entry.js → p-4c99d4e4.entry.js} +1 -1
  301. package/lib/duet/{p-2c79b6d8.entry.js → p-4ddb4401.entry.js} +1 -1
  302. package/lib/duet/{p-f0419f45.entry.js → p-52aefd49.entry.js} +1 -1
  303. package/lib/duet/{p-5c810c8e.entry.js → p-55f4b594.entry.js} +1 -1
  304. package/lib/duet/p-560b0225.system.entry.js +4 -0
  305. package/lib/duet/{p-2ddd9719.entry.js → p-5969cc96.entry.js} +1 -1
  306. package/lib/duet/p-5a07838a.system.entry.js +4 -0
  307. package/lib/duet/{p-2171907b.system.entry.js → p-5f6619db.system.entry.js} +1 -1
  308. package/lib/duet/{p-6c34c6d4.entry.js → p-60cc4982.entry.js} +1 -1
  309. package/lib/duet/{p-eedadd50.system.entry.js → p-613ca231.system.entry.js} +1 -1
  310. package/lib/duet/{p-03237a62.system.entry.js → p-62b76a24.system.entry.js} +2 -2
  311. package/lib/duet/{p-a53d7d39.system.entry.js → p-65a1a167.system.entry.js} +1 -1
  312. package/lib/duet/{p-ec2eb98f.system.entry.js → p-65bd8411.system.entry.js} +1 -1
  313. package/lib/duet/{p-0a28d72d.entry.js → p-67a6cdda.entry.js} +1 -1
  314. package/lib/duet/{p-20ed91ba.entry.js → p-69d93a05.entry.js} +1 -1
  315. package/lib/duet/{p-d9887cdb.system.entry.js → p-6bad4da4.system.entry.js} +1 -1
  316. package/lib/duet/{p-dccd9c7c.js → p-6c4b49d5.js} +1 -1
  317. package/lib/duet/p-6db50eea.entry.js +4 -0
  318. package/lib/duet/{p-ee7738c2.entry.js → p-6ed83596.entry.js} +1 -1
  319. package/lib/duet/{p-f630e363.system.entry.js → p-7066a413.system.entry.js} +1 -1
  320. package/lib/duet/{p-9ed3ab30.entry.js → p-72bedacd.entry.js} +1 -1
  321. package/lib/duet/{p-81a79874.system.entry.js → p-7436bd48.system.entry.js} +1 -1
  322. package/lib/duet/p-74f8da81.entry.js +4 -0
  323. package/lib/duet/p-75350b07.entry.js +4 -0
  324. package/lib/duet/{p-16c13a11.system.entry.js → p-75503668.system.entry.js} +1 -1
  325. package/lib/duet/{p-f7167337.system.entry.js → p-75f81010.system.entry.js} +1 -1
  326. package/lib/duet/{p-aabf89fa.system.js → p-76b3dfea.system.js} +1 -1
  327. package/lib/duet/p-76f3d250.entry.js +4 -0
  328. package/lib/duet/{p-69f280e3.entry.js → p-7792b370.entry.js} +1 -1
  329. package/lib/duet/{p-77be9214.entry.js → p-79b1232f.entry.js} +1 -1
  330. package/lib/duet/{p-71d1dbcb.entry.js → p-7a0523f1.entry.js} +1 -1
  331. package/lib/duet/p-8678ad49.system.js +4 -0
  332. package/lib/duet/{p-a424f7b8.system.entry.js → p-8b0053b4.system.entry.js} +1 -1
  333. package/lib/duet/p-8b01d018.entry.js +4 -0
  334. package/lib/duet/{p-875ba244.system.entry.js → p-8b310c25.system.entry.js} +1 -1
  335. package/lib/duet/{p-1db3932f.system.entry.js → p-8b621333.system.entry.js} +1 -1
  336. package/lib/duet/{p-99cc01cb.system.entry.js → p-8c340908.system.entry.js} +1 -1
  337. package/lib/duet/p-8cdbf7c7.system.entry.js +4 -0
  338. package/lib/duet/{p-d5b79ee4.entry.js → p-8da5c103.entry.js} +1 -1
  339. package/lib/duet/{p-e2eb1521.system.entry.js → p-900abeb7.system.entry.js} +1 -1
  340. package/lib/duet/{p-db688714.system.entry.js → p-913b9c68.system.entry.js} +1 -1
  341. package/lib/duet/p-91d750ad.system.js +4 -0
  342. package/lib/duet/{p-28b22d09.entry.js → p-93950a7f.entry.js} +1 -1
  343. package/lib/duet/{p-79abaaad.entry.js → p-94e0fba1.entry.js} +1 -1
  344. package/lib/duet/{p-7b445598.system.entry.js → p-96c1789d.system.entry.js} +1 -1
  345. package/lib/duet/{p-3733ebe1.system.entry.js → p-97af661b.system.entry.js} +1 -1
  346. package/lib/duet/{p-bfe237fe.entry.js → p-991f9b2e.entry.js} +1 -1
  347. package/lib/duet/{p-969152f0.system.entry.js → p-994d95e9.system.entry.js} +1 -1
  348. package/lib/duet/{p-80aa59cb.entry.js → p-99eb5647.entry.js} +1 -1
  349. package/lib/duet/{p-03c217ae.entry.js → p-9a1f8af3.entry.js} +1 -1
  350. package/lib/duet/{p-3730d6bd.system.entry.js → p-9cdf78b3.system.entry.js} +1 -1
  351. package/lib/duet/{p-6b5fc33f.entry.js → p-9ce07f50.entry.js} +1 -1
  352. package/lib/duet/{p-63b8a5d9.entry.js → p-a09d3878.entry.js} +1 -1
  353. package/lib/duet/{p-7d4d3bee.system.entry.js → p-a15bdee3.system.entry.js} +1 -1
  354. package/lib/duet/{p-70af7daf.entry.js → p-a1db3600.entry.js} +1 -1
  355. package/lib/duet/{p-4c416890.system.entry.js → p-a43ad34f.system.entry.js} +1 -1
  356. package/lib/duet/{p-eced32c1.system.entry.js → p-a50e095d.system.entry.js} +1 -1
  357. package/lib/duet/p-a88d7e91.entry.js +4 -0
  358. package/lib/duet/{p-5729c070.entry.js → p-a8935106.entry.js} +1 -1
  359. package/lib/duet/{p-e03b6928.system.entry.js → p-a8c96cc0.system.entry.js} +1 -1
  360. package/lib/duet/{p-9e95e6eb.entry.js → p-aa14230b.entry.js} +1 -1
  361. package/lib/duet/{p-d143df18.system.entry.js → p-aa840586.system.entry.js} +1 -1
  362. package/lib/duet/{p-31730560.entry.js → p-ad6388ce.entry.js} +1 -1
  363. package/lib/duet/p-b01e1f6c.system.entry.js +4 -0
  364. package/lib/duet/{p-09c54c8e.system.js → p-b2716337.system.js} +1 -1
  365. package/lib/duet/{p-1020c84c.system.entry.js → p-b2df2bb9.system.entry.js} +1 -1
  366. package/lib/duet/{p-26be2678.entry.js → p-b3af96a8.entry.js} +1 -1
  367. package/lib/duet/{p-38cdaf08.entry.js → p-b49d10f6.entry.js} +1 -1
  368. package/lib/duet/{p-e956cd9b.system.entry.js → p-b4e730ac.system.entry.js} +1 -1
  369. package/lib/duet/{p-f15a1679.system.entry.js → p-b57e1bac.system.entry.js} +2 -2
  370. package/lib/duet/{p-d4285ed0.system.entry.js → p-b5f5d7ce.system.entry.js} +1 -1
  371. package/lib/duet/{p-e0931ac9.entry.js → p-b7b4b33c.entry.js} +1 -1
  372. package/lib/duet/{p-3f4713a3.system.entry.js → p-b85c4e9e.system.entry.js} +1 -1
  373. package/lib/duet/{p-0ef53ae6.entry.js → p-ba015d7a.entry.js} +1 -1
  374. package/lib/duet/p-bb640b45.entry.js +4 -0
  375. package/lib/duet/{p-f3c91c9e.system.entry.js → p-bc8c2990.system.entry.js} +1 -1
  376. package/lib/duet/{p-976ed5a5.system.entry.js → p-be8e8efc.system.entry.js} +1 -1
  377. package/lib/duet/{p-b8cd8aa9.entry.js → p-c19ce026.entry.js} +1 -1
  378. package/lib/duet/{p-3ecc2d1e.system.entry.js → p-c28e4280.system.entry.js} +1 -1
  379. package/lib/duet/{p-c327db77.entry.js → p-c383e8d6.entry.js} +1 -1
  380. package/lib/duet/{p-947af010.entry.js → p-c899df04.entry.js} +1 -1
  381. package/lib/duet/{p-45199b0c.system.entry.js → p-c900f541.system.entry.js} +1 -1
  382. package/lib/duet/{p-47f7fd31.system.entry.js → p-caa48d36.system.entry.js} +1 -1
  383. package/lib/duet/{p-e24a3978.entry.js → p-cd8fc9f7.entry.js} +1 -1
  384. package/lib/duet/{p-e21cc133.entry.js → p-cd9619e3.entry.js} +1 -1
  385. package/lib/duet/{p-a917c2ae.system.entry.js → p-d047123e.system.entry.js} +1 -1
  386. package/lib/duet/{p-825dac25.system.entry.js → p-d257c333.system.entry.js} +1 -1
  387. package/lib/duet/{p-f1397f55.system.entry.js → p-d2cabbed.system.entry.js} +1 -1
  388. package/lib/duet/p-d2d6281b.entry.js +4 -0
  389. package/lib/duet/{p-65c5d605.system.entry.js → p-d48ab4d3.system.entry.js} +1 -1
  390. package/lib/duet/p-d56b354c.entry.js +4 -0
  391. package/lib/duet/{p-3cf8a878.entry.js → p-d9fd389c.entry.js} +1 -1
  392. package/lib/duet/{p-bda222d2.system.entry.js → p-db29100b.system.entry.js} +1 -1
  393. package/lib/duet/p-dc45b241.entry.js +4 -0
  394. package/lib/duet/p-de46b522.entry.js +4 -0
  395. package/lib/duet/p-de958fe7.system.entry.js +4 -0
  396. package/lib/duet/{p-0b4b179c.system.entry.js → p-e0befaf6.system.entry.js} +1 -1
  397. package/lib/duet/{p-827fece7.system.entry.js → p-e1020f12.system.entry.js} +1 -1
  398. package/lib/duet/{p-6b5f5f20.system.entry.js → p-e19a12b4.system.entry.js} +1 -1
  399. package/lib/duet/{p-ab005633.system.entry.js → p-e1b947e9.system.entry.js} +1 -1
  400. package/lib/duet/{p-72179a41.entry.js → p-e5c75975.entry.js} +1 -1
  401. package/lib/duet/{p-3760418d.entry.js → p-e632de74.entry.js} +1 -1
  402. package/lib/duet/{p-43091aa7.system.entry.js → p-e650b1b7.system.entry.js} +1 -1
  403. package/lib/duet/{p-03c3cf91.entry.js → p-e669b52a.entry.js} +1 -1
  404. package/lib/duet/{p-c8ff85f8.entry.js → p-e6beb82f.entry.js} +1 -1
  405. package/lib/duet/{p-4cd1b2dc.entry.js → p-ea90f7c4.entry.js} +1 -1
  406. package/lib/duet/{p-4e002d37.entry.js → p-eaa8473a.entry.js} +1 -1
  407. package/lib/duet/{p-a319471c.system.entry.js → p-ed9d957f.system.entry.js} +1 -1
  408. package/lib/duet/{p-41d61870.entry.js → p-eededb83.entry.js} +1 -1
  409. package/lib/duet/{p-8d260eac.entry.js → p-f27034be.entry.js} +1 -1
  410. package/lib/duet/p-f36f6e98.js +4 -0
  411. package/lib/duet/{p-6689cf76.entry.js → p-f3a2cd70.entry.js} +1 -1
  412. package/lib/duet/{p-20ff95cd.system.entry.js → p-f4b9871c.system.entry.js} +1 -1
  413. package/lib/duet/{p-de2da9fd.system.entry.js → p-fbede069.system.entry.js} +1 -1
  414. package/lib/duet/p-fd6421e9.entry.js +4 -0
  415. package/lib/esm/duet-action-button.entry.js +2 -2
  416. package/lib/esm/duet-alert.entry.js +2 -2
  417. package/lib/esm/duet-badge.entry.js +1 -1
  418. package/lib/esm/duet-banner.entry.js +1 -1
  419. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  420. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  421. package/lib/esm/duet-button_2.entry.js +2 -2
  422. package/lib/esm/duet-callout.entry.js +1 -1
  423. package/lib/esm/duet-caption_4.entry.js +1 -1
  424. package/lib/esm/duet-card.entry.js +2 -2
  425. package/lib/esm/duet-checkbox.entry.js +1 -1
  426. package/lib/esm/duet-checkmark.entry.js +1 -1
  427. package/lib/esm/duet-chip.entry.js +2 -2
  428. package/lib/esm/duet-choice_2.entry.js +3 -3
  429. package/lib/esm/duet-collapsible.entry.js +2 -2
  430. package/lib/esm/duet-combobox.entry.js +2 -2
  431. package/lib/esm/duet-contact-card.entry.js +1 -1
  432. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  433. package/lib/esm/duet-date-picker.entry.js +3 -3
  434. package/lib/esm/duet-divider_2.entry.js +1 -1
  435. package/lib/esm/duet-editable-table_3.entry.js +2 -2
  436. package/lib/esm/duet-empty-state.entry.js +1 -1
  437. package/lib/esm/duet-fieldset.entry.js +1 -1
  438. package/lib/esm/duet-file-chooser.entry.js +1 -1
  439. package/lib/esm/duet-footer.entry.js +2 -2
  440. package/lib/esm/duet-grid_2.entry.js +1 -1
  441. package/lib/esm/duet-header_2.entry.js +2 -2
  442. package/lib/esm/duet-hero.entry.js +1 -1
  443. package/lib/esm/duet-icon.entry.js +1 -1
  444. package/lib/esm/duet-input_2.entry.js +2 -2
  445. package/lib/esm/duet-layout.entry.js +1 -1
  446. package/lib/esm/duet-list_2.entry.js +1 -1
  447. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  448. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  449. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
  450. package/lib/esm/duet-menu-bar-item.entry.js +84 -0
  451. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  452. package/lib/esm/duet-menu-bar.entry.js +2 -15
  453. package/lib/esm/duet-modal.entry.js +4 -4
  454. package/lib/esm/duet-multiselect.entry.js +2 -2
  455. package/lib/esm/duet-nav.entry.js +1 -1
  456. package/lib/esm/duet-notification_2.entry.js +2 -2
  457. package/lib/esm/duet-number-input.entry.js +2 -2
  458. package/lib/esm/duet-page-heading.entry.js +1 -1
  459. package/lib/esm/duet-pagination_2.entry.js +2 -2
  460. package/lib/esm/duet-popup-menu-item.entry.js +3 -2
  461. package/lib/esm/duet-popup-menu.entry.js +85 -22
  462. package/lib/esm/duet-progress.entry.js +1 -1
  463. package/lib/esm/duet-promo-card.entry.js +1 -1
  464. package/lib/esm/duet-radio_2.entry.js +1 -1
  465. package/lib/esm/duet-range-slider.entry.js +2 -2
  466. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  467. package/lib/esm/duet-section-layout.entry.js +1 -1
  468. package/lib/esm/duet-select.entry.js +1 -1
  469. package/lib/esm/duet-shaped-image.entry.js +1 -1
  470. package/lib/esm/duet-show-more.entry.js +2 -2
  471. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  472. package/lib/esm/duet-slideout-link.entry.js +1 -1
  473. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  474. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  475. package/lib/esm/duet-slideout.entry.js +4 -4
  476. package/lib/esm/duet-step_2.entry.js +2 -2
  477. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  478. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  479. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  480. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  481. package/lib/esm/duet-textarea.entry.js +1 -1
  482. package/lib/esm/duet-toggle.entry.js +2 -2
  483. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  484. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
  485. package/lib/esm/duet-toolbar-item.entry.js +55 -0
  486. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  487. package/lib/esm/duet-toolbar.entry.js +2 -15
  488. package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
  489. package/lib/esm/duet-tooltip.entry.js +2 -2
  490. package/lib/esm/duet-tray.entry.js +2 -2
  491. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  492. package/lib/esm/duet-upload-item.entry.js +1 -1
  493. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  494. package/lib/esm/duet.js +3 -3
  495. package/lib/esm/{focus-utils-5adec865.js → focus-utils-a15379ec.js} +1 -1
  496. package/lib/esm/{index-88bb0f20.js → index-2fcdad1e.js} +1 -1
  497. package/lib/esm/{keyboard-utils-c472d19d.js → keyboard-utils-0708be80.js} +4 -2
  498. package/lib/esm/loader.js +3 -3
  499. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  500. package/lib/esm-es5/duet-alert.entry.js +1 -1
  501. package/lib/esm-es5/duet-badge.entry.js +1 -1
  502. package/lib/esm-es5/duet-banner.entry.js +1 -1
  503. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  504. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  505. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  506. package/lib/esm-es5/duet-callout.entry.js +1 -1
  507. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  508. package/lib/esm-es5/duet-card.entry.js +1 -1
  509. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  510. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  511. package/lib/esm-es5/duet-chip.entry.js +1 -1
  512. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  513. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  514. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  515. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  516. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  517. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  518. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  519. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  520. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  521. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  522. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  523. package/lib/esm-es5/duet-footer.entry.js +1 -1
  524. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  525. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  526. package/lib/esm-es5/duet-hero.entry.js +1 -1
  527. package/lib/esm-es5/duet-icon.entry.js +1 -1
  528. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  529. package/lib/esm-es5/duet-layout.entry.js +1 -1
  530. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  531. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  532. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  533. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  534. package/lib/esm-es5/duet-menu-bar-item.entry.js +4 -0
  535. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  536. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  537. package/lib/esm-es5/duet-modal.entry.js +1 -1
  538. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  539. package/lib/esm-es5/duet-nav.entry.js +1 -1
  540. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  541. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  542. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  543. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  544. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  545. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  546. package/lib/esm-es5/duet-progress.entry.js +1 -1
  547. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  548. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  549. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  550. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  551. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  552. package/lib/esm-es5/duet-select.entry.js +1 -1
  553. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  554. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  555. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  556. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  557. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  558. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  559. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  560. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  561. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  562. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  563. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  564. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  565. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  566. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  567. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  568. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  569. package/lib/esm-es5/duet-toolbar-item.entry.js +4 -0
  570. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  571. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  572. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  573. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  574. package/lib/esm-es5/duet-tray.entry.js +1 -1
  575. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  576. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  577. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  578. package/lib/esm-es5/duet.js +1 -1
  579. package/lib/esm-es5/focus-utils-a15379ec.js +4 -0
  580. package/lib/esm-es5/{index-88bb0f20.js → index-2fcdad1e.js} +1 -1
  581. package/lib/esm-es5/{keyboard-utils-c472d19d.js → keyboard-utils-0708be80.js} +1 -1
  582. package/lib/esm-es5/loader.js +1 -1
  583. package/lib/types/components/duet-list/duet-list.d.ts +1 -0
  584. package/lib/types/components/duet-menu-bar-item/duet-menu-bar-item.d.ts +67 -0
  585. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +9 -2
  586. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +4 -0
  587. package/lib/types/components/duet-toolbar-item/duet-toolbar-item.d.ts +65 -0
  588. package/lib/types/components.d.ts +182 -4
  589. package/package.json +5 -5
  590. package/lib/duet/p-07adc606.system.entry.js +0 -4
  591. package/lib/duet/p-0857e91c.entry.js +0 -4
  592. package/lib/duet/p-1c9ee2ea.entry.js +0 -4
  593. package/lib/duet/p-29186e16.entry.js +0 -4
  594. package/lib/duet/p-31657213.entry.js +0 -4
  595. package/lib/duet/p-357307f7.entry.js +0 -4
  596. package/lib/duet/p-4648c2cf.system.entry.js +0 -4
  597. package/lib/duet/p-5263bc35.js +0 -4
  598. package/lib/duet/p-575e4de7.system.js +0 -4
  599. package/lib/duet/p-671a9905.entry.js +0 -4
  600. package/lib/duet/p-67bd1eae.entry.js +0 -4
  601. package/lib/duet/p-756e625e.entry.js +0 -4
  602. package/lib/duet/p-7c8c5534.entry.js +0 -4
  603. package/lib/duet/p-92861390.entry.js +0 -4
  604. package/lib/duet/p-9d9cab9d.system.entry.js +0 -4
  605. package/lib/duet/p-bfd50a6a.entry.js +0 -4
  606. package/lib/duet/p-c9cb8ffa.system.entry.js +0 -4
  607. package/lib/duet/p-ce746fbf.entry.js +0 -4
  608. package/lib/duet/p-e276fee0.js +0 -4
  609. package/lib/duet/p-ead2a738.system.js +0 -4
  610. package/lib/duet/p-ef83d9da.system.entry.js +0 -4
  611. package/lib/duet/p-f121b583.entry.js +0 -4
  612. package/lib/duet/p-f273c4de.system.entry.js +0 -4
  613. package/lib/duet/p-f5c69659.system.entry.js +0 -4
  614. package/lib/esm-es5/focus-utils-5adec865.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-aabf89fa.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-7c6d5f9c.system.js"],(function(e){"use strict";var t,i,o,a,n,s,l;return{setters:[function(e){t=e.r;i=e.h;o=e.H;a=e.g},function(e){n=e.i},function(e){s=e.c},function(e){l=e.h}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{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-legend-wrapper{position:relative;display:block;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;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{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-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{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:0.875rem;font-weight:400;line-height:1.25;color:rgb(222, 35, 98);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-theme-turva .duet-fieldset-help{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(224, 42, 13)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';var r=e("duet_fieldset",function(){function e(e){var i=this;t(this,e);this.errorId=s("DuetError");this.labelId=s("DuetLabel");this.checkHasTooltip=function(){i.hasTooltip=l(i.element,"tooltip")};this.hasTooltip=false;this.theme="";this.margin="auto";this.caption=undefined;this.label=undefined;this.compactLabel=false;this.error=undefined;this.accessibleLiveError="polite";this.labelHeadingLevel="h3";this.labelHidden=false}e.prototype.componentWillLoad=function(){n(this);this.checkHasTooltip()};e.prototype.render=function(){return i(o,{class:{"duet-m-0":this.margin==="none"}},i("fieldset",{"aria-labelledby":this.labelId,"aria-describedby":this.error?this.errorId:null,class:{"duet-fieldset":true,"duet-theme-turva":this.theme==="turva"}},i("legend",{id:this.labelId},i(this.labelHeadingLevel,null,this.label),this.caption&&i("span",null,this.caption)),i("div",{class:{"duet-legend-wrapper":true,"duet-legend-has-caption":!!this.caption,"duet-legend-has-tooltip":this.hasTooltip,"duet-legend-hidden":this.labelHidden,"duet-legend-compact":this.compactLabel}},i("div",{class:"duet-fieldset-label"},i("span",{"aria-hidden":"true"},this.label),i("slot",{onSlotchange:this.checkHasTooltip,name:"tooltip"})),this.caption&&i("div",{class:"duet-fieldset-caption","aria-hidden":"true"},i("duet-caption",{theme:this.theme,margin:"none"},this.caption))),i("slot",null),i("span",{class:"duet-fieldset-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",null,this.error))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());r.style=d}}}));
4
+ System.register(["./p-76b3dfea.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-7c6d5f9c.system.js"],(function(e){"use strict";var t,i,o,a,n,s,l;return{setters:[function(e){t=e.r;i=e.h;o=e.H;a=e.g},function(e){n=e.i},function(e){s=e.c},function(e){l=e.h}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{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-legend-wrapper{position:relative;display:block;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;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{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-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{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:0.875rem;font-weight:400;line-height:1.25;color:rgb(222, 35, 98);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-theme-turva .duet-fieldset-help{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(224, 42, 13)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';var r=e("duet_fieldset",function(){function e(e){var i=this;t(this,e);this.errorId=s("DuetError");this.labelId=s("DuetLabel");this.checkHasTooltip=function(){i.hasTooltip=l(i.element,"tooltip")};this.hasTooltip=false;this.theme="";this.margin="auto";this.caption=undefined;this.label=undefined;this.compactLabel=false;this.error=undefined;this.accessibleLiveError="polite";this.labelHeadingLevel="h3";this.labelHidden=false}e.prototype.componentWillLoad=function(){n(this);this.checkHasTooltip()};e.prototype.render=function(){return i(o,{class:{"duet-m-0":this.margin==="none"}},i("fieldset",{"aria-labelledby":this.labelId,"aria-describedby":this.error?this.errorId:null,class:{"duet-fieldset":true,"duet-theme-turva":this.theme==="turva"}},i("legend",{id:this.labelId},i(this.labelHeadingLevel,null,this.label),this.caption&&i("span",null,this.caption)),i("div",{class:{"duet-legend-wrapper":true,"duet-legend-has-caption":!!this.caption,"duet-legend-has-tooltip":this.hasTooltip,"duet-legend-hidden":this.labelHidden,"duet-legend-compact":this.compactLabel}},i("div",{class:"duet-fieldset-label"},i("span",{"aria-hidden":"true"},this.label),i("slot",{onSlotchange:this.checkHasTooltip,name:"tooltip"})),this.caption&&i("div",{class:"duet-fieldset-caption","aria-hidden":"true"},i("duet-caption",{theme:this.theme,margin:"none"},this.caption))),i("slot",null),i("span",{class:"duet-fieldset-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",null,this.error))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());r.style=d}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-aabf89fa.system.js","./p-15fde8cc.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,n,i,a,r,o;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g},function(e){r=e.a},function(e){o=e.i}],execute:function(){var s='*,*::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;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link.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"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';var u=e("duet_menu_bar_link",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="x-small";this.theme="";this.active=false;this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){this.changeIconSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.render=function(){return n(i,null,n("a",{class:{"duet-menu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());u.style=s}}}));
4
+ System.register(["./p-76b3dfea.system.js","./p-15fde8cc.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,n,i,a,r,o;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g},function(e){r=e.a},function(e){o=e.i}],execute:function(){var s='*,*::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;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link.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"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';var u=e("duet_menu_bar_link",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="x-small";this.theme="";this.active=false;this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){this.changeIconSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.render=function(){return n(i,{role:"listitem"},n("a",{class:{"duet-menu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());u.style=s}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,c as e,h as d,H as s,g as o}from"./p-6c4b49d5.js";import{i}from"./p-a58bd561.js";import{c as g}from"./p-5e59e970.js";import{s as u,u as c}from"./p-3624bad1.js";const r=class{constructor(d){t(this,d),this.duetChange=e(this,"duetChange",3),this.toggleId=g("DuetToggle"),this.onClick=t=>{t.preventDefault(),this.setFocus(),this.checked=!this.checked},this.theme="",this.margin="auto",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.label="label",this.labelColor=void 0,this.labelWeight=void 0,this.labelPosition="top",this.required=!1,this.disabled=!1,this.checked=!1,this.value=void 0,this.identifier=void 0,this.name=void 0,this.role=void 0}checkedChanged(t){this.duetChange.emit({checked:t,value:this.value,component:"duet-toggle"})}componentWillLoad(){i(this),void 0===this.value&&(this.value=this.identifier)}connectedCallback(){u(this)}disconnectedCallback(){c(this)}async setFocus(t){this.nativeInput.focus(t)}render(){const t=this.identifier||this.toggleId;return d(s,{onClick:this.disabled?void 0:this.onClick,class:{"duet-m-0":"none"===this.margin}},d("div",{class:{"duet-toggle":!0,"duet-theme-turva":"turva"===this.theme,"duet-side-label":"top"!==this.labelPosition,"duet-reverse-label":"right"===this.labelPosition}},d("duet-label",{theme:this.theme,color:this.labelColor,weight:this.labelWeight,for:t,margin:"top"===this.labelPosition?"auto":"none"},this.label),d("label",{class:"duet-switch",htmlFor:t},d("input",{type:"checkbox",value:this.value,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,id:t,role:this.role,name:this.name,checked:this.checked,required:this.required,disabled:this.disabled,ref:t=>this.nativeInput=t}),d("div",{class:"duet-slider"}))))}get element(){return o(this)}static get watchers(){return{checked:["checkedChanged"]}}};r.style='*.sc-duet-toggle,*.sc-duet-toggle::after,*.sc-duet-toggle::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-toggle-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-toggle-h:last-child,.sc-duet-toggle-h:last-of-type{margin-right:0 !important}.duet-m-0.sc-duet-toggle-h{margin:0 !important}duet-label.sc-duet-toggle{display:block !important;width:100% !important}.duet-side-label.sc-duet-toggle{display:flex;gap:12px;align-items:center}.duet-side-label.sc-duet-toggle duet-label.sc-duet-toggle{width:auto !important}.duet-reverse-label.sc-duet-toggle{flex-direction:row-reverse}.duet-switch.sc-duet-toggle{position:relative;display:block;width:48px;height:28px}.duet-switch.sc-duet-toggle input.sc-duet-toggle{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-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(198, 12, 48)}.duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle{cursor:default}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle::before{box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle::before{box-shadow:none}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle{background:#c8cacc}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle{background:#bababa}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle::before{background:rgb(255, 255, 255)}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#80bbd9}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#e38698}.user-is-tabbing.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}.user-is-tabbing.sc-duet-toggle-h .duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-slider.sc-duet-toggle{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(144, 149, 153);border-radius:24px;transition:background-color 300ms ease}.duet-slider.sc-duet-toggle::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:"";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva.sc-duet-toggle .duet-slider.sc-duet-toggle{background-color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-toggle .duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}';export{r as duet_toggle}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as i,H as s,g as e}from"./p-dccd9c7c.js";import{m as o,a as h}from"./p-d81ec707.js";import{c as a,f as n,s as l,a as r}from"./p-00c8a755.js";import{i as p}from"./p-a58bd561.js";import{c as d}from"./p-5e59e970.js";import{f as c}from"./p-e276fee0.js";import{a as m,g as u,c as b,d as f}from"./p-2e36d5bf.js";import"./p-0e052642.js";const v=class{constructor(i){t(this,i),this.mql=[window.matchMedia(o.replace(/'/g,"")),window.matchMedia(h.replace(/'/g,""))],this.tooltipId=d("DuetTooltip"),this.aboutString={fi:"aiheesta",en:"about",sv:"om"},this.openTooltip=()=>{this.active=!0,setTimeout((()=>{this.contentEl.focus({preventScroll:!0}),this.buttonActive=!0}),200)},this.closeTooltip=(t=!1)=>{this.active=!1,t&&setTimeout((()=>{this.buttonEl.setFocus({preventScroll:!0})}),200),setTimeout((()=>{this.buttonActive=!1}),201),setTimeout((()=>{this.updatePlacement()}),200)},this.toggleOpen=()=>{this.active?this.closeTooltip():this.openTooltip()},this.updatePlacement=async()=>{var t,i;let s=!0;("large"!==this.breakpoint||this.mql[1].matches)&&("medium"!==this.breakpoint||this.mql[0].matches)||(s=!1);let e=s?"top-start":"top-end";"left"===this.direction?e="top-end":"right"===this.direction&&(e="top-start");const o=await a(this.buttonEl,this.popupElement,{placement:e,middleware:[n(),l({padding:5}),r({element:this.arrowEl})]});this.tooltipY=o.y,this.tooltipX=o.x,this.placement=o.placement,this.arrowY=null===(t=o.middlewareData.arrow)||void 0===t?void 0:t.y,this.arrowX=null===(i=o.middlewareData.arrow)||void 0===i?void 0:i.x},this.placement="bottom",this.tooltipY=void 0,this.tooltipX=void 0,this.arrowX=void 0,this.arrowY=void 0,this.buttonActive=void 0,this.theme="",this.language=m(),this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"},this.accessibleLabel=u(this.accessibleLabelDefault,this.language),this.accessibleAboutLabel=void 0,this.accessibleInputLabel=void 0,this.accessibleCloseLabelDefault={fi:"Sulje lisätiedot",en:"Close details",sv:"Stäng tilläggsuppgifter"},this.accessibleCloseLabel=u(this.accessibleCloseLabelDefault,this.language),this.label="",this.breakpoint="medium",this.direction="auto",this.positionVertical="0",this.positionHorizontal="0",this.active=!1}componentWillLoad(){p(this),this.buttonActive=this.active}async componentDidLoad(){this.arrowEl=await this.popupElement.getArrowElement(),this.contentEl=await this.popupElement.getContentElement(),this.updatePlacement(),this.active&&this.openTooltip(),this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body}),this.intersectionObserver.observe(this.element)}connectedCallback(){b(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])}disconnectedCallback(){f(this)}onScroll(){clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout((()=>{this.active&&this.updatePlacement()}),100)}handleWindowResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout((()=>{this.updatePlacement()}),100)}handleDocumentClick(t){this.active&&t.composedPath().every((t=>t!==this.element&&t!==this.contentEl))&&this.closeTooltip()}handleKeyDown(t){this.active&&c(t)&&this.closeTooltip(!0)}handlePopupClose(){this.active&&this.closeTooltip(!0)}async handleActiveChange(t){t?setTimeout((()=>this.updatePlacement()),10):setTimeout((()=>this.updatePlacement()),300)}render(){const t={position:"relative",overflow:this.active?"visible":"hidden"},e={top:`${this.tooltipY}px`,left:`${this.tooltipX}px`,display:"block","pointer-events":this.active?"auto":"none"},o={top:this.arrowY?`${this.arrowY}px`:void 0,left:this.arrowX?`${this.arrowX}px`:void 0};return i(s,{style:{transform:`translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,zIndex:this.active?"201":""}},i("duet-tooltip-button",{ref:t=>this.buttonEl=t,active:this.buttonActive,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel&&`${this.accessibleInputLabel}, ${this.accessibleLabel}`||this.accessibleAboutLabel&&`${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`||this.accessibleLabel,onClick:this.toggleOpen,theme:this.theme}),i("div",{style:t},i("duet-tooltip-popup",{ref:t=>this.popupElement=t,active:this.active,tooltipId:this.tooltipId,arrowStyles:o,style:e,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel,theme:this.theme},i("slot",null))))}get element(){return e(this)}static get watchers(){return{active:["handleActiveChange"]}}};v.style="*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";export{v as duet_tooltip}
4
+ import{r as t,h as i,H as s,g as e}from"./p-6c4b49d5.js";import{m as o,a as h}from"./p-d81ec707.js";import{c as a,f as n,s as l,a as r}from"./p-00c8a755.js";import{i as p}from"./p-a58bd561.js";import{c as d}from"./p-5e59e970.js";import{f as c}from"./p-3624bad1.js";import{a as m,g as u,c as b,d as f}from"./p-2e36d5bf.js";import"./p-0e052642.js";const v=class{constructor(i){t(this,i),this.mql=[window.matchMedia(o.replace(/'/g,"")),window.matchMedia(h.replace(/'/g,""))],this.tooltipId=d("DuetTooltip"),this.aboutString={fi:"aiheesta",en:"about",sv:"om"},this.openTooltip=()=>{this.active=!0,setTimeout((()=>{this.contentEl.focus({preventScroll:!0}),this.buttonActive=!0}),200)},this.closeTooltip=(t=!1)=>{this.active=!1,t&&setTimeout((()=>{this.buttonEl.setFocus({preventScroll:!0})}),200),setTimeout((()=>{this.buttonActive=!1}),201),setTimeout((()=>{this.updatePlacement()}),200)},this.toggleOpen=()=>{this.active?this.closeTooltip():this.openTooltip()},this.updatePlacement=async()=>{var t,i;let s=!0;("large"!==this.breakpoint||this.mql[1].matches)&&("medium"!==this.breakpoint||this.mql[0].matches)||(s=!1);let e=s?"top-start":"top-end";"left"===this.direction?e="top-end":"right"===this.direction&&(e="top-start");const o=await a(this.buttonEl,this.popupElement,{placement:e,middleware:[n(),l({padding:5}),r({element:this.arrowEl})]});this.tooltipY=o.y,this.tooltipX=o.x,this.placement=o.placement,this.arrowY=null===(t=o.middlewareData.arrow)||void 0===t?void 0:t.y,this.arrowX=null===(i=o.middlewareData.arrow)||void 0===i?void 0:i.x},this.placement="bottom",this.tooltipY=void 0,this.tooltipX=void 0,this.arrowX=void 0,this.arrowY=void 0,this.buttonActive=void 0,this.theme="",this.language=m(),this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"},this.accessibleLabel=u(this.accessibleLabelDefault,this.language),this.accessibleAboutLabel=void 0,this.accessibleInputLabel=void 0,this.accessibleCloseLabelDefault={fi:"Sulje lisätiedot",en:"Close details",sv:"Stäng tilläggsuppgifter"},this.accessibleCloseLabel=u(this.accessibleCloseLabelDefault,this.language),this.label="",this.breakpoint="medium",this.direction="auto",this.positionVertical="0",this.positionHorizontal="0",this.active=!1}componentWillLoad(){p(this),this.buttonActive=this.active}async componentDidLoad(){this.arrowEl=await this.popupElement.getArrowElement(),this.contentEl=await this.popupElement.getContentElement(),this.updatePlacement(),this.active&&this.openTooltip(),this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body}),this.intersectionObserver.observe(this.element)}connectedCallback(){b(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])}disconnectedCallback(){f(this)}onScroll(){clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout((()=>{this.active&&this.updatePlacement()}),100)}handleWindowResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout((()=>{this.updatePlacement()}),100)}handleDocumentClick(t){this.active&&t.composedPath().every((t=>t!==this.element&&t!==this.contentEl))&&this.closeTooltip()}handleKeyDown(t){this.active&&c(t)&&this.closeTooltip(!0)}handlePopupClose(){this.active&&this.closeTooltip(!0)}async handleActiveChange(t){t?setTimeout((()=>this.updatePlacement()),10):setTimeout((()=>this.updatePlacement()),300)}render(){const t={position:"relative",overflow:this.active?"visible":"hidden"},e={top:`${this.tooltipY}px`,left:`${this.tooltipX}px`,display:"block","pointer-events":this.active?"auto":"none"},o={top:this.arrowY?`${this.arrowY}px`:void 0,left:this.arrowX?`${this.arrowX}px`:void 0};return i(s,{style:{transform:`translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,zIndex:this.active?"201":""}},i("duet-tooltip-button",{ref:t=>this.buttonEl=t,active:this.buttonActive,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel&&`${this.accessibleInputLabel}, ${this.accessibleLabel}`||this.accessibleAboutLabel&&`${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`||this.accessibleLabel,onClick:this.toggleOpen,theme:this.theme}),i("div",{style:t},i("duet-tooltip-popup",{ref:t=>this.popupElement=t,active:this.active,tooltipId:this.tooltipId,arrowStyles:o,style:e,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel,theme:this.theme},i("slot",null))))}get element(){return e(this)}static get watchers(){return{active:["handleActiveChange"]}}};v.style="*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";export{v as duet_tooltip}
@@ -1,4 +1,4 @@
1
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,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function o(e){try{u(i["throw"](e))}catch(e){r(e)}}function u(e){e.done?n(e.value):a(e.value).then(s,o)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(n=0)),n)try{if(i=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-aabf89fa.system.js","./p-50f4bca2.system.js","./p-224f6c46.system.js","./p-da20db91.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var t,n,i,a,r,s;return{setters:[function(e){t=e.r;n=e.h;i=e.g},function(e){a=e.i},function(e){r=e.g},function(e){s=e.a},function(){}],execute:function(){var o=function(e,t){if(t===void 0){t=2}if(e===0){return"0 Bytes"}var n=1024;var i=t<0?0:t;var a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];var r=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,r)).toFixed(i))+" "+a[r]};var u=".file-link::part(duet-link){text-decoration:none}";var c=e("duet_upload_item",function(){function e(e){var n=this;t(this,e);this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"};this.onLinkClick=function(e){var t=n.data,i=t.url,a=t.meta;if(!!n.linkClickEvent){e.preventDefault();n.linkClickEvent.emit({component:"duet-upload",data:{name:n.data.item.name,url:i,meta:a}})}};this.theme="";this.data=undefined;this.type=undefined;this.showLinks=undefined;this.actions=undefined;this.label=undefined;this.categoryLabel=undefined;this.errorCodes=undefined;this.showCategory=undefined;this.linkClickEvent=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.focusActionButton=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!this.actionButton)return[3,2];return[4,this.actionButton.setFocus({preventScroll:true})];case 1:e.sent();this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});e.label=2;case 2:return[2]}}))}))};e.prototype.getFileNameLine=function(){var e=this.data,t=e.item,i=e.size,a=e.uploaded,u=e.url,c=e.progress,l=e.error;var d=t.name;var h=n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);var f=n("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",o(i),")");switch(this.type){case"inprogress":return n("span",{class:"duet-upload-item-name",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),n("duet-visually-hidden",null,n("duet-paragraph",null,r(this.fileUploadingInfo))),n("duet-progress",{progress:Math.ceil(c),"aria-hidden":true}));case"pending":return n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);case"failure":return n("span",{class:"duet-upload-item-error",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),n("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},s(l.type,this.errorCodes)));default:return a&&u&&this.showLinks?n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},n("duet-link",{class:"file-link",onClick:this.onLinkClick,url:u},h),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),f):n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},h,n("duet-spacer",{size:"xx-small",direction:"horizontal"}),f)}};e.prototype.render=function(){var e=this;var t=this.data,i=t.uid,a=t.meta,s=t.item;var o=a&&a.badges?n("span",null,a.badges.map((function(e){return n("duet-badge",{color:"primary"},e)}))):undefined;var u="".concat(a&&a.badges?a.badges.join(","):""," ").concat(s.name);return n("div",{class:{"upload-item-row":true}},this.showCategory&&n("div",{class:"item-categories"},n("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.categoryLabel)),o),n("div",{class:{"item-name":true,"no-category":!this.showCategory}},!!this.label&&n("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.label)),this.getFileNameLine()),n("div",{class:"item-actions"},this.actions.map((function(t){return n("duet-action-button",{actionMeta:Object.assign({},a||{}),actionId:i||null,actionName:t.name,theme:e.theme,iconName:t.icon,iconColor:t.color,iconSize:t.size,background:t.background,"accessible-label":"".concat(u," ").concat(r(t.label)," "),accessibleTitle:false,ref:function(t){return e.actionButton=t}})}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());c.style=u}}}));
4
+ */System.register(["./p-76b3dfea.system.js","./p-50f4bca2.system.js","./p-224f6c46.system.js","./p-da20db91.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var t,n,i,a,r,s;return{setters:[function(e){t=e.r;n=e.h;i=e.g},function(e){a=e.i},function(e){r=e.g},function(e){s=e.a},function(){}],execute:function(){var o=function(e,t){if(t===void 0){t=2}if(e===0){return"0 Bytes"}var n=1024;var i=t<0?0:t;var a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];var r=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,r)).toFixed(i))+" "+a[r]};var u=".file-link::part(duet-link){text-decoration:none}";var c=e("duet_upload_item",function(){function e(e){var n=this;t(this,e);this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"};this.onLinkClick=function(e){var t=n.data,i=t.url,a=t.meta;if(!!n.linkClickEvent){e.preventDefault();n.linkClickEvent.emit({component:"duet-upload",data:{name:n.data.item.name,url:i,meta:a}})}};this.theme="";this.data=undefined;this.type=undefined;this.showLinks=undefined;this.actions=undefined;this.label=undefined;this.categoryLabel=undefined;this.errorCodes=undefined;this.showCategory=undefined;this.linkClickEvent=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.focusActionButton=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!this.actionButton)return[3,2];return[4,this.actionButton.setFocus({preventScroll:true})];case 1:e.sent();this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});e.label=2;case 2:return[2]}}))}))};e.prototype.getFileNameLine=function(){var e=this.data,t=e.item,i=e.size,a=e.uploaded,u=e.url,c=e.progress,l=e.error;var d=t.name;var h=n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);var f=n("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",o(i),")");switch(this.type){case"inprogress":return n("span",{class:"duet-upload-item-name",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),n("duet-visually-hidden",null,n("duet-paragraph",null,r(this.fileUploadingInfo))),n("duet-progress",{progress:Math.ceil(c),"aria-hidden":true}));case"pending":return n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);case"failure":return n("span",{class:"duet-upload-item-error",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),n("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},s(l.type,this.errorCodes)));default:return a&&u&&this.showLinks?n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},n("duet-link",{class:"file-link",onClick:this.onLinkClick,url:u},h),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),f):n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},h,n("duet-spacer",{size:"xx-small",direction:"horizontal"}),f)}};e.prototype.render=function(){var e=this;var t=this.data,i=t.uid,a=t.meta,s=t.item;var o=a&&a.badges?n("span",null,a.badges.map((function(e){return n("duet-badge",{color:"primary"},e)}))):undefined;var u="".concat(a&&a.badges?a.badges.join(","):""," ").concat(s.name);return n("div",{class:{"upload-item-row":true}},this.showCategory&&n("div",{class:"item-categories"},n("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.categoryLabel)),o),n("div",{class:{"item-name":true,"no-category":!this.showCategory}},!!this.label&&n("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.label)),this.getFileNameLine()),n("div",{class:"item-actions"},this.actions.map((function(t){return n("duet-action-button",{actionMeta:Object.assign({},a||{}),actionId:i||null,actionName:t.name,theme:e.theme,iconName:t.icon,iconColor:t.color,iconSize:t.size,background:t.background,"accessible-label":"".concat(u," ").concat(r(t.label)," "),accessibleTitle:false,ref:function(t){return e.actionButton=t}})}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());c.style=u}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as i,g as r}from"./p-dccd9c7c.js";import{i as a}from"./p-a58bd561.js";import{s,u as o}from"./p-e276fee0.js";import{a as n,c as d,d as l,g as c}from"./p-2e36d5bf.js";import"./p-0e052642.js";const h=class{constructor(t){e(this,t),this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"},this.hasSlottedContent=!1,this.theme="",this.language=n(),this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.accessibleLabel=void 0}componentWillLoad(){a(this)}connectedCallback(){d(this),s(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){l(this),o(this)}render(){var e;return t(i,{role:"listitem"},t("div",{class:"container"},"arrow-right-small-icon"===this.icon&&t("duet-icon",{class:"duet-breadrumbs-arrow",size:"auto",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>',margin:"none",color:"currentColor"}),t("a",{class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme},href:this.href?this.href:void 0,"aria-label":`${this.href?"":`${c(this.currentCrumb)} `}${null!==(e=this.accessibleLabel)&&void 0!==e?e:this.element.innerHTML}`,role:"link"},"arrow-right-small-icon"!==this.icon&&this.icon&&[t("duet-icon",{size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&t("duet-spacer",{size:"x-small",direction:"horizontal"})],t("slot",null))))}get element(){return r(this)}};h.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;display:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";export{h as duet_breadcrumb}
4
+ import{r as e,h as t,H as i,g as r}from"./p-6c4b49d5.js";import{i as a}from"./p-a58bd561.js";import{s,u as o}from"./p-3624bad1.js";import{a as n,c as d,d as l,g as c}from"./p-2e36d5bf.js";import"./p-0e052642.js";const h=class{constructor(t){e(this,t),this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"},this.hasSlottedContent=!1,this.theme="",this.language=n(),this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.accessibleLabel=void 0}componentWillLoad(){a(this)}connectedCallback(){d(this),s(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){l(this),o(this)}render(){var e;return t(i,{role:"listitem"},t("div",{class:"container"},"arrow-right-small-icon"===this.icon&&t("duet-icon",{class:"duet-breadrumbs-arrow",size:"auto",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>',margin:"none",color:"currentColor"}),t("a",{class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme},href:this.href?this.href:void 0,"aria-label":`${this.href?"":`${c(this.currentCrumb)} `}${null!==(e=this.accessibleLabel)&&void 0!==e?e:this.element.innerHTML}`,role:"link"},"arrow-right-small-icon"!==this.icon&&this.icon&&[t("duet-icon",{size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&t("duet-spacer",{size:"x-small",direction:"horizontal"})],t("slot",null))))}get element(){return r(this)}};h.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;display:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";export{h as duet_breadcrumb}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-aabf89fa.system.js","./p-50f4bca2.system.js","./p-abdbce02.system.js","./p-e1868c94.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";var n=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());n.style=s;var p=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var m=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());m.style=p}}}));
4
+ System.register(["./p-76b3dfea.system.js","./p-50f4bca2.system.js","./p-abdbce02.system.js","./p-e1868c94.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";var n=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());n.style=s;var p=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var m=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());m.style=p}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as i,H as s,g as n}from"./p-dccd9c7c.js";import{i as u}from"./p-a58bd561.js";import{c as r}from"./p-5e59e970.js";import{a,b as o,c as h,d,e as b,s as l,u as c}from"./p-e276fee0.js";import{a as p,b as m,g,c as v,d as f}from"./p-2e36d5bf.js";import{c as x}from"./p-796edee6.js";import"./p-0e052642.js";function w(t,e){let i;if("string"==typeof t){if(""===t)return null;let s=t.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");e&&(s=function(t,e,i=!1){let s;const n=new Intl.NumberFormat(e).format(.5).replace(/[0-9]/g,""),u=new Intl.NumberFormat("en-US").format(.5).replace(/[0-9]/g,""),r=new Intl.NumberFormat(e).format(1e3).replace(/[0-9]/g,""),a=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");return s=t.replace(n,"DECIMALSEPARATOR"),s=s.replace(r,i?"THOUSANDSEPARATOR":""),s=s.replace("DECIMALSEPARATOR",u),s=s.replace("THOUSANDSEPARATOR",a),s}(s,e,!1)),s=s.replace(/\s+/g,""),s=s.replace(/(?!^-?\d*\.{0,1}\d+$)/g,""),i=parseFloat(s)}if("number"==typeof t&&(i=parseFloat(String(t))),!isNaN(Number(i)))return Number(i);if(null==t)return null;throw new Error("Invalid value passed to SafeParseFloat")}const y=(t,e,i)=>Math.min(Math.max(t,e),i),A=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetInput=e(this,"duetInput",3),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=r("DuetInput"),this.handleFocus=()=>{this.focusedValue=this.value},this.handleKeyDown=t=>{a(t)||o(t)?this.add(t):h(t)||d(t)?this.subtract(t):b(t)&&this.clearValue()},this.handleChange=t=>{const e=t.target;if(e&&e.value)try{let i=w(e.value,this.locale);(isNaN(i)||null==i)&&(i=this.min||0),this.setValue(i),this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:w(this.value,this.locale).toString(),valueAsNumber:i})}catch(e){this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}else this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})},this.handleBlur=t=>{const e=t.target;var i;if(e)if(e.value)try{let s=w(e.value,this.locale);this.rounding&&(i=this.step,s=Math.round(s/i)*i),s=y(s,this.min,this.max),s===w(this.value,this.locale)&&s===w(this.focusedValue,this.locale)||(this.setValue(s),this.emitChange(t))}catch(e){this.emitNull(t)}else this.emitNull(t)},this.emitChange=t=>{const e=w(this.value,this.locale);this.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})},this.emitNull=t=>{this.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})},this.localizeValue=t=>t.toLocaleString(this.locale),this.setValue=t=>{this.value=this.localizeValue(t),this.duetInputElement.value=`${this.value} ${this.unit}`},this.add=t=>{t&&t.preventDefault();const e=w(this.value,this.locale);if(e===this.max)return;let i=null==e?this.min:e+this.step;i%this.step!=0&&(i-=i%this.step);const s=y(i,this.min,this.max);this.value=this.localizeValue(s),this.emitChange(t)},this.subtract=t=>{t&&t.preventDefault();const e=w(this.value,this.locale);if(e===this.min)return;let i=e-this.step;i%this.step!=0&&(i+=this.step-i%this.step),i=y(i,this.min,this.max),this.value=this.localizeValue(i),this.emitChange(t)},this.language=p(),this.locale=m(this.language).locale,this.unit=m(this.language).money,this.focusedValue=void 0,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"},this.accessibleLive=g(this.accessibleLiveDefaults,this.language),this.accessibleLiveEnabled=!0,this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"},this.accessibleAdd=g(this.accessibleAddDefaults,this.language),this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"},this.accessibleSubtract=g(this.accessibleSubtractDefaults,this.language),this.theme="",this.margin="auto",this.expand=!1,this.identifier=void 0,this.min=0,this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"},this.label=g(this.labelDefaults,this.language),this.labelHidden=!1,this.max=1e6,this.name=void 0,this.error="",this.tooltip="",this.step=5e3,this.rounding=!0,this.role=void 0,this.disabled=!1,this.required=!1,this.value=void 0}componentWillLoad(){u(this),this.value&&(this.value=this.localizeValue(w(this.value,this.locale))),x(this.element,"tooltip","duet-tooltip",1,!0)}connectedCallback(){v(this,[{prop:"accessibleLive",defaults:"accessibleLiveDefaults"},{prop:"accessibleAdd",defaults:"accessibleAddDefaults"},{prop:"accessibleSubtract",defaults:"accessibleSubtractDefaults"},{prop:"label",defaults:"labelDefaults"}]),l(this)}disconnectedCallback(){f(this),c(this)}async setFocus(t){this.duetInputElement.setFocus(t)}async getValueAsNumber(){const t=w(this.value,this.locale);return null==this.value||isNaN(t)?null:t}clearValue(){this.value=null,this.duetInputElement.value=""}formatAnnouncement(){const t=this.value?w(this.value,this.locale):null;return null==t?"":this.accessibleLive.replace("{current}",t.toString(10))}render(){const t=this.identifier||this.inputId,e=`${this.localizeValue(this.max)} ${this.unit}`.length,n=this.value?w(this.value,this.locale):null;return i(s,{class:{"duet-theme-turva":"turva"===this.theme,"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},i("div",{class:"duet-number-container"},i("duet-input",{ref:t=>this.duetInputElement=t,onDuetChange:t=>this.handleChange(t),onDuetFocus:this.handleFocus,onDuetBlur:t=>this.handleBlur(t),onKeyDown:t=>this.handleKeyDown(t),label:this.label,value:this.value?`${this.value} ${this.unit}`:"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":null!=n?n:"",maxlength:e,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:t,theme:this.theme,margin:"none",expand:!0,numericKeyboard:!0,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},i("slot",{name:"tooltip"}),i("div",{class:{"duet-number-buttons":!0,"duet-no-label":this.labelHidden}},i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":null==n||n===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},i("duet-visually-hidden",null,this.accessibleSubtract," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})),i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":n===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},i("duet-visually-hidden",null,this.accessibleAdd," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&i("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))}get element(){return n(this)}};A.style='*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-number-input-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;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{box-shadow:0 0 0 2px #171c3a !important}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid rgb(207, 210, 212)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(207, 210, 212, 0.2) 0%, rgba(207, 210, 212, 0.2) 1px, rgba(207, 210, 212, 0.1) 1px, rgba(207, 210, 212, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:"";background:rgb(225, 227, 230)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(207, 207, 209, 0.2) 0%, rgba(207, 207, 209, 0.2) 1px, rgba(207, 207, 209, 0.1) 1px, rgba(207, 207, 209, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(228, 228, 230)}';export{A as duet_number_input}
4
+ import{r as t,c as e,h as i,H as s,g as n}from"./p-6c4b49d5.js";import{i as u}from"./p-a58bd561.js";import{c as r}from"./p-5e59e970.js";import{a,b as o,c as h,d,e as b,s as l,u as c}from"./p-3624bad1.js";import{a as p,b as m,g,c as v,d as f}from"./p-2e36d5bf.js";import{c as x}from"./p-796edee6.js";import"./p-0e052642.js";function w(t,e){let i;if("string"==typeof t){if(""===t)return null;let s=t.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");e&&(s=function(t,e,i=!1){let s;const n=new Intl.NumberFormat(e).format(.5).replace(/[0-9]/g,""),u=new Intl.NumberFormat("en-US").format(.5).replace(/[0-9]/g,""),r=new Intl.NumberFormat(e).format(1e3).replace(/[0-9]/g,""),a=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");return s=t.replace(n,"DECIMALSEPARATOR"),s=s.replace(r,i?"THOUSANDSEPARATOR":""),s=s.replace("DECIMALSEPARATOR",u),s=s.replace("THOUSANDSEPARATOR",a),s}(s,e,!1)),s=s.replace(/\s+/g,""),s=s.replace(/(?!^-?\d*\.{0,1}\d+$)/g,""),i=parseFloat(s)}if("number"==typeof t&&(i=parseFloat(String(t))),!isNaN(Number(i)))return Number(i);if(null==t)return null;throw new Error("Invalid value passed to SafeParseFloat")}const y=(t,e,i)=>Math.min(Math.max(t,e),i),A=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetInput=e(this,"duetInput",3),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=r("DuetInput"),this.handleFocus=()=>{this.focusedValue=this.value},this.handleKeyDown=t=>{a(t)||o(t)?this.add(t):h(t)||d(t)?this.subtract(t):b(t)&&this.clearValue()},this.handleChange=t=>{const e=t.target;if(e&&e.value)try{let i=w(e.value,this.locale);(isNaN(i)||null==i)&&(i=this.min||0),this.setValue(i),this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:w(this.value,this.locale).toString(),valueAsNumber:i})}catch(e){this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}else this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})},this.handleBlur=t=>{const e=t.target;var i;if(e)if(e.value)try{let s=w(e.value,this.locale);this.rounding&&(i=this.step,s=Math.round(s/i)*i),s=y(s,this.min,this.max),s===w(this.value,this.locale)&&s===w(this.focusedValue,this.locale)||(this.setValue(s),this.emitChange(t))}catch(e){this.emitNull(t)}else this.emitNull(t)},this.emitChange=t=>{const e=w(this.value,this.locale);this.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})},this.emitNull=t=>{this.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})},this.localizeValue=t=>t.toLocaleString(this.locale),this.setValue=t=>{this.value=this.localizeValue(t),this.duetInputElement.value=`${this.value} ${this.unit}`},this.add=t=>{t&&t.preventDefault();const e=w(this.value,this.locale);if(e===this.max)return;let i=null==e?this.min:e+this.step;i%this.step!=0&&(i-=i%this.step);const s=y(i,this.min,this.max);this.value=this.localizeValue(s),this.emitChange(t)},this.subtract=t=>{t&&t.preventDefault();const e=w(this.value,this.locale);if(e===this.min)return;let i=e-this.step;i%this.step!=0&&(i+=this.step-i%this.step),i=y(i,this.min,this.max),this.value=this.localizeValue(i),this.emitChange(t)},this.language=p(),this.locale=m(this.language).locale,this.unit=m(this.language).money,this.focusedValue=void 0,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"},this.accessibleLive=g(this.accessibleLiveDefaults,this.language),this.accessibleLiveEnabled=!0,this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"},this.accessibleAdd=g(this.accessibleAddDefaults,this.language),this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"},this.accessibleSubtract=g(this.accessibleSubtractDefaults,this.language),this.theme="",this.margin="auto",this.expand=!1,this.identifier=void 0,this.min=0,this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"},this.label=g(this.labelDefaults,this.language),this.labelHidden=!1,this.max=1e6,this.name=void 0,this.error="",this.tooltip="",this.step=5e3,this.rounding=!0,this.role=void 0,this.disabled=!1,this.required=!1,this.value=void 0}componentWillLoad(){u(this),this.value&&(this.value=this.localizeValue(w(this.value,this.locale))),x(this.element,"tooltip","duet-tooltip",1,!0)}connectedCallback(){v(this,[{prop:"accessibleLive",defaults:"accessibleLiveDefaults"},{prop:"accessibleAdd",defaults:"accessibleAddDefaults"},{prop:"accessibleSubtract",defaults:"accessibleSubtractDefaults"},{prop:"label",defaults:"labelDefaults"}]),l(this)}disconnectedCallback(){f(this),c(this)}async setFocus(t){this.duetInputElement.setFocus(t)}async getValueAsNumber(){const t=w(this.value,this.locale);return null==this.value||isNaN(t)?null:t}clearValue(){this.value=null,this.duetInputElement.value=""}formatAnnouncement(){const t=this.value?w(this.value,this.locale):null;return null==t?"":this.accessibleLive.replace("{current}",t.toString(10))}render(){const t=this.identifier||this.inputId,e=`${this.localizeValue(this.max)} ${this.unit}`.length,n=this.value?w(this.value,this.locale):null;return i(s,{class:{"duet-theme-turva":"turva"===this.theme,"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},i("div",{class:"duet-number-container"},i("duet-input",{ref:t=>this.duetInputElement=t,onDuetChange:t=>this.handleChange(t),onDuetFocus:this.handleFocus,onDuetBlur:t=>this.handleBlur(t),onKeyDown:t=>this.handleKeyDown(t),label:this.label,value:this.value?`${this.value} ${this.unit}`:"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":null!=n?n:"",maxlength:e,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:t,theme:this.theme,margin:"none",expand:!0,numericKeyboard:!0,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},i("slot",{name:"tooltip"}),i("div",{class:{"duet-number-buttons":!0,"duet-no-label":this.labelHidden}},i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":null==n||n===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},i("duet-visually-hidden",null,this.accessibleSubtract," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})),i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":n===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},i("duet-visually-hidden",null,this.accessibleAdd," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&i("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))}get element(){return n(this)}};A.style='*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-number-input-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;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{box-shadow:0 0 0 2px #171c3a !important}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid rgb(207, 210, 212)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(207, 210, 212, 0.2) 0%, rgba(207, 210, 212, 0.2) 1px, rgba(207, 210, 212, 0.1) 1px, rgba(207, 210, 212, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:"";background:rgb(225, 227, 230)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(207, 207, 209, 0.2) 0%, rgba(207, 207, 209, 0.2) 1px, rgba(207, 207, 209, 0.1) 1px, rgba(207, 207, 209, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(228, 228, 230)}';export{A as duet_number_input}
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,i,n,e){function r(t){return t instanceof n?t:new n((function(i){i(t)}))}return new(n||(n=Promise))((function(n,s){function o(t){try{a(e.next(t))}catch(t){s(t)}}function u(t){try{a(e["throw"](t))}catch(t){s(t)}}function a(t){t.done?n(t.value):r(t.value).then(o,u)}a((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},e,r,s,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(i){return a([t,i])}}function a(u){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(e=1,r&&(s=u[0]&2?r["return"]:u[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,u[1])).done)return s;if(r=0,s)u=[u[0]&2,s.value];switch(u[0]){case 0:case 1:s=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1];s=u;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(u);break}if(s[2])n.ops.pop();n.trys.pop();continue}u=i.call(t,n)}catch(t){u=[6,t];r=0}finally{e=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-76b3dfea.system.js","./p-232940fa.system.js","./p-50f4bca2.system.js","./p-91d750ad.system.js","./p-b2716337.system.js","./p-f42c2d6e.system.js"],(function(t){"use strict";var i,n,e,r,s,o,u,a,c,f,h,p,l,d,m;return{setters:[function(t){i=t.r;n=t.c;e=t.h;r=t.H;s=t.g},function(t){o=t.c;u=t.o;a=t.f},function(t){c=t.i},function(t){f=t.f},function(t){h=t.f;p=t.c;l=t.b;d=t.o},function(t){m=t.T}],execute:function(){var b="*,*::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}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(0, 41, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}";var g=t("duet_popup_menu",function(){function t(t){var e=this;i(this,t);this.duetToggle=n(this,"duetToggle",7);this.setOpenButton=function(t){if(!t){return}try{var i=t;i.accessiblePopup="true";i.accessibleExpanded=false;i.setAttribute("trailing-icon","action-arrow-down-small");e.openButton=i}catch(t){}};this.openButtonEventListener=function(){e.toggle()};this.updatePlacement=function(){return __awaiter(e,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:if(!this.openButton){return[2]}return[4,o(this.openButton,this.menuElement,{middleware:[u({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),a()],placement:this.placement,strategy:this.position})];case 1:t=i.sent();this.menuY=t.y;this.menuX=t.x;return[2]}}))}))};this.open=false;this.menuY=undefined;this.menuX=undefined;this.accessibleLabel=undefined;this.accessibleRole="menu";this.theme="";this.controller=undefined;this.placement="bottom-start";this.position="absolute";this.mainAxisOffset=0;this.crossAxisOffset=0}t.prototype.componentWillLoad=function(){c(this);this.teleport=new m(this.element)};t.prototype.componentDidLoad=function(){{this.updatePlacement()}};t.prototype.connectedCallback=function(){this.handleControllerChange(this.controller,null)};t.prototype.disconnectedCallback=function(){if(this.openButton){this.openButton.removeEventListener("click",this.openButtonEventListener);this.openButton.removeAttribute("trailing-icon")}};t.prototype.handleKeyUp=function(t){if(this.open){if(h(t)){this.focusOpenButton();this.hide()}}};t.prototype.handleKeyDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i,i;return __generator(this,(function(n){switch(n.label){case 0:if(!this.open)return[3,5];if(!p(t))return[3,2];t.preventDefault();return[4,this.getFocusedItemIndex()];case 1:i=n.sent();if(i!==-1){if(i<this.itemElements.length-1){this.itemElements[i+1].setFocus()}else{this.itemElements[0].setFocus()}}n.label=2;case 2:if(!l(t))return[3,4];t.preventDefault();return[4,this.getFocusedItemIndex()];case 3:i=n.sent();if(i!==-1){if(i===0){this.itemElements[this.itemElements.length-1].setFocus()}else{this.itemElements[i-1].setFocus()}}n.label=4;case 4:if(d(t)&&this.accessibleRole==="menu"){t.preventDefault();this.hide()}n.label=5;case 5:return[2]}}))}))};t.prototype.handleClick=function(t){var i=this;var n=t.composedPath().every((function(t){return t!==i.element&&t!==i.openButton}));if(this.open&&n){this.hide()}};t.prototype.isOpen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.open]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=true;return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=false;return[2]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.open){this.hide()}else{this.show()}return[2]}))}))};t.prototype.handleControllerChange=function(t,i){if(!!t===!!i){return}if(typeof this.controller==="string"){this.setOpenButton(document.getElementById(this.controller));if(this.openButton){this.openButton.addEventListener("click",this.openButtonEventListener)}}else{this.setOpenButton(this.controller)}};t.prototype.handleOpenChange=function(t,i){var n=this;if(!!t===!!i){return}if(this.open&&!i){if(this.openButton){this.openButton.accessibleExpanded=true}this.teleport.go(true);this.updatePlacement();setTimeout((function(){if(n.accessibleRole==="menu"){n.itemElements[0].setFocus()}n.duetToggle.emit({open:n.open,component:"duet-popup-menu"})}),200)}else if(!this.open&&i){if(this.openButton){this.openButton.accessibleExpanded=false}setTimeout((function(){if(n.accessibleRole==="menu"){n.focusOpenButton()}n.duetToggle.emit({open:n.open,component:"duet-popup-menu"});n.teleport.resume()}),200)}};t.prototype.focusOpenButton=function(){if(this.open){f(this.openButton)}};Object.defineProperty(t.prototype,"itemElements",{get:function(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))},enumerable:false,configurable:true});t.prototype.getFocusedItemIndex=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(n){switch(n.label){case 0:t=this.itemElements;i=0;n.label=1;case 1:if(!(i<t.length))return[3,4];return[4,t[i].isFocused()];case 2:if(n.sent()){return[2,i]}n.label=3;case 3:i++;return[3,1];case 4:return[2,-1]}}))}))};t.prototype.render=function(){var t=this;var i={top:"".concat(this.menuY,"px"),left:"".concat(this.menuX,"px"),position:this.position};return e(r,null,e("div",{ref:function(i){return t.menuElement=i},style:i,class:{open:this.open,"duet-popup-menu-list":true,"duet-theme-turva":this.theme==="turva"},role:this.accessibleRole,"aria-label":this.accessibleLabel},e("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{controller:["handleControllerChange"],open:["handleOpenChange"]}},enumerable:false,configurable:true});return t}());g.style=b}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register([],(function(n){"use strict";return{execute:function(){var r=n("d",(function(n){return n.key==="ArrowLeft"||n.key==="Left"}));var t=n("b",(function(n){return n.key==="ArrowUp"||n.key==="Up"}));var u=n("a",(function(n){return n.key==="ArrowRight"||n.key==="Right"}));var e=n("c",(function(n){return n.key==="ArrowDown"||n.key==="Down"}));var o=n("k",(function(n){return e(n)||u(n)||t(n)||r(n)}));var i=n("f",(function(n){return n.key==="Escape"||n.key==="Esc"}));var f=n("p",(function(n){return n.shiftKey&&n.key==="Tab"}));var a=n("o",(function(n){return n.key==="Tab"}));var c=n("e",(function(n){return n.key==="Backspace"}));var w=n("g",(function(n){return n.key===" "||n.key==="Spacebar"}));var v=n("n",(function(n){return n.key==="+"||n.key==="Add"}));var d=n("m",(function(n){return n.key==="-"||n.key==="Subtract"}));var s=n("h",(function(n){return n.key==="?"}));var b=n("j",(function(n){return n.key==="Enter"}));var p=n("i",(function(n){return b(n)||w(n)}));var k=n("l",(function(n){return n.key>="0"&&n.key<="9"}));var l=new Set;function y(n){l.forEach((function(r){r.element.classList[n?"add":"remove"]("user-is-tabbing")}))}function A(n){if(a(n)){y(true);window.removeEventListener("keydown",A);window.addEventListener("mousedown",g,false)}}function g(){y(false);window.removeEventListener("mousedown",g);window.addEventListener("keydown",A,false)}if(typeof window!=="undefined"){window.addEventListener("keydown",A,false)}var m=n("s",(function(n){l.add(n)}));var S=n("u",(function(n){l.delete(n)}))}}}));
4
+ System.register([],(function(n){"use strict";return{execute:function(){var r=n("d",(function(n){return n.key==="ArrowLeft"||n.key==="Left"}));var t=n("b",(function(n){return n.key==="ArrowUp"||n.key==="Up"}));var u=n("a",(function(n){return n.key==="ArrowRight"||n.key==="Right"}));var e=n("c",(function(n){return n.key==="ArrowDown"||n.key==="Down"}));var o=n("k",(function(n){return e(n)||u(n)||t(n)||r(n)}));var i=n("f",(function(n){return n.key==="Escape"||n.key==="Esc"}));var f=n("p",(function(n){return n.shiftKey&&n.key==="Tab"}));var a=n("o",(function(n){return n.key==="Tab"}));var c=n("e",(function(n){return n.key==="Backspace"}));var w=n("g",(function(n){return n.key===" "||n.key==="Spacebar"}));var v=n("n",(function(n){return n.key==="+"||n.key==="Add"}));var s=n("m",(function(n){return n.key==="-"||n.key==="Subtract"}));var d=n("h",(function(n){return n.key==="?"}));var b=n("j",(function(n){return n.key==="Enter"}));var p=n("i",(function(n){return b(n)||w(n)}));var l=n("l",(function(n){return n.key>="0"&&n.key<="9"}));var g=new Set;function m(n){g.forEach((function(r){r.element.classList[n?"add":"remove"]("user-is-tabbing")}))}function A(n){if(a(n)){m(true);window.removeEventListener("keydown",A);window.addEventListener("mousedown",k,false)}}function k(){m(false);window.removeEventListener("mousedown",k);window.addEventListener("keydown",A,false)}if(typeof window!=="undefined"){window.addEventListener("mousedown",k,false);window.addEventListener("blur",(function(){return m(true)}))}var y=n("s",(function(n){g.add(n);n.element.classList.add("user-is-tabbing")}));var S=n("u",(function(n){g.delete(n)}))}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-aabf89fa.system.js","./p-50f4bca2.system.js"],(function(M){"use strict";var N,g,j,D;return{setters:[function(M){N=M.r;g=M.h;j=M.g},function(M){D=M.i}],execute:function(){var I='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-page-heading{position:relative;display:block;width:100%;margin:0 auto;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(0, 41, 77)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yODIwXzY5OTkxKSI+CjxwYXRoIGQ9Ik04MC4xNzA1IDIzLjE4MTVDOTEuOTY5OSAxOC44NjU5IDEwMi44NyAxMS42NTU5IDExMi45MDkgMS41NjQ0OEMxMjMuNzcgLTguMzA1MjcgMTM0LjM4MiAtMTguMjAxMSAxNDQuODI2IC0yOC4xODgyQzE1NS4yNDMgLTM4LjE2MjIgMTY1LjkwOCAtNDguMDg0MSAxNzYuNzQzIC01Ny45Mjc4QzE3OC44MTYgLTU5LjA0OSAxODAuNDk4IC02MC4yODc3IDE4MS43ODggLTYxLjY1NjdDMTgzLjA2NiAtNjMuMDEyNiAxODUuNDY1IC02Mi4yODI1IDE4OS4wMTIgLTU5LjQ3OTNDMTg0LjczNSAtNTEuMTM1IDE4MC43NTkgLTQyLjk2MDIgMTc3LjAxNyAtMzQuOTAyN0MxNzMuMjg4IC0yNi44NDUyIDE2Ny42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L3N2Zz4K");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-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(0, 41, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}';var z=M("duet_page_heading",function(){function M(M){N(this,M);this.theme="";this.icon="";this.layout="narrow"}M.prototype.componentWillLoad=function(){D(this)};M.prototype.render=function(){var M;return g("div",{class:(M={"duet-page-heading":true,"duet-theme-turva":this.theme==="turva"},M[this.layout]=true,M)},g("div",{class:"background"},this.theme==="turva"&&g("div",{class:"background-mask"}),this.theme!=="turva"&&g("div",{class:"brand-shape"}),this.theme!=="turva"&&g("div",{class:"brand-shape second-shape"}),this.icon&&g("div",{class:"brand-shaped-icon"},g("duet-icon",{background:"none",name:this.icon,margin:"none",size:"auto",responsive:false}))),g("div",{class:"heading"},g("slot",{name:"heading"})))};Object.defineProperty(M.prototype,"element",{get:function(){return j(this)},enumerable:false,configurable:true});return M}());z.style=I}}}));
4
+ System.register(["./p-76b3dfea.system.js","./p-50f4bca2.system.js"],(function(M){"use strict";var N,g,j,D;return{setters:[function(M){N=M.r;g=M.h;j=M.g},function(M){D=M.i}],execute:function(){var I='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-page-heading{position:relative;display:block;width:100%;margin:0 auto;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(0, 41, 77)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yOD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yMTcuNzIxIDUzNC40MDEgMjIyLjI0NUM1NTYuNjQ0IDIyNi43NTcgNTc5Ljg2NSAyMjYuNTA5IDYwNC4xMTUgMjIxLjU2N0M2MDkuNjQzIDIyMC42MTYgNjE1LjI2MyAyMTkuNDY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-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(0, 41, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}';var z=M("duet_page_heading",function(){function M(M){N(this,M);this.theme="";this.icon="";this.layout="narrow"}M.prototype.componentWillLoad=function(){D(this)};M.prototype.render=function(){var M;return g("div",{class:(M={"duet-page-heading":true,"duet-theme-turva":this.theme==="turva"},M[this.layout]=true,M)},g("div",{class:"background"},this.theme==="turva"&&g("div",{class:"background-mask"}),this.theme!=="turva"&&g("div",{class:"brand-shape"}),this.theme!=="turva"&&g("div",{class:"brand-shape second-shape"}),this.icon&&g("div",{class:"brand-shaped-icon"},g("duet-icon",{background:"none",name:this.icon,margin:"none",size:"auto",responsive:false}))),g("div",{class:"heading"},g("slot",{name:"heading"})))};Object.defineProperty(M.prototype,"element",{get:function(){return j(this)},enumerable:false,configurable:true});return M}());z.style=I}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as r}from"./p-dccd9c7c.js";import{i as a}from"./p-a58bd561.js";const i=class{constructor(t){e(this,t),this.theme="",this.checked=!1,this.presentationOnly=!1,this.center=!1,this.type="checkbox"}componentWillLoad(){a(this)}render(){return t(r,{class:{"duet-theme-turva":"turva"===this.theme}},t("div",{role:this.presentationOnly?"presentation":null,class:{checked:this.checked}},t("div",{class:{"duet-checkmark-container":!0,center:this.center,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{class:"duet-checkmark"}))))}};i.style=".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(116, 116, 117)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(207, 210, 212) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(207, 207, 209) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(207, 210, 212) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(207, 207, 209) !important}.duet-checkmark{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}}";export{i as duet_checkmark}
4
+ import{r as e,h as t,H as r}from"./p-6c4b49d5.js";import{i as a}from"./p-a58bd561.js";const i=class{constructor(t){e(this,t),this.theme="",this.checked=!1,this.presentationOnly=!1,this.center=!1,this.type="checkbox"}componentWillLoad(){a(this)}render(){return t(r,{class:{"duet-theme-turva":"turva"===this.theme}},t("div",{role:this.presentationOnly?"presentation":null,class:{checked:this.checked}},t("div",{class:{"duet-checkmark-container":!0,center:this.center,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{class:"duet-checkmark"}))))}};i.style=".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(116, 116, 117)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(207, 210, 212) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(207, 207, 209) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(207, 210, 212) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(207, 207, 209) !important}.duet-checkmark{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}}";export{i as duet_checkmark}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as o,g as a}from"./p-dccd9c7c.js";import{i as n}from"./p-a58bd561.js";import{a as i,c as s,d as r,g as l}from"./p-2e36d5bf.js";import"./p-0e052642.js";const d=class{constructor(t){e(this,t),this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"},this.language=i(),this.theme=""}componentWillLoad(){n(this)}connectedCallback(){s(this)}disconnectedCallback(){r(this)}render(){const e=l(this.chooseLangObject);return t(o,null,t("div",{class:"duet-slideout-lang",role:"group","aria-label":e},t("duet-icon",{name:"navigation-language",margin:"none",color:"secondary"}),t("slot",null)))}get element(){return a(this)}};d.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}.duet-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:15%;right:-16px;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:16px;font-weight:600;line-height:150%;color:rgb(0, 41, 77);content:"|"}.duet-theme-turva ::slotted(:not(:last-child))::after{color:rgb(23, 28, 58)}';export{d as duet_slideout_lang}
4
+ import{r as e,h as t,H as o,g as a}from"./p-6c4b49d5.js";import{i as n}from"./p-a58bd561.js";import{a as i,c as s,d as r,g as l}from"./p-2e36d5bf.js";import"./p-0e052642.js";const p=class{constructor(t){e(this,t),this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"},this.language=i(),this.theme=""}componentWillLoad(){n(this)}connectedCallback(){s(this)}disconnectedCallback(){r(this)}render(){const e=l(this.chooseLangObject);return t(o,null,t("div",{class:"duet-slideout-lang",role:"group","aria-label":e},t("duet-icon",{name:"navigation-language",margin:"none",color:"secondary"}),t("slot",null)))}get element(){return a(this)}};p.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}.duet-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:15%;right:-16px;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:16px;font-weight:600;line-height:150%;color:rgb(0, 41, 77);content:"|"}.duet-theme-turva ::slotted(:not(:last-child))::after{color:rgb(23, 28, 58)}';export{p as duet_slideout_lang}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,i,o){function s(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function l(t){try{a(o.next(t))}catch(t){r(t)}}function n(t){try{a(o["throw"](t))}catch(t){r(t)}}function a(t){t.done?i(t.value):s(t.value).then(l,n)}a((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,s,r,l;return l={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function n(t){return function(e){return a([t,e])}}function a(n){if(o)throw new TypeError("Generator is already executing.");while(l&&(l=0,n[0]&&(i=0)),i)try{if(o=1,s&&(r=n[0]&2?s["return"]:n[0]?s["throw"]||((r=s["return"])&&r.call(s),0):s.next)&&!(r=r.call(s,n[1])).done)return r;if(s=0,r)n=[n[0]&2,r.value];switch(n[0]){case 0:case 1:r=n;break;case 4:i.label++;return{value:n[1],done:false};case 5:i.label++;s=n[1];n=[0];continue;case 7:n=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(n[0]===6||n[0]===2)){i=0;continue}if(n[0]===3&&(!r||n[1]>r[0]&&n[1]<r[3])){i.label=n[1];break}if(n[0]===6&&i.label<r[1]){i.label=r[1];r=n;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(n);break}if(r[2])i.ops.pop();i.trys.pop();continue}n=e.call(t,i)}catch(t){n=[6,t];s=0}finally{o=r=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var o=0,s=e.length,r;o<s;o++){if(r||!(o in e)){if(!r)r=Array.prototype.slice.call(e,0,o);r[o]=e[o]}}return t.concat(r||Array.prototype.slice.call(e))};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-aabf89fa.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-09c54c8e.system.js","./p-224f6c46.system.js","./p-7c6d5f9c.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var e,i,o,s,r,l,n,a,u,c,d,h,m,p,b,f,g,v,x;return{setters:[function(t){e=t.r;i=t.c;o=t.h;s=t.H;r=t.g},function(t){l=t.i},function(t){n=t.c},function(t){a=t.f;u=t.o;c=t.j;d=t.d;h=t.b;m=t.a;p=t.c},function(t){b=t.a;f=t.c;g=t.d},function(t){v=t.c},function(t){x=t.p}],execute:function(){var y='*,*::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-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;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;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;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;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px #747475}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);background:#d9ebf4;border-radius:20rem}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{border-color:rgb(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !important}.duet-theme-turva .duet-multiselect{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);border-color:rgb(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(225, 227, 230)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons 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(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(0, 41, 77)}.duet-multiselect-help{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:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{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(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';function w(t,e){return t.includes(e)?t.filter((function(t){return t!==e})):__spreadArray(__spreadArray([],t,true),[e],false)}var k=t("duet_multiselect",function(){function t(t){var o=this;e(this,t);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.errorId=n("DuetError");this.labelId=n("DuetLabel");this.topCaptionId=n("DuetCaptionTop");this.selectedLangObject={en:"selected",fi:"valittu",sv:"vald"};this.selectAllLabel={en:"Select all",fi:"Valitse kaikki",sv:"Välj alla"};this.clearAllLabel={en:"Clear all",fi:"Tyhjennä kaikki",sv:"Rensa alla"};this.placeholderLabel={en:"Hint",fi:"Vihje",sv:"Tips"};this.onChange=function(t){o.duetChange.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onBlur=function(t){o.duetBlur.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onFocus=function(t){o.duetFocus.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onMultiselectKeyDown=function(t){if(a(t)||u(t)){if(o.checkboxesVisible){o.checkboxesVisible=false;o.multiselectElement.focus();t.preventDefault()}}};this.onMultiselectInputKeyDown=function(t){if(c(t)){t.preventDefault();o.toggleCheckboxes();setTimeout((function(){if(o.checkboxesVisible){var t=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(o.allControls?-2:0)));if(t){t.focus()}}}),200)}};this.onCheckboxKeyDown=function(t,e){var i;if(d(t)||h(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e-1)))}else if(m(t)||p(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e+1)))}if(i){i.focus();t.preventDefault();o.activeDescendant=i.id}};this.toggleCheckboxes=function(){o.checkboxesVisible=!o.checkboxesVisible};this.toggleCheckbox=function(t,e){o.value=w(o.value,e);o.onChange(t)};this.handleSelectAllClick=function(t){o.value=o.processedItems;o.onChange(t)};this.handleClearAllClick=function(t){o.value=[];o.onChange(t)};this.getOptionIdentifier=function(t){return"".concat(o.identifier,"-option-").concat(t)};this.getDescribedBy=function(){var t=[];if(o.isCaptionVisible&&o.topCaptionId){t.push(o.topCaptionId)}if(o.accessibleDescribedBy){t.push(o.accessibleDescribedBy)}if(o.error){t.push(o.errorId)}return t.length>0?t.join(" "):null};this.processedItems=[];this.checkboxesVisible=false;this.activeDescendant="";this.language=b();this.margin="auto";this.error="";this.accessibleLiveError="polite";this.expand=false;this.value=[];this.theme="";this.labelHidden=false;this.identifier=n("DuetMultiselect");this.allControls=false;this.placeholder="";this.caption=undefined;this.items=undefined;this.disabled=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.accessibleDescribedBy=undefined;this.tooltip="";this.tooltipDirection="auto"}t.prototype.handleFocus=function(t){var e=this;var i=t.composedPath().every((function(t){return t!==e.element}));if(i){this.checkboxesVisible=false}};t.prototype.componentWillLoad=function(){l(this);this.isCaptionVisible=!!this.caption;v(this.element,"tooltip","duet-tooltip",1,true);this.refresh()};t.prototype.connectedCallback=function(){f(this)};t.prototype.disconnectedCallback=function(){g(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.multiselectElement){this.multiselectElement.focus(t)}return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedItems=x(this.items);return[2]}))}))};t.prototype.render=function(){var t=this;return o(s,{class:{"duet-m-0":this.margin==="none","duet-expand":this.expand}},o("div",{class:{"duet-multiselect-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva","duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:function(e){return t.onMultiselectKeyDown(e)}},o("duet-label",{theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:this.identifier},this.label),this.tooltip&&o("duet-tooltip",{class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{name:"tooltip"}),this.caption&&o("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),o("div",{class:"duet-multiselect-wrapper"},o("button",{id:this.identifier,ref:function(e){return t.multiselectElement=e},class:{"duet-multiselect":true,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:function(){return t.toggleCheckboxes()},onFocus:function(e){return t.onFocus(e)},onBlur:function(e){return t.onBlur(e)},role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":"".concat(this.identifier,"-checkboxes"),onKeyDown:function(e){return t.onMultiselectInputKeyDown(e)},disabled:this.disabled},o("span",{role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":"".concat(this.identifier,"-checkboxes"),"aria-label":this.placeholderLabel[this.language],class:"duet-multiselect-label"},this.placeholder),this.value&&this.value.length>0&&o("span",{class:"duet-multiselect-badge"},this.value.length,o("duet-visually-hidden",null,this.selectedLangObject[this.language],", ",this.value.map((function(t){return t.label})).join(", "))),o("svg",{class:{"duet-multiselect-icon":true,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))),o("div",{id:"".concat(this.identifier,"-checkboxes"),role:"listbox",class:{"duet-multiselect-checkboxes":true,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},this.processedItems&&this.allControls&&o("div",{class:"duet-multiselect-all-control-buttons"},o("button",{class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:function(e){return t.onCheckboxKeyDown(e,-2)}},this.selectAllLabel[this.language]),o("button",{class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:function(e){return t.onCheckboxKeyDown(e,-1)}},this.clearAllLabel[this.language])),this.processedItems&&this.processedItems.map((function(e,i){var s,r;return o("duet-checkbox",{identifier:t.getOptionIdentifier(i),role:"option",label:e.label,value:e.value,key:e.value,checked:(s=t.value)===null||s===void 0?void 0:s.includes(e),"accessible-selected":((r=t.value)===null||r===void 0?void 0:r.includes(e))?"true":undefined,disabled:!t.checkboxesVisible||e.disabled,onDuetChange:function(i){return t.toggleCheckbox(i,e)},onKeyDown:function(e){return t.onCheckboxKeyDown(e,i)},theme:t.theme})})))),o("span",{class:"duet-multiselect-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&o("span",null,this.error))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{items:["refresh"]}},enumerable:false,configurable:true});return t}());k.style=y}}}));
4
+ */System.register(["./p-76b3dfea.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-b2716337.system.js","./p-224f6c46.system.js","./p-7c6d5f9c.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var e,i,o,s,r,l,n,a,u,c,d,h,m,p,b,f,g,v,x;return{setters:[function(t){e=t.r;i=t.c;o=t.h;s=t.H;r=t.g},function(t){l=t.i},function(t){n=t.c},function(t){a=t.f;u=t.o;c=t.j;d=t.d;h=t.b;m=t.a;p=t.c},function(t){b=t.a;f=t.c;g=t.d},function(t){v=t.c},function(t){x=t.p}],execute:function(){var y='*,*::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-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;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;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;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;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px #747475}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);background:#d9ebf4;border-radius:20rem}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{border-color:rgb(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !important}.duet-theme-turva .duet-multiselect{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);border-color:rgb(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(225, 227, 230)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons 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(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(0, 41, 77)}.duet-multiselect-help{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:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{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(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';function w(t,e){return t.includes(e)?t.filter((function(t){return t!==e})):__spreadArray(__spreadArray([],t,true),[e],false)}var k=t("duet_multiselect",function(){function t(t){var o=this;e(this,t);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.errorId=n("DuetError");this.labelId=n("DuetLabel");this.topCaptionId=n("DuetCaptionTop");this.selectedLangObject={en:"selected",fi:"valittu",sv:"vald"};this.selectAllLabel={en:"Select all",fi:"Valitse kaikki",sv:"Välj alla"};this.clearAllLabel={en:"Clear all",fi:"Tyhjennä kaikki",sv:"Rensa alla"};this.placeholderLabel={en:"Hint",fi:"Vihje",sv:"Tips"};this.onChange=function(t){o.duetChange.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onBlur=function(t){o.duetBlur.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onFocus=function(t){o.duetFocus.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onMultiselectKeyDown=function(t){if(a(t)||u(t)){if(o.checkboxesVisible){o.checkboxesVisible=false;o.multiselectElement.focus();t.preventDefault()}}};this.onMultiselectInputKeyDown=function(t){if(c(t)){t.preventDefault();o.toggleCheckboxes();setTimeout((function(){if(o.checkboxesVisible){var t=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(o.allControls?-2:0)));if(t){t.focus()}}}),200)}};this.onCheckboxKeyDown=function(t,e){var i;if(d(t)||h(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e-1)))}else if(m(t)||p(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e+1)))}if(i){i.focus();t.preventDefault();o.activeDescendant=i.id}};this.toggleCheckboxes=function(){o.checkboxesVisible=!o.checkboxesVisible};this.toggleCheckbox=function(t,e){o.value=w(o.value,e);o.onChange(t)};this.handleSelectAllClick=function(t){o.value=o.processedItems;o.onChange(t)};this.handleClearAllClick=function(t){o.value=[];o.onChange(t)};this.getOptionIdentifier=function(t){return"".concat(o.identifier,"-option-").concat(t)};this.getDescribedBy=function(){var t=[];if(o.isCaptionVisible&&o.topCaptionId){t.push(o.topCaptionId)}if(o.accessibleDescribedBy){t.push(o.accessibleDescribedBy)}if(o.error){t.push(o.errorId)}return t.length>0?t.join(" "):null};this.processedItems=[];this.checkboxesVisible=false;this.activeDescendant="";this.language=b();this.margin="auto";this.error="";this.accessibleLiveError="polite";this.expand=false;this.value=[];this.theme="";this.labelHidden=false;this.identifier=n("DuetMultiselect");this.allControls=false;this.placeholder="";this.caption=undefined;this.items=undefined;this.disabled=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.accessibleDescribedBy=undefined;this.tooltip="";this.tooltipDirection="auto"}t.prototype.handleFocus=function(t){var e=this;var i=t.composedPath().every((function(t){return t!==e.element}));if(i){this.checkboxesVisible=false}};t.prototype.componentWillLoad=function(){l(this);this.isCaptionVisible=!!this.caption;v(this.element,"tooltip","duet-tooltip",1,true);this.refresh()};t.prototype.connectedCallback=function(){f(this)};t.prototype.disconnectedCallback=function(){g(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.multiselectElement){this.multiselectElement.focus(t)}return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedItems=x(this.items);return[2]}))}))};t.prototype.render=function(){var t=this;return o(s,{class:{"duet-m-0":this.margin==="none","duet-expand":this.expand}},o("div",{class:{"duet-multiselect-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva","duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:function(e){return t.onMultiselectKeyDown(e)}},o("duet-label",{theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:this.identifier},this.label),this.tooltip&&o("duet-tooltip",{class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{name:"tooltip"}),this.caption&&o("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),o("div",{class:"duet-multiselect-wrapper"},o("button",{id:this.identifier,ref:function(e){return t.multiselectElement=e},class:{"duet-multiselect":true,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:function(){return t.toggleCheckboxes()},onFocus:function(e){return t.onFocus(e)},onBlur:function(e){return t.onBlur(e)},role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":"".concat(this.identifier,"-checkboxes"),onKeyDown:function(e){return t.onMultiselectInputKeyDown(e)},disabled:this.disabled},o("span",{role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":"".concat(this.identifier,"-checkboxes"),"aria-label":this.placeholderLabel[this.language],class:"duet-multiselect-label"},this.placeholder),this.value&&this.value.length>0&&o("span",{class:"duet-multiselect-badge"},this.value.length,o("duet-visually-hidden",null,this.selectedLangObject[this.language],", ",this.value.map((function(t){return t.label})).join(", "))),o("svg",{class:{"duet-multiselect-icon":true,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))),o("div",{id:"".concat(this.identifier,"-checkboxes"),role:"listbox",class:{"duet-multiselect-checkboxes":true,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},this.processedItems&&this.allControls&&o("div",{class:"duet-multiselect-all-control-buttons"},o("button",{class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:function(e){return t.onCheckboxKeyDown(e,-2)}},this.selectAllLabel[this.language]),o("button",{class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:function(e){return t.onCheckboxKeyDown(e,-1)}},this.clearAllLabel[this.language])),this.processedItems&&this.processedItems.map((function(e,i){var s,r;return o("duet-checkbox",{identifier:t.getOptionIdentifier(i),role:"option",label:e.label,value:e.value,key:e.value,checked:(s=t.value)===null||s===void 0?void 0:s.includes(e),"accessible-selected":((r=t.value)===null||r===void 0?void 0:r.includes(e))?"true":undefined,disabled:!t.checkboxesVisible||e.disabled,onDuetChange:function(i){return t.toggleCheckbox(i,e)},onKeyDown:function(e){return t.onCheckboxKeyDown(e,i)},theme:t.theme})})))),o("span",{class:"duet-multiselect-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&o("span",null,this.error))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{items:["refresh"]}},enumerable:false,configurable:true});return t}());k.style=y}}}));