@duetds/components 8.1.2 → 8.1.4

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 (654) hide show
  1. package/hydrate/index.js +38 -23
  2. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +12 -8
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  11. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-footer.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  31. package/lib/cjs/duet-input_2.cjs.entry.js +6 -2
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-modal.cjs.entry.js +3 -3
  40. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +4 -3
  47. package/lib/cjs/duet-popup-menu.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-scrollable_3.cjs.entry.js +3 -3
  53. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout.cjs.entry.js +8 -7
  62. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
  74. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  75. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  76. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  78. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  79. package/lib/cjs/duet.cjs.js +2 -2
  80. package/lib/cjs/{focus-utils-6b554ff9.js → focus-utils-fd4fdee9.js} +1 -1
  81. package/lib/cjs/{index-157c822b.js → index-6ea7b876.js} +1 -1
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/cjs/{teleport-e7315776.js → teleport-6a1f83a1.js} +2 -2
  84. package/lib/cjs/{token-utils-f11c288e.js → token-utils-a5356b00.js} +1 -1
  85. package/lib/cjs/{tokens-c0b8b3a8.js → tokens-51cfbe11.js} +4 -1
  86. package/lib/cjs/{tokens.module-44ad1fdb.js → tokens.module-ce5f9579.js} +3 -1
  87. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  88. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  89. package/lib/collection/components/duet-banner/duet-banner.js +1 -1
  90. package/lib/collection/components/duet-button/duet-button.css +120 -131
  91. package/lib/collection/components/duet-button/duet-button.js +15 -11
  92. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  93. package/lib/collection/components/duet-card/duet-card.js +3 -3
  94. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  95. package/lib/collection/components/duet-chip/duet-chip.js +4 -4
  96. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  97. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  98. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  99. package/lib/collection/components/duet-contact-card/duet-contact-card.css +1 -1
  100. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  101. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  102. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  103. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  104. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  105. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  106. package/lib/collection/components/duet-footer/duet-footer.css +1 -1
  107. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  108. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  109. package/lib/collection/components/duet-header/duet-header.js +15 -15
  110. package/lib/collection/components/duet-heading/duet-heading.js +3 -3
  111. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  112. package/lib/collection/components/duet-input/duet-input.js +8 -8
  113. package/lib/collection/components/duet-label/duet-label.js +30 -3
  114. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  115. package/lib/collection/components/duet-list/duet-list.js +3 -3
  116. package/lib/collection/components/duet-list-item/duet-list-item.css +1 -2
  117. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  118. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  119. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  120. package/lib/collection/components/duet-multiselect/duet-multiselect.css +21 -3
  121. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  122. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  123. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  124. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  125. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  126. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +4 -5
  127. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  128. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +9 -11
  129. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +28 -3
  130. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  131. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  132. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  133. package/lib/collection/components/duet-select/duet-select.js +5 -5
  134. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  135. package/lib/collection/components/duet-slideout/duet-slideout.js +22 -3
  136. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  137. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  138. package/lib/collection/components/duet-step/duet-step.js +2 -2
  139. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  140. package/lib/collection/components/duet-tab-group/duet-tab-group.js +8 -8
  141. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  142. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  143. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  144. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  145. package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
  146. package/lib/collection/utils/teleport.js +2 -2
  147. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  148. package/lib/dist-custom-elements/duet-alert.js +1 -1
  149. package/lib/dist-custom-elements/duet-badge.js +1 -1
  150. package/lib/dist-custom-elements/duet-banner.js +6 -6
  151. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  152. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  153. package/lib/dist-custom-elements/duet-button.js +1 -1
  154. package/lib/dist-custom-elements/duet-callout.js +3 -3
  155. package/lib/dist-custom-elements/duet-caption.js +1 -1
  156. package/lib/dist-custom-elements/duet-card.js +4 -4
  157. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  158. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  159. package/lib/dist-custom-elements/duet-chip.js +2 -2
  160. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  161. package/lib/dist-custom-elements/duet-choice.js +5 -5
  162. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  163. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  164. package/lib/dist-custom-elements/duet-contact-card.js +9 -9
  165. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  166. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  167. package/lib/dist-custom-elements/duet-divider.js +1 -1
  168. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  169. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  170. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  171. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  172. package/lib/dist-custom-elements/duet-footer.js +5 -5
  173. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  174. package/lib/dist-custom-elements/duet-grid.js +1 -1
  175. package/lib/dist-custom-elements/duet-header.js +9 -9
  176. package/lib/dist-custom-elements/duet-heading.js +1 -1
  177. package/lib/dist-custom-elements/duet-hero.js +9 -9
  178. package/lib/dist-custom-elements/duet-icon.js +1 -1
  179. package/lib/dist-custom-elements/duet-input.js +1 -1
  180. package/lib/dist-custom-elements/duet-label.js +1 -1
  181. package/lib/dist-custom-elements/duet-layout.js +1 -1
  182. package/lib/dist-custom-elements/duet-link.js +1 -1
  183. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  184. package/lib/dist-custom-elements/duet-list.js +1 -1
  185. package/lib/dist-custom-elements/duet-logo.js +1 -1
  186. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  187. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  188. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  189. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  190. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  191. package/lib/dist-custom-elements/duet-modal.js +8 -8
  192. package/lib/dist-custom-elements/duet-multiselect.js +12 -18
  193. package/lib/dist-custom-elements/duet-nav.js +1 -1
  194. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  195. package/lib/dist-custom-elements/duet-notification.js +2 -2
  196. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  197. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  198. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  199. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  200. package/lib/dist-custom-elements/duet-popup-menu-item.js +6 -4
  201. package/lib/dist-custom-elements/duet-popup-menu.js +3 -3
  202. package/lib/dist-custom-elements/duet-progress.js +1 -1
  203. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  204. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  205. package/lib/dist-custom-elements/duet-radio.js +1 -1
  206. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  207. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  208. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  209. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  210. package/lib/dist-custom-elements/duet-select.js +1 -1
  211. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  212. package/lib/dist-custom-elements/duet-show-more.js +5 -5
  213. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  214. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  215. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  216. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  217. package/lib/dist-custom-elements/duet-slideout.js +8 -6
  218. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  219. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  220. package/lib/dist-custom-elements/duet-step.js +4 -4
  221. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  222. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  223. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  224. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  225. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  226. package/lib/dist-custom-elements/duet-tab-group.js +15 -15
  227. package/lib/dist-custom-elements/duet-tab.js +1 -1
  228. package/lib/dist-custom-elements/duet-table.js +1 -1
  229. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  230. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  231. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  232. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  233. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  234. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  235. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  236. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  237. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  238. package/lib/dist-custom-elements/duet-tray.js +4 -4
  239. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  240. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  241. package/lib/dist-custom-elements/duet-upload.js +18 -18
  242. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  243. package/lib/dist-custom-elements/index.js +1 -1
  244. package/lib/dist-custom-elements/{p-60d4a8ce.js → p-077e5396.js} +10 -10
  245. package/lib/dist-custom-elements/{p-0d345f52.js → p-0d74f436.js} +2 -2
  246. package/lib/dist-custom-elements/{p-04889da1.js → p-18ec08ac.js} +4 -4
  247. package/lib/dist-custom-elements/{p-a88f801c.js → p-19fc0434.js} +1 -1
  248. package/lib/dist-custom-elements/{p-8496cd8c.js → p-1ed786bc.js} +1 -1
  249. package/lib/dist-custom-elements/{p-16e97b9c.js → p-2941d90a.js} +1 -1
  250. package/lib/dist-custom-elements/{p-7d6b2e2a.js → p-2b56c0d7.js} +3 -1
  251. package/lib/dist-custom-elements/{p-2591d3c1.js → p-2eb72ea1.js} +1 -1
  252. package/lib/dist-custom-elements/{p-88a1e813.js → p-36cee998.js} +5 -5
  253. package/lib/dist-custom-elements/{p-5f7df847.js → p-4091ca56.js} +1 -1
  254. package/lib/dist-custom-elements/{p-18ae77da.js → p-482e780b.js} +2 -2
  255. package/lib/dist-custom-elements/{p-666a097e.js → p-506c2666.js} +7 -3
  256. package/lib/dist-custom-elements/{p-ec4ffa81.js → p-57e61e85.js} +3 -3
  257. package/lib/dist-custom-elements/{p-a4f9be99.js → p-583ae9d7.js} +2 -2
  258. package/lib/dist-custom-elements/{p-ca00c920.js → p-59fdca12.js} +2 -2
  259. package/lib/dist-custom-elements/{p-23f7068d.js → p-5b14ef9f.js} +1 -1
  260. package/lib/{esm/tokens-5a0d14c7.js → dist-custom-elements/p-5e849463.js} +4 -1
  261. package/lib/dist-custom-elements/{p-6cdb4bc9.js → p-5f8459bd.js} +8 -8
  262. package/lib/dist-custom-elements/p-7a6cf439.js +305 -0
  263. package/lib/dist-custom-elements/{p-803d6f4c.js → p-7c5f9c80.js} +5 -5
  264. package/lib/dist-custom-elements/{p-60358cbc.js → p-802e0cd4.js} +6 -6
  265. package/lib/dist-custom-elements/{p-0583d228.js → p-88b5a225.js} +2 -2
  266. package/lib/dist-custom-elements/{p-6b73593d.js → p-8aaaefdf.js} +2 -2
  267. package/lib/dist-custom-elements/{p-a5450dd6.js → p-8c81a26f.js} +2 -2
  268. package/lib/dist-custom-elements/{p-d4cb22d8.js → p-91facf89.js} +2 -2
  269. package/lib/dist-custom-elements/{p-ff6cac8b.js → p-98dcc2eb.js} +4 -4
  270. package/lib/dist-custom-elements/{p-e6b65023.js → p-9b14643e.js} +2 -2
  271. package/lib/dist-custom-elements/p-9c5b3e92.js +49 -0
  272. package/lib/dist-custom-elements/{p-c7e8eeec.js → p-b06b80ce.js} +1 -1
  273. package/lib/dist-custom-elements/{p-3e81fc67.js → p-bb59b14d.js} +2 -2
  274. package/lib/dist-custom-elements/{p-ea3632de.js → p-c9808777.js} +10 -10
  275. package/lib/dist-custom-elements/{p-751344b2.js → p-ccdff614.js} +2 -2
  276. package/lib/dist-custom-elements/{p-17f23d02.js → p-d18ca3d9.js} +2 -2
  277. package/lib/dist-custom-elements/{p-e65ac105.js → p-d68c9433.js} +1 -1
  278. package/lib/dist-custom-elements/{p-26c9e94a.js → p-d94a9d9c.js} +1 -1
  279. package/lib/dist-custom-elements/{p-9a81250e.js → p-e078836c.js} +1 -1
  280. package/lib/dist-custom-elements/{p-2f7f4d60.js → p-f91938ae.js} +2 -2
  281. package/lib/dist-custom-elements/{p-db24b3f2.js → p-ff50aff2.js} +3 -3
  282. package/lib/duet/duet.esm.js +1 -1
  283. package/lib/duet/duet.js +1 -1
  284. package/lib/duet/p-00f75643.system.entry.js +4 -0
  285. package/lib/duet/{p-bb0cfbf7.system.entry.js → p-010986d1.system.entry.js} +1 -1
  286. package/lib/duet/{p-4d8758f9.entry.js → p-0142d94d.entry.js} +1 -1
  287. package/lib/duet/{p-cd042667.entry.js → p-0360829b.entry.js} +1 -1
  288. package/lib/duet/{p-87551364.system.entry.js → p-04c3f872.system.entry.js} +1 -1
  289. package/lib/duet/{p-12bb48aa.entry.js → p-0660a9a6.entry.js} +1 -1
  290. package/lib/duet/{p-e6d43779.entry.js → p-066f078b.entry.js} +1 -1
  291. package/lib/duet/{p-a3e01217.entry.js → p-07c3d88d.entry.js} +1 -1
  292. package/lib/duet/{p-bf3e4216.entry.js → p-088ac559.entry.js} +1 -1
  293. package/lib/duet/{p-81f0c65d.system.entry.js → p-0b2ff6ce.system.entry.js} +1 -1
  294. package/lib/duet/{p-3043f61b.system.entry.js → p-103ab767.system.entry.js} +1 -1
  295. package/lib/duet/p-164be464.entry.js +4 -0
  296. package/lib/duet/{p-13662eb9.entry.js → p-180c61a0.entry.js} +1 -1
  297. package/lib/duet/{p-bc1fed7e.system.entry.js → p-18322745.system.entry.js} +1 -1
  298. package/lib/duet/p-18aaa40c.entry.js +4 -0
  299. package/lib/duet/{p-9357c710.system.entry.js → p-1a8494b0.system.entry.js} +1 -1
  300. package/lib/duet/{p-af24d0ba.entry.js → p-1b46db77.entry.js} +1 -1
  301. package/lib/duet/{p-b14f32a6.entry.js → p-1d11b3b6.entry.js} +1 -1
  302. package/lib/duet/{p-04e87e02.system.entry.js → p-1db3121f.system.entry.js} +1 -1
  303. package/lib/duet/{p-49d0f126.system.entry.js → p-1e0df043.system.entry.js} +1 -1
  304. package/lib/duet/{p-b2bba5c2.system.entry.js → p-210adc0e.system.entry.js} +1 -1
  305. package/lib/duet/p-21774475.system.js +4 -0
  306. package/lib/duet/p-23914c18.entry.js +4 -0
  307. package/lib/duet/{p-6a7ed346.entry.js → p-244387a0.entry.js} +1 -1
  308. package/lib/duet/{p-9c3381d1.entry.js → p-24edf4ed.entry.js} +1 -1
  309. package/lib/duet/{p-cfe49bdb.entry.js → p-252baa0d.entry.js} +1 -1
  310. package/lib/duet/{p-eb0e706a.system.entry.js → p-2590ca65.system.entry.js} +1 -1
  311. package/lib/duet/{p-56b22bac.system.entry.js → p-261014df.system.entry.js} +1 -1
  312. package/lib/duet/{p-3021e910.entry.js → p-2858bbdf.entry.js} +1 -1
  313. package/lib/duet/{p-79d99a3a.entry.js → p-2c139545.entry.js} +1 -1
  314. package/lib/duet/{p-137fbf26.entry.js → p-2c34a804.entry.js} +1 -1
  315. package/lib/duet/{p-351b5fd0.system.entry.js → p-2cc17967.system.entry.js} +1 -1
  316. package/lib/duet/{p-9762f038.system.entry.js → p-2d366120.system.entry.js} +1 -1
  317. package/lib/duet/{p-b421c710.entry.js → p-314d5b44.entry.js} +1 -1
  318. package/lib/duet/{p-12c62fda.system.entry.js → p-3515cd72.system.entry.js} +1 -1
  319. package/lib/duet/{p-f9fc34c4.system.entry.js → p-3865240e.system.entry.js} +1 -1
  320. package/lib/duet/p-38df728c.system.entry.js +4 -0
  321. package/lib/duet/p-41203a2d.entry.js +4 -0
  322. package/lib/duet/{p-e41cd4f9.system.entry.js → p-4175e48c.system.entry.js} +1 -1
  323. package/lib/duet/{p-730c0fff.entry.js → p-426ba263.entry.js} +1 -1
  324. package/lib/duet/{p-b00491f4.entry.js → p-42959a52.entry.js} +1 -1
  325. package/lib/duet/{p-bfd0356f.entry.js → p-42f92e6f.entry.js} +1 -1
  326. package/lib/duet/{p-92579533.entry.js → p-441595f6.entry.js} +1 -1
  327. package/lib/duet/{p-e42e59a8.system.js → p-45a16be3.system.js} +1 -1
  328. package/lib/duet/p-474f53fe.entry.js +4 -0
  329. package/lib/duet/p-4a130ebf.system.entry.js +4 -0
  330. package/lib/duet/{p-1074866e.entry.js → p-4a2adee6.entry.js} +1 -1
  331. package/lib/duet/{p-3b586fc5.entry.js → p-4b745f4d.entry.js} +1 -1
  332. package/lib/duet/p-4bfc3a15.entry.js +4 -0
  333. package/lib/duet/{p-ead618f6.system.entry.js → p-4d3ef5ea.system.entry.js} +1 -1
  334. package/lib/duet/{p-a1c69051.system.entry.js → p-4dc81aa3.system.entry.js} +1 -1
  335. package/lib/duet/{p-a2b1a4c0.entry.js → p-4e9b4950.entry.js} +1 -1
  336. package/lib/duet/{p-fe1e84a5.system.entry.js → p-4fe09b26.system.entry.js} +1 -1
  337. package/lib/duet/{p-63885f31.system.entry.js → p-53229ab4.system.entry.js} +1 -1
  338. package/lib/duet/{p-7f81eb4c.system.entry.js → p-5373f6cf.system.entry.js} +1 -1
  339. package/lib/duet/p-53e33daf.js +4 -0
  340. package/lib/duet/{p-cd970535.system.entry.js → p-582b7fa7.system.entry.js} +1 -1
  341. package/lib/duet/{p-9508feb6.entry.js → p-594ffed9.entry.js} +1 -1
  342. package/lib/duet/{p-a38b0c78.entry.js → p-5b27ed7e.entry.js} +1 -1
  343. package/lib/duet/{p-338cf0ab.entry.js → p-5cbc1b17.entry.js} +1 -1
  344. package/lib/duet/{p-6bbd1456.entry.js → p-5d6e1173.entry.js} +1 -1
  345. package/lib/duet/{p-0cc51aa5.js → p-5e849463.js} +1 -1
  346. package/lib/duet/{p-cc62667c.entry.js → p-5eaf9a5e.entry.js} +1 -1
  347. package/lib/duet/{p-a76a945d.system.entry.js → p-600f3cf8.system.entry.js} +1 -1
  348. package/lib/duet/{p-3e1b4203.system.entry.js → p-6020800c.system.entry.js} +1 -1
  349. package/lib/duet/{p-ec80c9be.system.entry.js → p-60be4608.system.entry.js} +1 -1
  350. package/lib/duet/p-60d0817e.system.entry.js +4 -0
  351. package/lib/duet/{p-4ec02d20.entry.js → p-620c416c.entry.js} +1 -1
  352. package/lib/duet/{p-977a40ba.system.entry.js → p-63150ee3.system.entry.js} +1 -1
  353. package/lib/duet/{p-33aec494.system.entry.js → p-645a4cd3.system.entry.js} +1 -1
  354. package/lib/duet/{p-b0b1f2a2.entry.js → p-64c8cce6.entry.js} +1 -1
  355. package/lib/duet/p-64e16fb9.system.js +4 -0
  356. package/lib/duet/{p-e07fa18a.system.entry.js → p-67eee05e.system.entry.js} +1 -1
  357. package/lib/duet/{p-63287e64.entry.js → p-68967bb9.entry.js} +1 -1
  358. package/lib/duet/{p-470b320a.entry.js → p-69ba8b52.entry.js} +1 -1
  359. package/lib/duet/{p-eaac2908.system.entry.js → p-6bad895a.system.entry.js} +1 -1
  360. package/lib/duet/{p-9b6df3eb.system.entry.js → p-6f9e49da.system.entry.js} +1 -1
  361. package/lib/duet/{p-870db7df.system.entry.js → p-702810e3.system.entry.js} +1 -1
  362. package/lib/duet/p-711c2a2b.system.js +4 -0
  363. package/lib/duet/{p-81aa9e58.system.entry.js → p-7130f6d6.system.entry.js} +1 -1
  364. package/lib/duet/{p-e4bbb63e.entry.js → p-722a4867.entry.js} +1 -1
  365. package/lib/duet/{p-b853ccf5.system.entry.js → p-7768931c.system.entry.js} +1 -1
  366. package/lib/duet/{p-0a2bd8cf.entry.js → p-77e1b69b.entry.js} +1 -1
  367. package/lib/duet/{p-d6453fde.entry.js → p-78777bcf.entry.js} +1 -1
  368. package/lib/duet/{p-8d0cb2d8.entry.js → p-7ad157c2.entry.js} +1 -1
  369. package/lib/duet/{p-4ed862cd.system.entry.js → p-82461381.system.entry.js} +1 -1
  370. package/lib/duet/{p-5692f185.entry.js → p-84031069.entry.js} +1 -1
  371. package/lib/duet/{p-86abce17.system.entry.js → p-86251661.system.entry.js} +1 -1
  372. package/lib/duet/{p-04249722.entry.js → p-8ae84c52.entry.js} +1 -1
  373. package/lib/duet/{p-8c655835.system.entry.js → p-8e7dc4ed.system.entry.js} +1 -1
  374. package/lib/duet/{p-d538903d.entry.js → p-8ec9245a.entry.js} +1 -1
  375. package/lib/duet/{p-917dedc1.system.entry.js → p-8f504a32.system.entry.js} +1 -1
  376. package/lib/duet/{p-01e08373.system.entry.js → p-90378229.system.entry.js} +1 -1
  377. package/lib/duet/{p-0d7aef74.entry.js → p-906c13df.entry.js} +1 -1
  378. package/lib/duet/{p-f8d2bf05.system.entry.js → p-954c7df4.system.entry.js} +1 -1
  379. package/lib/duet/{p-66a1f261.system.entry.js → p-95ca3440.system.entry.js} +1 -1
  380. package/lib/duet/{p-10932e23.system.entry.js → p-9894f629.system.entry.js} +1 -1
  381. package/lib/duet/{p-8de5a1f0.entry.js → p-98e033d1.entry.js} +1 -1
  382. package/lib/duet/{p-db498557.entry.js → p-993f5974.entry.js} +1 -1
  383. package/lib/duet/{p-ae55ab01.entry.js → p-9b8c4a19.entry.js} +1 -1
  384. package/lib/duet/{p-1a9958ee.system.js → p-9bd338fd.system.js} +1 -1
  385. package/lib/duet/{p-a8eef96f.system.entry.js → p-9eb39bd3.system.entry.js} +1 -1
  386. package/lib/duet/{p-37cca48e.entry.js → p-9f05508d.entry.js} +1 -1
  387. package/lib/duet/{p-9fab377c.system.entry.js → p-a020bf81.system.entry.js} +1 -1
  388. package/lib/duet/{p-48ad58f7.entry.js → p-a075ba4d.entry.js} +1 -1
  389. package/lib/duet/{p-b7fd8ad4.system.entry.js → p-a09af712.system.entry.js} +1 -1
  390. package/lib/duet/{p-e27983cf.entry.js → p-a2541d8a.entry.js} +1 -1
  391. package/lib/duet/{p-67eb8cc6.entry.js → p-a9b6b8d5.entry.js} +1 -1
  392. package/lib/duet/{p-eadfb5cf.entry.js → p-ab63306b.entry.js} +1 -1
  393. package/lib/duet/{p-0f69701f.system.entry.js → p-ab9b7324.system.entry.js} +1 -1
  394. package/lib/duet/{p-31a0f1fe.entry.js → p-ac09ef10.entry.js} +1 -1
  395. package/lib/duet/{p-1ddd6fc8.system.entry.js → p-ac6f456f.system.entry.js} +1 -1
  396. package/lib/duet/{p-81ec9b35.system.entry.js → p-b2af386a.system.entry.js} +1 -1
  397. package/lib/duet/{p-808eb713.entry.js → p-b2d010fa.entry.js} +1 -1
  398. package/lib/duet/{p-bb174891.system.entry.js → p-b627091f.system.entry.js} +1 -1
  399. package/lib/duet/{p-c796c3f4.entry.js → p-b7be1375.entry.js} +1 -1
  400. package/lib/duet/{p-d96c1564.js → p-b9157c7e.js} +1 -1
  401. package/lib/duet/{p-717013b6.system.entry.js → p-b931d3fa.system.entry.js} +1 -1
  402. package/lib/duet/{p-47b9ebfc.entry.js → p-bc7e75a7.entry.js} +1 -1
  403. package/lib/duet/{p-a080b5ee.system.entry.js → p-bdbe3e35.system.entry.js} +1 -1
  404. package/lib/duet/{p-e42e3a8a.system.entry.js → p-be3bf41a.system.entry.js} +2 -2
  405. package/lib/duet/{p-60cd790e.entry.js → p-c1e6dcf6.entry.js} +1 -1
  406. package/lib/duet/p-c34e419e.system.entry.js +4 -0
  407. package/lib/duet/{p-06570fbf.js → p-c45c621f.js} +1 -1
  408. package/lib/duet/{p-4e431ff6.entry.js → p-c65851ca.entry.js} +1 -1
  409. package/lib/duet/{p-1ef2844f.entry.js → p-c6b5368b.entry.js} +1 -1
  410. package/lib/duet/{p-84b2e3f0.system.entry.js → p-c73db725.system.entry.js} +1 -1
  411. package/lib/duet/{p-4534b63a.entry.js → p-c9a6ad4d.entry.js} +1 -1
  412. package/lib/duet/{p-3d0b9e59.entry.js → p-cbbe6410.entry.js} +1 -1
  413. package/lib/duet/p-ccdff614.js +4 -0
  414. package/lib/duet/{p-adb4f00d.system.entry.js → p-cd13fb8f.system.entry.js} +1 -1
  415. package/lib/duet/{p-752eccd9.system.entry.js → p-ce0ffc6e.system.entry.js} +1 -1
  416. package/lib/duet/{p-45cb0078.system.entry.js → p-ce50e4c0.system.entry.js} +1 -1
  417. package/lib/duet/{p-5eed2113.entry.js → p-cf6c967a.entry.js} +1 -1
  418. package/lib/duet/{p-6a410f49.system.entry.js → p-d053b6be.system.entry.js} +1 -1
  419. package/lib/duet/{p-7e877080.system.entry.js → p-d125d287.system.entry.js} +1 -1
  420. package/lib/duet/{p-dac54475.entry.js → p-d189500a.entry.js} +1 -1
  421. package/lib/duet/{p-3a39dd19.system.entry.js → p-d1a42e5b.system.entry.js} +1 -1
  422. package/lib/duet/{p-e6a69686.entry.js → p-d206ba69.entry.js} +1 -1
  423. package/lib/duet/{p-2ab62956.system.entry.js → p-d26b9e1f.system.entry.js} +1 -1
  424. package/lib/duet/{p-9a868a09.entry.js → p-d6938dce.entry.js} +1 -1
  425. package/lib/duet/{p-a51fc564.entry.js → p-d94c8c20.entry.js} +1 -1
  426. package/lib/duet/{p-af129095.system.entry.js → p-db09c828.system.entry.js} +1 -1
  427. package/lib/duet/{p-e10553a8.entry.js → p-dba6c1ee.entry.js} +1 -1
  428. package/lib/duet/p-dc4697ce.system.entry.js +4 -0
  429. package/lib/duet/{p-c0fc230e.system.entry.js → p-e0aa8284.system.entry.js} +1 -1
  430. package/lib/duet/p-e0e5597f.entry.js +4 -0
  431. package/lib/duet/p-e12b3d60.system.js +4 -0
  432. package/lib/duet/{p-f7105228.system.entry.js → p-e4231291.system.entry.js} +1 -1
  433. package/lib/duet/{p-bb01e446.system.entry.js → p-e50ab4d3.system.entry.js} +1 -1
  434. package/lib/duet/{p-a4fd3204.js → p-e5c0b71a.js} +1 -1
  435. package/lib/duet/{p-f5aacbf9.entry.js → p-e836814b.entry.js} +1 -1
  436. package/lib/duet/{p-951d1081.entry.js → p-ea5bad4c.entry.js} +1 -1
  437. package/lib/duet/p-eadbc1cf.entry.js +4 -0
  438. package/lib/duet/{p-3487783b.system.entry.js → p-ecf9b56e.system.entry.js} +1 -1
  439. package/lib/duet/{p-eb0e33f2.system.entry.js → p-edd0d41d.system.entry.js} +1 -1
  440. package/lib/duet/{p-61a28f2c.system.entry.js → p-ee9d7b51.system.entry.js} +1 -1
  441. package/lib/duet/{p-b2196a24.system.entry.js → p-f08a7552.system.entry.js} +1 -1
  442. package/lib/duet/{p-2417aad9.system.entry.js → p-f1faaa0b.system.entry.js} +1 -1
  443. package/lib/duet/p-f42c2d6e.system.js +4 -0
  444. package/lib/duet/{p-ac03e45a.entry.js → p-f587e799.entry.js} +1 -1
  445. package/lib/duet/{p-cd5dba94.system.entry.js → p-f781276f.system.entry.js} +1 -1
  446. package/lib/duet/{p-9ee5583e.entry.js → p-f7e4069c.entry.js} +1 -1
  447. package/lib/duet/{p-38dfb538.system.entry.js → p-f81647e9.system.entry.js} +1 -1
  448. package/lib/duet/{p-3a7a6906.entry.js → p-f866c944.entry.js} +1 -1
  449. package/lib/duet/{p-58aec0bf.entry.js → p-fb6a8b36.entry.js} +1 -1
  450. package/lib/duet/p-fee4d237.system.entry.js +4 -0
  451. package/lib/esm/duet-action-button.entry.js +3 -3
  452. package/lib/esm/duet-alert.entry.js +1 -1
  453. package/lib/esm/duet-badge.entry.js +1 -1
  454. package/lib/esm/duet-banner.entry.js +4 -4
  455. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  456. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  457. package/lib/esm/duet-button_2.entry.js +12 -8
  458. package/lib/esm/duet-callout.entry.js +1 -1
  459. package/lib/esm/duet-caption_4.entry.js +3 -3
  460. package/lib/esm/duet-card.entry.js +3 -3
  461. package/lib/esm/duet-checkbox.entry.js +1 -1
  462. package/lib/esm/duet-checkmark.entry.js +1 -1
  463. package/lib/esm/duet-chip.entry.js +1 -1
  464. package/lib/esm/duet-choice_2.entry.js +2 -2
  465. package/lib/esm/duet-collapsible.entry.js +2 -2
  466. package/lib/esm/duet-combobox.entry.js +1 -1
  467. package/lib/esm/duet-contact-card.entry.js +2 -2
  468. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  469. package/lib/esm/duet-date-picker.entry.js +2 -2
  470. package/lib/esm/duet-divider_2.entry.js +3 -3
  471. package/lib/esm/duet-editable-table_3.entry.js +3 -3
  472. package/lib/esm/duet-empty-state.entry.js +1 -1
  473. package/lib/esm/duet-fieldset.entry.js +1 -1
  474. package/lib/esm/duet-file-chooser.entry.js +1 -1
  475. package/lib/esm/duet-footer.entry.js +2 -2
  476. package/lib/esm/duet-grid_2.entry.js +2 -2
  477. package/lib/esm/duet-header_2.entry.js +3 -3
  478. package/lib/esm/duet-hero.entry.js +1 -1
  479. package/lib/esm/duet-icon.entry.js +3 -3
  480. package/lib/esm/duet-input_2.entry.js +6 -2
  481. package/lib/esm/duet-layout.entry.js +1 -1
  482. package/lib/esm/duet-list_2.entry.js +2 -2
  483. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  484. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  485. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  486. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  487. package/lib/esm/duet-menu-bar.entry.js +2 -2
  488. package/lib/esm/duet-modal.entry.js +3 -3
  489. package/lib/esm/duet-multiselect.entry.js +3 -3
  490. package/lib/esm/duet-nav.entry.js +1 -1
  491. package/lib/esm/duet-notification_2.entry.js +1 -1
  492. package/lib/esm/duet-number-input.entry.js +1 -1
  493. package/lib/esm/duet-page-heading.entry.js +1 -1
  494. package/lib/esm/duet-pagination_2.entry.js +3 -3
  495. package/lib/esm/duet-popup-menu-item.entry.js +4 -3
  496. package/lib/esm/duet-popup-menu.entry.js +3 -3
  497. package/lib/esm/duet-progress.entry.js +1 -1
  498. package/lib/esm/duet-promo-card.entry.js +3 -3
  499. package/lib/esm/duet-radio_2.entry.js +1 -1
  500. package/lib/esm/duet-range-slider.entry.js +2 -2
  501. package/lib/esm/duet-scrollable_3.entry.js +3 -3
  502. package/lib/esm/duet-section-layout.entry.js +1 -1
  503. package/lib/esm/duet-select.entry.js +1 -1
  504. package/lib/esm/duet-shaped-image.entry.js +1 -1
  505. package/lib/esm/duet-show-more.entry.js +1 -1
  506. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  507. package/lib/esm/duet-slideout-link.entry.js +1 -1
  508. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  509. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  510. package/lib/esm/duet-slideout.entry.js +8 -7
  511. package/lib/esm/duet-step_2.entry.js +1 -1
  512. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  513. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  514. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  515. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  516. package/lib/esm/duet-textarea.entry.js +1 -1
  517. package/lib/esm/duet-toggle.entry.js +1 -1
  518. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  519. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  520. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  521. package/lib/esm/duet-toolbar.entry.js +1 -1
  522. package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
  523. package/lib/esm/duet-tooltip.entry.js +2 -2
  524. package/lib/esm/duet-tray.entry.js +2 -2
  525. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  526. package/lib/esm/duet-upload-item.entry.js +1 -1
  527. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  528. package/lib/esm/duet.js +3 -3
  529. package/lib/esm/{focus-utils-270bf5da.js → focus-utils-8f59f0fc.js} +1 -1
  530. package/lib/esm/{index-d7bdcdc1.js → index-6a5abb95.js} +1 -1
  531. package/lib/esm/loader.js +3 -3
  532. package/lib/esm/{teleport-691e534d.js → teleport-d66d62e4.js} +2 -2
  533. package/lib/esm/{token-utils-84d66351.js → token-utils-ece867a8.js} +1 -1
  534. package/lib/{dist-custom-elements/p-0cc51aa5.js → esm/tokens-04106a43.js} +4 -1
  535. package/lib/esm/{tokens.module-16569707.js → tokens.module-7a2f9c49.js} +3 -1
  536. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  537. package/lib/esm-es5/duet-alert.entry.js +1 -1
  538. package/lib/esm-es5/duet-badge.entry.js +1 -1
  539. package/lib/esm-es5/duet-banner.entry.js +1 -1
  540. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  541. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  542. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  543. package/lib/esm-es5/duet-callout.entry.js +1 -1
  544. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  545. package/lib/esm-es5/duet-card.entry.js +1 -1
  546. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  547. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  548. package/lib/esm-es5/duet-chip.entry.js +1 -1
  549. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  550. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  551. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  552. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  553. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  554. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  555. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  556. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  557. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  558. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  559. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  560. package/lib/esm-es5/duet-footer.entry.js +1 -1
  561. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  562. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  563. package/lib/esm-es5/duet-hero.entry.js +1 -1
  564. package/lib/esm-es5/duet-icon.entry.js +2 -2
  565. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  566. package/lib/esm-es5/duet-layout.entry.js +1 -1
  567. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  568. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  569. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  570. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  571. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  572. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  573. package/lib/esm-es5/duet-modal.entry.js +1 -1
  574. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  575. package/lib/esm-es5/duet-nav.entry.js +1 -1
  576. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  577. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  578. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  579. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  580. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  581. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  582. package/lib/esm-es5/duet-progress.entry.js +1 -1
  583. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  584. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  585. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  586. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  587. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  588. package/lib/esm-es5/duet-select.entry.js +1 -1
  589. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  590. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  591. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  592. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  593. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  594. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  595. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  596. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  597. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  598. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  599. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  600. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  601. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  602. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  603. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  604. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  605. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  606. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  607. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  608. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  609. package/lib/esm-es5/duet-tray.entry.js +1 -1
  610. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  611. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  612. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  613. package/lib/esm-es5/duet.js +1 -1
  614. package/lib/esm-es5/{focus-utils-270bf5da.js → focus-utils-8f59f0fc.js} +1 -1
  615. package/lib/esm-es5/{index-d7bdcdc1.js → index-6a5abb95.js} +1 -1
  616. package/lib/esm-es5/loader.js +1 -1
  617. package/lib/esm-es5/teleport-d66d62e4.js +4 -0
  618. package/lib/esm-es5/{token-utils-84d66351.js → token-utils-ece867a8.js} +1 -1
  619. package/lib/esm-es5/tokens-04106a43.js +4 -0
  620. package/lib/esm-es5/tokens.module-7a2f9c49.js +4 -0
  621. package/lib/types/components/duet-button/duet-button.d.ts +2 -2
  622. package/lib/types/components/duet-heading/duet-heading.d.ts +1 -1
  623. package/lib/types/components/duet-label/duet-label.d.ts +6 -1
  624. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +5 -1
  625. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -0
  626. package/lib/types/components.d.ts +28 -4
  627. package/package.json +9 -6
  628. package/lib/dist-custom-elements/p-d8f01eb9.js +0 -301
  629. package/lib/dist-custom-elements/p-dab34418.js +0 -49
  630. package/lib/duet/p-0d80334c.entry.js +0 -4
  631. package/lib/duet/p-1a716787.entry.js +0 -4
  632. package/lib/duet/p-43cccc70.entry.js +0 -4
  633. package/lib/duet/p-52e711b6.system.js +0 -4
  634. package/lib/duet/p-6d5e9d4d.entry.js +0 -4
  635. package/lib/duet/p-751344b2.js +0 -4
  636. package/lib/duet/p-854ca73a.system.entry.js +0 -4
  637. package/lib/duet/p-8eaaef1c.system.js +0 -4
  638. package/lib/duet/p-994f3966.system.entry.js +0 -4
  639. package/lib/duet/p-a68b58e6.js +0 -4
  640. package/lib/duet/p-a881dcee.system.entry.js +0 -4
  641. package/lib/duet/p-ab04f0b5.system.js +0 -4
  642. package/lib/duet/p-ae0edbf0.system.entry.js +0 -4
  643. package/lib/duet/p-b59a6d4c.system.entry.js +0 -4
  644. package/lib/duet/p-b985bcf7.system.js +0 -4
  645. package/lib/duet/p-be2d339f.system.entry.js +0 -4
  646. package/lib/duet/p-e5514a5b.entry.js +0 -4
  647. package/lib/duet/p-eb892ea8.entry.js +0 -4
  648. package/lib/duet/p-eccd38da.system.js +0 -4
  649. package/lib/duet/p-f1c23c0a.entry.js +0 -4
  650. package/lib/duet/p-f662ac7c.system.entry.js +0 -4
  651. package/lib/duet/p-fa25a512.entry.js +0 -4
  652. package/lib/esm-es5/teleport-691e534d.js +0 -4
  653. package/lib/esm-es5/tokens-5a0d14c7.js +0 -4
  654. package/lib/esm-es5/tokens.module-16569707.js +0 -4
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,n,s){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function o(t){try{u(s.next(t))}catch(t){r(t)}}function a(t){try{u(s["throw"](t))}catch(t){r(t)}}function u(t){t.done?n(t.value):i(t.value).then(o,a)}u((s=s.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,i,r,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return u([t,e])}}function u(a){if(s)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(n=0)),n)try{if(s=1,i&&(r=a[0]&2?i["return"]:a[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;if(i=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){n.label=a[1];break}if(a[0]===6&&n.label<r[1]){n.label=r[1];r=a;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(a);break}if(r[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];i=0}finally{s=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-e42e59a8.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-5795b0d9.system.js"],(function(t){"use strict";var e,n,s,i,r,o,a,u,d,p;return{setters:[function(t){e=t.r;n=t.c;s=t.h;i=t.g;r=t.H},function(t){o=t.i},function(t){a=t.c},function(t){u=t.i;d=t.s;p=t.u}],execute:function(){var c={title:"action-edit-2",tags:"action edit 2 pen pencil",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'};var h='*.sc-duet-step,*.sc-duet-step::after,*.sc-duet-step::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-step-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-step.sc-duet-step{padding:20px !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:600;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.duet-theme-turva.sc-duet-step{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top.sc-duet-step{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom.sc-duet-step{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom.sc-duet-step{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step.sc-duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading.sc-duet-step{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false].sc-duet-step{cursor:pointer}.duet-step-heading.sc-duet-step:focus{outline:0}.duet-step-heading.sc-duet-step:active{opacity:0.75}.user-is-tabbing.sc-duet-step-h .duet-step-heading.sc-duet-step:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-step-h .duet-theme-turva.sc-duet-step .duet-step-heading.sc-duet-step:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step,.is-disabled.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step{background-color:#005f8f}.duet-theme-turva.is-complete.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step,.duet-theme-turva.is-disabled.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step{background-color:#9e0a26}.is-current.sc-duet-step .duet-step-heading.sc-duet-step{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading.sc-duet-step{margin-top:8px;margin-bottom:8px !important}.sc-duet-step-h:first-of-type .duet-step-heading.sc-duet-step{margin-top:0}.sc-duet-step-h:last-of-type .duet-step-heading.sc-duet-step{margin-bottom:0 !important}}.duet-step-counter.sc-duet-step{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter.sc-duet-step{width:40px;height:40px;line-height:40px}}.is-complete.sc-duet-step .duet-step-counter.sc-duet-step,.is-current.sc-duet-step .duet-step-counter.sc-duet-step,.is-disabled.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete.sc-duet-step .duet-step-counter.sc-duet-step,.duet-theme-turva.is-current.sc-duet-step .duet-step-counter.sc-duet-step,.duet-theme-turva.is-disabled.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(198, 12, 48)}.is-incomplete.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(101, 119, 135)}.duet-theme-turva.is-incomplete.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(116, 116, 117)}.duet-step-icon.sc-duet-step{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon.sc-duet-step{width:20px;height:20px}}.duet-step-icon.sc-duet-step duet-icon.sc-duet-step{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon.sc-duet-step duet-icon.sc-duet-step{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper.sc-duet-step{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(225, 227, 230)}.duet-theme-turva.sc-duet-step .duet-step-content-wrapper.sc-duet-step{border-color:rgb(228, 228, 230)}.sc-duet-step-h:last-of-type .duet-step-content-wrapper.sc-duet-step{min-height:0;border:transparent}}.duet-step-content.sc-duet-step{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content.sc-duet-step{padding-bottom:28px}}.is-current.sc-duet-step .duet-step-content.sc-duet-step{display:block}.duet-step-heading-slot.sc-duet-step{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot.sc-duet-step{display:block}}';var l=t("duet_step",function(){function t(t){var s=this;e(this,t);this.duetStepClick=n(this,"duetStepClick",7);this.buttonId=a("DuetStepButton");this.contentId=a("DuetStepContent");this.handleKeyDown=function(t){if(s.isClickDisabled()){return}if(u(t)){t.preventDefault();s.handleStepClick(t)}};this.handleClick=function(t){if(s.isClickDisabled()){return}s.handleStepClick(t)};this.theme="";this.heading=undefined;this.headingLevel=undefined;this.stepIndex=undefined;this.state=undefined;this.roundedTop=false;this.roundedBottom=false}t.prototype.handleStepClick=function(t){this.duetStepClick.emit({originalEvent:t,component:"duet-step",stepIndex:this.stepIndex})};t.prototype.componentWillLoad=function(){o(this)};t.prototype.connectedCallback=function(){d(this)};t.prototype.disconnectedCallback=function(){p(this)};t.prototype.setFocus=function(t){if(t===void 0){t={preventScroll:true}}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.buttonElement.focus(t);return[2]}))}))};t.prototype.isClickDisabled=function(){return this.state!=="complete"};t.prototype.headingColor=function(){if(this.state!=="incomplete"){return""}if(this.theme!=="turva"){return"gray-darker"}else{return"gray-dark-turva"}};t.prototype.renderStepCounter=function(){if(this.state==="complete"||this.state==="disabled"){return s("div",{class:"duet-step-icon"},s("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:c.svg}))}return"".concat(this.stepIndex+1," ")};t.prototype.render=function(){var t;var e=this;return s("div",{class:(t={"duet-step":true},t["is-".concat(this.state)]=true,t["rounded-top"]=this.roundedTop,t["rounded-bottom"]=this.roundedBottom,t["duet-theme-turva"]=this.theme==="turva",t)},s("div",{class:"duet-step-heading",id:this.buttonId,role:this.state!=="current"?"button":"region","aria-current":this.state==="current"?"step":undefined,tabindex:this.state!=="current"?"0":undefined,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":(this.state==="current").toString(),"aria-controls":this.contentId,"aria-selected":(this.state==="current").toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){return e.buttonElement=t}},s("div",{"aria-hidden":"true"},s("div",{class:"duet-step-counter"},this.renderStepCounter())),s("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),s("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),s("div",null,s("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),s("duet-spacer",{direction:"horizontal",size:"large"}),s("div",{class:"duet-step-heading-slot"},s("slot",{name:"heading-content"}))),s("div",{class:"duet-step-content-wrapper"},s("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},s("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());l.style=h;function m(t,e){var n={};e.forEach((function(e){var s=e[t];if(!n[s]){n[s]=[]}n[s].push(e)}));return n}var g=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";var b=t("duet_stepper",function(){function t(t){e(this,t);this.duetStepChange=n(this,"duetStepChange",7);this.theme="";this.accessibleLive="Lista jossa {total} kohtaa. Olet kohdassa {current}.";this.margin="auto";this.backDisabled=false;this.selected=0}t.prototype.currentStepChanged=function(t){var e=this;if(isNaN(t)){throw new Error("step must be a number. got: ".concat(t))}if(t<0){throw new Error("step must be not be less than zero. got: ".concat(t))}if(t>this.getSteps().length){throw new Error("step must not exceed total number of steps")}this.updateStepState();setTimeout((function(){return e.setStepFocus()}),50)};t.prototype.currentStepInvokedDisable=function(){this.updateStepState()};t.prototype.onDuetStepClick=function(t){this.duetStepChange.emit({fromStep:this.selected,toStep:t.detail.stepIndex,component:"duet-stepper"})};t.prototype.componentWillLoad=function(){o(this)};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.updateStepState();return[2]}))}))};t.prototype.getSteps=function(){return Array.from(this.element.querySelectorAll("duet-step"))};t.prototype.setStepFocus=function(){var t=this.getSteps();var e=t[this.selected];e.setFocus()};t.prototype.updateStepState=function(){var t=this;var e=this.getSteps();e.forEach((function(e,n){var s;if(n<t.selected){s=t.backDisabled?"disabled":"complete"}else if(n>t.selected){s="incomplete"}else{s="current"}e.theme=t.theme;e.state=s;e.stepIndex=n}));var n=m("state",e);Object.values(n).forEach((function(t){t.forEach((function(e,n){e.roundedTop=n===0;e.roundedBottom=n===t.length-1}))}))};t.prototype.formatAnnouncement=function(){var t=this.getSteps();var e=(this.selected+1).toString(10);var n=t.length.toString(10);return this.accessibleLive.replace("{current}",e).replace("{total}",n)};t.prototype.render=function(){return s(r,{class:{"duet-m-0":this.margin==="none"}},s("div",{class:{"duet-stepper":true,"duet-theme-turva":this.theme==="turva"}},s("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),s("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}},enumerable:false,configurable:true});return t}());b.style=g}}}));
4
+ */System.register(["./p-45a16be3.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-5795b0d9.system.js"],(function(t){"use strict";var e,n,s,i,r,o,a,u,d,p;return{setters:[function(t){e=t.r;n=t.c;s=t.h;i=t.g;r=t.H},function(t){o=t.i},function(t){a=t.c},function(t){u=t.i;d=t.s;p=t.u}],execute:function(){var c={title:"action-edit-2",tags:"action edit 2 pen pencil",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'};var h='*.sc-duet-step,*.sc-duet-step::after,*.sc-duet-step::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-step-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-step.sc-duet-step{padding:20px !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:600;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.duet-theme-turva.sc-duet-step{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top.sc-duet-step{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom.sc-duet-step{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom.sc-duet-step{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step.sc-duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading.sc-duet-step{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false].sc-duet-step{cursor:pointer}.duet-step-heading.sc-duet-step:focus{outline:0}.duet-step-heading.sc-duet-step:active{opacity:0.75}.user-is-tabbing.sc-duet-step-h .duet-step-heading.sc-duet-step:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-step-h .duet-theme-turva.sc-duet-step .duet-step-heading.sc-duet-step:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step,.is-disabled.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step{background-color:#005f8f}.duet-theme-turva.is-complete.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step,.duet-theme-turva.is-disabled.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step{background-color:#9e0a26}.is-current.sc-duet-step .duet-step-heading.sc-duet-step{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading.sc-duet-step{margin-top:8px;margin-bottom:8px !important}.sc-duet-step-h:first-of-type .duet-step-heading.sc-duet-step{margin-top:0}.sc-duet-step-h:last-of-type .duet-step-heading.sc-duet-step{margin-bottom:0 !important}}.duet-step-counter.sc-duet-step{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter.sc-duet-step{width:40px;height:40px;line-height:40px}}.is-complete.sc-duet-step .duet-step-counter.sc-duet-step,.is-current.sc-duet-step .duet-step-counter.sc-duet-step,.is-disabled.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete.sc-duet-step .duet-step-counter.sc-duet-step,.duet-theme-turva.is-current.sc-duet-step .duet-step-counter.sc-duet-step,.duet-theme-turva.is-disabled.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(198, 12, 48)}.is-incomplete.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(101, 119, 135)}.duet-theme-turva.is-incomplete.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(116, 116, 117)}.duet-step-icon.sc-duet-step{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon.sc-duet-step{width:20px;height:20px}}.duet-step-icon.sc-duet-step duet-icon.sc-duet-step{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon.sc-duet-step duet-icon.sc-duet-step{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper.sc-duet-step{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(225, 227, 230)}.duet-theme-turva.sc-duet-step .duet-step-content-wrapper.sc-duet-step{border-color:rgb(228, 228, 230)}.sc-duet-step-h:last-of-type .duet-step-content-wrapper.sc-duet-step{min-height:0;border:transparent}}.duet-step-content.sc-duet-step{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content.sc-duet-step{padding-bottom:28px}}.is-current.sc-duet-step .duet-step-content.sc-duet-step{display:block}.duet-step-heading-slot.sc-duet-step{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot.sc-duet-step{display:block}}';var l=t("duet_step",function(){function t(t){var s=this;e(this,t);this.duetStepClick=n(this,"duetStepClick",7);this.buttonId=a("DuetStepButton");this.contentId=a("DuetStepContent");this.handleKeyDown=function(t){if(s.isClickDisabled()){return}if(u(t)){t.preventDefault();s.handleStepClick(t)}};this.handleClick=function(t){if(s.isClickDisabled()){return}s.handleStepClick(t)};this.theme="";this.heading=undefined;this.headingLevel=undefined;this.stepIndex=undefined;this.state=undefined;this.roundedTop=false;this.roundedBottom=false}t.prototype.handleStepClick=function(t){this.duetStepClick.emit({originalEvent:t,component:"duet-step",stepIndex:this.stepIndex})};t.prototype.componentWillLoad=function(){o(this)};t.prototype.connectedCallback=function(){d(this)};t.prototype.disconnectedCallback=function(){p(this)};t.prototype.setFocus=function(t){if(t===void 0){t={preventScroll:true}}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.buttonElement.focus(t);return[2]}))}))};t.prototype.isClickDisabled=function(){return this.state!=="complete"};t.prototype.headingColor=function(){if(this.state!=="incomplete"){return""}if(this.theme!=="turva"){return"gray-darker"}else{return"gray-dark-turva"}};t.prototype.renderStepCounter=function(){if(this.state==="complete"||this.state==="disabled"){return s("div",{class:"duet-step-icon"},s("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:c.svg}))}return"".concat(this.stepIndex+1," ")};t.prototype.render=function(){var t;var e=this;return s("div",{class:(t={"duet-step":true},t["is-".concat(this.state)]=true,t["rounded-top"]=this.roundedTop,t["rounded-bottom"]=this.roundedBottom,t["duet-theme-turva"]=this.theme==="turva",t)},s("div",{class:"duet-step-heading",id:this.buttonId,role:this.state!=="current"?"button":"region","aria-current":this.state==="current"?"step":undefined,tabindex:this.state!=="current"?"0":undefined,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":(this.state==="current").toString(),"aria-controls":this.contentId,"aria-selected":(this.state==="current").toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){return e.buttonElement=t}},s("div",{"aria-hidden":"true"},s("div",{class:"duet-step-counter"},this.renderStepCounter())),s("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),s("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),s("div",null,s("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),s("duet-spacer",{direction:"horizontal",size:"large"}),s("div",{class:"duet-step-heading-slot"},s("slot",{name:"heading-content"}))),s("div",{class:"duet-step-content-wrapper"},s("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},s("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());l.style=h;function m(t,e){var n={};e.forEach((function(e){var s=e[t];if(!n[s]){n[s]=[]}n[s].push(e)}));return n}var g=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";var b=t("duet_stepper",function(){function t(t){e(this,t);this.duetStepChange=n(this,"duetStepChange",7);this.theme="";this.accessibleLive="Lista jossa {total} kohtaa. Olet kohdassa {current}.";this.margin="auto";this.backDisabled=false;this.selected=0}t.prototype.currentStepChanged=function(t){var e=this;if(isNaN(t)){throw new Error("step must be a number. got: ".concat(t))}if(t<0){throw new Error("step must be not be less than zero. got: ".concat(t))}if(t>this.getSteps().length){throw new Error("step must not exceed total number of steps")}this.updateStepState();setTimeout((function(){return e.setStepFocus()}),50)};t.prototype.currentStepInvokedDisable=function(){this.updateStepState()};t.prototype.onDuetStepClick=function(t){this.duetStepChange.emit({fromStep:this.selected,toStep:t.detail.stepIndex,component:"duet-stepper"})};t.prototype.componentWillLoad=function(){o(this)};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.updateStepState();return[2]}))}))};t.prototype.getSteps=function(){return Array.from(this.element.querySelectorAll("duet-step"))};t.prototype.setStepFocus=function(){var t=this.getSteps();var e=t[this.selected];e.setFocus()};t.prototype.updateStepState=function(){var t=this;var e=this.getSteps();e.forEach((function(e,n){var s;if(n<t.selected){s=t.backDisabled?"disabled":"complete"}else if(n>t.selected){s="incomplete"}else{s="current"}e.theme=t.theme;e.state=s;e.stepIndex=n}));var n=m("state",e);Object.values(n).forEach((function(t){t.forEach((function(e,n){e.roundedTop=n===0;e.roundedBottom=n===t.length-1}))}))};t.prototype.formatAnnouncement=function(){var t=this.getSteps();var e=(this.selected+1).toString(10);var n=t.length.toString(10);return this.accessibleLive.replace("{current}",e).replace("{total}",n)};t.prototype.render=function(){return s(r,{class:{"duet-m-0":this.margin==="none"}},s("div",{class:{"duet-stepper":true,"duet-theme-turva":this.theme==="turva"}},s("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),s("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}},enumerable:false,configurable:true});return t}());b.style=g}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{h as t,r as e,H as a,g as i}from"./p-c45c621f.js";import{i as n}from"./p-a58bd561.js";import{p as o}from"./p-0e052642.js";import{g as r}from"./p-e5c0b71a.js";import"./p-b9157c7e.js";const s=({img:e,sources:a})=>t("picture",null,a&&a.map((e=>t("source",{srcSet:e.srcset,media:e.media,type:e.type,sizes:e.sizes}))),t("img",Object.assign({},e))),l=class{constructor(t){e(this,t),this.theme="",this.margin="auto",this.backgroundColor="primary-lighter",this.iconColor="gray-lightest",this.iconBackgroundColor="primary",this.textColor="secondary",this.size="auto",this.image="",this.sources=void 0,this.icon="",this.headingLevel="h2"}componentWillLoad(){n(this),this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]'),this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]'),this.hasActionSlot=!!this.element.querySelector('[slot="action"]')}render(){const e={backgroundColor:r("turva"===this.theme&&"primary-lighter"===this.backgroundColor?"gray-lighter":this.backgroundColor,this.theme)},i={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:o(this.sources)};return t(a,{class:{"duet-m-0":"none"===this.margin}},t("aside",{class:{"duet-banner":!0,"duet-theme-turva":"turva"===this.theme,[this.size]:!0},style:e},t("div",{class:"visual"},t("div",{class:"image-container"},this.image&&t(s,Object.assign({},i))),this.icon&&t("duet-icon",{theme:this.theme,class:"icon",name:this.icon,shape:"brand",size:"xx-large",color:this.iconColor,background:this.iconBackgroundColor,"background-rotation":"7","background-opacity":"0.85",margin:"none"})),t("div",{class:"content"},this.hasHeadingSlot&&t("div",{class:"heading"},t("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h2",margin:"none",color:this.textColor},t("div",null,t("slot",{name:"heading"})))),this.hasDescriptionSlot&&t("div",{class:"description"},t("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},t("div",null,t("slot",{name:"description"})))),this.hasActionSlot&&t("div",{class:"action"},t("slot",{name:"action"})))))}get element(){return i(this)}};l.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;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height: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-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.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"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}';export{l as duet_banner}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-e42e59a8.system.js","./p-50f4bca2.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var t,n,o,a,i,s,r,l,c;return{setters:[function(e){t=e.r;n=e.h;o=e.H;a=e.g},function(e){i=e.i},function(e){s=e.a;r=e.c;l=e.d;c=e.g},function(){}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:15%;right:-16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:16px;font-weight:600;line-height:150%;color:rgb(0, 41, 77);content:"|"}.duet-theme-turva ::slotted(:not(:last-child))::after{color:rgb(23, 28, 58)}';var p=e("duet_slideout_lang",function(){function e(e){t(this,e);this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"};this.language=s();this.theme=""}e.prototype.componentWillLoad=function(){i(this)};e.prototype.connectedCallback=function(){r(this)};e.prototype.disconnectedCallback=function(){l(this)};e.prototype.render=function(){var e=c(this.chooseLangObject);return n(o,null,n("div",{class:"duet-slideout-lang",role:"group","aria-label":e},n("duet-icon",{name:"navigation-language",margin:"none",color:"secondary"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());p.style=u}}}));
4
+ System.register(["./p-45a16be3.system.js","./p-50f4bca2.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var t,n,o,a,i,s,r,l,c;return{setters:[function(e){t=e.r;n=e.h;o=e.H;a=e.g},function(e){i=e.i},function(e){s=e.a;r=e.c;l=e.d;c=e.g},function(){}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:15%;right:-16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:16px;font-weight:600;line-height:150%;color:rgb(0, 41, 77);content:"|"}.duet-theme-turva ::slotted(:not(:last-child))::after{color:rgb(23, 28, 58)}';var p=e("duet_slideout_lang",function(){function e(e){t(this,e);this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"};this.language=s();this.theme=""}e.prototype.componentWillLoad=function(){i(this)};e.prototype.connectedCallback=function(){r(this)};e.prototype.disconnectedCallback=function(){l(this)};e.prototype.render=function(){var e=c(this.chooseLangObject);return n(o,null,n("div",{class:"duet-slideout-lang",role:"group","aria-label":e},n("duet-icon",{name:"navigation-language",margin:"none",color:"secondary"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());p.style=u}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as i,h as e,F as a,H as s,g as n}from"./p-06570fbf.js";import{i as o}from"./p-a58bd561.js";import{c as r}from"./p-5e59e970.js";import{d as h}from"./p-9e371678.js";import{k as l,l as p,d,b as u,a as c,c as g,m,n as b}from"./p-2bb2b022.js";import{g as v,c as f,d as k}from"./p-2e36d5bf.js";import{p as y}from"./p-0e052642.js";import{b as w,a as x}from"./p-a4fd3204.js";import"./p-d96c1564.js";const S=class{constructor(e){t(this,e),this.duetPageChange=i(this,"duetPageChange",3),this.listId=r("duet-pagination-list"),this.firstRenderDone=!1,this.handleMediaQueryChange=t=>{this.matchesCompactBreakpoint=w.includes(this.compactBreakpoint)?t.matches:!t.matches},this.actionChain=async(t,i)=>{if(0===t)this.current=1;else if(t>this.totalPages)this.current=this.totalPages;else if(i!==t){const i=Math.ceil(t/this.visibleItems)-1;i!==this.internalSectionIndex&&(this.internalSectionIndex=i,await this.setFocus())}return!0},this.emitPageEvent=(t,i)=>{const e=Number(i||this.current);this.duetPageChange.emit({component:"duet-pagination",from:e*this.take,to:e*this.take+this.take,current:e,take:this.take,type:"page",originalEvent:t})},this.getEnteredNumber=h((t=>{this.emitPageEvent(t,this.numbersStore),this.current=Number(this.numbersStore),this.numbersStore="",this.duetPageChange.emit({component:"duet-pagination",from:this.current*this.take,to:this.current*this.take+this.take,current:this.current,take:this.take,type:"jump",originalEvent:t})}),500),this.processedPageLinks=null,this.numbersStore="",this.matchesCompactBreakpoint=!1,this.totalPages=10,this.internalSectionIndex=0,this.theme="",this.variation="default",this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}},this.accessibleLabels=v(this.accessibleLabelsDefaults),this.take=5,this.visibleItems=5,this.total=1e3,this.compactBreakpoint="x-small",this.ariaControls="",this.current=1,this.pageLinks=void 0}watchPropTotalHandler(){return this.calculatePageTake(),!0}watchStateHandler(t,i){return this.actionChain(t,i)}componentWillLoad(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1,this.calculatePageTake(),o(this),this.refresh()}componentDidLoad(){this.firstRenderDone=!0}componentWillRender(){0!==this.internalSectionIndex&&this.internalSectionIndex!==this.totalPages&&this.calculatePageTake()}componentDidRender(){this.firstRenderDone&&!this.processedPageLinks&&this.setFocus()}connectedCallback(){this.mq=matchMedia("none"===this.compactBreakpoint?"all":x[this.compactBreakpoint]),this.mq.addEventListener("change",h(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),f(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){this.mq.removeEventListener("change",this.handleMediaQueryChange),this.mq=null,this.matchesCompactBreakpoint=!1,k(this)}async refresh(){this.processedPageLinks=y(this.pageLinks)}calculatePageTake(){this.totalPages=Math.ceil(this.total/this.take)}async onMouseHandler(t,i){this.processedPageLinks||(t.preventDefault(),t.stopPropagation(),this.current=this.current+i),this.emitPageEvent(t)}async onKeyboardDown(t){let i=this.current;(d(t)||u(t))&&i--,(c(t)||g(t))&&i++,l(t)&&i<=this.totalPages&&(this.current=i,this.processedPageLinks?(this.emitPageEvent(t,i-1),window.open(this.processedPageLinks[i-1],"_self","")):this.emitPageEvent(t)),p(t)&&this.shouldDisplayNavigation()&&(this.numbersStore=this.numbersStore+t.key,Number(this.numbersStore)>this.totalPages&&(this.numbersStore=this.totalPages+""),this.getEnteredNumber(t))}async setFocus(){const t=this.nativeNav.querySelector(`[data-id='${this.current}']`);t&&await t.setFocus()}pageClickHandler(t){const i=Number(t.target.getAttribute("data-id"));this.processedPageLinks||(t.preventDefault(),this.current=i),this.emitPageEvent(t,i)}selectClickHandler(t){t.preventDefault();const i=Number(t.target.value);this.current=i,this.processedPageLinks?(this.emitPageEvent(t,i-1),window.open(this.processedPageLinks[i-1],"_self","")):this.emitPageEvent(t,i)}sectionClickHandler(t,i){t.preventDefault();let e=this.internalSectionIndex+i;e*(this.take*this.visibleItems)>this.total&&(e=this.internalSectionIndex),this.internalSectionIndex=e>=0?e:0}jumpToStart(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=0,this.current=1),this.emitPageEvent(t)}jumpToEnd(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1),this.current=this.totalPages),this.emitPageEvent(t)}renderPageButton(t){return e("duet-button",{class:{"duet-pagination-link":!0},id:`page-${t}-button`,color:t!==this.current?"turva"!==this.theme?"secondary":"secondary-turva":"turva"!==this.theme?"primary":"primary-turva","data-id":t,"center-text":!0,variation:"plain",margin:"none",accessibleLabel:`${this.accessibleLabels.go_to} ${t}`,onClick:t=>this.pageClickHandler(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:void 0},e("div",{class:"duet-pagination-page-number","aria-hidden":!0},t))}renderPageNumbers(){const t=[];let i=this.internalSectionIndex*this.visibleItems;do{if(i++,i>this.totalPages)break;t.push(e("li",{class:{"duet-pagination-item":!0,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},this.renderPageButton(i)))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t}renderSelect(){const t=[];for(let i=1;i<=this.totalPages;i++)t.push({value:i.toString(),label:i.toString()});const i=e("duet-select",{theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(t),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}",`${this.totalPages}`),labelHidden:!0,onDuetChange:t=>this.selectClickHandler(t)});return e("li",null,i,e("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))}shouldDisplayNavigation(){return!("compact"===this.variation||this.matchesCompactBreakpoint||2*this.visibleItems>this.total/this.take)}render(){return e(s,{onKeyDown:t=>this.onKeyboardDown(t),class:{"duet-theme-turva":"turva"===this.theme}},e("nav",{role:"navigation","aria-labelledby":this.accessibleLabelledBy?`${this.accessibleLabelledBy} ${this.listId}`:this.listId,"aria-describedby":this.accessibleDescribedBy?`${this.accessibleDescribedBy} ${this.listId}`:this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:t=>this.nativeNav=t,"aria-controls":this.ariaControls,class:{"duet-pagination-nav":!0,[`duet-pagination-variation-${this.variation}`]:!0}},""!==this.numbersStore&&e("div",{"aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":`${this.accessibleLabels.jump_to} ${this.numbersStore}`,part:"navigation-overlay"},e("duet-badge",{theme:this.theme},"jump to page : ",this.numbersStore)),e("ol",{id:this.listId,class:{"duet-pagination":!0,"duet-pagination-is-dimmed":""!==this.numbersStore},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},("compact"===this.variation||this.matchesCompactBreakpoint)&&e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:0===this.internalSectionIndex&&this.current<=1,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0})),e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:!!(0===this.internalSectionIndex&&this.current<=1||this.current<=1&&this.processedPageLinks),"data-direction":"back",onClick:t=>this.onMouseHandler(t,-1),"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:void 0})),0!==this.internalSectionIndex&&this.shouldDisplayNavigation()&&e(a,null,e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:"turva"!==this.theme?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0},e("div",{class:"duet-pagination-page-number"},"1"))),e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,-1),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&e(a,null,(this.internalSectionIndex+1)*this.visibleItems!=this.totalPages-1&&e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,1),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:void 0},e("div",{class:"duet-pagination-page-number"},this.totalPages)))),e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks),class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:t=>this.onMouseHandler(t,1),"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:void 0})),("compact"===this.variation||this.matchesCompactBreakpoint)&&e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:void 0})))))}get element(){return n(this)}static get watchers(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}}};S.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{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:rgb(0, 41, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';const _=class{constructor(e){t(this,e),this.duetRangeStepUpdate=i(this,"duetRangeStepUpdate",7),this.leftBn=r("duetRangeStepper-left"),this.rightBn=r("duetRangeStepper-right"),this.handleClick=(t,i)=>{t.preventDefault(),this.stepIndex+=i,this.clampStepIndex(),this.handleStepClick(t)},this.theme="",this.stepIndex=1,this.stepSize=50,this.total=1e3,this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}},this.ariaLabels=v(this.ariaLabelsDefaults),this.ariaControls=""}watchStepIndexStateHandler(t){this.leftBnRef&&this.rightBnRef&&(t<=1?(this.element===document.activeElement&&this.rightBnRef.setFocus(),this.leftBnRef.setAttribute("disabled","")):this.leftBnRef.removeAttribute("disabled"),t>=this.total/this.stepSize?(this.element===document.activeElement&&this.leftBnRef.setFocus(),this.rightBnRef.setAttribute("disabled","")):this.rightBnRef.removeAttribute("disabled"))}watchStepSizeStateHandler(t,i){t!==i&&(this.stepIndex*t>this.total&&(this.stepIndex=Math.ceil(this.total/t)),this.watchStepIndexStateHandler(this.stepIndex))}handleStepClick(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})}componentWillLoad(){o(this),this.clampStepIndex()}componentDidLoad(){this.watchStepIndexStateHandler(this.stepIndex)}connectedCallback(){f(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})}disconnectedCallback(){k(this)}clampStepIndex(){this.stepIndex<1?this.stepIndex=1:this.stepIndex*this.stepSize>this.total&&(this.stepIndex=Math.ceil(this.total/this.stepSize))}getFrom(){return Math.floor((this.stepIndex-1)*this.stepSize)+1}getTo(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)}generateStepSize(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))}generatePreviousIncrementLabel(){return 1===this.getFrom()?"":this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))}generateNextIncrementLabel(){return this.getTo()===this.total?"":this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))}async onKeyboardDown(t){let i=this.stepIndex,e=1;(d(t)||u(t)||m(t))&&(i--,e=-1,this.leftBnRef.setFocus()),(c(t)||g(t)||b(t))&&(i++,e=1),l(t)&&i>0&&i*this.stepSize<=this.total&&this.handleClick(t,e)}render(){return e("div",{class:{"duet-range-stepper":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:t=>this.onKeyboardDown(t),"aria-controls":this.ariaControls},e("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),e("duet-action-button",{class:"duet-range-step-button duet-range-step-minus",onClick:t=>this.handleClick(t,-1),id:this.leftBn,"accessible-label":`${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`,ref:t=>this.leftBnRef=t,part:"navigation-arrow",iconName:"action-arrow-left-small"}),e("duet-action-button",{class:"duet-range-step-button duet-range-step-plus",onClick:t=>this.handleClick(t,1),"accessible-label":`${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`,id:this.rightBn,ref:t=>this.rightBnRef=t,part:"navigation-arrow",iconName:"action-arrow-right-small"}))}get element(){return n(this)}static get watchers(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}}};_.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(0, 41, 77)}.duet-range-stepper ::part(button){border:0}";export{S as duet_pagination,_ as duet_range_stepper}
4
+ import{r as t,c as i,h as e,F as a,H as s,g as n}from"./p-c45c621f.js";import{i as o}from"./p-a58bd561.js";import{c as r}from"./p-5e59e970.js";import{d as h}from"./p-9e371678.js";import{k as l,l as p,d,b as u,a as c,c as g,m,n as b}from"./p-2bb2b022.js";import{g as v,c as f,d as k}from"./p-2e36d5bf.js";import{p as y}from"./p-0e052642.js";import{b as w,a as x}from"./p-e5c0b71a.js";import"./p-b9157c7e.js";const S=class{constructor(e){t(this,e),this.duetPageChange=i(this,"duetPageChange",3),this.listId=r("duet-pagination-list"),this.firstRenderDone=!1,this.handleMediaQueryChange=t=>{this.matchesCompactBreakpoint=w.includes(this.compactBreakpoint)?t.matches:!t.matches},this.actionChain=async(t,i)=>{if(0===t)this.current=1;else if(t>this.totalPages)this.current=this.totalPages;else if(i!==t){const i=Math.ceil(t/this.visibleItems)-1;i!==this.internalSectionIndex&&(this.internalSectionIndex=i,await this.setFocus())}return!0},this.emitPageEvent=(t,i)=>{const e=Number(i||this.current);this.duetPageChange.emit({component:"duet-pagination",from:e*this.take,to:e*this.take+this.take,current:e,take:this.take,type:"page",originalEvent:t})},this.getEnteredNumber=h((t=>{this.emitPageEvent(t,this.numbersStore),this.current=Number(this.numbersStore),this.numbersStore="",this.duetPageChange.emit({component:"duet-pagination",from:this.current*this.take,to:this.current*this.take+this.take,current:this.current,take:this.take,type:"jump",originalEvent:t})}),500),this.processedPageLinks=null,this.numbersStore="",this.matchesCompactBreakpoint=!1,this.totalPages=10,this.internalSectionIndex=0,this.theme="",this.variation="default",this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}},this.accessibleLabels=v(this.accessibleLabelsDefaults),this.take=5,this.visibleItems=5,this.total=1e3,this.compactBreakpoint="x-small",this.ariaControls="",this.current=1,this.pageLinks=void 0}watchPropTotalHandler(){return this.calculatePageTake(),!0}watchStateHandler(t,i){return this.actionChain(t,i)}componentWillLoad(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1,this.calculatePageTake(),o(this),this.refresh()}componentDidLoad(){this.firstRenderDone=!0}componentWillRender(){0!==this.internalSectionIndex&&this.internalSectionIndex!==this.totalPages&&this.calculatePageTake()}componentDidRender(){this.firstRenderDone&&!this.processedPageLinks&&this.setFocus()}connectedCallback(){this.mq=matchMedia("none"===this.compactBreakpoint?"all":x[this.compactBreakpoint]),this.mq.addEventListener("change",h(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),f(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){this.mq.removeEventListener("change",this.handleMediaQueryChange),this.mq=null,this.matchesCompactBreakpoint=!1,k(this)}async refresh(){this.processedPageLinks=y(this.pageLinks)}calculatePageTake(){this.totalPages=Math.ceil(this.total/this.take)}async onMouseHandler(t,i){this.processedPageLinks||(t.preventDefault(),t.stopPropagation(),this.current=this.current+i),this.emitPageEvent(t)}async onKeyboardDown(t){let i=this.current;(d(t)||u(t))&&i--,(c(t)||g(t))&&i++,l(t)&&i<=this.totalPages&&(this.current=i,this.processedPageLinks?(this.emitPageEvent(t,i-1),window.open(this.processedPageLinks[i-1],"_self","")):this.emitPageEvent(t)),p(t)&&this.shouldDisplayNavigation()&&(this.numbersStore=this.numbersStore+t.key,Number(this.numbersStore)>this.totalPages&&(this.numbersStore=this.totalPages+""),this.getEnteredNumber(t))}async setFocus(){const t=this.nativeNav.querySelector(`[data-id='${this.current}']`);t&&await t.setFocus()}pageClickHandler(t){const i=Number(t.target.getAttribute("data-id"));this.processedPageLinks||(t.preventDefault(),this.current=i),this.emitPageEvent(t,i)}selectClickHandler(t){t.preventDefault();const i=Number(t.target.value);this.current=i,this.processedPageLinks?(this.emitPageEvent(t,i-1),window.open(this.processedPageLinks[i-1],"_self","")):this.emitPageEvent(t,i)}sectionClickHandler(t,i){t.preventDefault();let e=this.internalSectionIndex+i;e*(this.take*this.visibleItems)>this.total&&(e=this.internalSectionIndex),this.internalSectionIndex=e>=0?e:0}jumpToStart(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=0,this.current=1),this.emitPageEvent(t)}jumpToEnd(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1),this.current=this.totalPages),this.emitPageEvent(t)}renderPageButton(t){return e("duet-button",{class:{"duet-pagination-link":!0},id:`page-${t}-button`,color:t!==this.current?"turva"!==this.theme?"secondary":"secondary-turva":"turva"!==this.theme?"primary":"primary-turva","data-id":t,"center-text":!0,variation:"plain",margin:"none",accessibleLabel:`${this.accessibleLabels.go_to} ${t}`,onClick:t=>this.pageClickHandler(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:void 0},e("div",{class:"duet-pagination-page-number","aria-hidden":!0},t))}renderPageNumbers(){const t=[];let i=this.internalSectionIndex*this.visibleItems;do{if(i++,i>this.totalPages)break;t.push(e("li",{class:{"duet-pagination-item":!0,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},this.renderPageButton(i)))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t}renderSelect(){const t=[];for(let i=1;i<=this.totalPages;i++)t.push({value:i.toString(),label:i.toString()});const i=e("duet-select",{theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(t),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}",`${this.totalPages}`),labelHidden:!0,onDuetChange:t=>this.selectClickHandler(t)});return e("li",null,i,e("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))}shouldDisplayNavigation(){return!("compact"===this.variation||this.matchesCompactBreakpoint||2*this.visibleItems>this.total/this.take)}render(){return e(s,{onKeyDown:t=>this.onKeyboardDown(t),class:{"duet-theme-turva":"turva"===this.theme}},e("nav",{role:"navigation","aria-labelledby":this.accessibleLabelledBy?`${this.accessibleLabelledBy} ${this.listId}`:this.listId,"aria-describedby":this.accessibleDescribedBy?`${this.accessibleDescribedBy} ${this.listId}`:this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:t=>this.nativeNav=t,"aria-controls":this.ariaControls,class:{"duet-pagination-nav":!0,[`duet-pagination-variation-${this.variation}`]:!0}},""!==this.numbersStore&&e("div",{"aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":`${this.accessibleLabels.jump_to} ${this.numbersStore}`,part:"navigation-overlay"},e("duet-badge",{theme:this.theme},"jump to page : ",this.numbersStore)),e("ol",{id:this.listId,class:{"duet-pagination":!0,"duet-pagination-is-dimmed":""!==this.numbersStore},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},("compact"===this.variation||this.matchesCompactBreakpoint)&&e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:0===this.internalSectionIndex&&this.current<=1,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0})),e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:!!(0===this.internalSectionIndex&&this.current<=1||this.current<=1&&this.processedPageLinks),"data-direction":"back",onClick:t=>this.onMouseHandler(t,-1),"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:void 0})),0!==this.internalSectionIndex&&this.shouldDisplayNavigation()&&e(a,null,e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:"turva"!==this.theme?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0},e("div",{class:"duet-pagination-page-number"},"1"))),e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,-1),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&e(a,null,(this.internalSectionIndex+1)*this.visibleItems!=this.totalPages-1&&e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,1),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:void 0},e("div",{class:"duet-pagination-page-number"},this.totalPages)))),e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks),class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:t=>this.onMouseHandler(t,1),"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:void 0})),("compact"===this.variation||this.matchesCompactBreakpoint)&&e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:void 0})))))}get element(){return n(this)}static get watchers(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}}};S.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{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:rgb(0, 41, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';const _=class{constructor(e){t(this,e),this.duetRangeStepUpdate=i(this,"duetRangeStepUpdate",7),this.leftBn=r("duetRangeStepper-left"),this.rightBn=r("duetRangeStepper-right"),this.handleClick=(t,i)=>{t.preventDefault(),this.stepIndex+=i,this.clampStepIndex(),this.handleStepClick(t)},this.theme="",this.stepIndex=1,this.stepSize=50,this.total=1e3,this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}},this.ariaLabels=v(this.ariaLabelsDefaults),this.ariaControls=""}watchStepIndexStateHandler(t){this.leftBnRef&&this.rightBnRef&&(t<=1?(this.element===document.activeElement&&this.rightBnRef.setFocus(),this.leftBnRef.setAttribute("disabled","")):this.leftBnRef.removeAttribute("disabled"),t>=this.total/this.stepSize?(this.element===document.activeElement&&this.leftBnRef.setFocus(),this.rightBnRef.setAttribute("disabled","")):this.rightBnRef.removeAttribute("disabled"))}watchStepSizeStateHandler(t,i){t!==i&&(this.stepIndex*t>this.total&&(this.stepIndex=Math.ceil(this.total/t)),this.watchStepIndexStateHandler(this.stepIndex))}handleStepClick(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})}componentWillLoad(){o(this),this.clampStepIndex()}componentDidLoad(){this.watchStepIndexStateHandler(this.stepIndex)}connectedCallback(){f(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})}disconnectedCallback(){k(this)}clampStepIndex(){this.stepIndex<1?this.stepIndex=1:this.stepIndex*this.stepSize>this.total&&(this.stepIndex=Math.ceil(this.total/this.stepSize))}getFrom(){return Math.floor((this.stepIndex-1)*this.stepSize)+1}getTo(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)}generateStepSize(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))}generatePreviousIncrementLabel(){return 1===this.getFrom()?"":this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))}generateNextIncrementLabel(){return this.getTo()===this.total?"":this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))}async onKeyboardDown(t){let i=this.stepIndex,e=1;(d(t)||u(t)||m(t))&&(i--,e=-1,this.leftBnRef.setFocus()),(c(t)||g(t)||b(t))&&(i++,e=1),l(t)&&i>0&&i*this.stepSize<=this.total&&this.handleClick(t,e)}render(){return e("div",{class:{"duet-range-stepper":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:t=>this.onKeyboardDown(t),"aria-controls":this.ariaControls},e("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),e("duet-action-button",{class:"duet-range-step-button duet-range-step-minus",onClick:t=>this.handleClick(t,-1),id:this.leftBn,"accessible-label":`${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`,ref:t=>this.leftBnRef=t,part:"navigation-arrow",iconName:"action-arrow-left-small"}),e("duet-action-button",{class:"duet-range-step-button duet-range-step-plus",onClick:t=>this.handleClick(t,1),"accessible-label":`${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`,id:this.rightBn,ref:t=>this.rightBnRef=t,part:"navigation-arrow",iconName:"action-arrow-right-small"}))}get element(){return n(this)}static get watchers(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}}};_.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(0, 41, 77)}.duet-range-stepper ::part(button){border:0}";export{S as duet_pagination,_ as duet_range_stepper}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as a,g as i}from"./p-06570fbf.js";import{a as n}from"./p-0cc51aa5.js";import{i as o}from"./p-a58bd561.js";const r=class{constructor(t){e(this,t),this.mql=[window.matchMedia(n.replace(/'/g,""))],this.boundMqlFunctions=[],this.changeIconSize=()=>{this.iconSize=this.mql[0].matches?"x-small":"small"},this.iconSize="x-small",this.theme="",this.active=!1,this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){o(this)}connectedCallback(){this.changeIconSize();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}render(){return t(a,null,t("a",{class:{"duet-menu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),t("slot",null)))}get element(){return i(this)}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';export{r as duet_menu_bar_link}
4
+ import{r as e,h as t,H as a,g as i}from"./p-c45c621f.js";import{a as n}from"./p-5e849463.js";import{i as o}from"./p-a58bd561.js";const r=class{constructor(t){e(this,t),this.mql=[window.matchMedia(n.replace(/'/g,""))],this.boundMqlFunctions=[],this.changeIconSize=()=>{this.iconSize=this.mql[0].matches?"x-small":"small"},this.iconSize="x-small",this.theme="",this.active=!1,this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){o(this)}connectedCallback(){this.changeIconSize();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}render(){return t(a,null,t("a",{class:{"duet-menu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),t("slot",null)))}get element(){return i(this)}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';export{r as duet_menu_bar_link}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-e42e59a8.system.js","./p-b985bcf7.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,n,i,a,r,o;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g},function(e){r=e.a},function(e){o=e.i}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';var u=e("duet_menu_bar_link",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="x-small";this.theme="";this.active=false;this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){this.changeIconSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.render=function(){return n(i,null,n("a",{class:{"duet-menu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());u.style=s}}}));
4
+ System.register(["./p-45a16be3.system.js","./p-e12b3d60.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,n,i,a,r,o;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g},function(e){r=e.a},function(e){o=e.i}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';var u=e("duet_menu_bar_link",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="x-small";this.theme="";this.active=false;this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){this.changeIconSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.render=function(){return n(i,null,n("a",{class:{"duet-menu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());u.style=s}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-e42e59a8.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,r,a,i;return{setters:[function(e){t=e.r;r=e.h;a=e.H},function(e){i=e.i}],execute:function(){var c=".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(116, 116, 117)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(207, 210, 212) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(207, 207, 209) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(207, 210, 212) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(207, 207, 209) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";var o=e("duet_checkmark",function(){function e(e){t(this,e);this.theme="";this.checked=false;this.presentationOnly=false;this.center=false;this.type="checkbox"}e.prototype.componentWillLoad=function(){i(this)};e.prototype.render=function(){return r(a,{class:{"duet-theme-turva":this.theme==="turva"}},r("div",{role:this.presentationOnly?"presentation":null,class:{checked:this.checked}},r("div",{class:{"duet-checkmark-container":true,center:this.center,"duet-checkmark-radio":this.type==="radio"}},this.checked&&r("div",{class:"duet-checkmark"}))))};return e}());o.style=c}}}));
4
+ System.register(["./p-45a16be3.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,r,a,i;return{setters:[function(e){t=e.r;r=e.h;a=e.H},function(e){i=e.i}],execute:function(){var c=".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(116, 116, 117)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(207, 210, 212) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(207, 207, 209) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(207, 210, 212) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(207, 207, 209) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";var o=e("duet_checkmark",function(){function e(e){t(this,e);this.theme="";this.checked=false;this.presentationOnly=false;this.center=false;this.type="checkbox"}e.prototype.componentWillLoad=function(){i(this)};e.prototype.render=function(){return r(a,{class:{"duet-theme-turva":this.theme==="turva"}},r("div",{role:this.presentationOnly?"presentation":null,class:{checked:this.checked}},r("div",{class:{"duet-checkmark-container":true,center:this.center,"duet-checkmark-radio":this.type==="radio"}},this.checked&&r("div",{class:"duet-checkmark"}))))};return e}());o.style=c}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function r(t){try{u(n.next(t))}catch(t){s(t)}}function a(t){try{u(n["throw"](t))}catch(t){s(t)}}function u(t){t.done?i(t.value):o(t.value).then(r,a)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,o,s,r;return r={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(t){return function(e){return u([t,e])}}function u(a){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,a[0]&&(i=0)),i)try{if(n=1,o&&(s=a[0]&2?o["return"]:a[0]?o["throw"]||((s=o["return"])&&s.call(o),0):o.next)&&!(s=s.call(o,a[1])).done)return s;if(o=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;o=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(a[0]===6&&i.label<s[1]){i.label=s[1];s=a;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(a);break}if(s[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];o=0}finally{n=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-e42e59a8.system.js","./p-ed5a5071.system.js","./p-50f4bca2.system.js","./p-eccd38da.system.js","./p-5795b0d9.system.js","./p-224f6c46.system.js","./p-52e711b6.system.js","./p-1a9958ee.system.js","./p-6ef75455.system.js","./p-8eaaef1c.system.js"],(function(t){"use strict";var e,i,n,o,s,r,a,u,d,l,c,h,f,p,v,b;return{setters:[function(t){e=t.r;i=t.c;n=t.h;o=t.H;s=t.g},function(t){r=t.d;a=t.e},function(t){u=t.i},function(t){d=t.F},function(t){l=t.f},function(t){c=t.a;h=t.c;f=t.d;p=t.g},function(t){v=t.T},function(t){b=t.g},function(){},function(){}],execute:function(){var g='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%}.duet-slideout .desktop-bg{display:none}@media (min-width: 62em){.duet-slideout .desktop-bg{position:fixed;top:0;left:0;z-index:400;display:block;width:100%;height:100%;visibility:hidden;background:rgba(0, 41, 77, 0.6);opacity:0;transition:600ms ease}.duet-slideout .desktop-bg:not(.hidden){visibility:visible;opacity:1;transition:600ms ease}}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgba(23, 28, 58, 0.6)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:400;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}';var m=t("duet_slideout",function(){function t(t){var n=this;e(this,t);this.duetSlideoutEvent=i(this,"duetSlideoutEvent",7);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"};this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.handleBodyScrolling=function(){if(n.displaying&&n.open){r(n.dialog,{reserveScrollBarGap:true})}else{a(n.dialog)}};this.getOpenPanel=function(){return n.element.querySelector("duet-slideout-panel[open]")};this.toggleMenu=function(t){n.open=!n.open;if(n.openButton){n.openButton.accessibleExpanded=n.open}n.duetSlideoutEvent.emit({originalEvent:t,data:{element:n.element,open:n.open},component:"duet-slideout"});if(n.open){var e=n.getOpenPanel();n.teleport.go(true);if(e){e.setFocus();n.handleBodyScrolling()}else{setTimeout((function(){n.closeButton.focus();n.handleBodyScrolling()}),200)}}else{setTimeout((function(){var t;(t=n.openButton)===null||t===void 0?void 0:t.setFocus();n.handleBodyScrolling();n.teleport.resume()}),200)}};this.bgOnClick=function(t){if(n.open){n.toggleMenu(t)}};this.onClick=function(t){n.toggleMenu(t)};this.language=c();this.displaying=false;this.openPanel=false;this.theme="";this.open=false;this.opener=undefined;this.backgroundColor="gray-lightest"}t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=new CustomEvent("toggle");this.toggleMenu(t);setTimeout((function(){e.closeButton.focus()}),200);return[2]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){if(this.open){return[2]}t=document.activeElement;if(t){t.accessiblePopup="true";this.openButton=t}this.toggleMenu(new CustomEvent("toggle"));return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.open){return[2]}this.toggleMenu(new CustomEvent("toggle"));return[2]}))}))};t.prototype.componentWillLoad=function(){var t=this;u(this);var e=this.opener&&document.getElementById(this.opener);if(e){e.accessiblePopup="true";e.accessibleExpanded=false;e.addEventListener("click",(function(i){i.stopPropagation();i.preventDefault();t.openButton=e;t.onClick(i)}))}this.teleport=new v(this.element)};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){this.intersectionObserver=new IntersectionObserver((function(e){if(e[0].isIntersecting){t.displaying=true}else{t.displaying=false}t.handleBodyScrolling()}));this.intersectionObserver.observe(this.dialog);return[2]}))}))};t.prototype.connectedCallback=function(){var t=this;h(this);this.mutationObserver=new MutationObserver((function(){t.openPanel=!!t.getOpenPanel()}));this.mutationObserver.observe(this.element,{childList:true,attributeFilter:["open"],subtree:true})};t.prototype.disconnectedCallback=function(){f(this);a(this.dialog);if(this.intersectionObserver){this.intersectionObserver.disconnect()}if(this.mutationObserver){this.mutationObserver.disconnect()}};t.prototype.handleKeyUp=function(t){if(l(t)){if(this.open){this.toggleMenu(t)}}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){(e=this.openButton)===null||e===void 0?void 0:e.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;var e={background:b(this.backgroundColor,this.theme)};var i=p(this.topLevelOpenMenuBarLangObject);var s=p(this.exitLangObject);return n(o,null,n("div",{class:{"duet-slideout":true,"duet-theme-turva":this.theme==="turva"}},n("div",{class:{"desktop-bg":true,hidden:!this.open},onClick:this.bgOnClick}),n("div",{ref:function(e){return t.dialog=e},tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":this.isSafariBrowser?false:true,"aria-flowto":"menubar",class:{dialog:true,hidden:!this.open},style:e},n(d,{moveFocusTo:this.closeButton}),n("div",{class:"top"},n("button",{ref:function(e){return t.closeButton=e},"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":"".concat(s),type:"button",class:{"slideout-close":true,active:this.open},onClick:this.onClick,inert:this.openPanel},n("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),n("div",{id:"menubar",role:"menubar","aria-label":this.openPanel?i:null,class:{items:true}},n("slot",null)),n(d,{moveFocusTo:this.closeButton}))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());m.style=g}}}));
4
+ */System.register(["./p-45a16be3.system.js","./p-ed5a5071.system.js","./p-50f4bca2.system.js","./p-711c2a2b.system.js","./p-5795b0d9.system.js","./p-224f6c46.system.js","./p-f42c2d6e.system.js","./p-9bd338fd.system.js","./p-6ef75455.system.js","./p-21774475.system.js"],(function(t){"use strict";var e,i,n,o,s,r,a,u,d,l,c,h,f,p,v,b;return{setters:[function(t){e=t.r;i=t.c;n=t.h;o=t.H;s=t.g},function(t){r=t.d;a=t.e},function(t){u=t.i},function(t){d=t.F},function(t){l=t.f},function(t){c=t.a;h=t.c;f=t.d;p=t.g},function(t){v=t.T},function(t){b=t.g},function(){},function(){}],execute:function(){var g='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%}.duet-slideout .desktop-bg{display:none}@media (min-width: 62em){.duet-slideout .desktop-bg{position:fixed;top:0;left:0;z-index:400;display:block;width:100%;height:100%;visibility:hidden;background:rgba(0, 41, 77, 0.6);opacity:0;transition:600ms ease}.duet-slideout .desktop-bg:not(.hidden){visibility:visible;opacity:1;transition:600ms ease}}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgba(23, 28, 58, 0.6)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:400;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}';var m=t("duet_slideout",function(){function t(t){var n=this;e(this,t);this.duetSlideoutEvent=i(this,"duetSlideoutEvent",7);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"};this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.handleBodyScrolling=function(){if(n.displaying&&n.open){r(n.dialog,{reserveScrollBarGap:true})}else{a(n.dialog)}};this.getOpenPanel=function(){return n.element.querySelector("duet-slideout-panel[open]")};this.toggleMenu=function(t){n.open=!n.open;if(n.openButton){n.openButton.accessibleExpanded=n.open}n.duetSlideoutEvent.emit({originalEvent:t,data:{element:n.element,open:n.open},component:"duet-slideout"});if(n.open){var e=n.getOpenPanel();n.teleport.go(true);if(e){e.setFocus();n.handleBodyScrolling()}else{setTimeout((function(){n.closeButton.focus();n.handleBodyScrolling()}),200)}}else{setTimeout((function(){var t;(t=n.openButton)===null||t===void 0?void 0:t.setFocus();n.handleBodyScrolling();n.teleport.resume()}),200)}};this.bgOnClick=function(t){if(n.open){n.toggleMenu(t)}};this.onClick=function(t){n.toggleMenu(t)};this.language=c();this.displaying=false;this.openPanel=false;this.theme="";this.accessibleRole="menubar";this.open=false;this.opener=undefined;this.backgroundColor="gray-lightest"}t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=new CustomEvent("toggle");this.toggleMenu(t);setTimeout((function(){e.closeButton.focus()}),200);return[2]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){if(this.open){return[2]}t=document.activeElement;if(t){t.accessiblePopup="true";this.openButton=t}this.toggleMenu(new CustomEvent("toggle"));return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.open){return[2]}this.toggleMenu(new CustomEvent("toggle"));return[2]}))}))};t.prototype.componentWillLoad=function(){var t=this;u(this);var e=this.opener&&document.getElementById(this.opener);if(e){e.accessiblePopup="true";e.accessibleExpanded=false;e.addEventListener("click",(function(i){i.stopPropagation();i.preventDefault();t.openButton=e;t.onClick(i)}))}this.teleport=new v(this.element)};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){this.intersectionObserver=new IntersectionObserver((function(e){if(e[0].isIntersecting){t.displaying=true}else{t.displaying=false}t.handleBodyScrolling()}));this.intersectionObserver.observe(this.dialog);return[2]}))}))};t.prototype.connectedCallback=function(){var t=this;h(this);this.mutationObserver=new MutationObserver((function(){t.openPanel=!!t.getOpenPanel()}));this.mutationObserver.observe(this.element,{childList:true,attributeFilter:["open"],subtree:true})};t.prototype.disconnectedCallback=function(){f(this);a(this.dialog);if(this.intersectionObserver){this.intersectionObserver.disconnect()}if(this.mutationObserver){this.mutationObserver.disconnect()}};t.prototype.handleKeyUp=function(t){if(l(t)){if(this.open){this.toggleMenu(t)}}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){(e=this.openButton)===null||e===void 0?void 0:e.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;var e={background:b(this.backgroundColor,this.theme)};var i=p(this.topLevelOpenMenuBarLangObject);var s=p(this.exitLangObject);return n(o,null,n("div",{class:{"duet-slideout":true,"duet-theme-turva":this.theme==="turva"}},n("div",{class:{"desktop-bg":true,hidden:!this.open},onClick:this.bgOnClick}),n("div",{ref:function(e){return t.dialog=e},tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":this.isSafariBrowser?false:true,"aria-flowto":"slot-container",class:{dialog:true,hidden:!this.open},style:e},n(d,{moveFocusTo:this.closeButton}),n("div",{class:"top"},n("button",{ref:function(e){return t.closeButton=e},"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":"".concat(s),type:"button",class:{"slideout-close":true,active:this.open},onClick:this.onClick,inert:this.openPanel},n("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),n("div",{id:"slot-container",role:this.accessibleRole,"aria-label":this.openPanel?i:null,class:{items:true}},n("slot",null)),n(d,{moveFocusTo:this.closeButton}))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());m.style=g}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register([],(function(r){"use strict";return{execute:function(){var a="rgb(247, 178, 40)";var o="rgb(101, 119, 135)";var e="rgb(245, 248, 250)";var v="rgb(211, 36, 131)";var i=r("k","rgb(0, 119, 179)");var l="rgb(54, 74, 129)";var g="rgb(0, 135, 90)";var t="rgb(11, 114, 136)";var p="rgb(243, 249, 252)";var x="rgb(230, 242, 248)";var c="rgb(0, 161, 212)";var s="rgb(0, 77, 128)";var m=r("n","rgb(255, 255, 255)");var n="rgb(122, 1, 196)";var b="rgb(144, 149, 153)";var d="rgb(225, 227, 230)";var u="rgb(0, 41, 77)";var y="rgb(168, 1, 78)";var S="rgb(205, 229, 241)";var h="rgb(213, 66, 3)";var z=r("l","rgb(207, 210, 212)");var T="rgb(222, 35, 98)";var I="rgb(68, 68, 69)";var L="rgb(245, 245, 247)";var D="rgb(161, 10, 78)";var w=r("i","rgb(198, 12, 48)");var f="rgb(23, 28, 58)";var X="rgb(8, 135, 78)";var M="rgb(252, 243, 244)";var B="rgb(199, 12, 112)";var C="rgb(169, 69, 124)";var H="rgb(249, 230, 234)";var k="rgb(148, 9, 37)";var F="rgb(255, 255, 255)";var G="rgb(116, 116, 117)";var P="rgb(228, 228, 230)";var U=r("o","rgb(178, 180, 179)");var E="rgb(23, 28, 58)";var j="rgb(244, 207, 214)";var Q="rgb(9, 129, 148)";var A=r("j","rgb(207, 207, 209)");var W="rgb(224, 42, 13)";var R="rgb(250, 164, 15)";var _="rgb(192, 101, 247)";var N="rgb(0, 105, 191)";var O="rgb(19, 120, 53)";var V="rgb(179, 60, 24)";var q="rgb(13, 163, 166)";var J="rgb(122, 1, 196)";var K="rgb(11, 114, 136)";var Y="rgb(0, 155, 204)";var Z="rgb(179, 137, 24)";var $="rgb(27, 171, 75)";var rr="rgb(128, 98, 17)";var ar="rgb(255, 86, 34)";var or="rgb(0, 41, 77)";var er="rgb(245, 76, 154)";var vr="rgb(194, 21, 101)";var ir="800";var lr="-0.01rem";var gr="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var tr="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var pr="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var xr="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var cr="700";var sr="400";var mr="600";var nr="4.5rem";var br="3rem";var dr="2.25rem";var ur="1.5rem";var yr="1.25rem";var Sr="1rem";var hr="0.875rem";var zr="0.75rem";var Tr="0";var Ir="4px";var Lr="8px";var Dr="20px";var wr="50%";var fr="20rem";var Xr="0 2px 10px 0 rgba(117, 117, 117, 0.13)";var Mr="0 0 0 1px #171c3a";var Br="0 2px 6px 0 rgba(0, 41, 77, 0.07)";var Cr="0 0 0 1px #0077b3";var Hr="0 2px 10px 0 rgba(0, 41, 77, 0.07)";var kr="0 0 0 1px #747475";var Fr="0 0 0 1px #e55039";var Gr="0 0 0 1px #909599";var Pr="0 0 0 1px #de2362";var Ur="0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";var Er="0 2px 20px 0 rgba(0, 0, 0, 0.2)";var jr="0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";var Qr="0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a";var Ar="0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3";var Wr="0 2px 10px 0 rgba(117, 117, 117, 0.15)";var Rr="0 2px 10px 0 rgba(0, 41, 77, 0.1)";var _r="0 2px 6px 0 rgba(117, 117, 117, 0.13)";var Nr="4px";var Or="20px";var Vr="8px";var qr="2px";var Jr="12px";var Kr="16px";var Yr="36px";var Zr="72px";var $r="94px";var ra="48px";var aa="28px";var oa="48px";var ea="1px";var va="40px";var ia="8rem";var la=r("s","4rem");var ga="72px";var ta="36px";var pa="10px";var xa="30px";var ca=r("p","3rem");var sa="30px";var ma="1110px";var na="48px";var ba="16px";var da="2px";var ua="7px";var ya="1px";var Sa="1px";var ha="24px";var za="20px";var Ta="0.85";var Ia="0.75";var La="0.50";var Da="0.30";var wa="250";var fa="600";var Xa="800";var Ma="1";var Ba="500";var Ca="950";var Ha="900";var ka="300";var Fa="100";var Ga="-999999";var Pa="700";var Ua="200";var Ea="400";var ja="1.5";var Qa="1.25";var Aa="1.1";var Wa="300ms ease";var Ra="600ms ease";var _a=r("g","'(min-width: 106.25em)'");var Na=r("e","'(min-width: 64.0625em)'");var Oa=r("c","'(min-width: 48em)'");var Va=r("d","'(min-width: 62em)'");var qa=r("f","'(min-width: 76.25em)'");var Ja=r("a","'(max-width: 35.9375em)'");var Ka=r("h","'(max-width: 20.5em)'");var Ya=r("b","'(min-width: 36em)'");var Za=r("m","'(max-width: 22.5em)'");var $a=Object.freeze({__proto__:null,colorWarning:a,colorGrayDarker:o,colorGrayLighter:e,colorCategoryHome:v,colorPrimary:i,colorCategoryVehicle:l,colorSuccess:g,colorCategoryFamily:t,colorPrimaryLightest:p,colorPrimaryLighter:x,colorBrandBlue:c,colorPrimaryDark:s,colorGrayLightest:m,colorCategoryFinance:n,colorGrayDark:b,colorGrayLight:d,colorSecondary:u,colorCategoryPet:y,colorPrimaryLight:S,colorCategoryTravel:h,colorGray:z,colorDanger:T,colorGrayDarkerTurva:I,colorGrayLighterTurva:L,colorCategoryHomeTurva:D,colorPrimaryTurva:w,colorCategoryVehicleTurva:f,colorSuccessTurva:X,colorPrimaryLightestTurva:M,colorCategoryFamilyTurva:B,colorCategoryUnionTurva:C,colorPrimaryLighterTurva:H,colorPrimaryDarkTurva:k,colorGrayLightestTurva:F,colorGrayDarkTurva:G,colorGrayLightTurva:P,colorBrandGrayTurva:U,colorSecondaryTurva:E,colorPrimaryLightTurva:j,colorCategoryTravelTurva:Q,colorGrayTurva:A,colorDangerTurva:W,colorWarningTurva:R,colorData07:_,colorData08:N,colorData09:O,colorData10:V,colorData11:q,colorData01:J,colorData12:K,colorData02:Y,colorData13:Z,colorData03:$,colorData14:rr,colorData04:ar,colorData15:or,colorData05:er,colorData06:vr,fontWeightExtraBold:ir,letterSpacingHeading:lr,fontFamilyHeadingTurva:gr,fontFamilyTextTurva:tr,fontFamilyHeading:pr,fontFamilyText:xr,fontWeightBold:cr,fontWeightNormal:sr,fontWeightSemiBold:mr,fontSizeXxxxLarge:nr,fontSizeXxxLarge:br,fontSizeXxLarge:dr,fontSizeXLarge:ur,fontSizeLarge:yr,fontSizeMedium:Sr,fontSizeSmall:hr,fontSizeXSmall:zr,radiusSharp:Tr,radiusDefault:Ir,radiusMedium:Lr,radiusLarge:Dr,radiusCircle:wr,radiusPill:fr,shadowTooltipTurva:Xr,shadowFocusInputTurva:Mr,shadowDefault:Br,shadowFocusInput:Cr,shadowTooltip:Hr,shadowHoverInputTurva:kr,shadowErrorTurva:Fr,shadowHoverInput:Gr,shadowError:Pr,shadowCardTurva:Ur,shadowModal:Er,shadowCard:jr,shadowFocusTurva:Qr,shadowFocus:Ar,shadowHoverTurva:Wr,shadowHover:Rr,shadowDefaultTurva:_r,spaceXxSmall:Nr,spaceLarge:Or,spaceXSmall:Vr,spaceXxxSmall:qr,spaceSmall:Jr,spaceMedium:Kr,spaceXxLarge:Yr,spaceXxxxLarge:Zr,spaceXxxxxLarge:$r,spaceXxxLarge:ra,spaceXLarge:aa,sizeIconXxLarge:oa,sizeFormBorder:ea,sizeStepMedium:va,sizeButtonMinWidth:ia,sizeHeader:la,sizeIconXxxLarge:ga,sizeIconXLarge:ta,sizeIconXxSmall:pa,sizeStepSmall:xa,sizeNavigation:ca,sizeIconLarge:sa,sizeLayoutMaxWidth:ma,sizeTappableSquare:na,sizeIconXSmall:ba,sizeMediumBorder:da,sizeIconXxxSmall:ua,sizeButtonBorder:ya,sizeButtonTinyBorder:Sa,sizeIconMedium:ha,sizeIconSmall:za,opacity85:Ta,opacity75:Ia,opacity50:La,opacity30:Da,zIndexMaskButtons:wa,zIndexDropdown:fa,zIndexSpinner:Xa,zIndexDefault:Ma,zIndexToast:Ba,zIndexPopup:Ca,zIndexModal:Ha,zIndexSticky:ka,zIndexMasked:Fa,zIndexDeep:Ga,zIndexOverlay:Pa,zIndexMask:Ua,zIndexHeader:Ea,lineHeightMedium:ja,lineHeightSmall:Qa,lineHeightXSmall:Aa,transitionQuickly:Wa,transitionSlowly:Ra,mediaQueryXxxLarge:_a,mediaQueryXLarge:Na,mediaQueryMedium:Oa,mediaQueryLarge:Va,mediaQueryXxLarge:qa,mediaQueryXSmall:Ja,mediaQueryXxxSmall:Ka,mediaQuerySmall:Ya,mediaQueryXxSmall:Za});r("t",$a)}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,c as i,h as e,H as n,g as u}from"./p-c45c621f.js";import{f as s}from"./p-d004da5f.js";import{i as o}from"./p-a58bd561.js";import{c as a}from"./p-5e59e970.js";import{c as r,r as d}from"./p-df7874f9.js";import{f as p,j as l}from"./p-2bb2b022.js";import{a as c,c as h,d as b}from"./p-2e36d5bf.js";import{g as m}from"./p-e5c0b71a.js";import"./p-0e052642.js";import"./p-b9157c7e.js";const v={search:s,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>'}},g=class{constructor(e){t(this,e),this.duetInput=i(this,"duetInput",7),this.duetChange=i(this,"duetChange",3),this.duetBlur=i(this,"duetBlur",7),this.duetClear=i(this,"duetClear",7),this.duetFocus=i(this,"duetFocus",7),this.inputId=a("DuetInput"),this.clearId=a("DuetInputClear"),this.labelId=a("DuetLabel"),this.topCaptionId=a("DuetCaptionTop"),this.topCaptionPlaceholderId=a("DuetCaptionPlaceholderTop"),this.errorId=a("DuetError"),this.disallowPatternRegex=null,this.clearLabel={en:"Clear",fi:"Tyhjennä",sv:"Rensa"},this.timeAnnouncement={en:"Time",fi:"Aika",sv:"Tid"},this.showPasswordLabel={en:"Show password",fi:"Näytä salasana",sv:"Visa lösenord"},this.hidePasswordLabel={en:"Hide password",fi:"Piilota salasana",sv:"Dölj lösenord"},this.passwordShownAriaAnnouncement={en:"Password is shown",fi:"Salasana näytetään",sv:"Lösenordet visas"},this.passwordHiddenAriaAnnouncement={en:"Password is hidden",fi:"Salasana on piilotettu",sv:"Lösenordet är dolt"},this.onInput=t=>{this.disallowPatternRegex&&r(this.nativeInput,this.disallowPatternRegex),this.value=this.nativeInput.value||"",this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onBlur=t=>{t.relatedTarget!==this.nativeInput&&t.relatedTarget!==this.togglePasswordRevealedButton&&("revealable"===this.variation&&this.isPasswordRevealed&&(this.isPasswordRevealed=!1),this.isFocused=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-input"}))},this.onFocus=t=>{this.isFocused=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onClear=t=>{this.duetClear.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.getDescribedBy=()=>{const t=[];return this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.handleClearClick=t=>{const i=this.clearInput();return this.onClear(t),i},this.keyHandler=t=>(p(t)&&this.clear&&this.handleClearClick(t),l(t)&&"revealable"===this.variation&&(t.target===this.togglePasswordRevealedButton?t.stopPropagation():this.isPasswordRevealed=!1),t),this.togglePasswordRevealed=()=>{this.isPasswordRevealed=!this.isPasswordRevealed},this.getInputType=()=>"revealable"===this.variation?this.isPasswordRevealed?"text":"password":this.type,this.language=c(),this.isPasswordRevealed=void 0,this.isFocused=!1,this.accessibleActiveDescendant=void 0,this.accessibleAutocomplete=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleExpanded=void 0,this.accessibleDescribedBy="",this.accessibleHasPopup=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLiveError="polite",this.debounce=0,this.clear=!1,this.caption=void 0,this.echoPlaceholder=!1,this.theme="",this.expand=!1,this.disabled=!1,this.identifier=void 0,this.margin="auto",this.required=!1,this.type="text",this.variation="default",this.label="Label",this.error="",this.labelHidden=!1,this.numericKeyboard=!1,this.name=void 0,this.pattern=void 0,this.maxlength=void 0,this.minlength=void 0,this.placeholder=void 0,this.component="input",this.role=void 0,this.icon=void 0,this.autoComplete="on",this.disallowPattern=null,this.value=void 0,this.tooltip="",this.tooltipDirection="auto"}disallowedPatternChange(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null}valueChanged(){var t;if((null===(t=null==this?void 0:this.nativeInput)||void 0===t?void 0:t.value)!==this.value){const t=d(this.nativeInput);this.nativeInput.value=this.value,t()}this.isCaptionVisible=!!this.caption;const i=()=>this.duetChange.emit({value:this.value,component:"duet-input"});0===this.debounce?i():(clearTimeout(this.timeoutId),this.timeoutId=setTimeout(i,this.debounce))}componentWillLoad(){o(this),this.disallowedPatternChange(),this.isCaptionVisible=!!this.caption}componentDidLoad(){"revealable"===this.variation&&this.nativeInput.form&&this.nativeInput.form.addEventListener("submit",(()=>{this.isPasswordRevealed=!1}))}connectedCallback(){h(this)}disconnectedCallback(){b(this)}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async resetCursor(){if(this.nativeInput){const t=d(this.nativeInput);this.nativeInput.value=this.value,t()}}async clearInput(){this.nativeInput&&(this.nativeInput.value="",this.nativeInput.focus(),this.value="")}render(){const t=this.identifier||this.inputId,i={};let u;if(this.numericKeyboard&&(i.inputmode="numeric"),this.pattern&&"tel"!==this.type?i.pattern=this.pattern:this.pattern||"tel"!==this.type||(i.pattern="[0-9+ ]+"),this.value){u=new Date;try{u.setHours(Number(this.value.slice(0,2)),Number(this.value.slice(3,5)),0,0)}catch(t){u=void 0}}const s=!this.icon&&"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type&&"button"!==this.variation;return e(n,{class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin},onKeyUp:t=>this.keyHandler(t)},"time"===this.type&&e("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true"},u?`${this.timeAnnouncement[this.language]} ${u.toLocaleTimeString()}`:""),e("div",{class:{"duet-input-container":!0,"duet-theme-turva":"turva"===this.theme,[`duet-input-variation-${this.variation}`]:!0,"duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-icon":"button"!==this.variation&&(!!this.icon||"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type),"has-error":!!this.error,"has-clear":this.clear,"has-focus":this.isFocused,disabled:this.disabled}},e("div",{class:"duet-input-label-container"},e("duet-label",{theme:"turva"===this.theme?"turva":"default",margin:this.isCaptionVisible?"small":"auto",id:this.labelId,for:t},this.label),this.tooltip&&e("duet-tooltip",{class:"duet-input-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:"turva"===this.theme?"turva":"default"},this.tooltip)),this.caption&&e("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),e("div",{class:"duet-input-relative"},this.placeholder&&this.echoPlaceholder&&(this.value||"time"===this.type)&&e("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-input-placeholder",margin:"none",size:"small"},this.placeholder),e("input",Object.assign({ref:t=>this.nativeInput=t,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,type:this.getInputType(),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.accessibleLabelledBy?`${this.labelId} ${this.accessibleLabelledBy}`:this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-expanded":this.accessibleExpanded,"aria-haspopup":this.accessibleHasPopup,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),placeholder:this.placeholder,spellcheck:"false",minlength:this.minlength,maxlength:this.maxlength,autocomplete:"password"===this.type?"off":this.autoComplete,required:this.required,role:this.role,name:this.name,id:t},i)),!this.value&&s&&e("div",{class:"duet-input-icon"},e("duet-icon",{margin:"none",size:"small",icon:v[this.type].svg,color:"currentColor"})),this.clear&&this.value&&e("div",{class:{"duet-input-clear-icon":!0,"duet-input-clear-icon-single":!s,"duet-input-clear-icon-double":!!this.icon,"duet-input-clear-icon-button":"button"===this.variation}},e("button",{onClick:this.handleClearClick,id:this.clearId,"aria-label":this.clearLabel[this.language],"aria-keyshortcuts":"Escape"},e("duet-icon",{margin:"none",size:"medium",name:"action-clear-input",color:"currentColor"}))),this.icon&&"button"!==this.variation&&e("div",{class:"duet-input-icon"},e("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),"button"===this.variation&&e("slot",{name:"button"}),"revealable"===this.variation&&e("duet-button",{ref:t=>this.togglePasswordRevealedButton=t,onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.togglePasswordRevealed,icon:this.isPasswordRevealed?"action-hide":"action-show",accessibleLabel:this.isPasswordRevealed?this.hidePasswordLabel[this.language]:this.showPasswordLabel[this.language],margin:"none",variation:"input-button-embedded",fixed:!0,iconOnly:!0}),"revealable"===this.variation&&void 0!==this.isPasswordRevealed&&e("duet-visually-hidden",null,e("span",{"aria-live":"polite"},this.isPasswordRevealed?this.passwordShownAriaAnnouncement[this.language]:this.passwordHiddenAriaAnnouncement[this.language])),e("slot",null)),e("span",{class:"duet-input-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&e("span",{class:"duet-input-error"},this.error))))}get element(){return u(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"],value:["valueChanged"]}}};g.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}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input{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:rgb(255, 255, 255)}.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:rgb(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 77, 128)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(0, 41, 77)}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.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:rgb(0, 41, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(144, 149, 153) !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:rgb(222, 35, 98) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(224, 42, 13) !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:rgb(23, 28, 58) !important;border-color:rgb(116, 116, 117) !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:rgb(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-input[disabled].sc-duet-input{color:rgb(0, 41, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-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 #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !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:rgb(23, 28, 58) !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:rgb(23, 28, 58)}.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 #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.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:rgb(101, 119, 135);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:rgb(116, 116, 117)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(224, 42, 13)}.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%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(116, 116, 117)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(222, 35, 98)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(224, 42, 13)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}';const x=class{constructor(i){t(this,i),this.theme="",this.for=void 0,this.margin="auto",this.size="medium",this.color=""}componentWillLoad(){o(this)}render(){const t=m(this.color);return e(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}},e("label",{htmlFor:this.for,style:{color:t}},e("span",null,e("slot",null))))}get element(){return u(this)}};x.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:rgb(0, 41, 77);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:rgb(23, 28, 58)}';export{g as duet_input,x as duet_label}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as o,g as i}from"./p-06570fbf.js";import{i as n}from"./p-a58bd561.js";const a=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){n(this),this.element.querySelectorAll("duet-slideout-link").forEach((e=>{e.menuItem=!0}))}async setFocus(e){this.button.focus(e)}render(){return t(o,null,t("div",{class:{"duet-slideout-panel-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open}},t("button",{ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active},onClick:this.onClick},this.icon&&t("duet-icon",{name:this.icon,size:"medium",margin:"none",color:"secondary"}),t("div",{class:"label"},t("slot",{name:"label"}),t("duet-icon",{class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),t("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",null))))}get element(){return i(this)}};a.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 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:1.25rem;font-weight:800;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 44px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}';export{a as duet_slideout_panel_dropdown}
4
+ import{r as e,h as t,H as o,g as i}from"./p-c45c621f.js";import{i as n}from"./p-a58bd561.js";const a=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){n(this),this.element.querySelectorAll("duet-slideout-link").forEach((e=>{e.menuItem=!0}))}async setFocus(e){this.button.focus(e)}render(){return t(o,null,t("div",{class:{"duet-slideout-panel-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open}},t("button",{ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active},onClick:this.onClick},this.icon&&t("duet-icon",{name:this.icon,size:"medium",margin:"none",color:"secondary"}),t("div",{class:"label"},t("slot",{name:"label"}),t("duet-icon",{class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),t("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",null))))}get element(){return i(this)}};a.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 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:1.25rem;font-weight:800;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 44px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}';export{a as duet_slideout_panel_dropdown}