@duetds/components 7.0.11 → 7.0.13

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 (731) hide show
  1. package/hydrate/index.js +214 -83
  2. package/lib/cjs/duet-action-button.cjs.entry.js +5 -4
  3. package/lib/cjs/duet-alert.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-badge.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +22 -4
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -5
  8. package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +4 -4
  11. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +13 -3
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +3 -3
  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-footer.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  28. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
  31. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  34. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
  36. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
  43. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-pagination_2.cjs.entry.js +53 -10
  45. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +2 -2
  46. package/lib/cjs/duet-popup-menu.cjs.entry.js +3 -1
  47. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-select.cjs.entry.js +6 -6
  54. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-slideout-link.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-slideout-panel.cjs.entry.js +5 -5
  60. package/lib/cjs/duet-slideout.cjs.entry.js +33 -6
  61. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  63. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
  64. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-submenu-bar.cjs.entry.js +14 -10
  66. package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  70. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  71. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +4 -4
  73. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  74. package/lib/cjs/duet-tray.cjs.entry.js +3 -3
  75. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  78. package/lib/cjs/duet.cjs.js +2 -2
  79. package/lib/cjs/{focus-utils-904b5d93.js → focus-utils-a94e86a5.js} +1 -1
  80. package/lib/cjs/{index-87e1f90a.js → index-04d05fd9.js} +1 -1
  81. package/lib/cjs/loader.cjs.js +2 -2
  82. package/lib/cjs/{token-utils-c1864408.js → token-utils-71db4785.js} +1 -1
  83. package/lib/cjs/{tokens-30e7656b.js → tokens-cecc0f2f.js} +24 -0
  84. package/lib/cjs/{tokens.module-5fe478ed.js → tokens.module-10f42b21.js} +16 -0
  85. package/lib/collection/components/duet-action-button/duet-action-button.css +8 -10
  86. package/lib/collection/components/duet-action-button/duet-action-button.js +3 -2
  87. package/lib/collection/components/duet-alert/duet-alert.css +2 -2
  88. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  89. package/lib/collection/components/duet-badge/duet-badge.css +9 -9
  90. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +22 -3
  91. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +23 -2
  92. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +13 -21
  93. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -3
  94. package/lib/collection/components/duet-button/duet-button.css +13 -13
  95. package/lib/collection/components/duet-button/duet-button.js +5 -5
  96. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  97. package/lib/collection/components/duet-card/duet-card.css +4 -4
  98. package/lib/collection/components/duet-card/duet-card.js +3 -3
  99. package/lib/collection/components/duet-checkbox/duet-checkbox.css +2 -2
  100. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  101. package/lib/collection/components/duet-chip/duet-chip.css +2 -2
  102. package/lib/collection/components/duet-chip/duet-chip.js +4 -4
  103. package/lib/collection/components/duet-choice/duet-choice.css +6 -3
  104. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  105. package/lib/collection/components/duet-collapsible/duet-collapsible.css +2 -2
  106. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  107. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  108. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +6 -6
  109. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +27 -2
  110. package/lib/collection/components/duet-date-picker/duet-date-picker.css +12 -12
  111. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  112. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  113. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  114. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  115. package/lib/collection/components/duet-footer/duet-footer.css +3 -3
  116. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  117. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  118. package/lib/collection/components/duet-header/duet-header.css +12 -12
  119. package/lib/collection/components/duet-header/duet-header.js +15 -15
  120. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  121. package/lib/collection/components/duet-hero/duet-hero.css +2 -2
  122. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  123. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  124. package/lib/collection/components/duet-input/duet-input.css +18 -18
  125. package/lib/collection/components/duet-input/duet-input.js +8 -8
  126. package/lib/collection/components/duet-label/duet-label.js +2 -2
  127. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  128. package/lib/collection/components/duet-link/duet-link.css +2 -2
  129. package/lib/collection/components/duet-list/duet-list.js +3 -3
  130. package/lib/collection/components/duet-logo/duet-logo.css +2 -2
  131. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  132. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -2
  133. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  134. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +6 -6
  135. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +4 -4
  136. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +7 -7
  137. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +7 -7
  138. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  139. package/lib/collection/components/duet-multiselect/duet-multiselect.css +15 -15
  140. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  141. package/lib/collection/components/duet-notification/duet-notification.css +2 -2
  142. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +2 -2
  143. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  144. package/lib/collection/components/duet-number-input/duet-number-input.css +2 -2
  145. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  146. package/lib/collection/components/duet-pagination/duet-pagination.css +18 -0
  147. package/lib/collection/components/duet-pagination/duet-pagination.js +84 -30
  148. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  149. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +3 -1
  150. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +3 -3
  151. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  152. package/lib/collection/components/duet-radio/duet-radio.css +2 -2
  153. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  154. package/lib/collection/components/duet-range-slider/duet-range-slider.css +2 -2
  155. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  156. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  157. package/lib/collection/components/duet-select/duet-select.css +30 -11
  158. package/lib/collection/components/duet-select/duet-select.js +11 -11
  159. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  160. package/lib/collection/components/duet-slideout/duet-slideout.css +6 -3
  161. package/lib/collection/components/duet-slideout/duet-slideout.js +34 -3
  162. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +6 -6
  163. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +4 -4
  164. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
  165. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  166. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  167. package/lib/collection/components/duet-step/duet-step.css +2 -2
  168. package/lib/collection/components/duet-step/duet-step.js +2 -2
  169. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  170. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +8 -8
  171. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +11 -7
  172. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +7 -7
  173. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +7 -7
  174. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +7 -7
  175. package/lib/collection/components/duet-tab-group/duet-tab-group.css +5 -6
  176. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  177. package/lib/collection/components/duet-textarea/duet-textarea.css +8 -8
  178. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  179. package/lib/collection/components/duet-toggle/duet-toggle.css +4 -4
  180. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  181. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +5 -5
  182. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +7 -7
  183. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +7 -7
  184. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +2 -2
  185. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +4 -4
  186. package/lib/collection/components/duet-tooltip/duet-tooltip.js +2 -2
  187. package/lib/collection/components/duet-tray/duet-tray.css +4 -4
  188. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  189. package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
  190. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  191. package/lib/dist-custom-elements/duet-alert.js +1 -1
  192. package/lib/dist-custom-elements/duet-badge.js +1 -1
  193. package/lib/dist-custom-elements/duet-banner.js +5 -5
  194. package/lib/dist-custom-elements/duet-breadcrumb.js +24 -6
  195. package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -12
  196. package/lib/dist-custom-elements/duet-button.js +1 -1
  197. package/lib/dist-custom-elements/duet-callout.js +3 -3
  198. package/lib/dist-custom-elements/duet-caption.js +1 -1
  199. package/lib/dist-custom-elements/duet-card.js +5 -5
  200. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  201. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  202. package/lib/dist-custom-elements/duet-chip.js +3 -3
  203. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  204. package/lib/dist-custom-elements/duet-choice.js +6 -6
  205. package/lib/dist-custom-elements/duet-collapsible.js +4 -4
  206. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  207. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  208. package/lib/dist-custom-elements/duet-cookie-consent.js +19 -9
  209. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  210. package/lib/dist-custom-elements/duet-divider.js +1 -1
  211. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  212. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  213. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  214. package/lib/dist-custom-elements/duet-footer.js +5 -5
  215. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  216. package/lib/dist-custom-elements/duet-grid.js +1 -1
  217. package/lib/dist-custom-elements/duet-header.js +10 -10
  218. package/lib/dist-custom-elements/duet-heading.js +1 -1
  219. package/lib/dist-custom-elements/duet-hero.js +10 -10
  220. package/lib/dist-custom-elements/duet-icon.js +1 -1
  221. package/lib/dist-custom-elements/duet-input.js +1 -1
  222. package/lib/dist-custom-elements/duet-label.js +1 -1
  223. package/lib/dist-custom-elements/duet-layout.js +1 -1
  224. package/lib/dist-custom-elements/duet-link.js +1 -1
  225. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  226. package/lib/dist-custom-elements/duet-list.js +1 -1
  227. package/lib/dist-custom-elements/duet-logo.js +1 -1
  228. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  229. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  230. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
  231. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  232. package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
  233. package/lib/dist-custom-elements/duet-modal.js +7 -7
  234. package/lib/dist-custom-elements/duet-multiselect.js +11 -11
  235. package/lib/dist-custom-elements/duet-nav.js +1 -1
  236. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  237. package/lib/dist-custom-elements/duet-notification.js +3 -3
  238. package/lib/dist-custom-elements/duet-number-input.js +12 -12
  239. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  240. package/lib/dist-custom-elements/duet-pagination.js +101 -22
  241. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  242. package/lib/dist-custom-elements/duet-popup-menu-item.js +3 -3
  243. package/lib/dist-custom-elements/duet-popup-menu.js +3 -1
  244. package/lib/dist-custom-elements/duet-progress.js +1 -1
  245. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  246. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  247. package/lib/dist-custom-elements/duet-radio.js +2 -2
  248. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  249. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  250. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  251. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  252. package/lib/dist-custom-elements/duet-select.js +1 -1
  253. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  254. package/lib/dist-custom-elements/duet-show-more.js +5 -5
  255. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  256. package/lib/dist-custom-elements/duet-slideout-link.js +3 -3
  257. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +3 -3
  258. package/lib/dist-custom-elements/duet-slideout-panel.js +4 -4
  259. package/lib/dist-custom-elements/duet-slideout.js +33 -5
  260. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  261. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  262. package/lib/dist-custom-elements/duet-step.js +5 -5
  263. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  264. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  265. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
  266. package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
  267. package/lib/dist-custom-elements/duet-submenu-bar.js +15 -11
  268. package/lib/dist-custom-elements/duet-tab-group.js +14 -14
  269. package/lib/dist-custom-elements/duet-tab.js +1 -1
  270. package/lib/dist-custom-elements/duet-table.js +1 -1
  271. package/lib/dist-custom-elements/duet-textarea.js +11 -11
  272. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  273. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
  274. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
  275. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
  276. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  277. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  278. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  279. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  280. package/lib/dist-custom-elements/duet-tray.js +5 -5
  281. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  282. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  283. package/lib/dist-custom-elements/duet-upload.js +18 -18
  284. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  285. package/lib/dist-custom-elements/index.js +1 -1
  286. package/lib/dist-custom-elements/{p-de68431d.js → p-03e72a70.js} +1 -1
  287. package/lib/dist-custom-elements/{p-fe16ab51.js → p-147839fe.js} +2 -2
  288. package/lib/dist-custom-elements/{p-0c432f19.js → p-216ee242.js} +2 -2
  289. package/lib/dist-custom-elements/{p-d6ba9330.js → p-235639a0.js} +6 -5
  290. package/lib/dist-custom-elements/{p-c34976a7.js → p-31d056ee.js} +11 -11
  291. package/lib/dist-custom-elements/{p-91c5485e.js → p-32b3e436.js} +1 -1
  292. package/lib/dist-custom-elements/{p-05f08935.js → p-3b2d38bd.js} +3 -3
  293. package/lib/dist-custom-elements/{p-5bd9489b.js → p-444a8a81.js} +1 -1
  294. package/lib/dist-custom-elements/{p-120f66c1.js → p-457ad3b4.js} +2 -2
  295. package/lib/dist-custom-elements/{p-6379e5c0.js → p-5128c90e.js} +2 -2
  296. package/lib/dist-custom-elements/{p-ba5c09ae.js → p-54138086.js} +1 -1
  297. package/lib/dist-custom-elements/{p-687196b5.js → p-580110b9.js} +1 -1
  298. package/lib/dist-custom-elements/{p-b519ac77.js → p-64d43840.js} +24 -0
  299. package/lib/dist-custom-elements/{p-b514c789.js → p-6658c850.js} +2 -2
  300. package/lib/dist-custom-elements/p-6ff6de66.js +262 -0
  301. package/lib/dist-custom-elements/{p-9c9ea306.js → p-70bf0b69.js} +5 -5
  302. package/lib/dist-custom-elements/{p-2b5c6ba3.js → p-735d77aa.js} +1 -1
  303. package/lib/dist-custom-elements/{p-b7079e8b.js → p-778299c4.js} +2 -2
  304. package/lib/dist-custom-elements/{p-a18f1990.js → p-7a8c2aed.js} +7 -7
  305. package/lib/dist-custom-elements/{p-fef085ea.js → p-7ccf98f1.js} +1 -1
  306. package/lib/dist-custom-elements/{p-81c56b23.js → p-811e436b.js} +2 -2
  307. package/lib/dist-custom-elements/{p-7d753a00.js → p-86766141.js} +10 -10
  308. package/lib/dist-custom-elements/{p-bc8d2341.js → p-87ab6444.js} +2 -2
  309. package/lib/dist-custom-elements/{p-acf16b0a.js → p-891cf00a.js} +1 -1
  310. package/lib/dist-custom-elements/{p-afe7886a.js → p-89f61853.js} +2 -2
  311. package/lib/dist-custom-elements/{p-37376979.js → p-8a544a4a.js} +3 -3
  312. package/lib/dist-custom-elements/{p-f14bd0c6.js → p-9510958d.js} +6 -6
  313. package/lib/dist-custom-elements/{p-873b2ba5.js → p-9ec763ef.js} +1 -1
  314. package/lib/dist-custom-elements/{p-d89ad85e.js → p-ae9d10ef.js} +2 -2
  315. package/lib/dist-custom-elements/{p-d111b07b.js → p-b4fb8e06.js} +4 -4
  316. package/lib/dist-custom-elements/{p-e8475b3c.js → p-c057158b.js} +16 -0
  317. package/lib/dist-custom-elements/{p-a741522e.js → p-dddcc1da.js} +3 -3
  318. package/lib/dist-custom-elements/p-e4de8f7b.js +271 -0
  319. package/lib/dist-custom-elements/{p-9ae52620.js → p-e7815ffd.js} +2 -2
  320. package/lib/dist-custom-elements/{p-87306ee7.js → p-e8146874.js} +4 -4
  321. package/lib/dist-custom-elements/{p-15f143d3.js → p-e9d838dd.js} +2 -2
  322. package/lib/dist-custom-elements/{p-cfac6456.js → p-fbdc5afe.js} +1 -1
  323. package/lib/duet/duet.esm.js +1 -1
  324. package/lib/duet/duet.js +1 -1
  325. package/lib/duet/p-00abf5b6.entry.js +4 -0
  326. package/lib/duet/{p-a4f2ef63.system.entry.js → p-02b7e1ef.system.entry.js} +1 -1
  327. package/lib/duet/p-02f1d7cc.system.js +4 -0
  328. package/lib/duet/p-0478d0eb.entry.js +4 -0
  329. package/lib/duet/{p-d9837b02.system.entry.js → p-04940a8a.system.entry.js} +1 -1
  330. package/lib/duet/{p-4bd910ce.entry.js → p-059c9d4e.entry.js} +1 -1
  331. package/lib/duet/{p-cf0b8d70.entry.js → p-066f7fdf.entry.js} +1 -1
  332. package/lib/duet/{p-e655693e.system.entry.js → p-076228e9.system.entry.js} +1 -1
  333. package/lib/duet/{p-e9641c9c.entry.js → p-076aef18.entry.js} +1 -1
  334. package/lib/duet/{p-14572cb2.system.entry.js → p-0acc8f88.system.entry.js} +1 -1
  335. package/lib/duet/{p-2737980f.entry.js → p-0b0a898d.entry.js} +1 -1
  336. package/lib/duet/p-0c3d7e64.system.entry.js +4 -0
  337. package/lib/duet/{p-0ebb9c78.system.entry.js → p-0c6705bb.system.entry.js} +1 -1
  338. package/lib/duet/p-0e697654.system.entry.js +4 -0
  339. package/lib/duet/{p-8a43a36b.entry.js → p-0ffc3cf9.entry.js} +1 -1
  340. package/lib/duet/p-108d9370.system.entry.js +4 -0
  341. package/lib/duet/p-11e79c8c.system.entry.js +4 -0
  342. package/lib/duet/p-14285f86.system.entry.js +4 -0
  343. package/lib/duet/{p-312b8994.entry.js → p-14bd6514.entry.js} +1 -1
  344. package/lib/duet/{p-24be555f.system.entry.js → p-16abb2d5.system.entry.js} +1 -1
  345. package/lib/duet/{p-098a521b.entry.js → p-1719aa4e.entry.js} +1 -1
  346. package/lib/duet/{p-f7418b24.js → p-18f1d30e.js} +1 -1
  347. package/lib/duet/p-1b398a07.entry.js +4 -0
  348. package/lib/duet/p-1c0ad101.system.entry.js +4 -0
  349. package/lib/duet/{p-f83c8880.system.entry.js → p-1d463cc4.system.entry.js} +1 -1
  350. package/lib/duet/p-213ba11f.entry.js +4 -0
  351. package/lib/duet/{p-f8115fd2.entry.js → p-23ba9eba.entry.js} +1 -1
  352. package/lib/duet/{p-9995c95a.system.entry.js → p-243a9ef5.system.entry.js} +1 -1
  353. package/lib/duet/{p-fde69767.entry.js → p-24e2be74.entry.js} +1 -1
  354. package/lib/duet/p-25495204.system.entry.js +4 -0
  355. package/lib/duet/p-29280d68.entry.js +4 -0
  356. package/lib/duet/{p-bcc83d43.entry.js → p-2992af15.entry.js} +1 -1
  357. package/lib/duet/{p-839d40e7.entry.js → p-29be2109.entry.js} +1 -1
  358. package/lib/duet/p-29f1e1a4.system.entry.js +4 -0
  359. package/lib/duet/{p-a76ceaf6.js → p-2bb34e3d.js} +1 -1
  360. package/lib/duet/p-2e9a772c.entry.js +4 -0
  361. package/lib/duet/{p-c074a0e7.entry.js → p-2ea04945.entry.js} +1 -1
  362. package/lib/duet/{p-169ae92e.entry.js → p-2eabea79.entry.js} +1 -1
  363. package/lib/duet/{p-d9dafc19.entry.js → p-31b566c1.entry.js} +1 -1
  364. package/lib/duet/{p-19162fe2.entry.js → p-3346552d.entry.js} +1 -1
  365. package/lib/duet/{p-661f8827.entry.js → p-34928212.entry.js} +1 -1
  366. package/lib/duet/{p-ca5e4a54.system.entry.js → p-3536fd40.system.entry.js} +1 -1
  367. package/lib/duet/{p-956a4a3a.system.entry.js → p-356745e0.system.entry.js} +1 -1
  368. package/lib/duet/{p-765e3ec1.entry.js → p-3709d186.entry.js} +1 -1
  369. package/lib/duet/{p-92e48b99.system.entry.js → p-380c94f6.system.entry.js} +1 -1
  370. package/lib/duet/p-388e6ec4.entry.js +4 -0
  371. package/lib/duet/{p-ba1d3a66.system.js → p-3cb9e865.system.js} +1 -1
  372. package/lib/duet/{p-8c27f203.entry.js → p-3ec86ced.entry.js} +1 -1
  373. package/lib/duet/{p-01b45353.system.entry.js → p-417357f9.system.entry.js} +1 -1
  374. package/lib/duet/p-427dbb96.system.entry.js +4 -0
  375. package/lib/duet/{p-1b518a40.system.entry.js → p-429a181d.system.entry.js} +1 -1
  376. package/lib/duet/p-43b0c3d2.system.entry.js +4 -0
  377. package/lib/duet/p-43b42819.entry.js +4 -0
  378. package/lib/duet/{p-b940581b.entry.js → p-45bec102.entry.js} +1 -1
  379. package/lib/duet/{p-da9649c1.entry.js → p-46b3ed07.entry.js} +1 -1
  380. package/lib/duet/{p-7feb3a81.entry.js → p-4a4faa7d.entry.js} +1 -1
  381. package/lib/duet/p-4ab24dcd.entry.js +4 -0
  382. package/lib/duet/{p-af3f52ec.system.entry.js → p-4e886433.system.entry.js} +1 -1
  383. package/lib/duet/{p-37ebb688.entry.js → p-521c96ec.entry.js} +1 -1
  384. package/lib/duet/p-56952081.entry.js +4 -0
  385. package/lib/duet/{p-1727b8ec.system.entry.js → p-5738c25c.system.entry.js} +1 -1
  386. package/lib/duet/{p-2912650b.entry.js → p-60a70493.entry.js} +1 -1
  387. package/lib/duet/p-64d43840.js +4 -0
  388. package/lib/duet/{p-76f69465.system.entry.js → p-67862509.system.entry.js} +1 -1
  389. package/lib/duet/p-67d9de79.system.entry.js +4 -0
  390. package/lib/duet/p-6c93f614.system.entry.js +4 -0
  391. package/lib/duet/{p-589881f3.entry.js → p-6d711206.entry.js} +1 -1
  392. package/lib/duet/p-6d74aac6.system.entry.js +4 -0
  393. package/lib/duet/p-6f677b2a.system.entry.js +4 -0
  394. package/lib/duet/{p-aff6a3f8.system.entry.js → p-6f6a58e4.system.entry.js} +1 -1
  395. package/lib/duet/{p-7d34f006.entry.js → p-701b89a1.entry.js} +1 -1
  396. package/lib/duet/p-70477e77.system.entry.js +4 -0
  397. package/lib/duet/{p-f86bdaa9.entry.js → p-7174ea1e.entry.js} +1 -1
  398. package/lib/duet/{p-974ec475.entry.js → p-7260f799.entry.js} +1 -1
  399. package/lib/duet/p-7326a4c0.system.entry.js +4 -0
  400. package/lib/duet/{p-33a1196f.entry.js → p-74216caa.entry.js} +1 -1
  401. package/lib/duet/{p-3a9af609.entry.js → p-7804ff1e.entry.js} +1 -1
  402. package/lib/duet/p-79075bec.system.entry.js +4 -0
  403. package/lib/duet/p-7ac0621b.system.entry.js +4 -0
  404. package/lib/duet/{p-f4d36100.system.entry.js → p-7b7faa01.system.entry.js} +1 -1
  405. package/lib/duet/{p-05ba305e.system.entry.js → p-7cf9e266.system.entry.js} +2 -2
  406. package/lib/duet/{p-da51b5d0.system.entry.js → p-7dc87593.system.entry.js} +1 -1
  407. package/lib/duet/{p-5c0b4434.system.entry.js → p-7fe6bf2c.system.entry.js} +1 -1
  408. package/lib/duet/p-81c35152.entry.js +4 -0
  409. package/lib/duet/p-822a791e.entry.js +4 -0
  410. package/lib/duet/{p-37db0554.entry.js → p-8364fae3.entry.js} +1 -1
  411. package/lib/duet/p-8433b6d1.system.entry.js +4 -0
  412. package/lib/duet/p-850eacf6.entry.js +4 -0
  413. package/lib/duet/{p-c529a45e.entry.js → p-87ca87df.entry.js} +1 -1
  414. package/lib/duet/p-8810df88.js +4 -0
  415. package/lib/duet/p-885b38a9.system.js +4 -0
  416. package/lib/duet/{p-938eb486.system.entry.js → p-8a3fcbdb.system.entry.js} +1 -1
  417. package/lib/duet/p-8b5d616e.system.entry.js +4 -0
  418. package/lib/duet/p-8b641c9c.system.entry.js +4 -0
  419. package/lib/duet/{p-3bca30ca.system.entry.js → p-8db716f2.system.entry.js} +1 -1
  420. package/lib/duet/{p-5bc67330.entry.js → p-8e5253bc.entry.js} +1 -1
  421. package/lib/duet/p-97fc4a88.system.entry.js +4 -0
  422. package/lib/duet/p-98488fab.system.entry.js +4 -0
  423. package/lib/duet/{p-84377dda.entry.js → p-9949a334.entry.js} +1 -1
  424. package/lib/duet/p-9ce8627c.system.entry.js +4 -0
  425. package/lib/duet/p-9d033a04.system.js +4 -0
  426. package/lib/duet/{p-27bcd0ee.system.entry.js → p-9d505129.system.entry.js} +1 -1
  427. package/lib/duet/p-9e3276c6.system.entry.js +4 -0
  428. package/lib/duet/{p-918a8ca7.system.entry.js → p-9f9ada02.system.entry.js} +1 -1
  429. package/lib/duet/{p-5cc6f176.entry.js → p-a374de00.entry.js} +1 -1
  430. package/lib/duet/{p-6e5ee495.entry.js → p-a39844b6.entry.js} +1 -1
  431. package/lib/duet/{p-b502b5b8.entry.js → p-a678835a.entry.js} +1 -1
  432. package/lib/duet/{p-c48d8cfe.system.js → p-a7c2017b.system.js} +1 -1
  433. package/lib/duet/p-a87a2760.system.entry.js +4 -0
  434. package/lib/duet/{p-83032abc.entry.js → p-a8e6dcb9.entry.js} +1 -1
  435. package/lib/duet/p-ac962b74.system.entry.js +4 -0
  436. package/lib/duet/p-afee3739.system.entry.js +4 -0
  437. package/lib/duet/p-b0475c8a.entry.js +4 -0
  438. package/lib/duet/p-b07fe45f.system.entry.js +4 -0
  439. package/lib/duet/{p-fb7932ed.entry.js → p-b465c929.entry.js} +1 -1
  440. package/lib/duet/{p-3ad8fd01.system.entry.js → p-b71c141b.system.entry.js} +1 -1
  441. package/lib/duet/{p-393bb353.entry.js → p-b7605eb1.entry.js} +1 -1
  442. package/lib/duet/{p-71a46879.system.js → p-b760c72b.system.js} +1 -1
  443. package/lib/duet/{p-55fd5afe.entry.js → p-b760effb.entry.js} +1 -1
  444. package/lib/duet/{p-ac70bace.system.entry.js → p-b7e61bdc.system.entry.js} +1 -1
  445. package/lib/duet/p-b8b12400.system.entry.js +4 -0
  446. package/lib/duet/p-b9eb37ae.system.entry.js +4 -0
  447. package/lib/duet/p-bd594a8b.entry.js +4 -0
  448. package/lib/duet/p-bde9a702.system.entry.js +4 -0
  449. package/lib/duet/{p-fdeecf57.system.entry.js → p-c1573ac3.system.entry.js} +1 -1
  450. package/lib/duet/p-c1fb544b.system.entry.js +4 -0
  451. package/lib/duet/{p-dfb3dc4a.entry.js → p-c201968f.entry.js} +1 -1
  452. package/lib/duet/{p-03048264.system.entry.js → p-c2731be1.system.entry.js} +1 -1
  453. package/lib/duet/p-c2b0861c.system.entry.js +4 -0
  454. package/lib/duet/p-c3a883e3.entry.js +4 -0
  455. package/lib/duet/p-c4fac0b5.system.entry.js +4 -0
  456. package/lib/duet/{p-b069fbc0.entry.js → p-cb451f23.entry.js} +1 -1
  457. package/lib/duet/{p-0445200d.entry.js → p-cba1009b.entry.js} +1 -1
  458. package/lib/duet/p-cd05fea5.system.entry.js +4 -0
  459. package/lib/duet/p-cf824b6b.system.entry.js +4 -0
  460. package/lib/duet/{p-e845d5f4.system.entry.js → p-d183a3e7.system.entry.js} +1 -1
  461. package/lib/duet/{p-8c8fbad6.system.entry.js → p-d1f815a3.system.entry.js} +1 -1
  462. package/lib/duet/p-d4d63fbd.system.entry.js +4 -0
  463. package/lib/duet/{p-71f9674a.entry.js → p-d68c84ab.entry.js} +1 -1
  464. package/lib/duet/{p-444b3ae5.entry.js → p-d6d5ef13.entry.js} +1 -1
  465. package/lib/duet/{p-eedc5e43.entry.js → p-d7c5ac53.entry.js} +1 -1
  466. package/lib/duet/p-db6887df.entry.js +4 -0
  467. package/lib/duet/{p-78d94bf8.entry.js → p-db95e133.entry.js} +1 -1
  468. package/lib/duet/{p-ad71602b.entry.js → p-dfc66b98.entry.js} +1 -1
  469. package/lib/duet/{p-1200d4b2.system.entry.js → p-e27a7520.system.entry.js} +1 -1
  470. package/lib/duet/{p-3d82ea29.entry.js → p-e356ca29.entry.js} +1 -1
  471. package/lib/duet/{p-2432f0f4.entry.js → p-e3f8becc.entry.js} +1 -1
  472. package/lib/duet/{p-a7253ad1.entry.js → p-e4734600.entry.js} +1 -1
  473. package/lib/duet/{p-7a81869c.entry.js → p-e4e0578f.entry.js} +1 -1
  474. package/lib/duet/{p-50db959c.system.entry.js → p-e50d1003.system.entry.js} +1 -1
  475. package/lib/duet/{p-dd8c607e.system.entry.js → p-e7cc2826.system.entry.js} +1 -1
  476. package/lib/duet/{p-e8c0cf74.entry.js → p-e91a7222.entry.js} +1 -1
  477. package/lib/duet/p-e9b8cee0.system.entry.js +4 -0
  478. package/lib/duet/p-ea1287ce.system.entry.js +4 -0
  479. package/lib/duet/{p-2f431a14.entry.js → p-f0317574.entry.js} +1 -1
  480. package/lib/duet/{p-fd4785ab.js → p-f1d51e20.js} +1 -1
  481. package/lib/duet/p-f27b134c.system.entry.js +4 -0
  482. package/lib/duet/{p-4ad5e118.entry.js → p-f5903e7d.entry.js} +1 -1
  483. package/lib/duet/{p-8abd8397.entry.js → p-f74b6629.entry.js} +1 -1
  484. package/lib/duet/p-faf2b9d1.entry.js +4 -0
  485. package/lib/duet/p-fbdb1eec.entry.js +4 -0
  486. package/lib/duet/p-fc0f56ae.system.entry.js +4 -0
  487. package/lib/duet/{p-9f1e66fa.entry.js → p-fee0f558.entry.js} +1 -1
  488. package/lib/esm/duet-action-button.entry.js +5 -4
  489. package/lib/esm/duet-alert.entry.js +2 -2
  490. package/lib/esm/duet-badge.entry.js +2 -2
  491. package/lib/esm/duet-banner.entry.js +3 -3
  492. package/lib/esm/duet-breadcrumb.entry.js +22 -4
  493. package/lib/esm/duet-breadcrumbs.entry.js +3 -5
  494. package/lib/esm/duet-button_2.entry.js +4 -4
  495. package/lib/esm/duet-callout.entry.js +1 -1
  496. package/lib/esm/duet-caption_4.entry.js +4 -4
  497. package/lib/esm/duet-card.entry.js +4 -4
  498. package/lib/esm/duet-checkbox.entry.js +2 -2
  499. package/lib/esm/duet-checkmark.entry.js +1 -1
  500. package/lib/esm/duet-chip.entry.js +2 -2
  501. package/lib/esm/duet-choice_2.entry.js +3 -3
  502. package/lib/esm/duet-collapsible.entry.js +3 -3
  503. package/lib/esm/duet-combobox.entry.js +1 -1
  504. package/lib/esm/duet-contact-card.entry.js +1 -1
  505. package/lib/esm/duet-cookie-consent.entry.js +13 -3
  506. package/lib/esm/duet-date-picker.entry.js +3 -3
  507. package/lib/esm/duet-divider_2.entry.js +3 -3
  508. package/lib/esm/duet-editable-table_3.entry.js +3 -3
  509. package/lib/esm/duet-empty-state.entry.js +1 -1
  510. package/lib/esm/duet-fieldset.entry.js +1 -1
  511. package/lib/esm/duet-footer.entry.js +2 -2
  512. package/lib/esm/duet-grid_2.entry.js +2 -2
  513. package/lib/esm/duet-header_2.entry.js +5 -5
  514. package/lib/esm/duet-hero.entry.js +2 -2
  515. package/lib/esm/duet-icon.entry.js +3 -3
  516. package/lib/esm/duet-input_2.entry.js +2 -2
  517. package/lib/esm/duet-layout.entry.js +1 -1
  518. package/lib/esm/duet-list_2.entry.js +1 -1
  519. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  520. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  521. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
  522. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  523. package/lib/esm/duet-menu-bar.entry.js +3 -3
  524. package/lib/esm/duet-modal.entry.js +2 -2
  525. package/lib/esm/duet-multiselect.entry.js +2 -2
  526. package/lib/esm/duet-nav.entry.js +1 -1
  527. package/lib/esm/duet-notification_2.entry.js +3 -3
  528. package/lib/esm/duet-number-input.entry.js +2 -2
  529. package/lib/esm/duet-page-heading.entry.js +1 -1
  530. package/lib/esm/duet-pagination_2.entry.js +53 -10
  531. package/lib/esm/duet-popup-menu-item.entry.js +2 -2
  532. package/lib/esm/duet-popup-menu.entry.js +3 -1
  533. package/lib/esm/duet-progress.entry.js +1 -1
  534. package/lib/esm/duet-promo-card.entry.js +3 -3
  535. package/lib/esm/duet-radio_2.entry.js +2 -2
  536. package/lib/esm/duet-range-slider.entry.js +3 -3
  537. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  538. package/lib/esm/duet-section-layout.entry.js +1 -1
  539. package/lib/esm/duet-select.entry.js +6 -6
  540. package/lib/esm/duet-shaped-image.entry.js +1 -1
  541. package/lib/esm/duet-show-more.entry.js +1 -1
  542. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  543. package/lib/esm/duet-slideout-link.entry.js +2 -2
  544. package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
  545. package/lib/esm/duet-slideout-panel.entry.js +5 -5
  546. package/lib/esm/duet-slideout.entry.js +33 -6
  547. package/lib/esm/duet-step_2.entry.js +2 -2
  548. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  549. package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
  550. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  551. package/lib/esm/duet-submenu-bar.entry.js +14 -10
  552. package/lib/esm/duet-textarea.entry.js +2 -2
  553. package/lib/esm/duet-toggle.entry.js +2 -2
  554. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  555. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  556. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  557. package/lib/esm/duet-toolbar.entry.js +1 -1
  558. package/lib/esm/duet-tooltip-button_2.entry.js +4 -4
  559. package/lib/esm/duet-tooltip.entry.js +3 -3
  560. package/lib/esm/duet-tray.entry.js +3 -3
  561. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  562. package/lib/esm/duet-upload-item.entry.js +1 -1
  563. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  564. package/lib/esm/duet.js +3 -3
  565. package/lib/esm/{focus-utils-6a5d6710.js → focus-utils-e26ba3b3.js} +1 -1
  566. package/lib/esm/{index-461a449b.js → index-c1a17a4c.js} +1 -1
  567. package/lib/esm/loader.js +3 -3
  568. package/lib/esm/{token-utils-a1dcaa4b.js → token-utils-2d3af0db.js} +1 -1
  569. package/lib/esm/{tokens-f6b32339.js → tokens-e6b6db9b.js} +24 -0
  570. package/lib/esm/{tokens.module-ed773027.js → tokens.module-c7944140.js} +16 -0
  571. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  572. package/lib/esm-es5/duet-alert.entry.js +1 -1
  573. package/lib/esm-es5/duet-badge.entry.js +1 -1
  574. package/lib/esm-es5/duet-banner.entry.js +1 -1
  575. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  576. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  577. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  578. package/lib/esm-es5/duet-callout.entry.js +1 -1
  579. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  580. package/lib/esm-es5/duet-card.entry.js +1 -1
  581. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  582. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  583. package/lib/esm-es5/duet-chip.entry.js +1 -1
  584. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  585. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  586. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  587. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  588. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  589. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  590. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  591. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  592. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  593. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  594. package/lib/esm-es5/duet-footer.entry.js +1 -1
  595. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  596. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  597. package/lib/esm-es5/duet-hero.entry.js +1 -1
  598. package/lib/esm-es5/duet-icon.entry.js +1 -1
  599. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  600. package/lib/esm-es5/duet-layout.entry.js +1 -1
  601. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  602. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  603. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  604. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  605. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  606. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  607. package/lib/esm-es5/duet-modal.entry.js +1 -1
  608. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  609. package/lib/esm-es5/duet-nav.entry.js +1 -1
  610. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  611. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  612. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  613. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  614. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  615. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  616. package/lib/esm-es5/duet-progress.entry.js +1 -1
  617. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  618. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  620. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  621. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  622. package/lib/esm-es5/duet-select.entry.js +2 -2
  623. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  624. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  625. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  626. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  627. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  628. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  629. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  630. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  631. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  632. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  633. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  634. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  635. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  636. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  637. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  638. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  639. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  640. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  641. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  642. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  643. package/lib/esm-es5/duet-tray.entry.js +1 -1
  644. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  645. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  646. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  647. package/lib/esm-es5/duet.js +1 -1
  648. package/lib/esm-es5/{focus-utils-6a5d6710.js → focus-utils-e26ba3b3.js} +1 -1
  649. package/lib/esm-es5/{index-461a449b.js → index-c1a17a4c.js} +1 -1
  650. package/lib/esm-es5/loader.js +1 -1
  651. package/lib/esm-es5/{token-utils-a1dcaa4b.js → token-utils-2d3af0db.js} +1 -1
  652. package/lib/esm-es5/tokens-e6b6db9b.js +4 -0
  653. package/lib/esm-es5/tokens.module-c7944140.js +4 -0
  654. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +6 -1
  655. package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +2 -0
  656. package/lib/types/components/duet-pagination/duet-pagination.d.ts +10 -4
  657. package/lib/types/components/duet-select/duet-select.d.ts +3 -2
  658. package/lib/types/components/duet-slideout/duet-slideout.d.ts +5 -0
  659. package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +2 -2
  660. package/lib/types/components.d.ts +10 -10
  661. package/package.json +5 -5
  662. package/lib/dist-custom-elements/p-1a94e82b.js +0 -262
  663. package/lib/dist-custom-elements/p-bb65095e.js +0 -271
  664. package/lib/duet/p-0037e20d.system.entry.js +0 -4
  665. package/lib/duet/p-0289fbda.entry.js +0 -4
  666. package/lib/duet/p-06f27610.system.entry.js +0 -4
  667. package/lib/duet/p-073d6f97.entry.js +0 -4
  668. package/lib/duet/p-0a30ca43.js +0 -4
  669. package/lib/duet/p-0eee231b.system.entry.js +0 -4
  670. package/lib/duet/p-1300971a.system.entry.js +0 -4
  671. package/lib/duet/p-153a027b.system.entry.js +0 -4
  672. package/lib/duet/p-15534404.system.entry.js +0 -4
  673. package/lib/duet/p-15799688.system.entry.js +0 -4
  674. package/lib/duet/p-1667e146.system.entry.js +0 -4
  675. package/lib/duet/p-16a5c1c3.system.entry.js +0 -4
  676. package/lib/duet/p-1f28890e.entry.js +0 -4
  677. package/lib/duet/p-2220521c.system.entry.js +0 -4
  678. package/lib/duet/p-223e3b4e.system.entry.js +0 -4
  679. package/lib/duet/p-24396004.system.entry.js +0 -4
  680. package/lib/duet/p-2578f223.entry.js +0 -4
  681. package/lib/duet/p-2768e79d.system.entry.js +0 -4
  682. package/lib/duet/p-3a8c1f83.system.entry.js +0 -4
  683. package/lib/duet/p-3ace0310.system.entry.js +0 -4
  684. package/lib/duet/p-3f0e3f2e.system.entry.js +0 -4
  685. package/lib/duet/p-43bf80f7.entry.js +0 -4
  686. package/lib/duet/p-45e609b1.system.js +0 -4
  687. package/lib/duet/p-4a6d2260.system.entry.js +0 -4
  688. package/lib/duet/p-4bebb594.system.entry.js +0 -4
  689. package/lib/duet/p-51d7dce2.entry.js +0 -4
  690. package/lib/duet/p-547f4d57.system.entry.js +0 -4
  691. package/lib/duet/p-54bedfc1.entry.js +0 -4
  692. package/lib/duet/p-54e76170.entry.js +0 -4
  693. package/lib/duet/p-583c363f.system.entry.js +0 -4
  694. package/lib/duet/p-63f0077b.entry.js +0 -4
  695. package/lib/duet/p-64b40242.system.entry.js +0 -4
  696. package/lib/duet/p-6e95e911.entry.js +0 -4
  697. package/lib/duet/p-6ff65c0f.system.entry.js +0 -4
  698. package/lib/duet/p-75e5becf.system.entry.js +0 -4
  699. package/lib/duet/p-775ae756.entry.js +0 -4
  700. package/lib/duet/p-82b579a9.system.entry.js +0 -4
  701. package/lib/duet/p-86364112.system.entry.js +0 -4
  702. package/lib/duet/p-88fbee70.system.entry.js +0 -4
  703. package/lib/duet/p-8c6e3c4f.system.js +0 -4
  704. package/lib/duet/p-94dd060e.system.entry.js +0 -4
  705. package/lib/duet/p-9721d5c8.entry.js +0 -4
  706. package/lib/duet/p-97a0cefa.system.entry.js +0 -4
  707. package/lib/duet/p-a1aae246.entry.js +0 -4
  708. package/lib/duet/p-aa76ed06.system.entry.js +0 -4
  709. package/lib/duet/p-acb8efa3.system.entry.js +0 -4
  710. package/lib/duet/p-b519ac77.js +0 -4
  711. package/lib/duet/p-c0421abd.system.entry.js +0 -4
  712. package/lib/duet/p-c0a1eca6.system.entry.js +0 -4
  713. package/lib/duet/p-c9881968.system.entry.js +0 -4
  714. package/lib/duet/p-cdc5fd58.system.entry.js +0 -4
  715. package/lib/duet/p-d01530c7.entry.js +0 -4
  716. package/lib/duet/p-d6f75b8c.system.entry.js +0 -4
  717. package/lib/duet/p-d89ed9a7.entry.js +0 -4
  718. package/lib/duet/p-dc42d88f.system.entry.js +0 -4
  719. package/lib/duet/p-dd01dec3.entry.js +0 -4
  720. package/lib/duet/p-e0e8af53.system.entry.js +0 -4
  721. package/lib/duet/p-e4408451.system.entry.js +0 -4
  722. package/lib/duet/p-e71c9a22.system.entry.js +0 -4
  723. package/lib/duet/p-e7db4458.system.entry.js +0 -4
  724. package/lib/duet/p-ecb74e7a.system.js +0 -4
  725. package/lib/duet/p-eec6e6f2.entry.js +0 -4
  726. package/lib/duet/p-f5caefda.entry.js +0 -4
  727. package/lib/duet/p-f89a1ae9.system.entry.js +0 -4
  728. package/lib/duet/p-fa3fea8e.entry.js +0 -4
  729. package/lib/duet/p-fcc290f8.system.entry.js +0 -4
  730. package/lib/esm-es5/tokens-f6b32339.js +0 -4
  731. package/lib/esm-es5/tokens.module-ed773027.js +0 -4
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-c48d8cfe.system.js","./p-45e609b1.system.js","./p-33b3aba4.system.js","./p-51721695.system.js"],(function(e){"use strict";var t,n,i,o,a,r,s;return{setters:[function(e){t=e.r;n=e.h;i=e.H;o=e.g},function(e){a=e.a},function(e){r=e.i},function(e){s=e.f}],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;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 77, 128)}}.duet-submenu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-submenu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}.duet-theme-turva .duet-submenu-bar-link.active{color:rgb(198, 12, 48)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}}.duet-submenu-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";color:rgb(23, 28, 58)}.duet-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(0, 41, 77);background:rgb(230, 242, 248)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(228, 228, 230)}}';var l=e("duet_submenu_bar_link",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(a.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="small";this.theme="";this.active=false;this.href="#";this.icon=undefined}e.prototype.componentWillLoad=function(){r(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.handleEscape=function(e){if(s(e)){var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return n(i,null,n("a",{class:{"duet-submenu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,onKeyUp:function(t){return e.handleEscape(t)},"aria-current":this.active?"true":"false"},this.icon&&n("duet-icon",{theme:this.theme,name:this.icon,size:this.iconSize,margin:"none",color:"currentColor"}),n("span",{class:"label"},n("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());l.style=u}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as i,h as e,F as a,H as s,g as n}from"./p-f7418b24.js";import{i as r}from"./p-4ebf1618.js";import{c as o}from"./p-c1325e35.js";import{d as h}from"./p-0b3f675e.js";import{k as l,l as p,d,b as u,a as c,c as g,m,n as b}from"./p-f077c646.js";import{g as v,c as f,d as k}from"./p-03baceb5.js";import"./p-5a9d75e1.js";const y=class{constructor(e){t(this,e),this.duetPageChange=i(this,"duetPageChange",3),this.listId=o("duet-pagination-list"),this.firstRenderDone=!1,this.actionChain=async(t,i)=>{if(0===t)this.current=1;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=h(((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})}),100),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.numbersStore="",this.totalPages=10,this.internalSectionIndex=0,this.theme="",this.jumpString="...",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",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",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:"Sidutning, 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.ariaControls="",this.current=1}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(),r(this)}componentDidLoad(){this.firstRenderDone=!0}componentWillRender(){0!==this.internalSectionIndex&&this.internalSectionIndex!==this.totalPages&&this.calculatePageTake()}componentDidRender(){this.firstRenderDone&&this.setFocus()}connectedCallback(){f(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){k(this)}calculatePageTake(){this.totalPages=Math.ceil(this.total/this.take)}async onMouseHandler(t,i){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.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("li.duet-pagination-item-is-active duet-button");t&&await t.setFocus()}pageClickHandler(t){t.preventDefault();const i=Number(t.target.getAttribute("data-id"));this.current=i,this.emitPageEvent({},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){t.preventDefault(),this.internalSectionIndex=0,this.current=1,this.emitPageEvent(t)}jumpToEnd(t){t.preventDefault(),this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1),this.current=this.totalPages,this.emitPageEvent(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"},e("duet-button",{class:{"duet-pagination-link":!0},color:i!==this.current?"turva"!==this.theme?"secondary":"secondary-turva":"turva"!==this.theme?"primary":"primary-turva","data-id":i,"center-text":!0,variation:"plain",margin:"none",accessibleLabel:`${this.accessibleLabels.go_to} ${i}`,onClick:t=>this.pageClickHandler(t),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":!0},i))))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t}shouldDisplayNavigation(){return"compact"!==this.variation&&!(2*this.visibleItems>this.total/this.take)}render(){return e(s,{onKeyDown:t=>this.onKeyboardDown(t)},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},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",onClick:t=>this.onMouseHandler(t,-1),"accessible-label":this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme})),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},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.renderPageNumbers(),this.internalSectionIndex*(this.visibleItems+2)<this.totalPages&&this.shouldDisplayNavigation()&&e(a,null,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},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,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,onClick:t=>this.onMouseHandler(t,1),"icon-name":"action-arrow-right-small",theme:this.theme})))))}get element(){return n(this)}static get watchers(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"]}}};y.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}";const w=class{constructor(e){t(this,e),this.duetRangeStepUpdate=i(this,"duetRangeStepUpdate",7),this.leftBn=o("duetRangeStepper-left"),this.rightBn=o("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(){r(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"]}}};w.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{y as duet_pagination,w as duet_range_stepper}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,a,i){function n(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function o(e){try{s(i.next(e))}catch(e){r(e)}}function d(e){try{s(i["throw"](e))}catch(e){r(e)}}function s(e){e.done?a(e.value):n(e.value).then(o,d)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,o;return o={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function d(e){return function(t){return s([e,t])}}function s(d){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,d[0]&&(a=0)),a)try{if(i=1,n&&(r=d[0]&2?n["return"]:d[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,d[1])).done)return r;if(n=0,r)d=[d[0]&2,r.value];switch(d[0]){case 0:case 1:r=d;break;case 4:a.label++;return{value:d[1],done:false};case 5:a.label++;n=d[1];d=[0];continue;case 7:d=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(d[0]===6||d[0]===2)){a=0;continue}if(d[0]===3&&(!r||d[1]>r[0]&&d[1]<r[3])){a.label=d[1];break}if(d[0]===6&&a.label<r[1]){a.label=r[1];r=d;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(d);break}if(r[2])a.ops.pop();a.trys.pop();continue}d=t.call(e,a)}catch(e){d=[6,e];n=0}finally{i=r=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-ba1d3a66.system.js","./p-43660fa9.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var t,a,i,n,r,o,d,s,u,l,c,p;return{setters:[function(e){t=e.h;a=e.r;i=e.c;n=e.H;r=e.g},function(e){o=e.i},function(e){d=e.c},function(e){s=e.F},function(e){u=e.a;l=e.g;c=e.c;p=e.d},function(){}],execute:function(){var h={day:"numeric",month:"long"};var b={day:"numeric",month:"long",year:"numeric"};var m={fi:{buttonLabel:"Valitse päivämäärä",prevMonthLabel:"Edellinen kuukausi",nextMonthLabel:"Seuraava kuukausi",monthSelectLabel:"Kuukausi",yearSelectLabel:"Vuosi",closeLabel:"Sulje ikkuna",selected:"Valittu päivämäärä on",keyboardInstruction:"Voit navigoida päivämääriä nuolinäppäimillä",dayLabels:["Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai","Sunnuntai"],monthLabels:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthLabelsShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],formatterShort:new Intl.DateTimeFormat("fi-FI",h),formatterLong:new Intl.DateTimeFormat("fi-FI",b)},en:{buttonLabel:"Choose date",prevMonthLabel:"Previous month",nextMonthLabel:"Next month",monthSelectLabel:"Month",yearSelectLabel:"Year",closeLabel:"Close window",selected:"Selected date is",keyboardInstruction:"You can use arrow keys to navigate dates",dayLabels:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthLabels:["January","February","March","April","May","June","July","August","September","October","November","December"],monthLabelsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("en-GB",h),formatterLong:new Intl.DateTimeFormat("en-GB",b)},sv:{buttonLabel:"Välj datum",prevMonthLabel:"Föregående månad",nextMonthLabel:"Nästa månad",monthSelectLabel:"Månad",yearSelectLabel:"År",closeLabel:"Stäng fönstret",selected:"Valt datum är",keyboardInstruction:"Använd piltangenterna för att navigera i kalender",dayLabels:["Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag","Söndag"],monthLabels:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthLabelsShort:["Jan","Feb","Mars","April","Maj","Juni","Juli","Aug","Sep","Okt","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("sv-SE",h),formatterLong:new Intl.DateTimeFormat("sv-SE",b)}};var g={title:"form-date",tags:"form date calendar date picker",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M2.25 24A2.252 2.252 0 0 1 0 21.75V5.25A2.252 2.252 0 0 1 2.25 3H6V.75a.75.75 0 0 1 1.5 0V3h9V.75a.75.75 0 0 1 1.5 0V3h3.75A2.252 2.252 0 0 1 24 5.25v16.5A2.252 2.252 0 0 1 21.75 24zm-.75-2.25c0 .414.336.75.75.75h19.5a.75.75 0 0 0 .75-.75V10.5h-21zM22.5 9V5.25a.75.75 0 0 0-.75-.75H18V6a.75.75 0 0 1-1.5 0V4.5h-9V6A.75.75 0 0 1 6 6V4.5H2.25a.75.75 0 0 0-.75.75V9z"/><circle cx="5.625" cy="13.875" r="1.125"/><circle cx="5.625" cy="19.125" r="1.125"/><circle cx="12" cy="13.875" r="1.125"/><circle cx="12" cy="19.125" r="1.125"/><circle cx="18.375" cy="13.875" r="1.125"/><path d="M18.375 20.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.171-1.122l.027.003a1.118 1.118 0 0 1 1.052 1.12c0 .619-.505 1.124-1.125 1.124z"/></svg>'};var f=function(e){var a=e.onClick,i=e.placeholder,n=e.name,r=e.inputLabel,o=e.value,d=e.valueAsDate,s=e.formattedValue,u=e.language,l=e.identifier,c=e.theme,p=e.disabled,h=e.error,b=e.role,f=e.required,v=e.tooltip,y=e.tooltipDirection,k=e.labelHidden,x=e.buttonRef,w=e.inputRef,D=e.onInput,S=e.onBlur,M=e.onFocus,F=e.accessibleActiveDescendant,I=e.accessibleControls,L=e.accessibleOwns,T=e.accessibleDescribedBy,Y=e.echoPlaceholder,V=e.caption;var A=m[u],C=A.buttonLabel,E=A.selected,j=A.formatterLong;return t("div",{class:{"duet-theme-turva":c==="turva","duet-date-input":true}},t("duet-input",{label:r,value:s,placeholder:i,id:l,disabled:p,theme:c,error:h,role:b,required:f,tooltip:v,tooltipDirection:y,margin:"none",component:"date",labelHidden:k,accessibleAutocomplete:"none",onDuetInput:D,onDuetFocus:M,onDuetBlur:S,autoComplete:"off",disallowPattern:"[^0-9\\.\\-\\/]",expand:true,ref:w,accessibleActiveDescendant:F,accessibleControls:I,accessibleOwns:L,accessibleDescribedBy:T,echoPlaceholder:Y,caption:V},t("button",{class:{"duet-date-button":true,"duet-no-label":k},onClick:a,disabled:p,ref:x,type:"button"},t("duet-icon",{icon:g.svg,margin:"none",size:"small",color:"currentColor"}),t("duet-visually-hidden",null,C,d&&t("span",null,", ",E," ",j.format(d))))),t("input",{type:"hidden",name:n,value:o}))};var v=/^(\d{1,2})[\.\-\/](\d{1,2})[\.\-\/](\d{4})$/;var y=/^(\d{4})-(\d{2})-(\d{2})$/;var k="dd.mm.yyyy";var x="YYYY-MM-DD";function w(e,t,a){var i=parseInt(a,10);var n=parseInt(t,10);var r=parseInt(e,10);var o=Number.isInteger(r)&&Number.isInteger(n)&&Number.isInteger(i)&&n>0&&n<=12&&i>0&&i<=31&&r>0;if(o){return new Date(r,n-1,i)}}function D(e){if(!e){return}var t=e.match(v);if(t){return w(t[3],t[2],t[1])}}function S(e){if(!e){return}var t=e.match(y);if(t){return w(t[1],t[2],t[3])}}function M(e,t){if(!e){return""}var a=e.getDate().toString(10);var i=(e.getMonth()+1).toString(10);var n=e.getFullYear().toString(10);if(e.getDate()<10){a="0".concat(a)}if(e.getMonth()<9){i="0".concat(i)}return t.replace(/MM/i,i).replace(/YYYY/i,n).replace(/DD/i,a)}function F(e){return M(e,k)}function I(e){return M(e,x)}function L(e,t){if(e==null||t==null){return false}return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function T(e,t){var a=new Date(e);a.setDate(a.getDate()+t);return a}function Y(e,t){if(t===void 0){t=1}var a=new Date(e);var i=a.getDay();var n=(i<t?7:0)+i-t;a.setDate(a.getDate()-n);return a}function V(e,t){if(t===void 0){t=1}var a=new Date(e);var i=a.getDay();var n=(i<t?-7:0)+6-(i-t);a.setDate(a.getDate()+n);return a}function A(e){return new Date(e.getFullYear(),e.getMonth(),1)}function C(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function E(e,t){var a=new Date(e);a.setMonth(t);return a}function j(e,t){var a=new Date(e);a.setFullYear(t);return a}function B(e,t,a){return P(e,t,a)===e}function P(e,t,a){var i=e.getTime();if(t&&t instanceof Date&&i<t.getTime()){return t}if(a&&a instanceof Date&&i>a.getTime()){return a}return e}function N(e,t){var a=[];var i=e;while(!L(i,t)){a.push(i);i=T(i,1)}a.push(i);return a}function z(e,t){if(t===void 0){t=1}var a=Y(A(e),t);var i=V(C(e),t);return N(a,i)}var U=function(e){var a=e.focusedDay,i=e.today,n=e.day,r=e.language,o=e.onDaySelect,d=e.onKeyboardNavigation,s=e.ref,u=e.inRange,l=e.isSelected;var c=L(n,i);var p=L(n,a);var h=n.getMonth()!==a.getMonth();var b=!u;var g=m[r].formatterShort;function f(e){o(e,n)}return t("button",{class:{"duet-date-table-button":true,outside:b,disabled:h,today:c},tabIndex:p?0:-1,onClick:f,onKeyDown:d,"aria-disabled":b||h,"aria-pressed":l?"true":"false",type:"button",ref:s},t("span",{"aria-hidden":"true"},n.getDate()),t("duet-visually-hidden",null,g.format(n)))};function H(e,t){var a=[];for(var i=e;i<=t;i++){a.push(i)}return a}function _(e,t){var a=[];for(var i=0;i<e.length;i+=t){a.push(e.slice(i,i+t))}return a}function O(e){var t;var a=e.trim().split("+");var i=a.pop();return[((t=a[0])===null||t===void 0?void 0:t.toLowerCase())==="shift",i]}function K(e){var t=Object.keys(e).map((function(t){return[O(t),e[t]]}));return function e(a){if(!(a instanceof KeyboardEvent)){return}var i=t.find((function(e){var t=e[0],i=t[0],n=t[1];return(n.toUpperCase()===a.key.toUpperCase()||n===a.code)&&i===a.shiftKey}));if(i){i[1](a);a.preventDefault()}}}var R=function(e){var a=e.selectedDate,i=e.focusedDate,n=e.labelledById,r=e.theme,o=e.language,d=e.min,s=e.max,u=e.onDateSelect,l=e.onKeyboardNavigation,c=e.focusedDayRef,p=e.onFocusEnter,h=e.onFocusExit;var b=m[o].dayLabels;var g=new Date;var f=z(i);function v(e){var t=e.currentTarget;var a=e.relatedTarget;if(a&&!t.contains(a)){h(e)}}return t("table",{class:{"duet-date-table":true,"duet-theme-turva":r==="turva"},"aria-labelledby":n,onFocusin:p,onFocusout:v},t("thead",null,t("tr",null,b.map((function(e){return t("th",{scope:"col"},t("span",{"aria-hidden":"true"},e.substr(0,2)),t("duet-visually-hidden",null,e))})))),t("tbody",null,_(f,7).map((function(e){return t("tr",{class:"duet-date-table-row"},e.map((function(e){return t("td",{class:"duet-date-table-cell"},t(U,{day:e,today:g,language:o,focusedDay:i,inRange:B(e,d,s),isSelected:L(e,a),onDaySelect:u,onKeyboardNavigation:l,ref:function(t){if(t&&L(e,i)){c(t)}}}))})))}))))};var J='*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-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;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;display:flex;align-items:center;justify-content:center;width:48px;height:calc(100% - 2px);color:rgb(0, 41, 77);cursor:pointer;background:transparent !important;border-left:1px solid rgb(207, 210, 212) !important;border-radius:0 4px 4px 0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(207, 207, 209)}.duet-date-button.sc-duet-date-picker::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(207, 210, 212, 0.2) 0%, rgba(207, 210, 212, 0.2) 1px, rgba(207, 210, 212, 0.1) 1px, rgba(207, 210, 212, 0) 100%)}.duet-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 245, 247) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-button.sc-duet-date-picker:focus{color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px rgb(0, 119, 179)}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px rgb(23, 28, 58)}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;background:rgba(0, 41, 77, 0.75);transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}.duet-date-dialog.duet-theme-turva.sc-duet-date-picker{background:rgba(23, 28, 58, 0.75)}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(228, 228, 230)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva.sc-duet-date-picker{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-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table-button.sc-duet-date-picker{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !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:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25 !important;color:rgb(0, 41, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(230, 242, 248) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(249, 230, 234) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 77, 128) !important;background:rgb(243, 249, 252) !important;box-shadow:0 0 0 1px rgb(0, 119, 179) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(148, 9, 37) !important;background:rgb(252, 243, 244) !important;box-shadow:0 0 0 1px rgb(198, 12, 48) !important}.duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px rgb(0, 119, 179) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:focus{z-index:200;box-shadow:0 0 5px rgb(0, 119, 179) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{box-shadow:0 0 5px rgb(198, 12, 48) !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(144, 149, 153) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(116, 116, 117) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(144, 149, 153) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(116, 116, 117);background:rgb(245, 245, 247);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);pointer-events:none;border-radius:4px}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{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-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px rgb(0, 119, 179)}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px rgb(23, 28, 58)}.duet-date-dialog-mobile-header.sc-duet-date-picker{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(207, 210, 212)}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(207, 207, 209)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(0, 41, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 245, 247) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 245, 247) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px rgb(0, 119, 179)}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px rgb(23, 28, 58)}';var W=e("duet_date_picker",function(){function e(e){var t=this;a(this,e);this.duetChange=i(this,"duetChange",7);this.duetBlur=i(this,"duetBlur",7);this.duetFocus=i(this,"duetFocus",7);this.monthSelectId=d("DuetDatePicker");this.yearSelectId=d("DuetDatePicker");this.dialogLabelId=d("DuetDatePicker");this.initialTouchX=null;this.initialTouchY=null;this.focusTarget=null;this.enableActiveFocus=function(){t.focusTarget="day-button"};this.disableActiveFocus=function(){t.focusTarget=null};this.toggleOpen=function(e){e.preventDefault();t.open?t.hide(false):t.show()};this.handleBlur=function(e){e.stopPropagation();t.duetBlur.emit({component:"duet-date-picker"})};this.handleFocus=function(e){e.stopPropagation();t.duetFocus.emit({component:"duet-date-picker"})};this.handleTouchStart=function(e){var a=e.changedTouches[0];t.initialTouchX=a.pageX;t.initialTouchY=a.pageY};this.handleTouchMove=function(e){e.preventDefault()};this.handleTouchEnd=function(e){var a=e.changedTouches[0];var i=a.pageX-t.initialTouchX;var n=a.pageY-t.initialTouchY;var r=70;var o=Math.abs(i)>=r&&Math.abs(n)<=r;var d=Math.abs(n)>=r&&Math.abs(i)<=r&&n>0;if(o){t.addMonths(i<0?1:-1)}else if(d){t.hide();e.preventDefault()}t.initialTouchY=null;t.initialTouchX=null};this.handleNextMonthClick=function(e){e.preventDefault();t.addMonths(1)};this.handlePreviousMonthClick=function(e){e.preventDefault();t.addMonths(-1)};this.handleEscKey=K({Escape:function(){return t.hide()},Esc:function(){return t.hide()}});this.handleKeyboardNavigation=K({ArrowRight:function(){return t.addDays(1)},Right:function(){return t.addDays(1)},ArrowLeft:function(){return t.addDays(-1)},Left:function(){return t.addDays(-1)},ArrowDown:function(){return t.addDays(7)},Down:function(){return t.addDays(7)},ArrowUp:function(){return t.addDays(-7)},Up:function(){return t.addDays(-7)},Home:function(){return t.startOfWeek()},End:function(){return t.endOfWeek()},PageUp:function(){return t.addMonths(-1)},PageDown:function(){return t.addMonths(1)},"Shift+PageUp":function(){return t.addYears(-1)},"Shift+PageDown":function(){return t.addYears(1)}});this.handleDaySelect=function(e,a){var i=S(t.min);var n=S(t.max);t.determineValidity(a);if(B(a,i,n)){t.setValue(a);t.hide()}};this.handleMonthSelect=function(e){t.setMonth(parseInt(e.target.value,10))};this.handleYearSelect=function(e){t.setYear(parseInt(e.target.value,10))};this.handleInputChange=function(e){t.inputValue=e.detail.value;var a=D(t.inputValue);t.determineValidity(a);if(a||t.inputValue===""){t.setValue(a)}};this.open=false;this.focusedDay=new Date;this.inputValue="";this.theme="";this.expand=false;this.name="";this.identifier="";this.label="";this.caption=undefined;this.margin="auto";this.language=u();this.placeholderDefaults={fi:"pp.kk.vvvv",en:"dd.mm.yyyy",sv:"dd.mm.åååå"};this.placeholder=l(this.placeholderDefaults,this.language);this.echoPlaceholder=false;this.disabled=false;this.error="";this.labelHidden=false;this.role=undefined;this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.required=false;this.direction="right";this.tooltip="";this.tooltipDirection="auto";this.value="";this.min="";this.max="";this.incrementYears=10;this.validity=undefined}e.prototype.updateValidity=function(){this.determineValidity(S(this.value))};e.prototype.updateInternalValue=function(){var e=S(this.value);var t=D(this.inputValue);if(!e){this.inputValue=""}else if(!L(e,t)){this.inputValue=F(e)}};e.prototype.componentWillLoad=function(){o(this);this.determineValidity(S(this.value));this.updateInternalValue()};e.prototype.componentDidUpdate=function(){switch(this.focusTarget){case"toggle-button":this.datePickerButton.focus();this.focusTarget=null;break;case"day-button":this.focusedDayNode.focus();break;case"month-select":this.monthSelectNode.focus();this.focusTarget=null;break}};e.prototype.connectedCallback=function(){c(this,{prop:"placeholder",defaults:"placeholderDefaults"})};e.prototype.disconnectedCallback=function(){p(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.datePickerInput.setFocus(e);return[2]}))}))};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.open=true;this.focusTarget="month-select";this.setFocusedDay(S(this.value)||new Date);return[2]}))}))};e.prototype.hide=function(e){if(e===void 0){e=true}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=false;if(e){this.focusTarget="toggle-button"}return[2]}))}))};e.prototype.addDays=function(e){this.setFocusedDay(T(this.focusedDay,e))};e.prototype.addMonths=function(e){this.setMonth(this.focusedDay.getMonth()+e)};e.prototype.addYears=function(e){this.setYear(this.focusedDay.getFullYear()+e)};e.prototype.startOfWeek=function(){this.setFocusedDay(Y(this.focusedDay))};e.prototype.endOfWeek=function(){this.setFocusedDay(V(this.focusedDay))};e.prototype.setMonth=function(e){var t=E(A(this.focusedDay),e);var a=C(t);var i=E(this.focusedDay,e);this.setFocusedDay(P(i,t,a))};e.prototype.setYear=function(e){var t=j(A(this.focusedDay),e);var a=C(t);var i=j(this.focusedDay,e);this.setFocusedDay(P(i,t,a))};e.prototype.setFocusedDay=function(e){this.focusedDay=P(e,S(this.min),S(this.max))};e.prototype.determineValidity=function(e){var t,a;var i=(a=(t=this.datePickerInput)===null||t===void 0?void 0:t.value)!==null&&a!==void 0?a:"";var n=i!==""&&e==null;var r=this.required&&e==null;var o=e?!B(e,null,S(this.max)):false;var d=e?!B(e,S(this.min)):false;this.validity={patternMismatch:false,customError:false,stepMismatch:false,tooLong:false,tooShort:false,typeMismatch:false,valueMissing:r,badInput:n,rangeUnderflow:d,rangeOverflow:o,valid:!(r||n||d||o)}};e.prototype.setValue=function(e){var t=I(e);if(t===this.value){return}this.value=t;this.duetChange.emit({component:"duet-date-picker",value:this.value,valueAsDate:e})};e.prototype.handleDocumentClick=function(e){var t=this;if(!this.open){return}var a=e.composedPath().every((function(e){return e!==t.dialogWrapperNode&&e!==t.datePickerButton}));if(a){this.hide(false)}};e.prototype.render=function(){var e=this;var a=S(this.value);var i=(a||this.focusedDay).getFullYear();var r=this.focusedDay.getMonth();var o=this.focusedDay.getFullYear();var d=m[this.language];var u=S(this.min);var l=S(this.max);var c=u!=null&&u.getMonth()===r&&u.getFullYear()===o;var p=l!=null&&l.getMonth()===r&&l.getFullYear()===o;var h=i-this.incrementYears;var b=i+this.incrementYears;if(u){h=Math.max(h,u.getFullYear())}if(l){b=Math.min(b,l.getFullYear())}return t(n,{class:{"duet-expand":this.expand,"duet-m-0":this.margin==="none"}},t("div",{class:"duet-date"},t(f,{value:this.value,valueAsDate:a,formattedValue:this.inputValue,language:this.language,onInput:this.handleInputChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onClick:this.toggleOpen,name:this.name,disabled:this.disabled,error:this.error,role:this.role,required:this.required,theme:this.theme,tooltip:this.tooltip,tooltipDirection:this.tooltipDirection,labelHidden:this.labelHidden,placeholder:this.placeholder,inputLabel:this.label,identifier:this.identifier,buttonRef:function(t){return e.datePickerButton=t},inputRef:function(t){return e.datePickerInput=t},accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy,echoPlaceholder:this.echoPlaceholder,caption:this.caption})),t("div",{class:{"duet-theme-turva":this.theme==="turva","duet-date-dialog":true,left:this.direction==="left",error:!!this.error,active:this.open},role:"dialog","aria-modal":"true","aria-hidden":this.open?"false":"true","aria-labelledby":this.dialogLabelId,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},t(s,{moveFocusTo:this.focusedDayNode}),t("div",{class:"duet-date-dialog-wrapper",onKeyDown:this.handleEscKey,ref:function(t){return e.dialogWrapperNode=t}},t("duet-visually-hidden",{"aria-live":"polite"},d.keyboardInstruction),t("div",{class:"duet-date-dialog-mobile-header"},t("duet-label",{margin:"none"},this.label),t("button",{class:"duet-date-picker-close",ref:function(t){return e.closeButtonNode=t},onClick:function(){return e.hide()},type:"button"},t("duet-icon",{name:"navigation-close-small",margin:"none",color:"currentColor",size:"xx-small"}),t("duet-visually-hidden",null,d.closeLabel))),t("div",{class:"duet-date-dialog-header"},t("div",{class:"duet-date-dialog-dropdowns"},t("duet-visually-hidden",null,t("h2",{id:this.dialogLabelId,"aria-live":"polite","aria-atomic":"true"},d.monthLabels[r]," ",this.focusedDay.getFullYear())),t("duet-visually-hidden",null,t("label",{htmlFor:this.monthSelectId},d.monthSelectLabel)),t("div",{class:"duet-date-dialog-select"},t("select",{id:this.monthSelectId,class:"duet-date-month-select",ref:function(t){return e.monthSelectNode=t},onChange:this.handleMonthSelect},d.monthLabels.map((function(e,a){return t("option",{key:e,value:a,selected:a===r,disabled:!B(new Date(o,a,1),u?A(u):null,l?C(l):null)},e)}))),t("div",{class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",null,d.monthLabelsShort[r]),t("duet-icon",{name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"}))),t("duet-visually-hidden",null,t("label",{htmlFor:this.yearSelectId},d.yearSelectLabel)),t("div",{class:"duet-date-dialog-select"},t("select",{id:this.yearSelectId,class:"duet-date-year-select",onChange:this.handleYearSelect},H(h,b).map((function(e){return t("option",{key:e,selected:e===o},e)}))),t("div",{class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",null,this.focusedDay.getFullYear()),t("duet-icon",{name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"})))),t("div",{class:"duet-date-dialog-buttons"},t("duet-action-button",{accessibleLabel:m[this.language].prevMonthLabel,actionName:m[this.language].prevMonthLabel,class:"duet-date-dialog-prev",onClick:this.handlePreviousMonthClick,disabled:c,"icon-name":"action-arrow-left-small"},d.prevMonthLabel),t("duet-action-button",{accessibleLabel:m[this.language].nextMonthLabel,actionName:m[this.language].nextMonthLabel,class:"duet-date-dialog-next",onClick:this.handleNextMonthClick,disabled:p,"icon-name":"action-arrow-right-small"},d.nextMonthLabel))),t(R,{selectedDate:a,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,language:this.language,theme:this.theme,min:u,max:l,focusedDayRef:function(t){return e.focusedDayNode=t},onFocusEnter:this.enableActiveFocus,onFocusExit:this.disableActiveFocus})),t(s,{moveFocusTo:this.closeButtonNode})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{min:["updateValidity"],max:["updateValidity"],value:["updateValidity","updateInternalValue"],required:["updateValidity"]}},enumerable:false,configurable:true});return e}());W.style=J}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{a(i.next(e))}catch(e){o(e)}}function u(e){try{a(i["throw"](e))}catch(e){o(e)}}function a(e){e.done?n(e.value):r(e.value).then(s,u)}a((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(e){return function(t){return a([e,t])}}function a(u){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,u[0]&&(n=0)),n)try{if(i=1,r&&(o=u[0]&2?r["return"]:u[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;if(r=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1];o=u;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(u);break}if(o[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];r=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-a659351d.system.js","./p-33b3aba4.system.js","./p-51721695.system.js","./p-2bf922c1.system.js"],(function(e){"use strict";var t,n,i,r,o,s,u,a,c,l,p,h,f,d;return{setters:[function(e){t=e.r;n=e.c;i=e.h;r=e.H;o=e.g},function(e){s=e.c;u=e.o;a=e.f},function(e){c=e.i},function(e){l=e.f;p=e.c;h=e.b;f=e.o},function(e){d=e.T}],execute:function(){var m="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:0;padding:1rem 0;margin:0;color:rgb(0, 41, 77);list-style:none;visibility:hidden !important;background:rgb(243, 249, 252);border-radius:0 0 8px 8px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247)}";var b=e("duet_popup_menu",function(){function e(e){var i=this;t(this,e);this.duetToggle=n(this,"duetToggle",7);this.updatePlacement=function(){return __awaiter(i,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!this.controller){return[2]}return[4,s(this.controller,this.element,{middleware:[u({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),a()],placement:this.placement,strategy:this.position})];case 1:e=t.sent();this.menuY=e.y;this.menuX=e.x;return[2]}}))}))};this.open=false;this.menuY=undefined;this.menuX=undefined;this.accessibleLabel=undefined;this.theme="";this.controller=undefined;this.placement="bottom-start";this.position="absolute";this.mainAxisOffset=0;this.crossAxisOffset=0}e.prototype.componentWillLoad=function(){c(this);this.teleport=new d(this.element)};e.prototype.componentDidLoad=function(){{this.updatePlacement()}};e.prototype.handleKeyUp=function(e){if(this.open){if(l(e)){this.focusController();this.hide()}}};e.prototype.handleKeyDown=function(e){return __awaiter(this,void 0,void 0,(function(){var t,t;return __generator(this,(function(n){switch(n.label){case 0:if(!this.open)return[3,5];if(!p(e))return[3,2];return[4,this.getFocusedItemIndex()];case 1:t=n.sent();if(t!==-1){if(t<this.itemElements.length-1){this.itemElements[t+1].setFocus()}else{this.itemElements[0].setFocus()}}n.label=2;case 2:if(!h(e))return[3,4];return[4,this.getFocusedItemIndex()];case 3:t=n.sent();if(t!==-1){if(t===0){this.itemElements[this.itemElements.length-1].setFocus()}else{this.itemElements[t-1].setFocus()}}n.label=4;case 4:if(f(e)){e.preventDefault();this.hide()}n.label=5;case 5:return[2]}}))}))};e.prototype.handleClick=function(e){var t=this;var n=e.composedPath().every((function(e){return e!==t.element&&e!==t.controller}));if(this.open&&n){this.hide()}};e.prototype.isOpen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.open]}))}))};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.open=true;this.teleport.go();this.itemElements[0].setFocus();this.duetToggle.emit({open:this.open,component:"duet-popup-menu"});this.updatePlacement();return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.open=false;this.duetToggle.emit({open:this.open,component:"duet-popup-menu"});this.focusController();this.teleport.resume(200);return[2]}))}))};e.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.open){this.hide()}else{this.show()}return[2]}))}))};e.prototype.focusController=function(){if(this.controller){if("setFocus"in this.controller){this.controller.setFocus()}else{this.controller.focus()}}};Object.defineProperty(e.prototype,"itemElements",{get:function(){return Array.from(this.element.querySelectorAll(":scope > duet-popup-menu-item"))},enumerable:false,configurable:true});e.prototype.getFocusedItemIndex=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(n){switch(n.label){case 0:e=this.itemElements;t=0;n.label=1;case 1:if(!(t<e.length))return[3,4];return[4,e[t].isFocused()];case 2:if(n.sent()){return[2,t]}n.label=3;case 3:t++;return[3,1];case 4:return[2,-1]}}))}))};e.prototype.render=function(){var e={top:"".concat(this.menuY,"px"),left:"".concat(this.menuX,"px")};return i(r,{class:this.position},i("div",{style:e,class:{open:this.open,"duet-popup-menu-list":true,"duet-theme-turva":this.theme==="turva"},role:"menu","aria-label":this.accessibleLabel},i("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());b.style=m}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,c,o){function i(e){return e instanceof c?e:new c((function(t){t(e)}))}return new(c||(c=Promise))((function(c,r){function d(e){try{a(o.next(e))}catch(e){r(e)}}function n(e){try{a(o["throw"](e))}catch(e){r(e)}}function a(e){e.done?c(e.value):i(e.value).then(d,n)}a((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var c={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,i,r,d;return d={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function n(e){return function(t){return a([e,t])}}function a(n){if(o)throw new TypeError("Generator is already executing.");while(d&&(d=0,n[0]&&(c=0)),c)try{if(o=1,i&&(r=n[0]&2?i["return"]:n[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;if(i=0,r)n=[n[0]&2,r.value];switch(n[0]){case 0:case 1:r=n;break;case 4:c.label++;return{value:n[1],done:false};case 5:c.label++;i=n[1];n=[0];continue;case 7:n=c.ops.pop();c.trys.pop();continue;default:if(!(r=c.trys,r=r.length>0&&r[r.length-1])&&(n[0]===6||n[0]===2)){c=0;continue}if(n[0]===3&&(!r||n[1]>r[0]&&n[1]<r[3])){c.label=n[1];break}if(n[0]===6&&c.label<r[1]){c.label=r[1];r=n;break}if(r&&c.label<r[2]){c.label=r[2];c.ops.push(n);break}if(r[2])c.ops.pop();c.trys.pop();continue}n=t.call(e,c)}catch(e){n=[6,e];i=0}finally{o=r=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js","./p-5c8e5f29.system.js","./p-c7ae95bd.system.js","./p-5f6bd5db.system.js","./p-ba1d3a66.system.js","./p-51721695.system.js","./p-43660fa9.system.js","./p-eb55ccd2.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var t,c,o,i,r,d,n,a,s,h,u,l,p,b,g,f,m,k,v;return{setters:[function(e){t=e.r;c=e.c;o=e.h;i=e.H;r=e.g},function(e){d=e.i},function(e){n=e.h},function(e){a=e.D},function(e){s=e.c},function(e){h=e.F},function(e){u=e.i;l=e.h;p=e.f},function(e){b=e.g;g=e.a;f=e.c;m=e.d},function(e){k=e.f;v=e.w},function(){}],execute:function(){var x={title:"messaging-info",tags:"messaging info information circle",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>'};var y='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px);border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}';var w=e("duet_choice",function(){function e(e){var o=this;t(this,e);this.duetChange=c(this,"duetChange",7);this.duetFocus=c(this,"duetFocus",7);this.duetBlur=c(this,"duetBlur",7);this.hasHeader=false;this.choiceId=s("DuetChoice");this.expandId=s("DuetChoiceExpand");this.headerId=s("DuetChoiceHeader");this.infoButtonId=s("DuetChoiceInfoButton");this.onMouseEnter=function(){o.isHovering=true};this.onMouseLeave=function(){o.isHovering=false};this.onClick=function(e){o.toggleChecked(e)};this.handleKeyDown=function(e){if(u(e)){o.toggleChecked(e)}if(l(e)&&o.hasInfo){o.toggleInfo()}};this.onChange=function(){o.checked=o.nativeInput.checked||false;o.duetChange.emit({checked:o.checked,value:o.value,component:"duet-choice"})};this.onBlur=function(e){o.duetBlur.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.onFocus=function(e){o.duetFocus.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.toggleChecked=function(e){e.preventDefault();e.stopPropagation();if(o.getDisabled()){return}o.isInfoOpen=false;if(o.type==="radio"&&o.checked){return}o.checked=!o.checked;o.duetChange.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.toggleInfo=function(){o.isInfoOpen=!o.isInfoOpen};this.isHovering=false;this.isInfoOpen=false;this.isBlurred=false;this.theme="";this.label="label";this.accessibleLabelInfoButtonDefaults=a;this.accessibleLabelInfoButton=b(this.accessibleLabelInfoButtonDefaults);this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.caption="";this.value=undefined;this.type="checkbox";this.name=undefined;this.checked=false;this.collapsible=false;this.collapsibleForceExpanded=false;this.margin="auto";this.icon="";this.expand=false;this.padding="auto";this.identifier=undefined;this.groupDirection=undefined;this.groupDisabled=undefined;this.groupResponsive=undefined;this.disabled=false;this.required=false;this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"};this.infoLabel=b(this.infoLabelDefaults,g())}e.prototype.componentWillLoad=function(){d(this);this.hasInfo=n(this.element,"info");this.hasHeader=n(this.element,"header");this.hasAdditional=n(this.element,"additional");this.hasLabel=n(this.element,"label");this.hasBeforeText=n(this.element,"before-text")};e.prototype.connectedCallback=function(){f(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"}])};e.prototype.disconnectedCallback=function(){m(this)};e.prototype.handleHostBlur=function(e){if(this.hasInfo&&this.isInfoOpen&&this.isKeyDown){var t=this.element.contains(e===null||e===void 0?void 0:e.relatedTarget)||false;if(!t){this.toggleInfo()}}};e.prototype.handleHostKeyDown=function(){this.isKeyDown=true};e.prototype.handleHostKeyUp=function(e){this.isKeyDown=false;if(p(e)&&this.isInfoOpen){this.toggleInfo()}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.toggleInfoMethod=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.isInfoOpen=!this.isInfoOpen;return[2]}))}))};e.prototype.getAriaDescribedby=function(){if(this.accessibleDescribedBy){return this.accessibleDescribedBy}if(this.collapsible||this.hasInfo){if(this.hasHeader){return this.headerId}else{return this.expandId}}return null};e.prototype.getDisabled=function(){return this.disabled||this.groupDisabled};e.prototype.getExpanded=function(){return this.checked||this.collapsibleForceExpanded};e.prototype.getClassNames=function(){if(this.hasInfo&&!this.collapsible){return{checked:this.checked,"duet-choice-card-info":true,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":this.theme==="turva"}}if(!this.hasInfo&&this.collapsible){return{checked:this.checked,"duet-choice-card-collapsible":true,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":this.theme==="turva"}}return{checked:this.checked,"duet-choice-default-slot":true}};e.prototype.render=function(){var e=this;var t=this.element.closest("duet-choice-group");var c=t?t.label:undefined;var r=this.identifier||this.choiceId;return o(i,{class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none","duet-expand":this.expand,"duet-theme-turva":this.theme==="turva","no-hover":this.isHovering,disabled:this.getDisabled()}},o("div",{class:{"duet-choice-card-flextainer":true,"duet-theme-turva":this.theme==="turva"}},o("div",{class:{"duet-choice-card":true,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":this.padding==="none"}},o("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:r,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:function(t){return e.nativeInput=t}}),o("label",{htmlFor:r,class:{"duet-choice-label":true,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&o("slot",{name:"before-text"}),this.icon&&o("div",{class:"duet-choice-card-icon"},o("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),o("div",{class:"duet-choice-card-text"},c&&o("duet-visually-hidden",null,c,", "),o("div",null,this.hasLabel?o("slot",{name:"label"}):this.label),this.caption&&o("div",null,o("duet-spacer",{size:"xx-small"}),o("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&o("div",null,o("duet-spacer",{size:"xx-small"}),o("slot",{name:"additional"}))),o("div",null,o("div",{class:{"duet-checkmark-container":true,"duet-checkmark-radio":this.type==="radio"}},this.checked&&o("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&o("button",{ref:function(t){return e.infoButtonEl=t},id:this.infoButtonId,class:{"duet-choice-info-toggle":true,"duet-theme-turva":this.theme==="turva"},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":"".concat(this.infoLabel," ").concat(this.label),"aria-controls":this.expandId,"aria-flowto":this.expandId,tabindex:this.type==="radio"&&!this.checked?"-1":"0",type:"button"},o("duet-visually-hidden",{"aria-hidden":!this.isBlurred?"true":"false"},this.accessibleLabelInfoButton),o("div",{class:"duet-choice-info-icon"},o("duet-icon",{icon:x.svg,margin:"none",size:"small",color:"currentColor"})))),this.collapsible||this.hasInfo?o("div",{class:this.getClassNames(),id:this.expandId},o("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},o("span",{id:this.headerId},o("slot",{name:"header"})),this.hasInfo?o("span",null,o("span",{"aria-relevant":"all","aria-atomic":"true","aria-live":this.isInfoOpen?"polite":"off"},o("slot",{name:"info"})),o("slot",null)):o("span",null,o("slot",null))),this.isInfoOpen&&o(h,{moveFocusTo:this.infoButtonEl})):null)};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());w.style=y;var I="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";var C=":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)";var D=e("duet_choice_group",function(){function e(e){var c=this;t(this,e);this.choiceGroupName="duet-choice-group";this.getChoices=function(){return Array.from(c.element.querySelectorAll(C))};this.isMyChoice=function(e){return c.getChoices().includes(e)};this.onSelect=function(e){if(e.detail.component!=="duet-choice"){return}var t=e.target;if(t&&c.isMyChoice(t)){c.value=t.value}e.cancelBubble=true};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption=undefined;this.tooltip=undefined;this.tooltipDirection="auto";this.responsive=false;this.breakpoint="small";this.value=undefined;this.disabled=undefined}e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var c=this;return __generator(this,(function(o){switch(o.label){case 0:e=this.element;if(!(this.value===undefined))return[3,2];t=k(e,C);if(!(t!==undefined))return[3,2];return[4,t.componentOnReady()];case 1:o.sent();if(this.value===undefined){this.value=t.value}o.label=2;case 2:this.mutationO=v(e,C,(function(e){if(e!==undefined){e.componentOnReady().then((function(){if(c.isMyChoice(e)){c.value=e.value}}))}else{c.updateChoices()}}));this.updateChoices();return[2]}}))}))};e.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};e.prototype.componentWillLoad=function(){d(this)};e.prototype.updateChoices=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,c,o,i,r;return __generator(this,(function(d){e=this.getChoices();t=this.value;c=false;for(o=0,i=e;o<i.length;o++){r=i[o];r.name=this.name;r.groupDisabled=this.disabled;r.groupDirection=this.direction;r.groupResponsive=this.responsive;if(!c&&r.value===t){c=true;r.checked=true}else{r.checked=false}}if(!c){this.value=undefined}return[2]}))}))};e.prototype.render=function(){var e;return o(i,{onDuetChange:this.onSelect,class:{horizontal:this.direction==="horizontal","duet-choice-group-breakpoint-x-small":this.responsive&&this.breakpoint==="x-small","duet-choice-group-breakpoint-small":this.responsive&&this.breakpoint==="small","duet-choice-group-breakpoint-medium":this.responsive&&this.breakpoint==="medium","duet-choice-group-breakpoint-large":this.responsive&&this.breakpoint==="large","duet-choice-group-breakpoint-x-large":this.responsive&&this.breakpoint==="x-large"}},o("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:true,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme},this.tooltip&&o("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("div",{class:(e={},e[this.choiceGroupName]=true,e["duet-no-stacking"]=!this.responsive,e)},o("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}},enumerable:false,configurable:true});return e}());D.style=I}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js"],(function(e){"use strict";var t,n,r,i;return{setters:[function(e){t=e.r;n=e.h;r=e.H},function(e){i=e.i}],execute:function(){var a="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}";var o=e("duet_breadcrumb",function(){function e(e){t(this,e);this.theme="";this.href="";this.icon="";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){i(this)};e.prototype.render=function(){return n(r,null,n("a",{class:{"duet-breadcrumb":true,"duet-theme-turva":this.theme==="turva"},href:this.href?this.href:undefined,"aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{size:"x-small",name:this.icon,margin:"none",color:"currentColor"}),!this.icon&&n("slot",null)))};return e}());o.style=a}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as c,H as o,g as i}from"./p-f7418b24.js";import{i as d}from"./p-4ebf1618.js";import{h}from"./p-9d915d45.js";import{D as s}from"./p-76f00bd5.js";import{c as r}from"./p-c1325e35.js";import{F as a}from"./p-0a30ca43.js";import{i as u,h as n,f as l}from"./p-f077c646.js";import{g as b,a as p,c as g,d as m}from"./p-03baceb5.js";import{f as k,w as f}from"./p-12721178.js";import"./p-5a9d75e1.js";const v=class{constructor(c){e(this,c),this.duetChange=t(this,"duetChange",7),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.hasHeader=!1,this.choiceId=r("DuetChoice"),this.expandId=r("DuetChoiceExpand"),this.headerId=r("DuetChoiceHeader"),this.infoButtonId=r("DuetChoiceInfoButton"),this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1},this.onClick=e=>{this.toggleChecked(e)},this.handleKeyDown=e=>{u(e)&&this.toggleChecked(e),n(e)&&this.hasInfo&&this.toggleInfo()},this.onChange=()=>{this.checked=this.nativeInput.checked||!1,this.duetChange.emit({checked:this.checked,value:this.value,component:"duet-choice"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.toggleChecked=e=>{e.preventDefault(),e.stopPropagation(),this.getDisabled()||(this.isInfoOpen=!1,"radio"===this.type&&this.checked||(this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})))},this.toggleInfo=()=>{this.isInfoOpen=!this.isInfoOpen},this.isHovering=!1,this.isInfoOpen=!1,this.isBlurred=!1,this.theme="",this.label="label",this.accessibleLabelInfoButtonDefaults=s,this.accessibleLabelInfoButton=b(this.accessibleLabelInfoButtonDefaults),this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.caption="",this.value=void 0,this.type="checkbox",this.name=void 0,this.checked=!1,this.collapsible=!1,this.collapsibleForceExpanded=!1,this.margin="auto",this.icon="",this.expand=!1,this.padding="auto",this.identifier=void 0,this.groupDirection=void 0,this.groupDisabled=void 0,this.groupResponsive=void 0,this.disabled=!1,this.required=!1,this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"},this.infoLabel=b(this.infoLabelDefaults,p())}componentWillLoad(){d(this),this.hasInfo=h(this.element,"info"),this.hasHeader=h(this.element,"header"),this.hasAdditional=h(this.element,"additional"),this.hasLabel=h(this.element,"label"),this.hasBeforeText=h(this.element,"before-text")}connectedCallback(){g(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"}])}disconnectedCallback(){m(this)}handleHostBlur(e){this.hasInfo&&this.isInfoOpen&&this.isKeyDown&&(this.element.contains(null==e?void 0:e.relatedTarget)||this.toggleInfo())}handleHostKeyDown(){this.isKeyDown=!0}handleHostKeyUp(e){this.isKeyDown=!1,l(e)&&this.isInfoOpen&&this.toggleInfo()}async setFocus(e){this.nativeInput.focus(e)}async toggleInfoMethod(){this.isInfoOpen=!this.isInfoOpen}getAriaDescribedby(){return this.accessibleDescribedBy?this.accessibleDescribedBy:this.collapsible||this.hasInfo?this.hasHeader?this.headerId:this.expandId:null}getDisabled(){return this.disabled||this.groupDisabled}getExpanded(){return this.checked||this.collapsibleForceExpanded}getClassNames(){return this.hasInfo&&!this.collapsible?{checked:this.checked,"duet-choice-card-info":!0,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":"turva"===this.theme}:!this.hasInfo&&this.collapsible?{checked:this.checked,"duet-choice-card-collapsible":!0,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":"turva"===this.theme}:{checked:this.checked,"duet-choice-default-slot":!0}}render(){const e=this.element.closest("duet-choice-group"),t=e?e.label:void 0,i=this.identifier||this.choiceId;return c(o,{class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin,"duet-expand":this.expand,"duet-theme-turva":"turva"===this.theme,"no-hover":this.isHovering,disabled:this.getDisabled()}},c("div",{class:{"duet-choice-card-flextainer":!0,"duet-theme-turva":"turva"===this.theme}},c("div",{class:{"duet-choice-card":!0,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":"none"===this.padding}},c("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:i,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:e=>this.nativeInput=e}),c("label",{htmlFor:i,class:{"duet-choice-label":!0,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&c("slot",{name:"before-text"}),this.icon&&c("div",{class:"duet-choice-card-icon"},c("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),c("div",{class:"duet-choice-card-text"},t&&c("duet-visually-hidden",null,t,", "),c("div",null,this.hasLabel?c("slot",{name:"label"}):this.label),this.caption&&c("div",null,c("duet-spacer",{size:"xx-small"}),c("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&c("div",null,c("duet-spacer",{size:"xx-small"}),c("slot",{name:"additional"}))),c("div",null,c("div",{class:{"duet-checkmark-container":!0,"duet-checkmark-radio":"radio"===this.type}},this.checked&&c("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&c("button",{ref:e=>this.infoButtonEl=e,id:this.infoButtonId,class:{"duet-choice-info-toggle":!0,"duet-theme-turva":"turva"===this.theme},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":`${this.infoLabel} ${this.label}`,"aria-controls":this.expandId,"aria-flowto":this.expandId,tabindex:"radio"!==this.type||this.checked?"0":"-1",type:"button"},c("duet-visually-hidden",{"aria-hidden":this.isBlurred?"false":"true"},this.accessibleLabelInfoButton),c("div",{class:"duet-choice-info-icon"},c("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>',margin:"none",size:"small",color:"currentColor"})))),this.collapsible||this.hasInfo?c("div",{class:this.getClassNames(),id:this.expandId},c("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},c("span",{id:this.headerId},c("slot",{name:"header"})),this.hasInfo?c("span",null,c("span",{"aria-relevant":"all","aria-atomic":"true","aria-live":this.isInfoOpen?"polite":"off"},c("slot",{name:"info"})),c("slot",null)):c("span",null,c("slot",null))),this.isInfoOpen&&c(a,{moveFocusTo:this.infoButtonEl})):null)}get element(){return i(this)}};v.style='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px);border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}';const x=":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)",y=class{constructor(t){e(this,t),this.choiceGroupName="duet-choice-group",this.getChoices=()=>Array.from(this.element.querySelectorAll(x)),this.isMyChoice=e=>this.getChoices().includes(e),this.onSelect=e=>{if("duet-choice"!==e.detail.component)return;const t=e.target;t&&this.isMyChoice(t)&&(this.value=t.value),e.cancelBubble=!0},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption=void 0,this.tooltip=void 0,this.tooltipDirection="auto",this.responsive=!1,this.breakpoint="small",this.value=void 0,this.disabled=void 0}async connectedCallback(){const e=this.element;if(void 0===this.value){const t=k(e,x);void 0!==t&&(await t.componentOnReady(),void 0===this.value&&(this.value=t.value))}this.mutationO=f(e,x,(e=>{void 0!==e?e.componentOnReady().then((()=>{this.isMyChoice(e)&&(this.value=e.value)})):this.updateChoices()})),this.updateChoices()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){d(this)}async updateChoices(){const e=this.getChoices(),{value:t}=this;let c=!1;for(const o of e)o.name=this.name,o.groupDisabled=this.disabled,o.groupDirection=this.direction,o.groupResponsive=this.responsive,c||o.value!==t?o.checked=!1:(c=!0,o.checked=!0);c||(this.value=void 0)}render(){return c(o,{onDuetChange:this.onSelect,class:{horizontal:"horizontal"===this.direction,"duet-choice-group-breakpoint-x-small":this.responsive&&"x-small"===this.breakpoint,"duet-choice-group-breakpoint-small":this.responsive&&"small"===this.breakpoint,"duet-choice-group-breakpoint-medium":this.responsive&&"medium"===this.breakpoint,"duet-choice-group-breakpoint-large":this.responsive&&"large"===this.breakpoint,"duet-choice-group-breakpoint-x-large":this.responsive&&"x-large"===this.breakpoint}},c("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:!0,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme},this.tooltip&&c("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),c("div",{class:{[this.choiceGroupName]:!0,"duet-no-stacking":!this.responsive}},c("slot",null))))}get element(){return i(this)}static get watchers(){return{value:["updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}}};y.style="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";export{v as duet_choice,y as duet_choice_group}
@@ -1,4 +0,0 @@
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 _="rgb(101, 119, 135)";var o="rgb(245, 248, 250)";var e="rgb(211, 36, 131)";var l="rgb(0, 119, 179)";var i="rgb(54, 74, 129)";var t="rgb(0, 135, 90)";var s="rgb(11, 114, 136)";var c="rgb(243, 249, 252)";var g="rgb(230, 242, 248)";var v="rgb(0, 161, 212)";var x="rgb(0, 77, 128)";var d="rgb(255, 255, 255)";var m="rgb(122, 1, 196)";var n="rgb(144, 149, 153)";var p="rgb(225, 227, 230)";var u="rgb(0, 41, 77)";var y="rgb(168, 1, 78)";var b="rgb(205, 229, 241)";var h="rgb(213, 66, 3)";var z="rgb(207, 210, 212)";var f="rgb(222, 35, 98)";var w="rgb(68, 68, 69)";var k="rgb(245, 245, 247)";var q="rgb(161, 10, 78)";var S="rgb(198, 12, 48)";var I="rgb(23, 28, 58)";var U="rgb(8, 135, 78)";var j="rgb(252, 243, 244)";var A="rgb(199, 12, 112)";var E="rgb(169, 69, 124)";var B="rgb(249, 230, 234)";var C="rgb(148, 9, 37)";var F="rgb(255, 255, 255)";var H="rgb(116, 116, 117)";var M="rgb(228, 228, 230)";var R="rgb(178, 180, 179)";var O="rgb(23, 28, 58)";var D="rgb(244, 207, 214)";var G="rgb(9, 129, 148)";var J="rgb(207, 207, 209)";var K="rgb(224, 42, 13)";var L="rgb(250, 164, 15)";var N="rgb(192, 101, 247)";var P="rgb(0, 105, 191)";var Q="rgb(19, 120, 53)";var T="rgb(179, 60, 24)";var V="rgb(13, 163, 166)";var W="rgb(122, 1, 196)";var X="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 _r="rgb(0, 41, 77)";var or="rgb(245, 76, 154)";var er="rgb(194, 21, 101)";var lr="800";var ir="-0.01rem";var tr="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var sr="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var cr="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var gr="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var vr="700";var xr="400";var dr="600";var mr="4.5rem";var nr="3rem";var pr="2.25rem";var ur="1.5rem";var yr="1.25rem";var br=r("f","1rem");var hr="0.875rem";var zr="0.75rem";var fr="0";var wr="4px";var kr="8px";var qr="20px";var Sr="50%";var Ir="20rem";var Ur="0 2px 10px 0 rgba(117, 117, 117, 0.13)";var jr="0 2px 6px 0 rgba(0, 41, 77, 0.07)";var Ar="0 2px 10px 0 rgba(0, 41, 77, 0.07)";var Er="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 Br="0 2px 20px 0 rgba(0, 0, 0, 0.2)";var Cr="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 Fr="0 2px 10px 0 rgba(117, 117, 117, 0.15)";var Hr="0 2px 10px 0 rgba(0, 41, 77, 0.1)";var Mr="0 2px 6px 0 rgba(117, 117, 117, 0.13)";var Rr="4px";var Or="20px";var Dr="8px";var Gr="2px";var Jr="12px";var Kr="16px";var Lr="36px";var Nr="72px";var Pr="94px";var Qr="48px";var Tr="28px";var Vr="48px";var Wr="1px";var Xr="40px";var Yr="8rem";var Zr="4rem";var $r="72px";var ra="36px";var aa="10px";var _a="30px";var oa="3rem";var ea="30px";var la="1110px";var ia="48px";var ta="16px";var sa="7px";var ca="2px";var ga="1px";var va="24px";var xa="20px";var da="0.85";var ma="0.75";var na="0.50";var pa="0.30";var ua="250";var ya="600";var ba="800";var ha="1";var za="500";var fa="950";var wa="900";var ka="300";var qa="100";var Sa="-999999";var Ia="700";var Ua="200";var ja="400";var Aa="1.5";var Ea="1.25";var Ba="1.1";var Ca="300ms ease";var Fa="600ms ease";var Ha="'(min-width: 106.25em)'";var Ma="'(min-width: 64.0625em)'";var Ra=r("m","'(min-width: 48em)'");var Oa=r("a","'(min-width: 62em)'");var Da=r("c","'(min-width: 76.25em)'");var Ga="'(max-width: 35.9375em)'";var Ja="'(max-width: 20.5em)'";var Ka=r("b","'(min-width: 36em)'");var La="'(max-width: 22.5em)'";var Na={color_warning:a,color_gray_darker:_,color_gray_lighter:o,color_category_home:e,color_primary:l,color_category_vehicle:i,color_success:t,color_category_family:s,color_primary_lightest:c,color_primary_lighter:g,color_brand_blue:v,color_primary_dark:x,color_gray_lightest:d,color_category_finance:m,color_gray_dark:n,color_gray_light:p,color_secondary:u,color_category_pet:y,color_primary_light:b,color_category_travel:h,color_gray:z,color_danger:f,color_gray_darker_turva:w,color_gray_lighter_turva:k,color_category_home_turva:q,color_primary_turva:S,color_category_vehicle_turva:I,color_success_turva:U,color_primary_lightest_turva:j,color_category_family_turva:A,color_category_union_turva:E,color_primary_lighter_turva:B,color_primary_dark_turva:C,color_gray_lightest_turva:F,color_gray_dark_turva:H,color_gray_light_turva:M,color_brand_gray_turva:R,color_secondary_turva:O,color_primary_light_turva:D,color_category_travel_turva:G,color_gray_turva:J,color_danger_turva:K,color_warning_turva:L,color_data_07:N,color_data_08:P,color_data_09:Q,color_data_10:T,color_data_11:V,color_data_01:W,color_data_12:X,color_data_02:Y,color_data_13:Z,color_data_03:$,color_data_14:rr,color_data_04:ar,color_data_15:_r,color_data_05:or,color_data_06:er,font_weight_extra_bold:lr,letter_spacing_heading:ir,font_family_heading_turva:tr,font_family_text_turva:sr,font_family_heading:cr,font_family_text:gr,font_weight_bold:vr,font_weight_normal:xr,font_weight_semi_bold:dr,font_size_xxxx_large:mr,font_size_xxx_large:nr,font_size_xx_large:pr,font_size_x_large:ur,font_size_large:yr,font_size_medium:br,font_size_small:hr,font_size_x_small:zr,radius_sharp:fr,radius_default:wr,radius_medium:kr,radius_large:qr,radius_circle:Sr,radius_pill:Ir,shadow_tooltip_turva:Ur,shadow_default:jr,shadow_tooltip:Ar,shadow_card_turva:Er,shadow_modal:Br,shadow_card:Cr,shadow_hover_turva:Fr,shadow_hover:Hr,shadow_default_turva:Mr,space_xx_small:Rr,space_large:Or,space_x_small:Dr,space_xxx_small:Gr,space_small:Jr,space_medium:Kr,space_xx_large:Lr,space_xxxx_large:Nr,space_xxxxx_large:Pr,space_xxx_large:Qr,space_x_large:Tr,size_icon_xx_large:Vr,size_form_border:Wr,size_step_medium:Xr,size_button_min_width:Yr,size_header:Zr,size_icon_xxx_large:$r,size_icon_x_large:ra,size_icon_xx_small:aa,size_step_small:_a,size_navigation:oa,size_icon_large:ea,size_layout_max_width:la,size_tappable_square:ia,size_icon_x_small:ta,size_icon_xxx_small:sa,size_button_border:ca,size_button_tiny_border:ga,size_icon_medium:va,size_icon_small:xa,opacity_85:da,opacity_75:ma,opacity_50:na,opacity_30:pa,z_index_mask_buttons:ua,z_index_dropdown:ya,z_index_spinner:ba,z_index_default:ha,z_index_toast:za,z_index_popup:fa,z_index_modal:wa,z_index_sticky:ka,z_index_masked:qa,z_index_deep:Sa,z_index_overlay:Ia,z_index_mask:Ua,z_index_header:ja,line_height_medium:Aa,line_height_small:Ea,line_height_x_small:Ba,transition_quickly:Ca,transition_slowly:Fa,media_query_xxx_large:Ha,media_query_x_large:Ma,media_query_medium:Ra,media_query_large:Oa,media_query_xx_large:Da,media_query_x_small:Ga,media_query_xxx_small:Ja,media_query_small:Ka,media_query_xx_small:La};var Pa=Object.freeze({__proto__:null,color_warning:a,color_gray_darker:_,color_gray_lighter:o,color_category_home:e,color_primary:l,color_category_vehicle:i,color_success:t,color_category_family:s,color_primary_lightest:c,color_primary_lighter:g,color_brand_blue:v,color_primary_dark:x,color_gray_lightest:d,color_category_finance:m,color_gray_dark:n,color_gray_light:p,color_secondary:u,color_category_pet:y,color_primary_light:b,color_category_travel:h,color_gray:z,color_danger:f,color_gray_darker_turva:w,color_gray_lighter_turva:k,color_category_home_turva:q,color_primary_turva:S,color_category_vehicle_turva:I,color_success_turva:U,color_primary_lightest_turva:j,color_category_family_turva:A,color_category_union_turva:E,color_primary_lighter_turva:B,color_primary_dark_turva:C,color_gray_lightest_turva:F,color_gray_dark_turva:H,color_gray_light_turva:M,color_brand_gray_turva:R,color_secondary_turva:O,color_primary_light_turva:D,color_category_travel_turva:G,color_gray_turva:J,color_danger_turva:K,color_warning_turva:L,color_data_07:N,color_data_08:P,color_data_09:Q,color_data_10:T,color_data_11:V,color_data_01:W,color_data_12:X,color_data_02:Y,color_data_13:Z,color_data_03:$,color_data_14:rr,color_data_04:ar,color_data_15:_r,color_data_05:or,color_data_06:er,font_weight_extra_bold:lr,letter_spacing_heading:ir,font_family_heading_turva:tr,font_family_text_turva:sr,font_family_heading:cr,font_family_text:gr,font_weight_bold:vr,font_weight_normal:xr,font_weight_semi_bold:dr,font_size_xxxx_large:mr,font_size_xxx_large:nr,font_size_xx_large:pr,font_size_x_large:ur,font_size_large:yr,font_size_medium:br,font_size_small:hr,font_size_x_small:zr,radius_sharp:fr,radius_default:wr,radius_medium:kr,radius_large:qr,radius_circle:Sr,radius_pill:Ir,shadow_tooltip_turva:Ur,shadow_default:jr,shadow_tooltip:Ar,shadow_card_turva:Er,shadow_modal:Br,shadow_card:Cr,shadow_hover_turva:Fr,shadow_hover:Hr,shadow_default_turva:Mr,space_xx_small:Rr,space_large:Or,space_x_small:Dr,space_xxx_small:Gr,space_small:Jr,space_medium:Kr,space_xx_large:Lr,space_xxxx_large:Nr,space_xxxxx_large:Pr,space_xxx_large:Qr,space_x_large:Tr,size_icon_xx_large:Vr,size_form_border:Wr,size_step_medium:Xr,size_button_min_width:Yr,size_header:Zr,size_icon_xxx_large:$r,size_icon_x_large:ra,size_icon_xx_small:aa,size_step_small:_a,size_navigation:oa,size_icon_large:ea,size_layout_max_width:la,size_tappable_square:ia,size_icon_x_small:ta,size_icon_xxx_small:sa,size_button_border:ca,size_button_tiny_border:ga,size_icon_medium:va,size_icon_small:xa,opacity_85:da,opacity_75:ma,opacity_50:na,opacity_30:pa,z_index_mask_buttons:ua,z_index_dropdown:ya,z_index_spinner:ba,z_index_default:ha,z_index_toast:za,z_index_popup:fa,z_index_modal:wa,z_index_sticky:ka,z_index_masked:qa,z_index_deep:Sa,z_index_overlay:Ia,z_index_mask:Ua,z_index_header:ja,line_height_medium:Aa,line_height_small:Ea,line_height_x_small:Ba,transition_quickly:Ca,transition_slowly:Fa,media_query_xxx_large:Ha,media_query_x_large:Ma,media_query_medium:Ra,media_query_large:Oa,media_query_xx_large:Da,media_query_x_small:Ga,media_query_xxx_small:Ja,media_query_small:Ka,media_query_xx_small:La,default:Na});r("t",Pa)}}}));
@@ -1,4 +0,0 @@
1
- var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var o=0,a=r.length,n;o<a;o++){if(n||!(o in r)){if(!n)n=Array.prototype.slice.call(r,0,o);n[o]=r[o]}}return e.concat(n||Array.prototype.slice.call(r))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js","./p-43660fa9.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var r,t,o,a,n,i,d;return{setters:[function(e){r=e.r;t=e.h;o=e.F;a=e.H;n=e.g},function(e){i=e.i},function(e){d=e.g},function(){}],execute:function(){var s={title:"action-arrow-right-small",tags:"action arrow right small caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>'};var c='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-breadcrumbs{position:relative;display:flex;align-items:center;justify-content:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}.duet-breadcrumbs ol{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:inherit;list-style:none}.duet-breadcrumbs ol li{font-weight:400}.duet-breadcrumbs ol li:last-of-type{font-weight:600}.duet-breadcrumbs .duet-breadrumbs-arrow{display:inherit;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}.duet-breadcrumbs .hide{display:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-breadcrumbs.header ol duet-breadcrumb[href]:hover{color:rgb(0, 77, 128)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(225, 227, 230)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(148, 9, 37)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(0, 41, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer ol{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer ol{padding:20px 8px}}.duet-breadcrumbs.footer ol duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}';var u=e("duet_breadcrumbs",function(){function e(e){r(this,e);this.observers=[];this.breadcrumbsAriaLabel=d({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header"}e.prototype.componentWillLoad=function(){i(this);this.children=Array.from(this.element.children)};e.prototype.connectedCallback=function(){var e=this;Array.from(this.element.children).forEach((function(r){var t=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));t.observe(r,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[t],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;return t(a,null,t("nav",{"aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},t("div",{class:"container"},t("ol",null,this.children.map((function(e,r){return t(o,null,r>0&&t("li",{"aria-hidden":"true"},t("duet-icon",{class:"duet-breadrumbs-arrow",size:"auto",icon:s.svg,margin:"none",color:"currentColor"})),t("li",{innerHTML:e.outerHTML}),t("div",{class:"hide"},t("slot",null)))}))),t("div",{class:"bottom-border bottom-border--container"})),t("div",{class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());u.style=c}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{s(o.next(e))}catch(e){a(e)}}function l(e){try{s(o["throw"](e))}catch(e){a(e)}}function s(e){e.done?n(e.value):i(e.value).then(r,l)}s((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,a,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return s([e,t])}}function s(l){if(o)throw new TypeError("Generator is already executing.");while(r&&(r=0,l[0]&&(n=0)),n)try{if(o=1,i&&(a=l[0]&2?i["return"]:l[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;if(i=0,a)l=[l[0]&2,a.value];switch(l[0]){case 0:case 1:a=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;i=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){n.label=l[1];break}if(l[0]===6&&n.label<a[1]){n.label=a[1];a=l;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(l);break}if(a[2])n.ops.pop();n.trys.pop();continue}l=t.call(e,n)}catch(e){l=[6,e];i=0}finally{o=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js"],(function(e){"use strict";var t,n,o,i,a;return{setters:[function(e){t=e.r;n=e.h;o=e.H;i=e.g},function(e){a=e.i}],execute:function(){var r='*,*::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 rgb(0, 119, 179)}.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 rgb(23, 28, 58)}.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}';var l=e("duet_slideout_panel_dropdown",function(){function e(e){var n=this;t(this,e);this.onClick=function(){n.open=!n.open};this.theme="";this.active=false;this.open=false;this.icon=undefined}e.prototype.handleFocus=function(e){var t=this;var n=e.composedPath().every((function(e){return e!==t.element}));if(n){this.open=false}};e.prototype.componentWillLoad=function(){a(this);var e=this.element.querySelectorAll("duet-slideout-link");e.forEach((function(e){e.menuItem=true}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return n(o,null,n("div",{class:{"duet-slideout-panel-dropdown":true,"duet-theme-turva":this.theme==="turva",active:this.open}},n("button",{ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active},onClick:this.onClick},this.icon&&n("duet-icon",{name:this.icon,size:"medium",margin:"none",color:"secondary"}),n("div",{class:"label"},n("slot",{name:"label"}),n("duet-icon",{class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),n("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},n("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());l.style=r}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r,h as e,H as s,g as a}from"./p-f7418b24.js";import{i as o}from"./p-4ebf1618.js";import{c as t}from"./p-c1325e35.js";import{g as i,c as n,d as p}from"./p-03baceb5.js";import"./p-5a9d75e1.js";const d=class{constructor(e){r(this,e),this.progressId=t("DuetProgress"),this.progressLabelId=t("DuetProgressLabel"),this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabel=void 0,this.accessibleLabelUploadDefaults={fi:["lähetys valmis","lähetys käynnissä"],sv:["Uppladdningen är klar","Uppladdning pågår"],en:["upload completed","upload in progress"]},this.accessibleLabelUpload=i(this.accessibleLabelUploadDefaults),this.progress=0,this.caption=void 0,this.height="10px",this.theme=""}componentWillLoad(){o(this)}connectedCallback(){n(this,{prop:"accessibleLabelUpload",defaults:"accessibleLabelUploadDefaults"})}disconnectedCallback(){p(this)}render(){return e(s,null,e("div",{"aria-live":this.accessibleLabel?"polite":"off","aria-hidden":this.accessibleLabel?"false":"true","aria-atomic":"true",style:{height:this.height},id:this.progressId,class:{"duet-progress":!0,"duet-progress-done":100===this.progress,"duet-progress-start":0===this.progress,"duet-progress-inprogress":this.progress<99&&0!==this.progress,"duet-theme-turva":"turva"===this.theme}},e("duet-visually-hidden",null,e("label",{htmlFor:this.progressLabelId},0!==this.progress&&e("span",null,this.accessibleLabel,", ",this.accessibleLabelUpload[this.progress<99?1:0]))),this.caption&&e("div",{class:"duet-progress-caption"},e("span",null,this.caption)),e("progress",{id:this.progressLabelId,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,role:"progressbar",value:this.progress,max:"100","aria-valuemin":"0","aria-valuemax":"100"},e("div",{class:"progress-bar"},e("span",{style:{width:`${this.progress}%;`}},"Progress: ",this.progress,"%")))))}get element(){return a(this)}};d.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;min-height:1px;}.duet-progress .progress-bar{position:relative;display:block;width:100%;height:inherit;min-height:1px;background-color:rgb(243, 249, 252);border-radius:0;box-shadow:none}.duet-theme-turva .duet-progress .progress-bar{background-color:rgb(252, 243, 244)}.duet-progress .progress-bar>span{display:block;height:inherit;text-indent:-9999px;background-color:rgb(0, 119, 179);border-radius:0}.duet-theme-turva .duet-progress .progress-bar>span{background-color:rgb(198, 12, 48)}.duet-progress progress[value]{display:flex;width:100%;height:inherit;min-height:1px;color:rgb(0, 119, 179);border:0 none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.duet-theme-turva .duet-progress progress[value]{color:rgb(198, 12, 48)}.duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(243, 249, 252);border-radius:0}.duet-theme-turva .duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(252, 243, 244)}.duet-progress progress[value]::-webkit-progress-value{background-color:rgb(0, 119, 179);background-size:35px 20px, 100% 100%, 100% 100%;border-radius:0;-webkit-animation:animate-stripes 5s linear infinite;animation:animate-stripes 5s linear infinite}.duet-theme-turva .duet-progress progress[value]::-webkit-progress-value{background-color:rgb(198, 12, 48)}.duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(243, 249, 252)}.duet-theme-turva .duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(252, 243, 244)}";export{d as duet_progress}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{l(n.next(t))}catch(t){r(t)}}function o(t){try{l(n["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):a(t.value).then(s,o)}l((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(n=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];a=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-34ea0849.system.js","./p-51721695.system.js","./p-43660fa9.system.js","./p-b6d51921.system.js"],(function(t){"use strict";var e,i,n,a,r,s,o,l,c,u,p,h,d,g,b,f,m,v,y,x;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.F;r=t.H;s=t.g},function(t){o=t.i},function(t){l=t.c},function(t){c=t.d},function(t){u=t.k;p=t.l;h=t.d;d=t.b;g=t.a;b=t.c;f=t.m;m=t.n},function(t){v=t.g;y=t.c;x=t.d},function(){}],execute:function(){var S=function(t,e,i){if(t*2>e/i){return false}return true};var k="*,*::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}";var _=t("duet_pagination",function(){function t(t){var n=this;e(this,t);this.duetPageChange=i(this,"duetPageChange",3);this.listId=l("duet-pagination-list");this.firstRenderDone=false;this.actionChain=function(t,e){return __awaiter(n,void 0,void 0,(function(){var i;return __generator(this,(function(n){switch(n.label){case 0:if(!(t===0))return[3,1];this.current=1;return[3,3];case 1:if(!(e!==t))return[3,3];i=Math.ceil(t/this.visibleItems)-1;if(!(i!==this.internalSectionIndex))return[3,3];this.internalSectionIndex=i;return[4,this.setFocus()];case 2:n.sent();n.label=3;case 3:return[2,true]}}))}))};this.emitPageEvent=c((function(t,e){var i=Number(e||n.current);n.duetPageChange.emit({component:"duet-pagination",from:i*n.take,to:i*n.take+n.take,current:i,take:n.take,type:"page",originalEvent:t})}),100);this.getEnteredNumber=c((function(t){n.emitPageEvent(t,n.numbersStore);n.current=Number(n.numbersStore);n.numbersStore="";n.duetPageChange.emit({component:"duet-pagination",from:n.current*n.take,to:n.current*n.take+n.take,current:n.current,take:n.take,type:"jump",originalEvent:t})}),500);this.numbersStore="";this.totalPages=10;this.internalSectionIndex=0;this.theme="";this.jumpString="...";this.variation="default";this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;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",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",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:"Sidutning, 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.ariaControls="";this.current=1}t.prototype.watchPropTotalHandler=function(){this.calculatePageTake();return true};t.prototype.watchStateHandler=function(t,e){return this.actionChain(t,e)};t.prototype.componentWillLoad=function(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1;this.calculatePageTake();o(this)};t.prototype.componentDidLoad=function(){this.firstRenderDone=true};t.prototype.componentWillRender=function(){if(this.internalSectionIndex!==0&&this.internalSectionIndex!==this.totalPages){this.calculatePageTake()}};t.prototype.componentDidRender=function(){if(this.firstRenderDone){this.setFocus()}};t.prototype.connectedCallback=function(){y(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){x(this)};t.prototype.calculatePageTake=function(){this.totalPages=Math.ceil(this.total/this.take)};t.prototype.onMouseHandler=function(t,e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){t.preventDefault();t.stopPropagation();this.current=this.current+e;this.emitPageEvent(t);return[2]}))}))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.current;if(h(t)||d(t)){e--}if(g(t)||b(t)){e++}if(u(t)){if(e<=this.totalPages){this.current=e;this.emitPageEvent(t)}}if(p(t)&&this.shouldDisplayNavigation()){this.numbersStore=this.numbersStore+t.key;if(Number(this.numbersStore)>this.totalPages){this.numbersStore=this.totalPages+""}this.getEnteredNumber(t)}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:t=this.nativeNav.querySelector("li.duet-pagination-item-is-active duet-button");e=t;if(!e)return[3,2];return[4,t.setFocus()];case 1:e=i.sent();i.label=2;case 2:e;return[2]}}))}))};t.prototype.pageClickHandler=function(t){t.preventDefault();var e=Number(t.target.getAttribute("data-id"));this.current=e;this.emitPageEvent({},e)};t.prototype.sectionClickHandler=function(t,e){t.preventDefault();var i=this.internalSectionIndex+e;var n=this.take*this.visibleItems;if(i*n>this.total){i=this.internalSectionIndex}var a=i;this.internalSectionIndex=a>=0?a:0};t.prototype.jumpToStart=function(t){t.preventDefault();this.internalSectionIndex=0;this.current=1;this.emitPageEvent(t)};t.prototype.jumpToEnd=function(t){t.preventDefault();this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1);this.current=this.totalPages;this.emitPageEvent(t)};t.prototype.renderPageNumbers=function(){var t=this;var e=[];var i=this.internalSectionIndex*this.visibleItems;do{i++;if(i>this.totalPages){break}e.push(n("li",{class:{"duet-pagination-item":true,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},n("duet-button",{class:{"duet-pagination-link":true},color:i!==this.current?this.theme!=="turva"?"secondary":"secondary-turva":this.theme!=="turva"?"primary":"primary-turva","data-id":i,"center-text":true,variation:"plain",margin:"none",accessibleLabel:"".concat(this.accessibleLabels.go_to," ").concat(i),onClick:function(e){return t.pageClickHandler(e)},theme:this.theme},n("div",{class:"duet-pagination-page-number","aria-hidden":true},i))))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return e};t.prototype.shouldDisplayNavigation=function(){if(this.variation!=="compact"){return S(this.visibleItems,this.total,this.take)}return false};t.prototype.render=function(){var t;var e=this;return n(r,{onKeyDown:function(t){return e.onKeyboardDown(t)}},n("nav",{role:"navigation","aria-labelledby":this.accessibleLabelledBy?"".concat(this.accessibleLabelledBy," ").concat(this.listId):this.listId,"aria-describedby":this.accessibleDescribedBy?"".concat(this.accessibleDescribedBy," ").concat(this.listId):this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:function(t){return e.nativeNav=t},"aria-controls":this.ariaControls,class:(t={"duet-pagination-nav":true},t["duet-pagination-variation-".concat(this.variation)]=true,t)},this.numbersStore!==""&&n("div",{"aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":"".concat(this.accessibleLabels.jump_to," ").concat(this.numbersStore),part:"navigation-overlay"},n("duet-badge",{theme:this.theme},"jump to page : ",this.numbersStore)),n("ol",{id:this.listId,class:{"duet-pagination":true,"duet-pagination-is-dimmed":this.numbersStore!==""},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.internalSectionIndex===0&&this.current<=1,"data-direction":"back",onClick:function(t){return e.onMouseHandler(t,-1)},"accessible-label":this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme})),this.internalSectionIndex!==0&&this.shouldDisplayNavigation()&&n(a,null,n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:this.theme!=="turva"?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:function(t){return e.jumpToStart(t)},theme:this.theme},n("div",{class:"duet-pagination-page-number"},"1"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return e.sectionClickHandler(t,-1)},theme:this.theme},n("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"...")))),this.renderPageNumbers(),this.internalSectionIndex*(this.visibleItems+2)<this.totalPages&&this.shouldDisplayNavigation()&&n(a,null,n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return e.sectionClickHandler(t,1)},theme:this.theme},n("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"..."))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:function(t){return e.jumpToEnd(t)},theme:this.theme},n("div",{class:"duet-pagination-page-number"},this.totalPages)))),n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,onClick:function(t){return e.onMouseHandler(t,1)},"icon-name":"action-arrow-right-small",theme:this.theme})))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"]}},enumerable:false,configurable:true});return t}());_.style=k;var w="*,*::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}";var I=t("duet_range_stepper",function(){function t(t){var n=this;e(this,t);this.duetRangeStepUpdate=i(this,"duetRangeStepUpdate",7);this.leftBn=l("duetRangeStepper-left");this.rightBn=l("duetRangeStepper-right");this.handleClick=function(t,e){t.preventDefault();n.stepIndex+=e;n.clampStepIndex();n.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=""}t.prototype.watchStepIndexStateHandler=function(t){if(this.leftBnRef&&this.rightBnRef){if(t<=1){if(this.element===document.activeElement){this.rightBnRef.setFocus()}this.leftBnRef.setAttribute("disabled","")}else{this.leftBnRef.removeAttribute("disabled")}if(t>=this.total/this.stepSize){if(this.element===document.activeElement){this.leftBnRef.setFocus()}this.rightBnRef.setAttribute("disabled","")}else{this.rightBnRef.removeAttribute("disabled")}}};t.prototype.watchStepSizeStateHandler=function(t,e){if(t!==e){if(this.stepIndex*t>this.total){this.stepIndex=Math.ceil(this.total/t)}this.watchStepIndexStateHandler(this.stepIndex)}};t.prototype.handleStepClick=function(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})};t.prototype.componentWillLoad=function(){o(this);this.clampStepIndex()};t.prototype.componentDidLoad=function(){this.watchStepIndexStateHandler(this.stepIndex)};t.prototype.connectedCallback=function(){y(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})};t.prototype.disconnectedCallback=function(){x(this)};t.prototype.clampStepIndex=function(){if(this.stepIndex<1){this.stepIndex=1}else if(this.stepIndex*this.stepSize>this.total){this.stepIndex=Math.ceil(this.total/this.stepSize)}};t.prototype.getFrom=function(){return Math.floor((this.stepIndex-1)*this.stepSize)+1};t.prototype.getTo=function(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)};t.prototype.generateStepSize=function(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))};t.prototype.generatePreviousIncrementLabel=function(){if(this.getFrom()===1){return""}return 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))};t.prototype.generateNextIncrementLabel=function(){if(this.getTo()===this.total){return""}return 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))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(n){e=this.stepIndex;i=1;if(h(t)||d(t)||f(t)){e--;i=-1;this.leftBnRef.setFocus()}if(g(t)||b(t)||m(t)){e++;i=1}if(u(t)){if(e>0&&e*this.stepSize<=this.total){this.handleClick(t,i)}}return[2]}))}))};t.prototype.render=function(){var t=this;return n("div",{class:{"duet-range-stepper":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:function(e){return t.onKeyboardDown(e)},"aria-controls":this.ariaControls},n("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),n("duet-action-button",{class:"duet-range-step-button duet-range-step-minus",onClick:function(e){return t.handleClick(e,-1)},id:this.leftBn,"accessible-label":"".concat(this.ariaLabels.previous_increment," ").concat(this.generatePreviousIncrementLabel()),ref:function(e){return t.leftBnRef=e},part:"navigation-arrow",iconName:"action-arrow-left-small"}),n("duet-action-button",{class:"duet-range-step-button duet-range-step-plus",onClick:function(e){return t.handleClick(e,1)},"accessible-label":"".concat(this.ariaLabels.next_increment," ").concat(this.generateNextIncrementLabel()),id:this.rightBn,ref:function(e){return t.rightBnRef=e},part:"navigation-arrow",iconName:"action-arrow-right-small"}))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}},enumerable:false,configurable:true});return t}());I.style=w}}}));