@duetds/components 4.33.2 → 4.34.3

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 (295) hide show
  1. package/hydrate/index.js +427 -90
  2. package/lib/cjs/{dom-c850c8d7.js → dom-52a4f07a.js} +1 -1
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-button_2.cjs.entry.js +4 -3
  6. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-card.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  10. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  11. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-editable-table-button.cjs.entry.js +14 -7
  15. package/lib/cjs/duet-editable-table_4.cjs.entry.js +95 -11
  16. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-footer.cjs.entry.js +2 -2
  19. package/lib/cjs/duet-grid_2.cjs.entry.js +9 -3
  20. package/lib/cjs/duet-header_2.cjs.entry.js +220 -47
  21. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-icon.cjs.entry.js +7 -5
  23. package/lib/cjs/duet-input_2.cjs.entry.js +3 -4
  24. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-tab_2.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  41. package/lib/cjs/duet.cjs.js +4 -4
  42. package/lib/cjs/{focus-utils-27c696bb.js → focus-utils-3d73245e.js} +1 -1
  43. package/lib/cjs/form-search-d61b2843.js +8 -0
  44. package/lib/cjs/{index-18b0f43a.js → index-b8c8ebe4.js} +2 -2
  45. package/lib/cjs/loader.cjs.js +3 -3
  46. package/lib/cjs/{shadow-css-e3edeed1.js → shadow-css-e1b62a99.js} +1 -1
  47. package/lib/cjs/token-utils-05bd23b4.js +77 -0
  48. package/lib/collection/collection-manifest.json +2 -2
  49. package/lib/collection/components/duet-button/duet-button.css +21 -4
  50. package/lib/collection/components/duet-button/duet-button.js +5 -1
  51. package/lib/collection/components/duet-collapsible/duet-collapsible.js +4 -1
  52. package/lib/collection/components/duet-editable-table/duet-editable-table-button.js +13 -6
  53. package/lib/collection/components/duet-editable-table/duet-editable-table-item.js +25 -3
  54. package/lib/collection/components/duet-editable-table/duet-editable-table-tabledata.js +3 -3
  55. package/lib/collection/components/duet-editable-table/duet-editable-table.js +58 -2
  56. package/lib/collection/components/duet-footer/duet-footer.css +2 -0
  57. package/lib/collection/components/duet-grid/duet-grid.js +8 -2
  58. package/lib/collection/components/duet-header/duet-header-dropdown.js +27 -0
  59. package/lib/collection/components/duet-header/duet-header-hamburger.js +9 -0
  60. package/lib/collection/components/duet-header/duet-header-icon.js +9 -0
  61. package/lib/collection/components/duet-header/duet-header.css +272 -39
  62. package/lib/collection/components/duet-header/duet-header.js +316 -122
  63. package/lib/collection/components/duet-icon/duet-icon.js +5 -3
  64. package/lib/collection/components/duet-link/duet-link.js +4 -1
  65. package/lib/collection/components/duet-list-item/duet-list-item.css +1 -1
  66. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +4 -3
  67. package/lib/collection/components/duet-table/duet-table.css +42 -17
  68. package/lib/collection/components/duet-table/duet-table.js +2 -2
  69. package/lib/collection/components/duet-upload/duet-upload.js +51 -4
  70. package/lib/collection/utils/template-utils.js +33 -0
  71. package/lib/collection/utils/token-utils.js +67 -14
  72. package/lib/custom-elements-bundle/index.js +411 -93
  73. package/lib/duet/duet.esm.js +1 -1
  74. package/lib/duet/duet.js +1 -1
  75. package/lib/duet/{p-637df820.entry.js → p-01927eb0.entry.js} +1 -1
  76. package/lib/duet/{p-ba6214be.entry.js → p-032607e4.entry.js} +1 -1
  77. package/lib/duet/{p-68635a1c.entry.js → p-04597b37.entry.js} +1 -1
  78. package/lib/duet/{p-5b9621e2.entry.js → p-061d59b3.entry.js} +1 -1
  79. package/lib/duet/{p-33538e90.system.entry.js → p-08a34bd4.system.entry.js} +1 -1
  80. package/lib/duet/{p-be349a3d.system.entry.js → p-0b64cf3d.system.entry.js} +1 -1
  81. package/lib/duet/{p-50b796eb.entry.js → p-117e0339.entry.js} +1 -1
  82. package/lib/duet/{p-9125ed25.entry.js → p-11f389cd.entry.js} +1 -1
  83. package/lib/duet/{p-2d8e0faa.system.entry.js → p-129bc252.system.entry.js} +1 -1
  84. package/lib/duet/{p-b1ad7a52.system.entry.js → p-13058dc6.system.entry.js} +1 -1
  85. package/lib/duet/p-16de4b21.entry.js +4 -0
  86. package/lib/duet/{p-35a3794e.js → p-183726f7.js} +0 -0
  87. package/lib/duet/{p-d0fb19f7.system.entry.js → p-1e3ec7dc.system.entry.js} +1 -1
  88. package/lib/duet/{p-dd9b8fcb.system.entry.js → p-25aa7ac3.system.entry.js} +1 -1
  89. package/lib/duet/{p-0435b54a.system.entry.js → p-279aa668.system.entry.js} +1 -1
  90. package/lib/duet/p-2ce50cc6.system.entry.js +4 -0
  91. package/lib/duet/{p-5727cd82.system.entry.js → p-3211cb0d.system.entry.js} +1 -1
  92. package/lib/duet/{p-7f8cce41.system.entry.js → p-349c6990.system.entry.js} +1 -1
  93. package/lib/duet/{p-3a7e519e.entry.js → p-3839858e.entry.js} +1 -1
  94. package/lib/duet/{p-cd21755b.entry.js → p-3c173e89.entry.js} +1 -1
  95. package/lib/duet/p-3dc1e5c7.entry.js +4 -0
  96. package/lib/duet/{p-350cea4e.system.entry.js → p-414a29ba.system.entry.js} +2 -2
  97. package/lib/duet/p-4bb35e6f.entry.js +4 -0
  98. package/lib/duet/{p-042ec8b1.entry.js → p-4eca4ef3.entry.js} +1 -1
  99. package/lib/duet/p-50b4fb2c.js +4 -0
  100. package/lib/duet/{p-60ef3d05.entry.js → p-5152f1e4.entry.js} +1 -1
  101. package/lib/duet/{p-987edcd0.js → p-52621211.js} +0 -0
  102. package/lib/duet/p-53fb919f.entry.js +4 -0
  103. package/lib/duet/{p-15fae689.entry.js → p-59d4e6b8.entry.js} +1 -1
  104. package/lib/duet/p-5a6e464a.system.entry.js +4 -0
  105. package/lib/duet/{p-4e17a6cb.system.entry.js → p-5d2ec61d.system.entry.js} +1 -1
  106. package/lib/duet/{p-3cad13af.system.entry.js → p-5e6e0547.system.entry.js} +1 -1
  107. package/lib/duet/{p-04b3e682.entry.js → p-61a0e3f7.entry.js} +1 -1
  108. package/lib/duet/{p-c506017d.entry.js → p-62b3e73e.entry.js} +1 -1
  109. package/lib/duet/{p-8c2f14d8.system.entry.js → p-64f8c8e0.system.entry.js} +1 -1
  110. package/lib/duet/{p-cff461b6.entry.js → p-6aaf4be0.entry.js} +1 -1
  111. package/lib/duet/{p-c18a599e.system.js → p-6e4fd6ba.system.js} +0 -0
  112. package/lib/duet/{p-f37ffb6f.system.entry.js → p-6f288b44.system.entry.js} +1 -1
  113. package/lib/duet/{p-7ab0bad8.entry.js → p-6f35218d.entry.js} +1 -1
  114. package/lib/duet/{p-408e8cdb.system.js → p-715eb86e.system.js} +1 -1
  115. package/lib/duet/{p-0ac2e60d.system.entry.js → p-7232506d.system.entry.js} +1 -1
  116. package/lib/duet/{p-9a09ac2b.system.entry.js → p-7241b006.system.entry.js} +1 -1
  117. package/lib/duet/{p-c74cecf2.system.entry.js → p-75c48ba1.system.entry.js} +1 -1
  118. package/lib/duet/{p-9584411c.entry.js → p-77434f16.entry.js} +1 -1
  119. package/lib/duet/{p-66fdebc5.js → p-79cc24ee.js} +1 -1
  120. package/lib/duet/{p-61fc3872.system.js → p-7b4d646d.system.js} +1 -1
  121. package/lib/duet/{p-d4e706ac.system.entry.js → p-7cdfbafd.system.entry.js} +1 -1
  122. package/lib/duet/{p-f8744611.entry.js → p-7dadfd66.entry.js} +1 -1
  123. package/lib/duet/{p-de43620d.system.entry.js → p-8402709a.system.entry.js} +1 -1
  124. package/lib/duet/{p-659d6cb7.entry.js → p-8e70de92.entry.js} +1 -1
  125. package/lib/duet/p-8f477bd6.system.js +4 -0
  126. package/lib/duet/p-8fda2b95.entry.js +4 -0
  127. package/lib/duet/{p-1cf8dbc7.system.js → p-942856d9.system.js} +1 -1
  128. package/lib/duet/p-9d8421d4.entry.js +4 -0
  129. package/lib/duet/{p-c3c95a34.system.entry.js → p-a01664b5.system.entry.js} +1 -1
  130. package/lib/duet/p-a16a58c1.system.js +4 -0
  131. package/lib/duet/{p-7ceaf4ef.system.entry.js → p-a2373348.system.entry.js} +2 -2
  132. package/lib/duet/{p-1ecddc1d.entry.js → p-a35f849e.entry.js} +1 -1
  133. package/lib/duet/{p-582f3a2c.entry.js → p-a43ed343.entry.js} +1 -1
  134. package/lib/duet/{p-3bcf2054.system.entry.js → p-a76ae6e9.system.entry.js} +1 -1
  135. package/lib/duet/p-accaacf9.entry.js +4 -0
  136. package/lib/duet/{p-1c7d7cdd.system.entry.js → p-aefca63e.system.entry.js} +1 -1
  137. package/lib/duet/{p-720a36f2.entry.js → p-b2e9e246.entry.js} +1 -1
  138. package/lib/duet/p-bf246e5d.system.entry.js +4 -0
  139. package/lib/duet/{p-65451003.entry.js → p-c414a7d0.entry.js} +1 -1
  140. package/lib/duet/{p-2b4bd1b2.system.entry.js → p-c75bf5dd.system.entry.js} +1 -1
  141. package/lib/duet/{p-3364cfd2.entry.js → p-c90c17c7.entry.js} +1 -1
  142. package/lib/duet/p-c95b0a0e.system.entry.js +4 -0
  143. package/lib/duet/{p-b5dc29b8.system.entry.js → p-cb7921b9.system.entry.js} +1 -1
  144. package/lib/duet/{p-c0f3f60f.system.entry.js → p-cd795dee.system.entry.js} +1 -1
  145. package/lib/duet/p-d004da5f.js +4 -0
  146. package/lib/duet/p-d30c3f2c.system.entry.js +4 -0
  147. package/lib/duet/{p-d1dfa30e.entry.js → p-d855249b.entry.js} +1 -1
  148. package/lib/duet/{p-8c730326.entry.js → p-d8ac3d77.entry.js} +1 -1
  149. package/lib/duet/p-d992e2b5.entry.js +4 -0
  150. package/lib/duet/{p-6402041d.system.entry.js → p-daeb205a.system.entry.js} +1 -1
  151. package/lib/duet/{p-c9a11360.entry.js → p-db33afbe.entry.js} +1 -1
  152. package/lib/duet/{p-5f79eff8.system.entry.js → p-dd1bc83c.system.entry.js} +1 -1
  153. package/lib/duet/{p-a2b2fa13.system.entry.js → p-de658899.system.entry.js} +1 -1
  154. package/lib/duet/{p-d5e2bb48.system.entry.js → p-e1a40bab.system.entry.js} +1 -1
  155. package/lib/duet/{p-0d22396e.system.js → p-e5c1751e.system.js} +0 -0
  156. package/lib/duet/{p-4a14da52.entry.js → p-e9b95f7c.entry.js} +1 -1
  157. package/lib/duet/{p-1dcbd837.system.entry.js → p-ed57e786.system.entry.js} +1 -1
  158. package/lib/duet/{p-75e5d4d1.system.entry.js → p-f137fdb6.system.entry.js} +1 -1
  159. package/lib/duet/{p-fd00b025.entry.js → p-f96efcb6.entry.js} +1 -1
  160. package/lib/duet/{p-39e9d638.entry.js → p-fae44e29.entry.js} +1 -1
  161. package/lib/duet/{p-ebc4e334.js → p-fceb0df8.js} +1 -1
  162. package/lib/duet/p-fdc358b8.entry.js +4 -0
  163. package/lib/duet/{p-933c2774.system.entry.js → p-fefe12f8.system.entry.js} +1 -1
  164. package/lib/esm/{dom-58cd15f6.js → dom-5d060ace.js} +1 -1
  165. package/lib/esm/duet-alert.entry.js +1 -1
  166. package/lib/esm/duet-badge.entry.js +1 -1
  167. package/lib/esm/duet-button_2.entry.js +4 -3
  168. package/lib/esm/duet-caption_4.entry.js +3 -3
  169. package/lib/esm/duet-card.entry.js +2 -2
  170. package/lib/esm/duet-checkbox.entry.js +1 -1
  171. package/lib/esm/duet-choice_2.entry.js +2 -2
  172. package/lib/esm/duet-collapsible.entry.js +2 -2
  173. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  174. package/lib/esm/duet-date-picker.entry.js +2 -2
  175. package/lib/esm/duet-divider_2.entry.js +1 -1
  176. package/lib/esm/duet-editable-table-button.entry.js +14 -7
  177. package/lib/esm/duet-editable-table_4.entry.js +95 -11
  178. package/lib/esm/duet-empty-state.entry.js +1 -1
  179. package/lib/esm/duet-fieldset.entry.js +1 -1
  180. package/lib/esm/duet-footer.entry.js +2 -2
  181. package/lib/esm/duet-grid_2.entry.js +9 -3
  182. package/lib/esm/duet-header_2.entry.js +220 -47
  183. package/lib/esm/duet-hero.entry.js +1 -1
  184. package/lib/esm/duet-icon.entry.js +7 -5
  185. package/lib/esm/duet-input_2.entry.js +2 -3
  186. package/lib/esm/duet-layout.entry.js +1 -1
  187. package/lib/esm/duet-list_2.entry.js +2 -2
  188. package/lib/esm/duet-modal.entry.js +2 -2
  189. package/lib/esm/duet-notification_2.entry.js +2 -2
  190. package/lib/esm/duet-number-input.entry.js +1 -1
  191. package/lib/esm/duet-progress.entry.js +1 -1
  192. package/lib/esm/duet-radio_2.entry.js +1 -1
  193. package/lib/esm/duet-range-slider.entry.js +1 -1
  194. package/lib/esm/duet-select.entry.js +1 -1
  195. package/lib/esm/duet-step_2.entry.js +1 -1
  196. package/lib/esm/duet-tab_2.entry.js +1 -1
  197. package/lib/esm/duet-textarea.entry.js +1 -1
  198. package/lib/esm/duet-toggle.entry.js +1 -1
  199. package/lib/esm/duet-tooltip.entry.js +1 -1
  200. package/lib/esm/duet-tray.entry.js +1 -1
  201. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  202. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  203. package/lib/esm/duet.js +4 -4
  204. package/lib/esm/{focus-utils-c1fa24c4.js → focus-utils-6989cada.js} +1 -1
  205. package/lib/esm/form-search-ea8e19ae.js +6 -0
  206. package/lib/esm/{index-05e43a37.js → index-ddb14345.js} +2 -2
  207. package/lib/esm/loader.js +3 -3
  208. package/lib/esm/{shadow-css-7c726abb.js → shadow-css-13d024f4.js} +1 -1
  209. package/lib/esm/token-utils-75f78ca4.js +75 -0
  210. package/lib/esm-es5/{dom-58cd15f6.js → dom-5d060ace.js} +0 -0
  211. package/lib/esm-es5/duet-alert.entry.js +1 -1
  212. package/lib/esm-es5/duet-badge.entry.js +1 -1
  213. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  214. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  215. package/lib/esm-es5/duet-card.entry.js +1 -1
  216. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  217. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  218. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  219. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  220. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  221. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  222. package/lib/esm-es5/duet-editable-table-button.entry.js +1 -1
  223. package/lib/esm-es5/duet-editable-table_4.entry.js +2 -2
  224. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  225. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  226. package/lib/esm-es5/duet-footer.entry.js +1 -1
  227. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  228. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  229. package/lib/esm-es5/duet-hero.entry.js +1 -1
  230. package/lib/esm-es5/duet-icon.entry.js +1 -1
  231. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  232. package/lib/esm-es5/duet-layout.entry.js +1 -1
  233. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  234. package/lib/esm-es5/duet-modal.entry.js +1 -1
  235. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  236. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  237. package/lib/esm-es5/duet-progress.entry.js +1 -1
  238. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  239. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  240. package/lib/esm-es5/duet-select.entry.js +1 -1
  241. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  242. package/lib/esm-es5/duet-tab_2.entry.js +1 -1
  243. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  244. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  245. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  246. package/lib/esm-es5/duet-tray.entry.js +1 -1
  247. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  248. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  249. package/lib/esm-es5/duet.js +1 -1
  250. package/lib/esm-es5/focus-utils-6989cada.js +4 -0
  251. package/lib/esm-es5/form-search-ea8e19ae.js +4 -0
  252. package/lib/esm-es5/{index-05e43a37.js → index-ddb14345.js} +1 -1
  253. package/lib/esm-es5/loader.js +1 -1
  254. package/lib/esm-es5/{shadow-css-7c726abb.js → shadow-css-13d024f4.js} +0 -0
  255. package/lib/esm-es5/token-utils-75f78ca4.js +4 -0
  256. package/lib/html.html-data.json +36 -11
  257. package/lib/types/common-types.d.ts +0 -1
  258. package/lib/types/components/duet-button/duet-button.d.ts +2 -1
  259. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +3 -0
  260. package/lib/types/components/duet-editable-table/duet-editable-table-button.d.ts +1 -0
  261. package/lib/types/components/duet-editable-table/duet-editable-table-item.d.ts +5 -1
  262. package/lib/types/components/duet-editable-table/duet-editable-table-tabledata.d.ts +1 -0
  263. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +10 -0
  264. package/lib/types/components/duet-header/duet-header-dropdown.d.ts +16 -0
  265. package/lib/types/components/duet-header/duet-header-hamburger.d.ts +2 -0
  266. package/lib/types/components/duet-header/duet-header-icon.d.ts +8 -0
  267. package/lib/types/components/duet-header/duet-header.d.ts +41 -4
  268. package/lib/types/components/duet-link/duet-link.d.ts +3 -0
  269. package/lib/types/components/duet-table/duet-table.d.ts +1 -1
  270. package/lib/types/components/duet-upload/duet-upload.d.ts +10 -0
  271. package/lib/types/components.d.ts +52 -10
  272. package/lib/types/stencil-public-runtime.d.ts +6 -4
  273. package/lib/types/utils/template-utils.d.ts +13 -0
  274. package/lib/types/utils/token-utils.d.ts +8 -2
  275. package/package.json +13 -13
  276. package/lib/cjs/token-utils-63a9c8dc.js +0 -30
  277. package/lib/duet/p-1082d9f2.system.entry.js +0 -4
  278. package/lib/duet/p-12fc4849.system.entry.js +0 -4
  279. package/lib/duet/p-1ad58142.entry.js +0 -4
  280. package/lib/duet/p-3c1971d8.js +0 -4
  281. package/lib/duet/p-60e721aa.system.entry.js +0 -4
  282. package/lib/duet/p-64c0aa2a.entry.js +0 -4
  283. package/lib/duet/p-6708db8a.entry.js +0 -4
  284. package/lib/duet/p-6e363557.system.js +0 -4
  285. package/lib/duet/p-72629304.entry.js +0 -4
  286. package/lib/duet/p-75a104e3.entry.js +0 -4
  287. package/lib/duet/p-7fed7f57.entry.js +0 -4
  288. package/lib/duet/p-9930e52e.entry.js +0 -4
  289. package/lib/duet/p-a09ddd8f.entry.js +0 -4
  290. package/lib/duet/p-cd597d62.system.entry.js +0 -4
  291. package/lib/duet/p-dd79932a.entry.js +0 -4
  292. package/lib/duet/p-e038da47.system.entry.js +0 -4
  293. package/lib/esm/token-utils-590d9413.js +0 -28
  294. package/lib/esm-es5/focus-utils-c1fa24c4.js +0 -4
  295. package/lib/esm-es5/token-utils-590d9413.js +0 -4
@@ -195,6 +195,10 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
195
195
  * @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}]
196
196
  */
197
197
  groups: DuetEditableTableGroupNames | string;
198
+ /**
199
+ * Key used to set vertical alignment of action buttons
200
+ */
201
+ alignment: string;
198
202
  /**
199
203
  * Visually hides the groups labels in the editable table list used to display the list of files
200
204
  */
@@ -385,6 +389,12 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
385
389
  * Method for invoking the upload sequence
386
390
  */
387
391
  upload(metaData?: any | undefined): Promise<void>;
392
+ /**
393
+ * Method for forcing a render of the upload list, element.files can be changed externally
394
+ * But it will only rerender on a new Map or a top Level change - this can be used to update
395
+ * the tabular data if the automatic re-render is no sufficient
396
+ */
397
+ refresh(): Promise<void>;
388
398
  /**
389
399
  * Get list of files, divided in errors and valid sections
390
400
  */
@@ -243,6 +243,7 @@ export namespace Components {
243
243
  /**
244
244
  * Style variation of the button.
245
245
  * @negative - value is deprecated and should be used in combination with negative prop in the future
246
+ * @destructive - value is deprecated and should be replace with destructive-secondary
246
247
  */
247
248
  "variation": DuetButtonVariation;
248
249
  /**
@@ -753,6 +754,10 @@ export namespace Components {
753
754
  * @example [{ variation: "default", icon: "action-edit-2", id: "edit", map: ["success"], label: { fi: " Label", en: " Label", sv: " Label", } }]
754
755
  */
755
756
  "actions": DuetEditableTableActions | string;
757
+ /**
758
+ * Key used to set vertical alignment of action buttons
759
+ */
760
+ "alignment": string;
756
761
  /**
757
762
  * Array of group names that you want the editable table to display (can be used to hide or show groups depending on conditions).
758
763
  * @default { id: "all", label: this.groupsLabelDefaults, actionLabel: this.actionLabelDefaults }.
@@ -807,6 +812,10 @@ export namespace Components {
807
812
  * Actions that can be performed on the element
808
813
  */
809
814
  "actions": DuetEditableTableActions;
815
+ /**
816
+ * Key used to set vertical alignment of action buttons
817
+ */
818
+ "alignment": string;
810
819
  /**
811
820
  * Object of data itemsused to render the entire row
812
821
  */
@@ -996,7 +1005,7 @@ export namespace Components {
996
1005
  */
997
1006
  "closeMenus": (moveFocusToButton?: boolean) => Promise<void>;
998
1007
  /**
999
- * Label of the contact menu. If empty, contact menu will be hidden.
1008
+ * Label of the contact menu. If empty, contact menu will be hidden. Note: not available in multilevel headers.
1000
1009
  */
1001
1010
  "contact": string;
1002
1011
  /**
@@ -1004,11 +1013,11 @@ export namespace Components {
1004
1013
  */
1005
1014
  "contactItems": any;
1006
1015
  /**
1007
- * The href of the current page item that is shown as “active”.
1016
+ * The href of the current page item that is shown as “active”. Note: not available in multilevel headers.
1008
1017
  */
1009
1018
  "currentHref": string;
1010
1019
  /**
1011
- * An array of items for the main navigation. Items have to include mandatory "label" and "href" fields to work. Additionally, you can pass an "id" that is added as an HTML identifier for the element.
1020
+ * An array of items for the main navigation. Items have to include mandatory "label" and "href" fields to work. Additionally, you can pass an "id" that is added as an HTML identifier for the element, "active" boolean that makes item active, "badge" boolean to add notification badge next to the item and "items" array consisting of sub items that are allowed up to three levels.
1012
1021
  */
1013
1022
  "items": any;
1014
1023
  /**
@@ -1026,9 +1035,13 @@ export namespace Components {
1026
1035
  */
1027
1036
  "logoHref": string;
1028
1037
  /**
1029
- * Region that is shown next to the logo. If empty, region will be hidden.
1038
+ * Region that is shown next to the logo. If empty, region will be hidden. Note: not available in desktop multilevel header.
1030
1039
  */
1031
1040
  "region": string;
1041
+ /**
1042
+ * An object that includes mandatory "label" and "href" fields for the search link. Additionally, you can pass an "id" that is added as an HTML identifier for the element. If nothing is passed, this link won’t be shown.
1043
+ */
1044
+ "search": any;
1032
1045
  /**
1033
1046
  * An object that includes mandatory "label", "href" and "type" fields for the session login/logout link. Additionally, you can pass an "id" that is added as an HTML identifier for the element. If nothing is passed, this link won’t be shown.
1034
1047
  */
@@ -1046,7 +1059,7 @@ export namespace Components {
1046
1059
  */
1047
1060
  "theme": DuetTheme;
1048
1061
  /**
1049
- * An object that includes mandatory "label" and "href" fields for the user profile link. Additionally, you can pass an "id" that is added as an HTML identifier for the element. If nothing is passed, user won’t be shown.
1062
+ * An object that includes mandatory "label" and "href" fields for the user profile link. Additionally, you can pass an "id" that is added as an HTML identifier for the element. If nothing is passed, user won’t be shown. Note: not available in multilevel headers.
1050
1063
  */
1051
1064
  "user": any;
1052
1065
  }
@@ -2636,6 +2649,10 @@ export namespace Components {
2636
2649
  * Default actions added to the internally used duet-editable-table
2637
2650
  */
2638
2651
  "actions": DuetEditableTableActions | string;
2652
+ /**
2653
+ * Key used to set vertical alignment of action buttons
2654
+ */
2655
+ "alignment": string;
2639
2656
  /**
2640
2657
  * A string of commaseperated file type values that are allowed
2641
2658
  * @example : .pdf,.doc,.docx
@@ -2756,6 +2773,10 @@ export namespace Components {
2756
2773
  * Name of the upload component.
2757
2774
  */
2758
2775
  "name": string;
2776
+ /**
2777
+ * Method for forcing a render of the upload list, element.files can be changed externally But it will only rerender on a new Map or a top Level change - this can be used to update the tabular data if the automatic re-render is no sufficient
2778
+ */
2779
+ "refresh": () => Promise<void>;
2759
2780
  /**
2760
2781
  * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
2761
2782
  */
@@ -3418,6 +3439,7 @@ declare namespace LocalJSX {
3418
3439
  /**
3419
3440
  * Style variation of the button.
3420
3441
  * @negative - value is deprecated and should be used in combination with negative prop in the future
3442
+ * @destructive - value is deprecated and should be replace with destructive-secondary
3421
3443
  */
3422
3444
  "variation"?: DuetButtonVariation;
3423
3445
  /**
@@ -3945,6 +3967,10 @@ declare namespace LocalJSX {
3945
3967
  * @example [{ variation: "default", icon: "action-edit-2", id: "edit", map: ["success"], label: { fi: " Label", en: " Label", sv: " Label", } }]
3946
3968
  */
3947
3969
  "actions"?: DuetEditableTableActions | string;
3970
+ /**
3971
+ * Key used to set vertical alignment of action buttons
3972
+ */
3973
+ "alignment"?: string;
3948
3974
  /**
3949
3975
  * Array of group names that you want the editable table to display (can be used to hide or show groups depending on conditions).
3950
3976
  * @default { id: "all", label: this.groupsLabelDefaults, actionLabel: this.actionLabelDefaults }.
@@ -3983,6 +4009,10 @@ declare namespace LocalJSX {
3983
4009
  * Actions that can be performed on the element
3984
4010
  */
3985
4011
  "actions"?: DuetEditableTableActions;
4012
+ /**
4013
+ * Key used to set vertical alignment of action buttons
4014
+ */
4015
+ "alignment"?: string;
3986
4016
  /**
3987
4017
  * Object of data itemsused to render the entire row
3988
4018
  */
@@ -4186,7 +4216,7 @@ declare namespace LocalJSX {
4186
4216
  */
4187
4217
  "back"?: any;
4188
4218
  /**
4189
- * Label of the contact menu. If empty, contact menu will be hidden.
4219
+ * Label of the contact menu. If empty, contact menu will be hidden. Note: not available in multilevel headers.
4190
4220
  */
4191
4221
  "contact"?: string;
4192
4222
  /**
@@ -4194,11 +4224,11 @@ declare namespace LocalJSX {
4194
4224
  */
4195
4225
  "contactItems"?: any;
4196
4226
  /**
4197
- * The href of the current page item that is shown as “active”.
4227
+ * The href of the current page item that is shown as “active”. Note: not available in multilevel headers.
4198
4228
  */
4199
4229
  "currentHref"?: string;
4200
4230
  /**
4201
- * An array of items for the main navigation. Items have to include mandatory "label" and "href" fields to work. Additionally, you can pass an "id" that is added as an HTML identifier for the element.
4231
+ * An array of items for the main navigation. Items have to include mandatory "label" and "href" fields to work. Additionally, you can pass an "id" that is added as an HTML identifier for the element, "active" boolean that makes item active, "badge" boolean to add notification badge next to the item and "items" array consisting of sub items that are allowed up to three levels.
4202
4232
  */
4203
4233
  "items"?: any;
4204
4234
  /**
@@ -4243,6 +4273,10 @@ declare namespace LocalJSX {
4243
4273
  * Event raised when a user has clicked the logo. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4244
4274
  */
4245
4275
  "onDuetLogoClick"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
4276
+ /**
4277
+ * Event for when a user has clicked the search link. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4278
+ */
4279
+ "onDuetSearchClick"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
4246
4280
  /**
4247
4281
  * Event for when a user has clicked the session link. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4248
4282
  */
@@ -4256,9 +4290,13 @@ declare namespace LocalJSX {
4256
4290
  */
4257
4291
  "onDuetUserClick"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
4258
4292
  /**
4259
- * Region that is shown next to the logo. If empty, region will be hidden.
4293
+ * Region that is shown next to the logo. If empty, region will be hidden. Note: not available in desktop multilevel header.
4260
4294
  */
4261
4295
  "region"?: string;
4296
+ /**
4297
+ * An object that includes mandatory "label" and "href" fields for the search link. Additionally, you can pass an "id" that is added as an HTML identifier for the element. If nothing is passed, this link won’t be shown.
4298
+ */
4299
+ "search"?: any;
4262
4300
  /**
4263
4301
  * An object that includes mandatory "label", "href" and "type" fields for the session login/logout link. Additionally, you can pass an "id" that is added as an HTML identifier for the element. If nothing is passed, this link won’t be shown.
4264
4302
  */
@@ -4272,7 +4310,7 @@ declare namespace LocalJSX {
4272
4310
  */
4273
4311
  "theme"?: DuetTheme;
4274
4312
  /**
4275
- * An object that includes mandatory "label" and "href" fields for the user profile link. Additionally, you can pass an "id" that is added as an HTML identifier for the element. If nothing is passed, user won’t be shown.
4313
+ * An object that includes mandatory "label" and "href" fields for the user profile link. Additionally, you can pass an "id" that is added as an HTML identifier for the element. If nothing is passed, user won’t be shown. Note: not available in multilevel headers.
4276
4314
  */
4277
4315
  "user"?: any;
4278
4316
  }
@@ -5898,6 +5936,10 @@ declare namespace LocalJSX {
5898
5936
  * Default actions added to the internally used duet-editable-table
5899
5937
  */
5900
5938
  "actions"?: DuetEditableTableActions | string;
5939
+ /**
5940
+ * Key used to set vertical alignment of action buttons
5941
+ */
5942
+ "alignment"?: string;
5901
5943
  /**
5902
5944
  * A string of commaseperated file type values that are allowed
5903
5945
  * @example : .pdf,.doc,.docx
@@ -666,7 +666,7 @@ export declare namespace JSXBase {
666
666
  use: JSXBase.SVGAttributes;
667
667
  view: JSXBase.SVGAttributes;
668
668
  }
669
- interface SlotAttributes {
669
+ interface SlotAttributes extends JSXAttributes {
670
670
  name?: string;
671
671
  slot?: string;
672
672
  onSlotchange?: (event: Event) => void;
@@ -1427,9 +1427,7 @@ export declare namespace JSXBase {
1427
1427
  z?: number | string;
1428
1428
  zoomAndPan?: string;
1429
1429
  }
1430
- interface DOMAttributes<T = Element> {
1431
- key?: string | number;
1432
- ref?: (elm?: T) => void;
1430
+ interface DOMAttributes<T> extends JSXAttributes<T> {
1433
1431
  slot?: string;
1434
1432
  part?: string;
1435
1433
  exportparts?: string;
@@ -1550,6 +1548,10 @@ export declare namespace JSXBase {
1550
1548
  onTransitionEndCapture?: (event: TransitionEvent) => void;
1551
1549
  }
1552
1550
  }
1551
+ export interface JSXAttributes<T = Element> {
1552
+ key?: string | number;
1553
+ ref?: (elm?: T) => void;
1554
+ }
1553
1555
  export interface CustomElementsDefineOptions {
1554
1556
  exclude?: string[];
1555
1557
  resourcesUrl?: string;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Produces a function which uses template strings to do simple interpolation from objects.
3
+ *
4
+ * Usage:
5
+ * var makeMeKing = generateTemplateFn('${name} is now the king of ${country}!');
6
+ *
7
+ * console.log(makeMeKing({ name: 'Bryan', country: 'Scotland'}));
8
+ * // Logs 'Bryan is now the king of Scotland!'
9
+ */
10
+ export interface templateFn {
11
+ (template: string | Node, data?: Record<string, any>): any;
12
+ }
13
+ export declare const generateTemplateFn: templateFn;
@@ -1,2 +1,8 @@
1
- export declare function convertToColorName(name: string): string;
2
- export declare function getColorByName(name: string): any;
1
+ import { DuetTheme } from "../common-types";
2
+ export declare function isCamelCase(str: any): boolean;
3
+ export declare function isDashCase(str: any): boolean;
4
+ export declare function capitalize(str?: string): string;
5
+ export declare function camelize(str?: string): string;
6
+ export declare function getTheme(theme?: DuetTheme): DuetTheme;
7
+ export declare function getColorByName(name: string, theme?: DuetTheme): string | undefined;
8
+ export declare function convertToColorName(name?: string, theme?: DuetTheme): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duetds/components",
3
- "version": "4.33.2",
3
+ "version": "4.34.3",
4
4
  "description": "This package includes Duet Design System Web Components and related utilities.",
5
5
  "bugs": {
6
6
  "email": "duetdesignsystem@lahitapiola.fi"
@@ -52,14 +52,14 @@
52
52
  "koa-colorful-logger": "0.0.3"
53
53
  },
54
54
  "devDependencies": {
55
- "@duetds/fonts": "1.4.5",
56
- "@duetds/icons": "2.2.5",
55
+ "@duetds/fonts": "1.4.9",
56
+ "@duetds/icons": "2.2.9",
57
57
  "@duetds/stencil-angular-output-target": "0.0.2",
58
58
  "@duetds/stencil-react-output-target": "0.0.10",
59
- "@duetds/tokens": "2.4.5",
59
+ "@duetds/tokens": "2.4.9",
60
60
  "@koa/cors": "3.1.0",
61
- "@rollup/plugin-replace": "3.0.0",
62
- "@stencil/core": "2.11.0",
61
+ "@rollup/plugin-replace": "3.0.1",
62
+ "@stencil/core": "2.12.1",
63
63
  "@stencil/sass": "1.5.2",
64
64
  "@stencil/utils": "0.0.5",
65
65
  "@types/jest": "26.0.24",
@@ -75,19 +75,19 @@
75
75
  "jest-image-snapshot": "4.5.1",
76
76
  "jest-junit": "12.2.0",
77
77
  "kill-process-by-name": "1.0.5",
78
- "koa": "2.13.3",
78
+ "koa": "2.13.4",
79
79
  "koa-body": "4.2.0",
80
80
  "koa-mount": "4.0.0",
81
81
  "koa-router": "10.1.1",
82
82
  "koa-static": "5.0.0",
83
83
  "npm-run-all": "4.1.5",
84
84
  "onchange": "7.1.0",
85
- "prettier": "2.4.1",
85
+ "prettier": "2.5.1",
86
86
  "puppeteer": "9.1.1",
87
- "sass": "1.42.1",
88
- "stylelint": "13.13.1",
89
- "stylelint-config-recess-order": "2.5.0",
90
- "stylelint-config-sass-guidelines": "8.0.0"
87
+ "sass": "1.49.0",
88
+ "stylelint": "14.2.0",
89
+ "stylelint-config-recess-order": "3.0.0",
90
+ "stylelint-config-sass-guidelines": "9.0.1"
91
91
  },
92
92
  "publishConfig": {
93
93
  "access": "public"
@@ -95,5 +95,5 @@
95
95
  "collection": "lib/collection/collection-manifest.json",
96
96
  "es2015": "lib/esm/index.js",
97
97
  "es2017": "lib/esm/index.js",
98
- "gitHead": "b7d965c53c7368d421bc08accdb1fd0391a0779d"
98
+ "gitHead": "0a73e0f4417bbf960843c96506e53f1bcbf970fa"
99
99
  }
@@ -1,30 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- 'use strict';
5
-
6
- const tokens_module = require('./tokens.module-6b2df1c2.js');
7
-
8
- const MATCH_DASH_CASE = /-([a-z])/g;
9
- function replaceDashCase(g) {
10
- return g[1].toUpperCase();
11
- }
12
- function convertToCamelCase(string) {
13
- return string.replace(MATCH_DASH_CASE, replaceDashCase);
14
- }
15
- function convertToColorName(name) {
16
- if (name.indexOf("color-") === -1 && name.indexOf("-") !== -1) {
17
- return convertToCamelCase(`color-${name}`);
18
- }
19
- if (name.indexOf("color") === -1) {
20
- return convertToCamelCase(`color${name.charAt(0).toUpperCase()}${name.slice(1)}`);
21
- }
22
- return convertToCamelCase(name);
23
- }
24
- function getColorByName(name) {
25
- if (name) {
26
- return tokens_module.tokens[convertToColorName(name)];
27
- }
28
- }
29
-
30
- exports.getColorByName = getColorByName;
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-1cf8dbc7.system.js","./p-70fafc98.system.js","./p-efaa0c04.system.js","./p-6e363557.system.js","./p-9a945278.system.js","./p-ddb6344c.system.js"],(function(t){"use strict";var e,n,i,o,s,a,r;return{setters:[function(t){e=t.r;n=t.c;i=t.h;o=t.g},function(t){s=t.g},function(t){a=t.i},function(t){r=t.g},function(){},function(){}],execute:function(){var c="*.sc-duet-editable-table-button,*.sc-duet-editable-table-button::after,*.sc-duet-editable-table-button::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-editable-table-button-h button.sc-duet-editable-table-button{display:flex;align-content:space-between;justify-content:center;min-width:32px;max-width:32px;height:100%;min-height:32px;max-height:32px;padding:0;margin:0;cursor:pointer !important;background-color:transparent;border:1px solid;border-radius:50%}.sc-duet-editable-table-button-h button.sc-duet-editable-table-button duet-icon.sc-duet-editable-table-button{align-self:center}";var u=t("duet_editable_table_button",function(){function t(t){var i=this;e(this,t);this.duetEditableItemAction=n(this,"duetEditableItemAction",7);this.isHovering=false;this.theme="";this.actions=undefined;this.uid="";this.group="";this.keyName="";this.onMouseEnter=function(){i.isHovering=true};this.onMouseLeave=function(){i.isHovering=false}}t.prototype.componentWillLoad=function(){a(this)};t.prototype.emitActionEvent=function(t){this.duetEditableItemAction.emit({originalEvent:t,uid:this.uid,group:this.group,action:this.actions.id,keyName:this.keyName,component:"duet-editable-table-item"})};t.prototype.render=function(){var t=this;return i("button",{style:{"border-color":this.isHovering?r(this.actions.color_hover):r(this.actions.color)},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,role:"menuitem",class:"duet-editable-table-actions-items-button","aria-label":this.actions.label?s(this.actions.label):undefined,onClick:function(e){return t.emitActionEvent(e)}},i("duet-icon",{class:"duet-editable-table-actions-items-icon",size:"x-small",name:this.actions.icon,color:this.isHovering?this.actions.color_hover:this.actions.color,margin:"none"}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());u.style=c}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,a,i){function o(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function n(e){try{s(i.next(e))}catch(t){r(t)}}function d(e){try{s(i["throw"](e))}catch(t){r(t)}}function s(e){e.done?a(e.value):o(e.value).then(n,d)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,o,r,n;return n={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function d(e){return function(t){return s([e,t])}}function s(n){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,o&&(r=n[0]&2?o["return"]:n[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,n[1])).done)return r;if(o=0,r)n=[n[0]&2,r.value];switch(n[0]){case 0:case 1:r=n;break;case 4:a.label++;return{value:n[1],done:false};case 5:a.label++;o=n[1];n=[0];continue;case 7:n=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(n[0]===6||n[0]===2)){a=0;continue}if(n[0]===3&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(n[0]===6&&a.label<r[1]){a.label=r[1];r=n;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(n);break}if(r[2])a.ops.pop();a.trys.pop();continue}n=t.call(e,a)}catch(d){n=[6,d];o=0}finally{i=r=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-1cf8dbc7.system.js","./p-0c4bbd65.system.js","./p-d863e150.system.js","./p-c7ae95bd.system.js","./p-bb12b972.system.js","./p-70fafc98.system.js","./p-9a945278.system.js","./p-efaa0c04.system.js","./p-ddb6344c.system.js","./p-5f6bd5db.system.js"],(function(e){"use strict";var t,a,i,o,r,n,d,s,l,c,h,u,p,g,m,b,v,f,w,x,k,y,C,L,z;return{setters:[function(e){t=e.r;a=e.c;i=e.h;o=e.F;r=e.g;n=e.H},function(e){d=e.a},function(e){s=e.d;l=e.e},function(e){c=e.D},function(e){h=e.f;u=e.g;p=e.d;g=e.b;m=e.a;b=e.c},function(e){v=e.a;f=e.g},function(e){w=e.p},function(e){x=e.i},function(e){k=e.e;y=e.f;C=e.c;L=e.g},function(e){z=e.c}],execute:function(){var M={title:"navigation-contact-dropdown",tags:"navigation contact dropdown speech bubbles",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M20.247 24a.743.743 0 0 1-.53-.22l-4.28-4.28h-.439c-3.308 0-6-2.692-6-6s2.692-6 6-6h3c3.309.001 6 2.692 6 6a5.974 5.974 0 0 1-3 5.179v4.571a.75.75 0 0 1-.751.75zm-5.25-15c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5h.75c.198 0 .391.08.53.22l3.22 3.22v-3.213c0-.289.169-.555.429-.678a4.51 4.51 0 0 0 2.571-4.049 4.504 4.504 0 0 0-4.498-4.499h-3.002z"/><path d="M3.747 16.5a.747.747 0 0 1-.75-.75v-4.57a5.967 5.967 0 0 1-2.65-3.171A5.948 5.948 0 0 1 .57 3.431 6.014 6.014 0 0 1 5.985 0h3.012a6.04 6.04 0 0 1 5.752 4.286.751.751 0 0 1-.718.964.755.755 0 0 1-.719-.536A4.531 4.531 0 0 0 8.997 1.5h-3a4.511 4.511 0 0 0-4.071 2.572c-.512 1.084-.571 2.302-.167 3.431s1.224 2.032 2.308 2.545c.261.123.43.39.43.678v3.214l1.72-1.72a.744.744 0 0 1 1.06 0 .752.752 0 0 1 0 1.061l-3 3a.744.744 0 0 1-.53.219z"/></svg>'};var I={title:"navigation-language",tags:"navigation language earth world map",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M11.996 24c-2.732 0-5.309-.901-7.453-2.605l-.017-.012-.031-.025a12.68 12.68 0 0 1-.238-.196c-.071-.06-.142-.122-.213-.184l-.143-.126c-.13-.118-.257-.24-.381-.363l-.018-.018a11.904 11.904 0 0 1-3.445-9.695l.001-.007c.018-.174.041-.348.067-.523l.019-.125c.028-.174.058-.348.093-.521l.003-.013C1.379 4.031 6.321 0 11.996 0c6.617 0 12 5.383 12 12 0 1.083-.148 2.164-.44 3.214l-.009.032a12.172 12.172 0 0 1-.671 1.809s-.072.155-.1.212a11.896 11.896 0 0 1-.189.368A11.987 11.987 0 0 1 11.996 24zm-6.181-3.519a10.388 10.388 0 0 0 6.181 2.019c3.471 0 6.642-1.669 8.611-4.497h-.59a2.244 2.244 0 0 1-2.22-1.879L17.111 12h-.944a2.252 2.252 0 0 1-2.182-2.796l.75-3A2.245 2.245 0 0 1 16.917 4.5h2.416A10.49 10.49 0 0 0 1.934 9h4.391c1.034 0 1.932.701 2.183 1.704l.75 3a2.235 2.235 0 0 1-.592 2.137c-.425.425-.99.659-1.591.659h-.464zm-4.248-9.687-.015.116a9.092 9.092 0 0 0-.053.96l-.002.17c.001.145.005.29.011.435l.006.127c.009.154.02.308.035.461l.005.041c.071.68.209 1.354.411 2.003l.009.028a10.457 10.457 0 0 0 2.537 4.222l.75-3.751A.75.75 0 0 1 5.996 15h1.079a.75.75 0 0 0 .728-.932l-.75-3a.751.751 0 0 0-.729-.568H1.606l-.039.294zM16.917 6a.75.75 0 0 0-.728.568l-.75 3a.752.752 0 0 0 .728.932h1.579c.368 0 .679.264.74.627l.791 4.75a.748.748 0 0 0 .74.626h1.461c.171-.358.321-.727.449-1.1l.021-.062A10.486 10.486 0 0 0 20.598 6z"/></svg>'};var S={title:"navigation-login",tags:"navigation login sign in lock locked key",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M5.25 24A2.252 2.252 0 0 1 3 21.75v-10.5A2.252 2.252 0 0 1 5.25 9H6V6c0-3.308 2.692-6 6-6s6 2.692 6 6v3h.75A2.252 2.252 0 0 1 21 11.25v10.5A2.252 2.252 0 0 1 18.75 24zm0-13.5a.75.75 0 0 0-.75.75v10.5c0 .414.336.75.75.75h13.5a.75.75 0 0 0 .75-.75v-10.5a.75.75 0 0 0-.75-.75zM16.5 9V6c0-2.481-2.019-4.5-4.5-4.5S7.5 3.519 7.5 6v3z"/><path d="M12 17.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.923-.794A1.126 1.126 0 0 1 12 17.25z"/></svg>'};var O={title:"navigation-logout",tags:"navigation logout sign out lock unlocked key",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M8.25 24A2.252 2.252 0 0 1 6 21.75v-10.5A2.252 2.252 0 0 1 8.25 9h2.25V6c0-2.481-2.019-4.5-4.5-4.5S1.5 3.519 1.5 6v3.75a.75.75 0 0 1-1.5 0V6c0-3.308 2.692-6 6-6s6 2.692 6 6v3h9.75A2.252 2.252 0 0 1 24 11.25v10.5A2.252 2.252 0 0 1 21.75 24zm0-13.5a.75.75 0 0 0-.75.75v10.5c0 .414.336.75.75.75h13.5a.75.75 0 0 0 .75-.75v-10.5a.75.75 0 0 0-.75-.75z"/><path d="M15 17.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.923-.794A1.126 1.126 0 0 1 15 17.25z"/></svg>'};var A={title:"navigation-user",tags:"navigation user human person head circle",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 15.75c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6-2.692 6-6 6zm0-10.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z"/><path d="M12 24c-2.677 0-5.211-.868-7.332-2.51a.507.507 0 0 1-.126-.099C1.655 19.094 0 15.674 0 12 0 5.383 5.383 0 12 0s12 5.383 12 12c0 3.674-1.655 7.094-4.543 9.391l-.015.016c-.043.043-.087.069-.112.084A11.868 11.868 0 0 1 12 24zm-5.716-3.199A10.408 10.408 0 0 0 12 22.5a10.41 10.41 0 0 0 5.717-1.699 8.966 8.966 0 0 0-5.716-2.045 8.965 8.965 0 0 0-5.717 2.045zM12 1.5C6.21 1.5 1.5 6.21 1.5 12c0 3.023 1.294 5.875 3.562 7.874A10.449 10.449 0 0 1 12 17.257c2.573 0 5.023.927 6.938 2.616 2.268-2 3.562-4.851 3.562-7.874C22.5 6.21 17.79 1.5 12 1.5z"/></svg>'};var V='*,*::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%}@supports (position: -webkit-sticky){:host{position:-webkit-sticky;top:-4rem;z-index:400}}@supports (position: sticky){:host{position:sticky;top:-4rem;z-index:400}}.duet-header-reserved-space{height:4rem}@media (min-width: 62em){.duet-header-reserved-space.duet-with-links{height:7rem}}.duet-header{-webkit-user-select:none;user-select:none;position:fixed;top:0;left:0;z-index:400;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:0.875rem;font-weight:400;line-height:1.5;color:#00294d;text-align:left}.duet-header.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:#171c3a}@media (min-width: 62em){.duet-header.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}}@media (min-width: 62em){.duet-header{position:absolute;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07)}.duet-header.duet-header-inactive{position:fixed}}.duet-header *{-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.duet-header-top{position:relative;z-index:200;display:flex;flex-direction:row;align-items:center;width:100%;height:4rem;padding:0 16px;background:white;border-bottom:1px solid #e1e3e6;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07)}@media (min-width: 62em){.duet-header-top{z-index:100;padding:0 28px;box-shadow:none}.duet-header-top duet-logo{padding-right:4px}}@media (min-width: 106.25em){.duet-header-top{padding:0 48px}}.duet-theme-turva .duet-header-top{border-color:#e4e4e6;box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}@media (min-width: 62em){.duet-theme-turva .duet-header-top{box-shadow:none}}.duet-theme-turva .duet-header-top duet-logo{left:-80px !important;margin-top:-8px !important}.duet-header-top .duet-header-region{max-width:200px;padding-left:16px;margin-top:1px;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-left:1px solid #cfd2d4}.duet-theme-turva .duet-header-top .duet-header-region{border-color:#cfcfd1}@media (max-width: 35.9375em){.duet-header-top .duet-header-region{display:none}}@media (min-width: 62em){.duet-header-top .duet-header-region{padding-left:19px}}.duet-header-bottom{position:fixed;top:4rem;bottom:0;left:0;z-index:100;display:flex;flex-direction:column;width:100%;overflow-y:auto;visibility:hidden;background:#f5f8fa;opacity:0;-webkit-overflow-scrolling:touch}.duet-theme-turva .duet-header-bottom{background:#f5f5f7}@media (min-width: 62em){.duet-header-bottom{position:relative;top:auto;bottom:auto;z-index:200;flex-direction:row;overflow:visible;visibility:visible;background:white;opacity:1}.duet-header-bottom.duet-header-inactive{position:relative}}.duet-header-bottom.active{visibility:visible;opacity:1;transition:opacity 300ms ease, visibility 300ms ease}@media (min-width: 62em){.duet-header-bottom{position:relative;transition:none !important}}.duet-header-items,.duet-header-bottom-utils,.duet-header-utils{opacity:0;transition:transform 600ms ease, opacity 600ms ease;transform:translateY(-28px)}@media (min-width: 62em){.duet-header-items,.duet-header-bottom-utils,.duet-header-utils{opacity:1;transition:none !important;transform:none}}.active .duet-header-items,.active .duet-header-bottom-utils,.active .duet-header-utils{opacity:1;transform:translateY(0)}.duet-header-items{position:relative;z-index:300;display:block;width:100%;font-size:1rem;font-weight:400;line-height:1.5;background:white}@media (min-width: 62em){.duet-header-items{z-index:100;display:flex;flex-direction:row;padding:0 21.5384615385px}}@media (min-width: 106.25em){.duet-header-items{padding-left:43.6363636364px}}.duet-header-items a{position:relative;display:block;width:100%;height:48px;padding:0 20px;overflow:hidden;font-size:1rem;font-weight:600;line-height:48px;color:#00294d;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #e1e3e6;border-radius:0}@media (min-width: 62em){.duet-header-items a{border-radius:4px}}.duet-theme-turva .duet-header-items a{font-weight:600;color:#171c3a;border-color:#e1e3e6}.duet-header-items a:hover{color:#004d80}.duet-theme-turva .duet-header-items a:hover{color:#444445}.duet-header-items a:focus{outline:0}:host(.user-is-tabbing) .duet-header-items a:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-header-items a:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (min-width: 62em){.duet-header-items a{width:auto;max-width:300px;padding:0 12px;overflow:hidden;font-size:0.875rem;text-overflow:ellipsis;border:0}}.duet-header-items a.active{color:#0077b3;-moz-osx-font-smoothing:auto;-webkit-font-smoothing:subpixel-antialiased}.duet-theme-turva .duet-header-items a.active{color:#c60c30}.duet-header-items a.active:hover{color:#0077b3}.duet-theme-turva .duet-header-items a.active:hover{color:#c60c30}.duet-header-items a.active::after{position:absolute;top:0;bottom:0;left:0;width:4px;content:"";background:#0077b3}.duet-theme-turva .duet-header-items a.active::after{background:#c60c30}@media (min-width: 62em){.duet-header-items a.active::after{top:auto;left:12px;width:calc(100% - 24px);height:3px}}.duet-header-toggle{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-right:-8px;margin-left:auto;cursor:pointer;border-radius:4px;-webkit-appearance:none;appearance:none}.duet-header-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-header-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-header-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (min-width: 62em){.duet-header-toggle{display:none}}.duet-header-hamburger{position:relative;width:24px;height:24px;margin-top:5px !important;pointer-events:none;transition:0.4s ease-in-out;backface-visibility:hidden}.duet-header-hamburger .duet-header-bar{position:absolute;left:0;display:block;width:100%;height:2px;background:#00294d;border-radius:20rem;opacity:1;transition:0.25s ease-in-out;transform:rotate(0deg) scale(0.98)}.duet-theme-turva .duet-header-hamburger .duet-header-bar{background:#171c3a}.duet-header-hamburger .duet-header-bar:nth-child(1){top:0}.duet-header-hamburger .duet-header-bar:nth-child(2),.duet-header-hamburger .duet-header-bar:nth-child(3){top:7px}.duet-header-hamburger .duet-header-bar:nth-child(4){top:14px}button.active .duet-header-hamburger .duet-header-bar:nth-child(1){top:7px;left:50%;width:0%}button.active .duet-header-hamburger .duet-header-bar:nth-child(2){transform:rotate(45deg)}button.active .duet-header-hamburger .duet-header-bar:nth-child(3){transform:rotate(-45deg)}button.active .duet-header-hamburger .duet-header-bar:nth-child(4){top:7px;left:50%;width:0%}.duet-header-utils{display:flex;flex-direction:column;width:100%}@media (min-width: 62em){.duet-header-utils{position:absolute;top:-4rem;right:0;z-index:999999999;flex-direction:row;align-items:center;justify-content:space-between;width:auto;margin-right:20px}}@media (min-width: 106.25em){.duet-header-utils{margin-right:36px}}@media (min-width: 62em){.duet-header-bottom-utils{position:absolute;top:0;right:0;z-index:999999999;margin-right:20px}}@media (min-width: 106.25em){.duet-header-bottom-utils{margin-right:36px}}button{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-header-button{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-size:1rem;font-weight:400;line-height:48px;color:#00294d;text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border-bottom:1px solid #e1e3e6;border-radius:4px;-webkit-appearance:none;appearance:none}.duet-theme-turva .duet-header-button{color:#171c3a;border-color:#e4e4e6}.duet-header-button:hover{color:#004d80}.duet-theme-turva .duet-header-button:hover{color:#444445}.duet-header-button:focus{outline:0}:host(.user-is-tabbing) .duet-header-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-header-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-header-button:active{opacity:0.75}@media (min-width: 62em){.duet-header-button{width:auto;max-width:200px;height:4rem;padding:0 16px;font-size:0.875rem;line-height:4rem;border:0}.duet-header-button::before{position:absolute;top:50%;right:0;width:1px;height:20px;content:"";background:#cfd2d4;transform:translateY(-50%)}.duet-theme-turva .duet-header-button::before{background:#cfcfd1}}.duet-header-button.active{color:#0077b3;border-radius:0}.duet-theme-turva .duet-header-button.active{color:#c60c30}.duet-header-button.active:hover{color:#0077b3}.duet-theme-turva .duet-header-button.active:hover{color:#c60c30}.duet-header-button.active::after{position:absolute;top:0;bottom:0;left:0;width:3px;content:"";background:#0077b3}.duet-theme-turva .duet-header-button.active::after{color:#c60c30}.duet-header-no-action{pointer-events:none}.duet-header-user-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 62em){.duet-header-utils>*:last-child::before,.duet-header-utils>*:last-child button::before{display:none}}@media (min-width: 62em){.duet-header-utils>*:last-child .duet-header-dropdown-content{right:0;left:auto}}.duet-header-language{text-transform:uppercase}.duet-header-icon{display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-header-icon{margin-right:8px}}.duet-header-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-header-caret{width:7px;height:7px}}.duet-header-caret duet-icon{width:10px}.duet-header-dropdown-toggle.active .duet-header-caret{transform:translateY(-50%) rotate(180deg)}.duet-header-dropdown-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-header-dropdown-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-header-dropdown-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-header-dropdown-toggle:active{outline:none}.duet-header-badge{display:inline-block;width:6px;height:6px;margin-top:16px;margin-left:5px;vertical-align:top;background:#f7b228;border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-header-badge{background:#faa40f}.duet-header-dropdown{position:relative}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-toggle{z-index:200;padding-right:36px;overflow:hidden;transition:border 300ms ease}}.duet-header-dropdown .duet-header-dropdown-toggle::after{display:none !important}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:#0077b3;transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle::after{background:#c60c30}}.duet-header-dropdown .duet-header-dropdown-toggle.active,.duet-header-dropdown .duet-header-dropdown-toggle.active:hover{color:#004d80;border-bottom:1px solid #f5f8fa}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active,.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active:hover{color:#444445;border-color:#f5f5f7}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-toggle.active,.duet-header-dropdown .duet-header-dropdown-toggle.active:hover{border:0}.duet-header-dropdown .duet-header-dropdown-toggle.active::after,.duet-header-dropdown .duet-header-dropdown-toggle.active:hover::after{position:absolute;top:auto;bottom:0;left:0;width:100%;height:3px;transform:translateY(0)}}.duet-header-dropdown .duet-header-dropdown-content{display:none;padding-bottom:16px;background:#f5f8fa;border-bottom:1px solid #e1e3e6}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content{background:#f5f5f7;border-color:#e1e3e6}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-content{position:absolute;top:100%;left:0;z-index:600;display:block;min-width:170px;padding-top:16px;padding-left:0;visibility:hidden;border:0;border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.85) translateZ(0) translateY(-20px)}}.duet-header-dropdown .duet-header-dropdown-content.active{display:block}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-content.active{visibility:visible;opacity:1;transform:translateZ(0) translateY(0)}}.duet-header-dropdown .duet-header-dropdown-content a{padding:3px 8px 4px !important;position:relative;display:block;width:100%;padding-right:16px;padding-left:48px !important;overflow:hidden;font-size:0.875rem;font-weight:400;line-height:1.5;color:#00294d;text-align:left;text-decoration:none;white-space:nowrap;cursor:pointer;transition:300ms ease}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a{color:#171c3a}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-content a{padding-left:20px !important}}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-content a:hover{background:#e6f2f8}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a:hover{background:#f9e6ea}}.duet-header-dropdown .duet-header-dropdown-content a:focus{outline:0}:host(.user-is-tabbing) .duet-header-dropdown .duet-header-dropdown-content a:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-header-dropdown .duet-header-dropdown-content a.active{padding-right:36px;font-weight:600;vertical-align:baseline;pointer-events:none}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a.active{font-weight:700}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-content a.active{color:white;background:#0077b3}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a.active{background:#c60c30}}.duet-header-dropdown .duet-header-dropdown-content .duet-header-link-external{margin-left:4px}.duet-header-back .duet-header-top{flex-direction:row;align-items:center;justify-content:center}.duet-header-back duet-button{position:absolute;top:50%;left:36px;transform:translateY(-50%)}@media (max-width: 35.9375em){.duet-header-back duet-button{left:20px;max-width:40px;padding:0 12px;overflow:hidden}}.duet-header-back .duet-header-toggle{display:none !important}.duet-header-skip{padding:8px 16px 9px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:160px;height:1px;overflow:hidden;font-weight:600;color:#0077b3;text-align:center;text-decoration:none;background:white;border-radius:4px;opacity:0}.duet-header-skip:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-header-skip:focus,.duet-header-skip:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-theme-turva .duet-header-skip{min-width:120px;color:#171c3a}@media (min-width: 106.25em){.duet-header-skip{margin-left:20px}}.duet-header-skip:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}';var B=function(e,t){return{component:"duet-header",data:t,originalEvent:e}};var E=e("duet_header",function(){function e(e){var i=this;t(this,e);this.duetChange=a(this,"duetChange",3);this.duetSessionClick=a(this,"duetSessionClick",7);this.duetUserClick=a(this,"duetUserClick",7);this.duetLanguageSelect=a(this,"duetLanguageSelect",7);this.duetLogoClick=a(this,"duetLogoClick",7);this.duetBackClick=a(this,"duetBackClick",7);this.duetContactClick=a(this,"duetContactClick",7);this.duetItemClick=a(this,"duetItemClick",7);this.duetSkipClick=a(this,"duetSkipClick",7);this.duetAnalytics=a(this,"duetAnalytics",7);this.hasLanguageChanged=false;this.isContactOpen=false;this.isLanguageOpen=false;this.isSlideOutOpen=false;this.processedItems=null;this.processedLanguageItems=null;this.processedContactItems=null;this.processedSession=null;this.processedUser=null;this.processedBack=null;this.theme="";this.language=v();this.accessibleI18nLabelsDefaults={fi:{skipLabel:"Siirry pääsisältöön",changeLanguage:"Vaihda kieltä",activeLanguage:"Suomi valittuna"},sv:{skipLabel:"Gå till huvudinnehåll",changeLanguage:"Ändra Språk",activeLanguage:"Svenska valt"},en:{skipLabel:"Skip to main content",changeLanguage:"Change language",activeLanguage:"English selected"}};this.accessibleI18nLabels=f(this.accessibleI18nLabelsDefaults);this.accessibleLabelExternalDefaults=c;this.accessibleLabelExternal=f(this.accessibleLabelExternalDefaults);this.accessibleLabelDefaults={fi:"Valikko",sv:"Meny",en:"Menu"};this.accessibleLabel=f(this.accessibleLabelDefaults);this.logoHref="/";this.currentHref="/";this.skipToId="";this.region="";this.contact="";this.handleClick=function(e){if(e.data.analyticsId){i.duetAnalytics.emit({component:"duet-header",analyticsId:e.data.analyticsId})}i.duetChange.emit(e);i.closeMenus();i.closeMobileNavigation()};this.handleSessionClick=function(e){var t=B(e,i.processedSession);i.handleClick(t);i.duetSessionClick.emit(t)};this.handleUserClick=function(e){var t=B(e,i.processedUser);i.handleClick(t);i.duetUserClick.emit(t)};this.handleBackClick=function(e){var t=B(e,i.processedBack);i.handleClick(t);i.duetBackClick.emit(t)};this.handleSkipClick=function(e){var t=i.accessibleI18nLabels.skipLabel;var a=B(e,{href:i.skipToId,label:t});i.handleClick(a);i.duetSkipClick.emit(a)};this.handleLogoClick=function(e){var t=B(e,{href:i.logoHref,label:"logo"});i.handleClick(t);i.duetLogoClick.emit(t)};this.handleArrowKeys=function(e){if(i.isContactOpen||i.isLanguageOpen){var t=void 0;if(p(e)||g(e)){t=e.target.previousElementSibling}else if(m(e)||b(e)){t=e.target.nextElementSibling}if(t){e.preventDefault();t.focus()}}};this.toggleMenu=function(e,t){var a;e.preventDefault();e.stopPropagation();if(t==="language"){i.isContactOpen=false;i.isLanguageOpen=!i.isLanguageOpen;a=i.languageItemsEl}else if(t==="contact"){i.isLanguageOpen=false;i.isContactOpen=!i.isContactOpen;a=i.contactItemsEl}else if(t==="mobile"){i.isContactOpen=false;i.isLanguageOpen=false;a=i.navigationEl;i.isSlideOutOpen=!i.isSlideOutOpen;if(i.isSlideOutOpen){s(i.navigationEl,{reserveScrollBarGap:true})}else{l(i.navigationEl)}}if(i.isSlideOutOpen||i.isLanguageOpen||i.isContactOpen){var o=i.element.querySelector("duet-notification-drawer");if(o){o.close(false)}setTimeout((function(){a.querySelector("a").focus()}),300)}}}e.prototype.componentWillLoad=function(){x(this);this.refresh()};e.prototype.disconnectedCallback=function(){if(this.navigationEl){l(this.navigationEl)}};e.prototype.handleKeyUp=function(e){if(h(e)){this.closeMenus(true);this.closeMobileNavigation()}};e.prototype.handleKeyDown=function(e){if(this.isContactOpen||this.isLanguageOpen){var t=this.element.shadowRoot.activeElement;if(u(e)&&t){e.preventDefault();e.stopPropagation();if(this.isContactOpen){this.closeMenus()}else if(this.isLanguageOpen){this.closeMenus(true)}t.click()}}};e.prototype.handleDocumentClick=function(){this.closeMenus();this.closeMobileNavigation()};e.prototype.handleLanguageClick=function(e,t){this.language=t.country;this.hasLanguageChanged=true;var a=B(e,t);this.handleClick(a);this.duetLanguageSelect.emit(a)};e.prototype.handleContactClick=function(e,t){var a=B(e,t);this.handleClick(a);this.duetContactClick.emit(a)};e.prototype.handleItemClick=function(e,t){var a=B(e,t);this.handleClick(a);this.duetItemClick.emit(a)};e.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.processedItems=w(this.items);this.processedLanguageItems=w(this.languageItems);this.processedContactItems=w(this.contactItems);this.processedSession=w(this.session);this.processedUser=w(this.user);this.processedBack=w(this.back);return[2]}))}))};e.prototype.closeMobileNavigation=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.isSlideOutOpen){this.isSlideOutOpen=false;l(this.navigationEl)}return[2]}))}))};e.prototype.closeMenus=function(e){if(e===void 0){e=false}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.isContactOpen||this.isLanguageOpen){if(this.isContactOpen&&e){this.contactItemsButtonEl.focus({preventScroll:true})}if(this.isLanguageOpen&&e){this.languageItemsButtonEl.focus({preventScroll:true})}this.isContactOpen=false;this.isLanguageOpen=false}return[2]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.logoEl.setFocus(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.accessibleI18nLabels,a=t.skipLabel,r=t.changeLanguage,n=t.activeLanguage;return i("div",{class:{"duet-header-reserved-space":true,"duet-with-links":!!this.processedItems,"duet-without-links":!this.processedItems}},i("header",{class:{"duet-header":true,"duet-theme-turva":this.theme==="turva","duet-header-back":!!this.processedBack,"duet-header-inactive":!this.processedItems}},i("div",{class:"duet-header-top"},this.skipToId&&i("a",{href:this.skipToId,class:"duet-header-skip",onClick:this.handleSkipClick},a),this.processedBack&&i("duet-button",{url:this.processedBack.href,id:this.processedBack.id,theme:this.theme,variation:"plain",color:this.theme==="turva"?"secondary-turva":"secondary",icon:"navigation-arrow-left",iconSize:"large",onClick:this.handleBackClick},this.processedBack.label),i("duet-logo",{href:this.logoHref,size:"medium",ref:function(t){return e.logoEl=t},language:this.language,theme:this.theme,onClick:this.handleLogoClick}),i("slot",{name:"logo-utility"},this.region&&!this.processedBack&&i("div",{class:"duet-header-region"},this.region)),(this.processedItems||this.processedLanguageItems||this.processedContactItems||this.processedSession||this.processedUser)&&i("button",{class:{"duet-header-toggle":true,active:this.isSlideOutOpen},onClick:function(t){return e.toggleMenu(t,"mobile")},type:"button"},i("duet-visually-hidden",null,this.accessibleLabel),i("div",{class:"duet-header-hamburger"},i("span",{class:"duet-header-bar"}),i("span",{class:"duet-header-bar"}),i("span",{class:"duet-header-bar"}),i("span",{class:"duet-header-bar"})))),!this.processedBack&&i("div",{ref:function(t){return e.navigationEl=t},class:{"duet-header-bottom":true,active:this.isSlideOutOpen,inactive:!this.processedItems}},i("nav",{class:"duet-header-items",role:"navigation"},this.processedItems&&this.processedItems.map((function(t){return i("a",{class:{active:e.currentHref===t.href},href:t.href||"#",id:t.id,onClick:function(a){return e.handleItemClick(a,t)}},t.label,t.badge&&i("div",{class:"duet-header-badge"}))}))),i("div",{class:"duet-header-bottom-utils"},i("slot",{name:"utility"})),i("div",{class:"duet-header-utils"},this.contact&&this.processedContactItems&&i("div",{class:"duet-header-dropdown"},i("button",{ref:function(t){return e.contactItemsButtonEl=t},class:{"duet-header-contact":true,"duet-header-dropdown-toggle":true,"duet-header-button":true,active:this.isContactOpen},type:"button","aria-haspopup":"listbox","aria-controls":"duet-header-contact","aria-expanded":this.isContactOpen?"true":"false",id:"duet-header-contact-button",onClick:function(t){return e.toggleMenu(t,"contact")}},i("div",{class:"duet-header-icon"},i("duet-icon",{margin:"none",size:"x-small",icon:M.svg,color:"currentColor"})),i("span",{id:"duet-header-contact-label"},this.contact),i("div",{class:"duet-header-caret"},i("duet-icon",{margin:"none",size:"auto",icon:d.svg,color:"currentColor"}))),i("div",{ref:function(t){return e.contactItemsEl=t},tabindex:"-1",role:"menu",id:"duet-header-contact","aria-labelledby":"duet-header-contact-button",class:{"duet-header-dropdown-content":true,"duet-header-contact-items":true,active:this.isContactOpen}},this.processedContactItems&&this.processedContactItems.map((function(t){return i("a",{role:"menuitem",href:t.href||"#",id:t.id,onClick:function(a){return e.handleContactClick(a,t)},onKeyDown:function(t){return e.handleArrowKeys(t)},target:t.external?"_blank":"_self"},t.label,t.external&&i(o,null,i("duet-visually-hidden",null,", ",e.accessibleLabelExternal),i("span",{class:"duet-header-link-external"},i("duet-icon",{name:"action-new-window-small",size:"xx-small",margin:"none",color:e.theme==="turva"?"primary-turva":"primary"}))))})))),this.language&&this.processedLanguageItems&&i("div",{class:"duet-header-dropdown"},i("button",{ref:function(t){return e.languageItemsButtonEl=t},"aria-haspopup":"listbox","aria-controls":"duet-header-language","aria-expanded":this.isLanguageOpen?"true":"false",id:"duet-header-language-button",type:"button",class:{"duet-header-language":true,"duet-header-dropdown-toggle":true,"duet-header-button":true,active:this.isLanguageOpen},onClick:function(t){return e.toggleMenu(t,"language")}},i("div",{class:"duet-header-icon"},i("duet-icon",{margin:"none",size:"x-small",icon:I.svg,color:"currentColor"})),i("span",{"aria-hidden":"true"},this.language),i("div",{class:"duet-header-caret"},i("duet-icon",{margin:"none",size:"auto",icon:d.svg,color:"currentColor"})),i("duet-visually-hidden",null,r,this.hasLanguageChanged&&i("span",null,", ",n))),i("div",{ref:function(t){return e.languageItemsEl=t},tabindex:"-1",role:"menu",id:"duet-header-language","aria-labelledby":"duet-header-language-button",class:{"duet-header-dropdown-content":true,"duet-header-language-items":true,active:this.isLanguageOpen}},this.processedLanguageItems&&this.processedLanguageItems.map((function(t){return i("a",{class:{active:e.language===t.country},"aria-selected":e.language===t.country,role:"menuitem",id:t.id,lang:t.country,href:t.href||"#",onClick:function(a){return e.handleLanguageClick(a,t)},onKeyDown:function(t){return e.handleArrowKeys(t)}},t.label)})))),this.processedUser&&this.processedUser.href&&i("a",{href:this.processedUser.href||"#",id:this.processedUser.id,class:"duet-header-user duet-header-button",onClick:this.handleUserClick},i("span",{class:"duet-header-icon"},i("duet-icon",{margin:"none",size:"x-small",icon:A.svg,color:"currentColor"})),i("span",{class:"duet-header-user-label"},this.processedUser.label)),this.processedUser&&!this.processedUser.href&&i("span",{id:this.processedUser.id,class:"duet-header-user duet-header-button duet-header-no-action"},i("span",{class:"duet-header-icon"},i("duet-icon",{margin:"none",size:"x-small",icon:A.svg,color:"currentColor"})),i("span",{class:"duet-header-user-label"},this.processedUser.label)),this.processedSession&&i("a",{href:this.processedSession.href||"#",id:this.processedSession.id,class:"duet-header-logout duet-header-button",onClick:this.handleSessionClick},i("span",{class:"duet-header-icon"},i("duet-icon",{margin:"none",size:"x-small",icon:this.processedSession.type==="logout"?O.svg:S.svg,color:"currentColor"})),this.processedSession.label)))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{user:["refresh"],items:["refresh"],session:["refresh"],back:["refresh"],contactItems:["refresh"],languageItems:["refresh"]}},enumerable:false,configurable:true});return e}());E.style=V;var _="*,*::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:8px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-logo{-webkit-user-select:none;user-select:none;display:block;width:154px;height:40px;border-radius:4px}.duet-logo:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-logo:focus,.duet-logo:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-logo.duet-logo-en{width:166px}.duet-logo.duet-logo-sv{width:167px}.duet-logo.duet-theme-turva{width:110px;height:40px}.duet-logo svg{display:block;width:100%;height:auto}.duet-logo.large{width:184.8px;height:48px}.duet-logo.large.duet-logo-en{width:199.2px}.duet-logo.large.duet-logo-sv{width:200.4px}.duet-logo.large.duet-theme-turva{width:149.6px;height:54.4px}";var U=function(e){var t=e.inverse,a=e.logoId;var o=t?k:y;var r=t?k:C;return i("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,viewBox:"0 0 305 111"},i("title",{id:a},"Turva"),i("path",{fill:o,d:"M79 90.1A40.5 40.5 0 0 0 98.3 58H79v32.2z"}),i("path",{fill:o,d:"M45.1 57.9V46.4h52.3a40.5 40.5 0 1 0-30 48.5V58H45z"}),i("path",{fill:r,d:"M278.9 80.3v-9.8l-7.4.4c-2.4.3-4.3.6-5.7 1-1.7.4-4 1.3-5 2.3-1 1-2.3 2.8-2.3 4.6 0 2 .8 3.8 2 4.8s3.3 2 5.7 2a22 22 0 0 0 12.7-5.3zm4.2 8H279v-4.1l-3 1.9-2.8 1.5a17.4 17.4 0 0 1-7.4 1.6c-3 0-6.3-.7-8-2.3a9.6 9.6 0 0 1-3.4-7.2 9 9 0 0 1 1.8-5.9c1.1-1.6 3.1-3.3 5.2-4.2 2.1-1 4.7-1.6 7.7-1.9 3.4-.4 6.8-.6 9.8-.7v-1.1a6 6 0 0 0-.7-3.3 8 8 0 0 0-2.6-2.5c-.8-.5-2.2-1-3.4-1.1a25.7 25.7 0 0 0-8.8.4c-1.9.4-3.3 1-5.4 1.7h-.3v-4.3c1.2-.3 2.3-.7 4.5-1a37.7 37.7 0 0 1 12.8 0c1.8.4 2.9 1 4.2 2 1.3 1 2.3 2.3 3 3.8.7 1.5 1 3.2 1 4.7v22zM250.1 56l-14 32.4h-4.8L217.4 56h4.5l12 27.7L245.6 56zM137.7 88.2l-2.7.7c-.9.2-2 .4-4.2.4a9 9 0 0 1-7.2-3c-1.9-1.8-2.6-5-2.6-9.3V60.2h-5.2V56h5.2V47h4.2v9h12.6v4.2h-12.6v14.2c0 1.8 0 4.3.2 5.4 0 1 .3 2.5.8 3.4.5.8 1.4 1.4 2.2 1.8.8.4 2.7.5 4.1.5 1-.1 1.7-.2 2.7-.5l2.2-.6h.3v3.8zM176.4 88.4h-4.2v-3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7 1.7 2.8 2.1c1.1.5 2.3.7 3.7.7a10.6 10.6 0 0 0 5.6-1.4l1.7-1c.4-.2.7-.4 1-.4l.4.1c0 .1.2.2.2.5l.2.9v1.5"}};var H=function(e){var t=e.inverse,a=e.logoId,o=e.language;var r=t?k:L;var n=j[o],d=n.title,s=n.path,l=n.viewBox;return i("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",fill:r,"aria-labelledby":a,viewBox:l},i("title",{id:a},d),i("path",{d:s}))};var D=e("duet_logo",function(){function e(e){t(this,e);this.logoId=z("DuetLogo");this.theme="";this.margin="auto";this.inverse=false;this.size="medium";this.href="/";this.language=v()}e.prototype.componentWillLoad=function(){x(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeLink){this.nativeLink.focus(e)}return[2]}))}))};e.prototype.render=function(){var e;var t=this;var a=this.href?"a":"div";return i(n,{class:{"duet-m-0":this.margin==="none"}},i(a,{href:this.href,ref:function(e){return t.nativeLink=e},class:(e={"duet-logo":true},e[this.size]=true,e["duet-theme-turva"]=this.theme==="turva",e["duet-logo-en"]=this.language==="en",e["duet-logo-sv"]=this.language==="sv",e)},this.theme==="turva"?i(U,{logoId:this.logoId,inverse:this.inverse}):i(H,{logoId:this.logoId,inverse:this.inverse,language:this.language})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());D.style=_}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as e,h as i,g as s}from"./p-ebc4e334.js";import{g as a}from"./p-2764f081.js";import{i as o}from"./p-a28cf57b.js";import{g as n}from"./p-3c1971d8.js";import"./p-986779fb.js";import"./p-ad07f399.js";let r=class{constructor(i){t(this,i),this.duetEditableItemAction=e(this,"duetEditableItemAction",7),this.isHovering=!1,this.theme="",this.actions=void 0,this.uid="",this.group="",this.keyName="",this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1}}componentWillLoad(){o(this)}emitActionEvent(t){this.duetEditableItemAction.emit({originalEvent:t,uid:this.uid,group:this.group,action:this.actions.id,keyName:this.keyName,component:"duet-editable-table-item"})}render(){return i("button",{style:{"border-color":n(this.isHovering?this.actions.color_hover:this.actions.color)},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,role:"menuitem",class:"duet-editable-table-actions-items-button","aria-label":this.actions.label?a(this.actions.label):void 0,onClick:t=>this.emitActionEvent(t)},i("duet-icon",{class:"duet-editable-table-actions-items-icon",size:"x-small",name:this.actions.icon,color:this.isHovering?this.actions.color_hover:this.actions.color,margin:"none"}))}get el(){return s(this)}};r.style="*.sc-duet-editable-table-button,*.sc-duet-editable-table-button::after,*.sc-duet-editable-table-button::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-editable-table-button-h button.sc-duet-editable-table-button{display:flex;align-content:space-between;justify-content:center;min-width:32px;max-width:32px;height:100%;min-height:32px;max-height:32px;padding:0;margin:0;cursor:pointer !important;background-color:transparent;border:1px solid;border-radius:50%}.sc-duet-editable-table-button-h button.sc-duet-editable-table-button duet-icon.sc-duet-editable-table-button{align-self:center}";export{r as duet_editable_table_button}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{t as o}from"./p-ad07f399.js";const r=/-([a-z])/g;function n(o){return o[1].toUpperCase()}function t(o){return o.replace(r,n)}function c(r){if(r)return o[function(o){return-1===o.indexOf("color-")&&-1!==o.indexOf("-")?t(`color-${o}`):-1===o.indexOf("color")?t(`color${o.charAt(0).toUpperCase()}${o.slice(1)}`):t(o)}(r)]}export{c as g}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,o){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function a(e){try{s(o.next(e))}catch(t){n(t)}}function d(e){try{s(o["throw"](e))}catch(t){n(t)}}function s(e){e.done?i(e.value):r(e.value).then(a,d)}s((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,r,n,a;return a={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function d(e){return function(t){return s([e,t])}}function s(a){if(o)throw new TypeError("Generator is already executing.");while(i)try{if(o=1,r&&(n=a[0]&2?r["return"]:a[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,a[1])).done)return n;if(r=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){i.label=a[1];break}if(a[0]===6&&i.label<n[1]){i.label=n[1];n=a;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(a);break}if(n[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(d){a=[6,d];r=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-1cf8dbc7.system.js","./p-70fafc98.system.js","./p-efaa0c04.system.js","./p-0c4bbd65.system.js","./p-9a945278.system.js"],(function(e){"use strict";var t,i,o,r,n,a,d;return{setters:[function(e){t=e.r;i=e.h;o=e.g},function(e){r=e.a;n=e.g},function(e){a=e.i},function(e){d=e.a},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-notification{display:block;padding:16px;color:#00294d;cursor:pointer;border-bottom:1px solid #e1e3e6;transition:300ms ease}:host(:last-of-type) .duet-notification{border-bottom:0}.duet-notification.duet-theme-turva{color:#171c3a;border-bottom-color:#e4e4e6}.duet-notification.duet-notification-highlight{font-weight:600;background:#f3f9fc}.duet-notification.duet-notification-highlight.duet-theme-turva{background:#fcf3f4}@media (min-width: 62em){.duet-notification:hover{background:#f3f9fc}.duet-notification:hover.duet-theme-turva{background:#fcf3f4}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:#0077b3;border-radius:50%}.duet-theme-turva .duet-notification-badge{background:#c60c30}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:#657787;text-align:right;text-transform:uppercase}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:#444445}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";var u=e("duet_notification",function(){function e(e){t(this,e);this.language=r();this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"};this.accessibleLabelUnread=n(this.accessibleLabelUnreadDefaults,this.language);this.url="#";this.date="";this.highlight=false;this.external=false;this.theme=""}e.prototype.componentWillLoad=function(){a(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.linkElement.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return i("div",{role:"listitem",class:{"duet-notification":true,"duet-notification-highlight":this.highlight,"duet-theme-turva":this.theme==="turva"}},i("a",{ref:function(t){return e.linkElement=t},href:this.url,target:this.external?"_blank":"_self"},i("div",{class:"duet-notification-container"},i("div",{class:"duet-notification-badge-container"},this.highlight&&i("div",{class:"duet-notification-badge"},i("duet-visually-hidden",null,this.accessibleLabelUnread,":"))),i("div",{class:"duet-notification-content"},i("slot",null)),i("div",{class:"duet-notification-date"},this.date))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());u.style=s;var l='*,*::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-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;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:48px;color:#00294d;text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border-bottom:1px solid #e1e3e6;border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;background-color:white;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a;border-color:#e4e4e6}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:#004d80}.duet-theme-turva .duet-drawer-toggle:hover{color:#444445}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:#0077b3;transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:#c60c30}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:#004d80;border-bottom:1px solid #f5f8fa;border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:#444445;border-color:#f5f5f7}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:#f7b228;border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:#faa40f}.duet-drawer-content{display:none;background-color:#f5f8fa;border-bottom:1px solid #e1e3e6}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:#f5f5f7;border-color:#e1e3e6}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:white;border:1px solid #e1e3e6;border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0;scrollbar-width:none}.duet-drawer-content::-webkit-scrollbar{display:none}.duet-theme-turva .duet-drawer-content{background-color:white}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}';var c=27;var h=e("duet_notification_drawer",function(){function e(e){var i=this;t(this,e);this.isOpen=false;this.icon="";this.label="Label";this.language=r();this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"};this.accessibleLabelNotifications=n(this.accessibleLabelNotificationsDefaults);this.badge=false;this.theme="";this.direction="left";this.handleKeyDown=function(e){if(i.isOpen&&e.keyCode===c){i.close()}};this.toggleMenu=function(e){e.stopPropagation();i.isOpen?i.close():i.open()};this.updateNotificationState=function(){i.hasNotifications=i.element.children.length>0}}e.prototype.componentWillLoad=function(){a(this);this.updateNotificationState()};e.prototype.connectedCallback=function(){this.observer=new MutationObserver(this.updateNotificationState);this.observer.observe(this.element,{childList:true})};e.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null};e.prototype.handleClickFocusOutside=function(e){var t=e.target;if(this.isOpen&&!this.element.contains(t)){this.close(false)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.drawerButtonEl.focus(e);return[2]}))}))};e.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.element.closest("duet-header");if(e){e.closeMenus()}this.isOpen=true;this.drawerContentEl.scrollTop=0;return[2]}))}))};e.prototype.close=function(e){if(e===void 0){e=true}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isOpen=false;if(e){this.setFocus({preventScroll:true})}return[2]}))}))};e.prototype.render=function(){var e=this;return i("div",{class:{"duet-drawer":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:this.handleKeyDown},i("button",{ref:function(t){return e.drawerButtonEl=t},type:"button",class:"duet-drawer-toggle",id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&i("div",{class:"duet-drawer-icon"},i("duet-icon",{margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&i("div",{class:"duet-drawer-badge"})),i("span",{class:"duet-drawer-label"},this.label),i("div",{class:"duet-drawer-caret"},i("duet-icon",{margin:"none",size:"auto",icon:d.svg,color:"currentColor"}))),i("div",{id:"duet-drawer-content",class:{"duet-drawer-content":true,"duet-drawer-right":this.direction==="right","duet-drawer-left":this.direction==="left","duet-drawer-open":this.isOpen},ref:function(t){return e.drawerContentEl=t}},this.hasNotifications?i("div",{role:"list"},i("slot",null)):i("duet-empty-state",{size:"small"},i("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());h.style=l}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as e,h as i,H as n,g as o}from"./p-ebc4e334.js";import{c as a}from"./p-c1325e35.js";import{c as s,r as u}from"./p-9dfcd29a.js";import{i as r}from"./p-a28cf57b.js";const p={search:{title:"form-search",tags:"form search magnifying glass",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M23.245 23.996a.743.743 0 0 1-.53-.22L16.2 17.26a9.824 9.824 0 0 1-2.553 1.579 9.766 9.766 0 0 1-7.51.069 9.745 9.745 0 0 1-5.359-5.262c-1.025-2.412-1.05-5.08-.069-7.51S3.558 1.802 5.97.777a9.744 9.744 0 0 1 7.51-.069c2.431.981 4.334 2.849 5.359 5.262s1.05 5.08.069 7.51a9.807 9.807 0 0 1-1.649 2.718l6.517 6.518a.75.75 0 0 1-.531 1.28zM9.807 1.49a8.259 8.259 0 0 0-3.25.667c-2.044.869-3.627 2.481-4.458 4.54s-.81 4.318.058 6.362a8.26 8.26 0 0 0 4.54 4.458 8.259 8.259 0 0 0 6.362-.059 8.285 8.285 0 0 0 2.594-1.736.365.365 0 0 1 .077-.076 8.245 8.245 0 0 0 1.786-2.728 8.255 8.255 0 0 0-.059-6.362 8.257 8.257 0 0 0-4.54-4.458 8.28 8.28 0 0 0-3.11-.608z"/></svg>'},email:{title:"form-email",tags:"form email",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z"/></svg>'}};let d=class{constructor(i){t(this,i),this.duetInput=e(this,"duetInput",7),this.duetChange=e(this,"duetChange",3),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=a("DuetInput"),this.labelId=a("DuetLabel"),this.topCaptionId=a("DuetCaptionTop"),this.topCaptionPlaceholderId=a("DuetCaptionPlaceholderTop"),this.errorId=a("DuetError"),this.disallowPatternRegex=null,this.debounce=0,this.echoPlaceholder=!1,this.theme="",this.expand=!1,this.disabled=!1,this.margin="auto",this.required=!1,this.type="text",this.label="label",this.error="",this.labelHidden=!1,this.numericKeyboard=!1,this.component="input",this.autoComplete="on",this.disallowPattern=null,this.tooltip="",this.tooltipDirection="auto",this.onInput=t=>{this.disallowPatternRegex&&s(this.nativeInput,this.disallowPatternRegex),this.value=this.nativeInput.value||"",this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-input"})}}disallowedPatternChange(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"g"):null}valueChanged(){var t;if((null===(t=null==this?void 0:this.nativeInput)||void 0===t?void 0:t.value)!==this.value){const t=u(this.nativeInput);this.nativeInput.value=this.value,t()}this.isCaptionVisible=!!this.caption;const e=()=>this.duetChange.emit({value:this.value,component:"duet-input"});0===this.debounce?e():(clearTimeout(this.timeoutId),this.timeoutId=setTimeout(e,this.debounce))}componentWillLoad(){r(this),this.disallowedPatternChange(),this.isCaptionVisible=!!this.caption}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}render(){const t=this.identifier||this.inputId,e={};return this.numericKeyboard&&(e.inputmode="numeric"),this.pattern&&"tel"!==this.type?e.pattern=this.pattern:this.pattern||"tel"!==this.type||(e.pattern="[0-9+ ]+"),i(n,{class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},i("div",{class:{"duet-input-container":!0,"duet-theme-turva":"turva"===this.theme,"duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-icon":!!this.icon||"text"!==this.type&&"tel"!==this.type&&"password"!==this.type,"has-error":!!this.error}},i("duet-label",{theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},margin:this.isCaptionVisible?"small":"auto",id:this.labelId,for:t},this.label),this.tooltip&&i("duet-tooltip",{direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),this.caption&&i("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),i("div",{class:"duet-input-relative"},this.placeholder&&this.echoPlaceholder&&this.value&&i("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-input-placeholder",margin:"none",size:"small"},this.placeholder),i("input",Object.assign({ref:t=>this.nativeInput=t,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,type:this.type,class:{"duet-input":!0,disabled:this.disabled,"is-number":"number"===this.component,"is-date":"date"===this.component},value:this.value,disabled:this.disabled,"aria-invalid":this.error?"true":"false","aria-labelledby":`${this.labelId} ${this.errorId}`,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":`${this.isCaptionVisible?this.topCaptionId:""} ${this.accessibleDescribedBy}`,placeholder:this.placeholder,spellcheck:"false",minlength:this.minlength,maxlength:this.maxlength,autocomplete:this.autoComplete,required:this.required,role:this.role,name:this.name,id:t},e)),!this.icon&&"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&i("div",{class:"duet-input-icon"},i("duet-icon",{margin:"none",size:"small",icon:p[this.type].svg,color:"currentColor"})),this.icon&&i("div",{class:"duet-input-icon"},i("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),i("slot",null)),i("span",{class:"duet-input-help",id:this.errorId,"aria-live":"assertive","aria-relevant":"additions removals"},this.error&&i("span",{class:"duet-input-error"},this.error))))}get element(){return o(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"],value:["valueChanged"]}}};d.style='*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-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%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}duet-tooltip.sc-duet-input{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input{position:relative;top:4px;right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{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:white}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:#00294d;pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:#171c3a}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;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 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:#00294d !important;cursor:initial !important;background:white !important;background-clip:initial !important;border:1px solid #909599 !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:#de2362 !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:#de2362 !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:#e02a0d !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:#e02a0d !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a !important;border-color:#747475 !important}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:#657787;opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:#747475}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:#cfcfd1}.duet-input.sc-duet-input::-moz-placeholder{color:#657787;opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:#747475}.duet-input.sc-duet-input:focus::-moz-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:#cfcfd1}.duet-input.sc-duet-input:-ms-input-placeholder{color:#657787}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:#747475}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:#cfcfd1}.duet-input[disabled].sc-duet-input{color:#00294d !important;cursor:text !important;background:#f5f8fa !important;border-color:#f5f8fa !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:#00294d !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:#171c3a !important;background:#f5f5f7 !important;border-color:#f5f5f7 !important;-webkit-text-fill-color:#171c3a !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e02a0d}.duet-input.sc-duet-input:focus{border-color:#0077b3 !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:#171c3a !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:#171c3a}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e02a0d}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:#0077b3}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{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:#657787;border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#747475}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:#de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:#e02a0d}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}';let l=class{constructor(e){t(this,e),this.theme="",this.margin="auto",this.size="medium"}componentWillLoad(){r(this)}render(){return i(n,{class:{"duet-label":!0,"duet-label-small":"small"===this.size,"duet-theme-turva":"turva"===this.theme,"duet-small-margin":"small"===this.margin,"duet-m-0":"none"===this.margin}},i("label",{htmlFor:this.for},i("span",null,i("slot",null))))}};l.style='*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin: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:1rem;font-weight:600 !important;line-height:1.25;color:#00294d;text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}';export{d as duet_input,l as duet_label}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as r,H as s,g as a}from"./p-ebc4e334.js";import{c as o}from"./p-c1325e35.js";import{g as t}from"./p-2764f081.js";import{i}from"./p-a28cf57b.js";import"./p-986779fb.js";let n=class{constructor(r){e(this,r),this.progressId=o("DuetProgress"),this.progressLabelId=o("DuetProgressLabel"),this.accessibleLabelUploadDefaults={fi:["lähetys valmis","lähetys käynnissä"],sv:["Uppladdningen är klar","Uppladdning pågår"],en:["upload completed","upload in progress"]},this.accessibleLabelUpload=t(this.accessibleLabelUploadDefaults),this.progress=0,this.height="10px",this.theme=""}componentWillLoad(){i(this)}render(){return r(s,null,r("div",{"aria-live":this.accessibleLabel?"polite":"off","aria-hidden":this.accessibleLabel?"false":"true","aria-atomic":"true",style:{height:this.height},id:this.progressId,class:{"duet-progress":!0,"duet-progress-done":100===this.progress,"duet-progress-start":0===this.progress,"duet-progress-inprogress":this.progress<99&&0!==this.progress,"duet-theme-turva":"turva"===this.theme}},r("duet-visually-hidden",null,r("label",{htmlFor:this.progressLabelId},0!==this.progress&&r("span",null,this.accessibleLabel,", ",this.accessibleLabelUpload[this.progress<99?1:0]))),this.caption&&r("div",{class:"duet-progress-caption"},r("span",null,this.caption)),r("progress",{id:this.progressLabelId,"aria-describedby":this.accessibleDescribedBy,role:"progressbar",value:this.progress,max:"100","aria-valuemin":"0","aria-valuemax":"100"},r("div",{class:"progress-bar"},r("span",{style:{width:`${this.progress}%;`}},"Progress: ",this.progress,"%")))))}get element(){return a(this)}};n.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;min-height:1px;}.duet-progress .progress-bar{position:relative;display:block;width:100%;height:inherit;min-height:1px;background-color:#f3f9fc;border-radius:0;box-shadow:none}.duet-theme-turva .duet-progress .progress-bar{background-color:#fcf3f4}.duet-progress .progress-bar>span{display:block;height:inherit;text-indent:-9999px;background-color:#0077b3;border-radius:0}.duet-theme-turva .duet-progress .progress-bar>span{background-color:#c60c30}.duet-progress progress[value]{display:flex;width:100%;height:inherit;min-height:1px;color:#0077b3;border:0 none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.duet-theme-turva .duet-progress progress[value]{color:#c60c30}.duet-progress progress[value]::-webkit-progress-bar{background-color:#f3f9fc;border-radius:0}.duet-theme-turva .duet-progress progress[value]::-webkit-progress-bar{background-color:#fcf3f4}.duet-progress progress[value]::-webkit-progress-value{background-color:#0077b3;background-size:35px 20px, 100% 100%, 100% 100%;border-radius:0;-webkit-animation:animate-stripes 5s linear infinite;animation:animate-stripes 5s linear infinite}.duet-theme-turva .duet-progress progress[value]::-webkit-progress-value{background-color:#c60c30}.duet-progress progress[value] ::-moz-progress-bar{background-color:#f3f9fc}.duet-theme-turva .duet-progress progress[value] ::-moz-progress-bar{background-color:#fcf3f4}";export{n as duet_progress}