@duetds/components 9.4.2 → 9.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (715) hide show
  1. package/hydrate/index.js +2269 -199
  2. package/lib/cjs/{a11y-utils-821a2919.js → a11y-utils-103b327e.js} +1 -1
  3. package/lib/cjs/{app-globals-b8946136.js → app-globals-2b7fff72.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  10. package/lib/cjs/duet-button_2.cjs.entry.js +10 -10
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -10
  13. package/lib/cjs/duet-card.cjs.entry.js +2 -2
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  16. package/lib/cjs/{duet-chip_3.cjs.entry.js → duet-chip.cjs.entry.js} +3 -377
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +7 -7
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  31. package/lib/cjs/duet-hero.cjs.entry.js +8 -8
  32. package/lib/cjs/duet-icon.cjs.entry.js +4 -4
  33. package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
  34. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  35. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-modal.cjs.entry.js +10 -10
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +8 -8
  44. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
  46. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +15 -15
  50. package/lib/cjs/duet-phone-input.cjs.entry.js +2002 -0
  51. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +426 -0
  52. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  55. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-scrollable_3.cjs.entry.js +12 -12
  57. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  62. package/lib/cjs/duet-slideout-link.cjs.entry.js +22 -4
  63. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
  64. package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
  65. package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
  66. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  69. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
  70. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  71. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  72. package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
  74. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
  77. package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
  78. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  80. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
  81. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  82. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  83. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  84. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  85. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  86. package/lib/cjs/duet.cjs.js +3 -3
  87. package/lib/cjs/{errorcodes.utils-4059c3de.js → errorcodes.utils-e3a0f607.js} +1 -1
  88. package/lib/cjs/{focus-utils-b50cfb47.js → focus-utils-47d23c45.js} +1 -1
  89. package/lib/cjs/{index-ae9c685d.js → index-7b1d76ef.js} +11 -3
  90. package/lib/cjs/{language-utils-eb134c64.js → language-utils-a6a152b8.js} +1 -1
  91. package/lib/cjs/loader.cjs.js +3 -3
  92. package/lib/cjs/{slot-utils-66b2afa4.js → slot-utils-6864011f.js} +1 -1
  93. package/lib/collection/collection-manifest.json +1 -0
  94. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  95. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  96. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  97. package/lib/collection/components/duet-button/duet-button.css +32 -18
  98. package/lib/collection/components/duet-button/duet-button.js +6 -6
  99. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  100. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  101. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  102. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  103. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  104. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  105. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  106. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  107. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  108. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  109. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  110. package/lib/collection/components/duet-heading/duet-heading.js +22 -2
  111. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  112. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  113. package/lib/collection/components/duet-input/duet-input.css +34 -3
  114. package/lib/collection/components/duet-input/duet-input.js +4 -4
  115. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  116. package/lib/collection/components/duet-link/duet-link.js +2 -2
  117. package/lib/collection/components/duet-list/duet-list.js +1 -1
  118. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  119. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  120. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  121. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  122. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  123. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  124. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  125. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  126. package/lib/collection/components/duet-modal/duet-modal.js +6 -6
  127. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  128. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  129. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  130. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  131. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  132. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  133. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  134. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  135. package/lib/collection/components/duet-phone-input/duet-phone-input.css +20 -0
  136. package/lib/collection/components/duet-phone-input/duet-phone-input.js +777 -0
  137. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +69 -9
  138. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  139. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  140. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  141. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  142. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  143. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  144. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  145. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  146. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  147. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +17 -2
  148. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +90 -2
  149. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  150. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  151. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  152. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  153. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  154. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  155. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  156. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  157. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  158. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  159. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  160. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  161. package/lib/collection/components/duet-table/duet-table.js +2 -2
  162. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  163. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  164. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  165. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  166. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  167. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  168. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  169. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  170. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  171. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  172. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  173. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  174. package/lib/collection/data/countries.js +1762 -0
  175. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  176. package/lib/dist-custom-elements/duet-alert.js +1 -1
  177. package/lib/dist-custom-elements/duet-badge.js +1 -1
  178. package/lib/dist-custom-elements/duet-banner.js +3 -3
  179. package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
  180. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  181. package/lib/dist-custom-elements/duet-button.js +1 -1
  182. package/lib/dist-custom-elements/duet-callout.js +4 -4
  183. package/lib/dist-custom-elements/duet-caption.js +1 -1
  184. package/lib/dist-custom-elements/duet-card.js +3 -3
  185. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  186. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  187. package/lib/dist-custom-elements/duet-chip.js +1 -1
  188. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  189. package/lib/dist-custom-elements/duet-choice.js +4 -4
  190. package/lib/dist-custom-elements/duet-collapsible.js +5 -5
  191. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  192. package/lib/dist-custom-elements/duet-contact-card.js +10 -10
  193. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  194. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  195. package/lib/dist-custom-elements/duet-divider.js +1 -1
  196. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  197. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  198. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  199. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  200. package/lib/dist-custom-elements/duet-footer.js +11 -11
  201. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  202. package/lib/dist-custom-elements/duet-grid.js +1 -1
  203. package/lib/dist-custom-elements/duet-header.js +8 -8
  204. package/lib/dist-custom-elements/duet-heading.js +1 -1
  205. package/lib/dist-custom-elements/duet-hero.js +14 -14
  206. package/lib/dist-custom-elements/duet-icon.js +1 -1
  207. package/lib/dist-custom-elements/duet-input.js +1 -1
  208. package/lib/dist-custom-elements/duet-label.js +1 -1
  209. package/lib/dist-custom-elements/duet-layout.js +6 -6
  210. package/lib/dist-custom-elements/duet-link.js +1 -1
  211. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  212. package/lib/dist-custom-elements/duet-list.js +1 -1
  213. package/lib/dist-custom-elements/duet-logo.js +1 -1
  214. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  215. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  216. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  217. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  218. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  219. package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
  220. package/lib/dist-custom-elements/duet-modal.js +14 -14
  221. package/lib/dist-custom-elements/duet-multiselect.js +14 -14
  222. package/lib/dist-custom-elements/duet-nav.js +2 -2
  223. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  224. package/lib/dist-custom-elements/duet-notification.js +4 -4
  225. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  226. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  227. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  228. package/lib/dist-custom-elements/duet-pagination.js +24 -24
  229. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  230. package/lib/dist-custom-elements/duet-phone-input.d.ts +11 -0
  231. package/lib/dist-custom-elements/duet-phone-input.js +2128 -0
  232. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  233. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  234. package/lib/dist-custom-elements/duet-progress.js +1 -1
  235. package/lib/dist-custom-elements/duet-promo-card.js +5 -5
  236. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  237. package/lib/dist-custom-elements/duet-radio.js +1 -1
  238. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  239. package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
  240. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  241. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  242. package/lib/dist-custom-elements/duet-select.js +1 -1
  243. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  244. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  245. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  246. package/lib/dist-custom-elements/duet-slideout-link.js +25 -6
  247. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  248. package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
  249. package/lib/dist-custom-elements/duet-slideout.js +7 -7
  250. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  251. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  252. package/lib/dist-custom-elements/duet-status-icon.js +4 -4
  253. package/lib/dist-custom-elements/duet-step.js +4 -4
  254. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  255. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  256. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  257. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  258. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  259. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  260. package/lib/dist-custom-elements/duet-tab-group.js +11 -11
  261. package/lib/dist-custom-elements/duet-tab.js +1 -1
  262. package/lib/dist-custom-elements/duet-table.js +1 -1
  263. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  264. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  265. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  266. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  267. package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
  268. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  269. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  270. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  271. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  272. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  273. package/lib/dist-custom-elements/duet-tray.js +5 -5
  274. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  275. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  276. package/lib/dist-custom-elements/duet-upload.js +21 -21
  277. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  278. package/lib/dist-custom-elements/index.js +1 -1
  279. package/lib/dist-custom-elements/{p-e7837082.js → p-18bc63f3.js} +3 -3
  280. package/lib/dist-custom-elements/{p-919a3f56.js → p-19b9ead1.js} +7 -7
  281. package/lib/dist-custom-elements/{p-3cebc38f.js → p-26c7e23f.js} +1 -1
  282. package/lib/dist-custom-elements/{p-6c512deb.js → p-2ecca38c.js} +3 -3
  283. package/lib/dist-custom-elements/{p-12afa6a9.js → p-2f6cc198.js} +4 -4
  284. package/lib/dist-custom-elements/{p-ea1b9fd2.js → p-32ca7625.js} +1 -1
  285. package/lib/dist-custom-elements/{p-2218a02d.js → p-39b87412.js} +2 -2
  286. package/lib/dist-custom-elements/{p-8bb33e70.js → p-41403f71.js} +3 -3
  287. package/lib/dist-custom-elements/{p-e40f6f72.js → p-4ccd7bcc.js} +4 -4
  288. package/lib/dist-custom-elements/{p-fa1cdac3.js → p-4d6f6627.js} +3 -3
  289. package/lib/dist-custom-elements/{p-20670f23.js → p-4ed8da23.js} +6 -4
  290. package/lib/dist-custom-elements/{p-84a16ba6.js → p-52df4164.js} +1 -1
  291. package/lib/dist-custom-elements/{p-682759c1.js → p-548610a6.js} +1 -1
  292. package/lib/dist-custom-elements/{p-81287261.js → p-7327e3d5.js} +264 -1
  293. package/lib/dist-custom-elements/{p-eb8c49d0.js → p-76415eb2.js} +4 -4
  294. package/lib/dist-custom-elements/{p-43578452.js → p-76f76fab.js} +119 -12
  295. package/lib/dist-custom-elements/{p-8c206875.js → p-7b74fee9.js} +3 -3
  296. package/lib/dist-custom-elements/{p-7bd61001.js → p-87df2d6e.js} +10 -10
  297. package/lib/dist-custom-elements/{p-32dde064.js → p-8ad5e64f.js} +3 -3
  298. package/lib/dist-custom-elements/{p-b1d9f172.js → p-8f1394dd.js} +2 -2
  299. package/lib/dist-custom-elements/{p-fc719f13.js → p-9cb035b0.js} +5 -5
  300. package/lib/dist-custom-elements/{p-cf7ebeca.js → p-a013e7b0.js} +10 -10
  301. package/lib/dist-custom-elements/{p-2bba9071.js → p-a201b49f.js} +12 -12
  302. package/lib/dist-custom-elements/{p-5f69b1a3.js → p-ad89064b.js} +6 -6
  303. package/lib/dist-custom-elements/{p-9613c7ae.js → p-b2599bdb.js} +2 -2
  304. package/lib/dist-custom-elements/{p-64e2d3ca.js → p-b3a6e82a.js} +8 -8
  305. package/lib/dist-custom-elements/{p-3e337443.js → p-b8bae8c7.js} +2 -2
  306. package/lib/dist-custom-elements/{p-db63d729.js → p-c577fbfe.js} +2 -2
  307. package/lib/dist-custom-elements/{p-57b14f14.js → p-c69401c2.js} +4 -4
  308. package/lib/dist-custom-elements/{p-a8105585.js → p-cf1df71c.js} +1 -1
  309. package/lib/dist-custom-elements/{p-96198aec.js → p-d01a8307.js} +5 -5
  310. package/lib/dist-custom-elements/{p-0ead9c70.js → p-d05c6565.js} +2 -2
  311. package/lib/dist-custom-elements/{p-55baf5dc.js → p-d5859ccf.js} +3 -3
  312. package/lib/dist-custom-elements/{p-996b724b.js → p-da60c00a.js} +4 -4
  313. package/lib/dist-custom-elements/{p-9d6b2f72.js → p-db1f42f3.js} +3 -3
  314. package/lib/dist-custom-elements/{p-95bf575a.js → p-dce51f6d.js} +2 -2
  315. package/lib/dist-custom-elements/{p-f904de26.js → p-eb768545.js} +3 -3
  316. package/lib/dist-custom-elements/{p-792db7b0.js → p-ed6a907e.js} +1 -1
  317. package/lib/dist-custom-elements/{p-1783819b.js → p-fc9e69ed.js} +12 -12
  318. package/lib/duet/duet.esm.js +1 -1
  319. package/lib/duet/duet.js +1 -1
  320. package/lib/duet/{p-a220b676.entry.js → p-00ab909e.entry.js} +1 -1
  321. package/lib/duet/{p-fa03d3b3.system.entry.js → p-00dd59e4.system.entry.js} +1 -1
  322. package/lib/duet/{p-472dab44.system.entry.js → p-033947e4.system.entry.js} +1 -1
  323. package/lib/duet/{p-7b39ff48.entry.js → p-03abf8be.entry.js} +1 -1
  324. package/lib/duet/{p-31fcb811.entry.js → p-04090a71.entry.js} +1 -1
  325. package/lib/duet/{p-3b03ad48.js → p-083bbc28.js} +1 -1
  326. package/lib/duet/{p-2b8d5ebf.system.entry.js → p-0c5d595b.system.entry.js} +1 -1
  327. package/lib/duet/{p-d3ba2b21.entry.js → p-0d1c524e.entry.js} +1 -1
  328. package/lib/duet/{p-da4d3c61.js → p-0d443be5.js} +1 -1
  329. package/lib/duet/{p-9b6794b3.entry.js → p-0d626d2e.entry.js} +1 -1
  330. package/lib/duet/{p-242c72b4.entry.js → p-0e2727b2.entry.js} +1 -1
  331. package/lib/duet/{p-5b8b0f3b.entry.js → p-0e3a6d04.entry.js} +1 -1
  332. package/lib/duet/p-1052f050.entry.js +4 -0
  333. package/lib/duet/{p-f8cda4cb.entry.js → p-1057eeaa.entry.js} +1 -1
  334. package/lib/duet/{p-03d1fe77.entry.js → p-1275c867.entry.js} +1 -1
  335. package/lib/duet/{p-2a4b6723.system.entry.js → p-1317da1c.system.entry.js} +1 -1
  336. package/lib/duet/{p-3a0a60fb.system.entry.js → p-1364a715.system.entry.js} +1 -1
  337. package/lib/duet/{p-373e1b99.entry.js → p-148be53e.entry.js} +1 -1
  338. package/lib/duet/{p-49cddce5.system.entry.js → p-15bd06bb.system.entry.js} +1 -1
  339. package/lib/duet/{p-53c14a6d.system.entry.js → p-1744b916.system.entry.js} +1 -1
  340. package/lib/duet/{p-243553ce.entry.js → p-17592731.entry.js} +1 -1
  341. package/lib/duet/{p-ad2f0283.system.entry.js → p-17d11f8c.system.entry.js} +1 -1
  342. package/lib/duet/{p-b2f48572.entry.js → p-19625473.entry.js} +1 -1
  343. package/lib/duet/{p-d1274fac.entry.js → p-1b1d98b4.entry.js} +1 -1
  344. package/lib/duet/{p-6791795c.entry.js → p-1c0ace6c.entry.js} +1 -1
  345. package/lib/duet/{p-7ae20674.system.entry.js → p-1ea716c1.system.entry.js} +1 -1
  346. package/lib/duet/{p-c1030c78.entry.js → p-1fc48a8d.entry.js} +1 -1
  347. package/lib/duet/{p-b77c2cc1.entry.js → p-202f526f.entry.js} +1 -1
  348. package/lib/duet/{p-67b77e1a.system.entry.js → p-207e46dc.system.entry.js} +1 -1
  349. package/lib/duet/{p-f3e0a76f.system.entry.js → p-26df85b3.system.entry.js} +1 -1
  350. package/lib/duet/{p-53a07476.system.entry.js → p-28cc13b6.system.entry.js} +1 -1
  351. package/lib/duet/{p-05bd5fc1.system.entry.js → p-28ef1aaf.system.entry.js} +1 -1
  352. package/lib/duet/{p-b2fbe44f.entry.js → p-295396cd.entry.js} +1 -1
  353. package/lib/duet/{p-23c363ea.system.entry.js → p-2a0c7157.system.entry.js} +1 -1
  354. package/lib/duet/{p-f12da4d6.system.entry.js → p-2a0e1cd2.system.entry.js} +1 -1
  355. package/lib/duet/{p-0620d479.system.entry.js → p-2a4f4522.system.entry.js} +1 -1
  356. package/lib/duet/{p-5c6fa752.entry.js → p-2b082283.entry.js} +1 -1
  357. package/lib/duet/{p-7abde534.system.js → p-2bb44297.system.js} +1 -1
  358. package/lib/duet/{p-e9d69dba.entry.js → p-2c64554e.entry.js} +1 -1
  359. package/lib/duet/{p-3945d323.system.entry.js → p-2efdf39c.system.entry.js} +1 -1
  360. package/lib/duet/{p-f2a5e96f.entry.js → p-3072addc.entry.js} +1 -1
  361. package/lib/duet/{p-d451ec53.entry.js → p-345ac2e1.entry.js} +1 -1
  362. package/lib/duet/{p-93c4d3c3.system.entry.js → p-346f8340.system.entry.js} +1 -1
  363. package/lib/duet/{p-968c2680.entry.js → p-35600b76.entry.js} +1 -1
  364. package/lib/duet/{p-72b3dc7c.entry.js → p-35c49132.entry.js} +1 -1
  365. package/lib/duet/{p-e9d570bf.entry.js → p-37c469ec.entry.js} +1 -1
  366. package/lib/duet/{p-ab2b67ab.entry.js → p-3ac058e8.entry.js} +1 -1
  367. package/lib/duet/{p-5e98b366.system.entry.js → p-3bcc4ed9.system.entry.js} +1 -1
  368. package/lib/duet/p-42a1b0f0.system.js +4 -0
  369. package/lib/duet/{p-4aa4bece.system.entry.js → p-433fad0d.system.entry.js} +1 -1
  370. package/lib/duet/{p-c06b8830.system.entry.js → p-435f700f.system.entry.js} +1 -1
  371. package/lib/duet/{p-d5a1fea0.entry.js → p-45beef6d.entry.js} +1 -1
  372. package/lib/duet/{p-b7393278.entry.js → p-477e39b0.entry.js} +1 -1
  373. package/lib/duet/{p-b99e40e7.entry.js → p-48bb29d2.entry.js} +1 -1
  374. package/lib/duet/{p-3a495087.entry.js → p-497fe0b1.entry.js} +1 -1
  375. package/lib/duet/p-4a2ccec7.entry.js +4 -0
  376. package/lib/duet/{p-ef16cf2f.system.entry.js → p-4af9bc5f.system.entry.js} +1 -1
  377. package/lib/duet/{p-8c8f2565.entry.js → p-4ebb368b.entry.js} +1 -1
  378. package/lib/duet/{p-e64cdc3b.system.entry.js → p-4f2c25a0.system.entry.js} +1 -1
  379. package/lib/duet/{p-dc807a5c.system.js → p-4f945200.system.js} +1 -1
  380. package/lib/duet/{p-ddc04775.entry.js → p-4fc8517e.entry.js} +1 -1
  381. package/lib/duet/{p-3677dc32.entry.js → p-4fc945d4.entry.js} +1 -1
  382. package/lib/duet/{p-d72393c6.entry.js → p-52829324.entry.js} +1 -1
  383. package/lib/duet/{p-9a1ede4b.system.entry.js → p-53b9b442.system.entry.js} +1 -1
  384. package/lib/duet/p-55bafbde.system.entry.js +4 -0
  385. package/lib/duet/{p-8d66d9ff.entry.js → p-56b48e3d.entry.js} +1 -1
  386. package/lib/duet/{p-42ed9cf5.entry.js → p-580a6591.entry.js} +1 -1
  387. package/lib/duet/p-587a9d58.system.entry.js +4 -0
  388. package/lib/duet/{p-7e67797a.system.entry.js → p-5ab4313d.system.entry.js} +1 -1
  389. package/lib/duet/{p-75e262dd.system.entry.js → p-5c561b82.system.entry.js} +1 -1
  390. package/lib/duet/{p-4261665d.system.entry.js → p-5d5ba6ed.system.entry.js} +1 -1
  391. package/lib/duet/{p-a6f485ce.system.entry.js → p-5e01a303.system.entry.js} +1 -1
  392. package/lib/duet/{p-f1f562bb.entry.js → p-5e2d4a51.entry.js} +1 -1
  393. package/lib/duet/{p-07be03a5.system.js → p-61173f11.system.js} +1 -1
  394. package/lib/duet/p-622e1ffc.js +4 -0
  395. package/lib/duet/{p-a488b792.system.entry.js → p-64651bff.system.entry.js} +1 -1
  396. package/lib/duet/p-64853b73.entry.js +4 -0
  397. package/lib/duet/{p-772f84d7.system.entry.js → p-66021b00.system.entry.js} +2 -2
  398. package/lib/duet/{p-05673dd4.system.entry.js → p-68cbc985.system.entry.js} +1 -1
  399. package/lib/duet/{p-c05be5e1.entry.js → p-6c36ad85.entry.js} +1 -1
  400. package/lib/duet/p-6eb279dd.system.entry.js +4 -0
  401. package/lib/duet/{p-e1d6e640.system.entry.js → p-6fb72847.system.entry.js} +1 -1
  402. package/lib/duet/{p-f2a35fdd.entry.js → p-71ec5b28.entry.js} +1 -1
  403. package/lib/duet/{p-849a093c.system.entry.js → p-73853b36.system.entry.js} +1 -1
  404. package/lib/duet/{p-457a2d83.system.entry.js → p-7567fef0.system.entry.js} +1 -1
  405. package/lib/duet/{p-fe63ab87.system.entry.js → p-76361fed.system.entry.js} +2 -2
  406. package/lib/duet/p-7638da3f.entry.js +4 -0
  407. package/lib/duet/{p-75e12142.js → p-76927493.js} +1 -1
  408. package/lib/duet/{p-f89203db.entry.js → p-7ac466a3.entry.js} +1 -1
  409. package/lib/duet/{p-2822c55e.system.entry.js → p-7b5541e9.system.entry.js} +1 -1
  410. package/lib/duet/p-7be5b9a7.js +4 -0
  411. package/lib/duet/{p-c6564753.system.entry.js → p-7cad68ea.system.entry.js} +1 -1
  412. package/lib/duet/{p-e51fe789.entry.js → p-7fceb8c8.entry.js} +1 -1
  413. package/lib/duet/{p-3215139d.system.entry.js → p-84b24dcc.system.entry.js} +1 -1
  414. package/lib/duet/{p-e39b4df9.system.entry.js → p-84c02ce1.system.entry.js} +1 -1
  415. package/lib/duet/p-84f2cc6b.entry.js +4 -0
  416. package/lib/duet/p-85261a28.entry.js +4 -0
  417. package/lib/duet/p-85a38287.system.entry.js +4 -0
  418. package/lib/duet/{p-1a045554.entry.js → p-88e0e42c.entry.js} +1 -1
  419. package/lib/duet/p-89cf1a91.system.js +4 -0
  420. package/lib/duet/p-8b59d885.entry.js +4 -0
  421. package/lib/duet/{p-042e2fe8.entry.js → p-8bfb6649.entry.js} +1 -1
  422. package/lib/duet/{p-6460ecdd.entry.js → p-8d6e249b.entry.js} +1 -1
  423. package/lib/duet/{p-15b3553c.system.entry.js → p-8ecbac63.system.entry.js} +1 -1
  424. package/lib/duet/{p-d1219b00.system.entry.js → p-8f698359.system.entry.js} +1 -1
  425. package/lib/duet/{p-9c4c9249.system.entry.js → p-91a98b52.system.entry.js} +1 -1
  426. package/lib/duet/{p-2f333676.system.entry.js → p-91f7ae75.system.entry.js} +1 -1
  427. package/lib/duet/{p-fae62327.system.entry.js → p-925da010.system.entry.js} +1 -1
  428. package/lib/duet/{p-758432df.entry.js → p-943edeef.entry.js} +1 -1
  429. package/lib/duet/{p-1f521358.system.entry.js → p-9525c31e.system.entry.js} +1 -1
  430. package/lib/duet/{p-1e4e0a4d.entry.js → p-95f1b9a1.entry.js} +1 -1
  431. package/lib/duet/{p-d681c210.entry.js → p-96a6cca2.entry.js} +1 -1
  432. package/lib/duet/{p-97b9b2ae.entry.js → p-98fd263d.entry.js} +1 -1
  433. package/lib/duet/{p-7df5aaf6.system.entry.js → p-9d3e0050.system.entry.js} +2 -2
  434. package/lib/duet/{p-b5c7f8cd.entry.js → p-9f377238.entry.js} +1 -1
  435. package/lib/duet/p-9f3a5506.entry.js +4 -0
  436. package/lib/duet/{p-6b4ca314.entry.js → p-9f9e4b5a.entry.js} +1 -1
  437. package/lib/duet/{p-7b249d64.system.entry.js → p-a0229b56.system.entry.js} +1 -1
  438. package/lib/duet/{p-d2a5a09f.js → p-a083b91a.js} +1 -1
  439. package/lib/duet/p-a331ae6e.system.js +4 -0
  440. package/lib/duet/{p-1dbbe6df.system.entry.js → p-a637d6a7.system.entry.js} +1 -1
  441. package/lib/duet/{p-b6e4d58e.system.entry.js → p-a90243df.system.entry.js} +1 -1
  442. package/lib/duet/{p-f5e1a0cc.entry.js → p-afc011e1.entry.js} +1 -1
  443. package/lib/duet/p-aff748c3.entry.js +4 -0
  444. package/lib/duet/{p-dfe8ce73.system.entry.js → p-b1c2ab61.system.entry.js} +1 -1
  445. package/lib/duet/p-b3076f6c.system.entry.js +4 -0
  446. package/lib/duet/{p-2c565a29.entry.js → p-b327a269.entry.js} +1 -1
  447. package/lib/duet/{p-3e9b5b6f.entry.js → p-b32dcb86.entry.js} +1 -1
  448. package/lib/duet/{p-ee3b1868.system.entry.js → p-b336e3fb.system.entry.js} +1 -1
  449. package/lib/duet/{p-9f5a2024.entry.js → p-b410d85d.entry.js} +1 -1
  450. package/lib/duet/p-b56915bb.system.entry.js +4 -0
  451. package/lib/duet/{p-89a86ebc.system.entry.js → p-b642d349.system.entry.js} +1 -1
  452. package/lib/duet/{p-ee268c5a.entry.js → p-b79ca71d.entry.js} +1 -1
  453. package/lib/duet/{p-e5ef5e89.entry.js → p-baf88ca9.entry.js} +1 -1
  454. package/lib/duet/{p-714399a1.system.entry.js → p-bbb9a30a.system.entry.js} +1 -1
  455. package/lib/duet/{p-5b2030f6.entry.js → p-bcd14101.entry.js} +1 -1
  456. package/lib/duet/{p-d8a7a6eb.entry.js → p-bcfd5746.entry.js} +1 -1
  457. package/lib/duet/{p-bca6125e.entry.js → p-bfb897ab.entry.js} +1 -1
  458. package/lib/duet/{p-709882f3.system.entry.js → p-c2befbf1.system.entry.js} +1 -1
  459. package/lib/duet/{p-27aab6b1.entry.js → p-c2d61f47.entry.js} +1 -1
  460. package/lib/duet/{p-9ea49d85.system.entry.js → p-c3d6433f.system.entry.js} +1 -1
  461. package/lib/duet/{p-f409cd1f.system.entry.js → p-c50c0b02.system.entry.js} +2 -2
  462. package/lib/duet/{p-05fcbe8e.system.entry.js → p-c5117f90.system.entry.js} +1 -1
  463. package/lib/duet/{p-2bb74e72.entry.js → p-c56c0b41.entry.js} +1 -1
  464. package/lib/duet/{p-52d6efa6.system.entry.js → p-c581e6d3.system.entry.js} +1 -1
  465. package/lib/duet/{p-59339a3e.system.entry.js → p-c734cff9.system.entry.js} +1 -1
  466. package/lib/duet/p-ca29569e.system.js +4 -0
  467. package/lib/duet/{p-3f8677ac.system.js → p-cdba12cc.system.js} +1 -1
  468. package/lib/duet/{p-6e1b9c32.system.entry.js → p-ce8d83cf.system.entry.js} +2 -2
  469. package/lib/duet/{p-5817c9a6.entry.js → p-d2059383.entry.js} +1 -1
  470. package/lib/duet/{p-653c75c3.system.entry.js → p-d2e9bcdf.system.entry.js} +1 -1
  471. package/lib/duet/{p-3b88a791.system.entry.js → p-d3e906da.system.entry.js} +1 -1
  472. package/lib/duet/{p-f6f21b70.entry.js → p-d49076b6.entry.js} +1 -1
  473. package/lib/duet/{p-df67d91b.system.entry.js → p-d66a0251.system.entry.js} +1 -1
  474. package/lib/duet/{p-fd38377e.system.entry.js → p-d8c356eb.system.entry.js} +1 -1
  475. package/lib/duet/{p-09fea5ea.system.entry.js → p-d915362b.system.entry.js} +1 -1
  476. package/lib/duet/{p-73f5d7d3.system.entry.js → p-da49ab05.system.entry.js} +2 -2
  477. package/lib/duet/{p-edda0b76.system.entry.js → p-dc186a2f.system.entry.js} +1 -1
  478. package/lib/duet/p-dcb8b2e2.entry.js +4 -0
  479. package/lib/duet/{p-37631fb0.system.entry.js → p-dd3fff16.system.entry.js} +1 -1
  480. package/lib/duet/{p-e8334ed1.entry.js → p-dd7ec171.entry.js} +1 -1
  481. package/lib/duet/{p-c71a58da.js → p-e3857119.js} +1 -1
  482. package/lib/duet/p-e67910bf.system.entry.js +4 -0
  483. package/lib/duet/{p-3ee0e7a2.system.entry.js → p-e81eade0.system.entry.js} +1 -1
  484. package/lib/duet/{p-e8eed1e6.entry.js → p-e8b5235d.entry.js} +1 -1
  485. package/lib/duet/{p-bca39a19.system.entry.js → p-eaff90e5.system.entry.js} +1 -1
  486. package/lib/duet/{p-87cc03bb.system.entry.js → p-ed4e9cd6.system.entry.js} +1 -1
  487. package/lib/duet/{p-99110a93.entry.js → p-edd39bb2.entry.js} +1 -1
  488. package/lib/duet/p-ef7b1342.entry.js +4 -0
  489. package/lib/duet/{p-2590f7b0.system.entry.js → p-f268a161.system.entry.js} +1 -1
  490. package/lib/duet/p-f3737a2b.entry.js +4 -0
  491. package/lib/duet/{p-b2a5f5d0.entry.js → p-f38a5f44.entry.js} +1 -1
  492. package/lib/duet/{p-475672d1.entry.js → p-f631a689.entry.js} +1 -1
  493. package/lib/duet/{p-5e988172.system.entry.js → p-f7d083c5.system.entry.js} +1 -1
  494. package/lib/duet/p-f89d7751.entry.js +4 -0
  495. package/lib/duet/{p-58f49211.system.entry.js → p-f8f56a8e.system.entry.js} +1 -1
  496. package/lib/duet/{p-829f18ac.entry.js → p-fb9b0a2f.entry.js} +1 -1
  497. package/lib/duet/p-fce0a87d.entry.js +4 -0
  498. package/lib/duet/{p-d46c21c3.system.entry.js → p-ff2aca13.system.entry.js} +2 -2
  499. package/lib/esm/{a11y-utils-47ea468e.js → a11y-utils-9dbc7c3d.js} +1 -1
  500. package/lib/esm/{app-globals-52a8e9e5.js → app-globals-e00fbe9c.js} +1 -1
  501. package/lib/esm/duet-action-button.entry.js +2 -2
  502. package/lib/esm/duet-alert.entry.js +3 -3
  503. package/lib/esm/duet-badge.entry.js +3 -3
  504. package/lib/esm/duet-banner.entry.js +2 -2
  505. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  506. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  507. package/lib/esm/duet-button_2.entry.js +10 -10
  508. package/lib/esm/duet-callout.entry.js +4 -4
  509. package/lib/esm/duet-caption_4.entry.js +11 -10
  510. package/lib/esm/duet-card.entry.js +2 -2
  511. package/lib/esm/duet-checkbox.entry.js +1 -1
  512. package/lib/esm/duet-checkmark.entry.js +3 -3
  513. package/lib/esm/{duet-chip_3.entry.js → duet-chip.entry.js} +5 -377
  514. package/lib/esm/duet-choice_2.entry.js +3 -3
  515. package/lib/esm/duet-collapsible.entry.js +4 -4
  516. package/lib/esm/duet-combobox.entry.js +3 -3
  517. package/lib/esm/duet-contact-card.entry.js +4 -4
  518. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  519. package/lib/esm/duet-date-picker.entry.js +4 -4
  520. package/lib/esm/duet-divider_2.entry.js +3 -3
  521. package/lib/esm/duet-editable-table_3.entry.js +7 -7
  522. package/lib/esm/duet-empty-state.entry.js +3 -3
  523. package/lib/esm/duet-fieldset.entry.js +5 -5
  524. package/lib/esm/duet-file-chooser.entry.js +2 -2
  525. package/lib/esm/duet-footer.entry.js +7 -7
  526. package/lib/esm/duet-grid_2.entry.js +1 -1
  527. package/lib/esm/duet-header_2.entry.js +3 -3
  528. package/lib/esm/duet-hero.entry.js +8 -8
  529. package/lib/esm/duet-icon.entry.js +4 -4
  530. package/lib/esm/duet-input_2.entry.js +5 -5
  531. package/lib/esm/duet-layout.entry.js +7 -7
  532. package/lib/esm/duet-list_2.entry.js +4 -4
  533. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  534. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  535. package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
  536. package/lib/esm/duet-menu-bar-item.entry.js +6 -6
  537. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  538. package/lib/esm/duet-menu-bar.entry.js +4 -4
  539. package/lib/esm/duet-modal.entry.js +10 -10
  540. package/lib/esm/duet-multiselect.entry.js +8 -8
  541. package/lib/esm/duet-nav.entry.js +2 -2
  542. package/lib/esm/duet-notification_2.entry.js +6 -6
  543. package/lib/esm/duet-number-input.entry.js +3 -3
  544. package/lib/esm/duet-overlay.entry.js +2 -2
  545. package/lib/esm/duet-page-heading.entry.js +3 -3
  546. package/lib/esm/duet-pagination_2.entry.js +15 -15
  547. package/lib/esm/duet-phone-input.entry.js +1998 -0
  548. package/lib/esm/duet-popup-menu_2.entry.js +421 -0
  549. package/lib/esm/duet-progress.entry.js +2 -2
  550. package/lib/esm/duet-promo-card.entry.js +4 -4
  551. package/lib/esm/duet-radio_2.entry.js +2 -2
  552. package/lib/esm/duet-range-slider.entry.js +1 -1
  553. package/lib/esm/duet-scrollable_3.entry.js +12 -12
  554. package/lib/esm/duet-section-layout.entry.js +4 -4
  555. package/lib/esm/duet-select.entry.js +2 -2
  556. package/lib/esm/duet-shaped-image.entry.js +3 -3
  557. package/lib/esm/duet-show-more.entry.js +4 -4
  558. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  559. package/lib/esm/duet-slideout-link.entry.js +22 -4
  560. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
  561. package/lib/esm/duet-slideout-panel.entry.js +10 -10
  562. package/lib/esm/duet-slideout.entry.js +8 -8
  563. package/lib/esm/duet-status-icon.entry.js +3 -3
  564. package/lib/esm/duet-step_2.entry.js +2 -2
  565. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  566. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
  567. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  568. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  569. package/lib/esm/duet-submenu-bar.entry.js +6 -6
  570. package/lib/esm/duet-textarea.entry.js +3 -3
  571. package/lib/esm/duet-toggle.entry.js +1 -1
  572. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  573. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
  574. package/lib/esm/duet-toolbar-item.entry.js +7 -7
  575. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  576. package/lib/esm/duet-toolbar.entry.js +3 -3
  577. package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
  578. package/lib/esm/duet-tooltip.entry.js +2 -2
  579. package/lib/esm/duet-tray.entry.js +4 -4
  580. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  581. package/lib/esm/duet-upload-item.entry.js +5 -5
  582. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  583. package/lib/esm/duet.js +4 -4
  584. package/lib/esm/{errorcodes.utils-e55da25d.js → errorcodes.utils-416994cc.js} +1 -1
  585. package/lib/esm/{focus-utils-b09f6029.js → focus-utils-7bc146cd.js} +1 -1
  586. package/lib/esm/{index-ed83a687.js → index-1a6cee61.js} +11 -3
  587. package/lib/esm/{language-utils-d2c8afdc.js → language-utils-8a9d5323.js} +1 -1
  588. package/lib/esm/loader.js +4 -4
  589. package/lib/esm/{slot-utils-035ffb1f.js → slot-utils-9633ef1e.js} +1 -1
  590. package/lib/esm-es5/{a11y-utils-47ea468e.js → a11y-utils-9dbc7c3d.js} +1 -1
  591. package/lib/esm-es5/{app-globals-52a8e9e5.js → app-globals-e00fbe9c.js} +1 -1
  592. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  593. package/lib/esm-es5/duet-alert.entry.js +1 -1
  594. package/lib/esm-es5/duet-badge.entry.js +1 -1
  595. package/lib/esm-es5/duet-banner.entry.js +1 -1
  596. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  597. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  598. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  599. package/lib/esm-es5/duet-callout.entry.js +1 -1
  600. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  601. package/lib/esm-es5/duet-card.entry.js +1 -1
  602. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  603. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  604. package/lib/esm-es5/duet-chip.entry.js +4 -0
  605. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  606. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  607. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  608. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  609. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  610. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  611. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  612. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  613. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  614. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  615. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  616. package/lib/esm-es5/duet-footer.entry.js +1 -1
  617. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  618. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-hero.entry.js +2 -2
  620. package/lib/esm-es5/duet-icon.entry.js +1 -1
  621. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  622. package/lib/esm-es5/duet-layout.entry.js +1 -1
  623. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  624. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  625. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  626. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  627. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  628. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  629. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  630. package/lib/esm-es5/duet-modal.entry.js +1 -1
  631. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  632. package/lib/esm-es5/duet-nav.entry.js +1 -1
  633. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  634. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  635. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  636. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  637. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  638. package/lib/esm-es5/duet-phone-input.entry.js +4 -0
  639. package/lib/esm-es5/duet-popup-menu_2.entry.js +4 -0
  640. package/lib/esm-es5/duet-progress.entry.js +1 -1
  641. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  642. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  643. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  644. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  645. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  646. package/lib/esm-es5/duet-select.entry.js +1 -1
  647. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  648. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  649. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  650. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  651. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  652. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  653. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  654. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  655. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  656. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  657. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  658. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  659. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  660. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  661. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  662. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  663. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  664. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  665. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  666. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  667. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  668. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  669. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  670. package/lib/esm-es5/duet-tray.entry.js +1 -1
  671. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  672. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  673. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  674. package/lib/esm-es5/duet.js +1 -1
  675. package/lib/esm-es5/{errorcodes.utils-e55da25d.js → errorcodes.utils-416994cc.js} +1 -1
  676. package/lib/esm-es5/{focus-utils-b09f6029.js → focus-utils-7bc146cd.js} +1 -1
  677. package/lib/esm-es5/index-1a6cee61.js +4 -0
  678. package/lib/esm-es5/{language-utils-d2c8afdc.js → language-utils-8a9d5323.js} +1 -1
  679. package/lib/esm-es5/loader.js +1 -1
  680. package/lib/esm-es5/{slot-utils-035ffb1f.js → slot-utils-9633ef1e.js} +1 -1
  681. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  682. package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
  683. package/lib/types/components/duet-input/duet-input.d.ts +4 -3
  684. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +156 -0
  685. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +11 -1
  686. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
  687. package/lib/types/components.d.ts +259 -2
  688. package/lib/types/data/countries.d.ts +22 -0
  689. package/package.json +4 -4
  690. package/lib/dist-custom-elements/p-b48eb919.js +0 -268
  691. package/lib/duet/p-05744ea4.entry.js +0 -4
  692. package/lib/duet/p-0dee442d.system.entry.js +0 -4
  693. package/lib/duet/p-0f354fb2.system.entry.js +0 -4
  694. package/lib/duet/p-254f4171.entry.js +0 -4
  695. package/lib/duet/p-2f769f52.system.entry.js +0 -4
  696. package/lib/duet/p-3a5017af.entry.js +0 -4
  697. package/lib/duet/p-46d7ebac.js +0 -4
  698. package/lib/duet/p-4ec25d4a.system.js +0 -4
  699. package/lib/duet/p-55d318e7.entry.js +0 -4
  700. package/lib/duet/p-571bc7a8.js +0 -4
  701. package/lib/duet/p-59cbcc2e.system.js +0 -4
  702. package/lib/duet/p-5bb1c4b6.entry.js +0 -4
  703. package/lib/duet/p-6044fe21.entry.js +0 -4
  704. package/lib/duet/p-7e0c5458.entry.js +0 -4
  705. package/lib/duet/p-8396cd14.entry.js +0 -4
  706. package/lib/duet/p-96ba9bdb.system.entry.js +0 -4
  707. package/lib/duet/p-a1f1645c.system.entry.js +0 -4
  708. package/lib/duet/p-a4bab4d8.entry.js +0 -4
  709. package/lib/duet/p-bf4d22d5.system.js +0 -4
  710. package/lib/duet/p-c4fc305d.entry.js +0 -4
  711. package/lib/duet/p-ceb3a8ca.entry.js +0 -4
  712. package/lib/duet/p-f1bb265f.entry.js +0 -4
  713. package/lib/duet/p-f872ec26.system.js +0 -4
  714. package/lib/esm-es5/duet-chip_3.entry.js +0 -4
  715. package/lib/esm-es5/index-ed83a687.js +0 -4
@@ -1,268 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-682759c1.js';
5
- import { m as media_query_medium, a as media_query_large } from './p-f6000a03.js';
6
- import { c as computePosition, f as flip, s as shift, a as arrow, b as autoUpdate } from './p-81287261.js';
7
- import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
8
- import { c as createID } from './p-5e59e970.js';
9
- import { b as isEscapeKey } from './p-8db11326.js';
10
- import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-35375593.js';
11
- import { d as defineCustomElement$4 } from './p-e40f6f72.js';
12
- import { d as defineCustomElement$3 } from './p-996b724b.js';
13
- import { d as defineCustomElement$2 } from './p-96198aec.js';
14
- import { d as defineCustomElement$1 } from './p-2218a02d.js';
15
-
16
- const duetTooltipCss = "*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";
17
- const DuetTooltipStyle0 = duetTooltipCss;
18
-
19
- const DuetTooltip = /*@__PURE__*/ proxyCustomElement(class DuetTooltip extends H {
20
- constructor() {
21
- super();
22
- this.__registerHost();
23
- /**
24
- * Own Properties.
25
- */
26
- this.mql = [
27
- window.matchMedia(media_query_medium.replace(/'/g, "")),
28
- window.matchMedia(media_query_large.replace(/'/g, "")),
29
- ];
30
- this.tooltipId = createID("DuetTooltip");
31
- this.aboutString = {
32
- fi: "aiheesta",
33
- en: "about",
34
- sv: "om",
35
- };
36
- /**
37
- * Local methods
38
- */
39
- this.openTooltip = () => {
40
- this.active = true;
41
- setTimeout(() => {
42
- this.contentEl.focus({ preventScroll: true });
43
- this.buttonActive = true;
44
- }, 200);
45
- };
46
- this.closeTooltip = (moveFocusToButton = false) => {
47
- this.active = false;
48
- if (moveFocusToButton) {
49
- setTimeout(() => {
50
- this.buttonEl.setFocus({ preventScroll: true });
51
- }, 200);
52
- }
53
- setTimeout(() => {
54
- this.buttonActive = false;
55
- });
56
- setTimeout(() => {
57
- this.updatePlacement();
58
- }, 200);
59
- };
60
- this.toggleOpen = () => {
61
- this.active ? this.closeTooltip() : this.openTooltip();
62
- };
63
- this.updatePlacement = async () => {
64
- var _a, _b;
65
- let preferRight = true;
66
- if (this.breakpoint === "large" && !this.mql[1].matches) {
67
- preferRight = false;
68
- }
69
- else if (this.breakpoint === "medium" && !this.mql[0].matches) {
70
- preferRight = false;
71
- }
72
- let placement = preferRight ? "top-start" : "top-end";
73
- if (this.direction === "left") {
74
- placement = "top-end";
75
- }
76
- else if (this.direction === "right") {
77
- placement = "top-start";
78
- }
79
- const position = await computePosition(this.buttonEl, this.popupElement, {
80
- placement,
81
- middleware: [flip(), shift({ padding: 5 }), arrow({ element: this.arrowEl })],
82
- });
83
- this.tooltipY = position.y;
84
- this.tooltipX = position.x;
85
- this.placement = position.placement;
86
- this.arrowY = (_a = position.middlewareData.arrow) === null || _a === void 0 ? void 0 : _a.y;
87
- this.arrowX = (_b = position.middlewareData.arrow) === null || _b === void 0 ? void 0 : _b.x;
88
- };
89
- this.placement = "bottom";
90
- this.tooltipY = undefined;
91
- this.tooltipX = undefined;
92
- this.arrowX = undefined;
93
- this.arrowY = undefined;
94
- this.buttonActive = undefined;
95
- this.theme = "";
96
- this.language = getLanguage();
97
- this.accessibleLabelDefault = {
98
- fi: "Näytä lisätietoja",
99
- en: "Show more information",
100
- sv: "Visa mer tilläggsuppgifter",
101
- };
102
- this.accessibleLabel = getLocaleString(this.accessibleLabelDefault, this.language);
103
- this.accessibleAboutLabel = undefined;
104
- this.accessibleInputLabel = undefined;
105
- this.accessibleCloseLabelDefault = {
106
- fi: "Sulje lisätiedot",
107
- en: "Close details",
108
- sv: "Stäng tilläggsuppgifter",
109
- };
110
- this.accessibleCloseLabel = getLocaleString(this.accessibleCloseLabelDefault, this.language);
111
- this.label = "";
112
- this.breakpoint = "medium";
113
- this.direction = "auto";
114
- this.positionVertical = "0";
115
- this.positionHorizontal = "0";
116
- this.active = false;
117
- this.negative = false;
118
- }
119
- /**
120
- * Component lifecycle events.
121
- */
122
- componentWillLoad() {
123
- inheritGlobalTheme(this);
124
- this.buttonActive = this.active;
125
- }
126
- async componentDidLoad() {
127
- this.arrowEl = await this.popupElement.getArrowElement();
128
- this.contentEl = await this.popupElement.getContentElement();
129
- this.updatePlacement();
130
- if (this.active) {
131
- this.openTooltip();
132
- await this.handleActiveChange(this.active);
133
- }
134
- this.intersectionObserver = new IntersectionObserver(this.updatePlacement, { root: document.body });
135
- this.intersectionObserver.observe(this.element);
136
- }
137
- connectedCallback() {
138
- connectLanguageChangeObserver(this, [
139
- { prop: "accessibleLabel", defaults: "accessibleLabelDefault" },
140
- { prop: "accessibleCloseLabel", defaults: "accessibleCloseLabelDefault" },
141
- ]);
142
- }
143
- disconnectedCallback() {
144
- disconnectLanguageChangeObserver(this);
145
- }
146
- handleDocumentClick(e) {
147
- if (!this.active) {
148
- return;
149
- }
150
- const path = e.composedPath();
151
- const isClickOutside = path.every(el => el !== this.element && el !== this.contentEl);
152
- if (isClickOutside) {
153
- this.closeTooltip();
154
- }
155
- }
156
- handleKeyDown(e) {
157
- if (this.active && isEscapeKey(e)) {
158
- this.closeTooltip(true);
159
- }
160
- }
161
- handlePopupClose() {
162
- if (this.active) {
163
- this.closeTooltip(true);
164
- }
165
- }
166
- async handleActiveChange(newActiveValue) {
167
- if (newActiveValue) {
168
- this.autoUpdateCleanup = autoUpdate(this.buttonEl, this.popupElement, this.updatePlacement);
169
- }
170
- else {
171
- this.autoUpdateCleanup();
172
- }
173
- }
174
- /**
175
- * render() function.
176
- * Always the last one in the class.
177
- */
178
- render() {
179
- const tooltipStyles = {
180
- transform: `translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,
181
- // This is needed to that the active tooltip stacks on
182
- // top of other tooltips and the header.
183
- zIndex: this.active ? "201" : "",
184
- };
185
- const popupContainerStyles = {
186
- position: "relative",
187
- overflow: this.active ? "visible" : "hidden",
188
- };
189
- const positionStyles = {
190
- top: `${this.tooltipY}px`,
191
- left: `${this.tooltipX}px`,
192
- display: "block",
193
- "pointer-events": this.active ? "auto" : "none",
194
- };
195
- const arrowStyles = {
196
- top: this.arrowY ? `${this.arrowY}px` : undefined,
197
- left: this.arrowX ? `${this.arrowX}px` : undefined,
198
- };
199
- return (h(Host, { style: tooltipStyles }, h("duet-tooltip-button", { ref: element => (this.buttonEl = element), active: this.buttonActive, tooltipId: this.tooltipId, label: this.label, accessibleLabel: (this.accessibleInputLabel && `${this.accessibleInputLabel}, ${this.accessibleLabel}`) ||
200
- (this.accessibleAboutLabel &&
201
- `${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`) ||
202
- this.accessibleLabel, onClick: this.toggleOpen, theme: this.theme, negative: this.negative }), h("div", { style: popupContainerStyles }, h("duet-tooltip-popup", { ref: element => (this.popupElement = element), active: this.active, tooltipId: this.tooltipId, arrowStyles: arrowStyles, style: positionStyles, placement: this.placement, accessibleCloseLabel: this.accessibleCloseLabel, theme: this.theme }, h("slot", null)))));
203
- }
204
- get element() { return this; }
205
- static get watchers() { return {
206
- "active": ["handleActiveChange"]
207
- }; }
208
- static get style() { return DuetTooltipStyle0; }
209
- }, [6, "duet-tooltip", {
210
- "theme": [1025],
211
- "language": [1025],
212
- "accessibleLabelDefault": [1, "accessible-label-default"],
213
- "accessibleLabel": [1025, "accessible-label"],
214
- "accessibleAboutLabel": [1, "accessible-about-label"],
215
- "accessibleInputLabel": [1, "accessible-input-label"],
216
- "accessibleCloseLabelDefault": [1, "accessible-close-label-default"],
217
- "accessibleCloseLabel": [1025, "accessible-close-label"],
218
- "label": [1],
219
- "breakpoint": [1],
220
- "direction": [1],
221
- "positionVertical": [513, "position-vertical"],
222
- "positionHorizontal": [513, "position-horizontal"],
223
- "active": [1540],
224
- "negative": [4],
225
- "placement": [32],
226
- "tooltipY": [32],
227
- "tooltipX": [32],
228
- "arrowX": [32],
229
- "arrowY": [32],
230
- "buttonActive": [32]
231
- }, [[4, "click", "handleDocumentClick"], [4, "keydown", "handleKeyDown"], [4, "tooltipPopupClosed", "handlePopupClose"]], {
232
- "active": ["handleActiveChange"]
233
- }]);
234
- function defineCustomElement() {
235
- if (typeof customElements === "undefined") {
236
- return;
237
- }
238
- const components = ["duet-tooltip", "duet-icon", "duet-tooltip-button", "duet-tooltip-popup", "duet-visually-hidden"];
239
- components.forEach(tagName => { switch (tagName) {
240
- case "duet-tooltip":
241
- if (!customElements.get(tagName)) {
242
- customElements.define(tagName, DuetTooltip);
243
- }
244
- break;
245
- case "duet-icon":
246
- if (!customElements.get(tagName)) {
247
- defineCustomElement$4();
248
- }
249
- break;
250
- case "duet-tooltip-button":
251
- if (!customElements.get(tagName)) {
252
- defineCustomElement$3();
253
- }
254
- break;
255
- case "duet-tooltip-popup":
256
- if (!customElements.get(tagName)) {
257
- defineCustomElement$2();
258
- }
259
- break;
260
- case "duet-visually-hidden":
261
- if (!customElements.get(tagName)) {
262
- defineCustomElement$1();
263
- }
264
- break;
265
- } });
266
- }
267
-
268
- export { DuetTooltip as D, defineCustomElement as d };
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as i,h as e,H as n,g as u}from"./p-d2a5a09f.js";import{f as s}from"./p-d004da5f.js";import{i as a}from"./p-aaa7a7bd.js";import{c as o}from"./p-5e59e970.js";import{c as r,r as d}from"./p-df7874f9.js";import{f as p,j as l,e as c,d as h,a as m}from"./p-a45e3f8b.js";import{a as b,c as g,d as v,g as x}from"./p-c71a58da.js";import{c as f}from"./p-da4d3c61.js";import{g as w}from"./p-10c530d1.js";import"./p-9c3c64b9.js";import"./p-1004af75.js";const y={search:s,email:{title:"form-email",tags:"form email",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z"/></svg>'}},k=class{constructor(e){t(this,e),this.duetInput=i(this,"duetInput",7),this.duetChange=i(this,"duetChange",3),this.duetBlur=i(this,"duetBlur",7),this.duetClear=i(this,"duetClear",7),this.duetFocus=i(this,"duetFocus",7),this.inputId=o("DuetInput"),this.clearId=o("DuetInputClear"),this.labelId=o("DuetLabel"),this.topCaptionId=o("DuetCaptionTop"),this.topCaptionPlaceholderId=o("DuetCaptionPlaceholderTop"),this.chipCountId=o("DuetInputChipCount"),this.errorId=o("DuetError"),this.disallowPatternRegex=null,this.clearLabel={en:"Clear",fi:"Tyhjennä",sv:"Rensa"},this.timeAnnouncement={en:"Time",fi:"Aika",sv:"Tid"},this.showPasswordLabel={en:"Show password",fi:"Näytä salasana",sv:"Visa lösenord"},this.hidePasswordLabel={en:"Hide password",fi:"Piilota salasana",sv:"Dölj lösenord"},this.passwordShownAriaAnnouncement={en:"Password is shown",fi:"Salasana näytetään",sv:"Lösenordet visas"},this.passwordHiddenAriaAnnouncement={en:"Password is hidden",fi:"Salasana on piilotettu",sv:"Lösenordet är dolt"},this.chipsSelectedDesriptionLabel={en:"selected",fi:"valittu",sv:"valt"},this.onInput=t=>{this.disallowPatternRegex&&r(this.nativeInput,this.disallowPatternRegex),this.chips&&this.clearChipSelection(),this.value=this.nativeInput.value||"",this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onBlur=t=>{t.relatedTarget!==this.nativeInput&&t.relatedTarget!==this.togglePasswordRevealedButton&&("revealable"===this.variation&&this.isPasswordRevealed&&(this.isPasswordRevealed=!1),this.isFocused=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-input"}))},this.onFocus=t=>{this.clearChipSelection(),this.isFocused=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onClear=t=>{this.duetClear.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.getAriaDescribedBy=()=>{const t=[];if(this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.chips){const i=this.getAllChips();i.length&&(t.push(this.chipCountId),i.forEach((i=>t.push(i.id))))}return this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.handleClearClick=t=>{const i=this.clearInput();return this.onClear(t),i},this.keyHandler=t=>(p(t)&&this.clear&&this.handleClearClick(t),l(t)&&"revealable"===this.variation&&(t.target===this.togglePasswordRevealedButton?t.stopPropagation():this.isPasswordRevealed=!1),this.chips&&0===this.nativeInput.value.length&&(c(t)&&(this.isChipSelected()&&(this.getSelectedChip().removeChip(),setTimeout((()=>this.selectLastChip()))),this.selectLastChip()),h(t)&&this.selectChipToLeft(),m(t)&&this.isChipSelected()&&this.selectChipToRight()),t),this.togglePasswordRevealed=()=>{this.isPasswordRevealed=!this.isPasswordRevealed},this.getInputType=()=>"revealable"===this.variation?this.isPasswordRevealed?"text":"password":this.type,this.language=b(),this.isPasswordRevealed=void 0,this.isFocused=!1,this.accessibleActiveDescendant=void 0,this.accessibleAutocomplete=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleExpanded=void 0,this.accessibleDescribedBy="",this.accessibleHasPopup=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLiveError="polite",this.debounce=0,this.clear=!1,this.caption=void 0,this.echoPlaceholder=!1,this.theme="",this.expand=!1,this.disabled=!1,this.identifier=void 0,this.margin="auto",this.inputAlign="left",this.inputPadding="medium",this.required=!1,this.type="text",this.variation="default",this.chips=!1,this.label="Label",this.labelColor=void 0,this.labelWeight=void 0,this.error="",this.labelHidden=!1,this.numericKeyboard=!1,this.name=void 0,this.pattern=void 0,this.maxlength=void 0,this.minlength=void 0,this.placeholder=void 0,this.component="input",this.role=void 0,this.icon=void 0,this.autoComplete="on",this.disallowPattern=null,this.value=void 0,this.tooltip="",this.tooltipDirection="auto"}disallowedPatternChange(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null}valueChanged(){if(this.nativeInput&&this.nativeInput.value!==this.value){const t=d(this.nativeInput);this.nativeInput.value=this.value,t()}this.isCaptionVisible=!!this.caption;const t=()=>this.duetChange.emit({value:this.value,component:"duet-input"});0===this.debounce?t():(clearTimeout(this.timeoutId),this.timeoutId=setTimeout(t,this.debounce))}componentWillLoad(){a(this),this.disallowedPatternChange(),this.isCaptionVisible=!!this.caption,f(this.element,"tooltip","duet-tooltip",1,!0)}componentDidLoad(){"revealable"===this.variation&&this.nativeInput.form&&this.nativeInput.form.addEventListener("submit",(()=>{this.isPasswordRevealed=!1}))}connectedCallback(){g(this)}disconnectedCallback(){v(this)}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async resetCursor(){if(this.nativeInput){const t=d(this.nativeInput);this.nativeInput.value=this.value,t()}}async clearInput(){this.nativeInput&&(this.nativeInput.value="",this.nativeInput.focus(),this.value="")}getAllChips(){return Array.from(this.element.querySelectorAll(".duet-input-relative duet-chip"))}isChipSelected(){return this.getAllChips().some((t=>t.selected))}getSelectedChip(){return this.getAllChips().find((t=>t.selected))}clearChipSelection(){this.getAllChips().forEach((t=>t.selected=!1))}selectLastChip(){const t=this.getAllChips();t.length&&(t.forEach((t=>t.selected=!1)),t.at(-1).selected=!0)}selectChipToLeft(){const t=this.getAllChips(),i=t.findIndex((t=>t.selected));t.length&&(t.forEach((t=>t.selected=!1)),-1===i?t.at(-1).selected=!0:0===i?t[0].selected=!0:t[i-1].selected=!0)}selectChipToRight(){const t=this.getAllChips(),i=t.findIndex((t=>t.selected));t.length&&(t.forEach((t=>t.selected=!1)),i>-1&&i<t.length-1&&(t[i+1].selected=!0))}async addChip(t){const i=this.element.querySelector(".duet-input-relative"),e=i.querySelector("input:not(duet-chip input)");t.id=o("DuetInputChip"),i.insertBefore(t,e)}async hasChip({value:t,text:i}){return this.getAllChips().some((e=>e.value===t&&e.textContent===i))}async getChips(){return this.getAllChips()}async clearChips(){this.getAllChips().forEach((t=>t.remove()))}render(){const t=this.identifier||this.inputId,i={};let u;if(this.numericKeyboard&&(i.inputmode="numeric"),this.pattern&&"tel"!==this.type?i.pattern=this.pattern:this.pattern||"tel"!==this.type||(i.pattern="[0-9+ ]+"),this.value){u=new Date;try{u.setHours(Number(this.value.slice(0,2)),Number(this.value.slice(3,5)),0,0)}catch(t){u=void 0}}const s=!this.icon&&"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type&&"button"!==this.variation;return e(n,{class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin},onKeyUp:t=>this.keyHandler(t)},"time"===this.type&&e("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true"},u?`${this.timeAnnouncement[this.language]} ${u.toLocaleTimeString()}`:""),e("div",{class:{"duet-input-container":!0,"duet-theme-turva":"turva"===this.theme,[`duet-input-variation-${this.variation}`]:!0,"duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-icon":"button"!==this.variation&&(!!this.icon||"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type),"has-error":!!this.error,"has-chips":this.chips,"has-clear":this.clear,"has-focus":this.isFocused,disabled:this.disabled}},e("div",{class:"duet-input-label-container"},e("duet-label",{theme:"turva"===this.theme?"turva":"default",margin:this.isCaptionVisible?"small":"auto",color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:t},this.label),this.tooltip&&e("duet-tooltip",{class:"duet-input-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:"turva"===this.theme?"turva":"default"},this.tooltip),e("slot",{name:"tooltip"})),this.caption&&e("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),e("div",{class:"duet-input-relative"},this.placeholder&&this.echoPlaceholder&&(this.value||"time"===this.type)&&e("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-input-placeholder",margin:"none",size:"small"},this.placeholder),this.chips&&e("duet-visually-hidden",{id:this.chipCountId},", ",`${this.getAllChips().length} ${x(this.chipsSelectedDesriptionLabel)}`,","),e("input",Object.assign({ref:t=>this.nativeInput=t,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,type:this.getInputType(),class:{"duet-input":!0,disabled:this.disabled,"is-number":"number"===this.component,"is-date":"date"===this.component,"after-chip":this.getAllChips().length>0,"align-right":"right"===this.inputAlign,[`input-padding-${this.inputPadding}`]:!0},value:this.value,disabled:this.disabled,"aria-invalid":this.error?"true":"false","aria-labelledby":this.accessibleLabelledBy?`${this.labelId} ${this.accessibleLabelledBy}`:this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-expanded":this.accessibleExpanded,"aria-haspopup":this.accessibleHasPopup,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedBy(),placeholder:this.placeholder,spellcheck:"false",minlength:this.minlength,maxlength:this.maxlength,autocomplete:"password"===this.type?"off":this.autoComplete,required:this.required,role:this.role,name:this.name,id:t},i)),!this.value&&s&&e("div",{class:"duet-input-icon"},e("duet-icon",{margin:"none",size:"small",icon:y[this.type].svg,color:"currentColor"})),this.clear&&this.value&&e("div",{class:{"duet-input-clear-icon":!0,"duet-input-clear-icon-single":!s,"duet-input-clear-icon-double":!!this.icon,"duet-input-clear-icon-button":"button"===this.variation}},e("button",{onClick:this.handleClearClick,id:this.clearId,"aria-label":this.clearLabel[this.language],"aria-keyshortcuts":"Escape"},e("duet-icon",{margin:"none",size:"medium",name:"action-clear-input",color:"currentColor"}))),this.icon&&"button"!==this.variation&&e("div",{class:"duet-input-icon"},e("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),"button"===this.variation&&e("slot",{name:"button"}),"revealable"===this.variation&&e("duet-button",{ref:t=>this.togglePasswordRevealedButton=t,onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.togglePasswordRevealed,icon:this.isPasswordRevealed?"action-hide":"action-show",accessibleLabel:this.isPasswordRevealed?this.hidePasswordLabel[this.language]:this.showPasswordLabel[this.language],margin:"none",variation:"input-button-embedded",fixed:!0,iconOnly:!0}),"revealable"===this.variation&&void 0!==this.isPasswordRevealed&&e("duet-visually-hidden",null,e("span",{"aria-live":"polite"},this.isPasswordRevealed?this.passwordShownAriaAnnouncement[this.language]:this.passwordHiddenAriaAnnouncement[this.language])),e("slot",null)),e("span",{class:"duet-input-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&e("span",{class:"duet-input-error"},this.error))))}get element(){return u(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"],value:["valueChanged"]}}};k.style='*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small.sc-duet-input{padding:8px 10px !important}.duet-input.input-padding-x-small.sc-duet-input{padding:4px 6px !important}.duet-input.input-padding-xx-small.sc-duet-input{padding:0px 2px !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right.sc-duet-input{text-align:right}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled].sc-duet-input{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}';const C=class{constructor(i){t(this,i),this.theme="",this.for=void 0,this.margin="auto",this.size="medium",this.weight="semi-bold",this.color=""}componentWillLoad(){a(this)}render(){const t=w(this.color);return e(n,{class:{"duet-label":!0,"duet-label-small":"small"===this.size,"duet-theme-turva":"turva"===this.theme,"duet-small-margin":"small"===this.margin,"duet-m-0":"none"===this.margin,[`duet-weight-${this.weight}`]:!0}},e("label",{htmlFor:this.for,style:{color:t}},e("span",null,e("slot",null))))}get element(){return u(this)}};C.style='*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-weight-normal.sc-duet-label-h label.sc-duet-label{font-weight:400 !important}.duet-weight-normal.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-weight:400 !important}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';export{k as duet_input,C as duet_label}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function c(e){try{u(n["throw"](e))}catch(e){o(e)}}function u(e){e.done?i(e.value):r(e.value).then(a,c)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(e){return function(t){return u([e,t])}}function u(c){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(i=0)),i)try{if(n=1,r&&(o=c[0]&2?r["return"]:c[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;if(r=0,o)c=[c[0]&2,o.value];switch(c[0]){case 0:case 1:o=c;break;case 4:i.label++;return{value:c[1],done:false};case 5:i.label++;r=c[1];c=[0];continue;case 7:c=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(c[0]===6&&i.label<o[1]){i.label=o[1];o=c;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(c);break}if(o[2])i.ops.pop();i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e];r=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-07be03a5.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-7abde534.system.js","./p-ef731dfb.system.js","./p-0dc9089b.system.js","./p-4ec25d4a.system.js","./p-f6b21d17.system.js","./p-053b71e6.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,n,r,o,a,c,u,s,d,h,p,l,f,b,m,g,v,k,x,y,w,_,j;return{setters:[function(e){t=e.r;i=e.c;n=e.h;r=e.H;o=e.g},function(e){a=e.i},function(e){c=e.c},function(e){u=e.s;s=e.u;d=e.q;h=e.f;p=e.c;l=e.b;f=e.o},function(e){b=e.g},function(e){m=e.q},function(e){g=e.o;v=e.f;k=e.s;x=e.c;y=e.b},function(e){w=e.f},function(e){_=e.T},function(e){j=e.a},function(){}],execute:function(){var z='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}';var C=z;var S=e("duet_chip",function(){function e(e){var n=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.duetRemove=i(this,"duetRemove",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.chipId=c("DuetChip");this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"};this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"};this.enforceNoDisabledSelected=function(){if(n.disabled&&n.checked){console.error("Duet error: pre-selected chip may not be disabled");n.disabled=false}};this.radioInputListenersRemove=function(e){e.removeEventListener("change",n.onRadioChange);e.removeEventListener("click",n.onRadioClick);e.removeEventListener("focus",n.onFocus);e.removeEventListener("blur",n.onBlur)};this.radioInputListenersAdd=function(e){e.addEventListener("change",n.onRadioChange);e.addEventListener("click",n.onRadioClick);e.addEventListener("focus",n.onFocus);e.addEventListener("blur",n.onBlur)};this.radioInputSetUp=function(){var e=n.element.querySelector("input[slot=input]");var t=e||document.createElement("input");t.slot="input";t.ariaDisabled=n.disabled?"true":undefined;t.id=n.identifier||n.chipId;t.type="radio";t.name=n.name;t.value=n.value;t.checked=n.checked;t.ariaLabel=n.element.textContent;if(e){n.radioInputListenersRemove(t)}else{n.element.appendChild(t)}n.radioInputListenersAdd(t);n.focusableElement=t};this.popupSetUp=function(){var e=document.querySelector("duet-popup-menu#".concat(n.popup));if(e){n.popupElement=e;e.controller=n.element;var t=n.element.textContent;var i=n.value;if(!e.id){e.id="popup-menu"}e.addEventListener("duetToggle",(function(e){n.popupOpen=e.detail.open}));var r=function(){e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.active=false}))};e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.addEventListener("click",(function(o){var a;var c=(a=e.value)!==null&&a!==void 0?a:e.innerText;if(!e.active){r();e.active=true;n.element.textContent=e.innerText;n.value=c;n.checked=true}else{r();n.element.textContent=t;n.value=i;n.checked=false}n.emitChange(o);setTimeout((function(){if(n.popupElement.isOpen()){n.popupElement.hide()}}))}))}))}};this.onFocus=function(e){n.focus=true;n.duetFocus.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onBlur=function(e){n.focus=false;n.duetBlur.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.emitChange=function(e){n.duetChange.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onFilterChange=function(e){n.checked=!n.checked;n.emitChange(e)};this.onRadioChange=function(e){var t=n.focusableElement;var i=t.checked;n.checked=i;n.emitChange(e)};this.onRadioClick=function(e){if(n.disabled){e.preventDefault()}};this.onFilterClick=function(e){if(n.disabled){e.stopPropagation();e.preventDefault();return}if(n.popupElement){e.stopPropagation();e.preventDefault();n.popupElement.toggle()}};this.onRemoveClick=function(e){e===null||e===void 0?void 0:e.stopPropagation();e===null||e===void 0?void 0:e.preventDefault();n.duetRemove.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"});n.element.remove()};this.focus=false;this.popupElement=undefined;this.popupOpen=undefined;this.inputChipHover=false;this.inputChipDeleteFocus=false;this.accessibleLabel=undefined;this.variation="button";this.size="medium";this.popup=undefined;this.icon="";this.theme="";this.identifier=undefined;this.value=undefined;this.name=undefined;this.selected=false;this.checked=false;this.disabled=false;this.accessibleExpanded=undefined;this.accessiblePopup="false"}e.prototype.clearOtherRadioButtons=function(){var e=this;if(this.variation==="radio"&&this.checked){var t=document.querySelectorAll('duet-chip[variation="radio"][name="'.concat(this.name,'"]'));t.forEach((function(t){if(t!==e.element){t.checked=false}}))}};e.prototype.componentWillLoad=function(){a(this);this.popupSetUp();this.enforceNoDisabledSelected()};e.prototype.connectedCallback=function(){u(this)};e.prototype.disconnectedCallback=function(){s(this)};e.prototype.componentDidRender=function(){if(this.variation==="radio"){this.radioInputSetUp()}};e.prototype.getAccessibleExpanded=function(){if(this.accessibleExpanded!=null){return(!!this.accessibleExpanded).toString()}if(this.popupElement){return this.popupOpen?"true":"false"}return undefined};e.prototype.getAccessiblePopup=function(){if(this.popupElement){return"true"}else{return this.accessiblePopup!=null?this.accessiblePopup.toString():undefined}};e.prototype.getAccessibleDeleteLabel=function(){return"".concat(b(this.deleteLabels)," ").concat(this.element.textContent)};e.prototype.getAccessibleInputChipLabel=function(){return"".concat(this.element.textContent).concat(this.selected?" (".concat(b(this.selectedForDeletionLabels),") "):"",",")};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){d();setTimeout((function(){return t.focusableElement.focus(e)}),200);return[2]}))}))};e.prototype.setDeleteFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){setTimeout((function(){return e.deleteButtonElement.focus()}),200);return[2]}))}))};e.prototype.removeChip=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.onRemoveClick();return[2]}))}))};e.prototype.render=function(){var e,t;var i=this;var o;var a=this.identifier||this.chipId;var c=(e={"duet-chip-container":true},e["duet-chip-".concat(this.variation)]=true,e["duet-chip-focus"]=this.focus,e["duet-chip-selected"]=this.selected,e["duet-chip-hover"]=this.inputChipHover,e["duet-chip-delete-focus"]=this.inputChipDeleteFocus,e["duet-chip-has-icon"]=!!this.icon,e["duet-chip-has-popup"]=this.variation==="filter"&&!!this.popupElement,e["duet-theme-turva"]=this.theme==="turva",e["duet-chip-filter-checked"]=this.variation==="filter"&&this.checked,e["duet-chip-radio-checked"]=this.variation==="radio"&&this.checked,e["duet-chip-filter-popup-open"]=this.popupOpen,e["duet-chip-disabled"]=this.disabled,e[this.size]=true,e);var u={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return i.focusableElement=e}};return n(r,{key:"f37063c1c2ecee6f4eb47f74012694c6eb944941",class:(t={},t[this.variation]=true,t)},this.variation==="button"&&n("span",{key:"3460b9ab3ca900f021fe6dc6af90ac8427f6c7e5",class:c},n("button",Object.assign({key:"8fa57c1746f083618d4d4709fa685dbc70dcded5",id:a,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,name:this.name,value:this.value,onClick:this.disabled?function(e){return e.stopPropagation()}:undefined},u),n("span",{key:"fd48b92328f4fdeba76a6523a5aa86b45ad740ed",class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{key:"875f64c17c2c540e4c774053a994402957754308",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",{key:"4e0c29ccf168b3e0f8564003c094326ff0695412"}))),this.variation==="input"&&n("span",{key:"9f69917e7cc2f33bcf0842342b653a0302e7b188",class:c,"aria-label":this.getAccessibleInputChipLabel()},n("button",Object.assign({key:"98d020d64882839dad553eaeadd4e39587d6b276",id:a,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:function(){return i.inputChipHover=true},onMouseOut:function(){return i.inputChipHover=false},onClick:function(){return i.selected=!i.selected}},u),n("span",{key:"375c4df2c400928cec38ed160526aa7e8f483c52",class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{key:"e8382d2439f56f61a7219ccc2cbfe5e3b1b16975",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",{key:"f7c17cc36818a5e1621421c39e3ea38692cd1e21"})),n("button",{key:"25a649ba24d9279330a2a1d243be81d617f2fe69",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:function(){return i.inputChipDeleteFocus=true},onBlur:function(){return i.inputChipDeleteFocus=false},ref:function(e){return i.deleteButtonElement=e}},n("duet-icon",{key:"be4f0062c4b924c65101accaa0d156d7c7d3954c",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),this.variation==="filter"&&n("span",{key:"b53a71340c36da0290474301a5ab236b675ee881",class:c},n("input",Object.assign({key:"52a7b2d41f97077b0412a67cd01b9d027f8035aa","aria-haspopup":this.getAccessiblePopup(),"aria-controls":(o=this.popupElement)===null||o===void 0?void 0:o.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,id:a,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},u)),n("label",{key:"30820154c15957181130801c462f1674343e0673",htmlFor:a},this.icon&&n("span",{key:"7c75e8be6a1bb29e24646d7531caa8e251535804",class:"duet-chip-icon-container"},n("duet-icon",{key:"cfb4ce296a83a8073d2853f1a2555665434dcc06",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{key:"2a6ea0ea51ce7cda8933e3a74e3c001eeced1d37",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",{key:"9aa3af935055abe7847a80fd3569275522b6ef7f"}),this.popupElement&&n("span",{key:"1483c767339e447362361ee3691e660a22277cf2",class:"duet-chip-popup-disclosure"},n("duet-icon",{key:"ba8293f1b0f0d1b97e12aacc9d53c9bfd5cfc751",name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),this.variation==="radio"&&n("span",{key:"55bd9c33a98e6c03542abc48c300159a1e97ed16",class:c},n("slot",{key:"45a049c652e9895d7a36d6131c6aeaa98edcd572",name:"input"}),n("label",{key:"793c24a45d8cbfab53d1fac9967849cc86a06a94",htmlFor:a},this.icon&&n("span",{key:"bd54aa850144b45c57c6a9c0f75c7f6729417850",class:"duet-chip-icon-container"},n("duet-icon",{key:"2bdfed396d600a5f0da3eccc3de6cbabd41460d4",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{key:"ac3722012743cbe2aa4f612f75cd10c97a0f7d9d",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",{key:"bf9d8af5da2754882e7fbe69f193d9b494dfa429"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["clearOtherRadioButtons"]}},enumerable:false,configurable:true});return e}());S.style=C;var O="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";var E=O;var A=e("duet_popup_menu",function(){function e(e){var n=this;t(this,e);this.duetToggle=i(this,"duetToggle",7);this.setOpenButton=function(e){if(!e){return}try{var t=e;t.accessiblePopup="true";t.accessibleExpanded=false;if(n.controllerIcon){t.setAttribute("trailing-icon","action-arrow-down-small")}n.openButton=t}catch(e){}};this.openButtonEventListener=function(){n.toggle()};this.updatePlacement=function(){return __awaiter(n,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){switch(i.label){case 0:if(!this.openButton){return[2]}e=[g({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&v(),k({padding:5})].filter(Boolean);return[4,x(this.openButton,this.menuElement,{middleware:e,placement:this.placement,strategy:this.position})];case 1:t=i.sent();this.menuY=t.y;this.menuX=t.x;return[2]}}))}))};this.open=false;this.menuY=undefined;this.menuX=undefined;this.accessibleLabel=undefined;this.accessibleRole="menu";this.theme="";this.skipTeleport=undefined;this.placement="bottom-start";this.forcePlacement=false;this.allowVerticalFlip=true;this.position="absolute";this.mainAxisOffset=0;this.crossAxisOffset=0;this.controllerIcon="action-arrow-down-small";this.scrollLimit=undefined}Object.defineProperty(e.prototype,"controller",{get:function(){return this._controller},set:function(e){if(this._controller===e){return}this._controller=e;if(typeof e==="string"){this.setOpenButton(document.getElementById(e));if(this.openButton){this.openButton.addEventListener("click",this.openButtonEventListener)}}else{this.setOpenButton(e)}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"opener",{get:function(){return this._controller},set:function(e){this.controller=e},enumerable:false,configurable:true});e.prototype.componentWillLoad=function(){a(this)};e.prototype.componentDidLoad=function(){{this.updatePlacement()}};e.prototype.connectedCallback=function(){if(!this.teleport){this.teleport=new _(this.element)}if(this.teleport){this.teleport.activate()}};e.prototype.disconnectedCallback=function(){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}if(this.openButton){this.openButton.removeEventListener("click",this.openButtonEventListener);if(this.controllerIcon){this.openButton.removeAttribute("trailing-icon")}}};e.prototype.handleKeyUp=function(e){if(this.open){if(h(e)){this.hide()}}};e.prototype.handleKeyDown=function(e){return __awaiter(this,void 0,void 0,(function(){var t,t;return __generator(this,(function(i){switch(i.label){case 0:if(!this.open)return[3,5];if(!p(e))return[3,2];e.preventDefault();return[4,this.getFocusedItemIndex()];case 1:t=i.sent();if(t!==-1){if(t<this.itemElements.length-1){this.itemElements[t+1].setFocus()}else{this.itemElements[0].setFocus()}}i.label=2;case 2:if(!l(e))return[3,4];e.preventDefault();return[4,this.getFocusedItemIndex()];case 3:t=i.sent();if(t!==-1){if(t===0){this.itemElements[this.itemElements.length-1].setFocus()}else{this.itemElements[t-1].setFocus()}}i.label=4;case 4:if(f(e)&&this.accessibleRole==="menu"){e.preventDefault();this.hide()}i.label=5;case 5:return[2]}}))}))};e.prototype.handleClick=function(e){var t=this;var i=e.composedPath().every((function(e){return e!==t.element&&e!==t.openButton}));if(this.open&&i){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;return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}this.open=false;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.handleOpenChange=function(e,t){var i=this;if(!!e===!!t){return}if(this.open&&!t){if(this.openButton){this.openButton.accessibleExpanded=true}if(this.accessibleRole!=="listbox"){this.teleport.makeSiblingsInert()}this.updatePlacement();if(this.menuElement&&this.openButton){this.autoUpdateCleanup=y(this.openButton,this.menuElement,this.updatePlacement)}setTimeout((function(){if(i.accessibleRole==="menu"){i.itemElements[0].setFocus()}i.duetToggle.emit({open:i.open,component:"duet-popup-menu"})}),200)}else if(!this.open&&t){if(this.openButton){this.openButton.accessibleExpanded=false}if(this.autoUpdateCleanup){this.autoUpdateCleanup()}setTimeout((function(){if(i.accessibleRole==="menu"){w(i.openButton)}i.duetToggle.emit({open:i.open,component:"duet-popup-menu"});if(i.accessibleRole!=="listbox"){i.teleport.removeInertFromSiblings()}}),200)}};Object.defineProperty(e.prototype,"itemElements",{get:function(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"popupMenuStyleHeight",{get:function(){var e=":scope duet-popup-menu-item, :scope duet-notification";var t=Array.from(this.element.querySelectorAll(e));if(t.length>0&&this.scrollLimit){var i=Number(m.replace("px",""))*2;return"".concat(t[0].offsetHeight*this.scrollLimit+i,"px")}else{return"auto"}},enumerable:false,configurable:true});e.prototype.getFocusedItemIndex=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){switch(i.label){case 0:e=this.itemElements;t=0;i.label=1;case 1:if(!(t<e.length))return[3,4];return[4,e[t].isFocused()];case 2:if(i.sent()){return[2,t]}i.label=3;case 3:t++;return[3,1];case 4:return[2,-1]}}))}))};e.prototype.render=function(){var e=this;var t={top:"".concat(this.menuY,"px"),left:"".concat(this.menuX,"px"),position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight};return n(r,{key:"df95a1ca83bfed0e3c2e62e4de9a03563491b7a4"},n("div",{key:"0da0cb7b5bf6b0950b867af9d93a8937d40c4223",ref:function(t){e.menuElement=t},style:t,class:{open:this.open,"duet-popup-menu-list":true,"duet-theme-turva":this.theme==="turva","scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},n("slot",{key:"f2e56ae51be1d5eb1b8c14a67496079e3dbcd3d1"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return e}());A.style=E;var B='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.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-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';var F=B;var I=e("duet_popup_menu_item",function(){function e(e){var n=this;t(this,e);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.onFocus=function(e){n.focus=true;n.duetFocus.emit({originalEvent:e,value:n.value,component:"duet-popup-menu-item"})};this.onBlur=function(e){n.focus=false;n.duetBlur.emit({originalEvent:e,value:n.value,component:"duet-popup-menu-item"})};this.focus=false;this.accessibleLabel=undefined;this.accessibleRole="menuitem";this.theme="";this.url=undefined;this.external=false;this.targetLanguage=undefined;this.value=undefined;this.leadingIcon=undefined;this.leadingIconColor=undefined;this.trailingIcon=undefined;this.trailingText=undefined;this.active=false;this.activeDescendant=false}e.prototype.componentWillLoad=function(){a(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.isFocused=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.focus]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";var i={"duet-popup-menu-item":true,active:this.active,"duet-theme-turva":this.theme==="turva","active-descendant":this.activeDescendant};return n(r,{key:"bf1b38aa7684c8cc3959b6b0725f83962341d58d",role:this.accessibleRole},n(t,{key:"71cfa30d7780f2ab9a31f2aa3ff4bec91b8e0b7e",ref:function(t){return e.itemElement=t},tabIndex:this.accessibleRole==="listitem"?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"".concat(t==="a"?"link":"button"),"aria-label":this.accessibleLabel,class:i,value:this.value,href:this.url,target:this.external?"_blank":undefined,rel:this.external?"noopener":undefined,lang:t==="button"?undefined:this.targetLanguage,hreflang:t==="button"?undefined:this.targetLanguage},this.leadingIcon&&n("duet-icon",{key:"3552f0f0e6e303f23e012a9baa0b646d7f3eeb5e",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),n("span",{key:"1c26c319a37978618960dce5c0e5de9731a576c9",class:"duet-popup-menu-item-label"},n("slot",{key:"c3f9e10b0f5c5af06d79ba6760b924f5abfb02d9"})),(this.trailingIcon||this.active||this.url&&this.external)&&n("duet-icon",{key:"2b5f54ffc9063c6ef1dfb38d59724a1ff9307ede",name:this.url&&this.external?j.title:this.active?"messaging-checked-small":this.trailingIcon,size:this.url&&this.external||this.active?"xx-small":"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&n("span",{key:"b9a42c7f906f16c62189ce82f8c1bbdeee169a7e",class:"duet-popup-menu-item-trailing"},this.trailingText)))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());I.style=F}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,o,n){function u(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,r){function i(t){try{a(n.next(t))}catch(t){r(t)}}function d(t){try{a(n["throw"](t))}catch(t){r(t)}}function a(t){t.done?o(t.value):u(t.value).then(i,d)}a((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,u,r,i;return i={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function d(t){return function(e){return a([t,e])}}function a(d){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,d[0]&&(o=0)),o)try{if(n=1,u&&(r=d[0]&2?u["return"]:d[0]?u["throw"]||((r=u["return"])&&r.call(u),0):u.next)&&!(r=r.call(u,d[1])).done)return r;if(u=0,r)d=[d[0]&2,r.value];switch(d[0]){case 0:case 1:r=d;break;case 4:o.label++;return{value:d[1],done:false};case 5:o.label++;u=d[1];d=[0];continue;case 7:d=o.ops.pop();o.trys.pop();continue;default:if(!(r=o.trys,r=r.length>0&&r[r.length-1])&&(d[0]===6||d[0]===2)){o=0;continue}if(d[0]===3&&(!r||d[1]>r[0]&&d[1]<r[3])){o.label=d[1];break}if(d[0]===6&&o.label<r[1]){o.label=r[1];r=d;break}if(r&&o.label<r[2]){o.label=r[2];o.ops.push(d);break}if(r[2])o.ops.pop();o.trys.pop();continue}d=e.call(t,o)}catch(t){d=[6,t];u=0}finally{n=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-07be03a5.system.js","./p-e216bea4.system.js","./p-cc5e6288.system.js","./p-7abde534.system.js","./p-cbbf6d6a.system.js","./p-98636086.system.js","./p-ef731dfb.system.js"],(function(t){"use strict";var e,o,n,u,r,i,d,a,s,b,l,p,h;return{setters:[function(t){e=t.r;o=t.c;n=t.h;u=t.H;r=t.g},function(t){i=t.i},function(t){d=t.D;a=t.b},function(t){s=t.a;b=t.g;l=t.c;p=t.d},function(t){h=t.g},function(){},function(){}],execute:function(){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;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;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:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}';var m=c;var g=t("duet_button",function(){function t(t){var n=this;e(this,t);this.duetFocus=o(this,"duetFocus",7);this.duetBlur=o(this,"duetBlur",7);this.proxyButtonSetUp=function(){var t=n.element.querySelector("button[slot=proxybutton]");var e=t||document.createElement("button");if(n.url){if(t){t.remove()}n.proxyButton=null;return}e.setAttribute("slot","proxybutton");e.style.display="none";e.type=n.getButtonType();e.disabled=n.disabled;e.setAttribute("form",n.form);if(!n.form){e.removeAttribute("form")}if(n.name!=null){e.name=n.name}else{e.removeAttribute("name")}if(n.value!=null){e.value=n.value}else{e.removeAttribute("value")}if(!t){n.element.appendChild(e)}n.proxyButton=e};this.handleClick=function(t){if(n.submit&&!n.url&&(n.element.closest("form")||n.form)){t.stopPropagation();t.preventDefault();n.proxyButton.click()}};this.onFocus=function(){n.duetFocus.emit()};this.onBlur=function(){n.duetBlur.emit()};this.accessibleLabel=undefined;this.accessibleControls=undefined;this.accessiblePopup="false";this.accessibleActiveDescendant=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleExpanded=undefined;this.accessiblePressed=undefined;this.loading=false;this.variation="default";this.negative=false;this.theme="";this.margin="auto";this.form=undefined;this.padding="auto";this.centerText=false;this.wrapping="auto";this.expand=false;this.fixed=false;this.disabled=false;this.name=undefined;this.value=undefined;this.identifier=undefined;this.submit=false;this.external=false;this.language=s();this.accessibleLabelExternalDefaults=d;this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults);this.accessibleLabelLoadingDefaults=a;this.accessibleLabelLoading=b(this.accessibleLabelLoadingDefaults);this.icon="";this.color="";this.iconRight=false;this.iconSize="medium";this.size="medium";this.iconOnly=false;this.url=undefined}t.prototype.componentWillLoad=function(){i(this);if(this.url&&this.external&&this.icon){console.warn("[DUET]: Button used as an external link will override any icon that is set")}};t.prototype.connectedCallback=function(){l(this,[{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"},{prop:"accessibleLabelLoading",defaults:"accessibleLabelLoadingDefaults"}])};t.prototype.disconnectedCallback=function(){if(this.proxyButton){this.proxyButton=null}p(this)};t.prototype.componentDidRender=function(){if(this.disabled===false){this.element.removeAttribute("disabled")}if(this.submit){this.proxyButtonSetUp()}};t.prototype.getButtonType=function(){return this.submit?"submit":"button"};t.prototype.getButtonIconSize=function(){switch(this.iconSize){case"small":return"small";case"medium-small":return"medium-small";case"medium":return"medium";case"large":return"large";default:return"medium"}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t,e,o,r;var i=this;var d,a;var s=this.external&&this.url;var b=s?"action-new-window":this.icon;var l=s?true:this.iconRight;var p=n("span",{key:"8261e9341625f40cc3443028886ba797e455fd18",class:{"duet-button-contents":true,"icon-right":l},style:{color:h(this.color)}},b&&n("span",{key:"8de1cf100792030ea48744f69b85891a75b221bd","aria-hidden":"true",class:(t={"duet-button-icon":true,left:!l,right:l},t[this.getButtonIconSize()]=true,t)},n("duet-icon",{key:"34d180cb49257dea26208354b7d7af6fa3bbe224",size:"auto",margin:"none",name:b,color:"currentColor"})),n("span",{key:"a80aa7681ff913fb64c194bc8a948cf44013af17",class:"duet-button-contents-slot"},n("slot",{key:"a7973447fad08810a13a15347d9e14b47a22d261"})));var c=this.size=="medium"||this.size=="small"||this.size=="x-small"?this.size:"medium";var m={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return i.nativeButton=t},id:this.identifier,class:(e={"duet-m-0":this.margin==="none","duet-p-0":this.padding==="none","duet-no-wrap":this.wrapping==="none","duet-button":true,"duet-button-is-small":this.size==="small"},e["duet-button-size-".concat(c)]=true,e["duet-button-icon-only"]=this.iconOnly,e["duet-button-text-center"]=this.centerText,e["duet-button-negative"]=this.negative||this.variation==="negative",e[this.variation]=true,e["input-button"]=(d=this.variation)===null||d===void 0?void 0:d.startsWith("input-button"),e.disabled=this.disabled,e.icon=!!b,e["icon-right"]=l,e["icon-left"]=!!b&&!l,e[this.getButtonIconSize()]=true,e),"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return n(u,{key:"ec159b1f3d12c0389ca0ad87c1e4a5977711cb55",class:(o={"duet-m-0":this.margin==="none","duet-small":this.size==="small","duet-x-small":this.size==="x-small","duet-fixed":this.fixed,"duet-expand":this.expand},o[this.variation]=true,o["input-button"]=(a=this.variation)===null||a===void 0?void 0:a.startsWith("input-button"),o)},n("span",{key:"cbefdfe93f79c1fa1dceea5d8796242e00d03221",onClick:this.handleClick,class:(r={"duet-button-container":true,"duet-button-is-loading":this.loading,"duet-theme-turva":this.theme==="turva","duet-button-negative":this.negative||this.variation==="negative"},r[this.variation]=true,r)},this.url?n("a",Object.assign({},m,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":undefined}),p,this.external&&n("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):n("button",Object.assign({},m,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":this.accessiblePressed!=null?this.accessiblePressed.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,"aria-disabled":this.disabled}),p,this.loading&&n("duet-visually-hidden",null," ",this.accessibleLabelLoading," ")),this.loading&&n("duet-spinner",{key:"c72fcf5021e1746ba8af63e4e9500ff1303e8ffc",color:"currentColor"})),n("slot",{key:"04a92da59dceb3d0bd30dba5fc3808b1415b42d9",name:"proxybutton"}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());g.style=m;var f=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}';var v=f;var x=t("duet_spinner",function(){function t(t){e(this,t);this.accessibleLabel=undefined;this.color="gray-lightest";this.size="small";this.theme=""}t.prototype.componentWillLoad=function(){i(this)};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":h(this.color);return n(u,{key:"5d31dde5f546428f75226d820ca714fe74855a54",class:{"duet-custom-color":this.color!=="currentColor"&&this.theme!=="turva"&&this.theme!=="default","duet-theme-turva":this.theme==="turva"&&this.color!=="currentColor","duet-theme-default":this.theme==="default"&&this.color!=="currentColor"}},n("div",{key:"99cefb1d1a1f4d2d6abc9c935e791036279c9911",class:(t={"duet-spinner":true},t[this.size]=true,t),style:{color:e},"aria-label":this.accessibleLabel}))};return t}());x.style=v}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as a,H as t,g as n}from"./p-d2a5a09f.js";import{i as o}from"./p-aaa7a7bd.js";import{a as r,c as i,d,g as s}from"./p-c71a58da.js";import"./p-9c3c64b9.js";const c=class{constructor(a){e(this,a),this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"},this.language=r(),this.theme=""}componentWillLoad(){o(this)}connectedCallback(){i(this)}disconnectedCallback(){d(this)}render(){const e=s(this.chooseLangObject);return a(t,{key:"31b6e57b23d0936cc4147741caf528521e1e82a1"},a("div",{key:"74b2d0ddf3a4a21c4d9368e9e7e00e6e223e78c6",class:"duet-slideout-lang",role:"group","aria-label":e},a("duet-icon",{key:"1f6beba2dcad7302f4e3db4395435d7c5e39730d",name:"navigation-language",margin:"none",color:"secondary"}),a("slot",{key:"ead217fcb33aeced035ef571dbe57de7857d0c84"})))}get element(){return n(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content;white-space:nowrap}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:25%;right:-16px;width:2px;height:50%;content:"";background:rgb(8, 42, 77)}.duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 28, 58)}';export{c as duet_slideout_lang}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{s(i.next(t))}catch(t){a(t)}}function d(t){try{s(i["throw"](t))}catch(t){a(t)}}function s(t){t.done?n(t.value):o(t.value).then(r,d)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function d(t){return function(e){return s([t,e])}}function s(d){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,d[0]&&(n=0)),n)try{if(i=1,o&&(a=d[0]&2?o["return"]:d[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,d[1])).done)return a;if(o=0,a)d=[d[0]&2,a.value];switch(d[0]){case 0:case 1:a=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;o=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){n.label=d[1];break}if(d[0]===6&&n.label<a[1]){n.label=a[1];a=d;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(d);break}if(a[2])n.ops.pop();n.trys.pop();continue}d=e.call(t,n)}catch(t){d=[6,t];o=0}finally{i=a=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-07be03a5.system.js","./p-e216bea4.system.js","./p-98636086.system.js","./p-cbbf6d6a.system.js","./p-053b71e6.system.js","./p-cc5e6288.system.js","./p-bf4d22d5.system.js","./p-7abde534.system.js","./p-e6b5a1c7.system.js","./p-ef731dfb.system.js","./p-59cbcc2e.system.js"],(function(t){"use strict";var e,n,i,o,a,r,d,s,u,l,h,c,p,m,g,b,f;return{setters:[function(t){e=t.r;n=t.h;i=t.H;o=t.g;a=t.F},function(t){r=t.i},function(t){d=t.s},function(t){s=t.g},function(t){u=t.a},function(t){l=t.D;h=t.c},function(t){c=t.g},function(t){p=t.a;m=t.g;g=t.c;b=t.d},function(t){f=t.c},function(){},function(){}],execute:function(){var k=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;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.5;color:rgb(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}';var x=k;var w=t("duet_caption",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){return n(i,{key:"cefb662c677d5a45cc8e007a68ab67b0698ce2ee",class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},n("slot",{key:"4a38bee52925d9c7db4473dd0e5bc92797b0b058"}))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());w.style=x;var v='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-wrap:balance;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var y=v;var z=t("duet_heading",function(){function t(t){e(this,t);this.level="h2";this.margin="auto";this.visualLevel=undefined;this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false;this.fixedSize=false}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=d(this.level);var i=s(this.color);return n(e,{key:"9a91dd0a097a00c6412b6b759df13aaa814430e8",class:(t={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-normal":this.weight==="normal","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},t[this.visualLevel?this.visualLevel:this.level]=true,t["duet-theme-turva"]=this.theme==="turva",t["fixed-size"]=this.fixedSize,t),style:{color:i},part:"duet-heading"},n("slot",{key:"01f466dbadd345dac83e12dea63809ad46a70f2b"}))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());z.style=y;var S={title:"action-arrow-right",tags:"action arrow right caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M5.499 24a.752.752 0 0 1-.53-1.281L15.689 12 4.969 1.28c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22l10.72 10.72a1.5 1.5 0 0 1 .001 2.119L6.029 23.78a.743.743 0 0 1-.53.22z"/></svg>'};var _={title:"action-download-small",tags:"action download arrow down small",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.193 1.7c0-.658-.542-1.2-1.2-1.2-.657 0-1.199.542-1.199 1.2v8.922l-2.778-2.6a1.2 1.2 0 0 0-1.64 1.751l4.797 4.498c.458.43 1.183.43 1.64 0l4.798-4.498c.242-.228.379-.544.379-.875a1.2 1.2 0 0 0-2.02-.876l-2.777 2.603V1.699Z"/><path d="M1.5 13.544a1.5 1.5 0 0 1 1.498 1.5v1.498a1.61 1.61 0 0 0 .418 1.096h-.003c0-.002.036.032.13.082.39.194.818.305 1.254.321H19.19a3.085 3.085 0 0 0 1.255-.32c.096-.051.13-.085.13-.085.27-.3.42-.69.414-1.096v-1.5c0-.822.677-1.498 1.5-1.498.822 0 1.499.676 1.499 1.499v1.499c0 1.16-.43 2.293-1.224 3.142-.518.557-1.235.876-1.791 1.056a5.976 5.976 0 0 1-1.783.302H4.797a6.053 6.053 0 0 1-1.782-.302c-.556-.18-1.274-.5-1.792-1.056A4.613 4.613 0 0 1 0 16.542v-1.499a1.5 1.5 0 0 1 1.5-1.499Z"/></svg>'};var j={title:"action-new-window",tags:"arrow open new window tab external link square box rectangle action",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>'};var I='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-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(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}';var U=I;var A=t("duet_link",function(){function t(t){e(this,t);this.variation="default";this.accessibleLabel=undefined;this.language=p();this.accessibleLabelExternalDefaults=l;this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults);this.accessibleLabelDownloadDefaults=h;this.accessibleLabelDownload=m(this.accessibleLabelDownloadDefaults);this.accessibleExpanded=undefined;this.accessiblePopup="false";this.identifier=undefined;this.theme="";this.url="#";this.external=false;this.download=null;this.tabToLink=false;this.icon=undefined;this.iconColor="currentColor";this.iconBackground=null;this.iconResponsive=false;this.margin="auto";this.padding="auto";this.isMediumScreen=false}t.prototype.componentWillLoad=function(){r(this);this.resolvedDownload=this.resolveDownload();if(this.variation==="button"&&this.url==="#"){this.url=undefined}};t.prototype.connectedCallback=function(){g(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};t.prototype.disconnectedCallback=function(){b(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.nativeLink.focus(t);return[2]}))}))};t.prototype.resolveDownload=function(){if(this.download===""){return this.url.split("/").pop()}return this.download};t.prototype.renderDefaultContent=function(){return n(a,null,n("span",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),(this.resolvedDownload||this.external)&&this.variation==="default"&&n(a,null,n("span",{class:"duet-link-icon-tail"}," ",n("duet-icon",{icon:this.resolvedDownload?_.svg:u.svg,size:"xx-small",margin:"none",color:"currentColor"}))))};t.prototype.renderBlockContent=function(){return n(a,null,this.icon&&n("span",{class:"block__icon"},n("duet-icon",{class:this.iconResponsive?"icon-responsive":"",size:"auto",name:this.icon,margin:"none",color:this.iconColor})),n("span",{class:"block__content"},this.renderDefaultContent()),n("span",{class:"block__chevron",part:"block-chevron"},n("duet-icon",{class:"block__chevron-icon",icon:this.external?j.svg:S.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderButtonCardContent=function(){var t={"background-color":s(this.iconBackground,this.theme)};return n(a,null,this.icon&&n("span",{class:"icon-wrap",style:t},n("duet-icon",{size:"auto",name:this.icon,margin:"none",color:this.iconColor})),n("div",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),n("span",{class:"chevron-wrap"},n("duet-icon",{class:"block__chevron-icon",icon:this.external?j.svg:S.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderContent=function(){switch(this.variation){case"default":return this.renderDefaultContent();case"block":return this.renderBlockContent();case"button":case"card":return this.renderButtonCardContent()}};t.prototype.render=function(){var t,e;var o=this;var a=!this.url?"button":"a";var r=a==="button";return n(i,{key:"70bc31e1d10efda3453e16b689e38d3a4834a4bc",class:(t={},t["duet-link-".concat(this.variation)]=true,t["duet-m-0"]=this.margin==="none",t)},n(a,{key:"1989da3829486cf23e4a50a7e36d93156f816404",href:this.url,class:(e={"duet-link":true,"duet-link-is-external":this.external,"duet-link-is-download":!!this.download,"duet-link-has-icon":!!this.icon,"duet-link-has-icon-background":!!this.iconBackground,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":this.theme==="turva","duet-p-0":this.padding==="none"},e[this.padding]=true,e[this.variation]=true,e),target:this.download||!this.url?null:this.external?"_blank":"_self",download:this.resolvedDownload,"aria-label":this.url&&c(this)||this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null&&r?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null&&r?this.accessiblePopup.toString():undefined,id:this.identifier,ref:function(t){return o.nativeLink=t},part:"duet-link",rel:this.external?"noopener":undefined},this.renderContent()))};Object.defineProperty(t,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());A.style=U;var E='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.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-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).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(198, 12, 48)}::slotted(a):hover{color:rgb(0, 75, 129);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(126, 2, 35)}::slotted(a):active{opacity:0.75;transition:none}';var C=E;var M=t("duet_paragraph",function(){function t(t){e(this,t);this.id=f("duet-paragraph");this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=s(this.color);return n(i,{key:"64a84c4df04a399b3f9378b2fc4742c06767e0c3","aria-describedby":this.id},n("p",{key:"6d9c8a61f8506ecb6e8e8391ab5d645555e36055",id:this.id,class:(t={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t),style:{color:e},part:"duet-paragraph"},n("slot",{key:"482892006f59215f0d9e7ba05b66bed8c5cee719"})))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());M.style=C}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as e,h as i,H as o,g as s}from"./p-d2a5a09f.js";import{i as a}from"./p-aaa7a7bd.js";import{e as d,d as n}from"./p-fc09c464.js";import{f as l,F as r}from"./p-3b03ad48.js";import{f as h}from"./p-a45e3f8b.js";import{a as c,c as u,d as p,g as b}from"./p-c71a58da.js";import{h as g}from"./p-da4d3c61.js";import{T as m}from"./p-ca3cb21e.js";import{g as f}from"./p-10c530d1.js";import"./p-9c3c64b9.js";import"./p-1004af75.js";const y=class{constructor(i){t(this,i),this.duetSlideoutEvent=e(this,"duetSlideoutEvent",7),this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"},this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"},this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.hasStickyHeaderSlot=!1,this.disconnectController=new AbortController,this.eventListenerController=new AbortController,this.setOpenButton=(t,e=!1)=>{if(this.eventListenerController&&this.eventListenerController.abort(),t)try{const i=t;i.accessiblePopup="true",i.accessibleExpanded=!1,this.openButton=i,e&&!this.disconnectController.signal.aborted&&(this.eventListenerController=new AbortController,this.openButton.addEventListener("click",this.openButtonEventListener,{signal:this.eventListenerController.signal}))}catch(t){console.error(t)}else this.openButton=void 0},this.setStickHeaderStyleMutations=(t=!1)=>{this.element.querySelectorAll('[slot="sticky-header"] duet-tab-group').forEach((e=>{e.style.position=t?null:"relative",e.style.top=t?null:"1px",e.switchLargeBreakpoint="always"}))},this.openButtonEventListener=t=>{this.onClick(t)},this.getOpenPanel=()=>this.element.querySelector("duet-slideout-panel[open]"),this.toggleMenu=t=>{this.open=!this.open,this.duetSlideoutEvent.emit({originalEvent:t,data:{element:this.element,open:this.open},component:"duet-slideout"})},this.onClick=t=>{this.toggleMenu(t)},this.language=c(),this.displaying=!1,this.openPanel=!1,this.theme="",this.accessibleRole="menubar",this.open=!1,this.backgroundColor="gray-lightest",this.modal=!0}get opener(){return this._opener}set opener(t){const e="string"==typeof t,i=e?document.getElementById(t):t;this.openButton!==i&&(this._opener=t,this.setOpenButton(i,e))}get controller(){return this._opener}set controller(t){this.opener=t}componentWillLoad(){a(this),this.hasStickyHeaderSlot=g(this.element,"sticky-header")}connectedCallback(){u(this),this.disconnectController&&this.disconnectController.signal.aborted&&(this.disconnectController=new AbortController),this.teleport||(this.teleport=new m(this.element)),this.teleport&&this.teleport.activate(),this.setStickHeaderStyleMutations(),this.mutationObserver||(this.mutationObserver=new MutationObserver((()=>{this.openPanel=!!this.getOpenPanel()}))),this.mutationObserver&&this.mutationObserver.observe(this.element,{childList:!0,attributeFilter:["open"],subtree:!0})}disconnectedCallback(){p(this),this.dialog&&this.modal&&d(this.dialog),this.mutationObserver&&this.mutationObserver.disconnect(),this.disconnectController&&this.disconnectController.abort(),this.setOpenButton(void 0),this.setStickHeaderStyleMutations(!0)}handleOpenChange(t,e){if(!!t!=!!e)if(this.open&&!e){this.openButton&&(this.openButton.accessibleExpanded=!0);const t=this.getOpenPanel();this.teleport.makeSiblingsInert(),this.modal&&n(this.dialog,{reserveScrollBarGap:!0}),t?t.setFocus():setTimeout((()=>{this.closeButton.focus()}),200)}else!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),setTimeout((()=>{l(this.openButton),this.modal&&d(this.dialog),this.teleport.removeInertFromSiblings()}),200))}handleKeyUp(t){h(t)&&this.open&&this.toggleMenu(t)}handleDocumentClick(t){if(!this.open)return;const e=t.composedPath();e.includes(this.dialog)||e.includes(this.openButton)||this.toggleMenu(t)}async setFocus(t){var e;null===(e=this.openButton)||void 0===e||e.focus(t)}async toggle(){const t=new CustomEvent("toggle");this.toggleMenu(t),setTimeout((()=>{this.closeButton.focus()}),200)}async show(){this.open||(this.setOpenButton(document.activeElement),this.toggleMenu(new CustomEvent("toggle")))}async hide(){this.open&&this.toggleMenu(new CustomEvent("toggle"))}render(){const t={background:f(this.backgroundColor,this.theme)},e=b(this.topLevelOpenMenuBarLangObject),s=b(this.exitLangObject);return i(o,{key:"8d5d42ea1b4ab27296f6b360c4fbb0d31836d039"},i("div",{key:"1cf8c2cb6f87e429e8c49b2ae55c2a247f5e8a1d",class:{"duet-slideout":!0,"duet-theme-turva":"turva"===this.theme}},this.modal&&i("duet-overlay",{key:"b1f49d5e1da9b0ef48c21957d5b6da4a266c74e8",visible:this.open,"display-device":"large",zIndex:"600"}),i("div",{key:"d4ef90d513a2a1970ce5cb9f3337e852785eb13a",ref:t=>this.dialog=t,tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":!this.isSafariBrowser,"aria-flowto":"slot-container",class:{dialog:!0,hidden:!this.open,modal:this.modal},style:t},i(r,{key:"68ea31fc1367cfffe651a11b7b61dc4fcb5b09fc",moveFocusTo:this.closeButton}),i("div",{key:"c7e01931fb3c9c1cb4c70bf364cf23ee94c64744",class:{"top-container":!0,"has-sticky-header-slot":this.hasStickyHeaderSlot}},i("div",{key:"1461b0d0fe30eace62ef88fbffec48aa527f316f",class:"top"},i("button",{key:"fb6c4634ce62407eda4b349b54cf4c0dffd3f9ad",ref:t=>this.closeButton=t,"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":`${s}`,type:"button",class:{"slideout-close":!0,active:this.open},onClick:this.onClick,inert:this.openPanel},i("duet-icon",{key:"bc09b7fdfe8c01b5e2ed9c28464ddb09fbb5cae3",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),i("div",{key:"27b33378e3c3e1fdd221acb6288540aa93633b74",class:"sticky-header"},i("slot",{key:"38d19fe1d2c6f74004b7e93a591c0c07a2edfad2",name:"sticky-header"}))),i("div",{key:"a92d3f23efe42d3fff113a6c0ef6205e90bd387c",id:"slot-container",role:this.accessibleRole,"aria-label":this.openPanel?e:null,class:{items:!0}},i("slot",{key:"aa14239555307c1303b17929cfd48f44c9883cef"})),i(r,{key:"8d9f6812015a4184d5e5aa94f91d07491c826969",moveFocusTo:this.closeButton}))))}get element(){return s(this)}static get watchers(){return{open:["handleOpenChange"]}}};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;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]:not([open=false])) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77)}.duet-slideout.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)}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgb(23, 28, 58)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:600;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}.duet-slideout .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout .dialog .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header{display:block}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}';export{y as duet_slideout}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import"./p-d2a5a09f.js";const o=()=>{globalThis.ds={log:()=>{},warn:()=>{},info:()=>{}}};export{o as g}