@duetds/components 10.0.0-alpha.9 → 10.1.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 +9613 -4173
  3. package/hydrate/index.mjs +46160 -0
  4. package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
  5. package/lib/cjs/a11y-utils-DzwEPbds.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-2b7fff72.js → app-globals-BtFYkwDf.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 -47
  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 +60 -33
  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 +169 -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 +115 -45
  59. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +226 -102
  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 +233 -88
  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 +49 -16
  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 +55 -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-e3a0f607.js → errorcodes.utils-BuseNrD9.js} +2 -2
  98. package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
  99. package/lib/cjs/{focus-utils-47d23c45.js → focus-utils-Cbk0cnOs.js} +1 -1
  100. package/lib/cjs/form-search-CzPfHB80.js +21 -0
  101. package/lib/cjs/{index-7b1d76ef.js → index-blgG8IJB.js} +1853 -1361
  102. package/lib/cjs/{label-874fd84f.js → label-DeanNJa0.js} +1 -1
  103. package/lib/cjs/{language-utils-a6a152b8.js → language-utils-DWW8tvkB.js} +10 -2
  104. package/lib/cjs/loader.cjs.js +3 -5
  105. package/lib/cjs/{slot-utils-7e6aa48b.js → slot-utils-Byx247xX.js} +6 -1
  106. package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
  107. package/lib/cjs/themeable-component-DcR7DztR.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 +5 -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 +94 -35
  117. package/lib/collection/components/duet-alert/duet-alert.css +96 -58
  118. package/lib/collection/components/duet-alert/duet-alert.js +146 -59
  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 +95 -30
  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 +140 -32
  128. package/lib/collection/components/duet-button/duet-button.js +174 -93
  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 +8 -4
  132. package/lib/collection/components/duet-caption/duet-caption.js +19 -7
  133. package/lib/collection/components/duet-card/duet-card.css +48 -16
  134. package/lib/collection/components/duet-card/duet-card.js +134 -40
  135. package/lib/collection/components/duet-checkbox/duet-checkbox.css +30 -8
  136. package/lib/collection/components/duet-checkbox/duet-checkbox.js +89 -50
  137. package/lib/collection/components/duet-chip/duet-chip.css +66 -25
  138. package/lib/collection/components/duet-chip/duet-chip.js +73 -41
  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 +164 -41
  142. package/lib/collection/components/duet-choice/duet-choice.js +244 -142
  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 +100 -38
  147. package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
  148. package/lib/collection/components/duet-combobox/duet-combobox.js +106 -59
  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 +12 -6
  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 +103 -46
  156. package/lib/collection/components/duet-date-picker/duet-date-picker.js +176 -73
  157. package/lib/collection/components/duet-divider/duet-divider.css +12 -6
  158. package/lib/collection/components/duet-divider/duet-divider.js +15 -5
  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 +88 -31
  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 +15 -6
  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 +18 -8
  167. package/lib/collection/components/duet-footer/duet-footer.css +43 -14
  168. package/lib/collection/components/duet-footer/duet-footer.js +62 -34
  169. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  170. package/lib/collection/components/duet-grid/duet-grid.js +151 -70
  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 +180 -91
  175. package/lib/collection/components/duet-heading/duet-heading.css +11 -6
  176. package/lib/collection/components/duet-heading/duet-heading.js +39 -15
  177. package/lib/collection/components/duet-hero/duet-hero.css +326 -18
  178. package/lib/collection/components/duet-hero/duet-hero.js +202 -56
  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 +143 -68
  184. package/lib/collection/components/duet-input/duet-input.js +320 -146
  185. package/lib/collection/components/duet-label/duet-label.css +8 -4
  186. package/lib/collection/components/duet-label/duet-label.js +25 -10
  187. package/lib/collection/components/duet-layout/duet-layout.css +4 -4
  188. package/lib/collection/components/duet-layout/duet-layout.js +36 -13
  189. package/lib/collection/components/duet-link/duet-link.css +149 -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 +41 -12
  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 +112 -12
  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 +60 -59
  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 +197 -43
  211. package/lib/collection/components/duet-multiselect/duet-multiselect.css +71 -30
  212. package/lib/collection/components/duet-multiselect/duet-multiselect.js +104 -54
  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 +58 -25
  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 +208 -107
  221. package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
  222. package/lib/collection/components/duet-overlay/duet-overlay.js +41 -16
  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 +132 -78
  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 +32 -11
  231. package/lib/collection/components/duet-phone-input/duet-phone-input.css +46 -2
  232. package/lib/collection/components/duet-phone-input/duet-phone-input.js +211 -58
  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 +184 -90
  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 +66 -31
  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 +70 -52
  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 +64 -19
  246. package/lib/collection/components/duet-range-slider/duet-range-slider.js +87 -48
  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 +44 -15
  249. package/lib/collection/components/duet-scrollable/duet-scrollable.css +29 -19
  250. package/lib/collection/components/duet-scrollable/duet-scrollable.js +170 -29
  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 +55 -24
  254. package/lib/collection/components/duet-select/duet-select.js +114 -68
  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 +88 -38
  262. package/lib/collection/components/duet-slideout/duet-slideout.css +72 -40
  263. package/lib/collection/components/duet-slideout/duet-slideout.js +89 -51
  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 +24 -11
  267. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +50 -15
  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 +16 -6
  274. package/lib/collection/components/duet-spinner/duet-spinner.css +10 -16
  275. package/lib/collection/components/duet-spinner/duet-spinner.js +22 -24
  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 +27 -18
  279. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  280. package/lib/collection/components/duet-stepper/duet-stepper.js +46 -11
  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 +173 -56
  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 +68 -23
  298. package/lib/collection/components/duet-textarea/duet-textarea.js +231 -103
  299. package/lib/collection/components/duet-toggle/duet-toggle.css +38 -11
  300. package/lib/collection/components/duet-toggle/duet-toggle.js +88 -39
  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 +101 -46
  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 +433 -227
  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 +19 -20
  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/index.js +1 -0
  326. package/lib/collection/utils/a11y-utils.js +20 -0
  327. package/lib/collection/utils/language-utils.js +7 -0
  328. package/lib/collection/utils/slot-utils.js +4 -0
  329. package/lib/collection/utils/teleport.js +22 -7
  330. package/lib/collection/utils/test-utils.js +2 -2
  331. package/lib/collection/utils/token-utils.js +59 -7
  332. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  333. package/lib/duet/duet.esm.js +1 -1
  334. package/lib/duet/p-01ce999b.entry.js +4 -0
  335. package/lib/duet/p-04c9c13e.entry.js +4 -0
  336. package/lib/duet/p-0d1a4928.entry.js +4 -0
  337. package/lib/duet/p-0fabcede.entry.js +4 -0
  338. package/lib/duet/p-1380370e.entry.js +4 -0
  339. package/lib/duet/p-140b87f4.entry.js +4 -0
  340. package/lib/duet/p-141f03da.entry.js +4 -0
  341. package/lib/duet/p-14d64261.entry.js +4 -0
  342. package/lib/duet/p-1U75pxcR.js +4 -0
  343. package/lib/duet/p-1d8da041.entry.js +4 -0
  344. package/lib/duet/p-24f206ab.entry.js +4 -0
  345. package/lib/duet/p-276f8827.entry.js +4 -0
  346. package/lib/duet/p-28325583.entry.js +4 -0
  347. package/lib/duet/p-29e677bc.entry.js +4 -0
  348. package/lib/duet/p-2c4f4896.entry.js +4 -0
  349. package/lib/duet/p-2d0eb4b5.entry.js +4 -0
  350. package/lib/duet/p-30ae4852.entry.js +4 -0
  351. package/lib/duet/p-320e4688.entry.js +4 -0
  352. package/lib/duet/p-36d2a441.entry.js +4 -0
  353. package/lib/duet/p-3a108321.entry.js +4 -0
  354. package/lib/duet/p-3b52f20d.entry.js +4 -0
  355. package/lib/duet/p-40956ec6.entry.js +4 -0
  356. package/lib/duet/p-43f15ad6.entry.js +4 -0
  357. package/lib/duet/p-4862f0c6.entry.js +4 -0
  358. package/lib/duet/{p-7d5c5b60.entry.js → p-486a4bc6.entry.js} +1 -1
  359. package/lib/duet/p-4d14780b.entry.js +4 -0
  360. package/lib/duet/p-4de6cd49.entry.js +4 -0
  361. package/lib/duet/p-540fc47b.entry.js +4 -0
  362. package/lib/duet/p-57ba8f5f.entry.js +4 -0
  363. package/lib/duet/p-581e1e08.entry.js +4 -0
  364. package/lib/duet/p-5db08755.entry.js +4 -0
  365. package/lib/duet/p-5f329414.entry.js +4 -0
  366. package/lib/duet/p-5iZMFvpJ.js +4 -0
  367. package/lib/duet/p-6043a6de.entry.js +4 -0
  368. package/lib/duet/p-6662042f.entry.js +4 -0
  369. package/lib/duet/p-6862c7d5.entry.js +4 -0
  370. package/lib/duet/p-6b2823ed.entry.js +4 -0
  371. package/lib/duet/p-6cf8e63d.entry.js +4 -0
  372. package/lib/duet/p-6d90a89c.entry.js +4 -0
  373. package/lib/duet/p-6qQ9c51e.js +4 -0
  374. package/lib/duet/p-72c7816e.entry.js +4 -0
  375. package/lib/duet/p-7a8f23b7.entry.js +4 -0
  376. package/lib/duet/p-823522c9.entry.js +4 -0
  377. package/lib/duet/p-83c7bfe0.entry.js +4 -0
  378. package/lib/duet/p-8857eb7b.entry.js +4 -0
  379. package/lib/duet/{p-e5229df1.entry.js → p-8f2fbd03.entry.js} +1 -1
  380. package/lib/duet/p-90981fbb.entry.js +4 -0
  381. package/lib/duet/p-90eed96d.entry.js +4 -0
  382. package/lib/duet/p-93303c68.entry.js +4 -0
  383. package/lib/duet/p-94f1de2c.entry.js +4 -0
  384. package/lib/duet/p-960ada39.entry.js +4 -0
  385. package/lib/duet/{p-597e4a0d.entry.js → p-9dc2b0d2.entry.js} +1 -1
  386. package/lib/duet/p-9ee8ddc9.entry.js +4 -0
  387. package/lib/duet/p-9fd10aed.entry.js +4 -0
  388. package/lib/duet/p-B0pM7dNk.js +4 -0
  389. package/lib/duet/p-BDAqOMlM.js +4 -0
  390. package/lib/duet/p-BVgBUIYF.js +4 -0
  391. package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
  392. package/lib/duet/p-Bg75Vqqq.js +4 -0
  393. package/lib/duet/p-BhYt_2Vd.js +5 -0
  394. package/lib/duet/p-BmMFVM-y.js +4 -0
  395. package/lib/duet/p-BtxOyTe3.js +4 -0
  396. package/lib/duet/p-CVPfl9fc.js +4 -0
  397. package/lib/duet/p-CooAqTCj.js +4 -0
  398. package/lib/duet/{p-b3d6e031.js → p-CxgSYSyh.js} +1 -1
  399. package/lib/duet/p-DJzDRf9m.js +4 -0
  400. package/lib/duet/p-DOuLHrH5.js +4 -0
  401. package/lib/duet/{p-a45e3f8b.js → p-Db8rvjPI.js} +1 -1
  402. package/lib/duet/p-DvwKrUS6.js +4 -0
  403. package/lib/duet/p-a1e60676.entry.js +4 -0
  404. package/lib/duet/p-a28d4312.entry.js +4 -0
  405. package/lib/duet/p-a9692b2a.entry.js +4 -0
  406. package/lib/duet/p-a9cf57f5.entry.js +4 -0
  407. package/lib/duet/p-ab74c20e.entry.js +4 -0
  408. package/lib/duet/p-ac_1YilV.js +4 -0
  409. package/lib/duet/p-afabb51f.entry.js +4 -0
  410. package/lib/duet/p-b2464865.entry.js +4 -0
  411. package/lib/duet/p-b2f22262.entry.js +4 -0
  412. package/lib/duet/p-ba39d3ad.entry.js +4 -0
  413. package/lib/duet/p-bb8634c4.entry.js +4 -0
  414. package/lib/duet/p-bcb8d390.entry.js +4 -0
  415. package/lib/duet/p-bd0ad7c3.entry.js +4 -0
  416. package/lib/duet/p-ca3fe683.entry.js +4 -0
  417. package/lib/duet/p-d26c644d.entry.js +4 -0
  418. package/lib/duet/p-d31cafc9.entry.js +4 -0
  419. package/lib/duet/p-d35a4b95.entry.js +4 -0
  420. package/lib/duet/p-d4e2e471.entry.js +4 -0
  421. package/lib/duet/p-d8ebfd49.entry.js +4 -0
  422. package/lib/duet/p-d9f504b7.entry.js +4 -0
  423. package/lib/duet/{p-8cbd3dfd.entry.js → p-db22799a.entry.js} +1 -1
  424. package/lib/duet/p-db594a93.entry.js +4 -0
  425. package/lib/duet/p-dc4d385d.entry.js +4 -0
  426. package/lib/duet/p-dc57fff7.entry.js +4 -0
  427. package/lib/duet/p-de255274.entry.js +4 -0
  428. package/lib/duet/{p-546cf344.entry.js → p-de639eff.entry.js} +1 -1
  429. package/lib/duet/p-e195c5e2.entry.js +4 -0
  430. package/lib/duet/p-e2e7b3bd.entry.js +4 -0
  431. package/lib/duet/p-e3780362.entry.js +4 -0
  432. package/lib/duet/p-e7c058b0.entry.js +4 -0
  433. package/lib/duet/p-ec5b54f3.entry.js +4 -0
  434. package/lib/duet/p-f6720f8c.entry.js +4 -0
  435. package/lib/duet/p-f6f6b960.entry.js +4 -0
  436. package/lib/duet/p-fb4ab1f5.entry.js +4 -0
  437. package/lib/duet/p-fd120a7b.entry.js +4 -0
  438. package/lib/duet/p-fe34272e.entry.js +4 -0
  439. package/lib/duet/p-vVCYtBMj.js +4 -0
  440. package/lib/duet/p-xwlQQBxs.js +4 -0
  441. package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
  442. package/lib/esm/a11y-utils-BuWx2D09.js +43 -0
  443. package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
  444. package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
  445. package/lib/esm/{app-globals-e00fbe9c.js → app-globals-DRDLN5wE.js} +2 -2
  446. package/lib/esm/common-strings-CVPfl9fc.js +53 -0
  447. package/lib/esm/duet-action-button.entry.js +84 -27
  448. package/lib/esm/duet-alert.entry.js +106 -47
  449. package/lib/esm/duet-badge.entry.js +31 -7
  450. package/lib/esm/duet-banner.entry.js +71 -26
  451. package/lib/esm/duet-breadcrumb.entry.js +38 -25
  452. package/lib/esm/duet-breadcrumbs.entry.js +20 -12
  453. package/lib/esm/duet-button_2.entry.js +152 -70
  454. package/lib/esm/duet-callout.entry.js +13 -8
  455. package/lib/esm/duet-caption_4.entry.js +212 -45
  456. package/lib/esm/duet-card.entry.js +93 -33
  457. package/lib/esm/duet-checkbox.entry.js +68 -30
  458. package/lib/esm/duet-checkmark.entry.js +21 -7
  459. package/lib/esm/duet-chip.entry.js +60 -31
  460. package/lib/esm/duet-choice_2.entry.js +280 -129
  461. package/lib/esm/duet-collapsible.entry.js +92 -31
  462. package/lib/esm/duet-combobox.entry.js +99 -56
  463. package/lib/esm/duet-contact-card.entry.js +17 -16
  464. package/lib/esm/duet-cookie-consent.entry.js +14 -9
  465. package/lib/esm/duet-date-picker.entry.js +158 -55
  466. package/lib/esm/duet-divider_2.entry.js +30 -12
  467. package/lib/esm/duet-editable-table_3.entry.js +556 -208
  468. package/lib/esm/duet-empty-state.entry.js +15 -7
  469. package/lib/esm/duet-fieldset.entry.js +51 -16
  470. package/lib/esm/duet-file-chooser.entry.js +18 -9
  471. package/lib/esm/duet-footer.entry.js +56 -28
  472. package/lib/esm/duet-grid_2.entry.js +169 -62
  473. package/lib/esm/duet-header_2.entry.js +303 -90
  474. package/lib/esm/duet-hero.entry.js +159 -33
  475. package/lib/esm/duet-icon.entry.js +64 -18
  476. package/lib/esm/duet-indicator.entry.js +59 -0
  477. package/lib/esm/duet-input_2.entry.js +226 -85
  478. package/lib/esm/duet-layout.entry.js +33 -11
  479. package/lib/esm/duet-list_2.entry.js +58 -12
  480. package/lib/esm/duet-menu-bar-button.entry.js +24 -14
  481. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
  482. package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
  483. package/lib/esm/duet-menu-bar-item.entry.js +40 -17
  484. package/lib/esm/duet-menu-bar-link.entry.js +18 -8
  485. package/lib/esm/duet-menu-bar.entry.js +37 -57
  486. package/lib/esm/duet-modal.entry.js +122 -33
  487. package/lib/esm/duet-multiselect.entry.js +88 -40
  488. package/lib/esm/duet-nav.entry.js +12 -6
  489. package/lib/esm/duet-notification_2.entry.js +98 -30
  490. package/lib/esm/duet-number-input.entry.js +192 -69
  491. package/lib/esm/duet-overlay.entry.js +36 -12
  492. package/lib/esm/duet-page-heading.entry.js +16 -9
  493. package/lib/esm/duet-pagination_2.entry.js +162 -85
  494. package/lib/esm/duet-panel.entry.js +50 -0
  495. package/lib/esm/duet-phone-input.entry.js +115 -43
  496. package/lib/esm/duet-popup-menu_2.entry.js +223 -97
  497. package/lib/esm/duet-progress.entry.js +32 -11
  498. package/lib/esm/duet-promo-card.entry.js +27 -11
  499. package/lib/esm/duet-radio_2.entry.js +114 -53
  500. package/lib/esm/duet-range-slider.entry.js +73 -35
  501. package/lib/esm/duet-scrollable_3.entry.js +233 -86
  502. package/lib/esm/duet-section-layout.entry.js +17 -8
  503. package/lib/esm/duet-select.entry.js +89 -44
  504. package/lib/esm/duet-shaped-image.entry.js +16 -9
  505. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  506. package/lib/esm/duet-share-chart.entry.js +83 -0
  507. package/lib/esm/duet-show-more.entry.js +81 -36
  508. package/lib/esm/duet-slideout-lang.entry.js +10 -8
  509. package/lib/esm/duet-slideout-link.entry.js +49 -14
  510. package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
  511. package/lib/esm/duet-slideout-panel.entry.js +50 -34
  512. package/lib/esm/duet-slideout.entry.js +85 -50
  513. package/lib/esm/duet-status-icon.entry.js +28 -13
  514. package/lib/esm/duet-step_2.entry.js +73 -23
  515. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
  516. package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
  517. package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
  518. package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
  519. package/lib/esm/duet-submenu-bar.entry.js +27 -19
  520. package/lib/esm/duet-textarea.entry.js +146 -69
  521. package/lib/esm/duet-toggle.entry.js +55 -27
  522. package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
  523. package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
  524. package/lib/esm/duet-toolbar-item.entry.js +46 -17
  525. package/lib/esm/duet-toolbar-link.entry.js +21 -8
  526. package/lib/esm/duet-toolbar.entry.js +12 -8
  527. package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
  528. package/lib/esm/duet-tooltip.entry.js +97 -43
  529. package/lib/esm/duet-tray.entry.js +63 -22
  530. package/lib/esm/duet-upload-aria-status.entry.js +30 -9
  531. package/lib/esm/duet-upload-item.entry.js +12 -20
  532. package/lib/esm/duet-visually-hidden.entry.js +4 -5
  533. package/lib/esm/duet.js +7 -6
  534. package/lib/esm/{errorcodes.utils-416994cc.js → errorcodes.utils-CjUqHglR.js} +3 -3
  535. package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
  536. package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-Do5KtPgs.js} +1 -1
  537. package/lib/esm/form-search-CevX33LA.js +19 -0
  538. package/lib/esm/{index-1a6cee61.js → index-BhYt_2Vd.js} +1851 -1357
  539. package/lib/{dist-custom-elements/p-8db11326.js → esm/keyboard-utils-Db8rvjPI.js} +1 -1
  540. package/lib/{dist-custom-elements/p-42619f94.js → esm/label-BRuShBbJ.js} +1 -1
  541. package/lib/esm/{language-utils-8a9d5323.js → language-utils-D2jecvOr.js} +10 -3
  542. package/lib/esm/loader.js +4 -4
  543. package/lib/esm/{slot-utils-bf214ae5.js → slot-utils-nDLvv_4O.js} +6 -2
  544. package/lib/esm/{teleport-546f382d.js → teleport-CooAqTCj.js} +22 -7
  545. package/lib/esm/themeable-component-C0nhBgYw.js +72 -0
  546. package/lib/{dist-custom-elements/p-0562173d.js → esm/token-utils-Dks4GBDa.js} +80 -10
  547. package/lib/esm/{tokens-84fb2357.js → tokens-DOuLHrH5.js} +151 -7
  548. package/lib/esm/{tokens.module-2d02f5ff.js → tokens.module-BDAqOMlM.js} +100 -4
  549. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
  550. package/lib/index.js +1 -1
  551. package/lib/loader/cdn.js +1 -2
  552. package/lib/loader/index.cjs.js +1 -2
  553. package/lib/loader/index.es2017.js +0 -1
  554. package/lib/loader/index.js +1 -2
  555. package/lib/types/common-strings.d.ts +3 -0
  556. package/lib/types/common-types.d.ts +1 -1
  557. package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
  558. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  559. package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
  560. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  561. package/lib/types/components/duet-card/duet-card.d.ts +10 -0
  562. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  563. package/lib/types/components/duet-choice/duet-choice.d.ts +4 -8
  564. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
  565. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -1
  566. package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -0
  567. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
  568. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
  569. package/lib/types/components/duet-grid/duet-grid.d.ts +10 -7
  570. package/lib/types/components/duet-hero/duet-hero.d.ts +9 -0
  571. package/lib/types/components/duet-indicator/duet-indicator.d.ts +24 -0
  572. package/lib/types/components/duet-input/duet-input.d.ts +21 -13
  573. package/lib/types/components/duet-link/duet-link.d.ts +3 -0
  574. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  575. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  576. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  577. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  578. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  579. package/lib/types/components/duet-number-input/duet-number-input.d.ts +13 -8
  580. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  581. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  582. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  583. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +23 -1
  584. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +10 -6
  585. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  586. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
  587. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  588. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +18 -0
  589. package/lib/types/components/duet-select/duet-select.d.ts +2 -1
  590. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  591. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  592. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  593. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -5
  594. package/lib/types/components/duet-spinner/duet-spinner.d.ts +6 -3
  595. package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
  596. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  597. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  598. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -0
  599. package/lib/types/components/duet-textarea/duet-textarea.d.ts +21 -9
  600. package/lib/types/components/duet-toggle/duet-toggle.d.ts +4 -0
  601. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  602. package/lib/types/components.d.ts +2136 -73
  603. package/lib/types/index.d.ts +1 -0
  604. package/lib/types/stencil-public-runtime.d.ts +35 -6
  605. package/lib/types/utils/a11y-utils.d.ts +11 -0
  606. package/lib/types/utils/language-utils.d.ts +1 -0
  607. package/lib/types/utils/slot-utils.d.ts +1 -0
  608. package/lib/types/utils/teleport.d.ts +4 -1
  609. package/lib/types/utils/token-utils.d.ts +4 -0
  610. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  611. package/package.json +37 -17
  612. package/lib/cjs/a11y-utils-be617c0c.js +0 -25
  613. package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
  614. package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
  615. package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
  616. package/lib/cjs/form-search-d61b2843.js +0 -8
  617. package/lib/cjs/themeable-component-996b489c.js +0 -15
  618. package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
  619. package/lib/dist-custom-elements/duet-action-button.js +0 -9
  620. package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
  621. package/lib/dist-custom-elements/duet-alert.js +0 -9
  622. package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
  623. package/lib/dist-custom-elements/duet-badge.js +0 -9
  624. package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
  625. package/lib/dist-custom-elements/duet-banner.js +0 -157
  626. package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
  627. package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
  628. package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
  629. package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
  630. package/lib/dist-custom-elements/duet-button.d.ts +0 -11
  631. package/lib/dist-custom-elements/duet-button.js +0 -9
  632. package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
  633. package/lib/dist-custom-elements/duet-callout.js +0 -72
  634. package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
  635. package/lib/dist-custom-elements/duet-caption.js +0 -9
  636. package/lib/dist-custom-elements/duet-card.d.ts +0 -11
  637. package/lib/dist-custom-elements/duet-card.js +0 -174
  638. package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
  639. package/lib/dist-custom-elements/duet-checkbox.js +0 -9
  640. package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
  641. package/lib/dist-custom-elements/duet-checkmark.js +0 -9
  642. package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
  643. package/lib/dist-custom-elements/duet-chip.js +0 -9
  644. package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
  645. package/lib/dist-custom-elements/duet-choice-group.js +0 -228
  646. package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
  647. package/lib/dist-custom-elements/duet-choice.js +0 -454
  648. package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
  649. package/lib/dist-custom-elements/duet-collapsible.js +0 -176
  650. package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
  651. package/lib/dist-custom-elements/duet-combobox.js +0 -702
  652. package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
  653. package/lib/dist-custom-elements/duet-contact-card.js +0 -134
  654. package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
  655. package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
  656. package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
  657. package/lib/dist-custom-elements/duet-date-picker.js +0 -937
  658. package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
  659. package/lib/dist-custom-elements/duet-divider.js +0 -9
  660. package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
  661. package/lib/dist-custom-elements/duet-editable-table.js +0 -258
  662. package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
  663. package/lib/dist-custom-elements/duet-empty-state.js +0 -9
  664. package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
  665. package/lib/dist-custom-elements/duet-fieldset.js +0 -9
  666. package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
  667. package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
  668. package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
  669. package/lib/dist-custom-elements/duet-footer.js +0 -223
  670. package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
  671. package/lib/dist-custom-elements/duet-grid-item.js +0 -9
  672. package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
  673. package/lib/dist-custom-elements/duet-grid.js +0 -9
  674. package/lib/dist-custom-elements/duet-header.d.ts +0 -11
  675. package/lib/dist-custom-elements/duet-header.js +0 -698
  676. package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
  677. package/lib/dist-custom-elements/duet-heading.js +0 -9
  678. package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
  679. package/lib/dist-custom-elements/duet-hero.js +0 -299
  680. package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
  681. package/lib/dist-custom-elements/duet-icon.js +0 -9
  682. package/lib/dist-custom-elements/duet-input.d.ts +0 -11
  683. package/lib/dist-custom-elements/duet-input.js +0 -9
  684. package/lib/dist-custom-elements/duet-label.d.ts +0 -11
  685. package/lib/dist-custom-elements/duet-label.js +0 -70
  686. package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
  687. package/lib/dist-custom-elements/duet-layout.js +0 -94
  688. package/lib/dist-custom-elements/duet-link.d.ts +0 -11
  689. package/lib/dist-custom-elements/duet-link.js +0 -9
  690. package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
  691. package/lib/dist-custom-elements/duet-list-item.js +0 -9
  692. package/lib/dist-custom-elements/duet-list.d.ts +0 -11
  693. package/lib/dist-custom-elements/duet-list.js +0 -9
  694. package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
  695. package/lib/dist-custom-elements/duet-logo.js +0 -9
  696. package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
  697. package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
  698. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
  699. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
  700. package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
  701. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
  702. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
  703. package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
  704. package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
  705. package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
  706. package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
  707. package/lib/dist-custom-elements/duet-menu-bar.js +0 -207
  708. package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
  709. package/lib/dist-custom-elements/duet-modal.js +0 -382
  710. package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
  711. package/lib/dist-custom-elements/duet-multiselect.js +0 -346
  712. package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
  713. package/lib/dist-custom-elements/duet-nav.js +0 -54
  714. package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
  715. package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
  716. package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
  717. package/lib/dist-custom-elements/duet-notification.js +0 -95
  718. package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
  719. package/lib/dist-custom-elements/duet-number-input.js +0 -484
  720. package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
  721. package/lib/dist-custom-elements/duet-overlay.js +0 -9
  722. package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
  723. package/lib/dist-custom-elements/duet-page-heading.js +0 -87
  724. package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
  725. package/lib/dist-custom-elements/duet-pagination.js +0 -493
  726. package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
  727. package/lib/dist-custom-elements/duet-paragraph.js +0 -9
  728. package/lib/dist-custom-elements/duet-phone-input.d.ts +0 -11
  729. package/lib/dist-custom-elements/duet-phone-input.js +0 -2122
  730. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
  731. package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
  732. package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
  733. package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
  734. package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
  735. package/lib/dist-custom-elements/duet-progress.js +0 -9
  736. package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
  737. package/lib/dist-custom-elements/duet-promo-card.js +0 -105
  738. package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
  739. package/lib/dist-custom-elements/duet-radio-group.js +0 -213
  740. package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
  741. package/lib/dist-custom-elements/duet-radio.js +0 -230
  742. package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
  743. package/lib/dist-custom-elements/duet-range-slider.js +0 -181
  744. package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
  745. package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
  746. package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
  747. package/lib/dist-custom-elements/duet-scrollable.js +0 -9
  748. package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
  749. package/lib/dist-custom-elements/duet-section-layout.js +0 -56
  750. package/lib/dist-custom-elements/duet-select.d.ts +0 -11
  751. package/lib/dist-custom-elements/duet-select.js +0 -9
  752. package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
  753. package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
  754. package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
  755. package/lib/dist-custom-elements/duet-show-more.js +0 -9
  756. package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
  757. package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
  758. package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
  759. package/lib/dist-custom-elements/duet-slideout-link.js +0 -98
  760. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
  761. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
  762. package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
  763. package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
  764. package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
  765. package/lib/dist-custom-elements/duet-slideout.js +0 -328
  766. package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
  767. package/lib/dist-custom-elements/duet-spacer.js +0 -9
  768. package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
  769. package/lib/dist-custom-elements/duet-spinner.js +0 -9
  770. package/lib/dist-custom-elements/duet-status-icon.d.ts +0 -11
  771. package/lib/dist-custom-elements/duet-status-icon.js +0 -111
  772. package/lib/dist-custom-elements/duet-step.d.ts +0 -11
  773. package/lib/dist-custom-elements/duet-step.js +0 -147
  774. package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
  775. package/lib/dist-custom-elements/duet-stepper.js +0 -151
  776. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
  777. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
  778. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
  779. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
  780. package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
  781. package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
  782. package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
  783. package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
  784. package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
  785. package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
  786. package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
  787. package/lib/dist-custom-elements/duet-tab-group.js +0 -312
  788. package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
  789. package/lib/dist-custom-elements/duet-tab.js +0 -150
  790. package/lib/dist-custom-elements/duet-table.d.ts +0 -11
  791. package/lib/dist-custom-elements/duet-table.js +0 -9
  792. package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
  793. package/lib/dist-custom-elements/duet-textarea.js +0 -301
  794. package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
  795. package/lib/dist-custom-elements/duet-toggle.js +0 -146
  796. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
  797. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
  798. package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
  799. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
  800. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
  801. package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
  802. package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
  803. package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
  804. package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
  805. package/lib/dist-custom-elements/duet-toolbar.js +0 -67
  806. package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
  807. package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
  808. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
  809. package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
  810. package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
  811. package/lib/dist-custom-elements/duet-tooltip.js +0 -9
  812. package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
  813. package/lib/dist-custom-elements/duet-tray.js +0 -146
  814. package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
  815. package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
  816. package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
  817. package/lib/dist-custom-elements/duet-upload-item.js +0 -9
  818. package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
  819. package/lib/dist-custom-elements/duet-upload.js +0 -1444
  820. package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
  821. package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
  822. package/lib/dist-custom-elements/index.d.ts +0 -33
  823. package/lib/dist-custom-elements/index.js +0 -29
  824. package/lib/dist-custom-elements/p-081025d8.js +0 -82
  825. package/lib/dist-custom-elements/p-0871ccd4.js +0 -56
  826. package/lib/dist-custom-elements/p-115c79b6.js +0 -6
  827. package/lib/dist-custom-elements/p-18248c41.js +0 -81
  828. package/lib/dist-custom-elements/p-196352e6.js +0 -39
  829. package/lib/dist-custom-elements/p-2768f969.js +0 -268
  830. package/lib/dist-custom-elements/p-30810e37.js +0 -60
  831. package/lib/dist-custom-elements/p-35375593.js +0 -161
  832. package/lib/dist-custom-elements/p-3c70317f.js +0 -63
  833. package/lib/dist-custom-elements/p-4150399b.js +0 -205
  834. package/lib/dist-custom-elements/p-548610a6.js +0 -2130
  835. package/lib/dist-custom-elements/p-592cf939.js +0 -102
  836. package/lib/dist-custom-elements/p-59782228.js +0 -61
  837. package/lib/dist-custom-elements/p-5d871374.js +0 -316
  838. package/lib/dist-custom-elements/p-5e91471a.js +0 -63
  839. package/lib/dist-custom-elements/p-60316b82.js +0 -642
  840. package/lib/dist-custom-elements/p-63963e6b.js +0 -124
  841. package/lib/dist-custom-elements/p-6620a58c.js +0 -607
  842. package/lib/dist-custom-elements/p-77667998.js +0 -232
  843. package/lib/dist-custom-elements/p-77d42564.js +0 -124
  844. package/lib/dist-custom-elements/p-8258c05e.js +0 -100
  845. package/lib/dist-custom-elements/p-8a840972.js +0 -194
  846. package/lib/dist-custom-elements/p-8d263ac9.js +0 -94
  847. package/lib/dist-custom-elements/p-91cdfcdd.js +0 -73
  848. package/lib/dist-custom-elements/p-940f9ee8.js +0 -1630
  849. package/lib/dist-custom-elements/p-993aea39.js +0 -175
  850. package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
  851. package/lib/dist-custom-elements/p-9e31e365.js +0 -214
  852. package/lib/dist-custom-elements/p-9ee4d52e.js +0 -321
  853. package/lib/dist-custom-elements/p-a9b78a2b.js +0 -441
  854. package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
  855. package/lib/dist-custom-elements/p-aaa95dbc.js +0 -370
  856. package/lib/dist-custom-elements/p-ad615991.js +0 -115
  857. package/lib/dist-custom-elements/p-afb6f7fb.js +0 -23
  858. package/lib/dist-custom-elements/p-b322feac.js +0 -206
  859. package/lib/dist-custom-elements/p-b632bf7b.js +0 -178
  860. package/lib/dist-custom-elements/p-ca3cb21e.js +0 -116
  861. package/lib/dist-custom-elements/p-ccee2b7f.js +0 -127
  862. package/lib/dist-custom-elements/p-cea716f7.js +0 -503
  863. package/lib/dist-custom-elements/p-d004da5f.js +0 -6
  864. package/lib/dist-custom-elements/p-df2458b1.js +0 -80
  865. package/lib/dist-custom-elements/p-e58296e6.js +0 -110
  866. package/lib/dist-custom-elements/p-ed1ef4c3.js +0 -55
  867. package/lib/dist-custom-elements/p-ed6a907e.js +0 -61
  868. package/lib/dist-custom-elements/p-ed6f3abc.js +0 -165
  869. package/lib/dist-custom-elements/p-ee0c73c3.js +0 -50
  870. package/lib/dist-custom-elements/p-f11208c3.js +0 -6
  871. package/lib/dist-custom-elements/p-f4067b03.js +0 -154
  872. package/lib/dist-custom-elements/p-f6000a03.js +0 -753
  873. package/lib/dist-custom-elements/p-f6270dca.js +0 -83
  874. package/lib/duet/duet.js +0 -127
  875. package/lib/duet/p-00556ef0.entry.js +0 -4
  876. package/lib/duet/p-00e58acf.system.entry.js +0 -4
  877. package/lib/duet/p-02d914b6.system.js +0 -4
  878. package/lib/duet/p-03dfd146.system.entry.js +0 -4
  879. package/lib/duet/p-043d8cac.entry.js +0 -4
  880. package/lib/duet/p-053b71e6.system.js +0 -4
  881. package/lib/duet/p-078dc32d.system.js +0 -4
  882. package/lib/duet/p-083bbc28.js +0 -4
  883. package/lib/duet/p-097593e0.system.entry.js +0 -4
  884. package/lib/duet/p-0c4bbd65.system.js +0 -4
  885. package/lib/duet/p-0d7da85a.js +0 -4
  886. package/lib/duet/p-0dc9089b.system.js +0 -4
  887. package/lib/duet/p-115c79b6.js +0 -4
  888. package/lib/duet/p-12739ce5.entry.js +0 -4
  889. package/lib/duet/p-154681bc.system.entry.js +0 -4
  890. package/lib/duet/p-16bc0f6a.system.entry.js +0 -4
  891. package/lib/duet/p-20a9379e.entry.js +0 -4
  892. package/lib/duet/p-21124f63.system.entry.js +0 -4
  893. package/lib/duet/p-222fb4e2.entry.js +0 -4
  894. package/lib/duet/p-2306d206.entry.js +0 -4
  895. package/lib/duet/p-232405fe.system.entry.js +0 -4
  896. package/lib/duet/p-280babbe.entry.js +0 -4
  897. package/lib/duet/p-29cfae19.system.entry.js +0 -4
  898. package/lib/duet/p-2acb5228.system.entry.js +0 -4
  899. package/lib/duet/p-2bb44297.system.js +0 -4
  900. package/lib/duet/p-2d3cfed7.entry.js +0 -4
  901. package/lib/duet/p-2ea79237.entry.js +0 -4
  902. package/lib/duet/p-2f4a1c87.system.entry.js +0 -4
  903. package/lib/duet/p-30424dea.entry.js +0 -4
  904. package/lib/duet/p-32f2bb6f.system.entry.js +0 -4
  905. package/lib/duet/p-36d473db.entry.js +0 -4
  906. package/lib/duet/p-36e38e72.entry.js +0 -4
  907. package/lib/duet/p-380e506a.system.entry.js +0 -4
  908. package/lib/duet/p-3931d796.system.entry.js +0 -4
  909. package/lib/duet/p-396397f0.entry.js +0 -4
  910. package/lib/duet/p-39c8d5f4.entry.js +0 -4
  911. package/lib/duet/p-3c43bf45.system.entry.js +0 -4
  912. package/lib/duet/p-3c548017.entry.js +0 -4
  913. package/lib/duet/p-3edeecdd.system.entry.js +0 -4
  914. package/lib/duet/p-41982d26.system.js +0 -4
  915. package/lib/duet/p-422bf802.system.entry.js +0 -4
  916. package/lib/duet/p-42789990.system.entry.js +0 -4
  917. package/lib/duet/p-44ac35f1.entry.js +0 -4
  918. package/lib/duet/p-49957220.system.js +0 -4
  919. package/lib/duet/p-49cbde53.entry.js +0 -4
  920. package/lib/duet/p-49d89759.system.entry.js +0 -4
  921. package/lib/duet/p-4af1174c.entry.js +0 -4
  922. package/lib/duet/p-4bbc1e3f.system.entry.js +0 -4
  923. package/lib/duet/p-4cff3036.system.js +0 -4
  924. package/lib/duet/p-4d228791.entry.js +0 -4
  925. package/lib/duet/p-4e095335.entry.js +0 -4
  926. package/lib/duet/p-4f872b2e.system.entry.js +0 -4
  927. package/lib/duet/p-4f945200.system.js +0 -4
  928. package/lib/duet/p-4ffcbae2.entry.js +0 -4
  929. package/lib/duet/p-534baf68.system.entry.js +0 -4
  930. package/lib/duet/p-55b6ebd2.system.entry.js +0 -4
  931. package/lib/duet/p-565c967d.system.entry.js +0 -4
  932. package/lib/duet/p-56d5d3bd.system.entry.js +0 -4
  933. package/lib/duet/p-570fd695.system.entry.js +0 -4
  934. package/lib/duet/p-5a148896.entry.js +0 -4
  935. package/lib/duet/p-5a47d2bb.entry.js +0 -4
  936. package/lib/duet/p-5acfa4bf.entry.js +0 -4
  937. package/lib/duet/p-5b5a4a8f.entry.js +0 -4
  938. package/lib/duet/p-5cbadb53.system.entry.js +0 -4
  939. package/lib/duet/p-5cc339cf.entry.js +0 -4
  940. package/lib/duet/p-5d1a4238.entry.js +0 -4
  941. package/lib/duet/p-5e01a303.system.entry.js +0 -4
  942. package/lib/duet/p-5f668b4a.system.entry.js +0 -4
  943. package/lib/duet/p-5ffa7838.entry.js +0 -4
  944. package/lib/duet/p-61173f11.system.js +0 -5
  945. package/lib/duet/p-622e1ffc.js +0 -4
  946. package/lib/duet/p-64f2d5cf.system.entry.js +0 -4
  947. package/lib/duet/p-650c6251.system.entry.js +0 -4
  948. package/lib/duet/p-69e55527.system.entry.js +0 -4
  949. package/lib/duet/p-6ac3b242.entry.js +0 -4
  950. package/lib/duet/p-6ac7d70c.entry.js +0 -4
  951. package/lib/duet/p-6c8f09c8.system.entry.js +0 -4
  952. package/lib/duet/p-6eec1445.system.entry.js +0 -4
  953. package/lib/duet/p-6fc78573.entry.js +0 -4
  954. package/lib/duet/p-705dbeac.system.entry.js +0 -4
  955. package/lib/duet/p-71a37f03.entry.js +0 -4
  956. package/lib/duet/p-752fa0fc.system.js +0 -4
  957. package/lib/duet/p-760919c7.system.entry.js +0 -4
  958. package/lib/duet/p-7be5b9a7.js +0 -4
  959. package/lib/duet/p-7c119b9b.system.entry.js +0 -4
  960. package/lib/duet/p-7cd899ca.system.entry.js +0 -4
  961. package/lib/duet/p-7d8a2628.js +0 -4
  962. package/lib/duet/p-7ea9d8e4.system.entry.js +0 -4
  963. package/lib/duet/p-7fc6af46.system.entry.js +0 -4
  964. package/lib/duet/p-7fe5e652.entry.js +0 -4
  965. package/lib/duet/p-86038989.entry.js +0 -4
  966. package/lib/duet/p-872b746e.entry.js +0 -4
  967. package/lib/duet/p-875d3971.entry.js +0 -4
  968. package/lib/duet/p-88daf9bb.system.entry.js +0 -4
  969. package/lib/duet/p-89ac2008.system.entry.js +0 -4
  970. package/lib/duet/p-89cf1a91.system.js +0 -4
  971. package/lib/duet/p-8d43c8cf.entry.js +0 -4
  972. package/lib/duet/p-8f450e25.entry.js +0 -4
  973. package/lib/duet/p-8f477bd6.system.js +0 -4
  974. package/lib/duet/p-8faaaf5f.system.js +0 -4
  975. package/lib/duet/p-907b42ae.system.entry.js +0 -4
  976. package/lib/duet/p-9183c04b.system.entry.js +0 -4
  977. package/lib/duet/p-91b68d54.entry.js +0 -4
  978. package/lib/duet/p-92d47024.system.entry.js +0 -4
  979. package/lib/duet/p-939f268d.entry.js +0 -4
  980. package/lib/duet/p-93c115a9.system.entry.js +0 -4
  981. package/lib/duet/p-943bf2b1.system.entry.js +0 -4
  982. package/lib/duet/p-9592f6ba.entry.js +0 -4
  983. package/lib/duet/p-96d76a4b.entry.js +0 -4
  984. package/lib/duet/p-98636086.system.js +0 -4
  985. package/lib/duet/p-9a57fac7.entry.js +0 -4
  986. package/lib/duet/p-9b16ba14.system.entry.js +0 -4
  987. package/lib/duet/p-9b61d7b9.system.entry.js +0 -4
  988. package/lib/duet/p-9d429df0.system.entry.js +0 -4
  989. package/lib/duet/p-9e5b11f7.entry.js +0 -4
  990. package/lib/duet/p-9ee0f850.entry.js +0 -4
  991. package/lib/duet/p-a083b91a.js +0 -5
  992. package/lib/duet/p-a11e1a80.system.entry.js +0 -4
  993. package/lib/duet/p-a1e5f0d4.entry.js +0 -4
  994. package/lib/duet/p-a4b80c74.entry.js +0 -4
  995. package/lib/duet/p-a7b0d8ce.entry.js +0 -4
  996. package/lib/duet/p-aaa7a7bd.js +0 -4
  997. package/lib/duet/p-abc0c9c6.system.js +0 -4
  998. package/lib/duet/p-ad07b21e.system.entry.js +0 -4
  999. package/lib/duet/p-ad0d289a.system.entry.js +0 -4
  1000. package/lib/duet/p-ad2b37b0.entry.js +0 -4
  1001. package/lib/duet/p-adc2d7ce.system.entry.js +0 -4
  1002. package/lib/duet/p-aef92a68.entry.js +0 -4
  1003. package/lib/duet/p-afad5fd3.system.js +0 -4
  1004. package/lib/duet/p-b15523c2.entry.js +0 -4
  1005. package/lib/duet/p-b17984d6.system.entry.js +0 -4
  1006. package/lib/duet/p-b2df3729.entry.js +0 -4
  1007. package/lib/duet/p-b327a269.entry.js +0 -4
  1008. package/lib/duet/p-b33512d6.js +0 -4
  1009. package/lib/duet/p-b48b58e1.entry.js +0 -4
  1010. package/lib/duet/p-b864159a.system.js +0 -4
  1011. package/lib/duet/p-b8775dc1.system.entry.js +0 -4
  1012. package/lib/duet/p-ba03d034.system.js +0 -4
  1013. package/lib/duet/p-bbb92080.entry.js +0 -4
  1014. package/lib/duet/p-bd5b0381.entry.js +0 -4
  1015. package/lib/duet/p-bdb001df.entry.js +0 -4
  1016. package/lib/duet/p-be097905.entry.js +0 -4
  1017. package/lib/duet/p-beeb12f1.js +0 -4
  1018. package/lib/duet/p-c118fad4.js +0 -4
  1019. package/lib/duet/p-c1483141.entry.js +0 -4
  1020. package/lib/duet/p-c2e74c89.system.entry.js +0 -4
  1021. package/lib/duet/p-c40ee5d3.entry.js +0 -4
  1022. package/lib/duet/p-c480533b.entry.js +0 -4
  1023. package/lib/duet/p-c487869c.entry.js +0 -4
  1024. package/lib/duet/p-c507caa0.entry.js +0 -4
  1025. package/lib/duet/p-c58f3932.entry.js +0 -4
  1026. package/lib/duet/p-c5d88a34.system.entry.js +0 -4
  1027. package/lib/duet/p-c6bf2cc4.system.entry.js +0 -4
  1028. package/lib/duet/p-c6f29010.system.entry.js +0 -4
  1029. package/lib/duet/p-ca29569e.system.js +0 -4
  1030. package/lib/duet/p-ca3cb21e.js +0 -4
  1031. package/lib/duet/p-ca901ab9.entry.js +0 -4
  1032. package/lib/duet/p-cc5e6288.system.js +0 -4
  1033. package/lib/duet/p-cc67e773.js +0 -4
  1034. package/lib/duet/p-cdba12cc.system.js +0 -4
  1035. package/lib/duet/p-ce282523.entry.js +0 -4
  1036. package/lib/duet/p-cebffd48.system.entry.js +0 -4
  1037. package/lib/duet/p-cf2d66a9.system.entry.js +0 -4
  1038. package/lib/duet/p-cf511280.system.entry.js +0 -4
  1039. package/lib/duet/p-d004da5f.js +0 -4
  1040. package/lib/duet/p-d2875f04.system.entry.js +0 -4
  1041. package/lib/duet/p-d40b4a20.entry.js +0 -4
  1042. package/lib/duet/p-d4554cf2.entry.js +0 -4
  1043. package/lib/duet/p-d4ddd4d1.entry.js +0 -4
  1044. package/lib/duet/p-d5317013.system.entry.js +0 -4
  1045. package/lib/duet/p-d68e93e4.system.entry.js +0 -4
  1046. package/lib/duet/p-d6a321fd.system.entry.js +0 -4
  1047. package/lib/duet/p-d835a292.entry.js +0 -4
  1048. package/lib/duet/p-d840dcdc.system.entry.js +0 -4
  1049. package/lib/duet/p-dac4bc08.system.entry.js +0 -4
  1050. package/lib/duet/p-db2ccb9d.system.js +0 -4
  1051. package/lib/duet/p-e0b83f6c.system.entry.js +0 -4
  1052. package/lib/duet/p-e12066c8.system.js +0 -4
  1053. package/lib/duet/p-e216bea4.system.js +0 -4
  1054. package/lib/duet/p-e29d9d5b.system.entry.js +0 -4
  1055. package/lib/duet/p-e3857119.js +0 -4
  1056. package/lib/duet/p-e45d4dc4.system.entry.js +0 -4
  1057. package/lib/duet/p-e4c8559c.system.js +0 -4
  1058. package/lib/duet/p-e50214f5.system.entry.js +0 -4
  1059. package/lib/duet/p-e6b5a1c7.system.js +0 -4
  1060. package/lib/duet/p-e7c3186e.system.entry.js +0 -4
  1061. package/lib/duet/p-e89a92a9.entry.js +0 -4
  1062. package/lib/duet/p-eb02c981.system.entry.js +0 -4
  1063. package/lib/duet/p-ed086770.system.entry.js +0 -4
  1064. package/lib/duet/p-eebfe28d.system.entry.js +0 -4
  1065. package/lib/duet/p-ef520403.entry.js +0 -4
  1066. package/lib/duet/p-f0260e4c.entry.js +0 -4
  1067. package/lib/duet/p-f07eace6.system.entry.js +0 -4
  1068. package/lib/duet/p-f1083d8c.system.entry.js +0 -4
  1069. package/lib/duet/p-f10d7817.entry.js +0 -4
  1070. package/lib/duet/p-f11208c3.js +0 -4
  1071. package/lib/duet/p-f18245aa.system.entry.js +0 -4
  1072. package/lib/duet/p-f4063bd4.entry.js +0 -4
  1073. package/lib/duet/p-f56098f1.system.entry.js +0 -4
  1074. package/lib/duet/p-f6000a03.js +0 -4
  1075. package/lib/duet/p-f67921d2.system.entry.js +0 -4
  1076. package/lib/duet/p-f6b21d17.system.js +0 -4
  1077. package/lib/duet/p-f7fe4161.system.entry.js +0 -4
  1078. package/lib/duet/p-f97dd407.entry.js +0 -4
  1079. package/lib/duet/p-fcfae4d6.entry.js +0 -4
  1080. package/lib/esm/a11y-utils-c3a7fd7e.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/floating-ui.dom.esm-ebc91b33.js +0 -1348
  1088. package/lib/esm/focus-utils-7bc146cd.js +0 -18
  1089. package/lib/esm/form-search-ea8e19ae.js +0 -6
  1090. package/lib/esm/input-utils-85681162.js +0 -53
  1091. package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
  1092. package/lib/esm/js-utils-9b9e0039.js +0 -47
  1093. package/lib/esm/keyboard-utils-daf80d44.js +0 -58
  1094. package/lib/esm/label-de5c8cbd.js +0 -20
  1095. package/lib/esm/polyfills/core-js.js +0 -11
  1096. package/lib/esm/polyfills/dom.js +0 -79
  1097. package/lib/esm/polyfills/es5-html-element.js +0 -1
  1098. package/lib/esm/polyfills/index.js +0 -34
  1099. package/lib/esm/polyfills/system.js +0 -6
  1100. package/lib/esm/string-utils-192eb3c8.js +0 -61
  1101. package/lib/esm/themeable-component-860041c5.js +0 -13
  1102. package/lib/esm/token-utils-b9ba8c5e.js +0 -138
  1103. package/lib/esm/watch-options-e96ecd92.js +0 -57
  1104. package/lib/esm-es5/a11y-utils-c3a7fd7e.js +0 -4
  1105. package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
  1106. package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
  1107. package/lib/esm-es5/app-globals-e00fbe9c.js +0 -4
  1108. package/lib/esm-es5/body-scroll-46854769.js +0 -4
  1109. package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
  1110. package/lib/esm-es5/common-strings-af765cad.js +0 -4
  1111. package/lib/esm-es5/create-id-149a1b6d.js +0 -4
  1112. package/lib/esm-es5/duet-action-button.entry.js +0 -4
  1113. package/lib/esm-es5/duet-alert.entry.js +0 -4
  1114. package/lib/esm-es5/duet-badge.entry.js +0 -4
  1115. package/lib/esm-es5/duet-banner.entry.js +0 -4
  1116. package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
  1117. package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
  1118. package/lib/esm-es5/duet-button_2.entry.js +0 -4
  1119. package/lib/esm-es5/duet-callout.entry.js +0 -4
  1120. package/lib/esm-es5/duet-caption_4.entry.js +0 -4
  1121. package/lib/esm-es5/duet-card.entry.js +0 -4
  1122. package/lib/esm-es5/duet-checkbox.entry.js +0 -4
  1123. package/lib/esm-es5/duet-checkmark.entry.js +0 -4
  1124. package/lib/esm-es5/duet-chip.entry.js +0 -4
  1125. package/lib/esm-es5/duet-choice_2.entry.js +0 -4
  1126. package/lib/esm-es5/duet-collapsible.entry.js +0 -4
  1127. package/lib/esm-es5/duet-combobox.entry.js +0 -4
  1128. package/lib/esm-es5/duet-contact-card.entry.js +0 -4
  1129. package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
  1130. package/lib/esm-es5/duet-date-picker.entry.js +0 -4
  1131. package/lib/esm-es5/duet-divider_2.entry.js +0 -4
  1132. package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
  1133. package/lib/esm-es5/duet-empty-state.entry.js +0 -4
  1134. package/lib/esm-es5/duet-fieldset.entry.js +0 -4
  1135. package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
  1136. package/lib/esm-es5/duet-footer.entry.js +0 -4
  1137. package/lib/esm-es5/duet-grid_2.entry.js +0 -4
  1138. package/lib/esm-es5/duet-header_2.entry.js +0 -4
  1139. package/lib/esm-es5/duet-hero.entry.js +0 -4
  1140. package/lib/esm-es5/duet-icon.entry.js +0 -4
  1141. package/lib/esm-es5/duet-input_2.entry.js +0 -4
  1142. package/lib/esm-es5/duet-layout.entry.js +0 -4
  1143. package/lib/esm-es5/duet-list_2.entry.js +0 -4
  1144. package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
  1145. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
  1146. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
  1147. package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
  1148. package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
  1149. package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
  1150. package/lib/esm-es5/duet-modal.entry.js +0 -4
  1151. package/lib/esm-es5/duet-multiselect.entry.js +0 -4
  1152. package/lib/esm-es5/duet-nav.entry.js +0 -4
  1153. package/lib/esm-es5/duet-notification_2.entry.js +0 -4
  1154. package/lib/esm-es5/duet-number-input.entry.js +0 -4
  1155. package/lib/esm-es5/duet-overlay.entry.js +0 -4
  1156. package/lib/esm-es5/duet-page-heading.entry.js +0 -4
  1157. package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
  1158. package/lib/esm-es5/duet-phone-input.entry.js +0 -4
  1159. package/lib/esm-es5/duet-popup-menu_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-416994cc.js +0 -4
  1196. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  1197. package/lib/esm-es5/focus-utils-7bc146cd.js +0 -4
  1198. package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
  1199. package/lib/esm-es5/index-1a6cee61.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-de5c8cbd.js +0 -4
  1206. package/lib/esm-es5/language-utils-8a9d5323.js +0 -4
  1207. package/lib/esm-es5/loader.js +0 -4
  1208. package/lib/esm-es5/slot-utils-bf214ae5.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
- 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-61173f11.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}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as e,H as a,g as o}from"./p-a083b91a.js";import{a as r}from"./p-f11208c3.js";import{D as i}from"./p-beeb12f1.js";import{i as d}from"./p-aaa7a7bd.js";import{g as s}from"./p-c118fad4.js";import{g as n,c as b,d as l}from"./p-e3857119.js";import"./p-b33512d6.js";import"./p-9c3c64b9.js";const c=class{constructor(e){t(this,e),this.theme="",this.variation="default",this.active=!1,this.url=void 0,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessibleLabel=void 0,this.accessibleExpanded=void 0,this.accessiblePopup="false",this.accessibleLabelExternalDefaults=i,this.accessibleLabelExternal=n(this.accessibleLabelExternalDefaults),this.external=!1,this.badge=!1}componentWillLoad(){d(this)}connectedCallback(){b(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){l(this)}async setFocus(t){setTimeout((()=>this.itemElement.focus(t)),200)}render(){const t=this.url?"a":"button",o="primary"===this.variation||"negative"===this.variation||"turva"===this.theme&&"secondary"===this.variation?"primary":"secondary"===this.variation?"secondary":"default";return e(a,{key:"9b9d0dfa8199f89acfbe21f9132c66ac5d27f19d",role:"listitem"},e(t,{key:"40f2142c0e777156f9e171213b08dc51737544b5",target:this.url?this.external?"_blank":"_self":null,ref:t=>this.itemElement=t,class:{"duet-toolbar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active,[o]:!0},href:this.url,role:"a"===t?"link":"button","aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,rel:this.external?"noopener":void 0},this.leadingIcon&&e("div",{key:"028001dafa87b1c9b3827b169c6a0eebe9dc1cc5",class:"duet-toolbar-icon"},e("duet-icon",{key:"a151a4bb04e949ffbdab6b65cfaf6444dab7bb9d",size:"x-small",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),this.badge&&e("div",{key:"2f765f55f3a0d524fe3c97dd6570b0ab1f15a01e",class:"duet-toolbar-badge"})),e("slot",{key:"4004ed2e53664041a6a1e8d020fa01bdd83f0e53"}),(this.trailingIcon||this.url&&this.external)&&e("div",{key:"a2f27e67c6c38dbab06db879d79ffee7de1d5425",class:"duet-toolbar-icon"},e("duet-icon",{key:"c48acfbf6301b8585d53f191c182751c4aca1442",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!(!this.url||!this.external),rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.url&&this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"}),this.badge&&"action-arrow-down-small"!==this.trailingIcon&&e("div",{key:"c552f767cf28200fd01e2d0a4d123b58880eee10",class:"duet-toolbar-badge"}))))}get element(){return o(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;height:100%}.duet-toolbar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-toolbar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item:focus.primary{box-shadow:0 0 0 4px rgba(8, 42, 77, 0.3), 0 0 0 1px #033866}.duet-theme-turva .duet-toolbar-item:focus.primary,.duet-toolbar-item:focus.primary.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item .duet-toolbar-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{position:absolute;top:0;left:11px;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-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{background:rgb(247, 178, 40)}.duet-toolbar-item .trailing-icon{width:16px;height:16px}.duet-toolbar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-toolbar-item .external-icon{width:10px;height:10px}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.primary,.duet-toolbar-item.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item.primary[aria-expanded=true],.duet-toolbar-item.secondary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.primary duet-icon,.duet-toolbar-item.secondary duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-item.primary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.secondary[aria-expanded=true]{background:rgb(3, 56, 102)}.duet-toolbar-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-item:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-item:hover.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(8, 42, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-item.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}';export{c as duet_toolbar_item}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-61173f11.system.js","./p-e216bea4.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,n,a,i,r,o;return{setters:[function(e){t=e.r;n=e.h;a=e.H;i=e.g},function(e){r=e.i},function(e){o=e.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-submenu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 75, 129)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}.duet-submenu-bar-link.active.duet-theme-turva{color:rgb(126, 2, 35)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}}.duet-submenu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-link:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}}';var b=u;var s=e("duet_submenu_bar_link",function(){function e(e){t(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined}e.prototype.componentWillLoad=function(){r(this)};e.prototype.handleEscape=function(e){if(o(e)){var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return n(a,{key:"95bd440eb341f40b70442bd2f07924faa50a3609",role:"listitem"},n("a",{key:"ced3b3049af05cbb6aaa9d3d1f4a9e08e042e7ad",class:{"duet-submenu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,onKeyUp:function(t){return e.handleEscape(t)},"aria-current":this.active?"true":"false"},this.icon&&n("duet-icon",{key:"e29e59a548c810f6fb6366616d3457e004835185",class:"submenu-bar-link-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),n("span",{key:"115b0e90e10474d448a3aceab05462d92c7b2e06",class:"label"},n("slot",{key:"97e8e72b55c7e62ffc91a5f86fa44591150c62e8"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());s.style=b}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(a,e,t,i){function d(a){return a instanceof t?a:new t((function(e){e(a)}))}return new(t||(t=Promise))((function(t,r){function n(a){try{p(i.next(a))}catch(a){r(a)}}function o(a){try{p(i["throw"](a))}catch(a){r(a)}}function p(a){a.done?t(a.value):d(a.value).then(n,o)}p((i=i.apply(a,e||[])).next())}))};var __generator=this&&this.__generator||function(a,e){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,d,r,n;return n={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function o(a){return function(e){return p([a,e])}}function p(o){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,o[0]&&(t=0)),t)try{if(i=1,d&&(r=o[0]&2?d["return"]:o[0]?d["throw"]||((r=d["return"])&&r.call(d),0):d.next)&&!(r=r.call(d,o[1])).done)return r;if(d=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;d=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){t.label=o[1];break}if(o[0]===6&&t.label<r[1]){t.label=r[1];r=o;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(o);break}if(r[2])t.ops.pop();t.trys.pop();continue}o=e.call(a,t)}catch(a){o=[6,a];d=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(a,e,t){if(t||arguments.length===2)for(var i=0,d=e.length,r;i<d;i++){if(r||!(i in e)){if(!r)r=Array.prototype.slice.call(e,0,i);r[i]=e[i]}}return a.concat(r||Array.prototype.slice.call(e))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-61173f11.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-abc0c9c6.system.js","./p-98636086.system.js","./p-4cff3036.system.js","./p-ba03d034.system.js"],(function(a){"use strict";var e,t,i,d,r,n,o,p,m,s,c,x,u,h;return{setters:[function(a){e=a.r;t=a.c;i=a.h;d=a.F;r=a.H;n=a.g},function(a){o=a.i},function(a){p=a.c},function(a){m=a.i;s=a.s;c=a.u},function(a){x=a.g},function(a){u=a.s},function(a){h=a.g},function(){}],execute:function(){var l=["h1","h2","h3","h4","h5","h6"];var g="div";var f={title:"action-arrow-up",tags:"action arrow up caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>'};var b='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;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)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.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);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)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 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:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:4px 4px 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{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(222, 224, 228)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{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), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{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), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}';var w=b;var y=a("duet_card",function(){function a(a){var i=this;e(this,a);this.duetToggle=t(this,"duetToggle",7);this.cardId=p("DuetCard");this.togglePanel=function(a){a.preventDefault();i.open=!i.open;i.duetToggle.emit({component:"duet-card",originalEvent:a})};this.handleKeyDown=function(a){if(m(a)){i.togglePanel(a)}};this.accessibleLabel=undefined;this.heading="";this.secondaryHeading="";this.variation="default";this.collapsible=false;this.open=true;this.headingLevel="h2";this.headingBackground=undefined;this.icon=undefined;this.image=undefined;this.background="gray-lightest";this.padding="small";this.margin="auto";this.theme="";this.url=undefined;this.shadowBreakpoint=undefined}a.prototype.componentWillLoad=function(){o(this);this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']");this.hasFooter=!!this.element.querySelector("[slot='footer']")};a.prototype.connectedCallback=function(){s(this)};a.prototype.disconnectedCallback=function(){c(this)};a.prototype.renderHeading=function(){var a;var e=u(this.headingLevel);var t=__spreadArray(__spreadArray([],l,true),[g],false).some((function(a){return a===e}))?e:"h2";var r={backgroundColor:h(this.headingBackground)};var n=i(d,null,i("div",{class:"duet-card-heading-grid"},this.icon&&i(d,null,i("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:"currentColor"}),i("duet-spacer",{direction:"horizontal",size:"small"})),i("div",{class:"duet-card-heading-text"},this.heading?this.heading:i("slot",{name:"heading"})),this.secondaryHeading&&i(d,null,i("duet-spacer",{direction:"horizontal",size:"small"}),i("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&i(d,null,i("duet-spacer",{direction:"horizontal",size:"small"}),i("duet-icon",{class:"duet-card-caret",icon:f.svg,size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&i("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),i("slot",{name:"below-heading"}));if(this.collapsible){var o=(a=x(this.element,"heading"))===null||a===void 0?void 0:a.map((function(a){return a.textContent})).join(" ");return i(t,{style:r,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},i("button",{type:"button","aria-controls":this.cardId,"aria-expanded":this.open?"true":"false","aria-label":o},n))}else{return i(t,{style:r,class:"duet-card-heading"},n)}};a.prototype.setFocus=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeCard){this.nativeCard.focus(a)}return[2]}))}))};a.prototype.render=function(){var a;var e=this;var t=this.url?"a":"div";var d={backgroundColor:h(this.background)};return i(r,{key:"81af7af276b2b67f13855aa9e11bd95e8abeaa2d",class:{"duet-m-0":this.margin==="none","duet-card-info":this.variation==="info"}},i(t,{key:"9c121ca16ed478f72e8c5976cc73499de2c48de2",href:this.url,style:d,ref:function(a){return e.nativeCard=a},"aria-label":this.accessibleLabel,class:(a={"duet-card":true},a[this.padding]=true,a[this.variation]=true,a["shadow-".concat(this.shadowBreakpoint)]=!!this.shadowBreakpoint,a["duet-p-0"]=this.padding==="none",a["duet-theme-turva"]=this.theme==="turva",a["duet-card-has-bg"]=this.background!=="gray-lightest",a["duet-card-has-icon"]=!!this.icon,a["duet-card-collapsed"]=this.collapsible&&!this.open,a)},this.image&&i("div",{key:"370ab67ee9e9e00267dfe6a034d9258fc41deb9c",class:"duet-card-image-mask"},i("img",{key:"f93b70812e33b71f9057b5a890baba36894012ea",src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),i("div",{key:"64b6d8e1e2d02085fa6101f54cf95f15c6c4e3b8",class:"duet-card-content",id:this.cardId},i("slot",{key:"9a20c3971a53038f5786c9321214cd2dc19bdcef"}),this.hasFooter&&i("div",{key:"5009d44d6ffb5c7d6774a0c22664979d84a12561",class:"duet-card-footer"},i("slot",{key:"e177a2f18a636b5e6c093150e52614e56ad56c68",name:"footer"})))))};Object.defineProperty(a.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return a}());y.style=w}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-61173f11.system.js","./p-98636086.system.js"],(function(n){"use strict";var r;return{setters:[function(){},function(n){r=n.c}],execute:function(){var t={fi:"fi-FI",en:"en-GB",us:"en-US",sv:"sv-SE"};var e={fi:"€",en:"£",us:"$",sv:"€"};var i=["fi","en","sv"];var a="fi";var u=function(){return document.documentElement.lang?document.documentElement.lang.toLowerCase():a};var o=function(n){return i.includes(n)};var f=function(n){if(n===void 0){n=u()}if(o(n)){return n}else{return a}};var c=n("a",(function(n){if(n===void 0){n=u()}return f(n)}));var s=n("b",(function(n){var r={locale:t[n],money:e[n]};if(r.locale&&r.money){return r}throw new Error('Locale for "'.concat(n,'" not found'))}));var v=n("s",(function(n){var t=typeof n==="string";if(t){try{return JSON.parse(r(n))}catch(r){console.log("sanitizeString received a string, that didnt parse to json object",n,r)}}return n}));var d=n("g",(function(n,r){var t=v(n);if(r){return t[f(r)]}else{return t[c()]}}));var l=new Set;var g=new WeakMap;var m=function(n){var r=a;for(var t=0,e=n;t<e.length;t++){var i=e[t];if(i.type==="attributes"&&i.attributeName==="lang"){r=i.oldValue;break}}if(document.documentElement.dataset.duetLangObserve!=="false"){l.forEach((function(n){if(n.language){n.language=c()}if(g.has(n)){g.get(n).forEach((function(t){if(n[t.defaults]&&n[t.prop]===n[t.defaults][r]){n[t.prop]=d(n[t.defaults])}}))}}))}};{var p=new MutationObserver(m);p.observe(document.documentElement,{attributeFilter:["lang"],attributeOldValue:true})}var b=n("c",(function(n,r){l.add(n);if(r){if(!Array.isArray(r)){r=[r]}if(r.some((function(r){return!(r.prop in n)||!(r.defaults in n)}))){console.error("connectLanguageChangeObserver: component must have target.prop and target.defaults properties");r=r.filter((function(r){return r.prop in n&&r.defaults in n}))}g.set(n,r)}}));var y=n("d",(function(n){l.delete(n);g.delete(n)}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as i,h as e,H as o,g as a}from"./p-a083b91a.js";import{i as s}from"./p-aaa7a7bd.js";import{c as r}from"./p-5e59e970.js";import{g as d,h,c as n}from"./p-b33512d6.js";import{f as l,w as c}from"./p-7d8a2628.js";const b=class{constructor(e){t(this,e),this.duetChange=i(this,"duetChange",7),this.duetFocus=i(this,"duetFocus",7),this.duetBlur=i(this,"duetBlur",7),this.radioId=r("DuetRadio"),this.radioInputListenersRemove=t=>{t.removeEventListener("change",this.onChange),t.removeEventListener("focus",this.onFocus),t.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=t=>{t.addEventListener("change",this.onChange),t.addEventListener("focus",this.onFocus),t.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const t=this.element.querySelector("input[slot=input]"),i=t||document.createElement("input");if(i.slot="input",i.disabled=!(!this.disabled&&!this.groupDisabled)||void 0,i.id=this.identifier||this.radioId,i.type="radio",i.name=this.name,i.value=this.value,i.checked=this.checked,this.accessibleIndex&&(i.tabIndex=Number(this.accessibleIndex)),i.required=this.required,i.role=this.role,this.accessibleControls&&i.setAttribute("aria-controls",this.accessibleControls),this.accessibleActiveDescendant&&i.setAttribute("aria-activedescendant",this.accessibleActiveDescendant),this.accessibleOwns&&i.setAttribute("aria-owns",this.accessibleOwns),this.accessibleDescribedBy&&i.setAttribute("aria-describedby",this.accessibleDescribedBy),this.accessibleLabelledBy&&i.setAttribute("aria-labelledby",this.accessibleLabelledBy),this.accessibleDetails&&i.setAttribute("aria-details",this.accessibleDetails),this.accessibleDescription&&i.setAttribute("aria-description",this.accessibleDescription),this.hasLabel){const t=d(this.element,"label");i.ariaLabel=t.length>0?t[0].textContent:this.labelElement.textContent}else i.ariaLabel=this.labelElement.textContent;t?this.radioInputListenersRemove(i):this.element.appendChild(i),this.radioInputListenersAdd(i),this.focusableElement=i},this.onClick=t=>{t.stopPropagation()},this.onChange=t=>{this.checked=this.focusableElement.checked,this.checked&&!this.blockEvents&&this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-radio"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-radio"})},this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-radio"})},this.focus=!1,this.accessibleActiveDescendant=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleIndex=void 0,this.margin="auto",this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.theme="",this.disabled=!1,this.required=!1,this.blockEvents=!1,this.identifier=void 0,this.label="label",this.name=void 0,this.role=void 0,this.groupDisabled=void 0,this.groupDirection=void 0,this.groupResponsive=void 0,this.checked=void 0,this.value=void 0}componentWillLoad(){s(this),this.hasLabel=h(this.element,"label"),void 0===this.value&&(this.value=this.identifier)}componentDidRender(){this.radioInputSetUp()}async setFocus(t){this.focusableElement.focus(t)}render(){return e(o,{key:"71feb70b911cc0fba0477c38c4c78027fabb993a",onClick:this.onClick,class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin}},e("div",{key:"26f49063c919e1f8b1985bb2cd00edccec3629e4",class:{"duet-radio-container":!0,"duet-theme-turva":"turva"===this.theme}},e("slot",{key:"0188449e087a008b708a81d62230b656f4396191",name:"input"}),e("label",{key:"517939dfd2bc7e479da99c060f25c54bf01fa74a",inert:!0,ref:t=>this.labelElement=t,class:{"duet-label":!0,checked:this.checked,focus:this.focus,disabled:this.disabled||this.groupDisabled}},e("div",{key:"483eac94eeac2d2b5e0fc62672d6605253cf982b",class:"duet-label-content"},this.hasLabel?e("slot",{name:"label"}):this.label))))}get element(){return a(this)}};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;margin-right:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.vertical){margin-right:0 !important}:host(.horizontal){margin-bottom:0 !important;width:auto}:host(.horizontal) .duet-label .duet-label-content{max-width:100%}@media (min-width: 48em){:host(.horizontal-responsive){margin-right:28px !important;margin-bottom:0 !important;width:auto}:host(.horizontal-responsive):last-child,:host(.horizontal-responsive):last-of-type{margin-right:0 !important}:host(.horizontal-responsive) .duet-label .duet-label-content{max-width:100%}}:host(.duet-m-0){margin:0 !important}:host(:last-child:not(:only-child)){margin-right:0 !important;margin-bottom:0 !important}.duet-label{position:relative;z-index:100;display:flex;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77);word-break:break-word;overflow-wrap:break-word;cursor:pointer;background:transparent}.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 .duet-label-content{flex-grow:1;font-size:1rem}.duet-label-hidden .duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-radio-container{position:relative;width:100%;height:100%}.duet-label::before{z-index:100;flex-shrink:0;width:20px;height:20px;margin:2px 10px 1px 1px;content:"";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:50%}.duet-theme-turva .duet-label::before{border-color:rgb(23, 28, 58)}.duet-label.focus::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-label.focus::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-label.checked::after{position:absolute;top:6px;left:5px;z-index:200;flex-shrink:0;width:12px;height:12px;content:"";background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-label.checked::after{background:rgb(23, 28, 58)}.duet-label.disabled{color:rgb(98, 121, 138)}.duet-theme-turva .duet-label.disabled{color:rgb(143, 147, 158)}.duet-label.disabled::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-label.disabled::before{border-color:rgb(143, 147, 158)}.duet-label.disabled.checked::before{border:1px solid rgb(127, 150, 165)}.duet-label.disabled.checked::after{background:rgb(127, 150, 165)}.duet-theme-turva .duet-label.disabled.checked::after{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}*::slotted([slot=input]){padding:14px !important;position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;cursor:pointer;opacity:0}*::slotted([slot=input][disabled]){cursor:default}';const p=class{constructor(i){t(this,i),this.onSelect=t=>{const i=t.target;i&&(this.value=i.value),t.cancelBubble=!0},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.tooltip="",this.tooltipDirection="auto",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption="",this.responsive=!1,this.value=void 0,this.disabled=void 0,this.required=!1,this.accessibleLiveError="polite"}async connectedCallback(){const t=this.element;if(void 0===this.value){const i=l(t,"duet-radio");void 0!==i&&(await i.componentOnReady(),void 0===this.value&&(this.value=i.value))}this.mutationO=c(t,"duet-radio",(t=>{void 0!==t?t.componentOnReady().then((()=>{this.value=t.value})):this.updateRadios()})),this.updateRadios()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){s(this),n(this.element,"tooltip","duet-tooltip",1,!0)}async updateRadios(){const t=Array.from(this.element.querySelectorAll("duet-radio")),{value:i}=this;let e=!1;for(const o of t)o.name=this.name,o.required=this.required,o.groupDisabled=this.disabled,o.groupDirection=this.direction,o.groupResponsive=this.responsive,e||o.value!==i?o.checked=!1:(e=!0,o.checked=!0);e||(this.value=void 0)}render(){return e(o,{key:"f3c3b14c2b0d936385748b6cfb3c09a0fde813ff",onDuetChange:this.onSelect,class:{horizontal:"horizontal"===this.direction}},e("duet-fieldset",{key:"dc64cd942714993dc800b15e44055402b833ac63",label:this.label,labelHidden:this.labelHidden,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&e("duet-tooltip",{key:"c4e8b11b406cf10c2d2bec5f31bf04d972a02a05",slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),e("slot",{key:"c3ea1e7fe615d332469195adcd29807d5a71e16c",name:"tooltip"}),e("div",{key:"196baf0e73047d0bff685702fdf92a783563b5ec",class:{"duet-radio-group":!0,"duet-no-stacking":!this.responsive}},e("slot",{key:"52e895a33bda7b26e7b95e28219ce7466ab5234a"}))))}get element(){return a(this)}static get watchers(){return{name:["updateRadios"],value:["updateRadios"],disabled:["updateRadios"],direction:["updateRadios"],responsive:["updateRadios"]}}};p.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(.horizontal) .duet-radio-group{display:block}@media (min-width: 48em){:host(.horizontal) .duet-radio-group{display:flex}}:host(.horizontal) .duet-radio-group.duet-no-stacking{display:flex}.deut-radio-group{width:100%}";export{b as duet_radio,p as duet_radio_group}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as a,H as t}from"./p-a083b91a.js";import{i as r}from"./p-aaa7a7bd.js";const i=class{constructor(a){e(this,a),this.theme="",this.accessibleLabel=void 0,this.margin="auto",this.src=void 0,this.rotation=7}componentWillLoad(){r(this)}render(){return a(t,{key:"5522041ea6be717a1e51746d39c5538aad516960",class:{"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin}},a("span",{key:"79a8effca6e0f6e4412eb33ce2be7c4755816062",class:{"shaped-image":!0},role:"img","aria-label":this.accessibleLabel,style:{"--rotation":`${this.rotation}deg`}},a("span",{key:"854f93ef8bb874859644425e1b409f1160d2fd65",class:"shaped-image-mask",role:"presentation"},a("span",{key:"df7a769d6c82ef9e2a169800079c0d6e20ffde78",class:"shaped-image-img",role:"presentation",style:{backgroundImage:`url("${this.src}")`}}))))}};i.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;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}';export{i as duet_shaped_image}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{d(i.next(e))}catch(e){a(e)}}function s(e){try{d(i["throw"](e))}catch(e){a(e)}}function d(e){e.done?n(e.value):r(e.value).then(o,s)}d((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return d([e,t])}}function d(s){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(n=0)),n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{i=a=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-61173f11.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,n,i,r,a,o,s,d,u,c;return{setters:[function(e){t=e.r;n=e.c;i=e.h;r=e.g;a=e.H},function(e){o=e.i},function(e){s=e.c},function(e){d=e.i;u=e.s;c=e.u}],execute:function(){var p={title:"action-edit-2",tags:"action edit 2 pen pencil",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'};var h='*,*::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}}';var b=h;var l=e("duet_step",function(){function e(e){var i=this;t(this,e);this.duetStepClick=n(this,"duetStepClick",7);this.buttonId=s("DuetStepButton");this.contentId=s("DuetStepContent");this.handleKeyDown=function(e){if(i.isClickDisabled()){return}if(d(e)){e.preventDefault();i.handleStepClick(e)}};this.handleClick=function(e){if(i.isClickDisabled()){return}i.handleStepClick(e)};this.theme="";this.heading=undefined;this.headingLevel=undefined;this.stepIndex=undefined;this.state=undefined;this.roundedTop=false;this.roundedBottom=false}e.prototype.handleStepClick=function(e){this.duetStepClick.emit({originalEvent:e,component:"duet-step",stepIndex:this.stepIndex})};e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){u(this)};e.prototype.disconnectedCallback=function(){c(this)};e.prototype.setFocus=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e={preventScroll:true}}return __generator(this,(function(t){this.buttonElement.focus(e);return[2]}))}))};e.prototype.isClickDisabled=function(){return this.state!=="complete"};e.prototype.headingColor=function(){if(this.state!=="incomplete"){return""}if(this.theme!=="turva"){return"gray-darker"}else{return"gray-dark-turva"}};e.prototype.renderStepCounter=function(){if(this.state==="complete"||this.state==="disabled"){return i("div",{class:"duet-step-icon"},i("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:p.svg}))}return"".concat(this.stepIndex+1," ")};e.prototype.render=function(){var e;var t=this;return i("div",{key:"2be03e57885747f4abcf887167a50be41f202172",class:(e={"duet-step":true},e["is-".concat(this.state)]=true,e["rounded-top"]=this.roundedTop,e["rounded-bottom"]=this.roundedBottom,e["duet-theme-turva"]=this.theme==="turva",e)},i("div",{key:"13a6b9a9d5a8b5e11441d344768333afbd0006bc",class:"duet-step-heading",id:this.buttonId,role:this.state!=="current"?"button":"region","aria-current":this.state==="current"?"step":undefined,tabindex:this.state!=="current"?"0":undefined,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":(this.state==="current").toString(),"aria-controls":this.contentId,"aria-selected":(this.state==="current").toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(e){return t.buttonElement=e}},i("div",{key:"4cdf824131a34f5a722ff75b5865c6968c946b84","aria-hidden":"true"},i("div",{key:"697c430716ee8b1d61161fbb6cfbfdb347754170",class:"duet-step-counter"},this.renderStepCounter())),i("duet-spacer",{key:"0df10d7cd8c8033debe7e429f052ba3e785c68fd",direction:"horizontal",size:"large",breakpoint:"small"}),i("duet-spacer",{key:"f8be9274607789f07981bb288d19516f222e613b",direction:"horizontal",size:"medium",breakpoint:"x-small"}),i("div",{key:"bc8046dd49578c57e41ff6c301b57711dbf47db8"},i("duet-heading",{key:"841be21a0beabe2000a75341302462ecd0cd3cd6",theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),i("duet-spacer",{key:"992fc197dcc5b85f6d95e016e0736e1b65d0c3de",direction:"horizontal",size:"large"}),i("div",{key:"8040a9695f6d0e297b7e0887814a3723e511b8ec",class:"duet-step-heading-slot"},i("slot",{key:"e7d76c7f8b978934cf234bd29e4e600504f42164",name:"heading-content"}))),i("div",{key:"14a1a0370d7443a3181b82b5d0531e9b208ecc1e",class:"duet-step-content-wrapper"},i("div",{key:"19dad47c5c9e09671dbf4318b40f5a5fe4ad852b",class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},i("slot",{key:"e51e6b4b82722a271c2eba19b54d6bcea10ab5a5"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());l.style=b;function f(e,t){var n={};t.forEach((function(t){var i=t[e];if(!n[i]){n[i]=[]}n[i].push(t)}));return n}var m=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";var g=m;var x=e("duet_stepper",function(){function e(e){t(this,e);this.duetStepChange=n(this,"duetStepChange",7);this.theme="";this.accessibleLive="Lista jossa {total} kohtaa. Olet kohdassa {current}.";this.margin="auto";this.backDisabled=false;this.selected=0}e.prototype.currentStepChanged=function(e){var t=this;if(isNaN(e)){throw new Error("step must be a number. got: ".concat(e))}if(e<0){throw new Error("step must be not be less than zero. got: ".concat(e))}if(e>this.getSteps().length){throw new Error("step must not exceed total number of steps")}this.updateStepState();setTimeout((function(){return t.setStepFocus()}),50)};e.prototype.currentStepInvokedDisable=function(){this.updateStepState()};e.prototype.onDuetStepClick=function(e){this.duetStepChange.emit({fromStep:this.selected,toStep:e.detail.stepIndex,component:"duet-stepper"})};e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.updateStepState();return[2]}))}))};e.prototype.getSteps=function(){return Array.from(this.element.querySelectorAll("duet-step"))};e.prototype.setStepFocus=function(){var e=this.getSteps();var t=e[this.selected];t.setFocus()};e.prototype.updateStepState=function(){var e=this;var t=this.getSteps();t.forEach((function(t,n){var i;if(n<e.selected){i=e.backDisabled?"disabled":"complete"}else if(n>e.selected){i="incomplete"}else{i="current"}t.theme=e.theme;t.state=i;t.stepIndex=n}));var n=f("state",t);Object.values(n).forEach((function(e){e.forEach((function(t,n){t.roundedTop=n===0;t.roundedBottom=n===e.length-1}))}))};e.prototype.formatAnnouncement=function(){var e=this.getSteps();var t=(this.selected+1).toString(10);var n=e.length.toString(10);return this.accessibleLive.replace("{current}",t).replace("{total}",n)};e.prototype.render=function(){return i(a,{key:"52c2d87726509e40615a19b3eea7c78622cec07a",class:{"duet-m-0":this.margin==="none"}},i("div",{key:"b2f275d436eb7db9dda96c97147d8225a604b527",class:{"duet-stepper":true,"duet-theme-turva":this.theme==="turva"}},i("duet-visually-hidden",{key:"b639ea4862b8547f0a92c711008ff55ab9935d7f","aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),i("slot",{key:"081d088375f8343f6484e992ae437daf6ccc9234"})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}},enumerable:false,configurable:true});return e}());x.style=g}}}));
@@ -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 n}from"./p-a083b91a.js";import{a}from"./p-f6000a03.js";import{i as r}from"./p-aaa7a7bd.js";import{f as d}from"./p-a45e3f8b.js";const i=class{constructor(t){e(this,t),this.mql=[window.matchMedia(a.replace(/'/g,""))],this.boundMqlFunctions=[],this.checkIsDesktop=()=>{this.isDesktop=!!this.mql[0].matches},this.onClick=()=>{const e=this.open;if(!this.isDesktop){const e=Array.from(this.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));for(const t of e)t.open=!1}this.open=!e},this.isDesktop=!1,this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&this.isDesktop&&(this.open=!1)}componentWillLoad(){r(this)}connectedCallback(){this.checkIsDesktop();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.checkIsDesktop.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}handleEscape(e){if(d(e))if(this.open)this.open=!1;else{const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"fc9fd551cd7be45b0c727e03c27a76625c983d41",role:"listitem"},t("div",{key:"939b988a67b1f3d481fc32a2e89dba58bc25b53a",class:{"duet-submenu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,open:this.open,active:this.active}},t("button",{key:"c9be9c700d763082e4353b433868969d6ebaaea8",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{open:this.open,active:this.active},onClick:this.onClick,onKeyUp:e=>this.handleEscape(e)},this.icon&&t("duet-icon",{key:"74d49bbb0f3ca8143654d9cbcdaee4d6ffe4bf8f",class:"submenu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"f2416c123b2c0112e9569de33db0d291e1ad3d4a",class:"label"},t("span",{key:"c5db63f1dac7bc2a0fa55d5beee9c85ad4cfb4ee",class:"label-text"},t("slot",{key:"0036b819c74ba5367ab40605ff199fe69d3a7231",name:"label"})),t("duet-icon",{key:"8ad850e0dbcfa9e277ee32336e164f942ef11dff",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"8a36bcfda8ed30579703bdb9fc783d83981212d3",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"67bf3b51da2fa18ec2662094cebbb039ec117523"}))))}get element(){return n(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-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)}}';export{i as duet_submenu_bar_dropdown}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-61173f11.system.js","./p-e216bea4.system.js","./p-2bb44297.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,n,a,i,o,r,s,c,d;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;c=e.d;d=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 l=u;var p=e("duet_slideout_lang",function(){function e(e){t(this,e);this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"};this.language=r();this.theme=""}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){s(this)};e.prototype.disconnectedCallback=function(){c(this)};e.prototype.render=function(){var e=d(this.chooseLangObject);return n(a,{key:"82d609a07657275a896f954d42228e38dc7ca182"},n("div",{key:"45d49c23924aa9683a2f9e98dab285adaa2ea875",class:"duet-slideout-lang",role:"group","aria-label":e},n("duet-icon",{key:"66225e67ec928fa394d67bb50a932f629488014a",name:"navigation-language",margin:"none",color:"secondary"}),n("slot",{key:"71c3a499a32c1ed8f398120a7ee4f7e8ce1613e4"})))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());p.style=l}}}));
@@ -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-a083b91a.js";import{i}from"./p-aaa7a7bd.js";const n=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){i(this),this.element.querySelectorAll("duet-slideout-link").forEach((e=>{e.menuItem=!0}))}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"5b9beeeb80434ebb9fe59287777dd7b3ccf117f2"},t("div",{key:"26d2b1524b8b4ba9cc9a43ce1ba69dad84fe3a6c",class:{"duet-slideout-panel-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open}},t("button",{key:"4ddc07d35d571609edc8ac0f38013dcf1f7abd4e",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active},onClick:this.onClick},this.icon&&t("duet-icon",{key:"90494d824d6eac5621d4a1e06de2a684fbdd8201",name:this.icon,size:"medium",margin:"none",color:"secondary"}),t("span",{key:"a7521f9a57a44fa8e5fb83f7ac08b6929b89b05e",class:"label"},t("slot",{key:"9451cec580353060c2326a6ee3a7aa0b6e03ec69",name:"label"}),t("duet-icon",{key:"55d3a0e564dceb3bc2db017048d5a973272ecae5",class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),t("div",{key:"90c7178107fcbf1765ba0a380e2a9dfc46efbcd5",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"b6f315463f9acf6617c598a33605e1d80e155d74"}))))}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;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}';export{n as duet_slideout_panel_dropdown}
@@ -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-a083b91a.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:"fba71bd458248491214c3aab4243df4e105fdb5b"},t("nav",{key:"42fa26ad6a3ffea27ec62722a3f55f1c0d8ea0f1",class:{"duet-toolbar":!0,"duet-theme-turva":"turva"===this.theme,[e]:!0},"aria-label":this.accessibleLabel},t("div",{key:"c19fc58652bd52d9c6f7755a01b266a7f77d1949",class:"container"},t("div",{key:"a0fef6ef853fc353a374b7bcd2fa632f5176ae60",class:"list",role:"list"},t("slot",{key:"a2b2896ec5ebf46253f3e05e1b8ac44582161abf",name:"left"})),t("div",{key:"11cb17b0024f1b6a84d91fb04f8d3be806b49af7",class:"list",role:"list"},t("slot",{key:"cd1c67c9f98bf8cb3607965c715d9974e6c17f93",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,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-61173f11.system.js","./p-078dc32d.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-abc0c9c6.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:"97e300d180fa7ab77642e9dcef5058668239dfbb",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:"9134150079957ab03ec32590971e21d5bc5b25f9",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:"018de10ebd412b11be1d446bd6fd1652d2fbf679",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:"eabe0942894995ecdb037653aaa90e03e9da3f33",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{key:"126da083fad012a9052281e3778bc5c51fff5e60",name:"tooltip"}),this.caption&&o("duet-caption",{key:"8eb1983df70277d37388732ce451cd847c145dc5",id:this.topCaptionId,size:"medium"},this.caption),o("div",{key:"74a04f197d688a20f718f4ddbee19ef9060c9739",class:"duet-select-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&o("duet-caption",{key:"39892af927657f837f5cc896a86fab5a07e1af37",id:this.topCaptionPlaceholderId,class:"duet-select-placeholder",size:"small"},this.placeholder),o("select",{key:"4f2be5c44a926919c407880e6874a97fc40f51fa",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:"046648968380fbe7fa5a2053110d49c4c676cc71",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:"d6c94ad90d42bd4cd48ee1b71cd519039ccf820d",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:"72989e90419aa12dcd0d99777e339fc6bb2bef5a",role:"img",class:"duet-select-icon",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"34704b7bd82d187c493f09178919599e43462623",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:"4ef38c6f98d6dedb19ad04aa03680a8d99501a3a",theme:this.theme,name:"action-arrow-down-small",color:"currentColor",margin:"none",size:this.variation==="compact"?"xxx-small":"xx-small"})),o("span",{key:"6bc9fe41f6e5aa9675e48237fde023c23f63b308",class:"duet-keep-container-height",role:"presention","aria-hidden":"true"},"_")),o("span",{key:"d118ae5b26e0fd90fe265c45daf4240f3901640d",class:"duet-select-help",id:this.errorId,"aria-live":this.accessibleLiveError,"aria-atomic":"true","aria-relevant":"additions removals"},this.error&&o("span",{key:"0a66ce81164743ccb5f7f9121194795d15bb3ab0"},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
- 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{d(o.next(e))}catch(e){i(e)}}function s(e){try{d(o["throw"](e))}catch(e){i(e)}}function d(e){e.done?n(e.value):a(e.value).then(r,s)}d((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 d([e,t])}}function d(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-61173f11.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 d=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:"5b9beeeb80434ebb9fe59287777dd7b3ccf117f2"},n("div",{key:"26d2b1524b8b4ba9cc9a43ce1ba69dad84fe3a6c",class:{"duet-slideout-panel-dropdown":true,"duet-theme-turva":this.theme==="turva",active:this.open}},n("button",{key:"4ddc07d35d571609edc8ac0f38013dcf1f7abd4e",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:"90494d824d6eac5621d4a1e06de2a684fbdd8201",name:this.icon,size:"medium",margin:"none",color:"secondary"}),n("span",{key:"a7521f9a57a44fa8e5fb83f7ac08b6929b89b05e",class:"label"},n("slot",{key:"9451cec580353060c2326a6ee3a7aa0b6e03ec69",name:"label"}),n("duet-icon",{key:"55d3a0e564dceb3bc2db017048d5a973272ecae5",class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),n("div",{key:"90c7178107fcbf1765ba0a380e2a9dfc46efbcd5",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},n("slot",{key:"b6f315463f9acf6617c598a33605e1d80e155d74"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());d.style=s}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as a,H as o,g as t}from"./p-a083b91a.js";import{i as r}from"./p-aaa7a7bd.js";import{h as i,c as d}from"./p-b33512d6.js";import{g as n}from"./p-cc67e773.js";import"./p-0d7da85a.js";const s=class{constructor(a){e(this,a),this.theme="",this.margin="auto",this.backgroundColor="",this.textColor="secondary",this.image="",this.headingLevel="h3",this.url=void 0}componentWillLoad(){r(this),this.hasPreHeadingSlot=i(this.element,"pre-heading"),this.hasHeadingSlot=i(this.element,"heading"),this.hasDescriptionSlot=i(this.element,"description"),this.hasActionSlot=i(this.element,"action"),d(this.element,"heading","span"),d(this.element,"description","span")}async setFocus(e){this.url&&this.aOrDivElement&&this.aOrDivElement.focus(e)}render(){const e=n(this.backgroundColor,this.theme);return a(o,{key:"99a3a523ca9804792e3d26b2fe2f44cf8788f499",class:{"duet-m-0":"none"===this.margin}},a("aside",{key:"8eb59e651e552f3f868629c95c347a72a0b995d6",class:{"duet-promo-card":!0,"duet-theme-turva":"turva"===this.theme,"no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:{backgroundColor:e||"none"}},a(this.url?"a":"div",{key:"67c66449cd7f9747924020549c6155d62829b4f2",href:this.url,class:"content-wrapper",ref:e=>this.aOrDivElement=e},a("img",{key:"cac126cf7f9a7db193b307363726031b62167336",class:"image",src:this.image,alt:"",role:"presentation"}),a("div",{key:"8071631c045ed93e6bd62c612c9b1d908f3c1787",class:"content"},this.hasPreHeadingSlot&&a("div",{key:"28bc028c6c51578ade7239ee3a97a465d2280b19",class:"pre-heading"},a("slot",{key:"e288ca8c4477fda34700eb895a71a22a131fca2d",name:"pre-heading"})),this.hasHeadingSlot&&a("div",{key:"b914a1a7e943261ef27bc33bb053a0c606f1eada",class:"heading"},a("duet-heading",{key:"3ad22ba8a74eddb6fa6e5c7e181b02b79f8bc9af",theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},a("span",{key:"bd2b4f58517ca81d73a876481e534158c079c19f"},a("slot",{key:"710aee32ab320dc22c4e06b0f2dab01503d56ce4",name:"heading"})))),this.hasDescriptionSlot&&a("div",{key:"0383f84bbf8a31012ab0533f3577811cfc22fb29",class:"description"},a("duet-paragraph",{key:"ddd7e8b4844058575e473783326ac6a08b4ad7f7",theme:this.theme,margin:"none",color:this.textColor},a("span",{key:"d56f8bd9374662a5ae5767ff43d167ebb96e4ba2"},a("slot",{key:"bf26792909ae05d5d466c4d6441f574da8bc8917",name:"description"})))),this.hasActionSlot&&a("div",{key:"fc0ffe648d30b194b1ca946f99e414222e4a31fa",class:"action"},a("slot",{key:"735077add3c5f5b3c97762c5daed1b5e3668d4c2",name:"action"}))))))}get element(){return t(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(8, 42, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{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), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{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), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}';export{s as duet_promo_card}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h as t,r as e,c as a,H as i,g as o}from"./p-a083b91a.js";import{D as n}from"./p-b3d6e031.js";import{i as r}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{F as d}from"./p-083bbc28.js";import{g as l,a as u,c,d as h}from"./p-e3857119.js";import{c as b,p}from"./p-b33512d6.js";import"./p-9c3c64b9.js";const m={day:"numeric",month:"long",weekday:"long"},g={day:"numeric",month:"long",year:"numeric"},f={fi:{buttonLabel:"Valitse päivämäärä",prevMonthLabel:"Edellinen kuukausi",nextMonthLabel:"Seuraava kuukausi",monthSelectLabel:"Kuukausi",yearSelectLabel:"Vuosi",closeLabel:"Sulje ikkuna",selected:"Valittu päivämäärä on",keyboardInstruction:"Voit navigoida päivämääriä nuolinäppäimillä",dayLabels:["Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai","Sunnuntai"],monthLabels:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthLabelsShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],formatterShort:new Intl.DateTimeFormat("fi-FI",m),formatterLong:new Intl.DateTimeFormat("fi-FI",g)},en:{buttonLabel:"Choose date",prevMonthLabel:"Previous month",nextMonthLabel:"Next month",monthSelectLabel:"Month",yearSelectLabel:"Year",closeLabel:"Close window",selected:"Selected date is",keyboardInstruction:"You can use arrow keys to navigate dates",dayLabels:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthLabels:["January","February","March","April","May","June","July","August","September","October","November","December"],monthLabelsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("en-GB",m),formatterLong:new Intl.DateTimeFormat("en-GB",g)},sv:{buttonLabel:"Välj datum",prevMonthLabel:"Föregående månad",nextMonthLabel:"Nästa månad",monthSelectLabel:"Månad",yearSelectLabel:"År",closeLabel:"Stäng fönstret",selected:"Valt datum är",keyboardInstruction:"Använd piltangenterna för att navigera i kalender",dayLabels:["Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag","Söndag"],monthLabels:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthLabelsShort:["Jan","Feb","Mars","April","Maj","Juni","Juli","Aug","Sep","Okt","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("sv-SE",m),formatterLong:new Intl.DateTimeFormat("sv-SE",g)}};const y=({onClick:e,placeholder:a,inputLabel:i,valueAsDate:o,formattedValue:n,language:r,identifier:s,theme:d,disabled:l,error:u,role:c,required:h,tooltip:b,tooltipDirection:p,labelHidden:m,buttonRef:g,inputRef:y,onInput:v,onBlur:x,onFocus:k,hasFocus:w,accessibleActiveDescendant:S,accessibleControls:D,accessibleOwns:M,accessibleDescribedBy:I,accessibleLiveError:L,echoPlaceholder:A,caption:F})=>{const{buttonLabel:j,selected:z,formatterLong:E}=f[r];return t("div",{class:{"duet-theme-turva":"turva"===d,"duet-date-input":!0,"duet-date-input-has-focus":w}},t("duet-input",{label:i,value:n,placeholder:a,id:s,disabled:l,theme:d,error:u,role:c,required:h,tooltip:b,tooltipDirection:p,margin:"none",labelHidden:m,accessibleAutocomplete:"none",onDuetChange:t=>t.stopImmediatePropagation(),onDuetInput:v,onDuetFocus:k,onDuetBlur:x,autoComplete:"off",disallowPattern:"[^0-9\\.\\-\\/]",expand:!0,ref:y,accessibleActiveDescendant:S,accessibleControls:D,accessibleOwns:M,accessibleDescribedBy:I,accessibleLiveError:L,echoPlaceholder:A,caption:F,variation:"button"},t("slot",{name:"tooltip"}),t("button",{class:{"duet-date-button":!0,"duet-no-label":m,"input-error":!!u},onClick:e,disabled:l,ref:g,type:"button",slot:"button"},t("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M2.25 24A2.252 2.252 0 0 1 0 21.75V5.25A2.252 2.252 0 0 1 2.25 3H6V.75a.75.75 0 0 1 1.5 0V3h9V.75a.75.75 0 0 1 1.5 0V3h3.75A2.252 2.252 0 0 1 24 5.25v16.5A2.252 2.252 0 0 1 21.75 24zm-.75-2.25c0 .414.336.75.75.75h19.5a.75.75 0 0 0 .75-.75V10.5h-21zM22.5 9V5.25a.75.75 0 0 0-.75-.75H18V6a.75.75 0 0 1-1.5 0V4.5h-9V6A.75.75 0 0 1 6 6V4.5H2.25a.75.75 0 0 0-.75.75V9z"/><circle cx="5.625" cy="13.875" r="1.125"/><circle cx="5.625" cy="19.125" r="1.125"/><circle cx="12" cy="13.875" r="1.125"/><circle cx="12" cy="19.125" r="1.125"/><circle cx="18.375" cy="13.875" r="1.125"/><path d="M18.375 20.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.171-1.122l.027.003a1.118 1.118 0 0 1 1.052 1.12c0 .619-.505 1.124-1.125 1.124z"/></svg>',margin:"none",size:"small",color:"currentColor"}),t("duet-visually-hidden",null,j,o&&t("span",null,", ",z," ",E.format(o))))))},v=/^(\d{1,2})[\.\-\/](\d{1,2})[\.\-\/](\d{4})$/,x=/^(\d{4})-(\d{2})-(\d{2})$/;function k(t,e,a){var i=parseInt(a,10),o=parseInt(e,10),n=parseInt(t,10);if(Number.isInteger(n)&&Number.isInteger(o)&&Number.isInteger(i)&&o>0&&o<=12&&i>0&&i<=31&&n>0)return new Date(n,o-1,i)}function w(t){if(!t)return;const e=t.match(v);return e?k(e[3],e[2],e[1]):void 0}function S(t){if(!t)return;const e=t.match(x);return e?k(e[1],e[2],e[3]):void 0}function D(t,e){if(!t)return"";var a=t.getDate().toString(10),i=(t.getMonth()+1).toString(10),o=t.getFullYear().toString(10);return t.getDate()<10&&(a=`0${a}`),t.getMonth()<9&&(i=`0${i}`),e.replace(/MM/i,i).replace(/YYYY/i,o).replace(/DD/i,a)}function M(t){return D(t,"YYYY-MM-DD")}function I(t,e){return null!=t&&null!=e&&t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function L(t,e){var a=new Date(t);return a.setDate(a.getDate()+e),a}function A(t,e=1){var a=new Date(t),i=a.getDay(),o=(i<e?7:0)+i-e;return a.setDate(a.getDate()-o),a}function F(t,e=1){var a=new Date(t),i=a.getDay(),o=6+(i<e?-7:0)-(i-e);return a.setDate(a.getDate()+o),a}function j(t){return new Date(t.getFullYear(),t.getMonth(),1)}function z(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function E(t,e){const a=new Date(t);return a.setMonth(e),a}function C(t,e){const a=new Date(t);return a.setFullYear(e),a}function U(t,e,a){return V(t,e,a)===t}function V(t,e,a){const i=t.getTime();return e&&e instanceof Date&&i<e.getTime()?e:a&&a instanceof Date&&i>a.getTime()?a:t}const H=({focusedDay:e,today:a,day:i,language:o,onDaySelect:n,onKeyboardNavigation:r,ref:s,inRange:d,isSelected:l})=>{const u=I(i,a),c=I(i,e),h=i.getMonth()!==e.getMonth(),b=!d,{formatterShort:p}=f[o];return t("td",{"data-day":M(i),class:"duet-date-table-cell","aria-label":p.format(i),role:"button",tabIndex:c?0:-1,onClick:function(t){n(t,i)},onKeyDown:r,"aria-disabled":b||h,"aria-pressed":l?"true":"false",ref:s},t("span",{class:{"duet-date-table-button":!0,outside:b,disabled:h,today:u}},i.getDate()))};function B(t){var e;const a=t.trim().split("+"),i=a.pop();return["shift"===(null===(e=a[0])||void 0===e?void 0:e.toLowerCase()),i]}function R(t){const e=Object.keys(t).map((e=>[B(e),t[e]]));return function(t){if(!(t instanceof KeyboardEvent))return;const a=e.find((([[e,a]])=>(a.toUpperCase()===t.key.toUpperCase()||a===t.code)&&e===t.shiftKey));a&&(a[1](t),t.preventDefault())}}const Y=({selectedDate:e,focusedDate:a,labelledById:i,theme:o,language:n,min:r,max:s,onDateSelect:d,onKeyboardNavigation:l,focusedDayRef:u,onFocusEnter:c,onFocusExit:h})=>{const{dayLabels:b}=f[n],p=new Date,m=function(t,e=1){return function(t,e){const a=[];let i=t;for(;!I(i,e);)a.push(i),i=L(i,1);return a.push(i),a}(A(j(t),e),F(z(t),e))}(a);return t("div",{role:"application"},t("table",{role:"presentation",class:{"duet-date-table":!0,"duet-theme-turva":"turva"===o},"aria-labelledby":i,onFocusin:c,onFocusout:function(t){const e=t.relatedTarget;e&&!t.currentTarget.contains(e)&&h(t)}},t("thead",null,t("tr",null,b.map((e=>t("th",{scope:"col"},t("span",{"aria-hidden":"true"},e.substr(0,2))))))),t("tbody",null,function(t){const e=[];for(let a=0;a<t.length;a+=7)e.push(t.slice(a,a+7));return e}(m).map((i=>t("tr",{class:"duet-date-table-row"},i.map((i=>t(H,{day:i,today:p,language:n,focusedDay:a,inRange:U(i,r,s),isSelected:I(i,e),onDaySelect:d,onKeyboardNavigation:l,ref:t=>{t&&I(i,a)&&u(t)}})))))))))},N=class{constructor(t){e(this,t),this.duetChange=a(this,"duetChange",7),this.duetBlur=a(this,"duetBlur",7),this.duetFocus=a(this,"duetFocus",7),this.proxyId=s("DuetDatePicker"),this.monthSelectId=s("DuetDatePicker"),this.yearSelectId=s("DuetDatePicker"),this.dialogLabelId=s("DuetDatePicker"),this.initialTouchX=null,this.initialTouchY=null,this.focusTarget=null,this.dateErrorMessages={badInput:{en:"Wrong date format",fi:"Väärä päivämäärämuoto",sv:"Fel datumformat"},rangeUnderflow:{en:"Date too early",fi:"Liian aikainen päivämäärä",sv:"Datum för tidigt"},rangeOverflow:{en:"Date too late",fi:"Liian myöhäinen päivämäärä",sv:"Datum för sent"},valueMissing:{en:"Date required",fi:"Päivämäärä vaaditaan",sv:"Datum krävs"}},this.enableActiveFocus=()=>{this.focusTarget="day-button"},this.disableActiveFocus=()=>{this.focusTarget=null},this.toggleOpen=t=>{t.preventDefault(),this.open?this.hide(!1):this.show()},this.handleBlur=t=>{if(t.stopPropagation(),this.inputHasFocus=!1,!this._validity.valid){this.value=null;const t=Object.entries(this._validity).find((t=>!!t[1]))[0];this.internalValidityError=l(this.dateErrorMessages[t])}this.duetBlur.emit({component:"duet-date-picker"})},this.handleFocus=t=>{t.stopPropagation(),this.inputHasFocus=!0,this.duetFocus.emit({component:"duet-date-picker"})},this.handleTouchStart=t=>{const e=t.changedTouches[0];this.initialTouchX=e.pageX,this.initialTouchY=e.pageY},this.handleTouchMove=t=>{t.preventDefault()},this.handleTouchEnd=t=>{const e=t.changedTouches[0],a=e.pageX-this.initialTouchX,i=e.pageY-this.initialTouchY,o=Math.abs(a)>=70&&Math.abs(i)<=70,n=Math.abs(i)>=70&&Math.abs(a)<=70&&i>0;o?this.addMonths(a<0?1:-1):n&&(this.hide(),t.preventDefault()),this.initialTouchY=null,this.initialTouchX=null},this.handleNextMonthClick=t=>{t.preventDefault(),this.addMonths(1)},this.handlePreviousMonthClick=t=>{t.preventDefault(),this.addMonths(-1)},this.handleEscKey=R({Escape:()=>this.hide(),Esc:()=>this.hide()}),this.handleKeyboardNavigation=R({ArrowRight:()=>this.addDays(1),Right:()=>this.addDays(1),ArrowLeft:()=>this.addDays(-1),Left:()=>this.addDays(-1),ArrowDown:()=>this.addDays(7),Down:()=>this.addDays(7),ArrowUp:()=>this.addDays(-7),Up:()=>this.addDays(-7),Home:()=>this.startOfWeek(),End:()=>this.endOfWeek(),PageUp:()=>this.addMonths(-1),PageDown:()=>this.addMonths(1),"Shift+PageUp":()=>this.addYears(-1),"Shift+PageDown":()=>this.addYears(1),Space:t=>this.handleKeyboardDaySelect(t),Enter:t=>this.handleKeyboardDaySelect(t)}),this.handleKeyboardDaySelect=t=>{const e=S(t.target.dataset.day);this.handleDaySelect(t,e)},this.handleDaySelect=(t,e)=>{const a=S(this.min),i=S(this.max);this.determineValidity(e),U(e,a,i)&&(this.setValue(e),this.hide())},this.handleMonthSelect=t=>{this.setMonth(parseInt(t.target.value,10))},this.handleYearSelect=t=>{this.setYear(parseInt(t.target.value,10))},this.handleInputChange=t=>{this.inputValue=t.detail.value;const e=w(this.inputValue);this.determineValidity(e),(e||""===this.inputValue)&&this.setValue(e)},this.open=!1,this.focusedDay=new Date,this.inputValue="",this.inputHasFocus=!1,this.internalValidityError="",this.theme="",this.expand=!1,this.name="",this.identifier="",this.label="",this.caption=void 0,this.margin="auto",this.language=u(),this.placeholderDefaults={fi:"pp.kk.vvvv",en:"dd.mm.yyyy",sv:"dd.mm.åååå"},this.placeholder=l(this.placeholderDefaults,this.language),this.echoPlaceholder=!1,this.disabled=!1,this.error="",this.labelHidden=!1,this.role=void 0,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.required=!1,this.direction="right",this.tooltip="",this.tooltipDirection="auto",this.value="",this.min="",this.max="",this.incrementYears=10,this.accessibleLiveError="polite"}get validity(){return this._validity}updateValidity(t,e,a){"value"===a&&null===t||(this.determineValidity(S(this.value)),this._validity.valid&&(this.internalValidityError=""))}updateInternalValue(){if(null===this.value)return;const t=S(this.value),e=w(this.inputValue);t?I(t,e)||(this.inputValue=D(t,"dd.mm.yyyy")):this.inputValue=""}componentWillLoad(){r(this),this.determineValidity(S(this.value)),this.updateInternalValue(),b(this.element,"tooltip","duet-tooltip",1,!0)}componentDidUpdate(){switch(this.focusTarget){case"toggle-button":this.datePickerButton.focus(),this.focusTarget=null;break;case"day-button":this.focusedDayNode.focus();break;case"month-select":this.monthSelectNode.focus(),this.focusTarget=null}}componentDidRender(){p(this.element,this.proxyId,this.name,this.value,this.required)}connectedCallback(){c(this,{prop:"placeholder",defaults:"placeholderDefaults"})}disconnectedCallback(){h(this)}async setFocus(t){this.datePickerInput.setFocus(t)}async show(){this.open=!0,this.focusTarget="month-select",this.setFocusedDay(S(this.value)||new Date)}async hide(t=!0){this.open=!1,t&&(this.focusTarget="toggle-button")}addDays(t){this.setFocusedDay(L(this.focusedDay,t))}addMonths(t){this.setMonth(this.focusedDay.getMonth()+t)}addYears(t){this.setYear(this.focusedDay.getFullYear()+t)}startOfWeek(){this.setFocusedDay(A(this.focusedDay))}endOfWeek(){this.setFocusedDay(F(this.focusedDay))}setMonth(t){const e=E(j(this.focusedDay),t),a=z(e),i=E(this.focusedDay,t);this.setFocusedDay(V(i,e,a))}setYear(t){const e=C(j(this.focusedDay),t),a=z(e),i=C(this.focusedDay,t);this.setFocusedDay(V(i,e,a))}setFocusedDay(t){this.focusedDay=V(t,S(this.min),S(this.max))}determineValidity(t){var e,a;const i=""!==(null!==(a=null===(e=this.datePickerInput)||void 0===e?void 0:e.value)&&void 0!==a?a:"")&&null==t,o=this.required&&null==t,n=!!t&&!U(t,null,S(this.max)),r=!!t&&!U(t,S(this.min));this._validity={patternMismatch:!1,customError:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:o,badInput:i,rangeUnderflow:r,rangeOverflow:n,valid:!(o||i||r||n)}}setValue(t){const e=M(t);e!==this.value&&(this.value=e,this.duetChange.emit({component:"duet-date-picker",value:this.value,valueAsDate:t}))}handleDocumentClick(t){this.open&&t.composedPath().every((t=>t!==this.dialogWrapperNode&&t!==this.datePickerButton))&&this.hide(!1)}render(){const e=S(this.value),a=(e||this.focusedDay).getFullYear(),o=this.focusedDay.getMonth(),r=this.focusedDay.getFullYear(),s=f[this.language],l=S(this.min),u=S(this.max),c=null!=l&&l.getMonth()===o&&l.getFullYear()===r,h=null!=u&&u.getMonth()===o&&u.getFullYear()===r;let b=a-this.incrementYears,p=a+this.incrementYears;return l&&(b=Math.max(b,l.getFullYear())),u&&(p=Math.min(p,u.getFullYear())),t(i,{key:"8061c2ff02f31f289024f98a1868417791c1ceb8",class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},t("div",{key:"dc0336af36cf7121e8346ab485e4fea35e3e40a1",class:"duet-date"},t(y,{key:"e385f326ee143773b4bdc6812af71b2771e7a23a",hasFocus:this.inputHasFocus,value:this.value,valueAsDate:e,formattedValue:this.inputValue,language:this.language,onInput:this.handleInputChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onClick:this.toggleOpen,name:this.name,disabled:this.disabled,error:this.error||this.internalValidityError||null,role:this.role,required:this.required,theme:this.theme,tooltip:this.tooltip,tooltipDirection:this.tooltipDirection,labelHidden:this.labelHidden,placeholder:this.placeholder,inputLabel:this.label,identifier:this.identifier,buttonRef:t=>this.datePickerButton=t,inputRef:t=>this.datePickerInput=t,accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy,accessibleLiveError:this.accessibleLiveError,echoPlaceholder:this.echoPlaceholder,caption:this.caption})),t("div",{key:"c75652233cf1139f59570a7216c9bd5b908b2617",class:{"duet-theme-turva":"turva"===this.theme,"duet-date-dialog":!0,left:"left"===this.direction,error:!!this.error,active:this.open},role:"dialog","aria-modal":"true","aria-hidden":this.open?"false":"true","aria-labelledby":this.dialogLabelId,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},t("duet-overlay",{key:"c437316f64b43a2a47e9c933f22e76874ad481e4",visible:this.open,"display-device":"x-small"}),t(d,{key:"c373ebd14af34a7d8521f7d8629a3ba4ce7a527b",moveFocusTo:this.focusedDayNode}),t("div",{key:"c1d1ba78d46086e3d17a75d8287a393789b77308",class:"duet-date-dialog-wrapper",onKeyDown:this.handleEscKey,ref:t=>this.dialogWrapperNode=t},t("duet-visually-hidden",{key:"f914f3c5d397dea448805da4d4c9cf5467ce7032","aria-live":"polite"},s.keyboardInstruction),t("div",{key:"cc36233cb1f032f0f0dcea73a33ae1455a18c950",class:"duet-date-dialog-mobile-header"},t(n,{key:"41a8491b1f1c0cf3f03a711ba540f29a74dec52e",margin:"none"},this.label),t("button",{key:"be5ccbdfad937acc22a90a2f8061cc937cb9e8aa",class:"duet-date-picker-close",ref:t=>this.closeButtonNode=t,onClick:()=>this.hide(),type:"button"},t("duet-icon",{key:"e3757f0a89d63f3e72b650e9caa45b0a95ce8494",name:"navigation-close-small",margin:"none",color:"currentColor",size:"xx-small"}),t("duet-visually-hidden",{key:"02bb2d109ea7ff92817b5220e16f521b14e48d92"},s.closeLabel))),t("div",{key:"3a2bcae706542219a3f5b5d911cd44d9afe218b3",class:"duet-date-dialog-header"},t("div",{key:"a632e2623de2cf7e2c301522fb46379bd6c81437",class:"duet-date-dialog-dropdowns"},t("duet-visually-hidden",{key:"2fdb2751bdfbc30ccb5ed9ba0f1a62a9479b57e4"},t("h2",{key:"9b0ce568b4fdbbc05b57a2474f563ed516422a9d",id:this.dialogLabelId,"aria-live":"polite","aria-atomic":"true"},s.monthLabels[o]," ",this.focusedDay.getFullYear())),t("duet-visually-hidden",{key:"a2d7529556bb078d2973f51fd92f029298000ee2"},t("label",{key:"855c0fbe6f66991f1863225bb9465f7fb33004ae",htmlFor:this.monthSelectId},s.monthSelectLabel)),t("div",{key:"b85c481c35d5fc758a2dd84e7447c3cab1bf419d",class:"duet-date-dialog-select"},t("select",{key:"6e4ed6930261a02ad5259d4123a4260b9f4e40e4",id:this.monthSelectId,class:"duet-date-month-select",ref:t=>this.monthSelectNode=t,onChange:this.handleMonthSelect},s.monthLabels.map(((e,a)=>t("option",{key:e,value:a,selected:a===o,disabled:!U(new Date(r,a,1),l?j(l):null,u?z(u):null)},e)))),t("div",{key:"3eea137e7b0bc3f4954d5789a2cddf6e6a859fee",class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",{key:"22657fcf4ead40730f886f77a863b0b0f23e8948"},s.monthLabelsShort[o]),t("duet-icon",{key:"51b1280f2d3ec47d0567b7a041d7cfc92d61d235",name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"}))),t("duet-visually-hidden",{key:"63e59eac0529652ccdcac89f5ae3567c291e2fd5"},t("label",{key:"140beab557360920f1cc99977b40368d77e6d742",htmlFor:this.yearSelectId},s.yearSelectLabel)),t("div",{key:"848d1ce7184b9f3284967fab1f595ecf0cad5994",class:"duet-date-dialog-select"},t("select",{key:"56bf07db564cf107aac956411ed5b761f83bebcb",id:this.yearSelectId,class:"duet-date-year-select",onChange:this.handleYearSelect},function(t,e){for(var a=[],i=t;i<=e;i++)a.push(i);return a}(b,p).map((e=>t("option",{key:e,selected:e===r},e)))),t("div",{key:"14e84bf540d7d2cb002b10d2e6ed0776c80f1d96",class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",{key:"f6b322608ce9629d6078030c86fc408026985e11"},this.focusedDay.getFullYear()),t("duet-icon",{key:"e726ed9ca06b382bf237b4ae3b1c58d278895850",name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"})))),t("div",{key:"c97bcc59b23d0cf52edfada784f9fd205d94ac99",class:"duet-date-dialog-buttons"},t("duet-action-button",{key:"4b058294b854c4ebe90fdca424a36bac77b1379d",accessibleLabel:f[this.language].prevMonthLabel,actionName:f[this.language].prevMonthLabel,class:"duet-date-dialog-prev",onClick:this.handlePreviousMonthClick,disabled:c,"icon-name":"action-arrow-left-small"},s.prevMonthLabel),t("duet-action-button",{key:"5697ca8c8539900b6702a98f1660fef9a7925b43",accessibleLabel:f[this.language].nextMonthLabel,actionName:f[this.language].nextMonthLabel,class:"duet-date-dialog-next",onClick:this.handleNextMonthClick,disabled:h,"icon-name":"action-arrow-right-small"},s.nextMonthLabel))),t(Y,{key:"f83b03f0d74e0b01a6f9c068cf578b8a600deef7",selectedDate:e,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,language:this.language,theme:this.theme,min:l,max:u,focusedDayRef:t=>this.focusedDayNode=t,onFocusEnter:this.enableActiveFocus,onFocusExit:this.disableActiveFocus})),t(d,{key:"fa28ebc0611d9f08598c0e2057fa13c72ebc8442",moveFocusTo:this.closeButtonNode})))}get element(){return o(this)}static get watchers(){return{min:["updateValidity"],max:["updateValidity"],value:["updateValidity","updateInternalValue"],required:["updateValidity"]}}};N.style='.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{margin-right:16px !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;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-date{position:relative;width:100%}.duet-date button,.duet-date-dialog button{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button{-webkit-user-select:none;user-select:none;position:relative;z-index:200;box-sizing:content-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;width:47px;height:48px;color:rgb(8, 42, 77);cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-left-color:rgb(181, 198, 208);border-radius:0 4px 4px 0;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-theme-turva .duet-date-button{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button::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-date-button:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-date-button:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.duet-date-button:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva .duet-date-button:disabled{background:rgb(245, 247, 250) !important}.duet-date-button:disabled::before{display:none}.duet-date-button:disabled duet-icon{opacity:0.4}.duet-date-button duet-icon{transform:translateY(-1px)}.duet-date-button:active duet-icon{transform:translateY(0)}.duet-date-input-has-focus .duet-date-button,.duet-date-button:focus{height:46px;color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.duet-date-input-has-focus .duet-date-button,.duet-theme-turva .duet-date-button:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.input-error{border-top-color:rgb(214, 28, 82);border-right-color:rgb(214, 28, 82);border-bottom-color:rgb(214, 28, 82)}.duet-date-dialog{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva .duet-date-dialog-wrapper{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active .duet-date-dialog-wrapper{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table{width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-date-table th{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table .duet-date-table-cell{text-align:center}.duet-date-table .duet-date-table-cell:focus{outline:none}.duet-date-table-button{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:2.6 !important;color:rgb(8, 42, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva .duet-date-table-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva .duet-date-table-button:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-date-table-button.today{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}[aria-pressed=true] .duet-date-table-button,:focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva [aria-pressed=true] .duet-date-table-button,.duet-theme-turva :focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva .duet-date-table-button:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}:focus .duet-date-table-button{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva :focus .duet-date-table-button{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva .duet-date-table-button.disabled{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva .duet-date-table-button.outside{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons{white-space:nowrap}.duet-date-dialog-buttons ::part(button){border:0}.duet-date-dialog-select{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select .duet-date-dialog-select-label{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);pointer-events:none;border-radius:4px}.duet-theme-turva .duet-date-dialog-select .duet-date-dialog-select-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-date-dialog-select span{margin-right:4px}.duet-date-dialog-select select{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select select:focus+.duet-date-dialog-select-label{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-date-dialog-select select:focus+.duet-date-dialog-select-label{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(181, 198, 208)}@media (min-width: 36em){.duet-date-dialog-mobile-header{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva .duet-date-dialog-mobile-header{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header duet-label{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header duet-label{display:none}}.duet-date-picker-close{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close{opacity:0}}.duet-theme-turva .duet-date-picker-close{background:rgb(245, 247, 250) !important}.duet-date-picker-close:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva .duet-date-picker-close:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close:focus{opacity:1}}.duet-theme-turva .duet-date-picker-close:focus{box-shadow:0 0 0 2px #171c3a !important}';export{N as duet_date_picker}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-61173f11.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,o,a,r,n;return{setters:[function(e){t=e.r;o=e.h;a=e.H;r=e.g},function(e){n=e.i}],execute:function(){var i='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-link.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.negative duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-link:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-link:hover.negative{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-link:hover.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active{color:rgb(8, 42, 77)}.duet-toolbar-link.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active.negative::after{display:none}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}';var l=i;var b=e("duet_toolbar_link",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.active=false;this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e;var t=this.variation==="negative"?"negative":"white";return o(a,{key:"3623e63f85f9fdb7fbd59112cc560e003a7ca568",role:"listitem"},o("a",{key:"b81d74dada0b3c634c92305881ad7f58a04157e0",class:(e={"duet-toolbar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},e[t]=true,e),href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&o("duet-icon",{key:"e9388c724ba10f7290f7819f94f3b40d37857f2a",size:"x-small",name:this.icon,margin:"none",theme:this.theme,color:"currentColor"}),o("slot",{key:"5c2564a4a153aa0d7595b40fb4588bacbd32bbdf"})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());b.style=l}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as s,H as r}from"./p-a083b91a.js";import{t as e}from"./p-f6000a03.js";const i=class{constructor(s){t(this,s),this.bg={default:{default:"color_lt_blue_100",success:"color_success_200",warning:"color_warning_200",danger:"color_danger_100"},strong:{default:"color_lt_blue_600",success:"color_success_700",warning:"color_warning_500",danger:"color_danger_600"}},this.color={default:{default:"color_lt_blue_700",success:"color_success_800",warning:"color_warning_800",danger:"color_danger_700"},strong:{default:"color_lt_blue_100",success:"color_gray_lightest",warning:"color_warning_900",danger:"color_gray_lightest"}},this.variation="default",this.size="medium",this.margin="auto",this.strong=!1}getBg(){return e[this.bg[this.strong?"strong":"default"][this.variation]]}getColor(){return e[this.color[this.strong?"strong":"default"][this.variation]]}getIcon(){switch(this.variation){case"default":return`\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="${this.getBg()}"/>\n <path fill="${this.getColor()}" 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"/>\n <circle fill="${this.getColor()}" cx="11.625" cy="7.125" r="1.125"/>\n </svg>`;case"success":return`\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="${this.getBg()}"/>\n <path fill="${this.getColor()}" d="M9.325 17.916a1.79 1.79 0 0 1-1.498-.799l-2.44-3.462a.75.75 0 0 1 1.227-.864l2.45 3.477a.306.306 0 0 0 .261.148.294.294 0 0 0 .236-.119l7.852-9.935a.75.75 0 1 1 1.175.93l-7.843 9.923a1.781 1.781 0 0 1-.423.396 1.78 1.78 0 0 1-.997.305z"/>\n </svg>`;case"warning":case"danger":return`\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <path fill="${this.getBg()}" d="M1.27,23.767C1.58,23.919 1.926,24 2.273,24L21.73,24C22.336,24 22.906,23.764 23.334,23.336C23.764,22.908 24.001,22.337 24.001,21.73C24.001,21.383 23.92,21.037 23.768,20.727L14.295,1.429C13.862,0.547 12.981,0 11.997,0C11.605,0 11.227,0.088 10.873,0.262C10.369,0.51 9.954,0.924 9.706,1.429L0.234,20.728C-0.034,21.271 -0.073,21.888 0.123,22.462C0.319,23.036 0.727,23.5 1.27,23.767Z"/>\n <rect fill="${this.getColor()}" x="11.1" y="7.2" width="1.8" height="8.4" rx="0.9"/>\n <rect fill="${this.getColor()}" x="10.8" y="18" width="2.4" height="2.4" rx="1.2"/>\n </svg>`}}render(){return s(r,{key:"8389c107ccded337d2e5121703d5221e70edcb42",class:{[`duet-status-icon-${this.variation}`]:!0,"duet-strong-bg":this.strong}},s("duet-icon",{key:"c05e3c223a16541133d3be5cb74f39760cc46ba1",icon:this.getIcon(),size:this.size,margin:this.margin}))}};export{i as duet_status_icon}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function r(t){try{u(n.next(t))}catch(t){s(t)}}function o(t){try{u(n["throw"](t))}catch(t){s(t)}}function u(t){t.done?i(t.value):a(t.value).then(r,o)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,r;return r={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(e){return u([t,e])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,o[0]&&(i=0)),i)try{if(n=1,a&&(s=o[0]&2?a["return"]:o[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,o[1])).done)return s;if(a=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){i.label=o[1];break}if(o[0]===6&&i.label<s[1]){i.label=s[1];s=o;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(o);break}if(s[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];a=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-61173f11.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-752fa0fc.system.js","./p-2bb44297.system.js","./p-98636086.system.js","./p-4cff3036.system.js","./p-ba03d034.system.js"],(function(t){"use strict";var e,i,n,a,s,r,o,u,h,c,d,l,f,p,b,g,m,v,y,k,_,w,x;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.F;s=t.H;r=t.g},function(t){o=t.i},function(t){u=t.c},function(t){h=t.d},function(t){c=t.k;d=t.l;l=t.d;f=t.b;p=t.a;b=t.c;g=t.m;m=t.n},function(t){v=t.g;y=t.c;k=t.d},function(t){_=t.p},function(t){w=t.b;x=t.a},function(){}],execute:function(){var S=function(t,e,i){if(t*2>e/i){return false}return true};var j='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';var M=j;var C=t("duet_pagination",function(){function t(t){var n=this;e(this,t);this.duetPageChange=i(this,"duetPageChange",3);this.listId=u("duet-pagination-list");this.firstRenderDone=false;this.handleMediaQueryChange=function(t){n.matchesCompactBreakpoint=w.includes(n.compactBreakpoint)?t.matches:!t.matches};this.actionChain=function(t,e){return __awaiter(n,void 0,void 0,(function(){var i;return __generator(this,(function(n){switch(n.label){case 0:if(!(t===0))return[3,1];this.current=1;return[3,4];case 1:if(!(t>this.totalPages))return[3,2];this.current=this.totalPages;return[3,4];case 2:if(!(e!==t))return[3,4];i=Math.ceil(t/this.visibleItems)-1;if(!(i!==this.internalSectionIndex))return[3,4];this.internalSectionIndex=i;return[4,this.setFocus()];case 3:n.sent();n.label=4;case 4:return[2,true]}}))}))};this.emitPageEvent=function(t,e){var i=Number(e||n.current);n.duetPageChange.emit({component:"duet-pagination",from:i*n.take,to:i*n.take+n.take,current:i,take:n.take,type:"page",originalEvent:t})};this.getEnteredNumber=h((function(t){n.emitPageEvent(t,n.numbersStore);n.current=Number(n.numbersStore);n.numbersStore="";n.duetPageChange.emit({component:"duet-pagination",from:n.current*n.take,to:n.current*n.take+n.take,current:n.current,take:n.take,type:"jump",originalEvent:t})}),500);this.processedPageLinks=null;this.numbersStore="";this.matchesCompactBreakpoint=false;this.totalPages=10;this.internalSectionIndex=0;this.theme="";this.disabled=false;this.variation="default";this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}};this.accessibleLabels=v(this.accessibleLabelsDefaults);this.take=5;this.visibleItems=5;this.total=1e3;this.compactBreakpoint="x-small";this.ariaControls="";this.current=1;this.pageLinks=undefined}t.prototype.watchPropTotalHandler=function(){this.calculatePageTake();return true};t.prototype.watchStateHandler=function(t,e){return this.actionChain(t,e)};t.prototype.componentWillLoad=function(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1;this.calculatePageTake();o(this);this.refresh()};t.prototype.componentDidLoad=function(){this.firstRenderDone=true};t.prototype.componentWillRender=function(){if(this.internalSectionIndex!==0&&this.internalSectionIndex!==this.totalPages){this.calculatePageTake()}};t.prototype.componentDidRender=function(){if(this.firstRenderDone&&!this.processedPageLinks){this.setFocus()}};t.prototype.connectedCallback=function(){var t=this.compactBreakpoint==="none"?"all":x[this.compactBreakpoint];this.mq=matchMedia(t);this.mq.addEventListener("change",h(this.handleMediaQueryChange,50));this.handleMediaQueryChange(this.mq);y(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){this.mq.removeEventListener("change",this.handleMediaQueryChange);this.mq=null;this.matchesCompactBreakpoint=false;k(this)};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedPageLinks=_(this.pageLinks);return[2]}))}))};t.prototype.calculatePageTake=function(){this.totalPages=Math.ceil(this.total/this.take)};t.prototype.onMouseHandler=function(t,e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(this.disabled){return[2]}if(!this.processedPageLinks){t.preventDefault();t.stopPropagation();this.current=this.current+e}this.emitPageEvent(t);return[2]}))}))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){if(this.disabled){return[2]}e=this.current;if(l(t)||f(t)){e--}if(p(t)||b(t)){e++}if(c(t)){if(e<=this.totalPages){this.current=e;if(this.processedPageLinks){this.emitPageEvent(t,e-1);window.open(this.processedPageLinks[e-1],"_self","")}else{this.emitPageEvent(t)}}}if(d(t)&&this.shouldDisplayNavigation()){this.numbersStore=this.numbersStore+t.key;if(Number(this.numbersStore)>this.totalPages){this.numbersStore=this.totalPages+""}this.getEnteredNumber(t)}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:t=this.nativeNav.querySelector("[data-id='".concat(this.current,"']"));e=t;if(!e)return[3,2];return[4,t.setFocus()];case 1:e=i.sent();i.label=2;case 2:e;return[2]}}))}))};t.prototype.pageClickHandler=function(t){var e=Number(t.target.getAttribute("data-id"));if(!this.processedPageLinks){t.preventDefault();this.current=e}this.emitPageEvent(t,e)};t.prototype.selectClickHandler=function(t){t.preventDefault();var e=Number(t.target.value);this.current=e;if(this.processedPageLinks){this.emitPageEvent(t,e-1);window.open(this.processedPageLinks[e-1],"_self","")}else{this.emitPageEvent(t,e)}};t.prototype.sectionClickHandler=function(t,e){t.preventDefault();var i=this.internalSectionIndex+e;var n=this.take*this.visibleItems;if(i*n>this.total){i=this.internalSectionIndex}var a=i;this.internalSectionIndex=a>=0?a:0};t.prototype.jumpToStart=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=0;this.current=1}this.emitPageEvent(t)};t.prototype.jumpToEnd=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1);this.current=this.totalPages}this.emitPageEvent(t)};t.prototype.renderPageButton=function(t){var e=this;return n("duet-button",{disabled:this.disabled,class:{"duet-pagination-link":true},id:"page-".concat(t,"-button"),color:t!==this.current?this.theme!=="turva"?"secondary":"secondary-turva":this.theme!=="turva"?"primary":"primary-turva","data-id":t,"center-text":true,variation:"plain",margin:"none",accessibleLabel:"".concat(this.accessibleLabels.go_to," ").concat(t),onClick:function(t){return e.pageClickHandler(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:undefined},n("div",{class:"duet-pagination-page-number","aria-hidden":true},t))};t.prototype.renderPageNumbers=function(){var t=[];var e=this.internalSectionIndex*this.visibleItems;do{e++;if(e>this.totalPages){break}t.push(n("li",{class:{"duet-pagination-item":true,"duet-pagination-item-is-active":e===this.current},role:"menuitem"},this.renderPageButton(e)))}while(e<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t};t.prototype.renderSelect=function(){var t=this;var e=[];for(var i=1;i<=this.totalPages;i++){e.push({value:i.toString(),label:i.toString()})}var a=n("duet-select",{disabled:this.disabled,theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(e),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}","".concat(this.totalPages)),labelHidden:true,onDuetChange:function(e){return t.selectClickHandler(e)},margin:"none"});return n("li",null,a,n("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))};t.prototype.shouldDisplayNavigation=function(){if(this.variation!=="compact"&&!this.matchesCompactBreakpoint){return S(this.visibleItems,this.total,this.take)}return false};t.prototype.render=function(){var t;var e=this;return n(s,{key:"5943ffdd76ef98748f029896f38e97bde1865d98",onKeyDown:function(t){return e.onKeyboardDown(t)},class:{"duet-theme-turva":this.theme==="turva"}},n("nav",{key:"76a6858bee8b90ea73b0fe7213b9f271c9eb509e",role:"navigation","aria-labelledby":this.accessibleLabelledBy?"".concat(this.accessibleLabelledBy," ").concat(this.listId):this.listId,"aria-describedby":this.accessibleDescribedBy?"".concat(this.accessibleDescribedBy," ").concat(this.listId):this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:function(t){return e.nativeNav=t},"aria-controls":this.ariaControls,class:(t={"duet-pagination-nav":true},t["duet-pagination-variation-".concat(this.variation)]=true,t)},this.numbersStore!==""&&n("div",{key:"c323069e8b3a2883c45ac5f6354b550cf529657e","aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":"".concat(this.accessibleLabels.jump_to," ").concat(this.numbersStore),part:"navigation-overlay"},n("duet-badge",{key:"38ac9c11afc3eab57815de9cdf648ff21df38621",theme:this.theme},"jump to page : ",this.numbersStore)),n("ol",{key:"ccbb3b8d012e3e4defd979d88a327df68e0e2058",id:this.listId,class:{"duet-pagination":true,"duet-pagination-is-dimmed":this.numbersStore!==""},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{key:"93bf21a9d7c68782301a6723fd6e9db55d572345",class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{key:"2d1521d6ca50e80ef5c0b3267bccb168a2d6e62d",disabled:this.internalSectionIndex===0&&this.current<=1||this.disabled,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:function(t){return e.jumpToStart(t)},"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined})),n("li",{key:"98a6f6692c652c74d6c463d2466eca429358891c",class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{key:"8a43fa4728ae1b53ef977bdf1c7a44d5034bdd04",disabled:!!(this.internalSectionIndex===0&&this.current<=1||this.current<=1&&this.processedPageLinks||this.disabled),"data-direction":"back",onClick:function(t){return e.onMouseHandler(t,-1)},"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:undefined})),this.internalSectionIndex!==0&&this.shouldDisplayNavigation()&&n(a,{key:"bea57a7da7eb4e8feb17560ae2ae442590aa5ee2"},n("li",{key:"7e62beaf647d200436162f87098f67d8a5c928d8",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{key:"c98c4fcdcb94567e691930005974e605406cce33",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:this.theme!=="turva"?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:function(t){return e.jumpToStart(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined},n("div",{key:"b8760ceeb730e809cd7996be57bd9e93ebdbd653",class:"duet-pagination-page-number"},"1"))),n("li",{key:"3c948e1d9eac9dec1337744db26662d738aead11",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{key:"3e59a62a9d1ef3e51cd6f71aa912ca4794454b4b",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return e.sectionClickHandler(t,-1)},theme:this.theme},n("div",{key:"d8c79ebb7e0a7164008563da0346de380d7d204b",class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&n(a,{key:"e9e3c57605ca7050408b9397aee62faeb16cd270"},(this.internalSectionIndex+1)*this.visibleItems!==this.totalPages-1&&n("li",{key:"5854f40f93fe8e24d9f0fbe0c113195f3ca722c2",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{key:"aa268bf3709899c5e8f5f277e94ff8d70ebcd764",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return e.sectionClickHandler(t,1)},theme:this.theme},n("div",{key:"b1e1c1cb874bf04dca88bf6d3386b2fb4d3df947",class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),n("li",{key:"da069480127ea148dbc13a4e175a474f2c14cfb9",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{key:"b76da37a208b7456e89e084b6d586d70a90cc1e7",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:function(t){return e.jumpToEnd(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:undefined},n("div",{key:"a2cb2f2a14057653ca92dae498804862835c70cf",class:"duet-pagination-page-number"},this.totalPages)))),n("li",{key:"eeebc9e7bdfaccd7e438d2f580056923d00a8756",class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{key:"b97ef02ea16c8fb216e88dc74e3fe87b76ac2f09",disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks)||this.disabled,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:function(t){return e.onMouseHandler(t,1)},"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:undefined})),(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{key:"45ee2be07aca3f3526fc9a3b23deea0d04c0b36e",class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{key:"0519bda2be03889de093f73535907ab63388877d",disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.disabled,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:function(t){return e.jumpToEnd(t)},"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:undefined})))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}},enumerable:false,configurable:true});return t}());C.style=M;var N="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(8, 42, 77)}.duet-range-stepper ::part(button){border:0}";var L=N;var z=t("duet_range_stepper",function(){function t(t){var n=this;e(this,t);this.duetRangeStepUpdate=i(this,"duetRangeStepUpdate",7);this.leftBn=u("duetRangeStepper-left");this.rightBn=u("duetRangeStepper-right");this.handleClick=function(t,e){t.preventDefault();n.stepIndex+=e;n.clampStepIndex();n.handleStepClick(t)};this.buttonLeftDisabled=false;this.buttonRightDisabled=false;this.theme="";this.disabled=false;this.stepIndex=1;this.stepSize=50;this.total=1e3;this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}};this.ariaLabels=v(this.ariaLabelsDefaults);this.ariaControls=""}t.prototype.watchStepIndexStateHandler=function(t){if(this.leftBnRef&&this.rightBnRef){if(t<=1){if(this.element===document.activeElement){this.rightBnRef.setFocus()}this.buttonLeftDisabled=true}else{this.buttonLeftDisabled=false}if(t>=this.total/this.stepSize){if(this.element===document.activeElement){this.leftBnRef.setFocus()}this.buttonRightDisabled=true}else{this.buttonRightDisabled=false}}};t.prototype.watchStepSizeStateHandler=function(t,e){if(t!==e){if(this.stepIndex*t>this.total){this.stepIndex=Math.ceil(this.total/t)}this.watchStepIndexStateHandler(this.stepIndex)}};t.prototype.handleStepClick=function(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})};t.prototype.componentWillLoad=function(){o(this);this.clampStepIndex()};t.prototype.componentDidLoad=function(){this.watchStepIndexStateHandler(this.stepIndex)};t.prototype.connectedCallback=function(){y(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})};t.prototype.disconnectedCallback=function(){k(this)};t.prototype.clampStepIndex=function(){if(this.stepIndex<1){this.stepIndex=1}else if(this.stepIndex*this.stepSize>this.total){this.stepIndex=Math.ceil(this.total/this.stepSize)}};t.prototype.getFrom=function(){return Math.floor((this.stepIndex-1)*this.stepSize)+1};t.prototype.getTo=function(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)};t.prototype.generateStepSize=function(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))};t.prototype.generatePreviousIncrementLabel=function(){if(this.getFrom()===1){return""}return this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))};t.prototype.generateNextIncrementLabel=function(){if(this.getTo()===this.total){return""}return this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(n){if(this.disabled){return[2]}e=this.stepIndex;i=1;if(l(t)||f(t)||g(t)){e--;i=-1;this.leftBnRef.setFocus()}if(p(t)||b(t)||m(t)){e++;i=1}if(c(t)){if(e>0&&e*this.stepSize<=this.total){this.handleClick(t,i)}}return[2]}))}))};t.prototype.render=function(){var t=this;return n("div",{key:"92bfdf2b82bf4c6c299cbbc288a81c13449b0edc",class:{"duet-range-stepper":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:function(e){return t.onKeyboardDown(e)},"aria-controls":this.ariaControls},n("span",{key:"c0c007aa816eec8a7ae151b272b3bc948cba4a94",class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),n("duet-action-button",{key:"86d4d9ed69039243ca294fc4158237d08ddf7083",disabled:this.disabled||this.buttonLeftDisabled,class:"duet-range-step-button duet-range-step-minus",onClick:function(e){return t.handleClick(e,-1)},id:this.leftBn,"accessible-label":"".concat(this.ariaLabels.previous_increment," ").concat(this.generatePreviousIncrementLabel()),ref:function(e){return t.leftBnRef=e},part:"navigation-arrow",iconName:"action-arrow-left-small",title:""}),n("duet-action-button",{key:"0807cc9746426dfca2540572c26e8987de685d58",disabled:this.disabled||this.buttonRightDisabled,class:"duet-range-step-button duet-range-step-plus",onClick:function(e){return t.handleClick(e,1)},"accessible-label":"".concat(this.ariaLabels.next_increment," ").concat(this.generateNextIncrementLabel()),id:this.rightBn,ref:function(e){return t.rightBnRef=e},part:"navigation-arrow",iconName:"action-arrow-right-small",title:""}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}},enumerable:false,configurable:true});return t}());z.style=L}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register([],(function(n){"use strict";return{execute:function(){n("f",t);var r=n("d",(function(n,r){if(r===void 0){r=250}var t;return function(){var u=[];for(var e=0;e<arguments.length;e++){u[e]=arguments[e]}clearTimeout(t);t=setTimeout((function(){n.apply(undefined,u)}),r)}}));function t(n){return function(r,t){return n.map((function(n){var u=1;if(n[0]==="-"){u=-1;n=n.substring(1)}if(r[n]>t[n]){return u}if(r[n]<t[n]){return-u}return 0})).reduce((function n(r,t){return r?r:t}),0)}}}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,n,t,i){function r(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,a){function o(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i["throw"](e))}catch(e){a(e)}}function c(e){e.done?t(e.value):r(e.value).then(o,u)}c((i=i.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(n){return c([e,n])}}function c(u){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(t=0)),t)try{if(i=1,r&&(a=u[0]&2?r["return"]:u[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;if(r=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:t.label++;return{value:u[1],done:false};case 5:t.label++;r=u[1];u=[0];continue;case 7:u=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){t.label=u[1];break}if(u[0]===6&&t.label<a[1]){t.label=a[1];a=u;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(u);break}if(a[2])t.ops.pop();t.trys.pop();continue}u=n.call(e,t)}catch(e){u=[6,e];r=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-61173f11.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var n,t,i,r,a;return{setters:[function(e){n=e.r;t=e.c;i=e.h;r=e.H},function(e){a=e.i}],execute:function(){var o="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container{display:flex;flex-direction:row;gap:8px;align-items:center}.container .label{margin-bottom:8px}";var u=o;var c=e("duet_file_chooser",function(){function e(e){var i=this;n(this,e);this.duetChange=t(this,"duetChange",3);this.onChange=function(e){e.preventDefault();e.stopPropagation();i.duetChange.emit({originalEvent:e,data:{files:i.nativeInput.files},component:"duet-file-chooser"})};this.theme="";this.multiple=false;this.accept=undefined}e.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){(e=this.nativeInput)===null||e===void 0?void 0:e.click();return[2]}))}))};e.prototype.getFiles=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.nativeInput.files]}))}))};e.prototype.componentWillLoad=function(){a(this)};e.prototype.render=function(){var e=this;return i(r,{key:"4990de1bf699e3f0daea24f507a9b9e252b11d9a"},i("duet-visually-hidden",{key:"0a226f6f53a8da89230e81df8be61a2413c44af1","aria-hidden":"true"},i("input",{key:"a8a8e3bfc73847a74ea8dc8dff0da0c16d510e15",ref:function(n){e.nativeInput=n},type:"file",class:{"duet-upload":true},"aria-hidden":"true",tabIndex:-1,onChange:this.onChange,multiple:this.multiple,accept:this.accept})))};return e}());c.style=u}}}));