@duetds/components 10.0.0-alpha.8 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1238) hide show
  1. package/hydrate/index.d.ts +38 -7
  2. package/hydrate/index.js +11723 -4211
  3. package/hydrate/index.mjs +46153 -0
  4. package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
  5. package/lib/cjs/a11y-utils-DmZK4TTO.js +46 -0
  6. package/lib/cjs/action-arrow-down-small-CDsSJFvZ.js +21 -0
  7. package/lib/cjs/action-new-window-small-BWlVx6YN.js +21 -0
  8. package/lib/cjs/{app-globals-99f2f39f.js → app-globals-C35yvbFy.js} +2 -2
  9. package/lib/cjs/{common-strings-2984301e.js → common-strings-CC6Xpjb8.js} +30 -0
  10. package/lib/cjs/duet-action-button.cjs.entry.js +84 -29
  11. package/lib/cjs/duet-alert.cjs.entry.js +106 -49
  12. package/lib/cjs/duet-badge.cjs.entry.js +31 -9
  13. package/lib/cjs/duet-banner.cjs.entry.js +71 -28
  14. package/lib/cjs/duet-breadcrumb.cjs.entry.js +37 -26
  15. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +20 -14
  16. package/lib/cjs/duet-button_2.cjs.entry.js +152 -72
  17. package/lib/cjs/duet-callout.cjs.entry.js +13 -10
  18. package/lib/cjs/duet-caption_4.cjs.entry.js +212 -46
  19. package/lib/cjs/duet-card.cjs.entry.js +93 -35
  20. package/lib/cjs/duet-checkbox.cjs.entry.js +68 -32
  21. package/lib/cjs/duet-checkmark.cjs.entry.js +21 -9
  22. package/lib/cjs/duet-chip.cjs.entry.js +356 -0
  23. package/lib/cjs/duet-choice_2.cjs.entry.js +279 -130
  24. package/lib/cjs/duet-collapsible.cjs.entry.js +92 -33
  25. package/lib/cjs/duet-combobox.cjs.entry.js +99 -58
  26. package/lib/cjs/duet-contact-card.cjs.entry.js +17 -18
  27. package/lib/cjs/duet-cookie-consent.cjs.entry.js +14 -11
  28. package/lib/cjs/duet-date-picker.cjs.entry.js +158 -57
  29. package/lib/cjs/duet-divider_2.cjs.entry.js +30 -14
  30. package/lib/cjs/duet-editable-table_3.cjs.entry.js +556 -210
  31. package/lib/cjs/duet-empty-state.cjs.entry.js +15 -9
  32. package/lib/cjs/duet-fieldset.cjs.entry.js +51 -18
  33. package/lib/cjs/duet-file-chooser.cjs.entry.js +18 -11
  34. package/lib/cjs/duet-footer.cjs.entry.js +56 -30
  35. package/lib/cjs/duet-grid_2.cjs.entry.js +165 -64
  36. package/lib/cjs/duet-header_2.cjs.entry.js +302 -91
  37. package/lib/cjs/duet-hero.cjs.entry.js +159 -35
  38. package/lib/cjs/duet-icon.cjs.entry.js +64 -20
  39. package/lib/cjs/duet-indicator.cjs.entry.js +61 -0
  40. package/lib/cjs/duet-input_2.cjs.entry.js +225 -86
  41. package/lib/cjs/duet-layout.cjs.entry.js +33 -13
  42. package/lib/cjs/duet-list_2.cjs.entry.js +58 -14
  43. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +24 -16
  44. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +19 -14
  45. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +21 -16
  46. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +40 -19
  47. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +18 -10
  48. package/lib/cjs/duet-menu-bar.cjs.entry.js +37 -59
  49. package/lib/cjs/duet-modal.cjs.entry.js +122 -35
  50. package/lib/cjs/duet-multiselect.cjs.entry.js +88 -42
  51. package/lib/cjs/duet-nav.cjs.entry.js +12 -8
  52. package/lib/cjs/duet-notification_2.cjs.entry.js +98 -32
  53. package/lib/cjs/duet-number-input.cjs.entry.js +191 -70
  54. package/lib/cjs/duet-overlay.cjs.entry.js +36 -14
  55. package/lib/cjs/duet-page-heading.cjs.entry.js +16 -11
  56. package/lib/cjs/duet-pagination_2.cjs.entry.js +162 -87
  57. package/lib/cjs/duet-panel.cjs.entry.js +52 -0
  58. package/lib/cjs/duet-phone-input.cjs.entry.js +2072 -0
  59. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +550 -0
  60. package/lib/cjs/duet-progress.cjs.entry.js +32 -13
  61. package/lib/cjs/duet-promo-card.cjs.entry.js +27 -13
  62. package/lib/cjs/duet-radio_2.cjs.entry.js +114 -55
  63. package/lib/cjs/duet-range-slider.cjs.entry.js +73 -37
  64. package/lib/cjs/duet-scrollable_3.cjs.entry.js +245 -91
  65. package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
  66. package/lib/cjs/duet-select.cjs.entry.js +89 -46
  67. package/lib/cjs/duet-shaped-image.cjs.entry.js +16 -11
  68. package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
  69. package/lib/cjs/duet-share-chart.cjs.entry.js +85 -0
  70. package/lib/cjs/duet-show-more.cjs.entry.js +81 -38
  71. package/lib/cjs/duet-slideout-lang.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-slideout-link.cjs.entry.js +61 -10
  73. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +25 -14
  74. package/lib/cjs/duet-slideout-panel.cjs.entry.js +50 -36
  75. package/lib/cjs/duet-slideout.cjs.entry.js +85 -52
  76. package/lib/cjs/duet-status-icon.cjs.entry.js +28 -15
  77. package/lib/cjs/duet-step_2.cjs.entry.js +72 -24
  78. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +25 -10
  79. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +27 -18
  80. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +40 -19
  81. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +18 -9
  82. package/lib/cjs/duet-submenu-bar.cjs.entry.js +27 -21
  83. package/lib/cjs/duet-textarea.cjs.entry.js +146 -71
  84. package/lib/cjs/duet-toggle.cjs.entry.js +50 -29
  85. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +22 -11
  86. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +27 -16
  87. package/lib/cjs/duet-toolbar-item.cjs.entry.js +46 -19
  88. package/lib/cjs/duet-toolbar-link.cjs.entry.js +21 -10
  89. package/lib/cjs/duet-toolbar.cjs.entry.js +12 -10
  90. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +24 -27
  91. package/lib/cjs/duet-tooltip.cjs.entry.js +98 -46
  92. package/lib/cjs/duet-tray.cjs.entry.js +63 -24
  93. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +30 -11
  94. package/lib/cjs/duet-upload-item.cjs.entry.js +12 -22
  95. package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -7
  96. package/lib/cjs/duet.cjs.js +8 -8
  97. package/lib/cjs/{errorcodes.utils-2db03da6.js → errorcodes.utils-lNwivqkj.js} +2 -2
  98. package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
  99. package/lib/cjs/{focus-utils-5578a0a5.js → focus-utils-DFa0zwT7.js} +1 -1
  100. package/lib/cjs/form-search-CzPfHB80.js +21 -0
  101. package/lib/cjs/{index-9c3aea30.js → index-C0kw3uAi.js} +1863 -1363
  102. package/lib/cjs/{label-a742a2d5.js → label-BJ7gT5C1.js} +1 -1
  103. package/lib/cjs/{language-utils-9499975c.js → language-utils-v37OZJFe.js} +10 -2
  104. package/lib/cjs/loader.cjs.js +3 -5
  105. package/lib/cjs/{slot-utils-799906b5.js → slot-utils-DFmRJ2pY.js} +6 -1
  106. package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
  107. package/lib/cjs/themeable-component-BEm0vuJc.js +74 -0
  108. package/lib/cjs/{token-utils-5000595c.js → token-utils-BJtlJxnJ.js} +80 -9
  109. package/lib/cjs/{tokens-57e06fe4.js → tokens-BxWzRxOl.js} +150 -8
  110. package/lib/cjs/{tokens.module-7c947029.js → tokens.module-DJt2h4FX.js} +99 -3
  111. package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
  112. package/lib/collection/collection-manifest.json +6 -1
  113. package/lib/collection/common/themeable-component.js +61 -3
  114. package/lib/collection/common-strings.js +28 -0
  115. package/lib/collection/components/duet-action-button/duet-action-button.css +29 -12
  116. package/lib/collection/components/duet-action-button/duet-action-button.js +92 -33
  117. package/lib/collection/components/duet-alert/duet-alert.css +96 -58
  118. package/lib/collection/components/duet-alert/duet-alert.js +145 -58
  119. package/lib/collection/components/duet-badge/duet-badge.css +24 -9
  120. package/lib/collection/components/duet-badge/duet-badge.js +30 -6
  121. package/lib/collection/components/duet-banner/duet-banner.css +51 -24
  122. package/lib/collection/components/duet-banner/duet-banner.js +94 -29
  123. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -8
  124. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +26 -28
  125. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +18 -7
  126. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
  127. package/lib/collection/components/duet-button/duet-button.css +170 -48
  128. package/lib/collection/components/duet-button/duet-button.js +170 -89
  129. package/lib/collection/components/duet-callout/duet-callout.css +7 -2
  130. package/lib/collection/components/duet-callout/duet-callout.js +10 -4
  131. package/lib/collection/components/duet-caption/duet-caption.css +7 -3
  132. package/lib/collection/components/duet-caption/duet-caption.js +18 -6
  133. package/lib/collection/components/duet-card/duet-card.css +48 -16
  134. package/lib/collection/components/duet-card/duet-card.js +131 -37
  135. package/lib/collection/components/duet-checkbox/duet-checkbox.css +30 -8
  136. package/lib/collection/components/duet-checkbox/duet-checkbox.js +86 -47
  137. package/lib/collection/components/duet-chip/duet-chip.css +66 -25
  138. package/lib/collection/components/duet-chip/duet-chip.js +67 -35
  139. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  140. package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
  141. package/lib/collection/components/duet-choice/duet-choice.css +160 -40
  142. package/lib/collection/components/duet-choice/duet-choice.js +241 -139
  143. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  144. package/lib/collection/components/duet-choice-group/duet-choice-group.js +109 -48
  145. package/lib/collection/components/duet-collapsible/duet-collapsible.css +36 -13
  146. package/lib/collection/components/duet-collapsible/duet-collapsible.js +97 -35
  147. package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
  148. package/lib/collection/components/duet-combobox/duet-combobox.js +103 -56
  149. package/lib/collection/components/duet-contact-card/duet-contact-card.css +8 -4
  150. package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
  151. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +23 -14
  152. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +11 -5
  153. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  154. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  155. package/lib/collection/components/duet-date-picker/duet-date-picker.css +102 -45
  156. package/lib/collection/components/duet-date-picker/duet-date-picker.js +172 -69
  157. package/lib/collection/components/duet-divider/duet-divider.css +12 -6
  158. package/lib/collection/components/duet-divider/duet-divider.js +14 -4
  159. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  160. package/lib/collection/components/duet-editable-table/duet-editable-table.js +83 -26
  161. package/lib/collection/components/duet-empty-state/duet-empty-state.css +11 -6
  162. package/lib/collection/components/duet-empty-state/duet-empty-state.js +14 -5
  163. package/lib/collection/components/duet-fieldset/duet-fieldset.css +13 -6
  164. package/lib/collection/components/duet-fieldset/duet-fieldset.js +58 -20
  165. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  166. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +17 -7
  167. package/lib/collection/components/duet-footer/duet-footer.css +43 -14
  168. package/lib/collection/components/duet-footer/duet-footer.js +55 -27
  169. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  170. package/lib/collection/components/duet-grid/duet-grid.js +144 -67
  171. package/lib/collection/components/duet-grid-item/duet-grid-item.css +6 -2
  172. package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
  173. package/lib/collection/components/duet-header/duet-header.css +165 -65
  174. package/lib/collection/components/duet-header/duet-header.js +165 -76
  175. package/lib/collection/components/duet-heading/duet-heading.css +11 -6
  176. package/lib/collection/components/duet-heading/duet-heading.js +56 -12
  177. package/lib/collection/components/duet-hero/duet-hero.css +326 -18
  178. package/lib/collection/components/duet-hero/duet-hero.js +197 -51
  179. package/lib/collection/components/duet-icon/duet-icon.css +17 -5
  180. package/lib/collection/components/duet-icon/duet-icon.js +71 -24
  181. package/lib/collection/components/duet-indicator/duet-indicator.css +50 -0
  182. package/lib/collection/components/duet-indicator/duet-indicator.js +138 -0
  183. package/lib/collection/components/duet-input/duet-input.css +159 -53
  184. package/lib/collection/components/duet-input/duet-input.js +315 -141
  185. package/lib/collection/components/duet-label/duet-label.css +8 -4
  186. package/lib/collection/components/duet-label/duet-label.js +23 -8
  187. package/lib/collection/components/duet-layout/duet-layout.css +4 -4
  188. package/lib/collection/components/duet-layout/duet-layout.js +35 -12
  189. package/lib/collection/components/duet-link/duet-link.css +144 -25
  190. package/lib/collection/components/duet-link/duet-link.js +120 -32
  191. package/lib/collection/components/duet-list/duet-list.css +4 -4
  192. package/lib/collection/components/duet-list/duet-list.js +38 -9
  193. package/lib/collection/components/duet-list-item/duet-list-item.css +29 -9
  194. package/lib/collection/components/duet-list-item/duet-list-item.js +50 -4
  195. package/lib/collection/components/duet-logo/duet-logo.css +36 -8
  196. package/lib/collection/components/duet-logo/duet-logo.js +111 -11
  197. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +108 -6
  198. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +59 -58
  199. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +17 -8
  200. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +33 -22
  201. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +28 -12
  202. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +20 -12
  203. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +19 -9
  204. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +18 -10
  205. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +28 -10
  206. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +39 -16
  207. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +25 -10
  208. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
  209. package/lib/collection/components/duet-modal/duet-modal.css +23 -25
  210. package/lib/collection/components/duet-modal/duet-modal.js +193 -39
  211. package/lib/collection/components/duet-multiselect/duet-multiselect.css +70 -29
  212. package/lib/collection/components/duet-multiselect/duet-multiselect.js +98 -48
  213. package/lib/collection/components/duet-nav/duet-nav.css +8 -4
  214. package/lib/collection/components/duet-nav/duet-nav.js +10 -3
  215. package/lib/collection/components/duet-notification/duet-notification.css +33 -26
  216. package/lib/collection/components/duet-notification/duet-notification.js +46 -9
  217. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +38 -36
  218. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +57 -24
  219. package/lib/collection/components/duet-number-input/duet-number-input.css +29 -14
  220. package/lib/collection/components/duet-number-input/duet-number-input.js +204 -103
  221. package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
  222. package/lib/collection/components/duet-overlay/duet-overlay.js +40 -15
  223. package/lib/collection/components/duet-page-heading/duet-page-heading.css +44 -16
  224. package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
  225. package/lib/collection/components/duet-pagination/duet-pagination.css +8 -4
  226. package/lib/collection/components/duet-pagination/duet-pagination.js +130 -76
  227. package/lib/collection/components/duet-panel/duet-panel.css +99 -0
  228. package/lib/collection/components/duet-panel/duet-panel.js +233 -0
  229. package/lib/collection/components/duet-paragraph/duet-paragraph.css +19 -6
  230. package/lib/collection/components/duet-paragraph/duet-paragraph.js +29 -8
  231. package/lib/collection/components/duet-phone-input/duet-phone-input.css +64 -0
  232. package/lib/collection/components/duet-phone-input/duet-phone-input.js +930 -0
  233. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +14 -6
  234. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +245 -91
  235. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +30 -12
  236. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +64 -29
  237. package/lib/collection/components/duet-progress/duet-progress.css +27 -8
  238. package/lib/collection/components/duet-progress/duet-progress.js +36 -14
  239. package/lib/collection/components/duet-promo-card/duet-promo-card.css +18 -12
  240. package/lib/collection/components/duet-promo-card/duet-promo-card.js +47 -11
  241. package/lib/collection/components/duet-radio/duet-radio.css +41 -8
  242. package/lib/collection/components/duet-radio/duet-radio.js +67 -49
  243. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  244. package/lib/collection/components/duet-radio-group/duet-radio-group.js +78 -30
  245. package/lib/collection/components/duet-range-slider/duet-range-slider.css +63 -18
  246. package/lib/collection/components/duet-range-slider/duet-range-slider.js +85 -46
  247. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +8 -4
  248. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +43 -14
  249. package/lib/collection/components/duet-scrollable/duet-scrollable.css +36 -25
  250. package/lib/collection/components/duet-scrollable/duet-scrollable.js +175 -31
  251. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
  252. package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
  253. package/lib/collection/components/duet-select/duet-select.css +54 -23
  254. package/lib/collection/components/duet-select/duet-select.js +109 -63
  255. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  256. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
  257. package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
  258. package/lib/collection/components/duet-share-chart/duet-share-chart.js +141 -0
  259. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
  260. package/lib/collection/components/duet-show-more/duet-show-more.css +15 -8
  261. package/lib/collection/components/duet-show-more/duet-show-more.js +87 -37
  262. package/lib/collection/components/duet-slideout/duet-slideout.css +72 -40
  263. package/lib/collection/components/duet-slideout/duet-slideout.js +88 -50
  264. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +10 -6
  265. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
  266. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +41 -13
  267. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +135 -12
  268. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +63 -40
  269. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +47 -30
  270. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +29 -16
  271. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +25 -11
  272. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  273. package/lib/collection/components/duet-spacer/duet-spacer.js +14 -4
  274. package/lib/collection/components/duet-spinner/duet-spinner.css +10 -16
  275. package/lib/collection/components/duet-spinner/duet-spinner.js +21 -23
  276. package/lib/collection/components/duet-status-icon/duet-status-icon.js +30 -15
  277. package/lib/collection/components/duet-step/duet-step.css +28 -13
  278. package/lib/collection/components/duet-step/duet-step.js +25 -16
  279. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  280. package/lib/collection/components/duet-stepper/duet-stepper.js +45 -10
  281. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +34 -16
  282. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +25 -16
  283. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +49 -15
  284. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +25 -13
  285. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +29 -8
  286. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +26 -8
  287. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +33 -10
  288. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +38 -15
  289. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +34 -9
  290. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
  291. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  292. package/lib/collection/components/duet-tab/duet-tab.js +88 -24
  293. package/lib/collection/components/duet-tab-group/duet-tab-group.css +131 -85
  294. package/lib/collection/components/duet-tab-group/duet-tab-group.js +175 -52
  295. package/lib/collection/components/duet-table/duet-table-styles.js +68 -4
  296. package/lib/collection/components/duet-table/duet-table.js +43 -14
  297. package/lib/collection/components/duet-textarea/duet-textarea.css +67 -22
  298. package/lib/collection/components/duet-textarea/duet-textarea.js +227 -99
  299. package/lib/collection/components/duet-toggle/duet-toggle.css +26 -10
  300. package/lib/collection/components/duet-toggle/duet-toggle.js +62 -38
  301. package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -4
  302. package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
  303. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +42 -12
  304. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +28 -14
  305. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +21 -8
  306. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +23 -9
  307. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +52 -30
  308. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
  309. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +60 -10
  310. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
  311. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +24 -14
  312. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
  313. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +48 -16
  314. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +18 -14
  315. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  316. package/lib/collection/components/duet-tooltip/duet-tooltip.js +100 -45
  317. package/lib/collection/components/duet-tray/duet-tray.css +43 -27
  318. package/lib/collection/components/duet-tray/duet-tray.js +63 -21
  319. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  320. package/lib/collection/components/duet-upload/duet-upload.js +419 -213
  321. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +35 -13
  322. package/lib/collection/components/duet-upload-item/duet-upload-item.js +17 -18
  323. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  324. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  325. package/lib/collection/data/countries.js +1762 -0
  326. package/lib/collection/index.js +1 -0
  327. package/lib/collection/utils/a11y-utils.js +20 -0
  328. package/lib/collection/utils/language-utils.js +7 -0
  329. package/lib/collection/utils/slot-utils.js +4 -0
  330. package/lib/collection/utils/teleport.js +22 -7
  331. package/lib/collection/utils/test-utils.js +2 -2
  332. package/lib/collection/utils/token-utils.js +59 -7
  333. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  334. package/lib/duet/duet.esm.js +1 -1
  335. package/lib/duet/p-0393a2ca.entry.js +4 -0
  336. package/lib/duet/p-0b8da007.entry.js +4 -0
  337. package/lib/duet/p-0d2652f7.entry.js +4 -0
  338. package/lib/duet/p-0f746b98.entry.js +4 -0
  339. package/lib/duet/p-1061ece7.entry.js +4 -0
  340. package/lib/duet/p-10b89587.entry.js +4 -0
  341. package/lib/duet/p-155804fc.entry.js +4 -0
  342. package/lib/duet/p-1695a1dd.entry.js +4 -0
  343. package/lib/duet/p-1c122e53.entry.js +4 -0
  344. package/lib/duet/p-1ede805a.entry.js +4 -0
  345. package/lib/duet/p-1fc5668c.entry.js +4 -0
  346. package/lib/duet/p-203c2af3.entry.js +4 -0
  347. package/lib/duet/p-2170d5a6.entry.js +4 -0
  348. package/lib/duet/{p-98c15b83.entry.js → p-2292ac97.entry.js} +1 -1
  349. package/lib/duet/p-23719bbb.entry.js +4 -0
  350. package/lib/duet/p-25a8b510.entry.js +4 -0
  351. package/lib/duet/p-267d0b7d.entry.js +4 -0
  352. package/lib/duet/{p-bfafaac4.entry.js → p-333694e4.entry.js} +1 -1
  353. package/lib/duet/p-36e58097.entry.js +4 -0
  354. package/lib/duet/p-38159827.entry.js +4 -0
  355. package/lib/duet/p-3968d0e9.entry.js +4 -0
  356. package/lib/duet/p-39775eb6.entry.js +4 -0
  357. package/lib/duet/p-3f940846.entry.js +4 -0
  358. package/lib/duet/p-3fbe4a4b.entry.js +4 -0
  359. package/lib/duet/p-3hcgvjwC.js +4 -0
  360. package/lib/duet/p-40dc43ed.entry.js +4 -0
  361. package/lib/duet/p-4203ad81.entry.js +4 -0
  362. package/lib/duet/p-42c15472.entry.js +4 -0
  363. package/lib/duet/p-43129496.entry.js +4 -0
  364. package/lib/duet/p-44e37a84.entry.js +4 -0
  365. package/lib/duet/p-451c55fb.entry.js +4 -0
  366. package/lib/duet/p-475cc911.entry.js +4 -0
  367. package/lib/duet/p-47d446f9.entry.js +4 -0
  368. package/lib/duet/p-4966dc81.entry.js +4 -0
  369. package/lib/duet/{p-15ecb8d0.entry.js → p-4a86aee3.entry.js} +1 -1
  370. package/lib/duet/p-4cc6fbda.entry.js +4 -0
  371. package/lib/duet/p-4d49d2ad.entry.js +4 -0
  372. package/lib/duet/p-529c4873.entry.js +4 -0
  373. package/lib/duet/p-53cb5ddf.entry.js +4 -0
  374. package/lib/duet/p-55243d88.entry.js +4 -0
  375. package/lib/duet/p-581d7bf3.entry.js +4 -0
  376. package/lib/duet/p-58ab58da.entry.js +4 -0
  377. package/lib/duet/p-58f95bf2.entry.js +4 -0
  378. package/lib/duet/p-5c89aaf2.entry.js +4 -0
  379. package/lib/duet/p-5e15625d.entry.js +4 -0
  380. package/lib/duet/p-5iZMFvpJ.js +4 -0
  381. package/lib/duet/p-6be3d1ac.entry.js +4 -0
  382. package/lib/duet/p-6cb3031c.entry.js +4 -0
  383. package/lib/duet/p-7a4f44c2.entry.js +4 -0
  384. package/lib/duet/p-7b820413.entry.js +4 -0
  385. package/lib/duet/p-7be47e32.entry.js +4 -0
  386. package/lib/duet/{p-6138ae4f.entry.js → p-7d3681f4.entry.js} +1 -1
  387. package/lib/duet/p-80fd305f.entry.js +4 -0
  388. package/lib/duet/p-85074a3f.entry.js +4 -0
  389. package/lib/duet/p-871323e5.entry.js +4 -0
  390. package/lib/duet/p-88682993.entry.js +4 -0
  391. package/lib/duet/p-8885f050.entry.js +4 -0
  392. package/lib/duet/p-89c4434a.entry.js +4 -0
  393. package/lib/duet/p-8a5a900e.entry.js +4 -0
  394. package/lib/duet/p-96725230.entry.js +4 -0
  395. package/lib/duet/p-9c2ad6b1.entry.js +4 -0
  396. package/lib/duet/p-BDAqOMlM.js +4 -0
  397. package/lib/duet/p-BVgBUIYF.js +4 -0
  398. package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
  399. package/lib/duet/p-BdCvOZ0R.js +4 -0
  400. package/lib/duet/p-Bg75Vqqq.js +4 -0
  401. package/lib/duet/p-BmMFVM-y.js +4 -0
  402. package/lib/duet/{p-5e9210a0.js → p-CDjWio68.js} +1 -1
  403. package/lib/duet/p-CVPfl9fc.js +4 -0
  404. package/lib/duet/p-CXz8FCgk.js +4 -0
  405. package/lib/duet/p-CooAqTCj.js +4 -0
  406. package/lib/duet/p-DEoH9jLj.js +4 -0
  407. package/lib/duet/p-DOuLHrH5.js +4 -0
  408. package/lib/duet/p-DXnMp1Z1.js +4 -0
  409. package/lib/duet/p-DYyVxyo8.js +4 -0
  410. package/lib/duet/{p-a45e3f8b.js → p-Db8rvjPI.js} +1 -1
  411. package/lib/duet/p-DvwKrUS6.js +4 -0
  412. package/lib/duet/p-EZOAO_vc.js +5 -0
  413. package/lib/duet/p-Tof9ag29.js +4 -0
  414. package/lib/duet/p-a05d9667.entry.js +4 -0
  415. package/lib/duet/p-a109719f.entry.js +4 -0
  416. package/lib/duet/p-a2c4fa32.entry.js +4 -0
  417. package/lib/duet/p-a3a61c66.entry.js +4 -0
  418. package/lib/duet/p-ac2a957c.entry.js +4 -0
  419. package/lib/duet/p-b4541648.entry.js +4 -0
  420. package/lib/duet/p-b4bf40a5.entry.js +4 -0
  421. package/lib/duet/p-b7d0d9fa.entry.js +4 -0
  422. package/lib/duet/p-baa33e33.entry.js +4 -0
  423. package/lib/duet/p-bd1c363d.entry.js +4 -0
  424. package/lib/duet/p-bda426ce.entry.js +4 -0
  425. package/lib/duet/p-c010c504.entry.js +4 -0
  426. package/lib/duet/p-c14ad166.entry.js +4 -0
  427. package/lib/duet/p-c3a79627.entry.js +4 -0
  428. package/lib/duet/p-d06af257.entry.js +4 -0
  429. package/lib/duet/p-d70babeb.entry.js +4 -0
  430. package/lib/duet/p-dc3f731a.entry.js +4 -0
  431. package/lib/duet/p-dc50ce9f.entry.js +4 -0
  432. package/lib/duet/p-dc53f89d.entry.js +4 -0
  433. package/lib/duet/p-e0054c71.entry.js +4 -0
  434. package/lib/duet/p-e26fee5b.entry.js +4 -0
  435. package/lib/duet/p-e528ba03.entry.js +4 -0
  436. package/lib/duet/p-e80de2cb.entry.js +4 -0
  437. package/lib/duet/p-eb6c0729.entry.js +4 -0
  438. package/lib/duet/p-ef206ef5.entry.js +4 -0
  439. package/lib/duet/p-f2fadb27.entry.js +4 -0
  440. package/lib/duet/p-fcbdf07c.entry.js +4 -0
  441. package/lib/duet/p-vVCYtBMj.js +4 -0
  442. package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
  443. package/lib/esm/a11y-utils-By9FOQXs.js +43 -0
  444. package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
  445. package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
  446. package/lib/esm/{app-globals-f12e0500.js → app-globals-xm_WC7uO.js} +2 -2
  447. package/lib/esm/common-strings-CVPfl9fc.js +53 -0
  448. package/lib/esm/duet-action-button.entry.js +84 -27
  449. package/lib/esm/duet-alert.entry.js +106 -47
  450. package/lib/esm/duet-badge.entry.js +31 -7
  451. package/lib/esm/duet-banner.entry.js +71 -26
  452. package/lib/esm/duet-breadcrumb.entry.js +38 -25
  453. package/lib/esm/duet-breadcrumbs.entry.js +20 -12
  454. package/lib/esm/duet-button_2.entry.js +152 -70
  455. package/lib/esm/duet-callout.entry.js +13 -8
  456. package/lib/esm/duet-caption_4.entry.js +212 -44
  457. package/lib/esm/duet-card.entry.js +93 -33
  458. package/lib/esm/duet-checkbox.entry.js +68 -30
  459. package/lib/esm/duet-checkmark.entry.js +21 -7
  460. package/lib/esm/duet-chip.entry.js +354 -0
  461. package/lib/esm/duet-choice_2.entry.js +280 -129
  462. package/lib/esm/duet-collapsible.entry.js +92 -31
  463. package/lib/esm/duet-combobox.entry.js +99 -56
  464. package/lib/esm/duet-contact-card.entry.js +17 -16
  465. package/lib/esm/duet-cookie-consent.entry.js +14 -9
  466. package/lib/esm/duet-date-picker.entry.js +158 -55
  467. package/lib/esm/duet-divider_2.entry.js +30 -12
  468. package/lib/esm/duet-editable-table_3.entry.js +556 -208
  469. package/lib/esm/duet-empty-state.entry.js +15 -7
  470. package/lib/esm/duet-fieldset.entry.js +51 -16
  471. package/lib/esm/duet-file-chooser.entry.js +18 -9
  472. package/lib/esm/duet-footer.entry.js +56 -28
  473. package/lib/esm/duet-grid_2.entry.js +165 -62
  474. package/lib/esm/duet-header_2.entry.js +303 -90
  475. package/lib/esm/duet-hero.entry.js +159 -33
  476. package/lib/esm/duet-icon.entry.js +64 -18
  477. package/lib/esm/duet-indicator.entry.js +59 -0
  478. package/lib/esm/duet-input_2.entry.js +226 -85
  479. package/lib/esm/duet-layout.entry.js +33 -11
  480. package/lib/esm/duet-list_2.entry.js +58 -12
  481. package/lib/esm/duet-menu-bar-button.entry.js +24 -14
  482. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
  483. package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
  484. package/lib/esm/duet-menu-bar-item.entry.js +40 -17
  485. package/lib/esm/duet-menu-bar-link.entry.js +18 -8
  486. package/lib/esm/duet-menu-bar.entry.js +37 -57
  487. package/lib/esm/duet-modal.entry.js +122 -33
  488. package/lib/esm/duet-multiselect.entry.js +88 -40
  489. package/lib/esm/duet-nav.entry.js +12 -6
  490. package/lib/esm/duet-notification_2.entry.js +98 -30
  491. package/lib/esm/duet-number-input.entry.js +192 -69
  492. package/lib/esm/duet-overlay.entry.js +36 -12
  493. package/lib/esm/duet-page-heading.entry.js +16 -9
  494. package/lib/esm/duet-pagination_2.entry.js +162 -85
  495. package/lib/esm/duet-panel.entry.js +50 -0
  496. package/lib/esm/duet-phone-input.entry.js +2070 -0
  497. package/lib/esm/duet-popup-menu_2.entry.js +547 -0
  498. package/lib/esm/duet-progress.entry.js +32 -11
  499. package/lib/esm/duet-promo-card.entry.js +27 -11
  500. package/lib/esm/duet-radio_2.entry.js +114 -53
  501. package/lib/esm/duet-range-slider.entry.js +73 -35
  502. package/lib/esm/duet-scrollable_3.entry.js +245 -89
  503. package/lib/esm/duet-section-layout.entry.js +17 -8
  504. package/lib/esm/duet-select.entry.js +89 -44
  505. package/lib/esm/duet-shaped-image.entry.js +16 -9
  506. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  507. package/lib/esm/duet-share-chart.entry.js +83 -0
  508. package/lib/esm/duet-show-more.entry.js +81 -36
  509. package/lib/esm/duet-slideout-lang.entry.js +10 -8
  510. package/lib/esm/duet-slideout-link.entry.js +61 -8
  511. package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
  512. package/lib/esm/duet-slideout-panel.entry.js +50 -34
  513. package/lib/esm/duet-slideout.entry.js +85 -50
  514. package/lib/esm/duet-status-icon.entry.js +28 -13
  515. package/lib/esm/duet-step_2.entry.js +73 -23
  516. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
  517. package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
  518. package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
  519. package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
  520. package/lib/esm/duet-submenu-bar.entry.js +27 -19
  521. package/lib/esm/duet-textarea.entry.js +146 -69
  522. package/lib/esm/duet-toggle.entry.js +50 -27
  523. package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
  524. package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
  525. package/lib/esm/duet-toolbar-item.entry.js +46 -17
  526. package/lib/esm/duet-toolbar-link.entry.js +21 -8
  527. package/lib/esm/duet-toolbar.entry.js +12 -8
  528. package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
  529. package/lib/esm/duet-tooltip.entry.js +97 -43
  530. package/lib/esm/duet-tray.entry.js +63 -22
  531. package/lib/esm/duet-upload-aria-status.entry.js +30 -9
  532. package/lib/esm/duet-upload-item.entry.js +12 -20
  533. package/lib/esm/duet-visually-hidden.entry.js +4 -5
  534. package/lib/esm/duet.js +7 -6
  535. package/lib/esm/{errorcodes.utils-d594aed8.js → errorcodes.utils-By8gaKwQ.js} +3 -3
  536. package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
  537. package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-BVqqQKeY.js} +1 -1
  538. package/lib/esm/form-search-CevX33LA.js +19 -0
  539. package/lib/esm/{index-fa810c91.js → index-EZOAO_vc.js} +1861 -1359
  540. package/lib/{dist-custom-elements/p-8db11326.js → esm/keyboard-utils-Db8rvjPI.js} +1 -1
  541. package/lib/{dist-custom-elements/p-42619f94.js → esm/label-Dji6BDQC.js} +1 -1
  542. package/lib/esm/{language-utils-35eb1c9f.js → language-utils-COd-eoxb.js} +10 -3
  543. package/lib/esm/loader.js +4 -4
  544. package/lib/esm/{slot-utils-b2101c56.js → slot-utils-BSu3Mnho.js} +6 -2
  545. package/lib/{dist-custom-elements/p-ca3cb21e.js → esm/teleport-CooAqTCj.js} +22 -7
  546. package/lib/esm/themeable-component-spmVa3d3.js +72 -0
  547. package/lib/{dist-custom-elements/p-0562173d.js → esm/token-utils-Dks4GBDa.js} +80 -10
  548. package/lib/esm/{tokens-84fb2357.js → tokens-DOuLHrH5.js} +151 -7
  549. package/lib/esm/{tokens.module-2d02f5ff.js → tokens.module-BDAqOMlM.js} +100 -4
  550. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
  551. package/lib/index.js +1 -1
  552. package/lib/loader/cdn.js +1 -2
  553. package/lib/loader/index.cjs.js +1 -2
  554. package/lib/loader/index.es2017.js +0 -1
  555. package/lib/loader/index.js +1 -2
  556. package/lib/types/common-strings.d.ts +3 -0
  557. package/lib/types/common-types.d.ts +1 -1
  558. package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
  559. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  560. package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
  561. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  562. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  563. package/lib/types/components/duet-card/duet-card.d.ts +10 -0
  564. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  565. package/lib/types/components/duet-choice/duet-choice.d.ts +4 -8
  566. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
  567. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -1
  568. package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -0
  569. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
  570. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
  571. package/lib/types/components/duet-grid/duet-grid.d.ts +9 -7
  572. package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
  573. package/lib/types/components/duet-hero/duet-hero.d.ts +9 -0
  574. package/lib/types/components/duet-indicator/duet-indicator.d.ts +24 -0
  575. package/lib/types/components/duet-input/duet-input.d.ts +25 -16
  576. package/lib/types/components/duet-link/duet-link.d.ts +3 -0
  577. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  578. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  579. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  580. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  581. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  582. package/lib/types/components/duet-number-input/duet-number-input.d.ts +13 -8
  583. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  584. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  585. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  586. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +178 -0
  587. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +21 -7
  588. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  589. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
  590. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  591. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +19 -0
  592. package/lib/types/components/duet-select/duet-select.d.ts +2 -1
  593. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  594. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  595. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  596. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -5
  597. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
  598. package/lib/types/components/duet-spinner/duet-spinner.d.ts +6 -3
  599. package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
  600. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  601. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  602. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +10 -0
  603. package/lib/types/components/duet-textarea/duet-textarea.d.ts +21 -9
  604. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  605. package/lib/types/components.d.ts +2440 -130
  606. package/lib/types/data/countries.d.ts +22 -0
  607. package/lib/types/index.d.ts +1 -0
  608. package/lib/types/stencil-public-runtime.d.ts +35 -6
  609. package/lib/types/utils/a11y-utils.d.ts +11 -0
  610. package/lib/types/utils/language-utils.d.ts +1 -0
  611. package/lib/types/utils/slot-utils.d.ts +1 -0
  612. package/lib/types/utils/teleport.d.ts +4 -1
  613. package/lib/types/utils/token-utils.d.ts +4 -0
  614. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  615. package/package.json +37 -17
  616. package/lib/cjs/a11y-utils-e921b85d.js +0 -25
  617. package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
  618. package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
  619. package/lib/cjs/duet-chip_3.cjs.entry.js +0 -703
  620. package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
  621. package/lib/cjs/form-search-d61b2843.js +0 -8
  622. package/lib/cjs/themeable-component-996b489c.js +0 -15
  623. package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
  624. package/lib/dist-custom-elements/duet-action-button.js +0 -9
  625. package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
  626. package/lib/dist-custom-elements/duet-alert.js +0 -9
  627. package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
  628. package/lib/dist-custom-elements/duet-badge.js +0 -9
  629. package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
  630. package/lib/dist-custom-elements/duet-banner.js +0 -157
  631. package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
  632. package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
  633. package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
  634. package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
  635. package/lib/dist-custom-elements/duet-button.d.ts +0 -11
  636. package/lib/dist-custom-elements/duet-button.js +0 -9
  637. package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
  638. package/lib/dist-custom-elements/duet-callout.js +0 -72
  639. package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
  640. package/lib/dist-custom-elements/duet-caption.js +0 -9
  641. package/lib/dist-custom-elements/duet-card.d.ts +0 -11
  642. package/lib/dist-custom-elements/duet-card.js +0 -174
  643. package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
  644. package/lib/dist-custom-elements/duet-checkbox.js +0 -9
  645. package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
  646. package/lib/dist-custom-elements/duet-checkmark.js +0 -9
  647. package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
  648. package/lib/dist-custom-elements/duet-chip.js +0 -9
  649. package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
  650. package/lib/dist-custom-elements/duet-choice-group.js +0 -228
  651. package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
  652. package/lib/dist-custom-elements/duet-choice.js +0 -454
  653. package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
  654. package/lib/dist-custom-elements/duet-collapsible.js +0 -176
  655. package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
  656. package/lib/dist-custom-elements/duet-combobox.js +0 -702
  657. package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
  658. package/lib/dist-custom-elements/duet-contact-card.js +0 -134
  659. package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
  660. package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
  661. package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
  662. package/lib/dist-custom-elements/duet-date-picker.js +0 -937
  663. package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
  664. package/lib/dist-custom-elements/duet-divider.js +0 -9
  665. package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
  666. package/lib/dist-custom-elements/duet-editable-table.js +0 -258
  667. package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
  668. package/lib/dist-custom-elements/duet-empty-state.js +0 -9
  669. package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
  670. package/lib/dist-custom-elements/duet-fieldset.js +0 -9
  671. package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
  672. package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
  673. package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
  674. package/lib/dist-custom-elements/duet-footer.js +0 -223
  675. package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
  676. package/lib/dist-custom-elements/duet-grid-item.js +0 -9
  677. package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
  678. package/lib/dist-custom-elements/duet-grid.js +0 -9
  679. package/lib/dist-custom-elements/duet-header.d.ts +0 -11
  680. package/lib/dist-custom-elements/duet-header.js +0 -698
  681. package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
  682. package/lib/dist-custom-elements/duet-heading.js +0 -9
  683. package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
  684. package/lib/dist-custom-elements/duet-hero.js +0 -299
  685. package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
  686. package/lib/dist-custom-elements/duet-icon.js +0 -9
  687. package/lib/dist-custom-elements/duet-input.d.ts +0 -11
  688. package/lib/dist-custom-elements/duet-input.js +0 -9
  689. package/lib/dist-custom-elements/duet-label.d.ts +0 -11
  690. package/lib/dist-custom-elements/duet-label.js +0 -70
  691. package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
  692. package/lib/dist-custom-elements/duet-layout.js +0 -94
  693. package/lib/dist-custom-elements/duet-link.d.ts +0 -11
  694. package/lib/dist-custom-elements/duet-link.js +0 -9
  695. package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
  696. package/lib/dist-custom-elements/duet-list-item.js +0 -9
  697. package/lib/dist-custom-elements/duet-list.d.ts +0 -11
  698. package/lib/dist-custom-elements/duet-list.js +0 -9
  699. package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
  700. package/lib/dist-custom-elements/duet-logo.js +0 -9
  701. package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
  702. package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
  703. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
  704. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
  705. package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
  706. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
  707. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
  708. package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
  709. package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
  710. package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
  711. package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
  712. package/lib/dist-custom-elements/duet-menu-bar.js +0 -207
  713. package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
  714. package/lib/dist-custom-elements/duet-modal.js +0 -382
  715. package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
  716. package/lib/dist-custom-elements/duet-multiselect.js +0 -346
  717. package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
  718. package/lib/dist-custom-elements/duet-nav.js +0 -54
  719. package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
  720. package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
  721. package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
  722. package/lib/dist-custom-elements/duet-notification.js +0 -95
  723. package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
  724. package/lib/dist-custom-elements/duet-number-input.js +0 -484
  725. package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
  726. package/lib/dist-custom-elements/duet-overlay.js +0 -9
  727. package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
  728. package/lib/dist-custom-elements/duet-page-heading.js +0 -87
  729. package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
  730. package/lib/dist-custom-elements/duet-pagination.js +0 -493
  731. package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
  732. package/lib/dist-custom-elements/duet-paragraph.js +0 -9
  733. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
  734. package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
  735. package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
  736. package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
  737. package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
  738. package/lib/dist-custom-elements/duet-progress.js +0 -9
  739. package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
  740. package/lib/dist-custom-elements/duet-promo-card.js +0 -105
  741. package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
  742. package/lib/dist-custom-elements/duet-radio-group.js +0 -213
  743. package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
  744. package/lib/dist-custom-elements/duet-radio.js +0 -230
  745. package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
  746. package/lib/dist-custom-elements/duet-range-slider.js +0 -181
  747. package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
  748. package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
  749. package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
  750. package/lib/dist-custom-elements/duet-scrollable.js +0 -9
  751. package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
  752. package/lib/dist-custom-elements/duet-section-layout.js +0 -56
  753. package/lib/dist-custom-elements/duet-select.d.ts +0 -11
  754. package/lib/dist-custom-elements/duet-select.js +0 -9
  755. package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
  756. package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
  757. package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
  758. package/lib/dist-custom-elements/duet-show-more.js +0 -9
  759. package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
  760. package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
  761. package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
  762. package/lib/dist-custom-elements/duet-slideout-link.js +0 -79
  763. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
  764. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
  765. package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
  766. package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
  767. package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
  768. package/lib/dist-custom-elements/duet-slideout.js +0 -328
  769. package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
  770. package/lib/dist-custom-elements/duet-spacer.js +0 -9
  771. package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
  772. package/lib/dist-custom-elements/duet-spinner.js +0 -9
  773. package/lib/dist-custom-elements/duet-status-icon.d.ts +0 -11
  774. package/lib/dist-custom-elements/duet-status-icon.js +0 -111
  775. package/lib/dist-custom-elements/duet-step.d.ts +0 -11
  776. package/lib/dist-custom-elements/duet-step.js +0 -147
  777. package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
  778. package/lib/dist-custom-elements/duet-stepper.js +0 -151
  779. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
  780. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
  781. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
  782. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
  783. package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
  784. package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
  785. package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
  786. package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
  787. package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
  788. package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
  789. package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
  790. package/lib/dist-custom-elements/duet-tab-group.js +0 -306
  791. package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
  792. package/lib/dist-custom-elements/duet-tab.js +0 -150
  793. package/lib/dist-custom-elements/duet-table.d.ts +0 -11
  794. package/lib/dist-custom-elements/duet-table.js +0 -9
  795. package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
  796. package/lib/dist-custom-elements/duet-textarea.js +0 -301
  797. package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
  798. package/lib/dist-custom-elements/duet-toggle.js +0 -146
  799. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
  800. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
  801. package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
  802. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
  803. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
  804. package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
  805. package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
  806. package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
  807. package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
  808. package/lib/dist-custom-elements/duet-toolbar.js +0 -67
  809. package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
  810. package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
  811. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
  812. package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
  813. package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
  814. package/lib/dist-custom-elements/duet-tooltip.js +0 -9
  815. package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
  816. package/lib/dist-custom-elements/duet-tray.js +0 -146
  817. package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
  818. package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
  819. package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
  820. package/lib/dist-custom-elements/duet-upload-item.js +0 -9
  821. package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
  822. package/lib/dist-custom-elements/duet-upload.js +0 -1444
  823. package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
  824. package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
  825. package/lib/dist-custom-elements/index.d.ts +0 -33
  826. package/lib/dist-custom-elements/index.js +0 -29
  827. package/lib/dist-custom-elements/p-0ccb587d.js +0 -124
  828. package/lib/dist-custom-elements/p-1080a6c7.js +0 -2130
  829. package/lib/dist-custom-elements/p-10cd2c68.js +0 -214
  830. package/lib/dist-custom-elements/p-115c79b6.js +0 -6
  831. package/lib/dist-custom-elements/p-1892dc7c.js +0 -80
  832. package/lib/dist-custom-elements/p-1a58f15b.js +0 -63
  833. package/lib/dist-custom-elements/p-297845c1.js +0 -206
  834. package/lib/dist-custom-elements/p-2d798e15.js +0 -80
  835. package/lib/dist-custom-elements/p-34a901da.js +0 -124
  836. package/lib/dist-custom-elements/p-35375593.js +0 -161
  837. package/lib/dist-custom-elements/p-3bea94c3.js +0 -313
  838. package/lib/dist-custom-elements/p-4c3d0ee5.js +0 -127
  839. package/lib/dist-custom-elements/p-530451fd.js +0 -55
  840. package/lib/dist-custom-elements/p-5ad0aa2d.js +0 -56
  841. package/lib/dist-custom-elements/p-6e12d8f9.js +0 -73
  842. package/lib/dist-custom-elements/p-77fe0881.js +0 -165
  843. package/lib/dist-custom-elements/p-7ef7ecb2.js +0 -607
  844. package/lib/dist-custom-elements/p-81287261.js +0 -1348
  845. package/lib/dist-custom-elements/p-846239a5.js +0 -340
  846. package/lib/dist-custom-elements/p-88a11eef.js +0 -81
  847. package/lib/dist-custom-elements/p-993aea39.js +0 -175
  848. package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
  849. package/lib/dist-custom-elements/p-9f10e30c.js +0 -642
  850. package/lib/dist-custom-elements/p-a2d287b0.js +0 -321
  851. package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
  852. package/lib/dist-custom-elements/p-ad615991.js +0 -115
  853. package/lib/dist-custom-elements/p-afb6f7fb.js +0 -23
  854. package/lib/dist-custom-elements/p-b2db5fb1.js +0 -287
  855. package/lib/dist-custom-elements/p-b662900e.js +0 -178
  856. package/lib/dist-custom-elements/p-bae3d92e.js +0 -61
  857. package/lib/dist-custom-elements/p-bf91603e.js +0 -154
  858. package/lib/dist-custom-elements/p-c84c39d8.js +0 -60
  859. package/lib/dist-custom-elements/p-cea716f7.js +0 -503
  860. package/lib/dist-custom-elements/p-d004da5f.js +0 -6
  861. package/lib/dist-custom-elements/p-d07ce35f.js +0 -232
  862. package/lib/dist-custom-elements/p-d1aca1bf.js +0 -268
  863. package/lib/dist-custom-elements/p-d4202ee8.js +0 -110
  864. package/lib/dist-custom-elements/p-d74ee462.js +0 -61
  865. package/lib/dist-custom-elements/p-d8e88497.js +0 -194
  866. package/lib/dist-custom-elements/p-db1a07f5.js +0 -94
  867. package/lib/dist-custom-elements/p-df9299e6.js +0 -39
  868. package/lib/dist-custom-elements/p-e96839f2.js +0 -63
  869. package/lib/dist-custom-elements/p-ed2d40fe.js +0 -50
  870. package/lib/dist-custom-elements/p-f0d82988.js +0 -205
  871. package/lib/dist-custom-elements/p-f11208c3.js +0 -6
  872. package/lib/dist-custom-elements/p-f4e71ced.js +0 -102
  873. package/lib/dist-custom-elements/p-f6000a03.js +0 -753
  874. package/lib/dist-custom-elements/p-f611b32e.js +0 -83
  875. package/lib/dist-custom-elements/p-f86f4403.js +0 -100
  876. package/lib/dist-custom-elements/p-faa49d55.js +0 -370
  877. package/lib/duet/duet.js +0 -127
  878. package/lib/duet/p-038bb299.entry.js +0 -4
  879. package/lib/duet/p-03bfd386.system.js +0 -4
  880. package/lib/duet/p-050923e5.entry.js +0 -4
  881. package/lib/duet/p-053b71e6.system.js +0 -4
  882. package/lib/duet/p-054f5ec6.system.js +0 -4
  883. package/lib/duet/p-05aec682.entry.js +0 -4
  884. package/lib/duet/p-06995c4e.system.entry.js +0 -4
  885. package/lib/duet/p-08344bda.system.entry.js +0 -4
  886. package/lib/duet/p-0846f883.entry.js +0 -4
  887. package/lib/duet/p-08f3a77e.system.entry.js +0 -4
  888. package/lib/duet/p-091ce42a.entry.js +0 -4
  889. package/lib/duet/p-0998026d.system.entry.js +0 -4
  890. package/lib/duet/p-0a4b0639.entry.js +0 -4
  891. package/lib/duet/p-0a675075.js +0 -4
  892. package/lib/duet/p-0b818355.entry.js +0 -4
  893. package/lib/duet/p-0bcc93b7.entry.js +0 -4
  894. package/lib/duet/p-0c4708c0.system.entry.js +0 -4
  895. package/lib/duet/p-0c4bbd65.system.js +0 -4
  896. package/lib/duet/p-0cbec7c8.entry.js +0 -4
  897. package/lib/duet/p-0d334c84.system.entry.js +0 -4
  898. package/lib/duet/p-0d7369ef.system.entry.js +0 -4
  899. package/lib/duet/p-0d7da85a.js +0 -4
  900. package/lib/duet/p-0dc9089b.system.js +0 -4
  901. package/lib/duet/p-10b1f772.entry.js +0 -4
  902. package/lib/duet/p-115c79b6.js +0 -4
  903. package/lib/duet/p-12b25cdd.system.entry.js +0 -4
  904. package/lib/duet/p-145d2c10.entry.js +0 -4
  905. package/lib/duet/p-15d66914.system.entry.js +0 -4
  906. package/lib/duet/p-166d19ac.entry.js +0 -4
  907. package/lib/duet/p-178b8a47.system.entry.js +0 -4
  908. package/lib/duet/p-17bfda66.entry.js +0 -4
  909. package/lib/duet/p-18463379.system.entry.js +0 -4
  910. package/lib/duet/p-1a65974d.system.entry.js +0 -4
  911. package/lib/duet/p-1cc7a137.entry.js +0 -4
  912. package/lib/duet/p-1d1198dd.system.entry.js +0 -4
  913. package/lib/duet/p-1dff1118.system.entry.js +0 -4
  914. package/lib/duet/p-1ed2ef65.entry.js +0 -4
  915. package/lib/duet/p-20a1c9ac.entry.js +0 -4
  916. package/lib/duet/p-21dd3dba.system.entry.js +0 -4
  917. package/lib/duet/p-22d16f94.entry.js +0 -4
  918. package/lib/duet/p-2667d9dc.entry.js +0 -4
  919. package/lib/duet/p-2aa130a2.entry.js +0 -4
  920. package/lib/duet/p-2ae03409.entry.js +0 -4
  921. package/lib/duet/p-2afb5bf3.system.entry.js +0 -4
  922. package/lib/duet/p-2d6171e9.system.entry.js +0 -4
  923. package/lib/duet/p-2dcc7b0c.entry.js +0 -4
  924. package/lib/duet/p-31e19362.system.entry.js +0 -4
  925. package/lib/duet/p-330a4b1f.system.entry.js +0 -4
  926. package/lib/duet/p-374599c9.entry.js +0 -4
  927. package/lib/duet/p-38b22704.system.entry.js +0 -4
  928. package/lib/duet/p-3948c738.system.entry.js +0 -4
  929. package/lib/duet/p-3b15bdda.system.entry.js +0 -4
  930. package/lib/duet/p-3c2b3349.entry.js +0 -4
  931. package/lib/duet/p-3ca8e462.entry.js +0 -4
  932. package/lib/duet/p-41982d26.system.js +0 -4
  933. package/lib/duet/p-41d03609.system.entry.js +0 -4
  934. package/lib/duet/p-4289c19b.system.js +0 -5
  935. package/lib/duet/p-45c37e01.system.entry.js +0 -4
  936. package/lib/duet/p-473b8661.entry.js +0 -4
  937. package/lib/duet/p-485832e7.entry.js +0 -4
  938. package/lib/duet/p-49957220.system.js +0 -4
  939. package/lib/duet/p-4a2af66f.entry.js +0 -4
  940. package/lib/duet/p-4cff3036.system.js +0 -4
  941. package/lib/duet/p-4d06fd44.js +0 -4
  942. package/lib/duet/p-4d496fbd.entry.js +0 -4
  943. package/lib/duet/p-4d8a5d37.entry.js +0 -4
  944. package/lib/duet/p-4dc15982.system.entry.js +0 -4
  945. package/lib/duet/p-53604f23.entry.js +0 -4
  946. package/lib/duet/p-53c2006e.system.entry.js +0 -4
  947. package/lib/duet/p-53fc94a0.system.entry.js +0 -4
  948. package/lib/duet/p-54704ee1.system.entry.js +0 -4
  949. package/lib/duet/p-56f40850.system.entry.js +0 -4
  950. package/lib/duet/p-59f0bbf0.entry.js +0 -4
  951. package/lib/duet/p-5a0482d3.entry.js +0 -4
  952. package/lib/duet/p-5a72f8b5.system.entry.js +0 -4
  953. package/lib/duet/p-5c026823.entry.js +0 -4
  954. package/lib/duet/p-5ff95850.entry.js +0 -4
  955. package/lib/duet/p-60734222.system.entry.js +0 -4
  956. package/lib/duet/p-62a7d1e0.system.entry.js +0 -4
  957. package/lib/duet/p-652ef5c4.system.entry.js +0 -4
  958. package/lib/duet/p-65d9b543.entry.js +0 -4
  959. package/lib/duet/p-66dfb534.system.entry.js +0 -4
  960. package/lib/duet/p-6880e7e4.system.entry.js +0 -4
  961. package/lib/duet/p-69dda5cf.entry.js +0 -4
  962. package/lib/duet/p-6e5dbf3f.system.entry.js +0 -4
  963. package/lib/duet/p-6f878638.system.entry.js +0 -4
  964. package/lib/duet/p-70a6edcd.system.entry.js +0 -4
  965. package/lib/duet/p-70ea5a26.system.entry.js +0 -4
  966. package/lib/duet/p-72767ad2.entry.js +0 -4
  967. package/lib/duet/p-739ffce8.entry.js +0 -4
  968. package/lib/duet/p-74aa0f9d.system.js +0 -4
  969. package/lib/duet/p-752fa0fc.system.js +0 -4
  970. package/lib/duet/p-7648f559.system.js +0 -4
  971. package/lib/duet/p-77bbd147.entry.js +0 -4
  972. package/lib/duet/p-77f01407.entry.js +0 -4
  973. package/lib/duet/p-7931d6b8.entry.js +0 -4
  974. package/lib/duet/p-798942ab.entry.js +0 -4
  975. package/lib/duet/p-7b2d2e4d.system.entry.js +0 -4
  976. package/lib/duet/p-7bbf3a3b.system.entry.js +0 -4
  977. package/lib/duet/p-7d8a2628.js +0 -4
  978. package/lib/duet/p-7dfee16a.entry.js +0 -4
  979. package/lib/duet/p-7f16d0df.entry.js +0 -4
  980. package/lib/duet/p-7f22291f.entry.js +0 -4
  981. package/lib/duet/p-81cde516.system.entry.js +0 -4
  982. package/lib/duet/p-8228f180.system.entry.js +0 -4
  983. package/lib/duet/p-84835d40.entry.js +0 -4
  984. package/lib/duet/p-874f4064.system.entry.js +0 -4
  985. package/lib/duet/p-897e6941.entry.js +0 -4
  986. package/lib/duet/p-8a970f0a.system.entry.js +0 -4
  987. package/lib/duet/p-8b1c69f9.system.entry.js +0 -4
  988. package/lib/duet/p-8baeb065.entry.js +0 -4
  989. package/lib/duet/p-8eea942e.entry.js +0 -4
  990. package/lib/duet/p-8f477bd6.system.js +0 -4
  991. package/lib/duet/p-8f871c29.entry.js +0 -4
  992. package/lib/duet/p-8faaaf5f.system.js +0 -4
  993. package/lib/duet/p-90999186.entry.js +0 -4
  994. package/lib/duet/p-979fb2cf.entry.js +0 -4
  995. package/lib/duet/p-97b3fb78.system.entry.js +0 -4
  996. package/lib/duet/p-97eb9b2e.entry.js +0 -4
  997. package/lib/duet/p-97fe4968.js +0 -5
  998. package/lib/duet/p-98636086.system.js +0 -4
  999. package/lib/duet/p-9fab0a1d.system.entry.js +0 -4
  1000. package/lib/duet/p-a0a59034.system.entry.js +0 -4
  1001. package/lib/duet/p-a1a0370a.system.entry.js +0 -4
  1002. package/lib/duet/p-a20ed47c.js +0 -4
  1003. package/lib/duet/p-a4dbef0b.system.entry.js +0 -4
  1004. package/lib/duet/p-a54c3c58.system.entry.js +0 -4
  1005. package/lib/duet/p-a6bb7eb0.entry.js +0 -4
  1006. package/lib/duet/p-aaa7a7bd.js +0 -4
  1007. package/lib/duet/p-ac21f1dc.system.entry.js +0 -4
  1008. package/lib/duet/p-ac7ef7e2.js +0 -4
  1009. package/lib/duet/p-aca1538e.entry.js +0 -4
  1010. package/lib/duet/p-ae19da09.entry.js +0 -4
  1011. package/lib/duet/p-afad5fd3.system.js +0 -4
  1012. package/lib/duet/p-b2d5f07c.system.js +0 -4
  1013. package/lib/duet/p-b2f3287a.system.entry.js +0 -4
  1014. package/lib/duet/p-b5b8973c.js +0 -4
  1015. package/lib/duet/p-b6366830.system.entry.js +0 -4
  1016. package/lib/duet/p-b864159a.system.js +0 -4
  1017. package/lib/duet/p-b8d342d1.system.entry.js +0 -4
  1018. package/lib/duet/p-ba03d034.system.js +0 -4
  1019. package/lib/duet/p-bd3c7c60.system.entry.js +0 -4
  1020. package/lib/duet/p-be8044cb.system.entry.js +0 -4
  1021. package/lib/duet/p-beeb12f1.js +0 -4
  1022. package/lib/duet/p-bf85a8c6.entry.js +0 -4
  1023. package/lib/duet/p-bfe1d1d1.system.entry.js +0 -4
  1024. package/lib/duet/p-c2308ebd.entry.js +0 -4
  1025. package/lib/duet/p-c47bc68e.entry.js +0 -4
  1026. package/lib/duet/p-c5b6d9ed.entry.js +0 -4
  1027. package/lib/duet/p-c93daa4f.entry.js +0 -4
  1028. package/lib/duet/p-ca3cb21e.js +0 -4
  1029. package/lib/duet/p-cc5e6288.system.js +0 -4
  1030. package/lib/duet/p-cc67e773.js +0 -4
  1031. package/lib/duet/p-cc6e2037.system.entry.js +0 -4
  1032. package/lib/duet/p-cd4cd328.entry.js +0 -4
  1033. package/lib/duet/p-cf3dbdbe.entry.js +0 -4
  1034. package/lib/duet/p-cf6a502f.system.entry.js +0 -4
  1035. package/lib/duet/p-cfb501bd.entry.js +0 -4
  1036. package/lib/duet/p-d004da5f.js +0 -4
  1037. package/lib/duet/p-d080e1b9.system.js +0 -4
  1038. package/lib/duet/p-d159daa2.entry.js +0 -4
  1039. package/lib/duet/p-d3960f14.system.js +0 -4
  1040. package/lib/duet/p-d4f2abe8.entry.js +0 -4
  1041. package/lib/duet/p-d5a87e9a.js +0 -4
  1042. package/lib/duet/p-d6b00137.entry.js +0 -4
  1043. package/lib/duet/p-d7b8ea98.system.entry.js +0 -4
  1044. package/lib/duet/p-db2ccb9d.system.js +0 -4
  1045. package/lib/duet/p-dc68fee2.entry.js +0 -4
  1046. package/lib/duet/p-e05cecd0.system.entry.js +0 -4
  1047. package/lib/duet/p-e0b5d41a.system.entry.js +0 -4
  1048. package/lib/duet/p-e12066c8.system.js +0 -4
  1049. package/lib/duet/p-e1c5ef00.entry.js +0 -4
  1050. package/lib/duet/p-e21018b3.entry.js +0 -4
  1051. package/lib/duet/p-e216bea4.system.js +0 -4
  1052. package/lib/duet/p-e263283f.entry.js +0 -4
  1053. package/lib/duet/p-e4a0a1b3.entry.js +0 -4
  1054. package/lib/duet/p-e4c8559c.system.js +0 -4
  1055. package/lib/duet/p-e513c4ca.system.entry.js +0 -4
  1056. package/lib/duet/p-e6b5a1c7.system.js +0 -4
  1057. package/lib/duet/p-e6f7a7fd.system.entry.js +0 -4
  1058. package/lib/duet/p-e8f8aae8.system.js +0 -4
  1059. package/lib/duet/p-e93169b0.system.entry.js +0 -4
  1060. package/lib/duet/p-eb425c47.entry.js +0 -4
  1061. package/lib/duet/p-edcdd3e6.system.entry.js +0 -4
  1062. package/lib/duet/p-efa05a47.system.entry.js +0 -4
  1063. package/lib/duet/p-efe71c0a.system.entry.js +0 -4
  1064. package/lib/duet/p-f065f062.system.entry.js +0 -4
  1065. package/lib/duet/p-f11208c3.js +0 -4
  1066. package/lib/duet/p-f23de827.system.entry.js +0 -4
  1067. package/lib/duet/p-f4df9001.system.entry.js +0 -4
  1068. package/lib/duet/p-f5a0878c.entry.js +0 -4
  1069. package/lib/duet/p-f5b6fd8e.system.entry.js +0 -4
  1070. package/lib/duet/p-f6000a03.js +0 -4
  1071. package/lib/duet/p-f6b21d17.system.js +0 -4
  1072. package/lib/duet/p-f785408c.system.entry.js +0 -4
  1073. package/lib/duet/p-f892350a.entry.js +0 -4
  1074. package/lib/duet/p-f966e96a.system.entry.js +0 -4
  1075. package/lib/duet/p-fc06b1eb.system.entry.js +0 -4
  1076. package/lib/duet/p-fcc0e0bf.system.entry.js +0 -4
  1077. package/lib/duet/p-fd376e7c.entry.js +0 -4
  1078. package/lib/duet/p-fe13effe.system.entry.js +0 -4
  1079. package/lib/duet/p-ffb9535d.system.entry.js +0 -4
  1080. package/lib/esm/a11y-utils-9f6bee96.js +0 -23
  1081. package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
  1082. package/lib/esm/action-new-window-small-1945be91.js +0 -6
  1083. package/lib/esm/body-scroll-46854769.js +0 -234
  1084. package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
  1085. package/lib/esm/common-strings-af765cad.js +0 -25
  1086. package/lib/esm/create-id-149a1b6d.js +0 -11
  1087. package/lib/esm/duet-chip_3.entry.js +0 -697
  1088. package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
  1089. package/lib/esm/focus-utils-fc101536.js +0 -18
  1090. package/lib/esm/form-search-ea8e19ae.js +0 -6
  1091. package/lib/esm/input-utils-85681162.js +0 -53
  1092. package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
  1093. package/lib/esm/js-utils-9b9e0039.js +0 -47
  1094. package/lib/esm/keyboard-utils-daf80d44.js +0 -58
  1095. package/lib/esm/label-b3694b48.js +0 -20
  1096. package/lib/esm/polyfills/core-js.js +0 -11
  1097. package/lib/esm/polyfills/dom.js +0 -79
  1098. package/lib/esm/polyfills/es5-html-element.js +0 -1
  1099. package/lib/esm/polyfills/index.js +0 -34
  1100. package/lib/esm/polyfills/system.js +0 -6
  1101. package/lib/esm/string-utils-192eb3c8.js +0 -61
  1102. package/lib/esm/teleport-546f382d.js +0 -116
  1103. package/lib/esm/themeable-component-860041c5.js +0 -13
  1104. package/lib/esm/token-utils-b9ba8c5e.js +0 -138
  1105. package/lib/esm/watch-options-e96ecd92.js +0 -57
  1106. package/lib/esm-es5/a11y-utils-9f6bee96.js +0 -4
  1107. package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
  1108. package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
  1109. package/lib/esm-es5/app-globals-f12e0500.js +0 -4
  1110. package/lib/esm-es5/body-scroll-46854769.js +0 -4
  1111. package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
  1112. package/lib/esm-es5/common-strings-af765cad.js +0 -4
  1113. package/lib/esm-es5/create-id-149a1b6d.js +0 -4
  1114. package/lib/esm-es5/duet-action-button.entry.js +0 -4
  1115. package/lib/esm-es5/duet-alert.entry.js +0 -4
  1116. package/lib/esm-es5/duet-badge.entry.js +0 -4
  1117. package/lib/esm-es5/duet-banner.entry.js +0 -4
  1118. package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
  1119. package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
  1120. package/lib/esm-es5/duet-button_2.entry.js +0 -4
  1121. package/lib/esm-es5/duet-callout.entry.js +0 -4
  1122. package/lib/esm-es5/duet-caption_4.entry.js +0 -4
  1123. package/lib/esm-es5/duet-card.entry.js +0 -4
  1124. package/lib/esm-es5/duet-checkbox.entry.js +0 -4
  1125. package/lib/esm-es5/duet-checkmark.entry.js +0 -4
  1126. package/lib/esm-es5/duet-chip_3.entry.js +0 -4
  1127. package/lib/esm-es5/duet-choice_2.entry.js +0 -4
  1128. package/lib/esm-es5/duet-collapsible.entry.js +0 -4
  1129. package/lib/esm-es5/duet-combobox.entry.js +0 -4
  1130. package/lib/esm-es5/duet-contact-card.entry.js +0 -4
  1131. package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
  1132. package/lib/esm-es5/duet-date-picker.entry.js +0 -4
  1133. package/lib/esm-es5/duet-divider_2.entry.js +0 -4
  1134. package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
  1135. package/lib/esm-es5/duet-empty-state.entry.js +0 -4
  1136. package/lib/esm-es5/duet-fieldset.entry.js +0 -4
  1137. package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
  1138. package/lib/esm-es5/duet-footer.entry.js +0 -4
  1139. package/lib/esm-es5/duet-grid_2.entry.js +0 -4
  1140. package/lib/esm-es5/duet-header_2.entry.js +0 -4
  1141. package/lib/esm-es5/duet-hero.entry.js +0 -4
  1142. package/lib/esm-es5/duet-icon.entry.js +0 -4
  1143. package/lib/esm-es5/duet-input_2.entry.js +0 -4
  1144. package/lib/esm-es5/duet-layout.entry.js +0 -4
  1145. package/lib/esm-es5/duet-list_2.entry.js +0 -4
  1146. package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
  1147. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
  1148. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
  1149. package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
  1150. package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
  1151. package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
  1152. package/lib/esm-es5/duet-modal.entry.js +0 -4
  1153. package/lib/esm-es5/duet-multiselect.entry.js +0 -4
  1154. package/lib/esm-es5/duet-nav.entry.js +0 -4
  1155. package/lib/esm-es5/duet-notification_2.entry.js +0 -4
  1156. package/lib/esm-es5/duet-number-input.entry.js +0 -4
  1157. package/lib/esm-es5/duet-overlay.entry.js +0 -4
  1158. package/lib/esm-es5/duet-page-heading.entry.js +0 -4
  1159. package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
  1160. package/lib/esm-es5/duet-progress.entry.js +0 -4
  1161. package/lib/esm-es5/duet-promo-card.entry.js +0 -4
  1162. package/lib/esm-es5/duet-radio_2.entry.js +0 -4
  1163. package/lib/esm-es5/duet-range-slider.entry.js +0 -4
  1164. package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
  1165. package/lib/esm-es5/duet-section-layout.entry.js +0 -4
  1166. package/lib/esm-es5/duet-select.entry.js +0 -4
  1167. package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
  1168. package/lib/esm-es5/duet-show-more.entry.js +0 -4
  1169. package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
  1170. package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
  1171. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
  1172. package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
  1173. package/lib/esm-es5/duet-slideout.entry.js +0 -4
  1174. package/lib/esm-es5/duet-status-icon.entry.js +0 -4
  1175. package/lib/esm-es5/duet-step_2.entry.js +0 -4
  1176. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
  1177. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
  1178. package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
  1179. package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
  1180. package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
  1181. package/lib/esm-es5/duet-textarea.entry.js +0 -4
  1182. package/lib/esm-es5/duet-toggle.entry.js +0 -4
  1183. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
  1184. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
  1185. package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
  1186. package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
  1187. package/lib/esm-es5/duet-toolbar.entry.js +0 -4
  1188. package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
  1189. package/lib/esm-es5/duet-tooltip.entry.js +0 -4
  1190. package/lib/esm-es5/duet-tray.entry.js +0 -4
  1191. package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
  1192. package/lib/esm-es5/duet-upload-item.entry.js +0 -4
  1193. package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
  1194. package/lib/esm-es5/duet.js +0 -4
  1195. package/lib/esm-es5/errorcodes.utils-d594aed8.js +0 -4
  1196. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  1197. package/lib/esm-es5/focus-utils-fc101536.js +0 -4
  1198. package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
  1199. package/lib/esm-es5/index-fa810c91.js +0 -4
  1200. package/lib/esm-es5/index.js +0 -3
  1201. package/lib/esm-es5/input-utils-85681162.js +0 -4
  1202. package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
  1203. package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
  1204. package/lib/esm-es5/keyboard-utils-daf80d44.js +0 -4
  1205. package/lib/esm-es5/label-b3694b48.js +0 -4
  1206. package/lib/esm-es5/language-utils-35eb1c9f.js +0 -4
  1207. package/lib/esm-es5/loader.js +0 -4
  1208. package/lib/esm-es5/slot-utils-b2101c56.js +0 -4
  1209. package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
  1210. package/lib/esm-es5/teleport-546f382d.js +0 -4
  1211. package/lib/esm-es5/themeable-component-860041c5.js +0 -4
  1212. package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
  1213. package/lib/esm-es5/tokens-84fb2357.js +0 -4
  1214. package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
  1215. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
  1216. package/lib/loader/package.json +0 -11
  1217. /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
  1218. /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
  1219. /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
  1220. /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
  1221. /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
  1222. /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
  1223. /package/lib/cjs/{keyboard-utils-f7c9f980.js → keyboard-utils-D9UlHbik.js} +0 -0
  1224. /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
  1225. /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
  1226. /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
  1227. /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
  1228. /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
  1229. /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
  1230. /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
  1231. /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
  1232. /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
  1233. /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
  1234. /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
  1235. /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
  1236. /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
  1237. /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
  1238. /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as e,g as i}from"./p-97fe4968.js";import{i as a}from"./p-aaa7a7bd.js";import{s as o,u as r}from"./p-a45e3f8b.js";import{a as d,g as n,c as s,d as c}from"./p-4d06fd44.js";import{a as l}from"./p-115c79b6.js";import"./p-9c3c64b9.js";const h=class{constructor(e){t(this,e),this.language=d(),this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"},this.accessibleLabelUnread=n(this.accessibleLabelUnreadDefaults,this.language),this.url="#",this.date="",this.highlight=!1,this.external=!1,this.theme=""}componentWillLoad(){a(this)}connectedCallback(){s(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"}),o(this)}disconnectedCallback(){c(this),r(this)}async setFocus(t){this.linkElement.focus(t)}render(){return e("div",{key:"5cb0c4c6bc826e292ff1e666fa51f468e93fd0e1",role:"listitem",class:{"duet-notification":!0,"duet-notification-highlight":this.highlight,"duet-theme-turva":"turva"===this.theme}},e("a",{key:"fbffe9a2754428d30ec66b88640e365d2073c8b7",ref:t=>this.linkElement=t,href:this.url,target:this.external?"_blank":"_self"},e("div",{key:"0fac71553225edaf964a46529e4a45a800ea4cfe",class:"duet-notification-container"},e("div",{key:"57f79649f38d7f728257019b7f1e6818dbbff7f8",class:"duet-notification-badge-container"},this.highlight&&e("div",{key:"faf1346775bae9263da603fdc346ef3bc891dc11",class:"duet-notification-badge"},e("duet-visually-hidden",{key:"27157c7f34075c2a7255611c7b375a88c6ba572a"},this.accessibleLabelUnread,":"))),e("div",{key:"15b30893e3f39f29e77c8c6f430d28481ae62215",class:"duet-notification-content"},e("slot",{key:"fcb2eac6c69d57425d278270514c62c3d8fd1228"})),e("div",{key:"aad0535eeb257c822f0762915d9160e6cd522fc4",class:"duet-notification-date"},this.date))))}get element(){return i(this)}};h.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:0.7}.duet-notification{display:block;padding:16px;padding-bottom:0;cursor:pointer}:host(:first-of-type) .duet-notification{border-top-left-radius:8px;border-top-right-radius:8px}:host(:last-of-type) .duet-notification{border-bottom:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(222, 224, 228)}.duet-notification.duet-notification-highlight{font-weight:600}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-notification:hover{background:rgb(240, 247, 250)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 247, 250)}}.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;padding-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.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(8, 42, 77);text-align:right;text-transform:uppercase;opacity:0.7}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(113, 118, 132)}@media (min-width: 62em){:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:1}.duet-notification{padding:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification:hover{background:rgb(228, 241, 247)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(240, 247, 250)}.duet-notification-container{padding-bottom:0;border-bottom-style:none}}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";const u=class{constructor(e){t(this,e),this.handleKeyDown=t=>{this.isOpen&&27===t.keyCode&&this.close()},this.toggleMenu=t=>{t.stopPropagation(),this.isOpen?this.close():this.open()},this.updateNotificationState=()=>{this.hasNotifications=this.element.children.length>0},this.isOpen=!1,this.hasNotifications=void 0,this.icon="",this.label="Label",this.language=d(),this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"},this.accessibleLabelNotifications=n(this.accessibleLabelNotificationsDefaults),this.badge=!1,this.theme="",this.direction="left"}componentWillLoad(){a(this),this.updateNotificationState()}connectedCallback(){this.observer=new MutationObserver(this.updateNotificationState),this.observer.observe(this.element,{childList:!0}),o(this)}disconnectedCallback(){this.observer.disconnect(),this.observer=null,r(this)}handleClickFocusOutside(t){this.isOpen&&!this.element.contains(t.target)&&this.close(!1)}async setFocus(t){this.drawerButtonEl.focus(t)}async open(){const t=this.element.closest("duet-header");t&&t.closeMenus(),this.isOpen=!0,this.drawerContentEl.scrollTop=0}async close(t=!0){this.isOpen=!1,t&&this.setFocus({preventScroll:!0})}render(){return e("div",{key:"cd4e6b527b0e2f7953969021f8438f2f86b01b3d",class:{"duet-drawer":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:this.handleKeyDown},e("button",{key:"c3ae8bcf17188593df34431967d2371a40783ffc",ref:t=>this.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&&e("div",{key:"23679cbfbbc510f4be0b0627e9e62c2eeede3d53",class:"duet-drawer-icon"},e("duet-icon",{key:"44a2f4501558f1c1606b2dd824da09ef29fbdc06",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&e("div",{key:"a86ee2afbfe08de83f1490d3a975336228ce939a",class:"duet-drawer-badge"})),e("span",{key:"df792c009c2b2d37011a01691ddd831238109a77",class:"duet-drawer-label"},this.label),e("div",{key:"774e310c6e9263b438df99dafdcb2c9e381a078c",class:"duet-drawer-caret"},e("duet-icon",{key:"28efba90ced1b7daf0dbd75f75ff174c9276838c",margin:"none",size:"auto",icon:l.svg,color:"currentColor"}))),e("div",{key:"038e12f34d6a437643b2ae6c3d62846c7ff10984",id:"duet-drawer-content",class:{"duet-drawer-content":!0,"duet-drawer-right":"right"===this.direction,"duet-drawer-left":"left"===this.direction,"duet-drawer-open":this.isOpen},ref:t=>this.drawerContentEl=t},this.hasNotifications?e("div",{role:"list"},e("slot",null)):e("duet-empty-state",{size:"small"},e("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))}get element(){return i(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display: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(8, 42, 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(212, 223, 229);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(222, 224, 228)}.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, 75, 129)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(113, 118, 132)}.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, 75, 129);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(113, 118, 132);border-color:rgb(245, 247, 250)}@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(247, 178, 40)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(212, 223, 229)}@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(212, 223, 229);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}.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)}}';export{h as duet_notification,u as duet_notification_drawer}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{b as n}from"./p-a20ed47c.js";function o(o){const r=o.element.textContent;return o.accessibleLabel?o.accessibleLabel:(o.download||""===o.download)&&r?`${r}. ${o.accessibleLabelDownload}.`:o.external&&r?`${r}. ${o.accessibleLabelExternal}.`:n(o.element).length?r:null}export{o as g}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as d,g as a}from"./p-97fe4968.js";import{d as i,e as o}from"./p-8354d1f1.js";import{i as s}from"./p-aaa7a7bd.js";import{a as l}from"./p-beeb12f1.js";import{f as r}from"./p-ac7ef7e2.js";import{f as n}from"./p-a45e3f8b.js";import{a as m,g as u,c as h,d as p}from"./p-4d06fd44.js";import{h as c}from"./p-a20ed47c.js";import{T as g}from"./p-ca3cb21e.js";import"./p-9c3c64b9.js";const b=class{constructor(d){var a,i;e(this,d),this.duetOpen=t(this,"duetOpen",7),this.duetClose=t(this,"duetClose",7),this.duetCloseComplete=t(this,"duetCloseComplete",7),this.duetBeforeClose=t(this,"duetBeforeClose",7),this.hasStickyHeader=!1,this.isAndroidDevice=(null===(i=null===(a=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===a?void 0:a.toLowerCase())||void 0===i?void 0:i.indexOf("android"))>-1||null,this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.accessibleLoaderAnnouncementDefaults=l,this.accessibleCloseLabelDefaults={fi:"Sulje ikkuna",sv:"Stäng fönstret",en:"Close the dialog"},this.handleAndroidResizeEvents=()=>{"INPUT"==document.activeElement.tagName&&window.setTimeout((function(){var e;try{null===(e=null===document||void 0===document?void 0:document.activeElement)||void 0===e||e.scrollIntoViewIfNeeded(!0)}catch(e){}}),100)},this.open=!1,this.language=m(),this.accessibleCloseLabel=u(this.accessibleCloseLabelDefaults,this.language),this.accessibleLoaderAnnouncement=u(this.accessibleLoaderAnnouncementDefaults,this.language),this.size="medium",this.accessibleDescribedBy=void 0,this.accessibleLabelledBy=void 0,this.accessibleLabel=void 0,this.accessibleDetails=void 0,this.accessibleDescription=void 0,this.variation="default",this.gutterSize="medium",this.theme="",this.heading="",this.headingLevel="h3",this.headingVisualLevel=void 0,this.icon="",this.color="",this.active=!1,this.closeOnBlur=!1}openChanged(){this.open?(this.modalEl&&this.modalEl.scrollTop&&(this.modalEl.scrollTop=0),this.focusedElBeforeOpen=document.activeElement,i("slide-up"===this.variation?this.modalContentEl:this.modalEl,{reserveScrollBarGap:!0}),this.teleport.makeSiblingsInert(),this.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((e=>e.remove())),setTimeout((()=>{"loader"===this.variation?this.addMessage(this.accessibleLoaderAnnouncement,!1):this.isAndroidDevice?this.modalEl.focus():this.buttonEl.setFocus()}),600),setTimeout((()=>{this.modalEl.classList.add("duet-disable-transitions")}),800),this.isAndroidDevice&&window.addEventListener("resize",this.handleAndroidResizeEvents),this.duetOpen.emit()):(this.modalEl.classList.remove("duet-disable-transitions"),this.modalEl.addEventListener("transitionend",(()=>this.duetCloseComplete.emit()),{once:!0}),o("slide-up"===this.variation?this.modalContentEl:this.modalEl),this.duetClose.emit(),this.teleport.removeInertFromSiblings(),setTimeout((()=>{r(this.focusedElBeforeOpen)}),600),this.isAndroidDevice&&window.removeEventListener("resize",this.handleAndroidResizeEvents))}activeChanged(){this.open=this.active}componentWillLoad(){this.hasStickyHeader=c(this.element,"sticky-header"),s(this)}componentDidLoad(){this.active&&(this.open=!0,this.modalEl.classList.add("duet-disable-transitions"))}connectedCallback(){this.teleport||(this.teleport=new g(this.element)),this.teleport&&this.teleport.activate(),h(this,[{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefaults"},{prop:"accessibleLoaderAnnouncement",defaults:"accessibleLoaderAnnouncementDefaults"}])}disconnectedCallback(){p(this),this.modalEl&&o(this.modalEl)}handleKeyUp(e){this.open&&n(e)&&this.closeModal(e)}async show(){this.open=!0}async hide(){this.open=!1}async scrollToTop(e=!0){var t;const d=e?"smooth":"auto";if("slide-up"===this.variation){const e=(null===(t=this.modalEl.querySelector(".duet-modal-sticky-header"))||void 0===t?void 0:t.clientHeight)||0,a=this.modalEl.querySelector(".duet-modal-body").computedStyleMap().get("padding-top");this.slotContainerEl.style.scrollMarginTop=`${e+a.value}px`,this.slotContainerEl.scrollIntoView({behavior:d})}else this.modalEl.querySelector(".duet-modal-body").scrollIntoView({behavior:d})}async addMessage(e,t=!0){const d=document.createElement(t?"duet-paragraph":"duet-visually-hidden");d.textContent=e,d.classList.add("duet-loader-message"),t&&setTimeout((()=>{this.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((e=>e.classList.remove("show"))),d.classList.add("show")}),10),this.slotContainerEl.appendChild(d)}closeModal(e){this.duetBeforeClose.emit({originalEvent:e,component:"duet-modal"}),e.defaultPrevented||setTimeout((()=>{this.hide()}),1)}render(){var e,t;let a="primary",i="secondary";const o=d("div",{key:"12d0600dd47ad71b53d67e07b03f4f21b8d1676e",class:"duet-modal-close"},d("duet-button",{key:"3e7e6c2de9c2bb1953cb9795650b44b289751ff1",ref:e=>this.buttonEl=e,variation:"plain",accessibleLabel:this.accessibleCloseLabel,color:i,iconSize:"large",icon:"navigation-close",iconOnly:!0,margin:"none",theme:this.theme,onClick:e=>this.closeModal(e),fixed:!0}));return"turva"===this.theme&&(a="primary-turva",i="secondary-turva"),d("div",{key:"e2d3037d4a7c15fa4d8d9c3163a56b9e7cf0fbdc",ref:e=>this.modalEl=e,"aria-label":null!==(e=this.accessibleLabel)&&void 0!==e?e:this.heading,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,role:"loader"===this.variation?"alert":"dialog","aria-modal":!this.isSafariBrowser,tabindex:"-1",class:{"duet-modal-container":!0,"duet-theme-turva":"turva"===this.theme,"duet-modal-active":this.open,"duet-modal-slide-up":"slide-up"===this.variation,"duet-modal-has-sticky-header":this.hasStickyHeader}},d("duet-overlay",{key:"976c237ef7d725ddf14da1239317a71b423a0c10","z-index":"-1",visible:this.open,variation:"loader"===this.variation?"white":"default"}),d("div",{key:"7799b43bbf0ca9e3c99eefe055de532d3245bc12",ref:e=>this.modalInnerEl=e,class:{"duet-modal-inner":!0,[this.size]:!0,"duet-modal-slide-up":"slide-up"===this.variation},onClick:e=>{this.closeOnBlur&&(e.target||e.srcElement)===this.modalInnerEl&&this.closeModal(e)}},d("div",{key:"1bbd6a5de7f1825247c3b5b5b39699d3e9f2878c",ref:e=>this.modalContentEl=e,class:{"duet-modal":!0,"duet-modal-has-sticky-header":this.hasStickyHeader,[this.size]:!0,[this.variation]:!0}},"none"!==this.gutterSize&&!this.hasStickyHeader&&d("duet-spacer",{key:"97704800433d96483426cee10199d9b4f1aef6ca"}),this.hasStickyHeader?d("div",{class:"duet-modal-sticky-header"},o,d("slot",{name:"sticky-header"})):o,d("div",{key:"5adeac36992b90facc4e0a4b6e1c8142dad400be",class:{"duet-modal-body":!0,"duet-modal-gutter-none":"none"===this.gutterSize,"duet-modal-gutter-small":"small"===this.gutterSize,"duet-modal-gutter-medium":"medium"===this.gutterSize,"duet-modal-gutter-large":"large"===this.gutterSize}},d("div",{key:"5b5e690c58eb853d61c47423546b40942b5b72f8",class:"duet-modal-header"},d("span",{key:"4e9f14358805f29720b24697c40a337ffcddd996",class:"duet-modal-inner-slot-top"},d("slot",{key:"09e527317ab1fc7d2df380b347b763f10455f11b",name:"top"})),this.icon&&d("duet-icon",{key:"7918bb0b133f11223d78e317cedb3bd5fd66af61",name:this.icon,size:"xx-large",color:this.color||a}),this.heading&&d("duet-heading",{key:"17e29ab216102ebab742419a60045da93c8e1cae","visual-level":null!==(t=this.headingVisualLevel)&&void 0!==t?t:this.headingLevel,level:this.headingLevel,theme:this.theme},this.heading)),"loader"===this.variation&&d("div",{key:"8a8d1033e6701d1aa6dcfbfbeac3b70bdf3c4bf5",class:"duet-modal-spinner"},d("duet-spinner",{key:"30560762720fe600c0fc37dff777d0fdb8d045ff",size:"large",color:"primary"})),d("div",{key:"7f9c15fd58424d32ffb007dff3bb70b1be0776b1",class:"duet-modal-inner-slot-default",ref:e=>this.slotContainerEl=e,"aria-live":"loader"===this.variation?"assertive":"off"},d("slot",{key:"9c0d0cf9ef3af041a099ecf34383fe295da3892e"}))))))}get element(){return a(this)}static get watchers(){return{open:["openChanged"],active:["activeChanged"]}}};b.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-modal-container{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-container.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-container.duet-disable-transitions{transition:none}.duet-modal-container.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:"";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:300ms ease;transition-delay:0ms;transform:scale(0.96)}.duet-theme-turva .duet-modal{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-modal-active .duet-modal{opacity:1;transition:300ms ease;transition-delay:200ms;transform:none}.duet-modal-active .duet-modal.slide-up{top:0;transition:top 600ms ease}.duet-modal.loader{text-align:center;background:transparent}.duet-modal.loader .duet-modal-close{display:none}.duet-modal.loader .duet-modal-spinner{position:relative;height:120px}.duet-modal.loader .duet-modal-inner-slot-default{position:relative;backdrop-filter:blur(10px)}.duet-modal.loader duet-paragraph.duet-loader-message{position:absolute;opacity:0;transition:all 300ms ease;transform:scaleY(0);transform-origin:top}.duet-modal.loader duet-paragraph.duet-loader-message.show{opacity:1;transform:scaleY(1);transform-origin:bottom}.duet-modal.loader duet-paragraph.duet-loader-message.show::part(duet-paragraph){backdrop-filter:blur(10px)}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal.slide-up{top:100vh;margin:0;overflow:auto;border-radius:4px 4px 0 0;opacity:1;transition:top 600ms ease}@media (max-width: 35.9375em){.duet-modal.slide-up{border-radius:16px 16px 0 0}}.duet-modal.duet-modal-has-sticky-header{height:100%;overflow:auto}.duet-modal:focus{outline:0}.duet-modal-body,.duet-modal-sticky-header{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-none,.duet-modal-sticky-header.duet-modal-gutter-none{padding:0 !important}.duet-modal-body.duet-modal-gutter-small,.duet-modal-sticky-header.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body,.duet-modal-sticky-header{padding:36px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body,.small .duet-modal-sticky-header{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-sticky-header{position:sticky;top:0;z-index:300;display:block;padding-bottom:12px;text-align:left;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229);border-radius:4px 4px 0 0}@media (max-width: 35.9375em){.duet-modal-sticky-header{border-radius:16px 16px 0 0}}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-modal-close{position:absolute;top:12px;right:12px}.duet-modal-heading{width:100%;padding-right:60px;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:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-overflow:ellipsis;letter-spacing:-0.01rem;white-space:nowrap}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}';export{b as duet_modal}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function i(e){try{d(o.next(e))}catch(e){a(e)}}function u(e){try{d(o["throw"](e))}catch(e){a(e)}}function d(e){e.done?n(e.value):r(e.value).then(i,u)}d((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,r,a,i;return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(e){return function(t){return d([e,t])}}function d(u){if(o)throw new TypeError("Generator is already executing.");while(i&&(i=0,u[0]&&(n=0)),n)try{if(o=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{o=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-4289c19b.system.js","./p-e4c8559c.system.js","./p-e216bea4.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,n,o,r,a,i,u;return{setters:[function(e){t=e.r;n=e.h;o=e.H;r=e.g},function(e){a=e.a},function(e){i=e.i},function(e){u=e.f}],execute:function(){var d='*,*::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-dropdown{position:relative;height:100%}.duet-submenu-bar-dropdown button{position:relative;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 75, 129)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(228, 241, 247)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(8, 42, 77)}.duet-theme-turva .duet-submenu-bar-dropdown button:hover.active{color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-theme-turva .duet-submenu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::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-theme-turva .duet-submenu-bar-dropdown button.active::after,.duet-theme-turva .duet-submenu-bar-dropdown button.open::after{background:rgb(198, 12, 48)}}.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:16px;height:16px}}.duet-submenu-bar-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(8, 42, 77);visibility:visible;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:93%;z-index:600;min-width:320px;padding:8px;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);transition:none}}.duet-submenu-bar-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(126, 2, 35)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(222, 224, 228)}}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}';var s=d;var b=e("duet_submenu_bar_dropdown",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(a.replace(/'/g,""))];this.boundMqlFunctions=[];this.checkIsDesktop=function(){if(n.mql[0].matches){n.isDesktop=true}else{n.isDesktop=false}};this.onClick=function(){var e=n.open;if(!n.isDesktop){var t=Array.from(n.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));for(var o=0,r=t;o<r.length;o++){var a=r[o];a.open=false}}if(e){n.open=false}else{n.open=true}};this.isDesktop=false;this.theme="";this.active=false;this.open=false;this.icon=undefined}e.prototype.handleFocus=function(e){var t=this;var n=e.composedPath().every((function(e){return e!==t.element}));if(n&&this.isDesktop){this.open=false}};e.prototype.componentWillLoad=function(){i(this)};e.prototype.connectedCallback=function(){this.checkIsDesktop();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.checkIsDesktop.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.handleEscape=function(e){if(u(e)){if(this.open){this.open=false}else{var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return n(o,{key:"251e622a2df6de7c5309a5f85cf829864a4c4a93",role:"listitem"},n("div",{key:"012ebfd990d6cb0daf26c6f7ed00ef3b72b40fea",class:{"duet-submenu-bar-dropdown":true,"duet-theme-turva":this.theme==="turva",open:this.open,active:this.active}},n("button",{key:"87bb4f401952a4f9776ee3b3182fcdbdec1c7332",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{open:this.open,active:this.active},onClick:this.onClick,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&n("duet-icon",{key:"20bbf61dd0f3d5468548896493981b9f7b972201",class:"submenu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),n("div",{key:"322d1e7bf90ab61077a427824e009a952d8e86c7",class:"label"},n("span",{key:"c817dbb4ead417770c71b1c024d8cbe871785297",class:"label-text"},n("slot",{key:"88e8e6f3544b1fb13bde7ba698221408f910a442",name:"label"})),n("duet-icon",{key:"56447cc388c3f1b64fb53fea99cd56497864398d",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),n("div",{key:"40a3648cc2536d2abf6bc48a3c9ac1c9670ddece",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},n("slot",{key:"639962d848abe9a48c384dc0d165f73503138c41"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());b.style=s}}}));
@@ -1,4 +0,0 @@
1
- var __spreadArray=this&&this.__spreadArray||function(n,e,i){if(i||arguments.length===2)for(var r=0,d=e.length,u;r<d;r++){if(u||!(r in e)){if(!u)u=Array.prototype.slice.call(e,0,r);u[r]=e[r]}}return n.concat(u||Array.prototype.slice.call(e))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register([],(function(n){"use strict";return{execute:function(){var e=false;if(typeof window!=="undefined"){var i={get passive(){e=true;return undefined}};window.addEventListener("testPassive",null,i);window.removeEventListener("testPassive",null,i)}var r=typeof window!=="undefined"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1);var d=[];var u=new Map;var t=false;var o=-1;var f;var a;var v;var l;var c=function(n){return d.some((function(e){if(e.options.allowTouchMove&&e.options.allowTouchMove(n)){return true}return false}))};var s=function(n){var e=n||window.event;if(c(e.target)){return true}if(e.touches.length>1){return true}if(e.preventDefault){e.preventDefault()}return false};var w=function(n){if(l===undefined){var e=!!n&&n.reserveScrollBarGap===true;var i=window.innerWidth-document.documentElement.getBoundingClientRect().width;if(e&&i>0){var r=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);l=document.body.style.paddingRight;document.body.style.paddingRight="".concat(r+i,"px")}}if(f===undefined){f=document.body.style.overflow;document.body.style.overflow="hidden"}};var m=function(){if(l!==undefined){document.body.style.paddingRight=l;l=undefined}if(f!==undefined){document.body.style.overflow=f;f=undefined}};var p=function(){return window.requestAnimationFrame((function(){var n=document.documentElement;var e=document.body;if(v===undefined){a=Object.assign({},n.style);v=Object.assign({},e.style);var i=window.scrollY,r=window.scrollX,d=window.innerHeight;n.style.height="100%";n.style.overflow="hidden";e.style.position="fixed";e.style.top="".concat(-i,"px");e.style.left="".concat(-r,"px");e.style.width="100%";e.style.height="auto";e.style.overflow="hidden";setTimeout((function(){return window.requestAnimationFrame((function(){var n=d-window.innerHeight;if(n&&i>=d){e.style.top=-(i+n)+"px"}}))}),300)}}))};var y=function(){if(v!==undefined){var n=-parseInt(document.body.style.top,10);var e=-parseInt(document.body.style.left,10);var i=document.documentElement;var r=document.body;i.style.height=(a===null||a===void 0?void 0:a.height)||"";i.style.overflow=(a===null||a===void 0?void 0:a.overflow)||"";r.style.position=v.position||"";r.style.top=v.top||"";r.style.left=v.left||"";r.style.width=v.width||"";r.style.height=v.height||"";r.style.overflow=v.overflow||"";window.scrollTo(e,n);v=undefined}};var h=function(n){return n?n.scrollHeight-n.scrollTop<=n.clientHeight:false};var b=function(n,e){var i=n.targetTouches[0].clientY-o;if(c(n.target)){return false}if(e&&e.scrollTop===0&&i>0){return s(n)}if(h(e)&&i<0){return s(n)}n.stopPropagation();return true};var g=n("d",(function(n,i){if(!n){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}u.set(n,(u===null||u===void 0?void 0:u.get(n))?(u===null||u===void 0?void 0:u.get(n))+1:1);if(d.some((function(e){return e.targetElement===n}))){return}var f={targetElement:n,options:i||{}};d=__spreadArray(__spreadArray([],d,true),[f],false);if(r){p()}else{w(i)}if(r){n.ontouchstart=function(n){if(n.targetTouches.length===1){o=n.targetTouches[0].clientY}};n.ontouchmove=function(e){if(e.targetTouches.length===1){b(e,n)}};if(!t){document.addEventListener("touchmove",s,e?{passive:false}:undefined);t=true}}}));var S=n("e",(function(n){if(!n){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}u.set(n,(u===null||u===void 0?void 0:u.get(n))?(u===null||u===void 0?void 0:u.get(n))-1:0);if((u===null||u===void 0?void 0:u.get(n))===0){d=d.filter((function(e){return e.targetElement!==n}));u===null||u===void 0?void 0:u.delete(n)}if(r){n.ontouchstart=null;n.ontouchmove=null;if(t&&d.length===0){document.removeEventListener("touchmove",s,e?{passive:false}:undefined);t=false}}if(d.length===0){if(r){y()}else{m()}}}))}}}));
@@ -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 r}from"./p-97fe4968.js";import{i as o}from"./p-aaa7a7bd.js";const n=class{constructor(t){e(this,t),this.theme="",this.variation="default",this.accessibleLabel=void 0}componentWillLoad(){o(this)}render(){const e="primary"===this.variation||"negative"===this.variation||"turva"===this.theme&&"secondary"===this.variation?"primary":"secondary"===this.variation?"secondary":"default";return t(a,{key:"7c4634d2a35cd12abc71558bd726735a0f6b4234"},t("nav",{key:"97261310d0db43f2a0c848a4003aa37cb4d808c1",class:{"duet-toolbar":!0,"duet-theme-turva":"turva"===this.theme,[e]:!0},"aria-label":this.accessibleLabel},t("div",{key:"f27b0883e8ec3f9e86c6b250ad379dc7f69b2439",class:"container"},t("div",{key:"c1a8827f0d1efe138109799d6c21d0a3d79dc9da",class:"list",role:"list"},t("slot",{key:"8b8eacded7186b48305432f8dd6c338593cee8e0",name:"left"})),t("div",{key:"0941393fcdeef9501a07e37029c4fa5860faa346",class:"list",role:"list"},t("slot",{key:"ac2065b27768910493300da47e3d0b3bb9c516cd",name:"right"})))))}get element(){return r(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;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(212, 223, 229)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(222, 224, 228)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}";export{n as duet_toolbar}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function r(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o["throw"](e))}catch(e){i(e)}}function l(e){e.done?n(e.value):a(e.value).then(r,s)}l((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return l([e,t])}}function l(s){if(o)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(n=0)),n)try{if(o=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;a=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];a=0}finally{o=i=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-4289c19b.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,n,o,a,i;return{setters:[function(e){t=e.r;n=e.h;o=e.H;a=e.g},function(e){i=e.i}],execute:function(){var r='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 44px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}';var s=r;var l=e("duet_slideout_panel_dropdown",function(){function e(e){var n=this;t(this,e);this.onClick=function(){n.open=!n.open};this.theme="";this.active=false;this.open=false;this.icon=undefined}e.prototype.handleFocus=function(e){var t=this;var n=e.composedPath().every((function(e){return e!==t.element}));if(n){this.open=false}};e.prototype.componentWillLoad=function(){i(this);var e=this.element.querySelectorAll("duet-slideout-link");e.forEach((function(e){e.menuItem=true}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return n(o,{key:"63e1ecfad4b3a99359297c7b4057cdcc8161a832"},n("div",{key:"461506ece0bb6e079c7cea22bc8ecfcbce9769aa",class:{"duet-slideout-panel-dropdown":true,"duet-theme-turva":this.theme==="turva",active:this.open}},n("button",{key:"db9dd82a1a4f2bd4c58d13ca3b7223333acf8fe1",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active},onClick:this.onClick},this.icon&&n("duet-icon",{key:"a425d896cbba6af3d669ad764406dbd2949396ee",name:this.icon,size:"medium",margin:"none",color:"secondary"}),n("span",{key:"f0c2a72a77ac42db0e38cd3605a1e5478bf65ea9",class:"label"},n("slot",{key:"eb835a8dc87c277628dead143ccaf2ffa698af4d",name:"label"}),n("duet-icon",{key:"8f05a36f715ba855fc222f3a84bc5d8831786789",class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),n("div",{key:"f96a0657d877b6c12fdb4c019bb2401674f8e5b4",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},n("slot",{key:"1510098d5bf5a1378f6a6f0b0fb4f8914db5802b"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());l.style=s}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js","./p-74aa0f9d.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,n,a,i,o,r,s,d,c;return{setters:[function(e){t=e.r;n=e.h;a=e.H;i=e.g},function(e){o=e.i},function(e){r=e.a;s=e.c;d=e.d;c=e.g},function(){}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content;white-space:nowrap}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:25%;right:-16px;width:2px;height:50%;content:"";background:rgb(8, 42, 77)}.duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 28, 58)}';var f=u;var l=e("duet_slideout_lang",function(){function e(e){t(this,e);this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"};this.language=r();this.theme=""}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){s(this)};e.prototype.disconnectedCallback=function(){d(this)};e.prototype.render=function(){var e=c(this.chooseLangObject);return n(a,{key:"d9ace6f9e80f6ed42422394dbd1a6f1b1434c1f2"},n("div",{key:"691f14871cc0e319654d149844b61ab81a631316",class:"duet-slideout-lang",role:"group","aria-label":e},n("duet-icon",{key:"2b2fce67063ee945debe8fb8c603941ab4386a3c",name:"navigation-language",margin:"none",color:"secondary"}),n("slot",{key:"333d0f86d5b0dabb5af4df4024e479dfaed27cb5"})))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());l.style=f}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register([],(function(r){"use strict";return{execute:function(){r({c:t,r:n});function n(r){if(r&&r.selectionStart){var n=r.selectionStart;var t=r.selectionEnd;return function(){if(n===t){r.selectionStart=n;r.selectionEnd=t}else{r.setSelectionRange(n,t)}}}return function(){return true}}function t(r,n){var t=r.value;var u=r.selectionStart;var e=t.slice(0,u);var a=t.slice(u,t.length);var v=e.replace(n,"");var c=a.replace(n,"");var i=v+c;var f=v.length;r.value=i;r.selectionStart=r.selectionEnd=f;return i}}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as i,h as o,H as e,g as a}from"./p-97fe4968.js";import{i as n}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{d as r}from"./p-9e371678.js";import{i as d}from"./p-a45e3f8b.js";import{g as c,c as h,d as u}from"./p-4d06fd44.js";import{c as b,g as l,s as p}from"./p-cc67e773.js";import"./p-9c3c64b9.js";import"./p-0d7da85a.js";const m=class{constructor(o){t(this,o),this.duetActionEvent=i(this,"duetActionEvent",6),this.listId=s("duet-action-button"),this.emitPageEvent=r((t=>{this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionId,name:this.actionName,meta:this.actionMeta,id:this.listId})})),this.numbersStore="",this.theme="",this.iconName="action-arrow-left-small",this.iconColor="currentColor",this.iconSize="xx-small",this.actionName=void 0,this.actionId=void 0,this.actionMeta=void 0,this.disabled=!1,this.color="",this.background="",this.accessibleTitle=!0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"},this.accessibleLabel=c(this.accessibleLabelsDefaults),this.accessibleControls="",this.url=void 0}async onKeyboardDown(t){d(t)&&this.emitPageEvent(t)}getTitle(){return"string"==typeof this.accessibleTitle?this.accessibleTitle:!0===this.accessibleTitle&&this.actionName?b(`${this.actionName}`):null}async onMouseHandler(t){t.preventDefault(),this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta})}componentWillLoad(){n(this)}connectedCallback(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){u(this)}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){const t="currentColor"===this.color?"currentColor":l(this.color,this.theme),i=l(this.background,this.theme),a=i?p(i,-.1):i,n=i?`\n button.duet-action-button {\n background: ${i} !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ${a} !important;\n }\n `:"",s={ref:t=>this.nativeButton=t,part:"button",style:{color:t,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"},disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:{"duet-action-button":!0,"duet-action-button--disabled":this.disabled,[`duet-action-button--${this.theme}`]:""!==this.theme,"duet-theme-turva":"turva"===this.theme}};return o(e,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:t=>this.onKeyboardDown(t)},o("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:n}),this.url&&!this.disabled?o("a",Object.assign({},s,{href:this.url}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):o("button",Object.assign({},s,{onClick:t=>this.onMouseHandler(t)}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),o("duet-visually-hidden",null,o("slot",null))))}get element(){return a(this)}};m.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}";export{m as duet_action_button}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as i,H as o,g as a}from"./p-97fe4968.js";import{i as r}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";const d=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.checkboxId=s("DuetCheckbox"),this.errorId=s("DuetError"),this.onChange=e=>{this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.getDescribedBy=()=>{const e=[];return this.accessibleDescribedBy&&e.push(this.accessibleDescribedBy),this.error&&e.push(this.errorId),e.length>0?e.join(" "):null},this.accessibleActiveDescendant=void 0,this.margin="auto",this.accessibleControls=void 0,this.accessibleIndex=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleSelected=void 0,this.accessibleLiveError="polite",this.required=!1,this.error="",this.theme="",this.disabled=!1,this.identifier=void 0,this.label="label",this.labelHidden=!1,this.name=void 0,this.role=void 0,this.checked=!1,this.value=void 0}componentWillLoad(){r(this),void 0===this.value&&(this.value=this.identifier)}async setFocus(e){this.nativeInput.focus(e)}render(){const e=this.identifier||this.checkboxId;return i(o,{key:"b766728b3dfefde1c6deefe6d0db2f549cd8aad3",class:{"duet-m-0":"none"===this.margin}},i("div",{key:"caeaf8e29cbfdc3f684a64a5c7e7e5ef6513432b",class:{"duet-checkbox-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme}},i("input",{key:"6ab801fbe93327d25187b276878076bcfdf48b36",ref:e=>this.nativeInput=e,type:"checkbox",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,class:{"duet-checkbox":!0,disabled:this.disabled},checked:this.checked,disabled:this.disabled,tabindex:this.accessibleIndex,"aria-invalid":this.error?"true":"false","aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-selected":this.accessibleSelected,required:this.required,role:this.role,name:this.name,id:e}),i("label",{key:"68e27e7756a0db41709ff8a3ae200ee99ff786b1",class:"duet-label",htmlFor:e},i("span",{key:"3db3ad22a9878f989e6dc47fee0c37c7d5195f42"},this.label)),i("div",{key:"9d27e662b34db5a4db91e3a7e7d9f989ba933f94",class:"duet-checkbox-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",{key:"7901825f9db5ff2a62876fa4324b449155ffac6a"},this.error))))}get element(){return a(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:8px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host(:last-child:not(:only-child)){margin-bottom:0 !important}:host(.duet-m-0){margin:0 !important}.duet-label{position:relative;z-index:100;display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva .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)}.duet-label span{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container{position:relative;width:100%;height:100%}.duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox+label::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:"";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva .duet-checkbox+label::before{border-color:rgb(23, 28, 58)}.duet-checkbox:checked+label::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva .duet-checkbox:checked+label::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox+label{position:static}.duet-checkbox:checked+label::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:"";background:transparent url("data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled]{cursor:default}.duet-checkbox[disabled]+label{color:rgb(98, 121, 138)}.duet-theme-turva .duet-checkbox[disabled]+label{color:rgb(143, 147, 158)}.duet-checkbox[disabled]+label::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-checkbox[disabled]+label::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled]:checked+label::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva .duet-checkbox[disabled]:checked+label::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error{margin-left:31px;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(214, 28, 82);border-radius:4px}.duet-theme-turva .duet-checkbox-error{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(214, 28, 82)}.duet-label-hidden .duet-label span,.duet-label-hidden .duet-checkbox-error span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{d as duet_checkbox}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register([],(function(e){"use strict";return{execute:function(){var t=e("i",(function(e){var t=Array.from(document.documentElement.classList).join(" ")||"";var u=/(duet-theme-)([a-z]*)/gi.exec(t);if(u&&u[1]==="duet-theme-"){e.theme=u[2]==="default"?"":u[2]}}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as o,g as a}from"./p-97fe4968.js";import{i as n}from"./p-aaa7a7bd.js";import{f as r}from"./p-a45e3f8b.js";const d=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.getVariant=()=>(this.element.parentElement.getAttribute("slot"),"right"),this.accessibleLabel=void 0,this.theme="",this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){n(this)}handleEscape(e){r(e)&&(this.open=!1,this.setFocus())}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"f2ae6a8b45e78de018708287c1ec61b7648af786",role:"listitem"},t("div",{key:"af551d08605c82f1f1cda7b81c99081152dd4678",class:{"duet-menu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open,[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]:!0}},t("button",{key:"c98ba81cf3d27c93922378a1ed42c6795e5560f7",ref:e=>this.button=e,"aria-label":this.accessibleLabel,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick,onKeyUp:e=>this.handleEscape(e)},this.icon&&t("duet-icon",{key:"68312f16c0510c96693965ebdee514b9ab58ae29",class:"menu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"f877d5f7298eaae83f061306be1e61b358017e47",class:"label"},t("slot",{key:"1e9e1ddda50dd7be9204235502c5541477d2b26c",name:"label"}),t("duet-icon",{key:"60a75a216d897ae68c78146adaa4b17fa7220ea5",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"ac48d2e83152837d5865559c85987640751033b7",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"c423d7b527bc674cc8fcf895ef228ab3dcc14c27"}))))}get element(){return a(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}@media (min-width: 62em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 16px}}@media (min-width: 76.25em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 28px}}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{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:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-theme-turva .duet-menu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}.duet-theme-turva .duet-menu-bar-dropdown button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:16px;height:16px}}.duet-menu-bar-dropdown .items{position:absolute;top:70%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:8px;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}';export{d as duet_menu_bar_dropdown}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as i,g as a}from"./p-97fe4968.js";import{i as o}from"./p-aaa7a7bd.js";import{c as d}from"./p-5e59e970.js";import{h as s}from"./p-a20ed47c.js";const n=class{constructor(t){e(this,t),this.errorId=d("DuetError"),this.labelId=d("DuetLabel"),this.checkHasTooltip=()=>{this.hasTooltip=s(this.element,"tooltip")},this.hasTooltip=!1,this.theme="",this.margin="auto",this.caption=void 0,this.label=void 0,this.compactLabel=!1,this.error=void 0,this.accessibleLiveError="polite",this.labelHeadingLevel="span",this.labelHidden=!1}componentWillLoad(){o(this),this.checkHasTooltip()}render(){return t(i,{key:"f6aef2c47f5c6b8e6d2c1bdb46d519f4ed458718",class:{"duet-m-0":"none"===this.margin}},t("fieldset",{key:"a54d512a17e071942ee5f0fabf5390e6f1bcac32","aria-labelledby":this.labelId,"aria-describedby":this.error?this.errorId:null,class:{"duet-fieldset":!0,"duet-theme-turva":"turva"===this.theme}},t("legend",{key:"afd55670461e38468717fa4d4c897d92333c3986",id:this.labelId},t(this.labelHeadingLevel,{key:"d66a45591d9ea38ece746276f752a1dc9f470060"},this.label),this.caption&&t("span",{key:"2e6451284012b3f76c5ddb452e8c54c8902ba222"},this.caption)),t("div",{key:"f4a921c9f6fad1e6bc70e5c6e50c7e17378664b7",class:{"duet-legend-wrapper":!0,"duet-legend-has-caption":!!this.caption,"duet-legend-has-tooltip":this.hasTooltip,"duet-legend-hidden":this.labelHidden,"duet-legend-compact":this.compactLabel}},t("div",{key:"9fb2004e0c5810ba28adbf0b2f1cf222c255f7e3",class:"duet-fieldset-label"},t("span",{key:"d043219b465141ce2a6d6dbba38f6233560a6e3e","aria-hidden":"true"},this.label),t("slot",{key:"ae5535898568b419d0534a1105878d2ddb784ff8",onSlotchange:this.checkHasTooltip,name:"tooltip"})),this.caption&&t("div",{key:"6c68d9a518f408a460e2346cdc30342606cb133d",class:"duet-fieldset-caption","aria-hidden":"true"},t("duet-caption",{key:"198623e298175cfa825ccbc9b70ba3a25f577d2a",theme:this.theme,margin:"none"},this.caption))),t("slot",{key:"a80181d8476bb6387cb5d76cce99d4617cac8734"}),t("span",{key:"be4bff117193cceb7517dbef02403f231ed3f263",class:"duet-fieldset-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&t("span",{key:"08312b9df002b520950d3119195c811cb2504e83"},this.error))))}get element(){return a(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{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-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{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(214, 28, 82);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-theme-turva .duet-fieldset-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(214, 28, 82)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{n as duet_fieldset}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register([],(function(r){"use strict";return{execute:function(){var _="rgb(0, 161, 212)";var a="rgb(178, 180, 179)";var o="rgb(11, 114, 136)";var l="rgb(199, 12, 112)";var e="rgb(122, 1, 196)";var c="rgb(211, 36, 131)";var t="rgb(161, 10, 78)";var g="rgb(168, 1, 78)";var v="rgb(213, 66, 3)";var i="rgb(9, 129, 148)";var s="rgb(169, 69, 124)";var d="rgb(54, 74, 129)";var u="rgb(23, 28, 58)";var n="rgb(214, 28, 82)";var b="rgb(255, 240, 243)";var x="rgb(255, 211, 219)";var m="rgb(89, 0, 45)";var y="rgb(255, 173, 190)";var p="rgb(252, 136, 162)";var h="rgb(243, 98, 134)";var w="rgb(255, 225, 231)";var z="rgb(231, 62, 107)";var f="rgb(214, 28, 82)";var k="rgb(185, 16, 74)";var q="rgb(153, 9, 66)";var S="rgb(120, 4, 56)";var I="rgb(214, 28, 82)";var U="rgb(122, 1, 196)";var j="rgb(0, 155, 204)";var A="rgb(27, 171, 75)";var E="rgb(255, 86, 34)";var B="rgb(245, 76, 154)";var C="rgb(194, 21, 101)";var F="rgb(192, 101, 247)";var H="rgb(0, 105, 191)";var M="rgb(19, 120, 53)";var R="rgb(179, 60, 24)";var O="rgb(13, 163, 166)";var D="rgb(11, 114, 136)";var G="rgb(179, 137, 24)";var J="rgb(128, 98, 17)";var K="rgb(0, 41, 77)";var L="rgb(181, 198, 208)";var N="rgb(127, 150, 165)";var P="rgb(143, 147, 158)";var Q="rgb(98, 121, 138)";var T="rgb(113, 118, 132)";var V="rgb(212, 223, 229)";var W="rgb(222, 224, 228)";var X="rgb(245, 248, 250)";var Y="rgb(245, 247, 250)";var Z="rgb(255, 255, 255)";var $="rgb(255, 255, 255)";var rr="rgb(199, 202, 207)";var _r="rgb(240, 247, 250)";var ar="rgb(217, 236, 245)";var or="rgb(8, 42, 77)";var lr="rgb(198, 225, 238)";var er="rgb(172, 210, 229)";var cr="rgb(131, 188, 217)";var tr="rgb(228, 241, 247)";var gr="rgb(50, 153, 204)";var vr="rgb(0, 119, 179)";var ir="rgb(0, 97, 155)";var sr="rgb(0, 75, 129)";var dr="rgb(3, 56, 102)";var ur="rgb(245, 248, 250)";var nr="rgb(212, 223, 229)";var br="rgb(17, 28, 38)";var xr="rgb(181, 198, 208)";var mr="rgb(153, 174, 186)";var yr="rgb(127, 150, 165)";var pr="rgb(228, 236, 239)";var hr="rgb(98, 121, 138)";var wr="rgb(81, 105, 123)";var zr="rgb(62, 84, 102)";var fr="rgb(45, 64, 81)";var kr="rgb(30, 45, 59)";var qr="rgb(0, 119, 179)";var Sr="rgb(0, 75, 129)";var Ir="rgb(126, 2, 35)";var Ur="rgb(0, 97, 155)";var jr="rgb(164, 4, 40)";var Ar="rgb(198, 225, 238)";var Er="rgb(255, 185, 190)";var Br="rgb(228, 241, 247)";var Cr="rgb(255, 227, 228)";var Fr="rgb(240, 247, 250)";var Hr="rgb(255, 241, 241)";var Mr="rgb(198, 12, 48)";var Rr="rgb(8, 42, 77)";var Or="rgb(23, 28, 58)";var Dr="rgb(48, 131, 105)";var Gr="rgb(244, 250, 247)";var Jr="rgb(218, 246, 233)";var Kr="rgb(4, 38, 33)";var Lr="rgb(191, 239, 218)";var Nr="rgb(163, 229, 202)";var Pr="rgb(134, 215, 185)";var Qr="rgb(231, 248, 239)";var Tr="rgb(105, 196, 166)";var Vr="rgb(77, 171, 143)";var Wr="rgb(48, 131, 105)";var Xr="rgb(29, 106, 88)";var Yr="rgb(13, 71, 59)";var Zr="rgb(48, 131, 105)";var $r="rgb(245, 247, 250)";var r_="rgb(222, 224, 228)";var __="rgb(8, 13, 38)";var a_="rgb(199, 202, 207)";var o_="rgb(175, 178, 186)";var l_="rgb(143, 147, 158)";var e_="rgb(234, 235, 239)";var c_="rgb(113, 118, 132)";var t_="rgb(98, 104, 122)";var g_="rgb(71, 78, 101)";var v_="rgb(45, 52, 79)";var i_="rgb(23, 28, 58)";var s_="rgb(255, 241, 241)";var d_="rgb(255, 213, 215)";var u_="rgb(51, 5, 20)";var n_="rgb(255, 185, 190)";var b_="rgb(252, 148, 158)";var x_="rgb(240, 102, 119)";var m_="rgb(255, 227, 228)";var y_="rgb(221, 49, 77)";var p_="rgb(198, 12, 48)";var h_="rgb(164, 4, 40)";var w_="rgb(126, 2, 35)";var z_="rgb(87, 4, 29)";var f_="rgb(247, 178, 40)";var k_="rgb(255, 251, 242)";var q_="rgb(255, 244, 198)";var S_="rgb(38, 26, 4)";var I_="rgb(255, 232, 160)";var U_="rgb(255, 217, 120)";var j_="rgb(255, 199, 79)";var A_="rgb(255, 247, 221)";var E_="rgb(247, 178, 40)";var B_="rgb(212, 151, 32)";var C_="rgb(156, 110, 22)";var F_="rgb(126, 87, 16)";var H_="rgb(81, 55, 9)";var M_="rgb(247, 178, 40)";var R_="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var O_="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var D_="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var G_="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var J_="1.25rem";var K_=r("f","1rem");var L_="0.875rem";var N_="1.5rem";var P_="0.75rem";var Q_="2.25rem";var T_="3rem";var V_="4.5rem";var W_="700";var X_="800";var Y_="400";var Z_="600";var $_="-0.01rem";var ra="1.5";var _a="1.25";var aa="1.1";var oa=r("a","'(min-width: 62em)'");var la=r("m","'(min-width: 48em)'");var ea=r("b","'(min-width: 36em)'");var ca="'(min-width: 64.0625em)'";var ta="'(max-width: 35.9375em)'";var ga=r("c","'(min-width: 76.25em)'");var va="'(max-width: 22.5em)'";var ia="'(min-width: 106.25em)'";var sa="'(max-width: 20.5em)'";var da="0.30";var ua="0.50";var na="0.75";var ba="0.85";var xa="50%";var ma="4px";var ya="12px";var pa="16px";var ha="8px";var wa="20rem";var za="0";var fa="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 ka="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 qa="0 2px 6px 0 rgba(0, 41, 77, 0.07)";var Sa="0 2px 6px 0 rgba(117, 117, 117, 0.13)";var Ia="0 0 0 1px #de2362";var Ua="0 0 0 1px #e55039";var ja="0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3";var Aa="0 0 0 1px #0077b3";var Ea="0 0 0 1px #171c3a";var Ba="0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a";var Ca="0 2px 10px 0 rgba(0, 41, 77, 0.1)";var Fa="0 0 0 1px #909599";var Ha="0 0 0 1px #747475";var Ma="0 2px 10px 0 rgba(117, 117, 117, 0.15)";var Ra="0 2px 20px 0 rgba(0, 0, 0, 0.2)";var Oa="0 2px 10px 0 rgba(0, 41, 77, 0.07)";var Da="0 2px 10px 0 rgba(117, 117, 117, 0.13)";var Ga="1px";var Ja="8rem";var Ka="1px";var La="1px";var Na="4rem";var Pa="30px";var Qa="24px";var Ta="20px";var Va="36px";var Wa="16px";var Xa="48px";var Ya="10px";var Za="72px";var $a="7px";var ro="1110px";var _o="2px";var ao="3rem";var oo="40px";var lo="30px";var eo="48px";var co="20px";var to="16px";var go="12px";var vo="28px";var io="8px";var so="36px";var uo="4px";var no="48px";var bo="2px";var xo="72px";var mo="94px";var yo="300ms ease";var po="600ms ease";var ho="-999999";var wo="1";var zo="600";var fo="400";var ko="200";var qo="250";var So="100";var Io="900";var Uo="700";var jo="950";var Ao="800";var Eo="300";var Bo="500";var Co={color_brand_blue:_,color_brand_gray_turva:a,color_category_family:o,color_category_family_turva:l,color_category_finance:e,color_category_home:c,color_category_home_turva:t,color_category_pet:g,color_category_travel:v,color_category_travel_turva:i,color_category_union_turva:s,color_category_vehicle:d,color_category_vehicle_turva:u,color_danger:n,color_danger_00:b,color_danger_100:x,color_danger_1000:m,color_danger_200:y,color_danger_300:p,color_danger_400:h,color_danger_50:w,color_danger_500:z,color_danger_600:f,color_danger_700:k,color_danger_800:q,color_danger_900:S,color_danger_turva:I,color_data_01:U,color_data_02:j,color_data_03:A,color_data_04:E,color_data_05:B,color_data_06:C,color_data_07:F,color_data_08:H,color_data_09:M,color_data_10:R,color_data_11:O,color_data_12:D,color_data_13:G,color_data_14:J,color_data_15:K,color_gray:L,color_gray_dark:N,color_gray_dark_turva:P,color_gray_darker:Q,color_gray_darker_turva:T,color_gray_light:V,color_gray_light_turva:W,color_gray_lighter:X,color_gray_lighter_turva:Y,color_gray_lightest:Z,color_gray_lightest_turva:$,color_gray_turva:rr,color_lt_blue_00:_r,color_lt_blue_100:ar,color_lt_blue_1000:or,color_lt_blue_200:lr,color_lt_blue_300:er,color_lt_blue_400:cr,color_lt_blue_50:tr,color_lt_blue_500:gr,color_lt_blue_600:vr,color_lt_blue_700:ir,color_lt_blue_800:sr,color_lt_blue_900:dr,color_lt_gray_00:ur,color_lt_gray_100:nr,color_lt_gray_1000:br,color_lt_gray_200:xr,color_lt_gray_300:mr,color_lt_gray_400:yr,color_lt_gray_50:pr,color_lt_gray_500:hr,color_lt_gray_600:wr,color_lt_gray_700:zr,color_lt_gray_800:fr,color_lt_gray_900:kr,color_primary:qr,color_primary_dark:Sr,color_primary_dark_turva:Ir,color_primary_darker:Ur,color_primary_darker_turva:jr,color_primary_light:Ar,color_primary_light_turva:Er,color_primary_lighter:Br,color_primary_lighter_turva:Cr,color_primary_lightest:Fr,color_primary_lightest_turva:Hr,color_primary_turva:Mr,color_secondary:Rr,color_secondary_turva:Or,color_success:Dr,color_success_00:Gr,color_success_100:Jr,color_success_1000:Kr,color_success_200:Lr,color_success_300:Nr,color_success_400:Pr,color_success_50:Qr,color_success_500:Tr,color_success_600:Vr,color_success_700:Wr,color_success_800:Xr,color_success_900:Yr,color_success_turva:Zr,color_turva_gray_00:$r,color_turva_gray_100:r_,color_turva_gray_1000:__,color_turva_gray_200:a_,color_turva_gray_300:o_,color_turva_gray_400:l_,color_turva_gray_50:e_,color_turva_gray_500:c_,color_turva_gray_600:t_,color_turva_gray_700:g_,color_turva_gray_800:v_,color_turva_gray_900:i_,color_turva_red_00:s_,color_turva_red_100:d_,color_turva_red_1000:u_,color_turva_red_200:n_,color_turva_red_300:b_,color_turva_red_400:x_,color_turva_red_50:m_,color_turva_red_500:y_,color_turva_red_600:p_,color_turva_red_700:h_,color_turva_red_800:w_,color_turva_red_900:z_,color_warning:f_,color_warning_00:k_,color_warning_100:q_,color_warning_1000:S_,color_warning_200:I_,color_warning_300:U_,color_warning_400:j_,color_warning_50:A_,color_warning_500:E_,color_warning_600:B_,color_warning_700:C_,color_warning_800:F_,color_warning_900:H_,color_warning_turva:M_,font_family_heading:R_,font_family_heading_turva:O_,font_family_text:D_,font_family_text_turva:G_,font_size_large:J_,font_size_medium:K_,font_size_small:L_,font_size_x_large:N_,font_size_x_small:P_,font_size_xx_large:Q_,font_size_xxx_large:T_,font_size_xxxx_large:V_,font_weight_bold:W_,font_weight_extra_bold:X_,font_weight_normal:Y_,font_weight_semi_bold:Z_,letter_spacing_heading:$_,line_height_medium:ra,line_height_small:_a,line_height_x_small:aa,media_query_large:oa,media_query_medium:la,media_query_small:ea,media_query_x_large:ca,media_query_x_small:ta,media_query_xx_large:ga,media_query_xx_small:va,media_query_xxx_large:ia,media_query_xxx_small:sa,opacity_30:da,opacity_50:ua,opacity_75:na,opacity_85:ba,radius_circle:xa,radius_default:ma,radius_intermediate:ya,radius_large:pa,radius_medium:ha,radius_pill:wa,radius_sharp:za,shadow_card:fa,shadow_card_turva:ka,shadow_default:qa,shadow_default_turva:Sa,shadow_error:Ia,shadow_error_turva:Ua,shadow_focus:ja,shadow_focus_input:Aa,shadow_focus_input_turva:Ea,shadow_focus_turva:Ba,shadow_hover:Ca,shadow_hover_input:Fa,shadow_hover_input_turva:Ha,shadow_hover_turva:Ma,shadow_modal:Ra,shadow_tooltip:Oa,shadow_tooltip_turva:Da,size_button_border:Ga,size_button_min_width:Ja,size_button_tiny_border:Ka,size_form_border:La,size_header:Na,size_icon_large:Pa,size_icon_medium:Qa,size_icon_small:Ta,size_icon_x_large:Va,size_icon_x_small:Wa,size_icon_xx_large:Xa,size_icon_xx_small:Ya,size_icon_xxx_large:Za,size_icon_xxx_small:$a,size_layout_max_width:ro,size_medium_border:_o,size_navigation:ao,size_step_medium:oo,size_step_small:lo,size_tappable_square:eo,space_large:co,space_medium:to,space_small:go,space_x_large:vo,space_x_small:io,space_xx_large:so,space_xx_small:uo,space_xxx_large:no,space_xxx_small:bo,space_xxxx_large:xo,space_xxxxx_large:mo,transition_quickly:yo,transition_slowly:po,z_index_deep:ho,z_index_default:wo,z_index_dropdown:zo,z_index_header:fo,z_index_mask:ko,z_index_mask_buttons:qo,z_index_masked:So,z_index_modal:Io,z_index_overlay:Uo,z_index_popup:jo,z_index_spinner:Ao,z_index_sticky:Eo,z_index_toast:Bo};var Fo=Object.freeze({__proto__:null,color_brand_blue:_,color_brand_gray_turva:a,color_category_family:o,color_category_family_turva:l,color_category_finance:e,color_category_home:c,color_category_home_turva:t,color_category_pet:g,color_category_travel:v,color_category_travel_turva:i,color_category_union_turva:s,color_category_vehicle:d,color_category_vehicle_turva:u,color_danger:n,color_danger_00:b,color_danger_100:x,color_danger_1000:m,color_danger_200:y,color_danger_300:p,color_danger_400:h,color_danger_50:w,color_danger_500:z,color_danger_600:f,color_danger_700:k,color_danger_800:q,color_danger_900:S,color_danger_turva:I,color_data_01:U,color_data_02:j,color_data_03:A,color_data_04:E,color_data_05:B,color_data_06:C,color_data_07:F,color_data_08:H,color_data_09:M,color_data_10:R,color_data_11:O,color_data_12:D,color_data_13:G,color_data_14:J,color_data_15:K,color_gray:L,color_gray_dark:N,color_gray_dark_turva:P,color_gray_darker:Q,color_gray_darker_turva:T,color_gray_light:V,color_gray_light_turva:W,color_gray_lighter:X,color_gray_lighter_turva:Y,color_gray_lightest:Z,color_gray_lightest_turva:$,color_gray_turva:rr,color_lt_blue_00:_r,color_lt_blue_100:ar,color_lt_blue_1000:or,color_lt_blue_200:lr,color_lt_blue_300:er,color_lt_blue_400:cr,color_lt_blue_50:tr,color_lt_blue_500:gr,color_lt_blue_600:vr,color_lt_blue_700:ir,color_lt_blue_800:sr,color_lt_blue_900:dr,color_lt_gray_00:ur,color_lt_gray_100:nr,color_lt_gray_1000:br,color_lt_gray_200:xr,color_lt_gray_300:mr,color_lt_gray_400:yr,color_lt_gray_50:pr,color_lt_gray_500:hr,color_lt_gray_600:wr,color_lt_gray_700:zr,color_lt_gray_800:fr,color_lt_gray_900:kr,color_primary:qr,color_primary_dark:Sr,color_primary_dark_turva:Ir,color_primary_darker:Ur,color_primary_darker_turva:jr,color_primary_light:Ar,color_primary_light_turva:Er,color_primary_lighter:Br,color_primary_lighter_turva:Cr,color_primary_lightest:Fr,color_primary_lightest_turva:Hr,color_primary_turva:Mr,color_secondary:Rr,color_secondary_turva:Or,color_success:Dr,color_success_00:Gr,color_success_100:Jr,color_success_1000:Kr,color_success_200:Lr,color_success_300:Nr,color_success_400:Pr,color_success_50:Qr,color_success_500:Tr,color_success_600:Vr,color_success_700:Wr,color_success_800:Xr,color_success_900:Yr,color_success_turva:Zr,color_turva_gray_00:$r,color_turva_gray_100:r_,color_turva_gray_1000:__,color_turva_gray_200:a_,color_turva_gray_300:o_,color_turva_gray_400:l_,color_turva_gray_50:e_,color_turva_gray_500:c_,color_turva_gray_600:t_,color_turva_gray_700:g_,color_turva_gray_800:v_,color_turva_gray_900:i_,color_turva_red_00:s_,color_turva_red_100:d_,color_turva_red_1000:u_,color_turva_red_200:n_,color_turva_red_300:b_,color_turva_red_400:x_,color_turva_red_50:m_,color_turva_red_500:y_,color_turva_red_600:p_,color_turva_red_700:h_,color_turva_red_800:w_,color_turva_red_900:z_,color_warning:f_,color_warning_00:k_,color_warning_100:q_,color_warning_1000:S_,color_warning_200:I_,color_warning_300:U_,color_warning_400:j_,color_warning_50:A_,color_warning_500:E_,color_warning_600:B_,color_warning_700:C_,color_warning_800:F_,color_warning_900:H_,color_warning_turva:M_,font_family_heading:R_,font_family_heading_turva:O_,font_family_text:D_,font_family_text_turva:G_,font_size_large:J_,font_size_medium:K_,font_size_small:L_,font_size_x_large:N_,font_size_x_small:P_,font_size_xx_large:Q_,font_size_xxx_large:T_,font_size_xxxx_large:V_,font_weight_bold:W_,font_weight_extra_bold:X_,font_weight_normal:Y_,font_weight_semi_bold:Z_,letter_spacing_heading:$_,line_height_medium:ra,line_height_small:_a,line_height_x_small:aa,media_query_large:oa,media_query_medium:la,media_query_small:ea,media_query_x_large:ca,media_query_x_small:ta,media_query_xx_large:ga,media_query_xx_small:va,media_query_xxx_large:ia,media_query_xxx_small:sa,opacity_30:da,opacity_50:ua,opacity_75:na,opacity_85:ba,radius_circle:xa,radius_default:ma,radius_intermediate:ya,radius_large:pa,radius_medium:ha,radius_pill:wa,radius_sharp:za,shadow_card:fa,shadow_card_turva:ka,shadow_default:qa,shadow_default_turva:Sa,shadow_error:Ia,shadow_error_turva:Ua,shadow_focus:ja,shadow_focus_input:Aa,shadow_focus_input_turva:Ea,shadow_focus_turva:Ba,shadow_hover:Ca,shadow_hover_input:Fa,shadow_hover_input_turva:Ha,shadow_hover_turva:Ma,shadow_modal:Ra,shadow_tooltip:Oa,shadow_tooltip_turva:Da,size_button_border:Ga,size_button_min_width:Ja,size_button_tiny_border:Ka,size_form_border:La,size_header:Na,size_icon_large:Pa,size_icon_medium:Qa,size_icon_small:Ta,size_icon_x_large:Va,size_icon_x_small:Wa,size_icon_xx_large:Xa,size_icon_xx_small:Ya,size_icon_xxx_large:Za,size_icon_xxx_small:$a,size_layout_max_width:ro,size_medium_border:_o,size_navigation:ao,size_step_medium:oo,size_step_small:lo,size_tappable_square:eo,space_large:co,space_medium:to,space_small:go,space_x_large:vo,space_x_small:io,space_xx_large:so,space_xx_small:uo,space_xxx_large:no,space_xxx_small:bo,space_xxxx_large:xo,space_xxxxx_large:mo,transition_quickly:yo,transition_slowly:po,z_index_deep:ho,z_index_default:wo,z_index_dropdown:zo,z_index_header:fo,z_index_mask:ko,z_index_mask_buttons:qo,z_index_masked:So,z_index_modal:Io,z_index_overlay:Uo,z_index_popup:jo,z_index_spinner:Ao,z_index_sticky:Eo,z_index_toast:Bo,default:Co});r("t",Fo)}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function u(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function s(t){try{o(i.next(t))}catch(t){r(t)}}function a(t){try{o(i["throw"](t))}catch(t){r(t)}}function o(t){t.done?n(t.value):u(t.value).then(s,a)}o((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,u,r,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(e){return o([t,e])}}function o(a){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(n=0)),n)try{if(i=1,u&&(r=a[0]&2?u["return"]:a[0]?u["throw"]||((r=u["return"])&&r.call(u),0):u.next)&&!(r=r.call(u,a[1])).done)return r;if(u=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;u=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){n.label=a[1];break}if(a[0]===6&&n.label<r[1]){n.label=r[1];r=a;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(a);break}if(r[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];u=0}finally{i=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-74aa0f9d.system.js","./p-d3960f14.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,n,i,u,r,s,a,o,d,l,h,c,b,f,p,m,v,g,y,w,x;return{setters:[function(t){e=t.r;n=t.c;i=t.h;u=t.H;r=t.g},function(t){s=t.i},function(t){a=t.c},function(t){o=t.a;d=t.b;l=t.c;h=t.d;c=t.e;b=t.s;f=t.u},function(t){p=t.a;m=t.b;v=t.g;g=t.c;y=t.d},function(t){w=t.c;x=t.p},function(){}],execute:function(){var k={title:"action-add",tags:"action add plus",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>'};var A={title:"action-subtract",tags:"action subtract minus remove delete cancel",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>'};function D(t,e){var n;if(typeof t==="string"){if(t===""){return null}var i=t.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");if(e){i=N(i,e,false)}i=i.replace(/\s+/g,"");n=parseFloat(i)}if(typeof t==="number"){n=parseFloat(String(t))}if(!isNaN(Number(n))){return Number(n)}if(t===null||t===undefined){return null}throw new Error("Invalid value passed to SafeParseFloat")}function N(t,e,n){if(n===void 0){n=false}var i;var u=new Intl.NumberFormat(e).format(1/2).replace(/[0-9]/g,"");var r=new Intl.NumberFormat("en-US").format(1/2).replace(/[0-9]/g,"");var s=new Intl.NumberFormat(e).format(1e3).replace(/[0-9]/g,"");var a=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");i=t.replace(u,"DECIMALSEPARATOR");if(n){i=i.replace(s,"THOUSANDSEPARATOR")}else{i=i.replace(s,"")}i=i.replace("DECIMALSEPARATOR",r);i=i.replace("THOUSANDSEPARATOR",a);return i}var S=function(t,e){return Math.round(t/e)*e};var E=function(t,e,n){return Math.min(Math.max(t,e),n)};var _='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}: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-number-container{position:relative;width:100%}.duet-number-buttons{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons .duet-number-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons .duet-number-button[aria-disabled=true],.duet-number-buttons .duet-number-button:disabled{pointer-events:none}.duet-number-buttons .duet-number-button[aria-disabled=true] duet-icon,.duet-number-buttons .duet-number-button:disabled duet-icon{opacity:0.4}.duet-number-buttons .duet-number-button:active duet-icon{transform:translateY(1px)}.duet-number-buttons .duet-number-button:focus{outline:0}:host(.user-is-tabbing) .duet-number-buttons .duet-number-button:focus{z-index:2;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva :host(.user-is-tabbing) .duet-number-buttons .duet-number-button:focus{box-shadow:0 0 0 2px #171c3a !important}.duet-number-buttons .duet-number-button:first-of-type{border-left:1px solid rgb(181, 198, 208)}.duet-number-buttons .duet-number-button:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-number-buttons .duet-number-button:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons .duet-number-button:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:"";background:rgb(212, 223, 229)}:host(.duet-theme-turva) .duet-number-buttons .duet-number-button:first-of-type::before{background:linear-gradient(to left, rgba(199, 202, 207, 0.2) 0%, rgba(199, 202, 207, 0.2) 1px, rgba(199, 202, 207, 0.1) 1px, rgba(199, 202, 207, 0) 100%)}:host(.duet-theme-turva) .duet-number-buttons .duet-number-button:last-of-type::before{background:rgb(222, 224, 228)}';var z=_;var C=t("duet_number_input",function(){function t(t){var i=this;e(this,t);this.duetChange=n(this,"duetChange",3);this.duetInput=n(this,"duetInput",3);this.duetBlur=n(this,"duetBlur",7);this.duetFocus=n(this,"duetFocus",7);this.inputId=a("DuetInput");this.proxyId=a("DuetInput");this.handleFocus=function(){i.focusedValue=i.value};this.handleKeyDown=function(t){if(o(t)||d(t)){i.add(t)}else if(l(t)||h(t)){i.subtract(t)}else if(c(t)){i.clearValue(t)}};this.handleChange=function(t){t.stopPropagation();var e=t.target;if(e&&e.value){try{var n=D(e.value,i.locale);if(isNaN(n)||n==null){n=i.min||0}i.setValue(n);i.duetInput.emit({component:"duet-number-input",originalEvent:t,value:D(i.value,i.locale).toString(),valueAsNumber:n})}catch(n){if(e.value!=="-"){i.clearValue(t)}i.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}}else{i.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}};this.handleBlur=function(t){var e=t.target;if(!e){return}if(e.value){try{var n=D(e.value,i.locale);if(i.rounding){n=S(n,i.step)}n=E(n,i.min,i.max);if(n!==D(i.value,i.locale)||n!==D(i.focusedValue,i.locale)){i.setValue(n);i.emitChange(t)}}catch(e){i.emitNull(t)}}else{i.emitNull(t)}};this.emitChange=function(t){var e=D(i.value,i.locale);i.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})};this.emitNull=function(t){i.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})};this.localizeValue=function(t){return t.toLocaleString(i.locale)};this.setValue=function(t){i.value=i.localizeValue(t);i.duetInputElement.value="".concat(i.value," ").concat(i.unit)};this.add=function(t){if(t){t.preventDefault()}var e=D(i.value,i.locale);if(e===i.max){return}var n=e==null?i.min:e+i.step;if(n%i.step!==0){var u=n%i.step;n-=u}var r=E(n,i.min,i.max);i.value=i.localizeValue(r);i.emitChange(t)};this.subtract=function(t){if(t){t.preventDefault()}var e=D(i.value,i.locale);if(e===i.min){return}var n=e-i.step;if(n%i.step!==0){var u=i.step-n%i.step;n+=u}n=E(n,i.min,i.max);i.value=i.localizeValue(n);i.emitChange(t)};this.language=p();this.locale=m(this.language).locale;this.unit=m(this.language).money;this.focusedValue=undefined;this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"};this.accessibleLive=v(this.accessibleLiveDefaults,this.language);this.accessibleLiveEnabled=true;this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"};this.accessibleAdd=v(this.accessibleAddDefaults,this.language);this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"};this.accessibleSubtract=v(this.accessibleSubtractDefaults,this.language);this.theme="";this.margin="auto";this.expand=false;this.identifier=undefined;this.min=0;this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"};this.label=v(this.labelDefaults,this.language);this.labelHidden=false;this.max=1e6;this.name=undefined;this.error="";this.tooltip="";this.step=5e3;this.rounding=true;this.role=undefined;this.disabled=false;this.required=false;this.value=undefined}t.prototype.componentWillLoad=function(){s(this);if(this.value){this.value=this.localizeValue(D(this.value,this.locale))}w(this.element,"tooltip","duet-tooltip",1,true)};t.prototype.connectedCallback=function(){g(this,[{prop:"accessibleLive",defaults:"accessibleLiveDefaults"},{prop:"accessibleAdd",defaults:"accessibleAddDefaults"},{prop:"accessibleSubtract",defaults:"accessibleSubtractDefaults"},{prop:"label",defaults:"labelDefaults"}]);b(this)};t.prototype.disconnectedCallback=function(){y(this);f(this)};t.prototype.componentDidRender=function(){x(this.element,this.proxyId,this.name,this.value?"".concat(this.value," ").concat(this.unit):"",this.required)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.duetInputElement.setFocus(t);return[2]}))}))};t.prototype.getValueAsNumber=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=D(this.value,this.locale);return[2,this.value===undefined||this.value===null||isNaN(t)?null:t]}))}))};t.prototype.clearValue=function(t){this.duetInputElement.value="";if(this.value!==null){this.value=null;this.emitNull(t)}};t.prototype.formatAnnouncement=function(){var t=!!this.value?D(this.value,this.locale):null;if(t==null){return""}return this.accessibleLive.replace("{current}",t.toString(10))};t.prototype.render=function(){var t=this;var e=this.identifier||this.inputId;var n="".concat(this.localizeValue(this.max)," ").concat(this.unit).length;var r=!!this.value?D(this.value,this.locale):null;return i(u,{key:"8093a1d061b11762890e8316f35f3aadbb4314d3",class:{"duet-theme-turva":this.theme==="turva","duet-expand":this.expand,"duet-m-0":this.margin==="none"}},i("div",{key:"0bb70d7bec69c413f6615987e535327bc2c44bbd",class:"duet-number-container"},i("duet-input",{key:"a982640544b7be253b5d8c66d8a67ea55293438a",ref:function(e){return t.duetInputElement=e},onDuetChange:function(e){return t.handleChange(e)},onDuetFocus:this.handleFocus,onDuetBlur:function(e){return t.handleBlur(e)},onKeyDown:function(e){return t.handleKeyDown(e)},label:this.label,value:this.value?"".concat(this.value," ").concat(this.unit):"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":r!=null?r:"",maxlength:n,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:e,theme:this.theme,margin:"none",expand:true,numericKeyboard:true,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},i("slot",{key:"c16ccee69695abcdb5385552dc28cb701e20d340",name:"tooltip"}),i("div",{key:"e59ef878a5a4237f7955df5aa74ed0f369796fc5",class:{"duet-number-buttons":true,"duet-no-label":this.labelHidden}},i("button",{key:"a9ad3cff4c5393368dce5983d16ef740b7d2f57d",disabled:this.disabled,"aria-disabled":r==null||r===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},i("duet-visually-hidden",{key:"29db7b9642afb66860b3f5c7951192aa6890a77b"},this.accessibleSubtract," ",this.step),i("duet-icon",{key:"2d3351ce5f1246e8f91ab4f94937ba522b8c7b7a",icon:A.svg,size:"small",margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary"})),i("button",{key:"d01ef0e639112dff95d22e3df9e9efc1cc5ba478",disabled:this.disabled,"aria-disabled":r===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},i("duet-visually-hidden",{key:"08371480b73665e20caa60b21a35180e9536f0e2"},this.accessibleAdd," ",this.step),i("duet-icon",{key:"c773a6ff733534fabc60fdce53a157a9935e6a2b",icon:k.svg,size:"small",margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&i("duet-visually-hidden",{key:"5eefd62f3963ed1f71c3419f8d80110f98f68f74","aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());C.style=z}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register([],(function(t){"use strict";return{execute:function(){t("c",u);function n(){return Math.random().toString(16).slice(-4)}function u(t){return"".concat(t,"-").concat(n()).concat(n(),"-").concat(n(),"-").concat(n(),"-").concat(n(),"-").concat(n()).concat(n()).concat(n())}}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,o){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function c(e){try{d(o.next(e))}catch(e){a(e)}}function n(e){try{d(o["throw"](e))}catch(e){a(e)}}function d(e){e.done?i(e.value):r(e.value).then(c,n)}d((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,r,a,c;return c={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function n(e){return function(t){return d([e,t])}}function d(n){if(o)throw new TypeError("Generator is already executing.");while(c&&(c=0,n[0]&&(i=0)),i)try{if(o=1,r&&(a=n[0]&2?r["return"]:n[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,n[1])).done)return a;if(r=0,a)n=[n[0]&2,a.value];switch(n[0]){case 0:case 1:a=n;break;case 4:i.label++;return{value:n[1],done:false};case 5:i.label++;r=n[1];n=[0];continue;case 7:n=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(n[0]===6||n[0]===2)){i=0;continue}if(n[0]===3&&(!a||n[1]>a[0]&&n[1]<a[3])){i.label=n[1];break}if(n[0]===6&&i.label<a[1]){i.label=a[1];a=n;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(n);break}if(a[2])i.ops.pop();i.trys.pop();continue}n=t.call(e,i)}catch(e){n=[6,e];r=0}finally{o=a=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js","./p-cc5e6288.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-74aa0f9d.system.js","./p-d3960f14.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,o,r,a,c,n,d,s,h,l,u,b,p,f,g,m,k,v,x;return{setters:[function(e){t=e.r;i=e.c;o=e.h;r=e.H;a=e.g},function(e){c=e.i},function(e){n=e.D},function(e){d=e.c},function(e){s=e.i;h=e.h;l=e.s;u=e.u;b=e.f},function(e){p=e.g;f=e.a;g=e.c;m=e.d},function(e){k=e.h;v=e.g;x=e.c},function(){}],execute:function(){var y={title:"messaging-info",tags:"messaging info information circle",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>'};var w='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(.vertical){margin-right:0 !important}@media (min-width: 48em){:host(.horizontal){margin-bottom:0 !important}}@media (min-width: 48em){:host(.horizontal-responsive){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive):last-child,:host(.horizontal-responsive):last-of-type{margin-right:0 !important}}:host(:last-child:not(:only-child)){margin-right:0 !important}.duet-choice-card{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(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0{padding:0 !important}.duet-choice-card.duet-m-0{margin:0 !important}.duet-theme-turva .duet-choice-card{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{display:flex}.duet-choice-label{-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(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text .duet-choice-card-icon,.duet-choice-label.has-before-text .duet-choice-card-text{align-self:flex-start;margin-top:0.25rem}.duet-choice-label>div:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info .duet-choice-label{border-top-right-radius:0;border-bottom-right-radius:0}.info .duet-choice-label{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-theme-turva .info .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-choice-label:active{opacity:0.75;transition:none !important}.checked>.duet-choice-label{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(0, 119, 179)}.duet-theme-turva .checked>.duet-choice-label{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(198, 12, 48)}.checked.collapsible>.duet-choice-label,.collapsible-force-expanded.collapsible>.duet-choice-label{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(143, 147, 158)}.duet-theme-turva .info :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):not([checked]):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){padding:1rem}input:focus{outline:0}:host(.user-is-tabbing) .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}:host(.user-is-tabbing) :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}:host(.user-is-tabbing) .duet-theme-turva :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.disabled.duet-choice-label{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.disabled.duet-choice-label .duet-choice-card-icon{color:rgb(98, 121, 138)}.duet-theme-turva .disabled.duet-choice-label .duet-choice-card-icon{color:rgb(143, 147, 158)}.disabled.duet-choice-label .duet-checkmark{border-color:rgb(98, 121, 138) !important}.disabled.duet-choice-label:hover,.disabled.duet-choice-label:active,.disabled.duet-choice-label:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva .disabled.duet-choice-label{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva .disabled.duet-choice-label .duet-checkmark{border-color:rgb(143, 147, 158) !important}.checked>.disabled.duet-choice-label{border-color:rgb(127, 150, 165) !important}.duet-theme-turva .checked>.disabled.duet-choice-label{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked>.duet-choice-label .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva label.disabled .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked>label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked>label.disabled .duet-checkmark-container{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-card-icon{color:rgb(164, 4, 40)}.duet-choice-card-icon duet-icon{display:block}.duet-choice-section-hidden{display:none}.duet-choice-card-info.duet-choice-card-collapsed,.duet-choice-card-collapsed.duet-choice-card-collapsible{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info,.duet-choice-card-collapsible{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info,.duet-choice-card-collapsible{padding:28px !important}}.duet-theme-turva .duet-choice-card-info,.duet-theme-turva .duet-choice-card-collapsible{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked>.duet-choice-card-info,.checked>.duet-choice-card-collapsible{display:block}.duet-choice-card-info-expanded,.duet-choice-card-collapsible-expanded{display:block}.duet-choice-card-collapsible{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked{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{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked{border-color:rgb(222, 224, 228)}.duet-choice-card-info{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container ::slotted(*){display:none}:host(.user-is-tabbing) .duet-choice-info-container:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.disabled) .duet-choice-card-collapsible{border-color:rgb(127, 150, 165)}:host(.disabled) .duet-choice-card-collapsible.duet-theme-turva{border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(143, 147, 158)}:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle{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(212, 223, 229);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]{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva .duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled]{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled] .duet-choice-info-icon{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva .duet-choice-info-icon{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle:focus{outline:none}:host(.user-is-tabbing) .duet-choice-info-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-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked+.duet-choice-info-toggle{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle duet-icon{display:block}.duet-choice-info-toggle .duet-choice-info-icon{color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-info-toggle .duet-choice-info-icon{color:rgb(198, 12, 48)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(143, 147, 158)}.duet-choice-input,*::slotted([slot=choiceradioinput]){position:absolute !important;width:100%;height:100%;opacity:0}';var z=w;var _=e("duet_choice",function(){function e(e){var o=this;t(this,e);this.duetChoiceReady=i(this,"duetChoiceReady",7);this.duetChoiceRemove=i(this,"duetChoiceRemove",7);this.duetChange=i(this,"duetChange",7);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.hasHeader=false;this.choiceId=d("DuetChoice");this.expandId=d("DuetChoiceExpand");this.headerId=d("DuetChoiceHeader");this.infoButtonId=d("DuetChoiceInfoButton");this.radioInputListenersRemove=function(e){e.removeEventListener("change",o.onChange);e.removeEventListener("keydown",o.handleKeyDown);e.removeEventListener("focus",o.onFocus);e.removeEventListener("blur",o.onBlur)};this.radioInputListenersAdd=function(e){e.addEventListener("change",o.onChange);e.addEventListener("keydown",o.handleKeyDown);e.addEventListener("focus",o.onFocus);e.addEventListener("blur",o.onBlur)};this.radioInputSetUp=function(){var e=o.element.querySelector("input[slot=choiceradioinput]");var t=e||document.createElement("input");t.slot="choiceradioinput";t.disabled=o.getDisabled();t.id=o.identifier||o.choiceId;t.type="radio";t.name=o.name;t.value=o.value;t.checked=o.checked;t.required=o.required;t.ariaDescription=o.accessibleDescription;if(o.accessibleControls){t.setAttribute("aria-controls",o.accessibleControls)}if(o.accessibleActiveDescendant){t.setAttribute("aria-activedescendant",o.accessibleActiveDescendant)}if(o.accessibleLabelledBy){t.setAttribute("aria-labelledby",o.accessibleLabelledBy)}if(o.accessibleDetails){t.setAttribute("aria-details",o.accessibleDetails)}if(o.accessibleOwns){t.setAttribute("aria-owns",o.accessibleOwns)}if(o.getAriaDescribedby()){t.setAttribute("aria-describedby",o.getAriaDescribedby())}t.ariaLabel=o.getLabel();if(e){o.radioInputListenersRemove(t)}else{o.element.appendChild(t)}o.radioInputListenersAdd(t);o.focusableElement=t};this.onMouseEnter=function(){o.isHovering=true};this.onMouseLeave=function(){o.isHovering=false};this.onClick=function(e){o.toggleChecked(e)};this.handleKeyDown=function(e){if(s(e)){o.toggleChecked(e)}if(h(e)&&o.hasInfo){o.toggleInfo()}};this.onChange=function(){var e=o.focusableElement;var t=e.checked;o.checked=t;o.duetChange.emit({checked:o.checked,value:o.value,component:"duet-choice"})};this.onBlur=function(e){o.focus=false;o.duetBlur.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.onFocus=function(e){o.focus=true;o.duetFocus.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.toggleChecked=function(e){e.preventDefault();e.stopPropagation();if(o.getDisabled()){return}if(o.type==="radio"&&o.checked){return}o.checked=!o.checked;o.duetChange.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.toggleInfo=function(){o.isInfoOpen=!o.isInfoOpen;if(o.isInfoOpen){setTimeout((function(){var e;(e=o.infoContainer)===null||e===void 0?void 0:e.focus()}),150)}};this.focus=false;this.isHovering=false;this.isInfoOpen=false;this.theme="";this.label="label";this.accessibleLabelInfoButtonDefaults=n;this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults);this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.caption="";this.value=undefined;this.type="checkbox";this.name=undefined;this.checked=false;this.collapsible=false;this.collapsibleForceExpanded=false;this.margin="auto";this.icon="";this.expand=false;this.padding="auto";this.identifier=undefined;this.groupDirection=undefined;this.groupDisabled=undefined;this.groupResponsive=undefined;this.disabled=false;this.required=false;this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"};this.infoLabel=p(this.infoLabelDefaults,f());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,f())}e.prototype.componentWillLoad=function(){c(this);this.hasInfo=k(this.element,"info");this.hasHeader=k(this.element,"header");this.hasAdditional=k(this.element,"additional");this.hasLabel=k(this.element,"label");this.hasBeforeText=k(this.element,"before-text");this.duetChoiceReady.emit()};e.prototype.connectedCallback=function(){g(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]);l(this);this.duetChoiceReady.emit()};e.prototype.componentDidRender=function(){if(this.type==="radio"){this.radioInputSetUp()}};e.prototype.disconnectedCallback=function(){m(this);u(this);this.duetChoiceRemove.emit()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.focusableElement.focus(e);return[2]}))}))};e.prototype.toggleInfoMethod=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.isInfoOpen=!this.isInfoOpen;return[2]}))}))};e.prototype.handleEscape=function(e){if(b(e)){if(this.isInfoOpen){this.isInfoOpen=false;if(this.infoButtonEl){this.infoButtonEl.focus()}}}};e.prototype.isCollapsibleAnnounceable=function(){if(!this.collapsible||!this.getExpanded()){return false}var e=Array.from(this.element.querySelectorAll("#".concat(this.choiceId,"-collapsible-content > *"))||[]);var t=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((function(e){return t.includes(e.tagName.toLowerCase())}))};e.prototype.getAriaDescribedby=function(){if(this.accessibleDescribedBy){return this.accessibleDescribedBy}if(this.collapsible||this.hasInfo){if(this.hasHeader){return this.headerId}else if(this.isCollapsibleAnnounceable()){return this.expandId}else{return"".concat(this.choiceId,"-collapsible-notification")}}return null};e.prototype.getDisabled=function(){return this.disabled||this.groupDisabled};e.prototype.getExpanded=function(){return this.checked||this.collapsibleForceExpanded};e.prototype.getClassNames=function(){if(this.hasInfo&&!this.collapsible){return{checked:this.checked,"duet-choice-card-info":true,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":this.theme==="turva"}}if(!this.hasInfo&&this.collapsible){return{checked:this.checked,"duet-choice-card-collapsible":true,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":this.theme==="turva"}}return{checked:this.checked,"duet-choice-default-slot":true}};e.prototype.getLabel=function(){var e="";var t="";var i="";if(this.hasLabel){var o=v(this.element,"label");e=o.length>0?o[0].textContent:""}if(this.hasBeforeText){var o=v(this.element,"before-text");t=o.length>0?o[0].textContent:""}if(this.hasAdditional){var o=v(this.element,"additional");i=o.length>0?o[0].textContent:""}return"".concat(t," ").concat(this.hasLabel?e:this.label," ").concat(this.caption," ").concat(i)};e.prototype.render=function(){var e=this;var t=this.identifier||this.choiceId;return o(r,{key:"e45e3d883ff601f42cda53bb745589a6cff07669",class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none","duet-expand":this.expand,"duet-theme-turva":this.theme==="turva","no-hover":this.isHovering,disabled:this.getDisabled()}},o("div",{key:"269cb0465b9088983bb4a9c3b0fab4ee0e4a2bd4",class:{"duet-choice-card-flextainer":true,"duet-theme-turva":this.theme==="turva"}},o("div",{key:"f58dab3ebe6b31f9284d609e62d8c97e3056160a",class:{"duet-choice-card":true,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":this.padding==="none"}},this.type==="checkbox"&&o("input",{key:"0223b78eb319e469137a52e6b64898d0862eafac",class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:t,name:this.name,value:this.value,checked:this.checked,"aria-label":this.getLabel(),"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:function(t){return e.focusableElement=t}}),o("slot",{key:"b438afa42e1d50c6aa9a145e656aed1b0f801efa",name:"choiceradioinput"}),o("label",{key:"c08ba3234495038c9dedce7247aef93e9171e4c1",class:{"duet-choice-label":true,"has-before-text":this.hasBeforeText,checked:this.checked,focus:this.focus,disabled:this.getDisabled()},onClick:this.onClick},this.hasBeforeText&&o("slot",{key:"822b608190ed8058e5083664364f7802f36bbc12",name:"before-text"}),this.icon&&o("div",{key:"47be54fb7c3c00ab9cdff531a158e3bf8131d1eb",class:"duet-choice-card-icon"},o("duet-icon",{key:"ba85bd90adcc57f4f3b4641d10417f14c0a3d0a7",margin:"none",size:"small",name:this.icon,color:"currentColor"})),o("div",{key:"9bffd97bdf78929c3e18eed10f9903c068f84284",class:"duet-choice-card-text"},o("div",{key:"7378526d0c1be754eeef8acb758b800534710af6"},this.hasLabel?o("slot",{name:"label"}):this.label),this.caption&&o("div",{key:"2c026043a64085f44ec11e2b59fa7d3625880b98"},o("duet-spacer",{key:"23bd4874a25550df5c010a4ac2f4753b7bebe095",size:"xx-small"}),o("duet-caption",{key:"1e91ca0d61dcbb29b48095ade98d69f35f8d034e",margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&o("div",{key:"af539e1466767e981b523efd118aaadec4c3ac7e"},o("duet-spacer",{key:"3062fe17e11d61e8e02364762088fc33e3f123fd",size:"xx-small"}),o("slot",{key:"2a4faf03104769cf9c8c12b3700608ccbf353233",name:"additional"}))),o("div",{key:"a31c056ac9d543e7ee157fd4e2dddfd64cc823a9"},o("div",{key:"8e139394a6669f009546db7274152790fb099cb0",class:{"duet-checkmark-container":true,"duet-checkmark-radio":this.type==="radio"}},this.checked&&o("div",{key:"661c15b7dd0fbe9012e16841c1f082e85fd8f6de",class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&o("button",{key:"c8b30535f36197e9f435b806ca23f0c8cbf81e4a",ref:function(t){return e.infoButtonEl=t},id:this.infoButtonId,class:{"duet-choice-info-toggle":true,"duet-theme-turva":this.theme==="turva"},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":"".concat(this.infoLabel," ").concat(this.label),"aria-controls":this.expandId,tabindex:this.type==="radio"&&!this.checked?"-1":"0",type:"button",onKeyUp:function(t){return e.handleEscape(t)}},o("div",{key:"a658c863b61f1d5f8949e24ed9a59108c8a6fa76",class:"duet-choice-info-icon"},o("duet-icon",{key:"6d4aae6cdecafd186807a43914409cb35e8fdb38",icon:y.svg,margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&o("span",{key:"9796521f397d0b976a84884108d4138a054c3b92",id:"".concat(this.choiceId,"-collapsible-notification"),hidden:true},this.collapsibleNotification),this.collapsible||this.hasInfo?o("div",{class:this.getClassNames(),id:this.expandId},o("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},o("span",{id:this.headerId},o("slot",{name:"header"})),this.hasInfo?o("span",{ref:function(t){return e.infoContainer=t},tabindex:"0",class:"duet-choice-info-container",onKeyUp:function(t){return e.handleEscape(t)}},o("span",null,o("slot",{name:"info"})),o("slot",null)):o("span",{id:"".concat(this.choiceId,"-collapsible-content")},o("slot",null)))):null)};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());_.style=z;var C="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}:host(.horizontal) .duet-choice-group{display:block;margin-bottom:-12px}:host(.horizontal) .duet-choice-group.duet-no-stacking{display:flex}@media (min-width: 48em){:host(.horizontal) .duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){:host(.horizontal) .duet-choice-group{display:flex}}:host(.horizontal.duet-choice-group-breakpoint-x-small) .duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){:host(.horizontal.duet-choice-group-breakpoint-x-small) .duet-choice-group:not(.duet-no-stacking){display:block}}:host(.horizontal.duet-choice-group-breakpoint-small) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){:host(.horizontal.duet-choice-group-breakpoint-small) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-medium) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){:host(.horizontal.duet-choice-group-breakpoint-medium) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-large) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){:host(.horizontal.duet-choice-group-breakpoint-large) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-x-large) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){:host(.horizontal.duet-choice-group-breakpoint-x-large) .duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";var j=C;var S=e("duet_choice_group",function(){function e(e){var i=this;t(this,e);this.choiceGroupName="duet-choice-group";this.choices=new Set;this.onSelect=function(e){if(e.detail.component!=="duet-choice"){return}var t=e.target;if(t&&i.choices.has(t)){i.value=t.value}};this.onChoiceReady=function(e){var t=e.target;if(t.closest("duet-choice-group")===i.element&&!i.choices.has(t)){i.choices.add(t);i.updateChoices()}};this.onChoiceRemove=function(e){var t=e.target;i.choices.delete(t);i.updateChoices()};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption=undefined;this.tooltip=undefined;this.tooltipDirection="auto";this.responsive=false;this.breakpoint="small";this.value=undefined;this.disabled=undefined;this.required=false;this.accessibleLiveError="polite"}e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.setInitialValue();this.updateChoices();return[2]}))}))};e.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};e.prototype.componentWillLoad=function(){c(this);x(this.element,"tooltip","duet-tooltip",1,true)};e.prototype.setInitialValue=function(){if(typeof this.initialValue==="undefined"){this.initialValue=this.value}};e.prototype.getInitialValue=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.initialValue]}))}))};e.prototype.updateChoices=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,o,r,a;return __generator(this,(function(c){t=(e=this.value)!==null&&e!==void 0?e:this.initialValue;i=false;for(o=0,r=Array.from(this.choices);o<r.length;o++){a=r[o];a.name=this.name;a.required=this.required;a.groupDisabled=this.disabled;a.groupDirection=this.direction;a.groupResponsive=this.responsive;if(!i&&a.value===t){i=true;a.checked=true;if(typeof this.value==="undefined"){this.value=t}}else{a.checked=false}}if(!i){this.value=undefined}return[2]}))}))};e.prototype.render=function(){var e;return o(r,{key:"7b938818686b05db520fbe91c79a8bd415953252",onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,onDuetChoiceRemove:this.onChoiceRemove,class:{horizontal:this.direction==="horizontal","duet-choice-group-breakpoint-x-small":this.responsive&&this.breakpoint==="x-small","duet-choice-group-breakpoint-small":this.responsive&&this.breakpoint==="small","duet-choice-group-breakpoint-medium":this.responsive&&this.breakpoint==="medium","duet-choice-group-breakpoint-large":this.responsive&&this.breakpoint==="large","duet-choice-group-breakpoint-x-large":this.responsive&&this.breakpoint==="x-large"}},o("duet-fieldset",{key:"80087165b139cbd999a2399514b9520044f195e6",label:this.label,labelHidden:this.labelHidden,compactLabel:true,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&o("duet-tooltip",{key:"e5f2b0838c718e2ecb4e3c20e71dc8882454159c",slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{key:"c56ccec0fd534ad20d6125e9c0d6f7ad7f377110",name:"tooltip"}),o("div",{key:"2fe2c5122b5a801959f7de400ec5bd3f974d78cd",class:(e={},e[this.choiceGroupName]=true,e["duet-no-stacking"]=!this.responsive,e)},o("slot",{key:"d45976650a1c57151eee04088e9b29db2a4e76be"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["setInitialValue","updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}},enumerable:false,configurable:true});return e}());S.style=j}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-4289c19b.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.h}],execute:function(){var l=e("D",(function(e,l){var u;var r=e.theme,a=r===void 0?"":r,n=e.margin,i=n===void 0?"auto":n,s=e.size,o=s===void 0?"medium":s,d=e.weight,m=d===void 0?"semi-bold":d,v=e.color,c=v===void 0?"":v,b=e.id,f=b===void 0?"":b;return t("label",{id:f,class:(u={"duet-internal-label":true,"duet-internal-label-small":o==="small","duet-theme-turva":a==="turva","duet-small-margin":i==="small","duet-m-0":i==="none"},u["duet-weight-".concat(m)]=true,u["".concat(e.class)]=true,u),htmlFor:e.for,style:{color:c}},t("span",null,l))}))}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,o){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function n(e){try{l(o.next(e))}catch(e){r(e)}}function s(e){try{l(o["throw"](e))}catch(e){r(e)}}function l(e){e.done?i(e.value):a(e.value).then(n,s)}l((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,a,r,n;return n={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(t){return l([e,t])}}function l(s){if(o)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(i=0)),i)try{if(o=1,a&&(r=s[0]&2?a["return"]:s[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,s[1])).done)return r;if(a=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];a=0}finally{o=r=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-4289c19b.system.js","./p-e8f8aae8.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-d3960f14.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,o,a,r,n,s,l,d,c;return{setters:[function(e){t=e.r;i=e.c;o=e.h;a=e.H;r=e.g},function(e){n=e.D},function(e){s=e.i},function(e){l=e.c},function(e){d=e.c},function(e){c=e.p}],execute:function(){var u='.duet-internal-label{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;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;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(:not(.duet-m-0)){margin-right:16px !important;margin-bottom:12px !important}:host(:not(.duet-m-0)):last-child,:host(:not(.duet-m-0)):last-of-type{margin-right:0 !important}@media (min-width: 36em){:host(.duet-expand){width:100% !important}}:host(.duet-select-variation-tiny),:host(.duet-select-variation-compact){position:relative;top:-2px;width:72px;margin:0;vertical-align:baseline}:host(.duet-select-variation-compact){width:auto}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-select-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-select-container{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny{width:72px}.duet-select-wrapper{position:relative;width:100%;padding:15px 14px !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;line-height:1.25}.duet-theme-turva .duet-select-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-select-variation-tiny .duet-select-wrapper{width:81px;padding:0 !important}.duet-select-variation-compact .duet-select-wrapper{padding:0 !important;line-height:1}.duet-select-wrapper select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;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;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva .duet-select-wrapper select{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-select-wrapper select:hover+.duet-select{border-color:rgb(127, 150, 165);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-select-wrapper select:hover+.duet-select{border-color:rgb(143, 147, 158);box-shadow:0 0 0 1px #747475}.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select:focus+.duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(23, 28, 58)}.duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(0, 119, 179)}.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select[disabled]{cursor:default !important}.duet-select-wrapper select[disabled]+.duet-select{color:rgb(8, 42, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-select-wrapper select[disabled]+.duet-select{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-select-wrapper span.duet-keep-container-height{opacity:0}.duet-select-variation-compact .duet-select-wrapper span.duet-keep-container-height{display:none}.duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;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:1.5;color:rgb(8, 42, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-select{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(143, 147, 158)}.duet-select svg{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-select svg{color:rgb(23, 28, 58)}.duet-select-variation-tiny .duet-select,.duet-select-variation-compact .duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny .duet-select duet-icon,.duet-select-variation-compact .duet-select duet-icon{padding-left:10px}.duet-select-variation-compact .duet-select{position:relative;width:fit-content;padding:7px 16px !important;font-size:0.875rem;line-height:1.1;text-align:right;border-radius:8px}.duet-select-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-select-help span{display:block;margin-top:8px}.duet-theme-turva .duet-select-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(143, 147, 158)}.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-internal-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';var p=u;function h(e){return"options"in e}function m(e,t){for(var i=0;i<e.length;i++){var o=e[i];if(h(o)){o=m(o.options,t)}if(o&&o.value===t){return o}}}var f=e("duet_select",function(){function e(e){var o=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.selectId=l("DuetSelect");this.errorId=l("DuetError");this.labelId=l("DuetLabel");this.topCaptionId=l("DuetCaptionTop");this.topCaptionPlaceholderId=l("DuetCaptionPlaceholderTop");this.onClick=function(e){e.stopPropagation()};this.onChange=function(){o.value=o.nativeSelect.value;o.duetChange.emit({value:o.value,component:"duet-select"})};this.onBlur=function(e){o.duetBlur.emit({originalEvent:e,value:o.value,component:"duet-select"})};this.onFocus=function(e){o.duetFocus.emit({originalEvent:e,value:o.value,component:"duet-select"})};this.getDescribedBy=function(){var e=[];if(o.isCaptionVisible&&o.topCaptionId){e.push(o.topCaptionId)}if(o.accessibleDescribedBy){e.push(o.accessibleDescribedBy)}if(o.error){e.push(o.errorId)}return e.length>0?e.join(" "):null};this.processedItems=null;this.variation="default";this.accessibleActiveDescendant=undefined;this.accessibleDescribedBy=undefined;this.margin="auto";this.accessibleControls=undefined;this.accessibleOwns=undefined;this.error="";this.accessibleLiveError="polite";this.expand=false;this.value=undefined;this.theme="";this.labelHidden=false;this.identifier=undefined;this.name=undefined;this.placeholder="";this.caption=undefined;this.echoPlaceholder=false;this.items=undefined;this.disabled=false;this.required=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.role=undefined;this.tooltip="";this.tooltipDirection="auto"}e.prototype.valueChanged=function(){if(this.nativeSelect){this.nativeSelect.value=this.value}this.isCaptionVisible=!!this.caption};e.prototype.componentWillLoad=function(){s(this);this.isCaptionVisible=!!this.caption;d(this.element,"tooltip","duet-tooltip",1,true);this.refresh()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeSelect){this.nativeSelect.focus(e)}return[2]}))}))};e.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.processedItems=c(this.items);return[2]}))}))};e.prototype.getSelectedItemLabel=function(){var e;if(this.processedItems){e=m(this.processedItems,this.value)}return e?e.label:this.placeholder||""};e.prototype.renderOption=function(e){return o("option",{"aria-label":e.ariaLabel,value:e.value,key:e.value,selected:this.value===e.value,disabled:e.disabled},e.label)};e.prototype.renderOptionGroup=function(e){var t=this;return o("optgroup",{key:e.label,label:e.label,disabled:e.disabled},e.options.map((function(e){return t.renderOption(e)})))};e.prototype.render=function(){var e,t,i;var r=this;var s=this.identifier||this.selectId;return o(a,{key:"02260f68c4447778208fee263cd6123c7a369d12",onClick:this.onClick,class:(e={"duet-m-0":this.margin==="none","duet-expand":this.expand},e["duet-select-variation-".concat(this.variation)]=true,e)},o("div",{key:"fd8ac1aa236c0d0a80e6695838b66e4f62991a99",class:(t={"duet-select-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva"},t["duet-select-variation-".concat(this.variation)]=true,t["duet-input-top-caption-shown"]=this.isCaptionVisible,t["has-error"]=!!this.error,t)},o(n,{key:"7647a13248cd4fe1a6b82e7ffe8703fb6044e06e",theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:s},this.label),this.tooltip&&o("duet-tooltip",{key:"803f2d3ce3a890497a0f218c7c029763dccac9dc",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{key:"f56297f4a3c2732fd898b051a9e022e1e15468d5",name:"tooltip"}),this.caption&&o("duet-caption",{key:"3d119d985d37d2a32e0331475aba597859c9759f",id:this.topCaptionId,size:"medium"},this.caption),o("div",{key:"38b1cda2fdca1df5694f8faa5ba8171bd18a5944",class:"duet-select-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&o("duet-caption",{key:"df6f191202b69a2813824627cc9aa8209831c069",id:this.topCaptionPlaceholderId,class:"duet-select-placeholder",size:"small"},this.placeholder),o("select",{key:"e72a1946b9a0098d213416088b257c385611e699",ref:function(e){return r.nativeSelect=e},disabled:this.disabled,name:this.name,id:s,role:this.role,"aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,required:this.required},this.placeholder&&o("option",{key:"f76a6e963fa3239e55016d37d478525122123e95",disabled:true,selected:true,value:""},this.placeholder),!this.processedItems?o("option",null,"Virhe valintoja ladattaessa. Päivitä sivu ja kokeile uusiksi."):this.processedItems.map((function(e){return h(e)?r.renderOptionGroup(e):r.renderOption(e)}))),o("div",{key:"c19c9ba77e9691664e47bde555bf039dd92f2df6",class:(i={"duet-select":true},i["duet-select-variation-".concat(this.variation)]=true,i),"aria-hidden":"true"},o("span",{key:this.value,class:"duet-select-selected-value"},this.getSelectedItemLabel()),this.variation==="default"&&o("svg",{key:"ba5a78652d80548a457db526cd5a4176bfd369d8",role:"img",class:"duet-select-icon",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"2707e90cacfa6212bb8500f9eabf42f2fd380045",d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))||o("duet-icon",{key:"2eb564da6778dc64ef9450bf0cf9f6a252fbb7f2",theme:this.theme,name:"action-arrow-down-small",color:"currentColor",margin:"none",size:this.variation==="compact"?"xxx-small":"xx-small"})),o("span",{key:"334004227f41640a396ae4a44ccd1c06f104d69f",class:"duet-keep-container-height",role:"presention","aria-hidden":"true"},"_")),o("span",{key:"c9c5c8480478c88a6a6287620a323ebe55f4ed84",class:"duet-select-help",id:this.errorId,"aria-live":this.accessibleLiveError,"aria-atomic":"true","aria-relevant":"additions removals"},this.error&&o("span",{key:"8d97a20a79748f8e6e837b0635f2653ab19221ba"},this.error))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"],items:["refresh"]}},enumerable:false,configurable:true});return e}());f.style=p}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as a,g as i,H as r}from"./p-97fe4968.js";import{i as o}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{i as n,s as d,u as p}from"./p-a45e3f8b.js";const c=class{constructor(a){e(this,a),this.duetStepClick=t(this,"duetStepClick",7),this.buttonId=s("DuetStepButton"),this.contentId=s("DuetStepContent"),this.handleKeyDown=e=>{this.isClickDisabled()||n(e)&&(e.preventDefault(),this.handleStepClick(e))},this.handleClick=e=>{this.isClickDisabled()||this.handleStepClick(e)},this.theme="",this.heading=void 0,this.headingLevel=void 0,this.stepIndex=void 0,this.state=void 0,this.roundedTop=!1,this.roundedBottom=!1}handleStepClick(e){this.duetStepClick.emit({originalEvent:e,component:"duet-step",stepIndex:this.stepIndex})}componentWillLoad(){o(this)}connectedCallback(){d(this)}disconnectedCallback(){p(this)}async setFocus(e={preventScroll:!0}){this.buttonElement.focus(e)}isClickDisabled(){return"complete"!==this.state}headingColor(){return"incomplete"!==this.state?"":"turva"!==this.theme?"gray-darker":"gray-dark-turva"}renderStepCounter(){return"complete"===this.state||"disabled"===this.state?a("div",{class:"duet-step-icon"},a("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'})):`${this.stepIndex+1} `}render(){return a("div",{key:"a8f9214b8d235673c0b324f966a5576ccbcd16e4",class:{"duet-step":!0,[`is-${this.state}`]:!0,"rounded-top":this.roundedTop,"rounded-bottom":this.roundedBottom,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"fe6066ea863f9c11dd30b6b61dc9b36827dc3b38",class:"duet-step-heading",id:this.buttonId,role:"current"!==this.state?"button":"region","aria-current":"current"===this.state?"step":void 0,tabindex:"current"!==this.state?"0":void 0,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":("current"===this.state).toString(),"aria-controls":this.contentId,"aria-selected":("current"===this.state).toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:e=>this.buttonElement=e},a("div",{key:"500cee650ab3ab67ec9f7cbf3e9fa98f61079e54","aria-hidden":"true"},a("div",{key:"79c93ec35c9c02e3536487e5337bdd8ae653b537",class:"duet-step-counter"},this.renderStepCounter())),a("duet-spacer",{key:"2b6ad0facd7f5e405d297e3672af7d1a1867e33b",direction:"horizontal",size:"large",breakpoint:"small"}),a("duet-spacer",{key:"4b26a145659e1f239687333a90fd5a976a34742c",direction:"horizontal",size:"medium",breakpoint:"x-small"}),a("div",{key:"670e5e9670bea92a93ebc1fad855721f99d58b88"},a("duet-heading",{key:"815cd4427e3ceab15c5fb44b0dc27a9eae8df5f6",theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),a("duet-spacer",{key:"22c24606e2dfa0cc2fa5d42d7e12139f3031ec5b",direction:"horizontal",size:"large"}),a("div",{key:"9db141db2e2ddc2ef398c440bddbce996d27c5e1",class:"duet-step-heading-slot"},a("slot",{key:"3c35b0d2ba57df7f6af3c287b43fef66185f827b",name:"heading-content"}))),a("div",{key:"539aeedc2b198beb423c3bb4869405a2e1da1797",class:"duet-step-content-wrapper"},a("div",{key:"7d376e57e92ccd478e417cc392aeebe7991d41e2",class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},a("slot",{key:"60f1a391efe9137ff048170995926a92abf687ae"}))))}get element(){return i(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-step{padding:20px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false]{cursor:pointer}.duet-step-heading:focus{outline:0}.duet-step-heading:active{opacity:0.75}:host(.user-is-tabbing) .duet-step-heading: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-step-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete .duet-step-heading:hover .duet-step-counter,.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#005f8f}.duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e0a26}.is-current .duet-step-heading{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading{margin-top:8px;margin-bottom:8px !important}:host(:first-of-type) .duet-step-heading{margin-top:0}:host(:last-of-type) .duet-step-heading{margin-bottom:0 !important}}.duet-step-counter{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter{width:40px;height:40px;line-height:40px}}.is-complete .duet-step-counter,.is-current .duet-step-counter,.is-disabled .duet-step-counter{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete .duet-step-counter,.duet-theme-turva.is-current .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(198, 12, 48)}.is-incomplete .duet-step-counter{background-color:rgb(98, 121, 138)}.duet-theme-turva.is-incomplete .duet-step-counter{background-color:rgb(143, 147, 158)}.duet-step-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon{width:20px;height:20px}}.duet-step-icon duet-icon{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon duet-icon{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(212, 223, 229)}.duet-theme-turva .duet-step-content-wrapper{border-color:rgb(222, 224, 228)}:host(:last-of-type) .duet-step-content-wrapper{min-height:0;border:transparent}}.duet-step-content{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content{padding-bottom:28px}}.is-current .duet-step-content{display:block}.duet-step-heading-slot{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot{display:block}}';const u=class{constructor(a){e(this,a),this.duetStepChange=t(this,"duetStepChange",7),this.theme="",this.accessibleLive="Lista jossa {total} kohtaa. Olet kohdassa {current}.",this.margin="auto",this.backDisabled=!1,this.selected=0}currentStepChanged(e){if(isNaN(e))throw new Error(`step must be a number. got: ${e}`);if(e<0)throw new Error(`step must be not be less than zero. got: ${e}`);if(e>this.getSteps().length)throw new Error("step must not exceed total number of steps");this.updateStepState(),setTimeout((()=>this.setStepFocus()),50)}currentStepInvokedDisable(){this.updateStepState()}onDuetStepClick(e){this.duetStepChange.emit({fromStep:this.selected,toStep:e.detail.stepIndex,component:"duet-stepper"})}componentWillLoad(){o(this)}async connectedCallback(){this.updateStepState()}getSteps(){return Array.from(this.element.querySelectorAll("duet-step"))}setStepFocus(){this.getSteps()[this.selected].setFocus()}updateStepState(){const e=this.getSteps();e.forEach(((e,t)=>{let a;a=t<this.selected?this.backDisabled?"disabled":"complete":t>this.selected?"incomplete":"current",e.theme=this.theme,e.state=a,e.stepIndex=t}));const t=function(e,t){const a={};return t.forEach((e=>{const t=e.state;a[t]||(a[t]=[]),a[t].push(e)})),a}(0,e);Object.values(t).forEach((e=>{e.forEach(((t,a)=>{t.roundedTop=0===a,t.roundedBottom=a===e.length-1}))}))}formatAnnouncement(){const e=this.getSteps(),t=(this.selected+1).toString(10),a=e.length.toString(10);return this.accessibleLive.replace("{current}",t).replace("{total}",a)}render(){return a(r,{key:"7ccc1ace3e8f07c10a099ef586f5828a86c673c4",class:{"duet-m-0":"none"===this.margin}},a("div",{key:"819c9b955cd7e82825051eacd1f7dca8247da886",class:{"duet-stepper":!0,"duet-theme-turva":"turva"===this.theme}},a("duet-visually-hidden",{key:"b35315da5f69ddcfd008d3e4071d49b954a905fd","aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),a("slot",{key:"babe00b87bff0c56a53c1a32d67acabd2725ba43"})))}get element(){return i(this)}static get watchers(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}}};u.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";export{c as duet_step,u as duet_stepper}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,o){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function n(e){try{c(o.next(e))}catch(e){r(e)}}function s(e){try{c(o["throw"](e))}catch(e){r(e)}}function c(e){e.done?i(e.value):a(e.value).then(n,s)}c((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,a,r,n;return n={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(t){return c([e,t])}}function c(s){if(o)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(i=0)),i)try{if(o=1,a&&(r=s[0]&2?a["return"]:s[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,s[1])).done)return r;if(a=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];a=0}finally{o=r=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-4289c19b.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js"],(function(e){"use strict";var t,i,o,a,r,n,s;return{setters:[function(e){t=e.r;i=e.c;o=e.h;a=e.H;r=e.g},function(e){n=e.i},function(e){s=e.c}],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{margin-right:8px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host(:last-child:not(:only-child)){margin-bottom:0 !important}:host(.duet-m-0){margin:0 !important}.duet-label{position:relative;z-index:100;display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva .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)}.duet-label span{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container{position:relative;width:100%;height:100%}.duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox+label::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:"";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva .duet-checkbox+label::before{border-color:rgb(23, 28, 58)}.duet-checkbox:checked+label::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva .duet-checkbox:checked+label::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox+label{position:static}.duet-checkbox:checked+label::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:"";background:transparent url("data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled]{cursor:default}.duet-checkbox[disabled]+label{color:rgb(98, 121, 138)}.duet-theme-turva .duet-checkbox[disabled]+label{color:rgb(143, 147, 158)}.duet-checkbox[disabled]+label::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-checkbox[disabled]+label::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled]:checked+label::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva .duet-checkbox[disabled]:checked+label::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error{margin-left:31px;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(214, 28, 82);border-radius:4px}.duet-theme-turva .duet-checkbox-error{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(214, 28, 82)}.duet-label-hidden .duet-label span,.duet-label-hidden .duet-checkbox-error span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';var d=c;var l=e("duet_checkbox",function(){function e(e){var o=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.checkboxId=s("DuetCheckbox");this.errorId=s("DuetError");this.onChange=function(e){o.checked=!o.checked;o.duetChange.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-checkbox"})};this.onBlur=function(e){o.duetBlur.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-checkbox"})};this.onFocus=function(e){o.duetFocus.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-checkbox"})};this.getDescribedBy=function(){var e=[];if(o.accessibleDescribedBy){e.push(o.accessibleDescribedBy)}if(o.error){e.push(o.errorId)}return e.length>0?e.join(" "):null};this.accessibleActiveDescendant=undefined;this.margin="auto";this.accessibleControls=undefined;this.accessibleIndex=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleSelected=undefined;this.accessibleLiveError="polite";this.required=false;this.error="";this.theme="";this.disabled=false;this.identifier=undefined;this.label="label";this.labelHidden=false;this.name=undefined;this.role=undefined;this.checked=false;this.value=undefined}e.prototype.componentWillLoad=function(){n(this);if(this.value===undefined){this.value=this.identifier}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.identifier||this.checkboxId;return o(a,{key:"b766728b3dfefde1c6deefe6d0db2f549cd8aad3",class:{"duet-m-0":this.margin==="none"}},o("div",{key:"caeaf8e29cbfdc3f684a64a5c7e7e5ef6513432b",class:{"duet-checkbox-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva"}},o("input",{key:"6ab801fbe93327d25187b276878076bcfdf48b36",ref:function(t){return e.nativeInput=t},type:"checkbox",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,class:{"duet-checkbox":true,disabled:this.disabled},checked:this.checked,disabled:this.disabled,tabindex:this.accessibleIndex,"aria-invalid":this.error?"true":"false","aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-selected":this.accessibleSelected,required:this.required,role:this.role,name:this.name,id:t}),o("label",{key:"68e27e7756a0db41709ff8a3ae200ee99ff786b1",class:"duet-label",htmlFor:t},o("span",{key:"3db3ad22a9878f989e6dc47fee0c37c7d5195f42"},this.label)),o("div",{key:"9d27e662b34db5a4db91e3a7e7d9f989ba933f94",class:"duet-checkbox-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&o("span",{key:"7901825f9db5ff2a62876fa4324b449155ffac6a"},this.error))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());l.style=d}}}));