@duetds/components 9.2.0 → 9.2.1

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 (832) hide show
  1. package/hydrate/index.js +488 -293
  2. package/lib/cjs/a11y-utils-76311b95.js +20 -0
  3. package/lib/cjs/{app-globals-8b08f415.js → app-globals-940f10af.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
  5. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-badge.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
  10. package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +12 -23
  13. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  16. package/lib/cjs/duet-chip_3.cjs.entry.js +45 -8
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-combobox.cjs.entry.js +5 -11
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +11 -11
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  31. package/lib/cjs/duet-hero.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  33. package/lib/cjs/duet-input_2.cjs.entry.js +101 -12
  34. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  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 +4 -4
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +24 -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 +5 -5
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
  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 +4 -4
  47. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +6 -6
  50. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +7 -7
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +49 -28
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  56. package/lib/cjs/duet-select.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  58. package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +13 -13
  63. package/lib/cjs/duet-slideout.cjs.entry.js +11 -11
  64. package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +23 -5
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  70. package/lib/cjs/duet-textarea.cjs.entry.js +7 -7
  71. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +25 -6
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-tray.cjs.entry.js +6 -6
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  83. package/lib/cjs/duet.cjs.js +3 -3
  84. package/lib/cjs/{errorcodes.utils-79df4fcd.js → errorcodes.utils-a9512b40.js} +1 -1
  85. package/lib/cjs/{focus-utils-87585a09.js → focus-utils-c9b32897.js} +1 -1
  86. package/lib/cjs/{index-290ab697.js → index-ce05ed4b.js} +2 -2
  87. package/lib/cjs/{language-utils-3372de6f.js → language-utils-04d69d6b.js} +1 -1
  88. package/lib/cjs/loader.cjs.js +3 -3
  89. package/lib/cjs/{slot-utils-8015a7e6.js → slot-utils-83d6d31e.js} +1 -1
  90. package/lib/cjs/{token-utils-ecc7f5a1.js → token-utils-453a4e75.js} +1 -1
  91. package/lib/cjs/{tokens-1c133754.js → tokens-57e06fe4.js} +25 -25
  92. package/lib/cjs/{tokens.module-cf303205.js → tokens.module-fcba867f.js} +25 -25
  93. package/lib/collection/components/duet-action-button/duet-action-button.css +7 -7
  94. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  95. package/lib/collection/components/duet-alert/duet-alert.css +12 -12
  96. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  97. package/lib/collection/components/duet-badge/duet-badge.css +18 -18
  98. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  99. package/lib/collection/components/duet-banner/duet-banner.js +1 -1
  100. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  101. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +7 -7
  102. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  103. package/lib/collection/components/duet-button/duet-button.css +39 -39
  104. package/lib/collection/components/duet-button/duet-button.js +5 -5
  105. package/lib/collection/components/duet-callout/duet-callout.css +2 -2
  106. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  107. package/lib/collection/components/duet-caption/duet-caption.css +2 -2
  108. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  109. package/lib/collection/components/duet-card/duet-card.css +6 -6
  110. package/lib/collection/components/duet-card/duet-card.js +3 -3
  111. package/lib/collection/components/duet-checkbox/duet-checkbox.css +16 -16
  112. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  113. package/lib/collection/components/duet-chip/duet-chip.css +83 -28
  114. package/lib/collection/components/duet-chip/duet-chip.js +108 -12
  115. package/lib/collection/components/duet-choice/duet-checkmark.css +6 -6
  116. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  117. package/lib/collection/components/duet-choice/duet-choice.css +50 -50
  118. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  119. package/lib/collection/components/duet-collapsible/duet-collapsible.css +4 -4
  120. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  121. package/lib/collection/components/duet-combobox/duet-combobox.css +2 -2
  122. package/lib/collection/components/duet-combobox/duet-combobox.js +5 -11
  123. package/lib/collection/components/duet-contact-card/duet-contact-card.css +1 -1
  124. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  125. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +2 -2
  126. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  127. package/lib/collection/components/duet-date-picker/duet-date-picker.css +26 -26
  128. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  129. package/lib/collection/components/duet-divider/duet-divider.css +2 -2
  130. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  131. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  132. package/lib/collection/components/duet-empty-state/duet-empty-state.css +2 -2
  133. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  134. package/lib/collection/components/duet-fieldset/duet-fieldset.css +3 -3
  135. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  136. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  137. package/lib/collection/components/duet-footer/duet-footer.css +5 -5
  138. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  139. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  140. package/lib/collection/components/duet-grid-item/duet-grid-item.css +1 -1
  141. package/lib/collection/components/duet-header/duet-header.css +42 -42
  142. package/lib/collection/components/duet-header/duet-header.js +15 -15
  143. package/lib/collection/components/duet-heading/duet-heading.css +3 -3
  144. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  145. package/lib/collection/components/duet-hero/duet-hero.css +13 -13
  146. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  147. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  148. package/lib/collection/components/duet-input/duet-input.css +39 -37
  149. package/lib/collection/components/duet-input/duet-input.js +104 -15
  150. package/lib/collection/components/duet-label/duet-label.css +1 -1
  151. package/lib/collection/components/duet-label/duet-label.js +2 -2
  152. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  153. package/lib/collection/components/duet-link/duet-link.css +9 -9
  154. package/lib/collection/components/duet-link/duet-link.js +4 -15
  155. package/lib/collection/components/duet-list/duet-list.js +3 -3
  156. package/lib/collection/components/duet-list-item/duet-list-item.css +8 -8
  157. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  158. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  159. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +3 -3
  160. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  161. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  162. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +2 -2
  163. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  164. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +3 -3
  165. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  166. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +4 -1
  167. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +87 -4
  168. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  169. package/lib/collection/components/duet-modal/duet-modal.css +6 -6
  170. package/lib/collection/components/duet-modal/duet-modal.js +4 -4
  171. package/lib/collection/components/duet-multiselect/duet-multiselect.css +24 -24
  172. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  173. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  174. package/lib/collection/components/duet-notification/duet-notification.css +9 -9
  175. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  176. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +12 -12
  177. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  178. package/lib/collection/components/duet-number-input/duet-number-input.css +5 -5
  179. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  180. package/lib/collection/components/duet-overlay/duet-overlay.css +1 -1
  181. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  182. package/lib/collection/components/duet-page-heading/duet-page-heading.css +2 -2
  183. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  184. package/lib/collection/components/duet-pagination/duet-pagination.css +1 -1
  185. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  186. package/lib/collection/components/duet-paragraph/duet-paragraph.css +3 -3
  187. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  188. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +1 -1
  189. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  190. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +5 -5
  191. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  192. package/lib/collection/components/duet-progress/duet-progress.css +6 -6
  193. package/lib/collection/components/duet-promo-card/duet-promo-card.css +1 -1
  194. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  195. package/lib/collection/components/duet-radio/duet-radio.css +10 -10
  196. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  197. package/lib/collection/components/duet-range-slider/duet-range-slider.css +21 -21
  198. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  199. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +1 -1
  200. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  201. package/lib/collection/components/duet-scrollable/duet-scrollable.css +3 -0
  202. package/lib/collection/components/duet-scrollable/duet-scrollable.js +38 -16
  203. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  204. package/lib/collection/components/duet-select/duet-select.css +18 -18
  205. package/lib/collection/components/duet-select/duet-select.js +5 -5
  206. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  207. package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
  208. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  209. package/lib/collection/components/duet-slideout/duet-slideout.css +8 -8
  210. package/lib/collection/components/duet-slideout/duet-slideout.js +5 -5
  211. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +1 -1
  212. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  213. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +2 -2
  214. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  215. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +10 -10
  216. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  217. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
  218. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  219. package/lib/collection/components/duet-spacer/duet-spacer.js +3 -3
  220. package/lib/collection/components/duet-spinner/duet-spinner.js +3 -3
  221. package/lib/collection/components/duet-step/duet-step.css +4 -4
  222. package/lib/collection/components/duet-step/duet-step.js +2 -2
  223. package/lib/collection/components/duet-stepper/duet-stepper.js +2 -2
  224. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +9 -9
  225. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  226. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +11 -11
  227. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  228. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +6 -6
  229. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  230. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +13 -9
  231. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +86 -3
  232. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +9 -9
  233. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  234. package/lib/collection/components/duet-tab-group/duet-tab-group.css +27 -27
  235. package/lib/collection/components/duet-tab-group/duet-tab-group.js +10 -10
  236. package/lib/collection/components/duet-table/duet-table.css +30 -30
  237. package/lib/collection/components/duet-table/duet-table.js +2 -2
  238. package/lib/collection/components/duet-textarea/duet-textarea.css +27 -27
  239. package/lib/collection/components/duet-textarea/duet-textarea.js +7 -7
  240. package/lib/collection/components/duet-toggle/duet-toggle.css +4 -4
  241. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  242. package/lib/collection/components/duet-toolbar/duet-toolbar.css +2 -2
  243. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  244. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +11 -11
  245. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  246. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +5 -5
  247. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  248. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +23 -11
  249. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +88 -4
  250. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +8 -8
  251. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  252. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +2 -2
  253. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  254. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +10 -10
  255. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  256. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  257. package/lib/collection/components/duet-tray/duet-tray.css +8 -8
  258. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  259. package/lib/collection/components/duet-upload/duet-upload.css +1 -1
  260. package/lib/collection/components/duet-upload/duet-upload.js +16 -16
  261. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  262. package/lib/collection/components/duet-upload-item/duet-upload-item.js +5 -5
  263. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  264. package/lib/collection/utils/a11y-utils.js +16 -0
  265. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  266. package/lib/dist-custom-elements/duet-alert.js +1 -1
  267. package/lib/dist-custom-elements/duet-badge.js +1 -1
  268. package/lib/dist-custom-elements/duet-banner.js +6 -6
  269. package/lib/dist-custom-elements/duet-breadcrumb.js +9 -9
  270. package/lib/dist-custom-elements/duet-breadcrumbs.js +6 -6
  271. package/lib/dist-custom-elements/duet-button.js +1 -1
  272. package/lib/dist-custom-elements/duet-callout.js +6 -6
  273. package/lib/dist-custom-elements/duet-caption.js +1 -1
  274. package/lib/dist-custom-elements/duet-card.js +6 -6
  275. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  276. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  277. package/lib/dist-custom-elements/duet-chip.js +1 -1
  278. package/lib/dist-custom-elements/duet-choice-group.js +9 -9
  279. package/lib/dist-custom-elements/duet-choice.js +8 -8
  280. package/lib/dist-custom-elements/duet-collapsible.js +6 -6
  281. package/lib/dist-custom-elements/duet-combobox.js +21 -27
  282. package/lib/dist-custom-elements/duet-contact-card.js +12 -12
  283. package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
  284. package/lib/dist-custom-elements/duet-date-picker.js +18 -18
  285. package/lib/dist-custom-elements/duet-divider.js +1 -1
  286. package/lib/dist-custom-elements/duet-editable-table.js +10 -10
  287. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  288. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  289. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  290. package/lib/dist-custom-elements/duet-footer.js +11 -11
  291. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  292. package/lib/dist-custom-elements/duet-grid.js +1 -1
  293. package/lib/dist-custom-elements/duet-header.js +13 -13
  294. package/lib/dist-custom-elements/duet-heading.js +1 -1
  295. package/lib/dist-custom-elements/duet-hero.js +12 -12
  296. package/lib/dist-custom-elements/duet-icon.js +1 -1
  297. package/lib/dist-custom-elements/duet-input.js +1 -1
  298. package/lib/dist-custom-elements/duet-label.js +1 -1
  299. package/lib/dist-custom-elements/duet-layout.js +2 -2
  300. package/lib/dist-custom-elements/duet-link.js +1 -1
  301. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  302. package/lib/dist-custom-elements/duet-list.js +1 -1
  303. package/lib/dist-custom-elements/duet-logo.js +1 -1
  304. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  305. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -6
  306. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +8 -8
  307. package/lib/dist-custom-elements/duet-menu-bar-item.js +27 -7
  308. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  309. package/lib/dist-custom-elements/duet-menu-bar.js +5 -5
  310. package/lib/dist-custom-elements/duet-modal.js +13 -13
  311. package/lib/dist-custom-elements/duet-multiselect.js +13 -13
  312. package/lib/dist-custom-elements/duet-nav.js +2 -2
  313. package/lib/dist-custom-elements/duet-notification-drawer.js +7 -7
  314. package/lib/dist-custom-elements/duet-notification.js +7 -7
  315. package/lib/dist-custom-elements/duet-number-input.js +15 -15
  316. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  317. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  318. package/lib/dist-custom-elements/duet-pagination.js +17 -17
  319. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  320. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  321. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  322. package/lib/dist-custom-elements/duet-progress.js +1 -1
  323. package/lib/dist-custom-elements/duet-promo-card.js +8 -8
  324. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  325. package/lib/dist-custom-elements/duet-radio.js +2 -2
  326. package/lib/dist-custom-elements/duet-range-slider.js +5 -5
  327. package/lib/dist-custom-elements/duet-range-stepper.js +7 -7
  328. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  329. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  330. package/lib/dist-custom-elements/duet-select.js +1 -1
  331. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  332. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  333. package/lib/dist-custom-elements/duet-slideout-lang.js +5 -5
  334. package/lib/dist-custom-elements/duet-slideout-link.js +5 -5
  335. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -7
  336. package/lib/dist-custom-elements/duet-slideout-panel.js +13 -13
  337. package/lib/dist-custom-elements/duet-slideout.js +13 -13
  338. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  339. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  340. package/lib/dist-custom-elements/duet-step.js +6 -6
  341. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  342. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -6
  343. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +9 -9
  344. package/lib/dist-custom-elements/duet-submenu-bar-item.js +27 -7
  345. package/lib/dist-custom-elements/duet-submenu-bar-link.js +5 -5
  346. package/lib/dist-custom-elements/duet-submenu-bar.js +10 -10
  347. package/lib/dist-custom-elements/duet-tab-group.js +21 -21
  348. package/lib/dist-custom-elements/duet-tab.js +4 -4
  349. package/lib/dist-custom-elements/duet-table.js +1 -1
  350. package/lib/dist-custom-elements/duet-textarea.js +16 -16
  351. package/lib/dist-custom-elements/duet-toggle.js +4 -4
  352. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -6
  353. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +8 -8
  354. package/lib/dist-custom-elements/duet-toolbar-item.js +28 -7
  355. package/lib/dist-custom-elements/duet-toolbar-link.js +5 -5
  356. package/lib/dist-custom-elements/duet-toolbar.js +4 -4
  357. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  358. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  359. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  360. package/lib/dist-custom-elements/duet-tray.js +9 -9
  361. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  362. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  363. package/lib/dist-custom-elements/duet-upload.js +24 -24
  364. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  365. package/lib/dist-custom-elements/index.js +2 -2
  366. package/lib/dist-custom-elements/p-01dec611.js +368 -0
  367. package/lib/dist-custom-elements/{p-10f0fddb.js → p-0cf30970.js} +7 -7
  368. package/lib/dist-custom-elements/{p-dc26d4a2.js → p-0e77715d.js} +25 -25
  369. package/lib/dist-custom-elements/{p-4e532364.js → p-1149a5f1.js} +2 -2
  370. package/lib/dist-custom-elements/{p-e7918410.js → p-14903ee8.js} +7 -7
  371. package/lib/dist-custom-elements/{p-6a5c7011.js → p-1749d98a.js} +44 -23
  372. package/lib/dist-custom-elements/{p-c775f5b9.js → p-1cea02c6.js} +3 -3
  373. package/lib/dist-custom-elements/{p-e416ccec.js → p-1cf7db2a.js} +3 -3
  374. package/lib/dist-custom-elements/{p-7e6cdbe3.js → p-28807fbd.js} +2 -2
  375. package/lib/dist-custom-elements/{p-550504de.js → p-29c84284.js} +4 -4
  376. package/lib/dist-custom-elements/{p-cdf8041c.js → p-2cc77e29.js} +9 -9
  377. package/lib/dist-custom-elements/{p-8e557451.js → p-329cec9e.js} +1 -1
  378. package/lib/dist-custom-elements/{p-f2f2bcca.js → p-3883514c.js} +6 -6
  379. package/lib/dist-custom-elements/{p-e0913e76.js → p-3d136f5c.js} +10 -10
  380. package/lib/dist-custom-elements/{p-e9361277.js → p-55342fcd.js} +9 -20
  381. package/lib/dist-custom-elements/{p-d6a8840d.js → p-55989a50.js} +8 -8
  382. package/lib/dist-custom-elements/{p-3bc3ac8a.js → p-570cecb0.js} +3 -3
  383. package/lib/dist-custom-elements/{p-20420946.js → p-5e4809d5.js} +7 -7
  384. package/lib/dist-custom-elements/{p-317b4bb8.js → p-69f6a6aa.js} +1 -1
  385. package/lib/dist-custom-elements/{p-95971567.js → p-6fdef72e.js} +2 -2
  386. package/lib/dist-custom-elements/{p-0fb7a267.js → p-72bc5f40.js} +2 -2
  387. package/lib/dist-custom-elements/{p-8b0dee3e.js → p-782759f5.js} +2 -2
  388. package/lib/dist-custom-elements/{p-3f00c32a.js → p-791ee647.js} +2 -2
  389. package/lib/dist-custom-elements/{p-e5f6aaab.js → p-87248c43.js} +3 -3
  390. package/lib/dist-custom-elements/{p-2e9f301d.js → p-95fb5b4b.js} +8 -8
  391. package/lib/dist-custom-elements/{p-ecc803b3.js → p-9f461090.js} +3 -3
  392. package/lib/dist-custom-elements/{p-fac41d14.js → p-9fa78368.js} +1 -1
  393. package/lib/dist-custom-elements/{p-43f6f1e6.js → p-a407fdb5.js} +4 -4
  394. package/lib/dist-custom-elements/{p-0bb6686b.js → p-a89ea763.js} +7 -7
  395. package/lib/dist-custom-elements/{p-c3854d56.js → p-a9169fe0.js} +1 -1
  396. package/lib/dist-custom-elements/{p-52535b60.js → p-aa53a402.js} +13 -13
  397. package/lib/dist-custom-elements/{p-1dbac987.js → p-aad2ab95.js} +10 -10
  398. package/lib/dist-custom-elements/{p-b3773c10.js → p-ab30a756.js} +4 -4
  399. package/lib/dist-custom-elements/{p-ec4d6856.js → p-ae917476.js} +4 -4
  400. package/lib/dist-custom-elements/{p-684cca0d.js → p-b87d1e74.js} +4 -4
  401. package/lib/dist-custom-elements/{p-6d83f337.js → p-be13a7a6.js} +6 -6
  402. package/lib/dist-custom-elements/{p-936d5746.js → p-c43f0450.js} +3 -3
  403. package/lib/dist-custom-elements/{p-fc9b988f.js → p-c5df07b9.js} +1 -1
  404. package/lib/dist-custom-elements/{p-f055bb61.js → p-c8e032e9.js} +4 -4
  405. package/lib/dist-custom-elements/{p-785686e3.js → p-ca700701.js} +1 -1
  406. package/lib/dist-custom-elements/{p-bdeb5fba.js → p-d00e8f90.js} +108 -19
  407. package/lib/dist-custom-elements/{p-e8d60da0.js → p-d551ba52.js} +2 -2
  408. package/lib/dist-custom-elements/{p-ae262553.js → p-e685687b.js} +2 -2
  409. package/lib/dist-custom-elements/{p-33b260ff.js → p-e8594dcd.js} +3 -3
  410. package/lib/dist-custom-elements/p-f0cc5629.js +18 -0
  411. package/lib/dist-custom-elements/{p-0403f6da.js → p-f1a4011f.js} +3 -3
  412. package/lib/{esm/tokens-e0e3d241.js → dist-custom-elements/p-f6000a03.js} +25 -25
  413. package/lib/duet/duet.esm.js +1 -1
  414. package/lib/duet/duet.js +1 -1
  415. package/lib/duet/{p-40ee32f0.system.entry.js → p-033a796b.system.entry.js} +1 -1
  416. package/lib/duet/{p-8483586d.js → p-03ebb87c.js} +1 -1
  417. package/lib/duet/{p-554cff02.entry.js → p-09f97fb6.entry.js} +1 -1
  418. package/lib/duet/p-0e91ae89.js +4 -0
  419. package/lib/duet/{p-584be931.entry.js → p-0f61ec4f.entry.js} +1 -1
  420. package/lib/duet/{p-231c6724.system.entry.js → p-102d7289.system.entry.js} +1 -1
  421. package/lib/duet/p-1117cfde.system.entry.js +4 -0
  422. package/lib/duet/{p-88a370ef.entry.js → p-1261a1b5.entry.js} +1 -1
  423. package/lib/duet/{p-522e0468.system.entry.js → p-13f6afbe.system.entry.js} +1 -1
  424. package/lib/duet/{p-82557326.system.entry.js → p-14a83e9e.system.entry.js} +1 -1
  425. package/lib/duet/{p-9fa9db50.entry.js → p-151b3794.entry.js} +1 -1
  426. package/lib/duet/{p-b97c6e73.system.entry.js → p-16a3016e.system.entry.js} +1 -1
  427. package/lib/duet/{p-c02efffc.system.entry.js → p-16e3f6f0.system.entry.js} +1 -1
  428. package/lib/duet/{p-d7d9526b.entry.js → p-16ee7d09.entry.js} +1 -1
  429. package/lib/duet/p-176154a9.system.entry.js +4 -0
  430. package/lib/duet/{p-546ca397.entry.js → p-186dc204.entry.js} +1 -1
  431. package/lib/duet/{p-b7efe3b3.system.entry.js → p-19097787.system.entry.js} +1 -1
  432. package/lib/duet/{p-9b70444f.system.entry.js → p-1f32a819.system.entry.js} +1 -1
  433. package/lib/duet/{p-434bda24.system.entry.js → p-1fb804dc.system.entry.js} +1 -1
  434. package/lib/duet/{p-002c99c1.entry.js → p-2091f634.entry.js} +1 -1
  435. package/lib/duet/{p-3958bcfa.system.entry.js → p-22b59f78.system.entry.js} +1 -1
  436. package/lib/duet/{p-ec809c70.entry.js → p-231b853e.entry.js} +1 -1
  437. package/lib/duet/p-25deb7be.system.entry.js +4 -0
  438. package/lib/duet/p-28d2739c.entry.js +4 -0
  439. package/lib/duet/{p-e43ff11c.system.entry.js → p-2b0552dc.system.entry.js} +1 -1
  440. package/lib/duet/{p-3daaefaf.system.entry.js → p-2c42ece3.system.entry.js} +1 -1
  441. package/lib/duet/{p-52fc5c3b.entry.js → p-306faf90.entry.js} +1 -1
  442. package/lib/duet/p-30947766.entry.js +4 -0
  443. package/lib/duet/{p-6f1fc369.entry.js → p-312f509d.entry.js} +1 -1
  444. package/lib/duet/{p-d64e3229.entry.js → p-3363aa75.entry.js} +1 -1
  445. package/lib/duet/{p-fef50246.system.entry.js → p-36b2ad26.system.entry.js} +1 -1
  446. package/lib/duet/{p-ede1eb73.entry.js → p-375948ff.entry.js} +1 -1
  447. package/lib/duet/p-37b8bb50.system.entry.js +4 -0
  448. package/lib/duet/p-386c614c.system.entry.js +4 -0
  449. package/lib/duet/{p-9fdb1552.system.js → p-39fb8819.system.js} +2 -2
  450. package/lib/duet/{p-4cc5c937.system.entry.js → p-3beb1c58.system.entry.js} +1 -1
  451. package/lib/duet/{p-77bd02b8.system.entry.js → p-3c0373cb.system.entry.js} +1 -1
  452. package/lib/duet/{p-e95fa292.js → p-3d9a63aa.js} +1 -1
  453. package/lib/duet/{p-54d7e599.entry.js → p-3e13fb5c.entry.js} +1 -1
  454. package/lib/duet/{p-39630105.entry.js → p-3e15a291.entry.js} +1 -1
  455. package/lib/duet/{p-98d9fcfc.entry.js → p-4068cfee.entry.js} +1 -1
  456. package/lib/duet/{p-9df917b9.entry.js → p-408a9ccb.entry.js} +1 -1
  457. package/lib/duet/p-4217dab3.system.entry.js +4 -0
  458. package/lib/duet/{p-8575f97e.entry.js → p-446f79d6.entry.js} +1 -1
  459. package/lib/duet/p-46030b7e.entry.js +4 -0
  460. package/lib/duet/{p-deaa6b23.system.entry.js → p-48c61eee.system.entry.js} +1 -1
  461. package/lib/duet/p-48c90346.system.js +4 -0
  462. package/lib/duet/p-495d8962.system.entry.js +4 -0
  463. package/lib/duet/p-497263c5.entry.js +4 -0
  464. package/lib/duet/{p-07293953.entry.js → p-4a657e92.entry.js} +1 -1
  465. package/lib/duet/p-4d20e324.system.entry.js +4 -0
  466. package/lib/duet/{p-66da99e1.entry.js → p-50bf90d6.entry.js} +1 -1
  467. package/lib/duet/{p-d19b027a.system.js → p-514b6b5b.system.js} +1 -1
  468. package/lib/duet/{p-5e46b67c.system.entry.js → p-528db5b3.system.entry.js} +1 -1
  469. package/lib/duet/{p-b69d6f0f.entry.js → p-529aff73.entry.js} +1 -1
  470. package/lib/duet/p-54fbe5c8.entry.js +4 -0
  471. package/lib/duet/p-599c6ee4.system.entry.js +4 -0
  472. package/lib/duet/p-5f6a8312.system.entry.js +4 -0
  473. package/lib/duet/{p-4543f9e7.entry.js → p-5fe9bbe0.entry.js} +1 -1
  474. package/lib/duet/{p-06051dcb.entry.js → p-60754704.entry.js} +1 -1
  475. package/lib/duet/p-61fe7d32.entry.js +4 -0
  476. package/lib/duet/{p-bff7ece1.system.entry.js → p-64030845.system.entry.js} +2 -2
  477. package/lib/duet/{p-5eda45d0.system.entry.js → p-646fcab7.system.entry.js} +1 -1
  478. package/lib/duet/{p-2f891fbb.system.js → p-6a95a2e3.system.js} +1 -1
  479. package/lib/duet/p-6adc0389.system.entry.js +4 -0
  480. package/lib/duet/{p-a89f11eb.entry.js → p-6f106108.entry.js} +1 -1
  481. package/lib/duet/{p-083353cb.system.entry.js → p-6f53cfb2.system.entry.js} +1 -1
  482. package/lib/duet/{p-18cd13be.system.entry.js → p-739bfa4e.system.entry.js} +1 -1
  483. package/lib/duet/{p-77009e02.system.entry.js → p-753333e9.system.entry.js} +1 -1
  484. package/lib/duet/{p-b6e8a587.js → p-75e078ac.js} +1 -1
  485. package/lib/duet/{p-210715c1.system.entry.js → p-7712eb09.system.entry.js} +1 -1
  486. package/lib/duet/{p-912860f0.entry.js → p-783cc158.entry.js} +1 -1
  487. package/lib/duet/{p-199d505a.entry.js → p-7863c54a.entry.js} +1 -1
  488. package/lib/duet/p-7a3ae8a9.system.js +4 -0
  489. package/lib/duet/{p-54460ce3.system.entry.js → p-7a41aff3.system.entry.js} +1 -1
  490. package/lib/duet/{p-f00a57c0.entry.js → p-7b6bacd8.entry.js} +1 -1
  491. package/lib/duet/{p-277fd80e.entry.js → p-7db5f5b6.entry.js} +1 -1
  492. package/lib/duet/p-7f94c928.entry.js +4 -0
  493. package/lib/duet/{p-0c12d3cd.system.js → p-8002cdbf.system.js} +1 -1
  494. package/lib/duet/{p-0bfee3a1.system.entry.js → p-8002d713.system.entry.js} +1 -1
  495. package/lib/duet/{p-6014d518.system.entry.js → p-8087cdcd.system.entry.js} +1 -1
  496. package/lib/duet/{p-372b1880.entry.js → p-81168888.entry.js} +1 -1
  497. package/lib/duet/{p-0740edce.system.js → p-832862b7.system.js} +1 -1
  498. package/lib/duet/{p-c999ea8d.system.entry.js → p-832e5af8.system.entry.js} +1 -1
  499. package/lib/duet/{p-bc188b4d.entry.js → p-8486a863.entry.js} +1 -1
  500. package/lib/duet/{p-58400179.entry.js → p-84b5b372.entry.js} +1 -1
  501. package/lib/duet/p-8b3b5673.js +4 -0
  502. package/lib/duet/{p-18917d49.entry.js → p-8bee5b14.entry.js} +1 -1
  503. package/lib/duet/{p-7bc8a7ba.entry.js → p-8c95d7e7.entry.js} +1 -1
  504. package/lib/duet/{p-48836fcc.system.entry.js → p-8d947a43.system.entry.js} +1 -1
  505. package/lib/duet/{p-477d4c2a.system.entry.js → p-91b2664a.system.entry.js} +1 -1
  506. package/lib/duet/p-94eab61e.system.js +4 -0
  507. package/lib/duet/{p-40b33a43.system.entry.js → p-961a7a42.system.entry.js} +1 -1
  508. package/lib/duet/{p-04734a93.system.entry.js → p-962a7ed7.system.entry.js} +2 -2
  509. package/lib/duet/p-9832a62e.system.entry.js +4 -0
  510. package/lib/duet/{p-0ce0c979.system.entry.js → p-9abe2d23.system.entry.js} +1 -1
  511. package/lib/duet/{p-0e1e68bc.system.entry.js → p-9c50306c.system.entry.js} +1 -1
  512. package/lib/duet/{p-7776b2e3.system.entry.js → p-9c5717a5.system.entry.js} +1 -1
  513. package/lib/duet/p-9d0d4329.system.entry.js +4 -0
  514. package/lib/duet/p-9d7aea44.entry.js +4 -0
  515. package/lib/duet/{p-357fba0e.system.entry.js → p-a033bafa.system.entry.js} +1 -1
  516. package/lib/duet/p-a0c1c7d8.system.entry.js +4 -0
  517. package/lib/duet/p-a0ffaabf.entry.js +4 -0
  518. package/lib/duet/{p-ee6bfb1e.entry.js → p-a1e13f21.entry.js} +1 -1
  519. package/lib/duet/{p-410c17b6.system.entry.js → p-a838f364.system.entry.js} +1 -1
  520. package/lib/duet/{p-2b790430.entry.js → p-a90efe08.entry.js} +1 -1
  521. package/lib/duet/{p-7ca5fee5.system.entry.js → p-aba65c68.system.entry.js} +1 -1
  522. package/lib/duet/{p-0fdbde27.entry.js → p-ac538db7.entry.js} +1 -1
  523. package/lib/duet/p-adcd2fb3.entry.js +4 -0
  524. package/lib/duet/{p-ba7657d2.system.entry.js → p-b224ee72.system.entry.js} +1 -1
  525. package/lib/duet/{p-cb833d34.system.entry.js → p-b274ebde.system.entry.js} +1 -1
  526. package/lib/duet/{p-cb7626f8.entry.js → p-b2f64f34.entry.js} +1 -1
  527. package/lib/duet/{p-a2023033.system.entry.js → p-b3ab4a17.system.entry.js} +1 -1
  528. package/lib/duet/{p-a710fd68.entry.js → p-b4df4c57.entry.js} +1 -1
  529. package/lib/duet/p-b4e4bf04.system.entry.js +4 -0
  530. package/lib/duet/{p-a4d2aea7.entry.js → p-b5443923.entry.js} +1 -1
  531. package/lib/duet/p-b657f08f.system.entry.js +4 -0
  532. package/lib/duet/{p-0660a0ef.system.entry.js → p-ba4bdb0d.system.entry.js} +1 -1
  533. package/lib/duet/{p-ae8d9deb.js → p-bb2d58bc.js} +1 -1
  534. package/lib/duet/{p-c1e4c10f.system.entry.js → p-bc2be70e.system.entry.js} +1 -1
  535. package/lib/duet/p-bc50d23b.entry.js +4 -0
  536. package/lib/duet/{p-ab487d80.system.entry.js → p-bd2768a5.system.entry.js} +2 -2
  537. package/lib/duet/p-c1b1b16d.entry.js +4 -0
  538. package/lib/duet/{p-e8daf1e2.entry.js → p-c8783040.entry.js} +1 -1
  539. package/lib/duet/{p-0258c8de.entry.js → p-cade991a.entry.js} +1 -1
  540. package/lib/duet/{p-44ecb79f.entry.js → p-cca4a7db.entry.js} +1 -1
  541. package/lib/duet/p-ccf2bc0a.system.entry.js +4 -0
  542. package/lib/duet/{p-5a8ca9f7.system.entry.js → p-cd0e3537.system.entry.js} +1 -1
  543. package/lib/duet/{p-b5329846.entry.js → p-ce754f76.entry.js} +1 -1
  544. package/lib/duet/{p-a37a7f5f.system.entry.js → p-ce7987e8.system.entry.js} +1 -1
  545. package/lib/duet/{p-6119ef0a.entry.js → p-cf1206a8.entry.js} +1 -1
  546. package/lib/duet/{p-6db337db.entry.js → p-d08a89dc.entry.js} +1 -1
  547. package/lib/duet/{p-765f640d.js → p-d11659fd.js} +1 -1
  548. package/lib/duet/p-d22c889b.entry.js +4 -0
  549. package/lib/duet/{p-d40e8899.system.js → p-d6c69f62.system.js} +1 -1
  550. package/lib/duet/{p-83dc6278.entry.js → p-d6e16c5d.entry.js} +1 -1
  551. package/lib/duet/{p-d9f0722f.entry.js → p-d6fbbecc.entry.js} +1 -1
  552. package/lib/duet/{p-dd48441b.system.entry.js → p-d8d99c33.system.entry.js} +1 -1
  553. package/lib/duet/{p-f4b2f2e8.entry.js → p-d9ad612c.entry.js} +1 -1
  554. package/lib/duet/{p-ab5f9de6.entry.js → p-d9b32ab3.entry.js} +1 -1
  555. package/lib/duet/{p-e3bf718e.system.entry.js → p-db2c01b7.system.entry.js} +1 -1
  556. package/lib/duet/{p-e021729d.entry.js → p-dcbb4af4.entry.js} +1 -1
  557. package/lib/duet/p-defbfc15.js +4 -0
  558. package/lib/duet/{p-0e2c37c7.system.js → p-dfbd0dd7.system.js} +1 -1
  559. package/lib/duet/{p-5899db41.system.entry.js → p-e2122bd3.system.entry.js} +1 -1
  560. package/lib/duet/p-e4c8559c.system.js +4 -0
  561. package/lib/duet/p-e5997320.entry.js +4 -0
  562. package/lib/duet/{p-73f290b1.entry.js → p-e6596826.entry.js} +1 -1
  563. package/lib/duet/{p-a25f447e.system.entry.js → p-e7f0d18b.system.entry.js} +1 -1
  564. package/lib/duet/{p-acd9cb61.entry.js → p-e8d31be7.entry.js} +1 -1
  565. package/lib/duet/{p-1abf7d11.system.entry.js → p-ead4b210.system.entry.js} +1 -1
  566. package/lib/duet/{p-61fe999e.system.entry.js → p-eaeee3a3.system.entry.js} +1 -1
  567. package/lib/duet/{p-8d6d407f.system.entry.js → p-eb26c1f5.system.entry.js} +1 -1
  568. package/lib/duet/{p-4407ea5a.entry.js → p-eb9677dc.entry.js} +1 -1
  569. package/lib/duet/{p-17077f57.entry.js → p-ec58f8ee.entry.js} +1 -1
  570. package/lib/duet/{p-d2b0c35d.entry.js → p-ec5d2407.entry.js} +1 -1
  571. package/lib/duet/{p-4451f3eb.entry.js → p-ec70084a.entry.js} +1 -1
  572. package/lib/duet/p-ee067380.system.entry.js +4 -0
  573. package/lib/duet/{p-11e4c749.system.entry.js → p-ee52d40a.system.entry.js} +1 -1
  574. package/lib/duet/{p-18e6e7fe.entry.js → p-f0634b57.entry.js} +1 -1
  575. package/lib/duet/p-f0cc5629.js +4 -0
  576. package/lib/duet/{p-be7c8c61.system.entry.js → p-f28acd06.system.entry.js} +1 -1
  577. package/lib/duet/{p-50f8076d.entry.js → p-f2957e8e.entry.js} +1 -1
  578. package/lib/duet/{p-a696a103.entry.js → p-f33f42ce.entry.js} +1 -1
  579. package/lib/duet/p-f40c4ff4.entry.js +4 -0
  580. package/lib/duet/{p-0bfe2f53.system.entry.js → p-f48366d3.system.entry.js} +1 -1
  581. package/lib/duet/p-f6000a03.js +4 -0
  582. package/lib/duet/{p-04efd66c.system.entry.js → p-f6471762.system.entry.js} +2 -2
  583. package/lib/duet/{p-49e6e791.system.entry.js → p-f749aa8a.system.entry.js} +1 -1
  584. package/lib/duet/{p-6b2a8199.system.entry.js → p-f930128c.system.entry.js} +1 -1
  585. package/lib/duet/{p-281fa7a1.entry.js → p-fa2ef682.entry.js} +1 -1
  586. package/lib/duet/p-fa3e0628.system.entry.js +4 -0
  587. package/lib/duet/{p-80ebdba0.entry.js → p-fbcd3fb7.entry.js} +1 -1
  588. package/lib/duet/p-fc100c70.entry.js +4 -0
  589. package/lib/duet/{p-f7845fea.entry.js → p-fccf2ddc.entry.js} +1 -1
  590. package/lib/duet/{p-bd60816f.entry.js → p-fd5d4f14.entry.js} +1 -1
  591. package/lib/duet/p-fdbc3f6c.entry.js +4 -0
  592. package/lib/duet/{p-da60c177.system.entry.js → p-fdbc9c7f.system.entry.js} +1 -1
  593. package/lib/duet/{p-2a2f7fe9.system.entry.js → p-ffdfb64b.system.entry.js} +2 -2
  594. package/lib/esm/a11y-utils-92930863.js +18 -0
  595. package/lib/esm/{app-globals-01df0e2e.js → app-globals-19322ff1.js} +1 -1
  596. package/lib/esm/duet-action-button.entry.js +5 -5
  597. package/lib/esm/duet-alert.entry.js +4 -4
  598. package/lib/esm/duet-badge.entry.js +4 -4
  599. package/lib/esm/duet-banner.entry.js +4 -4
  600. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  601. package/lib/esm/duet-breadcrumbs.entry.js +7 -7
  602. package/lib/esm/duet-button_2.entry.js +7 -7
  603. package/lib/esm/duet-callout.entry.js +5 -5
  604. package/lib/esm/duet-caption_4.entry.js +12 -23
  605. package/lib/esm/duet-card.entry.js +4 -4
  606. package/lib/esm/duet-checkbox.entry.js +2 -2
  607. package/lib/esm/duet-checkmark.entry.js +4 -4
  608. package/lib/esm/duet-chip_3.entry.js +45 -8
  609. package/lib/esm/duet-choice_2.entry.js +4 -4
  610. package/lib/esm/duet-collapsible.entry.js +4 -4
  611. package/lib/esm/duet-combobox.entry.js +6 -12
  612. package/lib/esm/duet-contact-card.entry.js +5 -5
  613. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  614. package/lib/esm/duet-date-picker.entry.js +5 -5
  615. package/lib/esm/duet-divider_2.entry.js +5 -5
  616. package/lib/esm/duet-editable-table_3.entry.js +11 -11
  617. package/lib/esm/duet-empty-state.entry.js +2 -2
  618. package/lib/esm/duet-fieldset.entry.js +6 -6
  619. package/lib/esm/duet-file-chooser.entry.js +1 -1
  620. package/lib/esm/duet-footer.entry.js +4 -4
  621. package/lib/esm/duet-grid_2.entry.js +3 -3
  622. package/lib/esm/duet-header_2.entry.js +5 -5
  623. package/lib/esm/duet-hero.entry.js +4 -4
  624. package/lib/esm/duet-icon.entry.js +6 -6
  625. package/lib/esm/duet-input_2.entry.js +102 -13
  626. package/lib/esm/duet-layout.entry.js +2 -2
  627. package/lib/esm/duet-list_2.entry.js +4 -4
  628. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  629. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  630. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  631. package/lib/esm/duet-menu-bar-item.entry.js +24 -6
  632. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  633. package/lib/esm/duet-menu-bar.entry.js +4 -4
  634. package/lib/esm/duet-modal.entry.js +5 -5
  635. package/lib/esm/duet-multiselect.entry.js +4 -4
  636. package/lib/esm/duet-nav.entry.js +2 -2
  637. package/lib/esm/duet-notification_2.entry.js +6 -6
  638. package/lib/esm/duet-number-input.entry.js +4 -4
  639. package/lib/esm/duet-overlay.entry.js +2 -2
  640. package/lib/esm/duet-page-heading.entry.js +4 -4
  641. package/lib/esm/duet-pagination_2.entry.js +6 -6
  642. package/lib/esm/duet-progress.entry.js +3 -3
  643. package/lib/esm/duet-promo-card.entry.js +7 -7
  644. package/lib/esm/duet-radio_2.entry.js +3 -3
  645. package/lib/esm/duet-range-slider.entry.js +3 -3
  646. package/lib/esm/duet-scrollable_3.entry.js +49 -28
  647. package/lib/esm/duet-section-layout.entry.js +4 -4
  648. package/lib/esm/duet-select.entry.js +3 -3
  649. package/lib/esm/duet-shaped-image.entry.js +3 -3
  650. package/lib/esm/duet-show-more.entry.js +4 -4
  651. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  652. package/lib/esm/duet-slideout-link.entry.js +4 -4
  653. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  654. package/lib/esm/duet-slideout-panel.entry.js +13 -13
  655. package/lib/esm/duet-slideout.entry.js +11 -11
  656. package/lib/esm/duet-step_2.entry.js +3 -3
  657. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  658. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  659. package/lib/esm/duet-submenu-bar-item.entry.js +23 -5
  660. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  661. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  662. package/lib/esm/duet-textarea.entry.js +7 -7
  663. package/lib/esm/duet-toggle.entry.js +2 -2
  664. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  665. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  666. package/lib/esm/duet-toolbar-item.entry.js +25 -6
  667. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  668. package/lib/esm/duet-toolbar.entry.js +4 -4
  669. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  670. package/lib/esm/duet-tooltip.entry.js +3 -3
  671. package/lib/esm/duet-tray.entry.js +6 -6
  672. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  673. package/lib/esm/duet-upload-item.entry.js +5 -5
  674. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  675. package/lib/esm/duet.js +4 -4
  676. package/lib/esm/{errorcodes.utils-ac65ace8.js → errorcodes.utils-953f4d47.js} +1 -1
  677. package/lib/esm/{focus-utils-3e81bca4.js → focus-utils-5147573d.js} +1 -1
  678. package/lib/esm/{index-5d196317.js → index-940c081d.js} +2 -2
  679. package/lib/esm/{language-utils-97f0a1bb.js → language-utils-b0c1eb01.js} +1 -1
  680. package/lib/esm/loader.js +4 -4
  681. package/lib/esm/{slot-utils-4442cc08.js → slot-utils-4a318cb9.js} +1 -1
  682. package/lib/esm/{token-utils-54a23ef5.js → token-utils-3c2fb643.js} +1 -1
  683. package/lib/{dist-custom-elements/p-d5c7ae62.js → esm/tokens-84fb2357.js} +25 -25
  684. package/lib/esm/{tokens.module-b5fab24a.js → tokens.module-216c2ae9.js} +25 -25
  685. package/lib/esm-es5/a11y-utils-92930863.js +4 -0
  686. package/lib/esm-es5/{app-globals-01df0e2e.js → app-globals-19322ff1.js} +1 -1
  687. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  688. package/lib/esm-es5/duet-alert.entry.js +1 -1
  689. package/lib/esm-es5/duet-badge.entry.js +1 -1
  690. package/lib/esm-es5/duet-banner.entry.js +1 -1
  691. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  692. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  693. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  694. package/lib/esm-es5/duet-callout.entry.js +1 -1
  695. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  696. package/lib/esm-es5/duet-card.entry.js +1 -1
  697. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  698. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  699. package/lib/esm-es5/duet-chip_3.entry.js +1 -1
  700. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  701. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  702. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  703. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  704. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  705. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  706. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  707. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  708. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  709. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  710. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  711. package/lib/esm-es5/duet-footer.entry.js +1 -1
  712. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  713. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  714. package/lib/esm-es5/duet-hero.entry.js +1 -1
  715. package/lib/esm-es5/duet-icon.entry.js +1 -1
  716. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  717. package/lib/esm-es5/duet-layout.entry.js +1 -1
  718. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  719. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  720. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  721. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  722. package/lib/esm-es5/duet-menu-bar-item.entry.js +2 -2
  723. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  724. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  725. package/lib/esm-es5/duet-modal.entry.js +1 -1
  726. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  727. package/lib/esm-es5/duet-nav.entry.js +1 -1
  728. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  729. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  730. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  731. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  732. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  733. package/lib/esm-es5/duet-progress.entry.js +1 -1
  734. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  735. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  736. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  737. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  738. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  739. package/lib/esm-es5/duet-select.entry.js +1 -1
  740. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  741. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  742. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  743. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  744. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  745. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  746. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  747. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  748. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  749. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  750. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  751. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  752. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  753. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  754. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  755. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  756. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  757. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  758. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  759. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  760. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  761. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  762. package/lib/esm-es5/duet-tray.entry.js +1 -1
  763. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  764. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  765. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  766. package/lib/esm-es5/duet.js +1 -1
  767. package/lib/esm-es5/{errorcodes.utils-ac65ace8.js → errorcodes.utils-953f4d47.js} +1 -1
  768. package/lib/esm-es5/{focus-utils-3e81bca4.js → focus-utils-5147573d.js} +1 -1
  769. package/lib/esm-es5/{index-5d196317.js → index-940c081d.js} +2 -2
  770. package/lib/esm-es5/{language-utils-97f0a1bb.js → language-utils-b0c1eb01.js} +1 -1
  771. package/lib/esm-es5/loader.js +1 -1
  772. package/lib/esm-es5/{slot-utils-4442cc08.js → slot-utils-4a318cb9.js} +1 -1
  773. package/lib/esm-es5/{token-utils-54a23ef5.js → token-utils-3c2fb643.js} +1 -1
  774. package/lib/esm-es5/tokens-84fb2357.js +4 -0
  775. package/lib/esm-es5/tokens.module-216c2ae9.js +4 -0
  776. package/lib/types/components/duet-chip/duet-chip.d.ts +24 -2
  777. package/lib/types/components/duet-input/duet-input.d.ts +22 -1
  778. package/lib/types/components/duet-link/duet-link.d.ts +0 -1
  779. package/lib/types/components/duet-menu-bar-item/duet-menu-bar-item.d.ts +17 -0
  780. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +4 -0
  781. package/lib/types/components/duet-submenu-bar-item/duet-submenu-bar-item.d.ts +17 -0
  782. package/lib/types/components/duet-toolbar-item/duet-toolbar-item.d.ts +17 -0
  783. package/lib/types/components.d.ts +97 -4
  784. package/lib/types/utils/a11y-utils.d.ts +11 -0
  785. package/package.json +4 -4
  786. package/lib/dist-custom-elements/p-43a7f93f.js +0 -327
  787. package/lib/duet/p-17b64351.system.entry.js +0 -4
  788. package/lib/duet/p-1db515c6.entry.js +0 -4
  789. package/lib/duet/p-21ad7b3a.system.entry.js +0 -4
  790. package/lib/duet/p-27aa38b5.system.entry.js +0 -4
  791. package/lib/duet/p-29072d2d.system.entry.js +0 -4
  792. package/lib/duet/p-39dab293.entry.js +0 -4
  793. package/lib/duet/p-44c19fe9.entry.js +0 -4
  794. package/lib/duet/p-44d2dbb7.entry.js +0 -4
  795. package/lib/duet/p-49051d57.entry.js +0 -4
  796. package/lib/duet/p-4a59b12a.system.entry.js +0 -4
  797. package/lib/duet/p-4e485c1c.system.entry.js +0 -4
  798. package/lib/duet/p-50c83774.js +0 -4
  799. package/lib/duet/p-51675591.system.entry.js +0 -4
  800. package/lib/duet/p-5839bb7a.system.entry.js +0 -4
  801. package/lib/duet/p-5c5202c1.system.entry.js +0 -4
  802. package/lib/duet/p-5e0a2a78.system.entry.js +0 -4
  803. package/lib/duet/p-681afce7.js +0 -4
  804. package/lib/duet/p-69bb93ee.system.entry.js +0 -4
  805. package/lib/duet/p-747505e8.entry.js +0 -4
  806. package/lib/duet/p-86ddbb9f.system.entry.js +0 -4
  807. package/lib/duet/p-89bc2c76.system.entry.js +0 -4
  808. package/lib/duet/p-8d7d23ca.entry.js +0 -4
  809. package/lib/duet/p-8e8ac460.system.entry.js +0 -4
  810. package/lib/duet/p-907e01e1.entry.js +0 -4
  811. package/lib/duet/p-90e39ad6.entry.js +0 -4
  812. package/lib/duet/p-91115d1e.system.js +0 -4
  813. package/lib/duet/p-995b0ea5.system.entry.js +0 -4
  814. package/lib/duet/p-9bbdecc7.entry.js +0 -4
  815. package/lib/duet/p-9f08395f.entry.js +0 -4
  816. package/lib/duet/p-a4d589fb.system.entry.js +0 -4
  817. package/lib/duet/p-a623fa7e.entry.js +0 -4
  818. package/lib/duet/p-af311c80.entry.js +0 -4
  819. package/lib/duet/p-b01e1603.entry.js +0 -4
  820. package/lib/duet/p-b24bbdc0.entry.js +0 -4
  821. package/lib/duet/p-b5dabfe2.entry.js +0 -4
  822. package/lib/duet/p-b9ca5786.entry.js +0 -4
  823. package/lib/duet/p-bb896f73.system.js +0 -4
  824. package/lib/duet/p-c162e573.system.entry.js +0 -4
  825. package/lib/duet/p-d1c6861d.system.entry.js +0 -4
  826. package/lib/duet/p-d5c7ae62.js +0 -4
  827. package/lib/duet/p-ed4d1a8b.js +0 -4
  828. package/lib/duet/p-f3a6603e.system.entry.js +0 -4
  829. package/lib/duet/p-f5063a7d.system.js +0 -4
  830. package/lib/esm-es5/tokens-e0e3d241.js +0 -4
  831. package/lib/esm-es5/tokens.module-b5fab24a.js +0 -4
  832. /package/lib/dist-custom-elements/{p-8764aea1.js → p-bc933201.js} +0 -0
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function u(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function o(t){try{s(n.next(t))}catch(t){a(t)}}function r(t){try{s(n["throw"](t))}catch(t){a(t)}}function s(t){t.done?i(t.value):u(t.value).then(o,r)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,u,a,o;return o={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function r(t){return function(e){return s([t,e])}}function s(r){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,r[0]&&(i=0)),i)try{if(n=1,u&&(a=r[0]&2?u["return"]:r[0]?u["throw"]||((a=u["return"])&&a.call(u),0):u.next)&&!(a=a.call(u,r[1])).done)return a;if(u=0,a)r=[r[0]&2,a.value];switch(r[0]){case 0:case 1:a=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;u=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){i.label=r[1];break}if(r[0]===6&&i.label<a[1]){i.label=a[1];a=r;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(r);break}if(a[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];u=0}finally{n=a=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-9fdb1552.system.js","./p-8f477bd6.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-e12066c8.system.js","./p-34d7dd10.system.js","./p-0c12d3cd.system.js","./p-d19b027a.system.js","./p-2f891fbb.system.js","./p-98636086.system.js","./p-91115d1e.system.js"],(function(t){"use strict";var e,i,n,u,a,o,r,s,d,p,l,c,h,b,m,f,g;return{setters:[function(t){e=t.r;i=t.c;n=t.h;u=t.H;a=t.g},function(t){o=t.f},function(t){r=t.i},function(t){s=t.c},function(t){d=t.c;p=t.r},function(t){l=t.f;c=t.j},function(t){h=t.a;b=t.c;m=t.d},function(t){f=t.c},function(t){g=t.g},function(){},function(){}],execute:function(){var v={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>'};var x='*.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(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 77, 128)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(0, 41, 77)}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(0, 41, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(144, 149, 153) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.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(222, 35, 98) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(224, 42, 13) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important;border-color:rgb(116, 116, 117) !important}.duet-input.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(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-input[disabled].sc-duet-input{color:rgb(0, 41, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(116, 116, 117)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(222, 35, 98)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(224, 42, 13)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.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(144, 149, 153);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(116, 116, 117)}.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;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}';var w=x;var y={search:o,email:v};var k=t("duet_input",function(){function t(t){var n=this;e(this,t);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=s("DuetInput");this.clearId=s("DuetInputClear");this.labelId=s("DuetLabel");this.topCaptionId=s("DuetCaptionTop");this.topCaptionPlaceholderId=s("DuetCaptionPlaceholderTop");this.errorId=s("DuetError");this.disallowPatternRegex=null;this.clearLabel={en:"Clear",fi:"Tyhjennä",sv:"Rensa"};this.timeAnnouncement={en:"Time",fi:"Aika",sv:"Tid"};this.showPasswordLabel={en:"Show password",fi:"Näytä salasana",sv:"Visa lösenord"};this.hidePasswordLabel={en:"Hide password",fi:"Piilota salasana",sv:"Dölj lösenord"};this.passwordShownAriaAnnouncement={en:"Password is shown",fi:"Salasana näytetään",sv:"Lösenordet visas"};this.passwordHiddenAriaAnnouncement={en:"Password is hidden",fi:"Salasana on piilotettu",sv:"Lösenordet är dolt"};this.onInput=function(t){if(n.disallowPatternRegex){d(n.nativeInput,n.disallowPatternRegex)}n.value=n.nativeInput.value||"";n.duetInput.emit({originalEvent:t,value:n.value,component:"duet-input"})};this.onBlur=function(t){if(t.relatedTarget===n.nativeInput||t.relatedTarget===n.togglePasswordRevealedButton){return}if(n.variation==="revealable"&&n.isPasswordRevealed){n.isPasswordRevealed=false}n.isFocused=false;n.duetBlur.emit({originalEvent:t,value:n.value,component:"duet-input"})};this.onFocus=function(t){n.isFocused=true;n.duetFocus.emit({originalEvent:t,value:n.value,component:"duet-input"})};this.onClear=function(t){n.duetClear.emit({originalEvent:t,value:n.value,component:"duet-input"})};this.getDescribedBy=function(){var t=[];if(n.isCaptionVisible&&n.topCaptionId){t.push(n.topCaptionId)}if(n.accessibleDescribedBy){t.push(n.accessibleDescribedBy)}if(n.error){t.push(n.errorId)}return t.length>0?t.join(" "):null};this.handleClearClick=function(t){var e=n.clearInput();n.onClear(t);return e};this.keyHandler=function(t){if(l(t)&&n.clear){n.handleClearClick(t)}if(c(t)&&n.variation==="revealable"){if(t.target===n.togglePasswordRevealedButton){t.stopPropagation()}else{n.isPasswordRevealed=false}}return t};this.togglePasswordRevealed=function(){n.isPasswordRevealed=!n.isPasswordRevealed};this.getInputType=function(){if(n.variation==="revealable"){return n.isPasswordRevealed?"text":"password"}return n.type};this.language=h();this.isPasswordRevealed=undefined;this.isFocused=false;this.accessibleActiveDescendant=undefined;this.accessibleAutocomplete=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleExpanded=undefined;this.accessibleDescribedBy="";this.accessibleHasPopup=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLiveError="polite";this.debounce=0;this.clear=false;this.caption=undefined;this.echoPlaceholder=false;this.theme="";this.expand=false;this.disabled=false;this.identifier=undefined;this.margin="auto";this.inputAlign="left";this.inputPadding="medium";this.required=false;this.type="text";this.variation="default";this.chips=false;this.label="Label";this.labelColor=undefined;this.labelWeight=undefined;this.error="";this.labelHidden=false;this.numericKeyboard=false;this.name=undefined;this.pattern=undefined;this.maxlength=undefined;this.minlength=undefined;this.placeholder=undefined;this.component="input";this.role=undefined;this.icon=undefined;this.autoComplete="on";this.disallowPattern=null;this.value=undefined;this.tooltip="";this.tooltipDirection="auto"}t.prototype.disallowedPatternChange=function(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null};t.prototype.valueChanged=function(){var t=this;if(this.nativeInput&&this.nativeInput.value!==this.value){var e=p(this.nativeInput);this.nativeInput.value=this.value;e()}this.isCaptionVisible=!!this.caption;var i=function(){return t.duetChange.emit({value:t.value,component:"duet-input"})};if(this.debounce===0){i()}else{clearTimeout(this.timeoutId);this.timeoutId=setTimeout(i,this.debounce)}};t.prototype.componentWillLoad=function(){r(this);this.disallowedPatternChange();this.isCaptionVisible=!!this.caption;f(this.element,"tooltip","duet-tooltip",1,true)};t.prototype.componentDidLoad=function(){var t=this;if(this.variation==="revealable"&&this.nativeInput.form){this.nativeInput.form.addEventListener("submit",(function(){t.isPasswordRevealed=false}))}};t.prototype.connectedCallback=function(){b(this)};t.prototype.disconnectedCallback=function(){m(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeInput){this.nativeInput.focus(t)}return[2]}))}))};t.prototype.resetCursor=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){if(this.nativeInput){t=p(this.nativeInput);this.nativeInput.value=this.value;t()}return[2]}))}))};t.prototype.clearInput=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeInput){this.nativeInput.value="";this.nativeInput.focus();this.value=""}return[2]}))}))};t.prototype.getAllChips=function(){return Array.from(this.element.querySelectorAll(".duet-input-relative duet-chip"))};t.prototype.addChip=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(n){e=this.element.querySelector(".duet-input-relative");i=e.querySelector("input:not(duet-chip input)");e.insertBefore(t,i);return[2]}))}))};t.prototype.hasChip=function(t){return __awaiter(this,arguments,void 0,(function(t){var e=t.value,i=t.text;return __generator(this,(function(t){return[2,this.getAllChips().some((function(t){return t.value===e&&t.textContent===i}))]}))}))};t.prototype.getChips=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.getAllChips()]}))}))};t.prototype.clearChips=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.getAllChips().forEach((function(t){return t.remove()}));return[2]}))}))};t.prototype.render=function(){var t,e;var i=this;var a=this.identifier||this.inputId;var o={};if(this.numericKeyboard){o.inputmode="numeric"}if(this.pattern&&this.type!=="tel"){o.pattern=this.pattern}else if(!this.pattern&&this.type==="tel"){o.pattern="[0-9+ ]+"}var r;if(this.value){r=new Date;try{r.setHours(Number(this.value.slice(0,2)),Number(this.value.slice(3,5)),0,0)}catch(t){r=undefined}}var s=!this.icon&&this.type!=="text"&&this.type!=="tel"&&this.type!=="password"&&this.type!=="time"&&this.variation!=="button";return n(u,{class:{"duet-expand":this.expand,"duet-m-0":this.margin==="none"},onKeyUp:function(t){return i.keyHandler(t)}},this.type==="time"&&n("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true"},r?"".concat(this.timeAnnouncement[this.language]," ").concat(r.toLocaleTimeString()):""),n("div",{class:(t={"duet-input-container":true,"duet-theme-turva":this.theme==="turva"},t["duet-input-variation-".concat(this.variation)]=true,t["duet-label-hidden"]=this.labelHidden,t["duet-input-top-caption-shown"]=this.isCaptionVisible,t["has-icon"]=this.variation!=="button"&&(!!this.icon||this.type!=="text"&&this.type!=="tel"&&this.type!=="password"&&this.type!=="time"),t["has-error"]=!!this.error,t["has-chips"]=this.chips,t["has-clear"]=this.clear,t["has-focus"]=this.isFocused,t.disabled=this.disabled,t)},n("div",{class:"duet-input-label-container"},n("duet-label",{theme:this.theme==="turva"?"turva":"default",margin:this.isCaptionVisible?"small":"auto",color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:a},this.label),this.tooltip&&n("duet-tooltip",{class:"duet-input-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:this.theme==="turva"?"turva":"default"},this.tooltip),n("slot",{name:"tooltip"})),this.caption&&n("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),n("div",{class:"duet-input-relative"},this.placeholder&&this.echoPlaceholder&&(this.value||this.type==="time")&&n("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-input-placeholder",margin:"none",size:"small"},this.placeholder),n("input",Object.assign({ref:function(t){return i.nativeInput=t},onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,type:this.getInputType(),class:(e={"duet-input":true,disabled:this.disabled,"is-number":this.component==="number","is-date":this.component==="date","after-chip":this.getAllChips().length>0,"align-right":this.inputAlign==="right"},e["input-padding-".concat(this.inputPadding)]=true,e),value:this.value,disabled:this.disabled,"aria-invalid":this.error?"true":"false","aria-labelledby":this.accessibleLabelledBy?"".concat(this.labelId," ").concat(this.accessibleLabelledBy):this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-expanded":this.accessibleExpanded,"aria-haspopup":this.accessibleHasPopup,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),placeholder:this.placeholder,spellcheck:"false",minlength:this.minlength,maxlength:this.maxlength,autocomplete:this.type==="password"?"off":this.autoComplete,required:this.required,role:this.role,name:this.name,id:a},o)),!this.value&&s&&n("div",{class:"duet-input-icon"},n("duet-icon",{margin:"none",size:"small",icon:y[this.type].svg,color:"currentColor"})),this.clear&&this.value&&n("div",{class:{"duet-input-clear-icon":true,"duet-input-clear-icon-single":!s,"duet-input-clear-icon-double":!!this.icon,"duet-input-clear-icon-button":this.variation==="button"}},n("button",{onClick:this.handleClearClick,id:this.clearId,"aria-label":this.clearLabel[this.language],"aria-keyshortcuts":"Escape"},n("duet-icon",{margin:"none",size:"medium",name:"action-clear-input",color:"currentColor"}))),this.icon&&this.variation!=="button"&&n("div",{class:"duet-input-icon"},n("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),this.variation==="button"&&n("slot",{name:"button"}),this.variation==="revealable"&&n("duet-button",{ref:function(t){return i.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:true,iconOnly:true}),this.variation==="revealable"&&this.isPasswordRevealed!==undefined&&n("duet-visually-hidden",null,n("span",{"aria-live":"polite"},this.isPasswordRevealed?this.passwordShownAriaAnnouncement[this.language]:this.passwordHiddenAriaAnnouncement[this.language])),n("slot",null)),n("span",{class:"duet-input-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&n("span",{class:"duet-input-error"},this.error))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disallowPattern:["disallowedPatternChange"],value:["valueChanged"]}},enumerable:false,configurable:true});return t}());k.style=w;var S='*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(0, 41, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-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)}';var j=S;var _=t("duet_label",function(){function t(t){e(this,t);this.theme="";this.for=undefined;this.margin="auto";this.size="medium";this.weight="semi-bold";this.color=""}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=g(this.color);return n(u,{class:(t={"duet-label":true,"duet-label-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-small-margin":this.margin==="small","duet-m-0":this.margin==="none"},t["duet-weight-".concat(this.weight)]=true,t)},n("label",{htmlFor:this.for,style:{color:e}},n("span",null,n("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());_.style=j}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,a,i){function r(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,o){function n(t){try{d(i.next(t))}catch(t){o(t)}}function s(t){try{d(i["throw"](t))}catch(t){o(t)}}function d(t){t.done?a(t.value):r(t.value).then(n,s)}d((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,n;return n={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(t){return function(e){return d([t,e])}}function d(s){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(a=0)),a)try{if(i=1,r&&(o=s[0]&2?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;if(r=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;r=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(s[0]===6&&a.label<o[1]){a.label=o[1];o=s;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(s);break}if(o[2])a.ops.pop();a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t];r=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-9fdb1552.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-e12066c8.system.js","./p-0c12d3cd.system.js","./p-d19b027a.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,a,i,r,o,n,s,d,u,l,h,c;return{setters:[function(t){e=t.r;a=t.c;i=t.h;r=t.H;o=t.g},function(t){n=t.i},function(t){s=t.c},function(t){d=t.c},function(t){u=t.g;l=t.c;h=t.d},function(t){c=t.c},function(){}],execute:function(){var p='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-textarea-container{position:relative;width:100%;height:100%}.duet-textarea-container .duet-input-top-caption{display:none}.duet-textarea-container.duet-input-top-caption-shown .duet-input-top-caption{display:flex !important}.duet-textarea-wrapper{position:relative}.duet-textarea-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-theme-turva .duet-textarea{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.has-error .duet-textarea{border-color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-textarea{border-color:rgb(224, 42, 13) !important}.duet-textarea::-webkit-input-placeholder{color:rgb(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-textarea:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-textarea::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva .duet-textarea::-moz-placeholder{color:rgb(116, 116, 117)}.duet-textarea:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva .duet-textarea:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-textarea:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva .duet-textarea:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-textarea:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva .duet-textarea:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-textarea[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva .duet-textarea[disabled]{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important}.duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(0, 41, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]::-moz-placeholder{color:rgb(0, 41, 77);opacity:1 !important}.duet-theme-turva .duet-textarea[disabled]::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]:-ms-input-placeholder{color:rgb(0, 41, 77)}.duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help{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;line-height:1.25}.duet-textarea-help span{display:block;margin-top:8px}.duet-theme-turva .duet-textarea-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}.has-error .duet-textarea-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count{display:block;margin:8px 0 0 auto}';var f=p;var b=function(t){var e=t.value,a=t.maxlength,r=t.label,o=t.theme;if(a==null){return}var n=e.length;var s=Math.max(a-n,0);var d=s/a<=.1;return i("div",{class:"duet-character-count"},i("duet-caption",{margin:"none",theme:o,size:"small"},i("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true",class:"duet-textarea-counter-remaining"},d&&"".concat(s," ").concat(r)),i("span",{"aria-hidden":"true"},n,"/",a)))};var m=t("duet_textarea",function(){function t(t){var i=this;e(this,t);this.duetInput=a(this,"duetInput",7);this.duetChange=a(this,"duetChange",7);this.duetBlur=a(this,"duetBlur",7);this.duetFocus=a(this,"duetFocus",7);this.textareaId=s("DuetTextarea");this.topCaptionId=s("DuetCaptionTop");this.topCaptionPlaceholderId=s("DuetCaptionPlaceholderTop");this.labelId=s("DuetLabel");this.errorId=s("DuetError");this.characterCountId=s("DuetCharacterCount");this.disallowPatternRegex=null;this.counterLabelDefaults={fi:"merkkiä jäljellä",en:"characters remaining",sv:"tecken kvar"};this.handleInput=function(t){if(i.disallowPatternRegex){d(i.nativeInput,i.disallowPatternRegex)}i.value=i.nativeInput.value;i.isCaptionVisible=!!i.caption;i.duetInput.emit({originalEvent:t,value:i.value,component:"duet-textarea"})};this.handleChange=function(t){i.value=i.nativeInput.value;i.duetChange.emit({originalEvent:t,value:i.value,component:"duet-textarea"})};this.handleBlur=function(t){i.duetBlur.emit({originalEvent:t,value:i.value,component:"duet-textarea"})};this.handleFocus=function(t){if(i.counter){i.hiddenCounterLabel.textContent="".concat(Math.max(i.maxlength-i.value.length,0),"/").concat(i.maxlength," ").concat(i.counterLabel)}i.duetFocus.emit({originalEvent:t,value:i.value,component:"duet-textarea"})};this.getDescribedBy=function(){var t=[];if(i.isCaptionVisible&&i.topCaptionId){t.push(i.topCaptionId)}if(i.accessibleDescribedBy){t.push(i.accessibleDescribedBy)}if(i.error){t.push(i.errorId)}if(i.counter){t.push(i.characterCountId)}return t.length>0?t.join(" "):null};this.margin="auto";this.accessibleActiveDescendant=undefined;this.accessibleAutocomplete=undefined;this.accessibleControls=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLiveError="polite";this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.theme="";this.expand=false;this.disabled=false;this.identifier=undefined;this.required=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.labelHidden=false;this.name=undefined;this.placeholder=undefined;this.caption=undefined;this.echoPlaceholder=false;this.maxlength=undefined;this.minlength=undefined;this.error="";this.role=undefined;this.tooltip="";this.tooltipDirection="auto";this.value="";this.disallowPattern=null;this.counter=false;this.counterLabel=u(this.counterLabelDefaults)}t.prototype.disallowedPatternChange=function(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null};t.prototype.componentWillLoad=function(){n(this);this.disallowedPatternChange();this.isCaptionVisible=!!this.caption;c(this.element,"tooltip","duet-tooltip",1,true);if(this.counter&&this.maxlength==null){console.warn("[DUET WARNING]: counter will only take effect if maxlength is set")}};t.prototype.connectedCallback=function(){l(this,{prop:"counterLabel",defaults:"counterLabelDefaults"})};t.prototype.disconnectedCallback=function(){h(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.nativeInput.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;var e=this.identifier||this.textareaId;return i(r,{key:"c3b31db31b22c40183466910b4762d2476cd3b4b",class:{"duet-m-0":this.margin==="none","duet-has-counter":this.counter&&!this.error,"duet-expand":this.expand}},i("div",{key:"fb7b1f655a8d8519ad38cf110ef4d0aac5e0dbd5",class:{"duet-textarea-container":true,"duet-theme-turva":this.theme==="turva","duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error}},i("duet-label",{key:"ca8b81cd836c5b413d7ef2efd8d0e20d88677709",theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},margin:this.isCaptionVisible?"small":"auto",color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:e},this.label),this.tooltip&&i("duet-tooltip",{key:"509fbb9ca662d38fa8f3d66013459141592c04bd",direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:this.theme==="turva"?"turva":"default"},this.tooltip),i("slot",{key:"e90c6afcf38a563122b32c71d2b8a74c9df980dc",name:"tooltip"}),this.caption&&i("duet-caption",{key:"9bb362d665f0cf1898ebf380b4989d3f65f14371",id:this.topCaptionId,size:"medium",theme:this.theme==="turva"?"turva":"default"},this.caption),i("div",{key:"601f1bea634594d73b983373107c175a76c1100a",class:"duet-textarea-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&i("duet-caption",{key:"e9a43999996749d5d172eacfaa42597ba5dbb7fe",id:this.topCaptionPlaceholderId,class:"duet-textarea-placeholder",size:"small"},this.placeholder),i("textarea",{key:"505944e9722ecc367ee4f395132c39b367af7a31",onInput:this.handleInput,onChange:this.handleChange,onBlur:this.handleBlur,onFocus:this.handleFocus,ref:function(e){return t.nativeInput=e},class:{"duet-textarea":true,disabled:this.disabled},value:this.value,disabled:this.disabled,"aria-labelledby":this.accessibleLabelledBy?"".concat(this.labelId," ").concat(this.accessibleLabelledBy):this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,placeholder:this.placeholder,spellcheck:"false",required:this.required,minlength:this.minlength,maxlength:this.maxlength,role:this.role,name:this.name,id:e})),i("duet-grid",{key:"2a9345c695c8f798c88444446c7fe3a4d6073b3f",alignment:"stretch"},i("duet-grid-item",{key:"603a4279b24566e2bf0f52bbc6f5106a92f1fccf",margin:"none",fill:true},i("div",{key:"c7dc521f37c36b761ed4fc78150efe59c1fb98fb",class:"duet-textarea-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",{key:"11f69f46dc6822dc9942f64056310c8eac7a2861"},this.error))),i("duet-grid-item",{key:"b7dcc318f6911b52a959c2162980272260419b1d",margin:"none",class:"duet-character-count-caption"},this.counter&&i(b,{key:"590c05e0b251e46af19c479733281a0b8b7a2fa1",theme:this.theme,value:this.value,maxlength:this.maxlength,label:this.counterLabel}))),this.counter&&i("duet-visually-hidden",{key:"c279b238edfcc355fb7243bed0afa94b544661e8",class:"duet-visually-hidden",id:this.characterCountId,ref:function(e){t.hiddenCounterLabel=e}})))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disallowPattern:["disallowedPatternChange"]}},enumerable:false,configurable:true});return t}());m.style=f}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h as o}from"./p-ae8d9deb.js";const s=o=>{"setFocus"in o?o.setFocus():o.focus()},e=({moveFocusTo:e})=>o("div",{class:"duet-focus-guard","aria-hidden":"true",tabIndex:0,onFocus:()=>s(e)});export{e as F,s as 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-9fdb1552.system.js","./p-e216bea4.system.js","./p-cc5e6288.system.js","./p-0c12d3cd.system.js","./p-2f891fbb.system.js","./p-98636086.system.js","./p-91115d1e.system.js"],(function(t){"use strict";var e,o,n,u,r,i,d,a,s,b,l,h,p;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;h=t.d},function(t){p=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(207, 210, 212)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.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(228, 228, 230) !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(148, 9, 37);border-color:rgb(148, 9, 37)}.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(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 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(225, 227, 230) !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(228, 228, 230) !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(0, 41, 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(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.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(101, 119, 135) !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(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !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(207, 210, 212);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(228, 228, 230)}.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(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;outline-color:rgb(225, 227, 230) !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(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important;outline-color:rgb(228, 228, 230) !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.handleClick=function(t){if(!n.url&&n.element.closest("form")){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.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(){this.proxyButton=document.createElement("button");this.proxyButton.style.display="none";this.syncToProxyButton();l(this,[{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"},{prop:"accessibleLabelLoading",defaults:"accessibleLabelLoadingDefaults"}]);if(!this.url&&this.element.closest("form")){this.element.insertAdjacentElement("beforebegin",this.proxyButton)}};t.prototype.disconnectedCallback=function(){if(this.proxyButton){this.proxyButton.remove()}this.proxyButton=null;h(this)};t.prototype.syncToProxyButton=function(){if(this.disabled===false){this.element.removeAttribute("disabled")}this.proxyButton.type=this.getButtonType();this.proxyButton.disabled=this.disabled;if(this.name!=null){this.proxyButton.name=this.name}else{this.proxyButton.removeAttribute("name")}if(this.value!=null){this.proxyButton.value=this.value}else{this.proxyButton.removeAttribute("value")}};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 h=n("span",{key:"175bb8af989887b1f3c09549b95757984fafda22",class:{"duet-button-contents":true,"icon-right":l},style:{color:p(this.color)}},b&&n("span",{key:"c27d4012076d19e697ca12056499d02bbaaf5667","aria-hidden":"true",class:(t={"duet-button-icon":true,left:!l,right:l},t[this.getButtonIconSize()]=true,t)},n("duet-icon",{key:"55ff5f4e621ff4396287b2478b626805f6b4cc18",size:"auto",margin:"none",name:b,color:"currentColor"})),n("span",{key:"2686f673bf2aa13133b810e9aa8e2a2041e426b3",class:"duet-button-contents-slot"},n("slot",{key:"11a7a6dac5f579e19e7ded9914c954d0edd1e8db"})));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:"00b0b4bff689bbe5c51d3fabdfb8093c13816cd0",onClick:this.handleClick,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:"21b30db85548fad9886350e172f74455407d9f6d",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}),h,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}),h,this.loading&&n("duet-visually-hidden",null," ",this.accessibleLabelLoading," ")),this.loading&&n("duet-spinner",{key:"dc75e3801e61c06621520d7589945b59a61664fc",color:"currentColor"})))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["syncToProxyButton"],submit:["syncToProxyButton"],value:["syncToProxyButton"],name:["syncToProxyButton"]}},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":p(this.color);return n(u,{key:"aeea2098d956a68366b4671b449702d6f28c45a0",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:"2073bfea9ac6ef08ff83f350bd0984f0aeda883a",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{h as t,r as i,c as s,H as e,g as h}from"./p-ae8d9deb.js";import{i as o}from"./p-aaa7a7bd.js";import{c as n}from"./p-5e59e970.js";import{d as a}from"./p-9e371678.js";import{j as r,f as d,o as l,e as c,b as u,c as m}from"./p-a1b7f2a0.js";import{g as p,a as v,c as b,d as g}from"./p-8483586d.js";import{g as f}from"./p-b6e8a587.js";import{r as x,p as y}from"./p-9c3c64b9.js";const S=({item:i,activeDescendant:s,selected:e,label:h,clickHandler:o=(t=>{t.preventDefault()}),keyHandler:n=(t=>{t.preventDefault()}),search:a,isAndroidDevice:r,id:d})=>{const l=a.split(" ").filter((t=>!!t.trim())).map((t=>x(t))),c=""!==a?new RegExp(`(${l.join("|")})`,"i"):void 0;return t("duet-popup-menu-item",{id:s?d:"",active:e,"data-index":i.id,"aria-selected":s?"true":void 0,"aria-current":e?"true":void 0,role:"option","aria-label":h,tabindex:r?"-1":null,onClick:t=>o(t),onKeyUp:t=>n(t),accessibleRole:"option",activeDescendant:s},c?t("span",{class:"option-container","aria-hidden":"true"},t("span",{innerHTML:i.name.replace(c,'<span style="text-decoration: underline">$&</span>')})):i.name,i.tags&&t("span",{class:"option-tags"},i.tags.join(", ")))},I=class{constructor(t){var e,h;i(this,t),this.duetChange=s(this,"duetChange",3),this.listBoxId=n("duet-combobox-list-element"),this.inputId=n("duet-combobox-input-id"),this.activeDescendantId=n("duet-combobox-active-descendant"),this.isAndroidDevice=(null===(h=null===(e=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===e?void 0:e.toLowerCase())||void 0===h?void 0:h.indexOf("android"))>-1||null,this.resizeObserver=new ResizeObserver(a((t=>{var i,s,e;if(1===(null==t?void 0:t.length)){const h=null===(s=null===(i=t[0])||void 0===i?void 0:i.target)||void 0===s?void 0:s.getBoundingClientRect().width,o=parseInt(null===(e=getComputedStyle(this.listContainer.shadowRoot.querySelector(".duet-popup-menu-list")))||void 0===e?void 0:e.padding);this.listContainer.style.setProperty("--popup-width",h-2*o+"px")}}),100)),this.onInputChange=async t=>{this.inputValue=t.detail.value},this.onInputClick=()=>{var t,i;this.listOpen=this.openListOnClick?!this.listOpen:(null===(t=this.inputValue)||void 0===t?void 0:t.length)>=this.minCharacters,(null===(i=this.getFilteredItems())||void 0===i?void 0:i.length)||(this.listOpen=!1)},this.onInputTyping=async t=>{var i;const s=t.detail.value;!this.force&&!this.multiple&&this.selectedItems.size>0&&s!==this.getSelectedItemLabel()&&this.selectedItems.clear(),this.force||this.multiple||""!==s||(this.value=void 0),this.listOpen=String(s).length>=this.minCharacters&&(null===(i=this.getFilteredItems())||void 0===i?void 0:i.length)>0},this.onKeyDown=t=>{const i=this.returnFilteredOrNonFiltered(),s=i.filter((t=>!this.selectedItems.has(t.id)));if(this.input.accessibleActiveDescendant=void 0,r(t))return t.preventDefault(),this.listOpen&&void 0!==this.activeItem&&i[this.activeItem]?this.multiple?this.addSelectedItem(i[this.activeItem].id,!0):this.updateSelectedItem(i[this.activeItem].id,!0):!this.multiple&&this.listOpen&&1===s.length&&s[0].name.toLowerCase()===this.input.value.toLowerCase()&&this.updateSelectedItem(s[0].id,!0),this.activeItem=void 0,void(this.listOpen=!1);if(d(t)||l(t))return this.listOpen&&t.preventDefault(),this.updateInputText(!0),this.activeItem=void 0,void(this.listOpen=!1);if(c(t)&&""===this.inputValue){if(this.multiple&&this.selectedItems.size>0){const t=Array.from(this.selectedItems).pop();this.removeSelectedItem(t,!0)}return}let e=this.activeItem;u(t)?(t.preventDefault(),e=this.activeItem-1):m(t)&&(t.preventDefault(),e=this.listOpen?this.activeItem+1:this.activeItem,this.listOpen=!0),(m(t)||u(t))&&((e<0||!e)&&(e=0),e>=i.length&&(e=i.length-1),this.input.accessibleActiveDescendant=this.activeDescendantId,this.activeItem=e,this.scrollToActive())},this.processedItems=null,this.inputValue="",this.listOpen=!1,this.selectedItems=new Set,this.activeItem=void 0,this.accessibleLabelDefaults={en:{heading:"Select:",item:"{name}",itemFiltered:"{name}, {hiddenItems} filtered"},fi:{heading:"Valitse:",item:"{name}",itemFiltered:"{name}, {hiddenItems} suodatettu"},sv:{heading:"Välj:",item:"{name}",itemFiltered:"{name}, {hiddenItems} filtrerade"}},this.accessibleLabels=p(this.accessibleLabelDefaults,v()),this.label="",this.caption="",this.theme="",this.force=!1,this.multiple=!1,this.items=void 0,this.formatter=t=>t&&t.name?t.name:"",this.value=void 0,this.minCharacters=1,this.openListOnClick=!1,this.filterType="startsWith"}popupMenuOpenHandler(){this.listOpen?this.listContainer.show():this.listContainer.hide()}activeItemHandler(t){this.input.accessibleActiveDescendant=this.listOpen&&(t||0===t)?this.activeDescendantId:""}handleDocumentClick(t){t.composedPath().every((t=>t!==this.element))&&(this.updateInputText(!0),this.listOpen=!1)}async formatItem(t){return this.formatter(t)}processItems(){const t=[];if(this.processedItems=y(this.items),!Array.isArray(this.processedItems))return void console.error("DuetCombobox: Items should be an array");this.processedItems.length!==new Set([...this.processedItems]).size&&console.warn("DuetCombobox: Duplicate item values found in the list"),this.processedItems=this.processedItems.map(((i,s)=>("string"==typeof i&&(i={name:i,value:i}),i.id=void 0!==i.id?String(i.id):`${JSON.stringify(i.value)}-${i.name}`,t.includes(i.id)&&(console.warn("DuetCombobox: Duplicate item id found in the list, postfixed with index"),i.id=`${i.id}-${s}`),t.push(i.id),i)));const i=Array.from(this.selectedItems).filter((t=>!this.processedItems.find((i=>i.id===t))));i.length&&(this.multiple?i.forEach((t=>this.removeSelectedItem(t))):this.updateSelectedItem(i[0],!0))}processValue(){if(""!==this.value&&!this.value)return void this.selectedItems.clear();const t=Array.isArray(this.value)?this.value:[this.value],i=this.processedItems.filter((i=>t.includes(i.value))).map((t=>t.id));if(i.length!==this.selectedItems.size||!i.every((t=>this.selectedItems.has(t))))if(this.multiple)this.selectedItems.clear(),this.input.clearChips(),i.forEach((t=>this.addSelectedItem(t)));else{const t=this.processedItems.find((t=>t.value===this.value));this.updateSelectedItem(t.id)}}processListOpenChange(){this.openListOnClick&&(this.input.icon=this.listOpen?"action-arrow-up":"action-arrow-down"),this.input.accessibleExpanded=this.listOpen?"true":"false"}componentWillLoad(){o(this)}connectedCallback(){this.items&&this.processItems();const t=f(this.element);t.length?this.input=t[0]:(this.input=document.createElement("duet-input"),this.input.label=this.label,this.input.caption=this.caption,this.input.expand=!0,this.element.prepend(this.input)),this.input.chips=this.multiple,this.input.addEventListener("duetChange",this.onInputChange),this.input.addEventListener("duetInput",this.onInputTyping),this.input.addEventListener("click",this.onInputClick),this.input.role="combobox",this.input.accessibleExpanded=this.listOpen?"true":"false",this.input.accessibleAutocomplete="list",this.input.accessibleControls=this.listBoxId,this.input.id=this.inputId,this.element.addEventListener("keydown",this.onKeyDown),b(this,{prop:"accessibleLabels",defaults:"accessibleLabelDefaults"}),this.processListOpenChange()}disconnectedCallback(){this.input.removeEventListener("duetChange",this.onInputChange),this.input.removeEventListener("click",this.onInputClick),this.element.removeEventListener("keydown",this.onKeyDown),this.resizeObserver.disconnect(),g(this)}componentDidLoad(){this.resizeObserver.observe(this.input),this.processValue()}shouldListBeFiltered(){if(!this.multiple&&this.selectedItems.size&&this.input.value===this.inputValue){const t=this.processedItems.find((t=>this.selectedItems.has(t.id)));return!(this.formatter(t).toLowerCase()===this.input.value.toLowerCase())}return!0}returnFilteredOrNonFiltered(){return this.processedItems?this.shouldListBeFiltered()?this.getFilteredItems():this.sortFilteredItems(this.processedItems):[]}emitChangeEvent(t){const i=this.processedItems.find((i=>i.id===t));this.duetChange.emit({item:i,value:this.value,component:"duet-combobox"})}updateMultipleValue(){this.value=this.processedItems.filter((t=>this.selectedItems.has(t.id))).map((t=>t.value)),this.input.value="",this.updateChips(),this.input.setFocus()}addSelectedItem(t,i){this.selectedItems.has(t)||(this.selectedItems.add(t),this.updateMultipleValue(),i&&this.emitChangeEvent(t))}removeSelectedItem(t,i){this.selectedItems.has(t)&&(this.selectedItems.delete(t),this.updateMultipleValue(),i&&this.emitChangeEvent(t))}async updateSelectedItem(t,i){this.selectedItems.has(t)?(this.selectedItems.delete(t),this.value=void 0,this.input.value="",await this.input.setFocus()):(this.selectedItems.clear(),this.selectedItems.add(t),this.value=this.processedItems.find((i=>i.id===t)).value),i&&this.emitChangeEvent(this.value&&t),await this.updateInputText()}async updateChips(){const t=Array.from(this.selectedItems),i=await this.input.getChips();t.forEach((async t=>{const i=this.processedItems.find((i=>i.id===t)),s=await this.formatItem(i);if(!await this.input.hasChip({value:`${t}`,text:s})){const i=document.createElement("duet-chip");i.variation="input",i.value=`${t}`,i.textContent=s,i.addEventListener("duetRemove",(t=>{this.removeSelectedItem(t.detail.value,!0)})),this.input.addChip(i)}})),i.forEach((i=>{t.includes(i.value)||i.remove()}))}async getSelectedItemLabel(){const t=this.processedItems.find((t=>this.selectedItems.has(t.id)));return t?await this.formatItem(t):""}async updateInputText(t=!1){if(t&&this.multiple)this.input.value="";else{if(t&&this.force){const t=this.returnFilteredOrNonFiltered();!this.multiple&&this.listOpen&&1===t.length&&t[0].name.toLowerCase()===this.input.value.toLowerCase()&&this.updateSelectedItem(t[0].id,!0),this.input.value=0===this.selectedItems.size?"":await this.getSelectedItemLabel()}!t&&this.selectedItems.size>0&&(this.input.value="",this.input.value=await this.getSelectedItemLabel(),this.input.scrollLeft=this.input.scrollWidth,await this.input.setFocus())}}onListClick(t,i){return t.preventDefault(),t.stopPropagation(),this.multiple?this.addSelectedItem(i.id,!0):this.updateSelectedItem(i.id,!0),this.activeItem=void 0,this.listOpen=!1,this.listOpen}scrollToActive(){const t=document.getElementById(`${this.activeDescendantId}`);t&&t.scrollIntoView({behavior:"smooth",block:"center"})}formatLabel(t,i,s,e){return t&&void 0!==e?(s===e?this.accessibleLabels.item:this.accessibleLabels.itemFiltered).replace("{name}",String(t.name)).replace("{current}",String(i+1)).replace("{total}",String(s)).replace("{hiddenItems}",String(e-s)):""}getFilteredItems(){const t=this.processedItems.filter((t=>{var i,s,e,h,o;return(null===(i=String(t.value))||void 0===i?void 0:i.toLowerCase()[this.filterType](null===(s=this.inputValue)||void 0===s?void 0:s.toLowerCase()))||(null===(e=String(t.name))||void 0===e?void 0:e.toLowerCase()[this.filterType](null===(h=this.inputValue)||void 0===h?void 0:h.toLowerCase()))||this.formatter(t).toLowerCase()[this.filterType](null===(o=this.inputValue)||void 0===o?void 0:o.toLowerCase())||this.selectedItems.has(t.id)})).filter((t=>{let i=!0;return this.multiple&&this.selectedItems.has(t.id)&&(i=!1),i}));return this.sortFilteredItems(t)}sortFilteredItems(t){return t.length>0&&t.filter((t=>this.selectedItems.has(t.id))).forEach((i=>{const s=t.indexOf(i);t.splice(s,1),t.unshift(i)})),t}render(){const i=this.returnFilteredOrNonFiltered();return t(e,{class:{"duet-combobox":!0,[`duet-theme-${this.theme}`]:!0}},t("slot",null),t("div",null,t("duet-popup-menu",{id:this.listBoxId,controller:this.input,ref:t=>this.listContainer=t,accessibleRole:"listbox"},t("div",{class:"combobox-menu-container"},this.listOpen&&i.map(((s,e)=>t(S,{id:this.activeDescendantId,item:s,activeDescendant:e===this.activeItem,selected:this.selectedItems.has(s.id),search:this.inputValue,clickHandler:t=>this.onListClick(t,s),label:this.formatLabel(s,e,i.length,this.processedItems.length),isAndroidDevice:this.isAndroidDevice}))),t("duet-spacer",{size:"x-small"})))))}get element(){return h(this)}static get watchers(){return{listOpen:["popupMenuOpenHandler","processListOpenChange"],activeItem:["activeItemHandler"],items:["processItems"],value:["processValue"]}}};I.style='.sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-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";color:rgb(0, 41, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(0, 41, 77);transition:none}.duet-theme-turva.sc-duet-combobox-h{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-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.combobox-menu-container.sc-duet-combobox{width:var(--popup-width);max-height:200px}';export{I as duet_combobox}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,i){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function o(e){try{s(i.next(e))}catch(e){n(e)}}function d(e){try{s(i["throw"](e))}catch(e){n(e)}}function s(e){e.done?r(e.value):a(e.value).then(o,d)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,a,n,o;return o={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function d(e){return function(t){return s([e,t])}}function s(d){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,d[0]&&(r=0)),r)try{if(i=1,a&&(n=d[0]&2?a["return"]:d[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,d[1])).done)return n;if(a=0,n)d=[d[0]&2,n.value];switch(d[0]){case 0:case 1:n=d;break;case 4:r.label++;return{value:d[1],done:false};case 5:r.label++;a=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!n||d[1]>n[0]&&d[1]<n[3])){r.label=d[1];break}if(d[0]===6&&r.label<n[1]){r.label=n[1];n=d;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(d);break}if(n[2])r.ops.pop();r.trys.pop();continue}d=t.call(e,r)}catch(e){d=[6,e];a=0}finally{i=n=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-9fdb1552.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js","./p-0c12d3cd.system.js","./p-0c4bbd65.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,r,i,a,n,o,d,s,u,c,f;return{setters:[function(e){t=e.r;r=e.h;i=e.g},function(e){a=e.i},function(e){n=e.s;o=e.u},function(e){d=e.a;s=e.g;u=e.c;c=e.d},function(e){f=e.a},function(){}],execute:function(){var l="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-notification{display:block;padding:16px;color:rgb(0, 41, 77);cursor:pointer;border-bottom:1px solid rgb(225, 227, 230);transition:300ms ease}:host(:last-of-type) .duet-notification{border-bottom:0}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(228, 228, 230)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(243, 249, 252)}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 245, 247)}@media (min-width: 62em){.duet-notification:hover{background:rgb(243, 249, 252)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 245, 247)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:right;text-transform:uppercase}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(68, 68, 69)}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";var b=l;var h=e("duet_notification",function(){function e(e){t(this,e);this.language=d();this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"};this.accessibleLabelUnread=s(this.accessibleLabelUnreadDefaults,this.language);this.url="#";this.date="";this.highlight=false;this.external=false;this.theme=""}e.prototype.componentWillLoad=function(){a(this)};e.prototype.connectedCallback=function(){u(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"});n(this)};e.prototype.disconnectedCallback=function(){c(this);o(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.linkElement.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return r("div",{key:"422e04582691291269942900a1279c343aef0fd6",role:"listitem",class:{"duet-notification":true,"duet-notification-highlight":this.highlight,"duet-theme-turva":this.theme==="turva"}},r("a",{key:"ca0b58b6e37c962ed94b50f7ec8984b2213f1156",ref:function(t){return e.linkElement=t},href:this.url,target:this.external?"_blank":"_self"},r("div",{key:"dc7f017341005cc24213cdd7bc205e379b8887eb",class:"duet-notification-container"},r("div",{key:"a6b105d9df9c08ab0b3080bf80d65c695fe6acd8",class:"duet-notification-badge-container"},this.highlight&&r("div",{key:"9a65564d31555396c437147ff3f69811c358ff8a",class:"duet-notification-badge"},r("duet-visually-hidden",{key:"b37d3a8df717072e9a8b1df03966f7f3874f5b57"},this.accessibleLabelUnread,":"))),r("div",{key:"efedb3045f0522eb5350fd987da79b3247470bdf",class:"duet-notification-content"},r("slot",{key:"8ccf0b0088d6fe2729948d5bca6fd4b35db7b7d1"})),r("div",{key:"a752d182e944651bf0c5e6531d992a03acb743b0",class:"duet-notification-date"},this.date))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());h.style=b;var g='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(0, 41, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background-color:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 77, 128)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(68, 68, 69)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 77, 128);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(68, 68, 69);border-color:rgb(245, 245, 247)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(250, 164, 15)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(225, 227, 230)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0;scrollbar-width:none}.duet-drawer-content::-webkit-scrollbar{display:none}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}';var p=g;var m=27;var w=e("duet_notification_drawer",function(){function e(e){var r=this;t(this,e);this.handleKeyDown=function(e){if(r.isOpen&&e.keyCode===m){r.close()}};this.toggleMenu=function(e){e.stopPropagation();r.isOpen?r.close():r.open()};this.updateNotificationState=function(){r.hasNotifications=r.element.children.length>0};this.isOpen=false;this.hasNotifications=undefined;this.icon="";this.label="Label";this.language=d();this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"};this.accessibleLabelNotifications=s(this.accessibleLabelNotificationsDefaults);this.badge=false;this.theme="";this.direction="left"}e.prototype.componentWillLoad=function(){a(this);this.updateNotificationState()};e.prototype.connectedCallback=function(){this.observer=new MutationObserver(this.updateNotificationState);this.observer.observe(this.element,{childList:true});n(this)};e.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;o(this)};e.prototype.handleClickFocusOutside=function(e){var t=e.target;if(this.isOpen&&!this.element.contains(t)){this.close(false)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.drawerButtonEl.focus(e);return[2]}))}))};e.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.element.closest("duet-header");if(e){e.closeMenus()}this.isOpen=true;this.drawerContentEl.scrollTop=0;return[2]}))}))};e.prototype.close=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=true}return __generator(this,(function(t){this.isOpen=false;if(e){this.setFocus({preventScroll:true})}return[2]}))}))};e.prototype.render=function(){var e=this;return r("div",{key:"181a6a82f04afb895830cf36e265a4f770f05188",class:{"duet-drawer":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:this.handleKeyDown},r("button",{key:"f4276d12063ff62d10998b80cd7621c3ceadc302",ref:function(t){return e.drawerButtonEl=t},type:"button",class:"duet-drawer-toggle",id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&r("div",{key:"0c1a27d913b2ba53d8f6ef2eef3f0d05c251fabc",class:"duet-drawer-icon"},r("duet-icon",{key:"c32b7ae6a90f0d32f0d6b46aad6e9ba0fb0bf952",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&r("div",{key:"e698da96829cac38cfeab0a15734f3be7a679455",class:"duet-drawer-badge"})),r("span",{key:"2725ba4970bcc2e6213f69c64d25a3dc7d9f005b",class:"duet-drawer-label"},this.label),r("div",{key:"71ae5369660c95fed7635cb7d5ae25fa5b9dde7a",class:"duet-drawer-caret"},r("duet-icon",{key:"1ac223f256804f95ff4a35f8fc115999d86fec8c",margin:"none",size:"auto",icon:f.svg,color:"currentColor"}))),r("div",{key:"aaa99d0c45b1f8218f0f999c9558f374799dc6a5",id:"duet-drawer-content",class:{"duet-drawer-content":true,"duet-drawer-right":this.direction==="right","duet-drawer-left":this.direction==="left","duet-drawer-open":this.isOpen},ref:function(t){return e.drawerContentEl=t}},this.hasNotifications?r("div",{role:"list"},r("slot",null)):r("duet-empty-state",{size:"small"},r("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());w.style=p}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i["throw"](e))}catch(e){a(e)}}function c(e){e.done?n(e.value):r(e.value).then(o,u)}c((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return c([e,t])}}function c(u){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(i=1,r&&(a=u[0]&2?r["return"]:u[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;if(r=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];r=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-9fdb1552.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,n,i,r,a;return{setters:[function(e){t=e.r;n=e.h;i=e.H;r=e.g},function(e){a=e.i}],execute:function(){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;height:100%}.duet-menu-bar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;color:inherit;color:inherit;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-menu-bar-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-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:16px;height:16px}}.duet-menu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-menu-bar-item[aria-expanded=true]{color:rgb(0, 119, 179)}.duet-menu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-menu-bar-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"}.duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-item{padding:0 28px}}.duet-menu-bar-item.active{color:rgb(0, 119, 179)}.duet-menu-bar-item.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-item.active::after{z-index:auto;height:2px}}.duet-menu-bar-item.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item:hover{color:rgb(0, 119, 179)}.duet-menu-bar-item:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';var u=o;var c=e("duet_menu_bar_item",function(){function e(e){t(this,e);this.theme="";this.active=false;this.url=undefined;this.leadingIcon=undefined;this.trailingIcon=undefined;this.accessibleLabel=undefined;this.accessibleExpanded=undefined;this.accessiblePopup="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(n){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";return n(i,{key:"61c0988644daa9a5cbd52db81fe2b158347d691c",role:"listitem"},n(t,{key:"dc943150a89fbd84b002cfc41e5158403aa24dc9",ref:function(t){return e.itemElement=t},class:{"duet-menu-bar-item":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.url,role:"".concat(t==="a"?"link":"button"),"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined},this.leadingIcon&&n("duet-icon",{key:"575cc29397b227cbcf0299c53cb7f2aa5ab535b3",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),n("slot",{key:"53dbb1f8f6348906f6cf5a58b3e4f9670b0294fa"}),this.trailingIcon&&n("duet-icon",{key:"7ee1c4e3032e1fe1f9a27a5b03cf4457a797534c",class:{"trailing-icon":true,"trailing-icon-arrow":this.trailingIcon==="action-arrow-down-small",rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon,margin:"none",size:"auto",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());c.style=u}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as i,h as e,H as n,g as u}from"./p-ae8d9deb.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}from"./p-a1b7f2a0.js";import{a as c,c as h,d as b}from"./p-8483586d.js";import{c as m}from"./p-b6e8a587.js";import{g}from"./p-e95fa292.js";import"./p-9c3c64b9.js";import"./p-50c83774.js";const v={search:s,email:{title:"form-email",tags:"form email",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z"/></svg>'}},x=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.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.onInput=t=>{this.disallowPatternRegex&&r(this.nativeInput,this.disallowPatternRegex),this.value=this.nativeInput.value||"",this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onBlur=t=>{t.relatedTarget!==this.nativeInput&&t.relatedTarget!==this.togglePasswordRevealedButton&&("revealable"===this.variation&&this.isPasswordRevealed&&(this.isPasswordRevealed=!1),this.isFocused=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-input"}))},this.onFocus=t=>{this.isFocused=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onClear=t=>{this.duetClear.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.getDescribedBy=()=>{const t=[];return this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.handleClearClick=t=>{const i=this.clearInput();return this.onClear(t),i},this.keyHandler=t=>(p(t)&&this.clear&&this.handleClearClick(t),l(t)&&"revealable"===this.variation&&(t.target===this.togglePasswordRevealedButton?t.stopPropagation():this.isPasswordRevealed=!1),t),this.togglePasswordRevealed=()=>{this.isPasswordRevealed=!this.isPasswordRevealed},this.getInputType=()=>"revealable"===this.variation?this.isPasswordRevealed?"text":"password":this.type,this.language=c(),this.isPasswordRevealed=void 0,this.isFocused=!1,this.accessibleActiveDescendant=void 0,this.accessibleAutocomplete=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleExpanded=void 0,this.accessibleDescribedBy="",this.accessibleHasPopup=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLiveError="polite",this.debounce=0,this.clear=!1,this.caption=void 0,this.echoPlaceholder=!1,this.theme="",this.expand=!1,this.disabled=!1,this.identifier=void 0,this.margin="auto",this.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,m(this.element,"tooltip","duet-tooltip",1,!0)}componentDidLoad(){"revealable"===this.variation&&this.nativeInput.form&&this.nativeInput.form.addEventListener("submit",(()=>{this.isPasswordRevealed=!1}))}connectedCallback(){h(this)}disconnectedCallback(){b(this)}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async resetCursor(){if(this.nativeInput){const t=d(this.nativeInput);this.nativeInput.value=this.value,t()}}async clearInput(){this.nativeInput&&(this.nativeInput.value="",this.nativeInput.focus(),this.value="")}getAllChips(){return Array.from(this.element.querySelectorAll(".duet-input-relative duet-chip"))}async addChip(t){const i=this.element.querySelector(".duet-input-relative"),e=i.querySelector("input:not(duet-chip input)");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),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.getDescribedBy(),placeholder:this.placeholder,spellcheck:"false",minlength:this.minlength,maxlength:this.maxlength,autocomplete:"password"===this.type?"off":this.autoComplete,required:this.required,role:this.role,name:this.name,id:t},i)),!this.value&&s&&e("div",{class:"duet-input-icon"},e("duet-icon",{margin:"none",size:"small",icon:v[this.type].svg,color:"currentColor"})),this.clear&&this.value&&e("div",{class:{"duet-input-clear-icon":!0,"duet-input-clear-icon-single":!s,"duet-input-clear-icon-double":!!this.icon,"duet-input-clear-icon-button":"button"===this.variation}},e("button",{onClick:this.handleClearClick,id:this.clearId,"aria-label":this.clearLabel[this.language],"aria-keyshortcuts":"Escape"},e("duet-icon",{margin:"none",size:"medium",name:"action-clear-input",color:"currentColor"}))),this.icon&&"button"!==this.variation&&e("div",{class:"duet-input-icon"},e("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),"button"===this.variation&&e("slot",{name:"button"}),"revealable"===this.variation&&e("duet-button",{ref:t=>this.togglePasswordRevealedButton=t,onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.togglePasswordRevealed,icon:this.isPasswordRevealed?"action-hide":"action-show",accessibleLabel:this.isPasswordRevealed?this.hidePasswordLabel[this.language]:this.showPasswordLabel[this.language],margin:"none",variation:"input-button-embedded",fixed:!0,iconOnly:!0}),"revealable"===this.variation&&void 0!==this.isPasswordRevealed&&e("duet-visually-hidden",null,e("span",{"aria-live":"polite"},this.isPasswordRevealed?this.passwordShownAriaAnnouncement[this.language]:this.passwordHiddenAriaAnnouncement[this.language])),e("slot",null)),e("span",{class:"duet-input-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&e("span",{class:"duet-input-error"},this.error))))}get element(){return u(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"],value:["valueChanged"]}}};x.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(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 77, 128)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(0, 41, 77)}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(0, 41, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(144, 149, 153) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.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(222, 35, 98) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(224, 42, 13) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important;border-color:rgb(116, 116, 117) !important}.duet-input.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(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-input[disabled].sc-duet-input{color:rgb(0, 41, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(116, 116, 117)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(222, 35, 98)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(224, 42, 13)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.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(144, 149, 153);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(116, 116, 117)}.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;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 f=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=g(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)}};f.style='*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(0, 41, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-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{x as duet_input,f as duet_label}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,r){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function s(e){try{d(r.next(e))}catch(e){n(e)}}function o(e){try{d(r["throw"](e))}catch(e){n(e)}}function d(e){e.done?i(e.value):a(e.value).then(s,o)}d((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,a,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return d([e,t])}}function d(o){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(r=1,a&&(n=o[0]&2?a["return"]:o[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,o[1])).done)return n;if(a=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){i.label=o[1];break}if(o[0]===6&&i.label<n[1]){i.label=n[1];n=o;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(o);break}if(n[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];a=0}finally{r=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-9fdb1552.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-34d7dd10.system.js","./p-0c12d3cd.system.js","./p-d19b027a.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,r,a,n,s,o,d,u,c,l,f,h;return{setters:[function(e){t=e.r;i=e.c;r=e.h;a=e.H;n=e.g},function(e){s=e.i},function(e){o=e.c},function(e){d=e.s;u=e.u},function(e){c=e.g;l=e.c;f=e.d},function(e){h=e.h},function(){}],execute:function(){var p='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.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);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert-wrapper.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.warning.duet-theme-turva{background:#fffaf3;border-color:rgb(250, 164, 15)}.duet-alert-wrapper.danger{background:#fdf4f7;border-color:rgb(222, 35, 98)}.duet-alert-wrapper.danger.duet-theme-turva{background:#fdf4f3;border-color:rgb(224, 42, 13)}.duet-alert-wrapper.success{background:#f2f9f7;border-color:rgb(0, 135, 90)}.duet-alert-wrapper.success.duet-theme-turva{background:#f3f9f6;border-color:rgb(8, 135, 78)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(225, 227, 230)}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon.below-nav{align-self:flex-start}.duet-alert-icon duet-icon{width:20px;height:20px}';var b=p;var m=e("duet_alert",function(){function e(e){var r=this;t(this,e);this.duetDismiss=i(this,"duetDismiss",7);this.duetCloseComplete=i(this,"duetCloseComplete",7);this.descriptiveId=o("DuetAlert");this.hasShowMoreSlot=false;this.iconVariationMap={default:"messaging-info",success:"messaging-success",warning:"messaging-alert",danger:"messaging-danger-alert"};this.handleDismiss=function(e){r.handleHide();r.duetDismiss.emit({component:"duet-alert",originalEvent:e})};this.handleShow=function(){r.isDismissed=false};this.handleHide=function(){r.isDismissed=true;r.element.addEventListener("transitionend",(function(){return r.duetCloseComplete.emit()}),{once:true})};this.theme="";this.isDismissed=false;this.timeoutID=undefined;this.accessibleLabelDefaults={fi:"Painike viestin sulkemiseen",sv:"Knapp för att stänga meddelandet",en:"Button to close the message"};this.accessibleLabel=c(this.accessibleLabelDefaults);this.announcements=true;this.icon="";this.autoDismiss=undefined;this.margin="auto";this.padding="auto";this.variation="default";this.position="content";this.dismissible=false;this.focusable=false}e.prototype.componentWillLoad=function(){s(this);this.hasShowMoreSlot=h(this.element,"show-more")};e.prototype.componentDidLoad=function(){var e=this;if(this.autoDismiss){this.timeoutID=setTimeout((function(){return e.handleDismiss()}),this.autoDismiss)}};e.prototype.connectedCallback=function(){l(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"});d(this)};e.prototype.disconnectedCallback=function(){if(this.timeoutID){clearTimeout(this.timeoutID)}f(this);u(this)};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleShow();return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleHide();return[2]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.alertContainer.focus(e);return[2]}))}))};e.prototype.render=function(){var e,t;var i=this;var n=this.theme==="turva"?"secondary-turva":"secondary";return r(a,{key:"d3c53bc46ae4d9f94d286a8ca55a1891afaec2d1",class:{"duet-theme-turva":this.theme==="turva","duet-alert-is-dismissed":this.isDismissed},role:this.announcements?"alert":undefined},r("div",{key:"9b7c2ede2a81e5459214b3262c08f5a096251f50",class:(e={"duet-alert-wrapper":true,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},e[this.variation]=true,e[this.position]=true,e["duet-theme-turva"]=this.theme==="turva",e)},r("div",{key:"c372501af01265a0e962d41b0aeefa1b0803dc7a",class:(t={"duet-alert":true,"duet-alert-has-icon":!!this.icon||this.position==="below-nav","duet-alert-has-show-more":this.hasShowMoreSlot,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t)},r("div",{key:"6a00f96245f482fa280c5618d1ab3e3d61ae57bf",class:"duet-alert-container",ref:function(e){i.alertContainer=e},tabindex:this.focusable?"0":undefined},this.icon&&this.position!=="below-nav"&&r("div",{key:"3993720ebce31589b986f5441c9f8f48719f6c97",class:"duet-alert-icon"},r("duet-icon",{key:"fc93bdce332702991e0dedf6eba0276c5d9c3e6d",size:"auto",name:this.icon,color:"currentColor"})),this.position==="below-nav"&&r("div",{key:"e469d1feb00ce1b223b7977a1b87228933556823",class:"duet-alert-icon below-nav"},r("duet-icon",{key:"8e3407af6309c0107a6e78107c965cf28cadbec3",size:"auto",name:this.iconVariationMap[this.variation],color:this.variation==="default"?"currentColor":this.variation})),r("span",{key:"e4e8494c19f24f7da051b98cef3c3efcdeb47031",id:this.descriptiveId},r("slot",{key:"1ce9a6e6c13e76f6fbf1317fa867d5400c79f41e"}))),this.hasShowMoreSlot&&r("duet-show-more",{key:"2106929166ce1b954dff45ed25b218ddce15f4d9",margin:"none",class:"duet-alert-show-more"},r("slot",{key:"331aa9d74f0b995b55b6b119e569411a07673c3e",name:"show-more"})),this.dismissible&&r("div",{key:"9cfd9e835660d246540ca7452de22bcd324d4682",class:"duet-alert-dismiss"},r("duet-button",{key:"fe950cf6c3d775160bd97b34e88ca71603a47d19",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,color:n,iconSize:"medium",icon:"navigation-close",iconOnly:true,margin:"none",theme:this.theme,onClick:this.handleDismiss,fixed:true})))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());m.style=b}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as a,g as i}from"./p-ae8d9deb.js";import{i as r}from"./p-aaa7a7bd.js";import{f as o}from"./p-a1b7f2a0.js";const n=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.url=void 0,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessibleLabel=void 0,this.accessibleExpanded=void 0,this.accessiblePopup="false"}componentWillLoad(){r(this)}handleEscape(e){if(o(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){const e=this.url?"link":"button";return t(a,{key:"235d62294980430d719692b42954af6eacd305e8",role:"listitem"},t(this.url?"a":"button",{key:"e847552fc82cf3ea6c8ca1dd11e2dc3fd8593f3e",ref:e=>this.itemElement=e,class:{"duet-submenu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,role:e},this.leadingIcon&&t("duet-icon",{key:"4a084254a6ee575e72d98fc83203e34d24dfdab3",class:"leading-icon",theme:this.theme,name:this.leadingIcon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"480d23a3ddeab5d0359f95e51ea8ce7f4c893aa4",class:"label"},t("span",{key:"72936339ba118cad5aaccb094d4c727e2bbf5b4f",class:"label-text"},t("slot",{key:"a1009b487801d8be2c9a103f8e7ec4cc8c3f48eb"})),this.trailingIcon&&t("duet-icon",{key:"7c92ee5886afdb53c6c750e27b0a86976f87cbbf",class:{"trailing-icon":!0,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon,margin:"none",size:"auto",color:"currentColor"}))))}get element(){return i(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-submenu-bar-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-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:16px;height:16px}}.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(230, 242, 248)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(148, 9, 37)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-submenu-bar-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-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(148, 9, 37)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(148, 9, 37)}.duet-submenu-bar-item:hover{color:rgb(0, 41, 77);background:rgb(230, 242, 248)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(228, 228, 230)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(148, 9, 37)}';export{n as duet_submenu_bar_item}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c,h as t,H as i,g as o}from"./p-ae8d9deb.js";import{i as d}from"./p-aaa7a7bd.js";import{D as h}from"./p-beeb12f1.js";import{c as s}from"./p-5e59e970.js";import{i as r,h as a,s as u,u as n,f as l}from"./p-a1b7f2a0.js";import{g as p,a as b,c as g,d as m}from"./p-8483586d.js";import{h as f,c as k}from"./p-b6e8a587.js";import"./p-9c3c64b9.js";const v=class{constructor(t){e(this,t),this.duetChoiceReady=c(this,"duetChoiceReady",7),this.duetChoiceRemove=c(this,"duetChoiceRemove",7),this.duetChange=c(this,"duetChange",7),this.duetFocus=c(this,"duetFocus",7),this.duetBlur=c(this,"duetBlur",7),this.hasHeader=!1,this.choiceId=s("DuetChoice"),this.expandId=s("DuetChoiceExpand"),this.headerId=s("DuetChoiceHeader"),this.infoButtonId=s("DuetChoiceInfoButton"),this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1},this.onClick=e=>{this.toggleChecked(e)},this.handleKeyDown=e=>{r(e)&&this.toggleChecked(e),a(e)&&this.hasInfo&&this.toggleInfo()},this.onChange=()=>{this.checked=this.nativeInput.checked||!1,this.duetChange.emit({checked:this.checked,value:this.value,component:"duet-choice"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.toggleChecked=e=>{e.preventDefault(),e.stopPropagation(),this.getDisabled()||"radio"===this.type&&this.checked||(this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"}))},this.toggleInfo=()=>{this.isInfoOpen=!this.isInfoOpen,this.isInfoOpen&&setTimeout((()=>{var e;null===(e=this.infoContainer)||void 0===e||e.focus()}),150)},this.isHovering=!1,this.isInfoOpen=!1,this.theme="",this.label="label",this.accessibleLabelInfoButtonDefaults=h,this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults),this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.caption="",this.value=void 0,this.type="checkbox",this.name=void 0,this.checked=!1,this.collapsible=!1,this.collapsibleForceExpanded=!1,this.margin="auto",this.icon="",this.expand=!1,this.padding="auto",this.identifier=void 0,this.groupDirection=void 0,this.groupDisabled=void 0,this.groupResponsive=void 0,this.disabled=!1,this.required=!1,this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"},this.infoLabel=p(this.infoLabelDefaults,b()),this.collapsibleNotificationDefaults={fi:"Tämä valinta sisältää lisätietoja, jotka avautuivat alle",en:"This choice has additional information opened below",sv:"Det här val har mer information som öppnades nedan"},this.collapsibleNotification=p(this.collapsibleNotificationDefaults,b())}componentWillLoad(){d(this),this.hasInfo=f(this.element,"info"),this.hasHeader=f(this.element,"header"),this.hasAdditional=f(this.element,"additional"),this.hasLabel=f(this.element,"label"),this.hasBeforeText=f(this.element,"before-text"),this.duetChoiceReady.emit()}connectedCallback(){g(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]),u(this),this.duetChoiceReady.emit()}disconnectedCallback(){m(this),n(this),this.duetChoiceRemove.emit()}async setFocus(e){this.nativeInput.focus(e)}async toggleInfoMethod(){this.isInfoOpen=!this.isInfoOpen}handleEscape(e){l(e)&&this.isInfoOpen&&(this.isInfoOpen=!1,this.infoButtonEl&&this.infoButtonEl.focus())}isCollapsibleAnnounceable(){if(!this.collapsible||!this.getExpanded())return!1;const e=Array.from(this.element.querySelectorAll(`#${this.choiceId}-collapsible-content > *`)||[]),c=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((e=>c.includes(e.tagName.toLowerCase())))}getAriaDescribedby(){return this.accessibleDescribedBy?this.accessibleDescribedBy:this.collapsible||this.hasInfo?this.hasHeader?this.headerId:this.isCollapsibleAnnounceable()?this.expandId:`${this.choiceId}-collapsible-notification`:null}getDisabled(){return this.disabled||this.groupDisabled}getExpanded(){return this.checked||this.collapsibleForceExpanded}getClassNames(){return this.hasInfo&&!this.collapsible?{checked:this.checked,"duet-choice-card-info":!0,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":"turva"===this.theme}:!this.hasInfo&&this.collapsible?{checked:this.checked,"duet-choice-card-collapsible":!0,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":"turva"===this.theme}:{checked:this.checked,"duet-choice-default-slot":!0}}render(){const e=this.identifier||this.choiceId;return t(i,{class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin,"duet-expand":this.expand,"duet-theme-turva":"turva"===this.theme,"no-hover":this.isHovering,disabled:this.getDisabled()}},t("div",{class:{"duet-choice-card-flextainer":!0,"duet-theme-turva":"turva"===this.theme}},t("div",{class:{"duet-choice-card":!0,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":"none"===this.padding}},t("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:e,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:e=>this.nativeInput=e}),t("label",{htmlFor:e,class:{"duet-choice-label":!0,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&t("slot",{name:"before-text"}),this.icon&&t("div",{class:"duet-choice-card-icon"},t("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),t("div",{class:"duet-choice-card-text"},t("div",null,this.hasLabel?t("slot",{name:"label"}):this.label),this.caption&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("slot",{name:"additional"}))),t("div",null,t("div",{class:{"duet-checkmark-container":!0,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&t("button",{ref:e=>this.infoButtonEl=e,id:this.infoButtonId,class:{"duet-choice-info-toggle":!0,"duet-theme-turva":"turva"===this.theme},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":`${this.infoLabel} ${this.label}`,"aria-controls":this.expandId,tabindex:"radio"!==this.type||this.checked?"0":"-1",type:"button",onKeyUp:e=>this.handleEscape(e)},t("div",{class:"duet-choice-info-icon"},t("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>',margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&t("span",{id:`${this.choiceId}-collapsible-notification`,hidden:!0},this.collapsibleNotification),this.collapsible||this.hasInfo?t("div",{class:this.getClassNames(),id:this.expandId},t("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},t("span",{id:this.headerId},t("slot",{name:"header"})),this.hasInfo?t("span",{ref:e=>this.infoContainer=e,tabindex:"0",class:"duet-choice-info-container",onKeyUp:e=>this.handleEscape(e)},t("span",null,t("slot",{name:"info"})),t("slot",null)):t("span",{id:`${this.choiceId}-collapsible-content`},t("slot",null)))):null)}get element(){return o(this)}};v.style='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(225, 227, 230);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(116, 116, 117)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(144, 149, 153) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important;border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important;border-color:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(173, 11, 43)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(0, 41, 77);border:1px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}';const x=class{constructor(c){e(this,c),this.choiceGroupName="duet-choice-group",this.choices=new Set,this.onSelect=e=>{if("duet-choice"!==e.detail.component)return;const c=e.target;c&&this.choices.has(c)&&(this.value=c.value)},this.onChoiceReady=e=>{const c=e.target;c.closest("duet-choice-group")!==this.element||this.choices.has(c)||(this.choices.add(c),this.updateChoices())},this.onChoiceRemove=e=>{this.choices.delete(e.target),this.updateChoices()},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption=void 0,this.tooltip=void 0,this.tooltipDirection="auto",this.responsive=!1,this.breakpoint="small",this.value=void 0,this.disabled=void 0,this.required=!1,this.accessibleLiveError="polite"}async connectedCallback(){this.setInitialValue(),this.updateChoices()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){d(this),k(this.element,"tooltip","duet-tooltip",1,!0)}setInitialValue(){void 0===this.initialValue&&(this.initialValue=this.value)}async getInitialValue(){return this.initialValue}async updateChoices(){var e;const c=null!==(e=this.value)&&void 0!==e?e:this.initialValue;let t=!1;for(const e of Array.from(this.choices))e.name=this.name,e.required=this.required,e.groupDisabled=this.disabled,e.groupDirection=this.direction,e.groupResponsive=this.responsive,t||e.value!==c?e.checked=!1:(t=!0,e.checked=!0,void 0===this.value&&(this.value=c));t||(this.value=void 0)}render(){return t(i,{onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,onDuetChoiceRemove:this.onChoiceRemove,class:{horizontal:"horizontal"===this.direction,"duet-choice-group-breakpoint-x-small":this.responsive&&"x-small"===this.breakpoint,"duet-choice-group-breakpoint-small":this.responsive&&"small"===this.breakpoint,"duet-choice-group-breakpoint-medium":this.responsive&&"medium"===this.breakpoint,"duet-choice-group-breakpoint-large":this.responsive&&"large"===this.breakpoint,"duet-choice-group-breakpoint-x-large":this.responsive&&"x-large"===this.breakpoint}},t("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:!0,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&t("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),t("slot",{name:"tooltip"}),t("div",{class:{[this.choiceGroupName]:!0,"duet-no-stacking":!this.responsive}},t("slot",null))))}get element(){return o(this)}static get watchers(){return{value:["setInitialValue","updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}}};x.style="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";export{v as duet_choice,x as duet_choice_group}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register([],(function(r){"use strict";return{execute:function(){var a="rgb(0, 161, 212)";var o=r("o","rgb(178, 180, 179)");var e="rgb(11, 114, 136)";var v="rgb(199, 12, 112)";var l="rgb(122, 1, 196)";var g="rgb(211, 36, 131)";var c="rgb(161, 10, 78)";var i="rgb(168, 1, 78)";var b="rgb(213, 66, 3)";var t="rgb(9, 129, 148)";var n="rgb(169, 69, 124)";var s="rgb(54, 74, 129)";var u="rgb(23, 28, 58)";var p="rgb(222, 35, 98)";var x="rgb(255, 240, 243)";var m="rgb(255, 211, 219)";var d="rgb(89, 0, 45)";var y="rgb(255, 173, 190)";var S="rgb(252, 136, 162)";var T="rgb(243, 98, 134)";var L="rgb(255, 225, 231)";var h="rgb(231, 62, 107)";var D="rgb(214, 28, 82)";var z="rgb(185, 16, 74)";var I="rgb(153, 9, 66)";var G="rgb(120, 4, 56)";var B="rgb(224, 42, 13)";var w="rgb(122, 1, 196)";var f="rgb(0, 155, 204)";var X="rgb(27, 171, 75)";var W="rgb(255, 86, 34)";var M="rgb(245, 76, 154)";var k="rgb(194, 21, 101)";var C="rgb(192, 101, 247)";var H="rgb(0, 105, 191)";var F="rgb(19, 120, 53)";var R="rgb(179, 60, 24)";var P="rgb(13, 163, 166)";var U="rgb(11, 114, 136)";var E="rgb(179, 137, 24)";var j="rgb(128, 98, 17)";var Q="rgb(0, 41, 77)";var A=r("l","rgb(207, 210, 212)");var _="rgb(144, 149, 153)";var N="rgb(116, 116, 117)";var O="rgb(101, 119, 135)";var V="rgb(68, 68, 69)";var q="rgb(225, 227, 230)";var J="rgb(228, 228, 230)";var K="rgb(245, 248, 250)";var Y="rgb(245, 245, 247)";var Z=r("n","rgb(255, 255, 255)");var $="rgb(255, 255, 255)";var rr=r("j","rgb(207, 207, 209)");var ar="rgb(240, 247, 250)";var or="rgb(217, 236, 245)";var er="rgb(8, 42, 77)";var vr="rgb(198, 225, 238)";var lr="rgb(172, 210, 229)";var gr="rgb(131, 188, 217)";var cr="rgb(228, 241, 247)";var ir="rgb(50, 153, 204)";var br="rgb(0, 119, 179)";var tr="rgb(0, 97, 155)";var nr="rgb(0, 75, 129)";var sr="rgb(3, 56, 102)";var ur="rgb(245, 248, 250)";var pr="rgb(212, 223, 229)";var xr="rgb(17, 28, 38)";var mr="rgb(181, 198, 208)";var dr="rgb(153, 174, 186)";var yr="rgb(127, 150, 165)";var Sr="rgb(228, 236, 239)";var Tr="rgb(98, 121, 138)";var Lr="rgb(81, 105, 123)";var hr="rgb(62, 84, 102)";var Dr="rgb(45, 64, 81)";var zr="rgb(30, 45, 59)";var Ir=r("k","rgb(0, 119, 179)");var Gr="rgb(0, 77, 128)";var Br="rgb(148, 9, 37)";var wr="rgb(0, 98, 154)";var fr="rgb(173, 11, 43)";var Xr="rgb(205, 229, 241)";var Wr="rgb(244, 207, 214)";var Mr="rgb(230, 242, 248)";var kr="rgb(249, 230, 234)";var Cr="rgb(243, 249, 252)";var Hr="rgb(252, 243, 244)";var Fr=r("i","rgb(198, 12, 48)");var Rr="rgb(0, 41, 77)";var Pr="rgb(23, 28, 58)";var Ur="rgb(0, 135, 90)";var Er="rgb(244, 250, 247)";var jr="rgb(218, 246, 233)";var Qr="rgb(4, 38, 33)";var Ar="rgb(191, 239, 218)";var _r="rgb(163, 229, 202)";var Nr="rgb(134, 215, 185)";var Or="rgb(231, 248, 239)";var Vr="rgb(105, 196, 166)";var qr="rgb(77, 171, 143)";var Jr="rgb(48, 131, 105)";var Kr="rgb(29, 106, 88)";var Yr="rgb(13, 71, 59)";var Zr="rgb(8, 135, 78)";var $r="rgb(245, 247, 250)";var ra="rgb(222, 224, 228)";var aa="rgb(8, 13, 38)";var oa="rgb(199, 202, 207)";var ea="rgb(175, 178, 186)";var va="rgb(143, 147, 158)";var la="rgb(234, 235, 239)";var ga="rgb(113, 118, 132)";var ca="rgb(98, 104, 122)";var ia="rgb(71, 78, 101)";var ba="rgb(45, 52, 79)";var ta="rgb(23, 28, 58)";var na="rgb(255, 241, 241)";var sa="rgb(255, 213, 215)";var ua="rgb(51, 5, 20)";var pa="rgb(255, 185, 190)";var xa="rgb(252, 148, 158)";var ma="rgb(240, 102, 119)";var da="rgb(255, 227, 228)";var ya="rgb(221, 49, 77)";var Sa="rgb(198, 12, 48)";var Ta="rgb(164, 4, 40)";var La="rgb(126, 2, 35)";var ha="rgb(87, 4, 29)";var Da="rgb(247, 178, 40)";var za="rgb(255, 251, 242)";var Ia="rgb(255, 244, 198)";var Ga="rgb(38, 26, 4)";var Ba="rgb(255, 232, 160)";var wa="rgb(255, 217, 120)";var fa="rgb(255, 199, 79)";var Xa="rgb(255, 247, 221)";var Wa="rgb(247, 178, 40)";var Ma="rgb(212, 151, 32)";var ka="rgb(156, 110, 22)";var Ca="rgb(126, 87, 16)";var Ha="rgb(81, 55, 9)";var Fa="rgb(250, 164, 15)";var Ra="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var Pa="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var Ua="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var Ea="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var ja="1.25rem";var Qa="1rem";var Aa="0.875rem";var _a="1.5rem";var Na="0.75rem";var Oa="2.25rem";var Va="3rem";var qa="4.5rem";var Ja="700";var Ka="800";var Ya="400";var Za="600";var $a="-0.01rem";var ro="1.5";var ao="1.25";var oo="1.1";var eo=r("d","'(min-width: 62em)'");var vo=r("c","'(min-width: 48em)'");var lo=r("b","'(min-width: 36em)'");var go=r("e","'(min-width: 64.0625em)'");var co=r("a","'(max-width: 35.9375em)'");var io=r("f","'(min-width: 76.25em)'");var bo=r("m","'(max-width: 22.5em)'");var to=r("g","'(min-width: 106.25em)'");var no=r("h","'(max-width: 20.5em)'");var so="0.30";var uo="0.50";var po="0.75";var xo="0.85";var mo="50%";var yo="4px";var So="12px";var To="16px";var Lo="8px";var ho="20rem";var Do="0";var zo="0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";var Io="0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";var Go="0 2px 6px 0 rgba(0, 41, 77, 0.07)";var Bo="0 2px 6px 0 rgba(117, 117, 117, 0.13)";var wo="0 0 0 1px #de2362";var fo="0 0 0 1px #e55039";var Xo="0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3";var Wo="0 0 0 1px #0077b3";var Mo="0 0 0 1px #171c3a";var ko="0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a";var Co="0 2px 10px 0 rgba(0, 41, 77, 0.1)";var Ho="0 0 0 1px #909599";var Fo="0 0 0 1px #747475";var Ro="0 2px 10px 0 rgba(117, 117, 117, 0.15)";var Po="0 2px 20px 0 rgba(0, 0, 0, 0.2)";var Uo="0 2px 10px 0 rgba(0, 41, 77, 0.07)";var Eo="0 2px 10px 0 rgba(117, 117, 117, 0.13)";var jo="1px";var Qo="8rem";var Ao="1px";var _o="1px";var No=r("s","4rem");var Oo="30px";var Vo="24px";var qo="20px";var Jo="36px";var Ko="16px";var Yo="48px";var Zo="10px";var $o="72px";var re="7px";var ae="1110px";var oe="2px";var ee=r("p","3rem");var ve="40px";var le="30px";var ge="48px";var ce="20px";var ie="16px";var be="12px";var te="28px";var ne="8px";var se="36px";var ue="4px";var pe="48px";var xe="2px";var me="72px";var de="94px";var ye="300ms ease";var Se="600ms ease";var Te="-999999";var Le="1";var he="600";var De="400";var ze="200";var Ie="250";var Ge="100";var Be="900";var we="700";var fe="950";var Xe="800";var We="300";var Me="500";var ke=Object.freeze({__proto__:null,colorBrandBlue:a,colorBrandGrayTurva:o,colorCategoryFamily:e,colorCategoryFamilyTurva:v,colorCategoryFinance:l,colorCategoryHome:g,colorCategoryHomeTurva:c,colorCategoryPet:i,colorCategoryTravel:b,colorCategoryTravelTurva:t,colorCategoryUnionTurva:n,colorCategoryVehicle:s,colorCategoryVehicleTurva:u,colorDanger:p,colorDanger00:x,colorDanger100:m,colorDanger1000:d,colorDanger200:y,colorDanger300:S,colorDanger400:T,colorDanger50:L,colorDanger500:h,colorDanger600:D,colorDanger700:z,colorDanger800:I,colorDanger900:G,colorDangerTurva:B,colorData01:w,colorData02:f,colorData03:X,colorData04:W,colorData05:M,colorData06:k,colorData07:C,colorData08:H,colorData09:F,colorData10:R,colorData11:P,colorData12:U,colorData13:E,colorData14:j,colorData15:Q,colorGray:A,colorGrayDark:_,colorGrayDarkTurva:N,colorGrayDarker:O,colorGrayDarkerTurva:V,colorGrayLight:q,colorGrayLightTurva:J,colorGrayLighter:K,colorGrayLighterTurva:Y,colorGrayLightest:Z,colorGrayLightestTurva:$,colorGrayTurva:rr,colorLtBlue00:ar,colorLtBlue100:or,colorLtBlue1000:er,colorLtBlue200:vr,colorLtBlue300:lr,colorLtBlue400:gr,colorLtBlue50:cr,colorLtBlue500:ir,colorLtBlue600:br,colorLtBlue700:tr,colorLtBlue800:nr,colorLtBlue900:sr,colorLtGray00:ur,colorLtGray100:pr,colorLtGray1000:xr,colorLtGray200:mr,colorLtGray300:dr,colorLtGray400:yr,colorLtGray50:Sr,colorLtGray500:Tr,colorLtGray600:Lr,colorLtGray700:hr,colorLtGray800:Dr,colorLtGray900:zr,colorPrimary:Ir,colorPrimaryDark:Gr,colorPrimaryDarkTurva:Br,colorPrimaryDarker:wr,colorPrimaryDarkerTurva:fr,colorPrimaryLight:Xr,colorPrimaryLightTurva:Wr,colorPrimaryLighter:Mr,colorPrimaryLighterTurva:kr,colorPrimaryLightest:Cr,colorPrimaryLightestTurva:Hr,colorPrimaryTurva:Fr,colorSecondary:Rr,colorSecondaryTurva:Pr,colorSuccess:Ur,colorSuccess00:Er,colorSuccess100:jr,colorSuccess1000:Qr,colorSuccess200:Ar,colorSuccess300:_r,colorSuccess400:Nr,colorSuccess50:Or,colorSuccess500:Vr,colorSuccess600:qr,colorSuccess700:Jr,colorSuccess800:Kr,colorSuccess900:Yr,colorSuccessTurva:Zr,colorTurvaGray00:$r,colorTurvaGray100:ra,colorTurvaGray1000:aa,colorTurvaGray200:oa,colorTurvaGray300:ea,colorTurvaGray400:va,colorTurvaGray50:la,colorTurvaGray500:ga,colorTurvaGray600:ca,colorTurvaGray700:ia,colorTurvaGray800:ba,colorTurvaGray900:ta,colorTurvaRed00:na,colorTurvaRed100:sa,colorTurvaRed1000:ua,colorTurvaRed200:pa,colorTurvaRed300:xa,colorTurvaRed400:ma,colorTurvaRed50:da,colorTurvaRed500:ya,colorTurvaRed600:Sa,colorTurvaRed700:Ta,colorTurvaRed800:La,colorTurvaRed900:ha,colorWarning:Da,colorWarning00:za,colorWarning100:Ia,colorWarning1000:Ga,colorWarning200:Ba,colorWarning300:wa,colorWarning400:fa,colorWarning50:Xa,colorWarning500:Wa,colorWarning600:Ma,colorWarning700:ka,colorWarning800:Ca,colorWarning900:Ha,colorWarningTurva:Fa,fontFamilyHeading:Ra,fontFamilyHeadingTurva:Pa,fontFamilyText:Ua,fontFamilyTextTurva:Ea,fontSizeLarge:ja,fontSizeMedium:Qa,fontSizeSmall:Aa,fontSizeXLarge:_a,fontSizeXSmall:Na,fontSizeXxLarge:Oa,fontSizeXxxLarge:Va,fontSizeXxxxLarge:qa,fontWeightBold:Ja,fontWeightExtraBold:Ka,fontWeightNormal:Ya,fontWeightSemiBold:Za,letterSpacingHeading:$a,lineHeightMedium:ro,lineHeightSmall:ao,lineHeightXSmall:oo,mediaQueryLarge:eo,mediaQueryMedium:vo,mediaQuerySmall:lo,mediaQueryXLarge:go,mediaQueryXSmall:co,mediaQueryXxLarge:io,mediaQueryXxSmall:bo,mediaQueryXxxLarge:to,mediaQueryXxxSmall:no,opacity30:so,opacity50:uo,opacity75:po,opacity85:xo,radiusCircle:mo,radiusDefault:yo,radiusIntermediate:So,radiusLarge:To,radiusMedium:Lo,radiusPill:ho,radiusSharp:Do,shadowCard:zo,shadowCardTurva:Io,shadowDefault:Go,shadowDefaultTurva:Bo,shadowError:wo,shadowErrorTurva:fo,shadowFocus:Xo,shadowFocusInput:Wo,shadowFocusInputTurva:Mo,shadowFocusTurva:ko,shadowHover:Co,shadowHoverInput:Ho,shadowHoverInputTurva:Fo,shadowHoverTurva:Ro,shadowModal:Po,shadowTooltip:Uo,shadowTooltipTurva:Eo,sizeButtonBorder:jo,sizeButtonMinWidth:Qo,sizeButtonTinyBorder:Ao,sizeFormBorder:_o,sizeHeader:No,sizeIconLarge:Oo,sizeIconMedium:Vo,sizeIconSmall:qo,sizeIconXLarge:Jo,sizeIconXSmall:Ko,sizeIconXxLarge:Yo,sizeIconXxSmall:Zo,sizeIconXxxLarge:$o,sizeIconXxxSmall:re,sizeLayoutMaxWidth:ae,sizeMediumBorder:oe,sizeNavigation:ee,sizeStepMedium:ve,sizeStepSmall:le,sizeTappableSquare:ge,spaceLarge:ce,spaceMedium:ie,spaceSmall:be,spaceXLarge:te,spaceXSmall:ne,spaceXxLarge:se,spaceXxSmall:ue,spaceXxxLarge:pe,spaceXxxSmall:xe,spaceXxxxLarge:me,spaceXxxxxLarge:de,transitionQuickly:ye,transitionSlowly:Se,zIndexDeep:Te,zIndexDefault:Le,zIndexDropdown:he,zIndexHeader:De,zIndexMask:ze,zIndexMaskButtons:Ie,zIndexMasked:Ge,zIndexModal:Be,zIndexOverlay:we,zIndexPopup:fe,zIndexSpinner:Xe,zIndexSticky:We,zIndexToast:Me});r("t",ke)}}}));