@duetds/components 8.6.8 → 8.7.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 (959) hide show
  1. package/hydrate/index.d.ts +30 -12
  2. package/hydrate/index.js +33069 -23517
  3. package/lib/cjs/{app-globals-aece069f.js → app-globals-44f2c7a3.js} +2 -0
  4. package/lib/cjs/duet-action-button.cjs.entry.js +5 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +10 -9
  6. package/lib/cjs/duet-badge.cjs.entry.js +5 -4
  7. package/lib/cjs/duet-banner.cjs.entry.js +6 -5
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +8 -7
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -5
  10. package/lib/cjs/duet-button_2.cjs.entry.js +13 -11
  11. package/lib/cjs/duet-callout.cjs.entry.js +6 -5
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +18 -14
  13. package/lib/cjs/duet-card.cjs.entry.js +6 -5
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -2
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +5 -4
  16. package/lib/cjs/duet-chip.cjs.entry.js +4 -3
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +7 -5
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +6 -5
  19. package/lib/cjs/duet-combobox.cjs.entry.js +5 -4
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +6 -5
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -3
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -5
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +7 -5
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +13 -10
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +5 -4
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +7 -6
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +4 -3
  28. package/lib/cjs/duet-footer.cjs.entry.js +9 -8
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +5 -3
  30. package/lib/cjs/duet-header_2.cjs.entry.js +7 -5
  31. package/lib/cjs/duet-hero.cjs.entry.js +10 -9
  32. package/lib/cjs/duet-icon.cjs.entry.js +6 -5
  33. package/lib/cjs/duet-input_2.cjs.entry.js +7 -5
  34. package/lib/cjs/duet-layout.cjs.entry.js +8 -7
  35. package/lib/cjs/duet-list_2.cjs.entry.js +8 -6
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -4
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -4
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -6
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -4
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -4
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +5 -4
  42. package/lib/cjs/duet-modal.cjs.entry.js +17 -14
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +11 -10
  44. package/lib/cjs/duet-nav.cjs.entry.js +4 -3
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +10 -8
  46. package/lib/cjs/duet-number-input.cjs.entry.js +5 -4
  47. package/lib/cjs/duet-overlay.cjs.entry.js +4 -3
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +5 -4
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +19 -17
  50. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +4 -3
  51. package/lib/cjs/duet-popup-menu.cjs.entry.js +5 -4
  52. package/lib/cjs/duet-progress.cjs.entry.js +4 -3
  53. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -5
  54. package/lib/cjs/duet-radio_2.cjs.entry.js +6 -4
  55. package/lib/cjs/duet-range-slider.cjs.entry.js +3 -2
  56. package/lib/cjs/duet-scrollable_3.cjs.entry.js +44 -23
  57. package/lib/cjs/duet-section-layout.cjs.entry.js +6 -5
  58. package/lib/cjs/duet-select.cjs.entry.js +4 -3
  59. package/lib/cjs/duet-shaped-image.cjs.entry.js +5 -4
  60. package/lib/cjs/duet-show-more.cjs.entry.js +6 -5
  61. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -4
  62. package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -4
  63. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -6
  64. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -11
  65. package/lib/cjs/duet-slideout.cjs.entry.js +10 -9
  66. package/lib/cjs/duet-step_2.cjs.entry.js +6 -4
  67. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -4
  68. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -6
  69. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -3
  70. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -3
  71. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -6
  72. package/lib/cjs/duet-textarea.cjs.entry.js +4 -3
  73. package/lib/cjs/duet-toggle.cjs.entry.js +3 -2
  74. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -4
  75. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -6
  76. package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -4
  77. package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -4
  78. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -3
  79. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -8
  80. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -3
  81. package/lib/cjs/duet-tray.cjs.entry.js +6 -5
  82. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  83. package/lib/cjs/duet-upload-item.cjs.entry.js +7 -6
  84. package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -3
  85. package/lib/cjs/duet.cjs.js +15 -15
  86. package/lib/cjs/{errorcodes.utils-a86b1f94.js → errorcodes.utils-d9f472df.js} +1 -1
  87. package/lib/cjs/{focus-utils-f04d6c12.js → focus-utils-2de8d5de.js} +1 -1
  88. package/lib/cjs/index-7efe7e19.js +1996 -0
  89. package/lib/cjs/{language-utils-e8a527e5.js → language-utils-1ed4b266.js} +1 -0
  90. package/lib/cjs/loader.cjs.js +4 -4
  91. package/lib/cjs/{slot-utils-03a40c78.js → slot-utils-0664e341.js} +2 -0
  92. package/lib/collection/collection-manifest.json +2 -2
  93. package/lib/collection/components/duet-action-button/duet-action-button.js +1 -1
  94. package/lib/collection/components/duet-alert/duet-alert.js +5 -5
  95. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  96. package/lib/collection/components/duet-banner/duet-banner.js +2 -2
  97. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  98. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  99. package/lib/collection/components/duet-button/duet-button.js +5 -5
  100. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  101. package/lib/collection/components/duet-caption/duet-caption.js +2 -2
  102. package/lib/collection/components/duet-card/duet-card.js +3 -3
  103. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  104. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  105. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  106. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  107. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  108. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  109. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  110. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  111. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  112. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  113. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  114. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  115. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  116. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  117. package/lib/collection/components/duet-link/duet-link.js +2 -2
  118. package/lib/collection/components/duet-list/duet-list.js +1 -1
  119. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  120. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  121. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  122. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  123. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  124. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  125. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  126. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  127. package/lib/collection/components/duet-modal/duet-modal.css +6 -0
  128. package/lib/collection/components/duet-modal/duet-modal.js +10 -8
  129. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  130. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  131. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  132. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  133. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  134. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  135. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  136. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  137. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  138. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +1 -1
  139. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  140. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  141. package/lib/collection/components/duet-scrollable/duet-scrollable.css +39 -9
  142. package/lib/collection/components/duet-scrollable/duet-scrollable.js +29 -11
  143. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  144. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  145. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  146. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  147. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  148. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  149. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  150. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  151. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  152. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  153. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  154. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +4 -4
  155. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  156. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  157. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  158. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  159. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  160. package/lib/collection/components/duet-table/duet-table.js +2 -2
  161. package/lib/collection/components/duet-toolbar/duet-toolbar.js +1 -1
  162. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  163. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  164. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +2 -2
  165. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  166. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  167. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  168. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  169. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  170. package/lib/collection/components/duet-upload/mock.helpers.js +6 -4
  171. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  172. package/lib/collection/components/duet-upload-item/duet-upload-item.js +3 -3
  173. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  174. package/lib/collection/utils/axe-core-utils.js +12 -4
  175. package/lib/collection/utils/test-utils.js +82 -32
  176. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  177. package/lib/dist-custom-elements/duet-alert.js +1 -1
  178. package/lib/dist-custom-elements/duet-badge.js +1 -1
  179. package/lib/dist-custom-elements/duet-banner.js +9 -8
  180. package/lib/dist-custom-elements/duet-breadcrumb.js +10 -9
  181. package/lib/dist-custom-elements/duet-breadcrumbs.js +6 -5
  182. package/lib/dist-custom-elements/duet-button.js +1 -1
  183. package/lib/dist-custom-elements/duet-callout.js +7 -6
  184. package/lib/dist-custom-elements/duet-caption.js +1 -1
  185. package/lib/dist-custom-elements/duet-card.js +8 -7
  186. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  187. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  188. package/lib/dist-custom-elements/duet-chip.js +1 -1
  189. package/lib/dist-custom-elements/duet-choice-group.js +11 -10
  190. package/lib/dist-custom-elements/duet-choice.js +8 -7
  191. package/lib/dist-custom-elements/duet-collapsible.js +7 -6
  192. package/lib/dist-custom-elements/duet-combobox.js +17 -16
  193. package/lib/dist-custom-elements/duet-contact-card.js +13 -12
  194. package/lib/dist-custom-elements/duet-cookie-consent.js +9 -8
  195. package/lib/dist-custom-elements/duet-date-picker.js +19 -18
  196. package/lib/dist-custom-elements/duet-divider.js +1 -1
  197. package/lib/dist-custom-elements/duet-editable-table.js +11 -10
  198. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  199. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  200. package/lib/dist-custom-elements/duet-file-chooser.js +5 -4
  201. package/lib/dist-custom-elements/duet-footer.js +15 -14
  202. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  203. package/lib/dist-custom-elements/duet-grid.js +1 -1
  204. package/lib/dist-custom-elements/duet-header.js +12 -11
  205. package/lib/dist-custom-elements/duet-heading.js +1 -1
  206. package/lib/dist-custom-elements/duet-hero.js +18 -17
  207. package/lib/dist-custom-elements/duet-icon.js +1 -1
  208. package/lib/dist-custom-elements/duet-input.js +1 -1
  209. package/lib/dist-custom-elements/duet-label.js +1 -1
  210. package/lib/dist-custom-elements/duet-layout.js +8 -7
  211. package/lib/dist-custom-elements/duet-link.js +1 -1
  212. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  213. package/lib/dist-custom-elements/duet-list.js +1 -1
  214. package/lib/dist-custom-elements/duet-logo.js +1 -1
  215. package/lib/dist-custom-elements/duet-menu-bar-button.js +6 -5
  216. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -5
  217. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +8 -7
  218. package/lib/dist-custom-elements/duet-menu-bar-item.js +6 -5
  219. package/lib/dist-custom-elements/duet-menu-bar-link.js +6 -5
  220. package/lib/dist-custom-elements/duet-menu-bar.js +6 -5
  221. package/lib/dist-custom-elements/duet-modal.js +24 -21
  222. package/lib/dist-custom-elements/duet-multiselect.js +19 -18
  223. package/lib/dist-custom-elements/duet-nav.js +4 -3
  224. package/lib/dist-custom-elements/duet-notification-drawer.js +9 -8
  225. package/lib/dist-custom-elements/duet-notification.js +7 -6
  226. package/lib/dist-custom-elements/duet-number-input.js +15 -14
  227. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  228. package/lib/dist-custom-elements/duet-page-heading.js +6 -5
  229. package/lib/dist-custom-elements/duet-pagination.js +27 -26
  230. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  231. package/lib/dist-custom-elements/duet-popup-menu-item.js +5 -4
  232. package/lib/dist-custom-elements/duet-popup-menu.js +6 -5
  233. package/lib/dist-custom-elements/duet-progress.js +1 -1
  234. package/lib/dist-custom-elements/duet-promo-card.js +8 -7
  235. package/lib/dist-custom-elements/duet-radio-group.js +11 -10
  236. package/lib/dist-custom-elements/duet-radio.js +3 -2
  237. package/lib/dist-custom-elements/duet-range-slider.js +4 -3
  238. package/lib/dist-custom-elements/duet-range-stepper.js +9 -8
  239. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  240. package/lib/dist-custom-elements/duet-section-layout.js +6 -5
  241. package/lib/dist-custom-elements/duet-select.js +1 -1
  242. package/lib/dist-custom-elements/duet-shaped-image.js +5 -4
  243. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  244. package/lib/dist-custom-elements/duet-slideout-lang.js +6 -5
  245. package/lib/dist-custom-elements/duet-slideout-link.js +6 -5
  246. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -7
  247. package/lib/dist-custom-elements/duet-slideout-panel.js +13 -12
  248. package/lib/dist-custom-elements/duet-slideout.js +12 -11
  249. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  250. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  251. package/lib/dist-custom-elements/duet-step.js +6 -5
  252. package/lib/dist-custom-elements/duet-stepper.js +5 -4
  253. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -5
  254. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -7
  255. package/lib/dist-custom-elements/duet-submenu-bar-item.js +5 -4
  256. package/lib/dist-custom-elements/duet-submenu-bar-link.js +5 -4
  257. package/lib/dist-custom-elements/duet-submenu-bar.js +9 -8
  258. package/lib/dist-custom-elements/duet-tab-group.js +21 -20
  259. package/lib/dist-custom-elements/duet-tab.js +4 -3
  260. package/lib/dist-custom-elements/duet-table.js +1 -1
  261. package/lib/dist-custom-elements/duet-textarea.js +13 -12
  262. package/lib/dist-custom-elements/duet-toggle.js +4 -3
  263. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -5
  264. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +8 -7
  265. package/lib/dist-custom-elements/duet-toolbar-item.js +6 -5
  266. package/lib/dist-custom-elements/duet-toolbar-link.js +6 -5
  267. package/lib/dist-custom-elements/duet-toolbar.js +4 -3
  268. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  269. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  270. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  271. package/lib/dist-custom-elements/duet-tray.js +8 -7
  272. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  273. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  274. package/lib/dist-custom-elements/duet-upload.js +25 -24
  275. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  276. package/lib/dist-custom-elements/index.js +2 -1
  277. package/lib/dist-custom-elements/{p-5d1b1309.js → p-00eccbc8.js} +5 -4
  278. package/lib/dist-custom-elements/{p-dcbd3217.js → p-0231ea20.js} +5 -4
  279. package/lib/dist-custom-elements/{p-2f74a80b.js → p-02911244.js} +3 -3
  280. package/lib/dist-custom-elements/{p-f010dbb0.js → p-03c64124.js} +5 -4
  281. package/lib/dist-custom-elements/{p-184196bf.js → p-12a09bbc.js} +5 -4
  282. package/lib/dist-custom-elements/{p-8806e54e.js → p-151934ce.js} +8 -7
  283. package/lib/dist-custom-elements/{p-8b931125.js → p-1c341405.js} +11 -10
  284. package/lib/dist-custom-elements/{p-0301d789.js → p-21e0af47.js} +38 -19
  285. package/lib/dist-custom-elements/{p-2e4d752a.js → p-26d4d49e.js} +3 -2
  286. package/lib/dist-custom-elements/{p-a1b81dbc.js → p-2a041992.js} +7 -6
  287. package/lib/dist-custom-elements/{p-2e36d5bf.js → p-2f5e2da8.js} +1 -0
  288. package/lib/dist-custom-elements/{p-3a3e990d.js → p-330bf2a1.js} +4 -3
  289. package/lib/dist-custom-elements/{p-ecb49066.js → p-37e44d89.js} +5 -4
  290. package/lib/dist-custom-elements/{p-aaf04b7b.js → p-384f880b.js} +6 -5
  291. package/lib/dist-custom-elements/{p-164f1743.js → p-3e74515a.js} +10 -9
  292. package/lib/dist-custom-elements/{p-a5b07a4c.js → p-401b6b1f.js} +5 -4
  293. package/lib/dist-custom-elements/{p-e4489c9c.js → p-45dd5240.js} +7 -6
  294. package/lib/dist-custom-elements/p-47c44289.js +178 -0
  295. package/lib/dist-custom-elements/{p-d4cc9e7f.js → p-48a3af88.js} +3 -2
  296. package/lib/dist-custom-elements/{p-b691a561.js → p-5ad5934d.js} +4 -3
  297. package/lib/dist-custom-elements/{p-188198bb.js → p-61ffea9e.js} +6 -5
  298. package/lib/dist-custom-elements/{p-f3fed1d1.js → p-6bd18890.js} +15 -14
  299. package/lib/dist-custom-elements/{p-9d2943a1.js → p-706daff4.js} +14 -13
  300. package/lib/dist-custom-elements/{p-fe0978ef.js → p-7666f1bc.js} +5 -4
  301. package/lib/dist-custom-elements/{p-e4f40301.js → p-7eef087e.js} +12 -11
  302. package/lib/{esm/floating-ui.dom.esm-01fcd83a.js → dist-custom-elements/p-81287261.js} +1 -1
  303. package/lib/dist-custom-elements/{p-06e608ae.js → p-895db398.js} +2 -0
  304. package/lib/dist-custom-elements/{p-45ce252d.js → p-8fb1d873.js} +15 -14
  305. package/lib/dist-custom-elements/{p-2933d260.js → p-955053f9.js} +7 -5
  306. package/lib/dist-custom-elements/p-955746f9.js +1848 -0
  307. package/lib/dist-custom-elements/{p-d1f8f9d9.js → p-9bda0343.js} +5 -4
  308. package/lib/dist-custom-elements/{p-674040a2.js → p-9d348a4b.js} +4 -3
  309. package/lib/dist-custom-elements/{p-f390637a.js → p-9dc74a9b.js} +8 -7
  310. package/lib/dist-custom-elements/{p-9a63d9a1.js → p-ad23e869.js} +6 -5
  311. package/lib/dist-custom-elements/{p-2a29afc3.js → p-b8bb3910.js} +5 -4
  312. package/lib/dist-custom-elements/{p-c6788c34.js → p-bb20326f.js} +4 -3
  313. package/lib/dist-custom-elements/{p-ee310f8e.js → p-c7a796da.js} +4 -3
  314. package/lib/dist-custom-elements/{p-4bd749d9.js → p-d2f0147b.js} +1 -1
  315. package/lib/dist-custom-elements/{p-3ee1ee19.js → p-d7ff39b6.js} +5 -4
  316. package/lib/dist-custom-elements/{p-1a167655.js → p-e091bb48.js} +3 -2
  317. package/lib/dist-custom-elements/{p-2d44ce95.js → p-f1938f1a.js} +3 -2
  318. package/lib/dist-custom-elements/{p-b59388e4.js → p-fd601808.js} +9 -8
  319. package/lib/duet/duet.esm.js +1 -1
  320. package/lib/duet/duet.js +1 -1
  321. package/lib/duet/p-01e99b47.system.entry.js +4 -0
  322. package/lib/duet/p-032d42d4.entry.js +4 -0
  323. package/lib/duet/p-06472b8c.entry.js +4 -0
  324. package/lib/duet/p-064b908b.entry.js +4 -0
  325. package/lib/duet/p-069aaf78.entry.js +4 -0
  326. package/lib/duet/{p-00638431.system.entry.js → p-077b9a06.system.entry.js} +1 -1
  327. package/lib/duet/p-08866b96.system.entry.js +4 -0
  328. package/lib/duet/{p-09f2162b.system.entry.js → p-08daf525.system.entry.js} +1 -1
  329. package/lib/duet/p-0a042569.entry.js +4 -0
  330. package/lib/duet/p-0c3a491b.system.entry.js +4 -0
  331. package/lib/duet/{p-f0a8edfa.system.entry.js → p-0cbdf836.system.entry.js} +1 -1
  332. package/lib/duet/{p-15d65ccc.system.js → p-0dc9089b.system.js} +1 -1
  333. package/lib/duet/{p-fabb616b.js → p-0f1980bc.js} +1 -1
  334. package/lib/duet/{p-bc99f838.system.entry.js → p-115a50f2.system.entry.js} +1 -1
  335. package/lib/duet/{p-c9c57249.system.entry.js → p-12b4df90.system.entry.js} +1 -1
  336. package/lib/duet/p-13ea970e.system.entry.js +4 -0
  337. package/lib/duet/{p-d537a47b.entry.js → p-155b7733.entry.js} +1 -1
  338. package/lib/duet/p-16be8ba9.entry.js +4 -0
  339. package/lib/duet/{p-b0d67f51.entry.js → p-16e63390.entry.js} +1 -1
  340. package/lib/duet/p-1784b1d2.js +1 -1
  341. package/lib/duet/{p-48e4b33e.system.entry.js → p-17eeb1cc.system.entry.js} +1 -1
  342. package/lib/duet/p-1801e2be.entry.js +4 -0
  343. package/lib/duet/p-18d8207e.entry.js +4 -0
  344. package/lib/duet/{p-a87c1819.entry.js → p-198b0f16.entry.js} +1 -1
  345. package/lib/duet/p-1a6ea3db.entry.js +4 -0
  346. package/lib/duet/p-1d1f8607.entry.js +4 -0
  347. package/lib/duet/p-23805ac9.entry.js +4 -0
  348. package/lib/duet/p-2383fbeb.entry.js +4 -0
  349. package/lib/duet/p-2504c504.entry.js +4 -0
  350. package/lib/duet/p-28106a87.system.entry.js +4 -0
  351. package/lib/duet/{p-322273ee.system.entry.js → p-2928c320.system.entry.js} +1 -1
  352. package/lib/duet/{p-1af39d2d.entry.js → p-29665476.entry.js} +1 -1
  353. package/lib/duet/p-2aa796b7.js +4 -0
  354. package/lib/duet/p-2b9defde.system.entry.js +4 -0
  355. package/lib/duet/p-2c78ff7b.system.entry.js +4 -0
  356. package/lib/duet/p-300c8dd9.entry.js +4 -0
  357. package/lib/duet/{p-b3f5fea3.entry.js → p-32be247b.entry.js} +1 -1
  358. package/lib/duet/p-32d698f2.system.entry.js +4 -0
  359. package/lib/duet/{p-d9800a64.entry.js → p-364d7058.entry.js} +1 -1
  360. package/lib/duet/p-3e1a0cb7.entry.js +4 -0
  361. package/lib/duet/p-41b6d132.entry.js +4 -0
  362. package/lib/duet/{p-15a018c2.entry.js → p-41d5039a.entry.js} +1 -1
  363. package/lib/duet/p-428f66d6.system.entry.js +4 -0
  364. package/lib/duet/p-42e31c87.entry.js +4 -0
  365. package/lib/duet/p-43417c63.entry.js +4 -0
  366. package/lib/duet/{p-d2082904.system.entry.js → p-4487736b.system.entry.js} +1 -1
  367. package/lib/duet/p-4520f63d.system.entry.js +4 -0
  368. package/lib/duet/p-46079f71.entry.js +4 -0
  369. package/lib/duet/p-48879a51.entry.js +4 -0
  370. package/lib/duet/{p-4083bda5.entry.js → p-4a8d2af0.entry.js} +1 -1
  371. package/lib/duet/{p-0204b3b0.js → p-4bc401c3.js} +1 -1
  372. package/lib/duet/p-50c0ea9c.system.entry.js +4 -0
  373. package/lib/duet/p-54351362.entry.js +4 -0
  374. package/lib/duet/p-54c28fa4.system.entry.js +4 -0
  375. package/lib/duet/p-55327462.entry.js +4 -0
  376. package/lib/duet/p-5672308b.entry.js +4 -0
  377. package/lib/duet/p-56d35ccf.system.entry.js +4 -0
  378. package/lib/duet/p-5776972c.entry.js +4 -0
  379. package/lib/duet/p-585ad67b.entry.js +4 -0
  380. package/lib/duet/p-5866eaea.entry.js +4 -0
  381. package/lib/duet/p-58cb8b0b.system.entry.js +4 -0
  382. package/lib/duet/p-5abdc5ab.entry.js +4 -0
  383. package/lib/duet/p-5cb08833.system.entry.js +4 -0
  384. package/lib/duet/p-5f3de870.system.entry.js +4 -0
  385. package/lib/duet/{p-da20db91.system.js → p-6084bf4c.system.js} +1 -1
  386. package/lib/duet/{p-e36d3c27.entry.js → p-60d43265.entry.js} +1 -1
  387. package/lib/duet/{p-4a65e996.system.entry.js → p-61a24bce.system.entry.js} +1 -1
  388. package/lib/duet/{p-f370f3c5.system.entry.js → p-66e3ce81.system.entry.js} +1 -1
  389. package/lib/duet/p-6892b798.system.entry.js +4 -0
  390. package/lib/duet/{p-36eb52a8.system.entry.js → p-68a9aeee.system.entry.js} +1 -1
  391. package/lib/duet/p-68f52c23.system.entry.js +4 -0
  392. package/lib/duet/p-693ad8aa.entry.js +4 -0
  393. package/lib/duet/{p-e67c546c.system.entry.js → p-6a496c70.system.entry.js} +1 -1
  394. package/lib/duet/{p-e1fb0446.entry.js → p-6a84bf93.entry.js} +1 -1
  395. package/lib/duet/p-6bb927f9.system.entry.js +4 -0
  396. package/lib/duet/p-6c76d396.entry.js +4 -0
  397. package/lib/duet/p-6cdd3596.entry.js +4 -0
  398. package/lib/duet/{p-a909fac2.system.entry.js → p-6d157e53.system.entry.js} +2 -2
  399. package/lib/duet/p-6d75cdf6.system.js +4 -0
  400. package/lib/duet/p-6db296a5.entry.js +4 -0
  401. package/lib/duet/{p-95d3a1c1.system.entry.js → p-6dfa9f0e.system.entry.js} +1 -1
  402. package/lib/duet/{p-d54716cb.system.entry.js → p-70ba1823.system.entry.js} +1 -1
  403. package/lib/duet/p-72affe21.system.entry.js +4 -0
  404. package/lib/duet/p-7340e2e2.entry.js +4 -0
  405. package/lib/duet/p-7344d97c.system.js +4 -0
  406. package/lib/duet/p-7a5dd34d.entry.js +4 -0
  407. package/lib/duet/p-7b0e681f.system.entry.js +4 -0
  408. package/lib/duet/{p-55ce0916.system.entry.js → p-7bfc6d05.system.entry.js} +1 -1
  409. package/lib/duet/p-7c3649ba.js +5 -0
  410. package/lib/duet/p-7c533802.entry.js +4 -0
  411. package/lib/duet/p-7d473104.system.entry.js +4 -0
  412. package/lib/duet/{p-22b1cabe.system.entry.js → p-7e4597c6.system.entry.js} +1 -1
  413. package/lib/duet/p-7f8fc279.entry.js +4 -0
  414. package/lib/duet/p-7ff17c05.system.entry.js +4 -0
  415. package/lib/duet/p-80d722bc.entry.js +4 -0
  416. package/lib/duet/{p-31ed51c3.js → p-81287261.js} +1 -1
  417. package/lib/duet/p-813c2271.entry.js +4 -0
  418. package/lib/duet/{p-71b71fae.system.entry.js → p-83b88e0d.system.entry.js} +1 -1
  419. package/lib/duet/{p-e240a248.system.entry.js → p-84c50c75.system.entry.js} +1 -1
  420. package/lib/duet/p-8589c504.system.entry.js +4 -0
  421. package/lib/duet/p-86361d66.system.entry.js +4 -0
  422. package/lib/duet/p-8aefdb36.entry.js +4 -0
  423. package/lib/duet/p-8d4fde72.entry.js +4 -0
  424. package/lib/duet/{p-49492752.system.entry.js → p-8dcb869d.system.entry.js} +2 -2
  425. package/lib/duet/p-933895d6.system.entry.js +4 -0
  426. package/lib/duet/p-93d9f454.system.js +4 -0
  427. package/lib/duet/{p-2ebe1ac5.system.entry.js → p-95778aca.system.entry.js} +2 -2
  428. package/lib/duet/{p-fd736af1.entry.js → p-97f74160.entry.js} +1 -1
  429. package/lib/duet/p-98ac1721.system.entry.js +4 -0
  430. package/lib/duet/{p-b0c801cc.system.entry.js → p-9b6cc90a.system.entry.js} +1 -1
  431. package/lib/duet/{p-56c629ed.entry.js → p-9bdec5df.entry.js} +1 -1
  432. package/lib/duet/p-9d4cd103.system.entry.js +4 -0
  433. package/lib/duet/p-9d5823eb.entry.js +4 -0
  434. package/lib/duet/{p-847bf63e.entry.js → p-9e60a58d.entry.js} +1 -1
  435. package/lib/duet/p-9ef799f8.js +4 -0
  436. package/lib/duet/p-9f850d18.system.entry.js +4 -0
  437. package/lib/duet/p-9f9e290a.system.entry.js +4 -0
  438. package/lib/duet/p-a168b3f5.system.js +4 -0
  439. package/lib/duet/p-a32dad7f.system.entry.js +4 -0
  440. package/lib/duet/p-a4d9c151.system.entry.js +4 -0
  441. package/lib/duet/p-a5d65d5f.entry.js +4 -0
  442. package/lib/duet/{p-ec9dbf7d.system.entry.js → p-a7768425.system.entry.js} +2 -2
  443. package/lib/duet/p-a7c62459.system.entry.js +4 -0
  444. package/lib/duet/{p-7fcbb429.system.entry.js → p-a8301a1a.system.entry.js} +1 -1
  445. package/lib/duet/{p-dd9e6250.system.entry.js → p-a9891098.system.entry.js} +1 -1
  446. package/lib/duet/p-aa1f6b55.entry.js +4 -0
  447. package/lib/duet/p-ac596f9f.entry.js +4 -0
  448. package/lib/duet/p-acd65ed7.entry.js +4 -0
  449. package/lib/duet/p-ad433963.system.entry.js +4 -0
  450. package/lib/duet/{p-87e7e6d8.entry.js → p-ae714885.entry.js} +1 -1
  451. package/lib/duet/p-aeaa9698.entry.js +4 -0
  452. package/lib/duet/{p-1dc415a6.system.entry.js → p-aface64d.system.entry.js} +1 -1
  453. package/lib/duet/p-afadf391.entry.js +4 -0
  454. package/lib/duet/p-b0be53ba.entry.js +4 -0
  455. package/lib/duet/p-b25d69bf.system.entry.js +4 -0
  456. package/lib/duet/p-b2b49d1a.entry.js +4 -0
  457. package/lib/duet/p-b3bff87d.entry.js +4 -0
  458. package/lib/duet/{p-6f74db7d.system.entry.js → p-b5e50220.system.entry.js} +2 -2
  459. package/lib/duet/{p-ec7dd416.system.entry.js → p-b70dd317.system.entry.js} +1 -1
  460. package/lib/duet/p-b8fc9725.system.entry.js +4 -0
  461. package/lib/duet/p-b9772bdf.entry.js +4 -0
  462. package/lib/duet/p-b9e27ff4.entry.js +4 -0
  463. package/lib/duet/{p-9ef3bc8d.system.entry.js → p-ba7fbd88.system.entry.js} +1 -1
  464. package/lib/duet/p-bd936407.js +4 -0
  465. package/lib/duet/{p-24046fe3.system.entry.js → p-bddc227d.system.entry.js} +1 -1
  466. package/lib/duet/{p-b3c24039.system.entry.js → p-bf5630d6.system.entry.js} +1 -1
  467. package/lib/duet/p-bfecf35c.entry.js +4 -0
  468. package/lib/duet/p-c1445714.system.js +1 -1
  469. package/lib/duet/p-c3de57c1.system.entry.js +4 -0
  470. package/lib/duet/{p-81e718f5.system.entry.js → p-c45a4823.system.entry.js} +1 -1
  471. package/lib/duet/p-c45c1cc8.entry.js +4 -0
  472. package/lib/duet/{p-29ef8ffc.system.entry.js → p-c5759522.system.entry.js} +1 -1
  473. package/lib/duet/p-c62ed778.entry.js +4 -0
  474. package/lib/duet/{p-81681caf.entry.js → p-cb4e6c86.entry.js} +1 -1
  475. package/lib/duet/p-cf83f662.entry.js +4 -0
  476. package/lib/duet/p-d0f3224e.entry.js +4 -0
  477. package/lib/duet/{p-bdd90cdd.system.entry.js → p-d52fa492.system.entry.js} +1 -1
  478. package/lib/duet/p-d6c95c73.system.entry.js +4 -0
  479. package/lib/duet/p-d920063d.entry.js +4 -0
  480. package/lib/duet/p-dde61943.system.js +4 -0
  481. package/lib/duet/p-e0db32fc.system.entry.js +4 -0
  482. package/lib/duet/p-e38064d5.entry.js +4 -0
  483. package/lib/duet/p-e4674cda.entry.js +4 -0
  484. package/lib/duet/p-e7d7928e.system.js +5 -0
  485. package/lib/duet/{p-8a9f7476.entry.js → p-e824a614.entry.js} +1 -1
  486. package/lib/duet/p-ec143606.entry.js +4 -0
  487. package/lib/duet/{p-aad5c506.system.entry.js → p-ee6f4bc1.system.entry.js} +2 -2
  488. package/lib/duet/p-ee8bcb1f.entry.js +4 -0
  489. package/lib/duet/{p-bc2af760.system.entry.js → p-ef9675f8.system.entry.js} +2 -2
  490. package/lib/duet/{p-ed7d1160.system.entry.js → p-ef9b2ced.system.entry.js} +1 -1
  491. package/lib/duet/p-f0eeebb5.entry.js +4 -0
  492. package/lib/duet/p-f1a726c9.entry.js +4 -0
  493. package/lib/duet/{p-b5bbe11d.system.entry.js → p-f2f1de65.system.entry.js} +2 -2
  494. package/lib/duet/{p-2936ccf3.system.entry.js → p-f6ea07d1.system.entry.js} +1 -1
  495. package/lib/duet/p-f6fc4754.system.entry.js +4 -0
  496. package/lib/duet/p-f9069050.system.entry.js +4 -0
  497. package/lib/duet/p-fbb2d1c4.system.entry.js +4 -0
  498. package/lib/duet/{p-47fa3bf9.entry.js → p-fc76bb60.entry.js} +1 -1
  499. package/lib/duet/p-fd1cbfc8.entry.js +4 -0
  500. package/lib/esm/{app-globals-45aa6d20.js → app-globals-21820dd0.js} +2 -0
  501. package/lib/esm/duet-action-button.entry.js +5 -4
  502. package/lib/esm/duet-alert.entry.js +10 -9
  503. package/lib/esm/duet-badge.entry.js +5 -4
  504. package/lib/esm/duet-banner.entry.js +6 -5
  505. package/lib/esm/duet-breadcrumb.entry.js +8 -7
  506. package/lib/esm/duet-breadcrumbs.entry.js +6 -5
  507. package/lib/esm/duet-button_2.entry.js +13 -11
  508. package/lib/esm/duet-callout.entry.js +6 -5
  509. package/lib/esm/duet-caption_4.entry.js +18 -14
  510. package/lib/esm/duet-card.entry.js +6 -5
  511. package/lib/esm/duet-checkbox.entry.js +3 -2
  512. package/lib/esm/duet-checkmark.entry.js +5 -4
  513. package/lib/esm/duet-chip.entry.js +4 -3
  514. package/lib/esm/duet-choice_2.entry.js +7 -5
  515. package/lib/esm/duet-collapsible.entry.js +6 -5
  516. package/lib/esm/duet-combobox.entry.js +5 -4
  517. package/lib/esm/duet-contact-card.entry.js +6 -5
  518. package/lib/esm/duet-cookie-consent.entry.js +4 -3
  519. package/lib/esm/duet-date-picker.entry.js +6 -5
  520. package/lib/esm/duet-divider_2.entry.js +7 -5
  521. package/lib/esm/duet-editable-table_3.entry.js +13 -10
  522. package/lib/esm/duet-empty-state.entry.js +5 -4
  523. package/lib/esm/duet-fieldset.entry.js +7 -6
  524. package/lib/esm/duet-file-chooser.entry.js +4 -3
  525. package/lib/esm/duet-footer.entry.js +9 -8
  526. package/lib/esm/duet-grid_2.entry.js +5 -3
  527. package/lib/esm/duet-header_2.entry.js +7 -5
  528. package/lib/esm/duet-hero.entry.js +10 -9
  529. package/lib/esm/duet-icon.entry.js +6 -5
  530. package/lib/esm/duet-input_2.entry.js +7 -5
  531. package/lib/esm/duet-layout.entry.js +8 -7
  532. package/lib/esm/duet-list_2.entry.js +8 -6
  533. package/lib/esm/duet-menu-bar-button.entry.js +5 -4
  534. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -4
  535. package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -6
  536. package/lib/esm/duet-menu-bar-item.entry.js +5 -4
  537. package/lib/esm/duet-menu-bar-link.entry.js +5 -4
  538. package/lib/esm/duet-menu-bar.entry.js +5 -4
  539. package/lib/esm/duet-modal.entry.js +17 -14
  540. package/lib/esm/duet-multiselect.entry.js +11 -10
  541. package/lib/esm/duet-nav.entry.js +4 -3
  542. package/lib/esm/duet-notification_2.entry.js +10 -8
  543. package/lib/esm/duet-number-input.entry.js +5 -4
  544. package/lib/esm/duet-overlay.entry.js +4 -3
  545. package/lib/esm/duet-page-heading.entry.js +5 -4
  546. package/lib/esm/duet-pagination_2.entry.js +19 -17
  547. package/lib/esm/duet-popup-menu-item.entry.js +4 -3
  548. package/lib/esm/duet-popup-menu.entry.js +6 -5
  549. package/lib/esm/duet-progress.entry.js +4 -3
  550. package/lib/esm/duet-promo-card.entry.js +6 -5
  551. package/lib/esm/duet-radio_2.entry.js +6 -4
  552. package/lib/esm/duet-range-slider.entry.js +3 -2
  553. package/lib/esm/duet-scrollable_3.entry.js +44 -23
  554. package/lib/esm/duet-section-layout.entry.js +6 -5
  555. package/lib/esm/duet-select.entry.js +4 -3
  556. package/lib/esm/duet-shaped-image.entry.js +5 -4
  557. package/lib/esm/duet-show-more.entry.js +6 -5
  558. package/lib/esm/duet-slideout-lang.entry.js +5 -4
  559. package/lib/esm/duet-slideout-link.entry.js +5 -4
  560. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -6
  561. package/lib/esm/duet-slideout-panel.entry.js +12 -11
  562. package/lib/esm/duet-slideout.entry.js +10 -9
  563. package/lib/esm/duet-step_2.entry.js +6 -4
  564. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -4
  565. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -6
  566. package/lib/esm/duet-submenu-bar-item.entry.js +4 -3
  567. package/lib/esm/duet-submenu-bar-link.entry.js +4 -3
  568. package/lib/esm/duet-submenu-bar.entry.js +7 -6
  569. package/lib/esm/duet-textarea.entry.js +4 -3
  570. package/lib/esm/duet-toggle.entry.js +3 -2
  571. package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -4
  572. package/lib/esm/duet-toolbar-dropdown.entry.js +7 -6
  573. package/lib/esm/duet-toolbar-item.entry.js +5 -4
  574. package/lib/esm/duet-toolbar-link.entry.js +5 -4
  575. package/lib/esm/duet-toolbar.entry.js +4 -3
  576. package/lib/esm/duet-tooltip-button_2.entry.js +10 -8
  577. package/lib/esm/duet-tooltip.entry.js +5 -4
  578. package/lib/esm/duet-tray.entry.js +6 -5
  579. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  580. package/lib/esm/duet-upload-item.entry.js +7 -6
  581. package/lib/esm/duet-visually-hidden.entry.js +4 -3
  582. package/lib/esm/duet.js +16 -16
  583. package/lib/esm/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
  584. package/lib/{dist-custom-elements/p-31ed51c3.js → esm/floating-ui.dom.esm-ebc91b33.js} +1 -1
  585. package/lib/esm/{focus-utils-f0e6853d.js → focus-utils-f583d4fb.js} +1 -1
  586. package/lib/esm/index-640026f0.js +1962 -0
  587. package/lib/esm/{language-utils-00ca4c55.js → language-utils-eda57343.js} +1 -0
  588. package/lib/esm/loader.js +5 -5
  589. package/lib/esm/{slot-utils-b50aaef5.js → slot-utils-00899492.js} +2 -0
  590. package/lib/esm/token-utils-1f843fb9.js +1 -1
  591. package/lib/esm-es5/app-globals-21820dd0.js +4 -0
  592. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  593. package/lib/esm-es5/duet-alert.entry.js +2 -2
  594. package/lib/esm-es5/duet-badge.entry.js +1 -1
  595. package/lib/esm-es5/duet-banner.entry.js +1 -1
  596. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  597. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  598. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  599. package/lib/esm-es5/duet-callout.entry.js +1 -1
  600. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  601. package/lib/esm-es5/duet-card.entry.js +1 -1
  602. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  603. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  604. package/lib/esm-es5/duet-chip.entry.js +2 -2
  605. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  606. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  607. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  608. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  609. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  610. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  611. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  612. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  613. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  614. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  615. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  616. package/lib/esm-es5/duet-footer.entry.js +1 -1
  617. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  618. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-hero.entry.js +2 -2
  620. package/lib/esm-es5/duet-icon.entry.js +2 -2
  621. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  622. package/lib/esm-es5/duet-layout.entry.js +1 -1
  623. package/lib/esm-es5/duet-list_2.entry.js +2 -2
  624. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  625. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  626. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  627. package/lib/esm-es5/duet-menu-bar-item.entry.js +2 -2
  628. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  629. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  630. package/lib/esm-es5/duet-modal.entry.js +2 -2
  631. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  632. package/lib/esm-es5/duet-nav.entry.js +1 -1
  633. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  634. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  635. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  636. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  637. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  638. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  639. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  640. package/lib/esm-es5/duet-progress.entry.js +1 -1
  641. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  642. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  643. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  644. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  645. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  646. package/lib/esm-es5/duet-select.entry.js +1 -1
  647. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  648. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  649. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  650. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  651. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  652. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  653. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  654. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  655. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  656. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  657. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  658. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  659. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  660. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  661. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  662. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  663. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  664. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  665. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  666. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  667. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  668. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  669. package/lib/esm-es5/duet-tray.entry.js +1 -1
  670. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  671. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  672. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  673. package/lib/esm-es5/duet.js +2 -2
  674. package/lib/esm-es5/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
  675. package/lib/esm-es5/{floating-ui.dom.esm-01fcd83a.js → floating-ui.dom.esm-ebc91b33.js} +1 -1
  676. package/lib/esm-es5/focus-utils-f583d4fb.js +4 -0
  677. package/lib/esm-es5/index-640026f0.js +5 -0
  678. package/lib/esm-es5/language-utils-eda57343.js +4 -0
  679. package/lib/esm-es5/loader.js +2 -2
  680. package/lib/esm-es5/slot-utils-00899492.js +4 -0
  681. package/lib/esm-es5/token-utils-1f843fb9.js +1 -1
  682. package/lib/loader/cdn.js +1 -1
  683. package/lib/loader/index.cjs.js +1 -1
  684. package/lib/loader/index.d.ts +3 -0
  685. package/lib/loader/index.es2017.js +1 -1
  686. package/lib/loader/index.js +1 -1
  687. package/lib/types/components/duet-modal/duet-modal.d.ts +1 -0
  688. package/lib/types/components/duet-upload/mock.helpers.d.ts +1 -0
  689. package/lib/types/stencil-public-runtime.d.ts +3 -10
  690. package/lib/types/utils/axe-core-utils.d.ts +2 -1
  691. package/lib/types/utils/test-utils.d.ts +22 -10
  692. package/lib/types/utils/watch-options.d.ts +2 -2
  693. package/package.json +17 -16
  694. package/lib/cjs/index-c3716ea8.js +0 -2836
  695. package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +0 -13
  696. package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +0 -20
  697. package/lib/collection/components/duet-alert/duet-alert.e2e.js +0 -53
  698. package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +0 -20
  699. package/lib/collection/components/duet-badge/duet-badge.e2e.js +0 -28
  700. package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +0 -34
  701. package/lib/collection/components/duet-banner/duet-banner.e2e.js +0 -23
  702. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +0 -17
  703. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.e2e.js +0 -18
  704. package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +0 -48
  705. package/lib/collection/components/duet-button/duet-button.e2e.js +0 -212
  706. package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +0 -17
  707. package/lib/collection/components/duet-callout/duet-callout.e2e.js +0 -21
  708. package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +0 -13
  709. package/lib/collection/components/duet-caption/duet-caption.e2e.js +0 -26
  710. package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +0 -29
  711. package/lib/collection/components/duet-card/duet-card.e2e.js +0 -91
  712. package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +0 -20
  713. package/lib/collection/components/duet-checkbox/duet-checkbox.e2e.js +0 -112
  714. package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +0 -25
  715. package/lib/collection/components/duet-chip/duet-chip.e2e.js +0 -56
  716. package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +0 -79
  717. package/lib/collection/components/duet-choice/duet-choice.e2e.js +0 -184
  718. package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +0 -17
  719. package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +0 -102
  720. package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +0 -24
  721. package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +0 -123
  722. package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +0 -17
  723. package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +0 -153
  724. package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +0 -36
  725. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +0 -16
  726. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +0 -27
  727. package/lib/collection/components/duet-date-picker/date-utils.spec.js +0 -330
  728. package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +0 -13
  729. package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +0 -693
  730. package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +0 -13
  731. package/lib/collection/components/duet-divider/duet-divider.e2e.js +0 -32
  732. package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +0 -202
  733. package/lib/collection/components/duet-editable-table/duet-editable-table.e2e.js +0 -29
  734. package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +0 -15
  735. package/lib/collection/components/duet-empty-state/duet-empty-state.e2e.js +0 -16
  736. package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +0 -17
  737. package/lib/collection/components/duet-fieldset/duet-fieldset.e2e.js +0 -13
  738. package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +0 -22
  739. package/lib/collection/components/duet-footer/duet-footer.e2e.js +0 -186
  740. package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +0 -17
  741. package/lib/collection/components/duet-grid/duet-grid.e2e.js +0 -42
  742. package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +0 -42
  743. package/lib/collection/components/duet-header/duet-header.e2e.js +0 -470
  744. package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +0 -13
  745. package/lib/collection/components/duet-heading/duet-heading.e2e.js +0 -27
  746. package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +0 -70
  747. package/lib/collection/components/duet-hero/duet-hero.e2e.js +0 -172
  748. package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +0 -13
  749. package/lib/collection/components/duet-icon/duet-icon.e2e.js +0 -27
  750. package/lib/collection/components/duet-icon/icon-utils.spec.js +0 -84
  751. package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +0 -33
  752. package/lib/collection/components/duet-input/duet-input.e2e.js +0 -201
  753. package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +0 -14
  754. package/lib/collection/components/duet-label/duet-label.e2e.js +0 -32
  755. package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +0 -18
  756. package/lib/collection/components/duet-layout/duet-layout.e2e.js +0 -32
  757. package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +0 -39
  758. package/lib/collection/components/duet-link/duet-link.e2e.js +0 -53
  759. package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +0 -30
  760. package/lib/collection/components/duet-list/duet-list.e2e.js +0 -105
  761. package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +0 -13
  762. package/lib/collection/components/duet-logo/duet-logo.e2e.js +0 -42
  763. package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +0 -63
  764. package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +0 -49
  765. package/lib/collection/components/duet-modal/duet-modal.e2e.js +0 -113
  766. package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +0 -22
  767. package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +0 -157
  768. package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +0 -20
  769. package/lib/collection/components/duet-notification/duet-notification.e2e.js +0 -12
  770. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +0 -28
  771. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.e2e.js +0 -177
  772. package/lib/collection/components/duet-number-input/duet-number-input-negative.e2e.js +0 -32
  773. package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +0 -14
  774. package/lib/collection/components/duet-number-input/duet-number-input.e2e.js +0 -242
  775. package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +0 -15
  776. package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +0 -36
  777. package/lib/collection/components/duet-pagination/duet-pagination.e2e.js +0 -101
  778. package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +0 -18
  779. package/lib/collection/components/duet-paragraph/duet-paragraph.e2e.js +0 -27
  780. package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +0 -27
  781. package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +0 -17
  782. package/lib/collection/components/duet-progress/duet-progress.e2e.js +0 -12
  783. package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +0 -43
  784. package/lib/collection/components/duet-promo-card/duet-promo-card.e2e.js +0 -23
  785. package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +0 -13
  786. package/lib/collection/components/duet-radio/duet-radio.e2e.js +0 -135
  787. package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +0 -36
  788. package/lib/collection/components/duet-radio-group/duet-radio-group.e2e.js +0 -57
  789. package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +0 -14
  790. package/lib/collection/components/duet-range-slider/duet-range-slider.e2e.js +0 -57
  791. package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +0 -13
  792. package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +0 -52
  793. package/lib/collection/components/duet-range-stepper/duet-range-stepper.spec.js +0 -23
  794. package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +0 -17
  795. package/lib/collection/components/duet-scrollable/duet-scrollable.e2e.js +0 -12
  796. package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +0 -18
  797. package/lib/collection/components/duet-section-layout/duet-section-layout.e2e.js +0 -22
  798. package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +0 -45
  799. package/lib/collection/components/duet-select/duet-select.e2e.js +0 -211
  800. package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +0 -20
  801. package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +0 -13
  802. package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +0 -47
  803. package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +0 -13
  804. package/lib/collection/components/duet-spacer/duet-spacer.e2e.js +0 -27
  805. package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +0 -13
  806. package/lib/collection/components/duet-spinner/duet-spinner.e2e.js +0 -30
  807. package/lib/collection/components/duet-step/duet-step.e2e.js +0 -94
  808. package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +0 -26
  809. package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +0 -84
  810. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +0 -21
  811. package/lib/collection/components/duet-tab/duet-tab.e2e.js +0 -16
  812. package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +0 -16
  813. package/lib/collection/components/duet-tab-group/duet-tab-group.e2e.js +0 -108
  814. package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +0 -35
  815. package/lib/collection/components/duet-table/duet-table.e2e.js +0 -95
  816. package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +0 -28
  817. package/lib/collection/components/duet-textarea/duet-textarea.e2e.js +0 -199
  818. package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +0 -13
  819. package/lib/collection/components/duet-toggle/duet-toggle.e2e.js +0 -73
  820. package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +0 -82
  821. package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +0 -34
  822. package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +0 -104
  823. package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +0 -22
  824. package/lib/collection/components/duet-tray/duet-tray.e2e.js +0 -103
  825. package/lib/collection/components/duet-upload/duet-upload.e2e.js +0 -48
  826. package/lib/collection/components/duet-upload/upload-validators.spec.js +0 -41
  827. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +0 -15
  828. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.e2e.js +0 -12
  829. package/lib/collection/utils/create-id.spec.js +0 -12
  830. package/lib/collection/utils/js-utils.spec.js +0 -22
  831. package/lib/collection/utils/language-utils.spec.js +0 -159
  832. package/lib/collection/utils/math.utils.spec.js +0 -140
  833. package/lib/collection/utils/string-utils.spec.js +0 -39
  834. package/lib/collection/utils/template-utils.spec.js +0 -39
  835. package/lib/collection/utils/token-utils.spec.js +0 -178
  836. package/lib/dist-custom-elements/p-33937fd7.js +0 -183
  837. package/lib/dist-custom-elements/p-d160ca6a.js +0 -2333
  838. package/lib/duet/p-021968b7.system.entry.js +0 -4
  839. package/lib/duet/p-039f1ee1.system.entry.js +0 -4
  840. package/lib/duet/p-06e608ae.js +0 -4
  841. package/lib/duet/p-09fdd234.entry.js +0 -4
  842. package/lib/duet/p-0b515d0c.system.entry.js +0 -4
  843. package/lib/duet/p-0b7e7cdd.entry.js +0 -4
  844. package/lib/duet/p-12e97d2c.entry.js +0 -4
  845. package/lib/duet/p-17abbe45.system.entry.js +0 -4
  846. package/lib/duet/p-1a815d69.entry.js +0 -4
  847. package/lib/duet/p-1c90a161.system.entry.js +0 -4
  848. package/lib/duet/p-1f0c6aa9.entry.js +0 -4
  849. package/lib/duet/p-224f6c46.system.js +0 -4
  850. package/lib/duet/p-252c61f9.entry.js +0 -4
  851. package/lib/duet/p-259a297a.system.js +0 -4
  852. package/lib/duet/p-2757e1be.entry.js +0 -4
  853. package/lib/duet/p-286cbd79.system.entry.js +0 -4
  854. package/lib/duet/p-2a3b428e.entry.js +0 -4
  855. package/lib/duet/p-2e36d5bf.js +0 -4
  856. package/lib/duet/p-2e615f90.entry.js +0 -4
  857. package/lib/duet/p-2f1b5c7d.js +0 -5
  858. package/lib/duet/p-354e8617.entry.js +0 -4
  859. package/lib/duet/p-36340a70.entry.js +0 -4
  860. package/lib/duet/p-36a4e269.system.entry.js +0 -4
  861. package/lib/duet/p-37aab3fc.entry.js +0 -4
  862. package/lib/duet/p-3aca8b0e.entry.js +0 -4
  863. package/lib/duet/p-3eb18ea9.system.entry.js +0 -4
  864. package/lib/duet/p-45ec9edc.entry.js +0 -4
  865. package/lib/duet/p-47ba309d.system.entry.js +0 -4
  866. package/lib/duet/p-48de6532.entry.js +0 -4
  867. package/lib/duet/p-4918a89e.entry.js +0 -4
  868. package/lib/duet/p-4bbe62cc.system.entry.js +0 -4
  869. package/lib/duet/p-4c41c996.system.entry.js +0 -4
  870. package/lib/duet/p-4db9c3d9.entry.js +0 -4
  871. package/lib/duet/p-52899472.entry.js +0 -4
  872. package/lib/duet/p-5318851f.system.entry.js +0 -4
  873. package/lib/duet/p-57346eff.system.entry.js +0 -4
  874. package/lib/duet/p-5747dc4a.entry.js +0 -4
  875. package/lib/duet/p-5852bc10.system.entry.js +0 -4
  876. package/lib/duet/p-59923821.system.entry.js +0 -4
  877. package/lib/duet/p-5c1c9204.system.entry.js +0 -4
  878. package/lib/duet/p-5f07590d.entry.js +0 -4
  879. package/lib/duet/p-61a1045e.entry.js +0 -4
  880. package/lib/duet/p-647e7930.entry.js +0 -4
  881. package/lib/duet/p-68ff07cc.entry.js +0 -4
  882. package/lib/duet/p-694dc2b2.entry.js +0 -4
  883. package/lib/duet/p-69b8ad83.system.entry.js +0 -4
  884. package/lib/duet/p-6ae750db.system.entry.js +0 -4
  885. package/lib/duet/p-6d7602d0.system.entry.js +0 -4
  886. package/lib/duet/p-6d839458.js +0 -4
  887. package/lib/duet/p-6dd2833f.entry.js +0 -4
  888. package/lib/duet/p-6e788570.entry.js +0 -4
  889. package/lib/duet/p-7187fcdb.entry.js +0 -4
  890. package/lib/duet/p-72a9c332.entry.js +0 -4
  891. package/lib/duet/p-7bba0a5f.entry.js +0 -4
  892. package/lib/duet/p-8030ac7d.entry.js +0 -4
  893. package/lib/duet/p-808390ff.entry.js +0 -4
  894. package/lib/duet/p-80c37175.system.entry.js +0 -4
  895. package/lib/duet/p-81488a05.system.js +0 -4
  896. package/lib/duet/p-820439f1.system.entry.js +0 -4
  897. package/lib/duet/p-848fd377.system.entry.js +0 -4
  898. package/lib/duet/p-86bb5185.entry.js +0 -4
  899. package/lib/duet/p-8868aefd.system.entry.js +0 -4
  900. package/lib/duet/p-8aa74f9c.system.entry.js +0 -4
  901. package/lib/duet/p-8c610e96.system.entry.js +0 -4
  902. package/lib/duet/p-916d8f4e.system.entry.js +0 -4
  903. package/lib/duet/p-92dd9326.entry.js +0 -4
  904. package/lib/duet/p-93abcf6f.system.entry.js +0 -4
  905. package/lib/duet/p-95ba5b53.system.entry.js +0 -4
  906. package/lib/duet/p-95bba705.entry.js +0 -4
  907. package/lib/duet/p-9c102070.system.entry.js +0 -4
  908. package/lib/duet/p-9c5e5c04.entry.js +0 -4
  909. package/lib/duet/p-9cbcb120.entry.js +0 -4
  910. package/lib/duet/p-a072af11.entry.js +0 -4
  911. package/lib/duet/p-a0be10bb.entry.js +0 -4
  912. package/lib/duet/p-a2ebc336.entry.js +0 -4
  913. package/lib/duet/p-a3def4ae.entry.js +0 -4
  914. package/lib/duet/p-a42bd424.system.entry.js +0 -4
  915. package/lib/duet/p-a52cfc5a.entry.js +0 -4
  916. package/lib/duet/p-a532d984.entry.js +0 -4
  917. package/lib/duet/p-a58f39e3.entry.js +0 -4
  918. package/lib/duet/p-a74d3389.system.entry.js +0 -4
  919. package/lib/duet/p-a787f19b.system.entry.js +0 -4
  920. package/lib/duet/p-a7b5f7e2.system.entry.js +0 -4
  921. package/lib/duet/p-aab7c415.system.js +0 -5
  922. package/lib/duet/p-ac32b610.entry.js +0 -4
  923. package/lib/duet/p-adcab9d7.system.entry.js +0 -4
  924. package/lib/duet/p-ae21ad57.system.js +0 -4
  925. package/lib/duet/p-b3bb7acb.entry.js +0 -4
  926. package/lib/duet/p-b86e538f.system.entry.js +0 -4
  927. package/lib/duet/p-bbe8cb06.system.entry.js +0 -4
  928. package/lib/duet/p-bbf58838.entry.js +0 -4
  929. package/lib/duet/p-bda99d9b.entry.js +0 -4
  930. package/lib/duet/p-be1dc5c4.entry.js +0 -4
  931. package/lib/duet/p-c1cc3eeb.entry.js +0 -4
  932. package/lib/duet/p-c75f879a.entry.js +0 -4
  933. package/lib/duet/p-c7626b56.entry.js +0 -4
  934. package/lib/duet/p-c7d7a477.system.entry.js +0 -4
  935. package/lib/duet/p-c7e75e4b.entry.js +0 -4
  936. package/lib/duet/p-d3964acf.entry.js +0 -4
  937. package/lib/duet/p-d43d061f.entry.js +0 -4
  938. package/lib/duet/p-d4c16da7.system.entry.js +0 -4
  939. package/lib/duet/p-d5eff7a7.system.js +0 -4
  940. package/lib/duet/p-d778d2ac.entry.js +0 -4
  941. package/lib/duet/p-dade1b81.entry.js +0 -4
  942. package/lib/duet/p-de217be7.entry.js +0 -4
  943. package/lib/duet/p-dfdc8492.system.entry.js +0 -4
  944. package/lib/duet/p-e11847f2.entry.js +0 -4
  945. package/lib/duet/p-e2760c6f.system.entry.js +0 -4
  946. package/lib/duet/p-e5f76223.entry.js +0 -4
  947. package/lib/duet/p-e81fdc04.entry.js +0 -4
  948. package/lib/duet/p-ec29ee80.system.entry.js +0 -4
  949. package/lib/duet/p-f04ed9cd.entry.js +0 -4
  950. package/lib/duet/p-f2da4d8f.entry.js +0 -4
  951. package/lib/duet/p-f6d62e5a.system.entry.js +0 -4
  952. package/lib/duet/p-ff45b962.entry.js +0 -4
  953. package/lib/duet/p-ff7efd44.entry.js +0 -4
  954. package/lib/esm/index-0f5e92a8.js +0 -2802
  955. package/lib/esm-es5/app-globals-45aa6d20.js +0 -4
  956. package/lib/esm-es5/focus-utils-f0e6853d.js +0 -4
  957. package/lib/esm-es5/index-0f5e92a8.js +0 -5
  958. package/lib/esm-es5/language-utils-00ca4c55.js +0 -4
  959. package/lib/esm-es5/slot-utils-b50aaef5.js +0 -4
@@ -1,5 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function f(r){try{o(t.next(r))}catch(r){a(r)}}function u(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?n(r.value):i(r.value).then(f,u)}o((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,f;return f={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function u(r){return function(e){return o([r,e])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(r,n)}catch(r){u=[6,r];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t=r("N","duet");var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:true,invisiblePrehydration:false,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:true,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var a=r("E",{cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.54"});var f;var u;var o;var l=false;var v=false;var s=false;var c=false;var d=false;var h=r("B",{isDev:false,isBrowser:true,isServer:false,isTesting:false});var p=function(r,e){if(e===void 0){e=""}{return function(){return}}};var $=function(r,e){{return function(){return}}};var m="r";var y="o";var b="s";var w="t";var g="s-id";var _="sty-id";var S="c-id";var k="slot-fb{display:contents}slot-fb[hidden]{display:none}";var x="http://www.w3.org/1999/xlink";var j={};var C="http://www.w3.org/2000/svg";var O="http://www.w3.org/1999/xhtml";var A=function(r){return r!=null};var T=function(r){r=typeof r;return r==="object"||r==="function"};function R(r){var e,n,t;return(t=(n=(e=r.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&t!==void 0?t:undefined}var L=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var f=null;var u=false;var o=false;var l=[];var v=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){v(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!T(i)){i=String(i)}if(u&&o){l[l.length-1].t+=i}else{l.push(u?D(null,i):i)}o=u}}};v(n);if(e){if(e.key){a=e.key}if(e.name){f=e.name}{var s=e.className||e.class;if(s){e.class=typeof s!=="object"?s:Object.keys(s).filter((function(r){return s[r]})).join(" ")}}}if(typeof r==="function"){return r(e===null?{}:e,l,N)}var c=D(r,null);c.i=e;if(l.length>0){c.u=l}{c.o=a}{c.l=f}return c}));var D=function(r,e){var n={v:0,h:r,t:e,p:null,u:null};{n.i=null}{n.o=null}{n.l=null}return n};var F=r("H",{});var M=function(r){return r&&r.h===F};var N={forEach:function(r,e){return r.map(P).forEach(e)},map:function(r,e){return r.map(P).map(e).map(U)}};var P=function(r){return{vattrs:r.i,vchildren:r.u,vkey:r.o,vname:r.l,vtag:r.h,vtext:r.t}};var U=function(r){if(typeof r.vtag==="function"){var e=Object.assign({},r.vattrs);if(r.vkey){e.key=r.vkey}if(r.vname){e.name=r.vname}return L.apply(void 0,__spreadArray([r.vtag,e],r.vchildren||[],false))}var n=D(r.vtag,r.vtext);n.i=r.vattrs;n.u=r.vchildren;n.o=r.vkey;n.l=r.vname;return n};var E=function(r,e,n,t){var i=p("hydrateClient",e);var a=r.shadowRoot;var f=[];var u=[];var o=a?[]:null;var l=t.$=D(e,null);if(!ie.m){W(te.body,ie.m=new Map)}r[g]=n;r.removeAttribute(g);I(l,f,u,o,r,r,n);f.map((function(r){var n=r._+"."+r.S;var t=ie.m.get(n);var i=r.p;if(t&&ae&&t["s-en"]===""){t.parentNode.insertBefore(i,t.nextSibling)}if(!a){i["s-hn"]=e;if(t){i["s-ol"]=t;i["s-ol"]["s-nr"]=i}}ie.m.delete(n)}));if(a){o.map((function(r){if(r){a.appendChild(r)}}))}i()};var I=function(r,e,n,t,i,a,f){var u;var o;var l;var v;if(a.nodeType===1){u=a.getAttribute(S);if(u){o=u.split(".");if(o[0]===f||o[0]==="0"){l={v:0,_:o[0],S:o[1],k:o[2],j:o[3],h:a.tagName.toLowerCase(),p:a,i:null,u:null,o:null,l:null,t:null};e.push(l);a.removeAttribute(S);if(!r.u){r.u=[]}r.u[l.j]=l;r=l;if(t&&l.k==="0"){t[l.j]=l.p}}}for(v=a.childNodes.length-1;v>=0;v--){I(r,e,n,t,i,a.childNodes[v],f)}if(a.shadowRoot){for(v=a.shadowRoot.childNodes.length-1;v>=0;v--){I(r,e,n,t,i,a.shadowRoot.childNodes[v],f)}}}else if(a.nodeType===8){o=a.nodeValue.split(".");if(o[1]===f||o[1]==="0"){u=o[0];l={v:0,_:o[1],S:o[2],k:o[3],j:o[4],p:a,i:null,u:null,o:null,l:null,h:null,t:null};if(u===w){l.p=a.nextSibling;if(l.p&&l.p.nodeType===3){l.t=l.p.textContent;e.push(l);a.remove();if(!r.u){r.u=[]}r.u[l.j]=l;if(t&&l.k==="0"){t[l.j]=l.p}}}else if(l._===f){if(u===b){l.h="slot";if(o[5]){a["s-sn"]=l.l=o[5]}else{a["s-sn"]=""}a["s-sr"]=true;if(t){l.p=te.createElement(l.h);if(l.l){l.p.setAttribute("name",l.l)}a.parentNode.insertBefore(l.p,a);a.remove();if(l.k==="0"){t[l.j]=l.p}}n.push(l);if(!r.u){r.u=[]}r.u[l.j]=l}else if(u===m){if(t){a.remove()}else{i["s-cr"]=a;a["s-cn"]=true}}}}}else if(r&&r.h==="style"){var s=D(null,a.textContent);s.p=a;s.j="0";r.u=[s]}};var W=function(r,e){if(r.nodeType===1){var n=0;for(;n<r.childNodes.length;n++){W(r.childNodes[n],e)}if(r.shadowRoot){for(n=0;n<r.shadowRoot.childNodes.length;n++){W(r.shadowRoot.childNodes[n],e)}}}else if(r.nodeType===8){var t=r.nodeValue.split(".");if(t[0]===y){e.set(t[1]+"."+t[2],r);r.nodeValue="";r["s-en"]=t[3]}}};var B=function(r,e){if(r!=null&&!T(r)){if(e&4){return r==="false"?false:r===""||!!r}if(e&2){return parseFloat(r)}if(e&1){return String(r)}return r}return r};var z=r("g",(function(r){return Gr(r).$hostElement$}));var H=r("c",(function(r,e,n){var t=z(r);return{emit:function(r){return Q(t,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}}}));var Q=function(r,e,n){var t=ie.ce(e,n);r.dispatchEvent(t);return t};var V=new WeakMap;var q=function(r,e,n){var t=ee.get(r);if(ue&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}ee.set(r,t)};var G=function(r,e,n){var t;var i=X(e);var a=ee.get(i);r=r.nodeType===11?r:te;if(a){if(typeof a==="string"){r=r.head||r;var f=V.get(r);var u=void 0;if(!f){V.set(r,f=new Set)}if(!f.has(i)){if(r.host&&(u=r.querySelector("[".concat(_,'="').concat(i,'"]')))){u.innerHTML=a}else{u=te.createElement("style");u.innerHTML=a;var o=(t=ie.C)!==null&&t!==void 0?t:R(te);if(o!=null){u.setAttribute("nonce",o)}r.insertBefore(u,r.querySelector("link"))}if(e.v&4){u.innerHTML+=k}if(f){f.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var K=function(r){var e=r.O;var n=r.$hostElement$;var t=e.v;var i=p("attachStyles",e.A);var a=G(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10){n["s-sc"]=a;n.classList.add(a+"-h");if(t&2){n.classList.add(a+"-s")}}i()};var X=function(r,e){return"sc-"+r.A};var J=function(r){return r.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var Y=function(r,e,n,t,i,a){if(n!==t){var f=Jr(r,e);var u=e.toLowerCase();if(e==="class"){var o=r.classList;var l=rr(n);var v=rr(t);o.remove.apply(o,l.filter((function(r){return r&&!v.includes(r)})));o.add.apply(o,v.filter((function(r){return r&&!l.includes(r)})))}else if(e==="style"){{for(var s in n){if(!t||t[s]==null){if(s.includes("-")){r.style.removeProperty(s)}else{r.style[s]=""}}}}for(var s in t){if(!n||t[s]!==n[s]){if(s.includes("-")){r.style.setProperty(s,t[s])}else{r.style[s]=t[s]}}}}else if(e==="key");else if(e==="ref"){if(t){t(r)}}else if(!f&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Jr(ne,u)){e=u.slice(2)}else{e=u[2]+e.slice(3)}if(n||t){var c=e.endsWith(er);e=e.replace(nr,"");if(n){ie.rel(r,e,n,c)}if(t){ie.ael(r,e,t,c)}}}else{var d=T(t);if((f||d&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var h=t==null?"":t;if(e==="list"){f=false}else if(n==null||r[e]!=h){r[e]=h}}else{r[e]=t}}catch(r){}}var p=false;{if(u!==(u=u.replace(/^xlink\:?/,""))){e=u;p=true}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){if(p){r.removeAttributeNS(x,e)}else{r.removeAttribute(e)}}}else if((!f||a&4||i)&&!d){t=t===true?"":t;if(p){r.setAttributeNS(x,e,t)}else{r.setAttribute(e,t)}}}}};var Z=/\s/;var rr=function(r){return!r?[]:r.split(Z)};var er="Capture";var nr=new RegExp(er+"$");var tr=function(r,e,n,t){var i=e.p.nodeType===11&&e.p.host?e.p.host:e.p;var a=r&&r.i||j;var f=e.i||j;{for(t in a){if(!(t in f)){Y(i,t,a[t],undefined,n,e.v)}}}for(t in f){Y(i,t,a[t],f[t],n,e.v)}};var ir=function(r,e,n,t){var i=e.u[n];var a=0;var v;var d;var h;if(!l){s=true;if(i.h==="slot"){if(f){t.classList.add(f+"-s")}i.v|=i.u?2:1}}if(i.t!==null){v=i.p=te.createTextNode(i.t)}else if(i.v&1){v=i.p=te.createTextNode("")}else{if(!c){c=i.h==="svg"}v=i.p=te.createElementNS(c?C:O,i.v&2?"slot-fb":i.h);if(c&&i.h==="foreignObject"){c=false}{tr(null,i,c)}if(A(f)&&v["s-si"]!==f){v.classList.add(v["s-si"]=f)}if(i.u){for(a=0;a<i.u.length;++a){d=ir(r,i,a,v);if(d){v.appendChild(d)}}}{if(i.h==="svg"){c=false}else if(v.tagName==="foreignObject"){c=true}}}v["s-hn"]=o;{if(i.v&(2|1)){v["s-sr"]=true;v["s-cr"]=u;v["s-sn"]=i.l||"";h=r&&r.u&&r.u[n];if(h&&h.h===i.h&&r.p){{ar(r.p,false)}}}}return v};var ar=function(r,e){ie.v|=1;var n=r.childNodes;for(var t=n.length-1;t>=0;t--){var i=n[t];if(i["s-hn"]!==o&&i["s-ol"]){sr(i).insertBefore(i,vr(i));i["s-ol"].remove();i["s-ol"]=undefined;i["s-sh"]=undefined;s=true}if(e){ar(i,e)}}ie.v&=~1};var fr=function(r,e,n,t,i,a){var f=r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(f.shadowRoot&&f.tagName===o){f=f.shadowRoot}for(;i<=a;++i){if(t[i]){u=ir(null,n,i,r);if(u){t[i].p=u;f.insertBefore(u,vr(e))}}}};var ur=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.p;mr(i);if(a){{v=true;if(a["s-ol"]){a["s-ol"].remove()}else{ar(a,true)}}a.remove()}}}};var or=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var f=0;var u=0;var o=0;var l=e.length-1;var v=e[0];var s=e[l];var c=t.length-1;var d=t[0];var h=t[c];var p;var $;while(a<=l&&f<=c){if(v==null){v=e[++a]}else if(s==null){s=e[--l]}else if(d==null){d=t[++f]}else if(h==null){h=t[--c]}else if(lr(v,d,i)){cr(v,d,i);v=e[++a];d=t[++f]}else if(lr(s,h,i)){cr(s,h,i);s=e[--l];h=t[--c]}else if(lr(v,h,i)){if(v.h==="slot"||h.h==="slot"){ar(v.p.parentNode,false)}cr(v,h,i);r.insertBefore(v.p,s.p.nextSibling);v=e[++a];h=t[--c]}else if(lr(s,d,i)){if(v.h==="slot"||h.h==="slot"){ar(s.p.parentNode,false)}cr(s,d,i);r.insertBefore(s.p,v.p);s=e[--l];d=t[++f]}else{u=-1;{for(o=a;o<=l;++o){if(e[o]&&e[o].o!==null&&e[o].o===d.o){u=o;break}}}if(u>=0){$=e[u];if($.h!==d.h){p=ir(e&&e[f],n,u,r)}else{cr($,d,i);e[u]=undefined;p=$.p}d=t[++f]}else{p=ir(e&&e[f],n,f,r);d=t[++f]}if(p){{sr(v.p).insertBefore(p,vr(v.p))}}}}if(a>l){fr(r,t[c+1]==null?null:t[c+1].p,n,t,f,c)}else if(f>c){ur(e,a,l)}};var lr=function(r,e,n){if(n===void 0){n=false}if(r.h===e.h){if(r.h==="slot"){return r.l===e.l}if(!n){return r.o===e.o}return true}return false};var vr=function(r){return r&&r["s-ol"]||r};var sr=function(r){return(r["s-ol"]?r["s-ol"]:r).parentNode};var cr=function(r,e,n){if(n===void 0){n=false}var t=e.p=r.p;var i=r.u;var a=e.u;var f=e.h;var u=e.t;var o;if(u===null){{c=f==="svg"?true:f==="foreignObject"?false:c}{if(f==="slot");else{tr(r,e,c)}}if(i!==null&&a!==null){or(t,i,e,a,n)}else if(a!==null){if(r.t!==null){t.textContent=""}fr(t,null,e,a,0,a.length-1)}else if(i!==null){ur(i,0,i.length-1)}if(c&&f==="svg"){c=false}}else if(o=t["s-cr"]){o.parentNode.textContent=u}else if(r.t!==u){t.data=u}};var dr=function(r){var e=r.childNodes;for(var n=0,t=e;n<t.length;n++){var i=t[n];if(i.nodeType===1){if(i["s-sr"]){var a=i["s-sn"];i.hidden=false;for(var f=0,u=e;f<u.length;f++){var o=u[f];if(o!==i){if(o["s-hn"]!==i["s-hn"]||a!==""){if(o.nodeType===1&&(a===o.getAttribute("slot")||a===o["s-sn"])){i.hidden=true;break}}else{if(o.nodeType===1||o.nodeType===3&&o.textContent.trim()!==""){i.hidden=true;break}}}}}dr(i)}}};var hr=[];var pr=function(r){var e;var n;var t;for(var a=0,f=r.childNodes;a<f.length;a++){var u=f[a];if(u["s-sr"]&&(e=u["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;var o=u["s-sn"];var l=function(){e=n[t];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==u["s-hn"]&&!i.experimentalSlotFixes){if($r(e,o)){var r=hr.find((function(r){return r.T===e}));v=true;e["s-sn"]=e["s-sn"]||o;if(r){r.T["s-sh"]=u["s-hn"];r.R=u}else{e["s-sh"]=u["s-hn"];hr.push({R:u,T:e})}if(e["s-sr"]){hr.map((function(n){if($r(n.T,e["s-sn"])){r=hr.find((function(r){return r.T===e}));if(r&&!n.R){n.R=r.R}}}))}}else if(!hr.some((function(r){return r.T===e}))){hr.push({T:e})}}};for(t=n.length-1;t>=0;t--){l()}}if(u.nodeType===1){pr(u)}}};var $r=function(r,e){if(r.nodeType===1){if(r.getAttribute("slot")===null&&e===""){return true}if(r.getAttribute("slot")===e){return true}return false}if(r["s-sn"]===e){return true}return e===""};var mr=function(r){{r.i&&r.i.ref&&r.i.ref(null);r.u&&r.u.map(mr)}};var yr=function(r,e,n){if(n===void 0){n=false}var t,i,a,c;var d=r.$hostElement$;var h=r.O;var p=r.$||D(null,null);var $=M(e)?e:L(null,null,e);o=d.tagName;if(h.L){$.i=$.i||{};h.L.map((function(r){var e=r[0],n=r[1];return $.i[n]=d[e]}))}if(n&&$.i){for(var m=0,y=Object.keys($.i);m<y.length;m++){var b=y[m];if(d.hasAttribute(b)&&!["key","ref","style","class"].includes(b)){$.i[b]=d[b]}}}$.h=null;$.v|=4;r.$=$;$.p=p.p=d.shadowRoot||d;{f=d["s-sc"]}{u=d["s-cr"];l=(h.v&1)!==0;v=false}cr(p,$,n);{ie.v|=1;if(s){pr($.p);for(var w=0,g=hr;w<g.length;w++){var _=g[w];var S=_.T;if(!S["s-ol"]){var k=te.createTextNode("");k["s-nr"]=S;S.parentNode.insertBefore(S["s-ol"]=k,S)}}for(var x=0,j=hr;x<j.length;x++){var _=j[x];var S=_.T;var C=_.R;if(C){var O=C.parentNode;var A=C.nextSibling;{var k=(t=S["s-ol"])===null||t===void 0?void 0:t.previousSibling;while(k){var T=(i=k["s-nr"])!==null&&i!==void 0?i:null;if(T&&T["s-sn"]===S["s-sn"]&&O===T.parentNode){T=T.nextSibling;if(!T||!T["s-nr"]){A=T;break}}k=k.previousSibling}}if(!A&&O!==S.parentNode||S.nextSibling!==A){if(S!==A){if(!S["s-hn"]&&S["s-ol"]){S["s-hn"]=S["s-ol"].parentNode.nodeName}O.insertBefore(S,A);if(S.nodeType===1){S.hidden=(a=S["s-ih"])!==null&&a!==void 0?a:false}}}}else{if(S.nodeType===1){if(n){S["s-ih"]=(c=S.hidden)!==null&&c!==void 0?c:false}S.hidden=true}}}}if(v){dr($.p)}ie.v&=~1;hr.length=0}};var br=function(r,e){if(e&&!r.D&&e["s-p"]){e["s-p"].push(new Promise((function(e){return r.D=e})))}};var wr=function(r,e){{r.v|=16}if(r.v&4){r.v|=512;return}br(r,r.F);var n=function(){return gr(r,e)};return he(n)};var gr=function(r,e){var n=p("scheduleUpdate",r.O.A);var t=r.M;var i;if(e){{r.v|=256;if(r.N){r.N.map((function(r){var e=r[0],n=r[1];return Or(t,e,n)}));r.N=undefined}}{i=Or(t,"componentWillLoad")}}{i=_r(i,(function(){return Or(t,"componentWillRender")}))}n();return _r(i,(function(){return kr(r,t,e)}))};var _r=function(r,e){return Sr(r)?r.then(e):e()};var Sr=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var kr=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l;return __generator(this,(function(v){i=r.$hostElement$;a=p("update",r.O.A);f=i["s-rc"];if(t){K(r)}u=p("render",r.O.A);{xr(r,e,i,t)}if(f){f.map((function(r){return r()}));i["s-rc"]=undefined}u();a();{o=(n=i["s-p"])!==null&&n!==void 0?n:[];l=function(){return jr(r)};if(o.length===0){l()}else{Promise.all(o).then(l);r.v|=4;o.length=0}}return[2]}))}))};var xr=function(r,e,n,t){try{e=e.render();{r.v&=~16}{r.v|=2}{{{yr(r,e,t)}}}}catch(e){Yr(e,r.$hostElement$)}return null};var jr=function(r){var e=r.O.A;var n=r.$hostElement$;var t=p("postUpdate",e);var i=r.M;var a=r.F;{Or(i,"componentDidRender")}if(!(r.v&64)){r.v|=64;{Ar(n)}{Or(i,"componentDidLoad")}t();{r.P(n);if(!a){Cr()}}}else{{Or(i,"componentDidUpdate")}t()}{r.U(n)}{if(r.D){r.D();r.D=undefined}if(r.v&512){de((function(){return wr(r,false)}))}r.v&=~(4|512)}};var Cr=function(r){{Ar(te.documentElement)}de((function(){return Q(ne,"appload",{detail:{namespace:t}})}))};var Or=function(r,e,n){if(r&&r[e]){try{return r[e](n)}catch(r){Yr(r)}}return undefined};var Ar=function(r){return r.classList.add("hydrated")};var Tr=function(r,e){return Gr(r).I.get(e)};var Rr=function(r,e,n,t){var i=Gr(r);var a=i.$hostElement$;var f=i.I.get(e);var u=i.v;var o=i.M;n=B(n,t.W[e][0]);var l=Number.isNaN(f)&&Number.isNaN(n);var v=n!==f&&!l;if((!(u&8)||f===undefined)&&v){i.I.set(e,n);if(o){if(t.B&&u&128){var s=t.B[e];if(s){s.map((function(r){try{o[r](n,f,e)}catch(r){Yr(r,a)}}))}}if((u&(2|16))===2){wr(i,false)}}}};var Lr=function(r,e,n){var t;var i=r.prototype;if(e.W){if(r.watchers){e.B=r.watchers}var a=Object.entries(e.W);a.map((function(r){var t=r[0],a=r[1][0];if(a&31||n&2&&a&32){Object.defineProperty(i,t,{get:function(){return Tr(this,t)},set:function(r){Rr(this,t,r,e)},configurable:true,enumerable:true})}else if(n&1&&a&64){Object.defineProperty(i,t,{value:function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}var n;var i=Gr(this);return(n=i===null||i===void 0?void 0:i.H)===null||n===void 0?void 0:n.then((function(){var e;return(e=i.M)===null||e===void 0?void 0:e[t].apply(e,r)}))}})}}));if(n&1){var f=new Map;i.attributeChangedCallback=function(r,n,t){var a=this;ie.jmp((function(){var u;var o=f.get(r);if(a.hasOwnProperty(o)){t=a[o];delete a[o]}else if(i.hasOwnProperty(o)&&typeof a[o]==="number"&&a[o]==t){return}else if(o==null){var l=Gr(a);var v=l===null||l===void 0?void 0:l.v;if(v&&!(v&8)&&v&128&&t!==n){var s=l.M;var c=(u=e.B)===null||u===void 0?void 0:u[r];c===null||c===void 0?void 0:c.forEach((function(e){if(s[e]!=null){s[e].call(s,t,n,r)}}))}return}a[o]=t===null&&typeof a[o]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=e.B)!==null&&t!==void 0?t:{}),true),a.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i;var a=t[1]||n;f.set(a,n);if(t[0]&512){(i=e.L)===null||i===void 0?void 0:i.push([n,a])}return a})),true)))}}return r};var Dr=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var r,n,i,a,f,u,o,l;return __generator(this,(function(v){switch(v.label){case 0:if(!((e.v&32)===0))return[3,3];e.v|=32;r=re(t);if(!r.then)return[3,2];n=$();return[4,r];case 1:r=v.sent();n();v.label=2;case 2:if(!r.isProxied){{t.B=r.watchers}Lr(r,t,2);r.isProxied=true}i=p("createInstance",t.A);{e.v|=8}try{new r(e)}catch(r){Yr(r)}{e.v&=~8}{e.v|=128}i();Fr(e.M);if(r.style){a=r.style;f=X(t);if(!ee.has(f)){u=p("registerStyles",t.A);q(f,a,!!(t.v&1));u()}}v.label=3;case 3:o=e.F;l=function(){return wr(e,true)};if(o&&o["s-rc"]){o["s-rc"].push(l)}else{l()}return[2]}}))}))};var Fr=function(r){{Or(r,"connectedCallback")}};var Mr=function(r){if((ie.v&1)===0){var e=Gr(r);var n=e.O;var t=p("connectedCallback",n.A);if(!(e.v&1)){e.v|=1;var i=void 0;{i=r.getAttribute(g);if(i){if(n.v&1){var a=G(r.shadowRoot,n);r.classList.remove(a+"-h",a+"-s")}E(r,n.A,i,e)}}if(!i){if(n.v&(4|8)){Nr(r)}}{var f=r;while(f=f.parentNode||f.host){if(f.nodeType===1&&f.hasAttribute("s-id")&&f["s-p"]||f["s-p"]){br(e,e.F=f);break}}}if(n.W){Object.entries(n.W).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{de((function(){return Dr(r,e,n)}))}}else{Br(r,e,n.V);if(e===null||e===void 0?void 0:e.M){Fr(e.M)}else if(e===null||e===void 0?void 0:e.q){e.q.then((function(){return Fr(e.M)}))}}t()}};var Nr=function(r){var e=r["s-cr"]=te.createComment("");e["s-cn"]=true;r.insertBefore(e,r.firstChild)};var Pr=function(r){{Or(r,"disconnectedCallback")}};var Ur=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((ie.v&1)===0){e=Gr(r);{if(e.G){e.G.map((function(r){return r()}));e.G=undefined}}if(e===null||e===void 0?void 0:e.M){Pr(e.M)}else if(e===null||e===void 0?void 0:e.q){e.q.then((function(){return Pr(e.M)}))}}return[2]}))}))};var Er=function(r,e){var n=function(r){__extends(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}e.prototype.item=function(r){return this[r]};return e}(Array);if(e.v&8){var t=r.__lookupGetter__("childNodes");Object.defineProperty(r,"children",{get:function(){return this.childNodes.map((function(r){return r.nodeType===1}))}});Object.defineProperty(r,"childElementCount",{get:function(){return r.children.length}});Object.defineProperty(r,"childNodes",{get:function(){var r=t.call(this);if((ie.v&1)===0&&Gr(this).v&2){var e=new n;for(var i=0;i<r.length;i++){var a=r[i]["s-nr"];if(a){e.push(a)}}return e}return n.from(r)}})}};var Ir=r("b",(function(r,e){if(e===void 0){e={}}var n;var t=p();var i=e.exclude||[];var a=ne.customElements;var f=te.head;var u=f.querySelector("meta[charset]");var o=te.createElement("style");var l=[];var v=te.querySelectorAll("[".concat(_,"]"));var s;var c=true;var d=0;Object.assign(ie,e);ie.K=new URL(e.resourcesUrl||"./",te.baseURI).href;{ie.v|=2}{for(;d<v.length;d++){q(v[d].getAttribute(_),J(v[d].innerHTML),true)}}var h=false;r.map((function(r){r[1].map((function(e){var n;var t={v:e[0],A:e[1],W:e[2],V:e[3]};if(t.v&4){h=true}{t.W=e[2]}{t.V=e[3]}{t.L=[]}{t.B=(n=e[4])!==null&&n!==void 0?n:{}}var f=t.A;var u=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;e=n;Xr(e,t);if(t.v&1){{{e.attachShadow({mode:"open",delegatesFocus:!!(t.v&16)})}}}return n}e.prototype.connectedCallback=function(){var r=this;if(s){clearTimeout(s);s=null}if(c){l.push(this)}else{ie.jmp((function(){return Mr(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;ie.jmp((function(){return Ur(r)}))};e.prototype.componentOnReady=function(){return Gr(this).q};return e}(HTMLElement);{{Er(u.prototype,t)}}t.X=r[0];if(!i.includes(f)&&!a.get(f)){a.define(f,Lr(u,t,1))}}))}));if(h){o.innerHTML+=k}if(o.innerHTML.length){o.setAttribute("data-styles","");var $=(n=ie.C)!==null&&n!==void 0?n:R(te);if($!=null){o.setAttribute("nonce",$)}f.insertBefore(o,u?u.nextSibling:f.firstChild)}c=false;if(l.length){l.map((function(r){return r.connectedCallback()}))}else{{ie.jmp((function(){return s=setTimeout(Cr,30)}))}}t()}));var Wr=r("F",(function(r,e){return e}));var Br=function(r,e,n,t){if(n){n.map((function(n){var t=n[0],i=n[1],a=n[2];var f=Hr(r,t);var u=zr(e,a);var o=Qr(t);ie.ael(f,i,u,o);(e.G=e.G||[]).push((function(){return ie.rel(f,i,u,o)}))}))}};var zr=function(r,e){return function(n){try{{if(r.v&256){r.M[e](n)}else{(r.N=r.N||[]).push([e,n])}}}catch(r){Yr(r)}}};var Hr=function(r,e){if(e&4)return te;if(e&8)return ne;if(e&16)return te.body;return r};var Qr=function(r){return(r&2)!==0};var Vr=r("s",(function(r){return ie.C=r}));var qr=new WeakMap;var Gr=function(r){return qr.get(r)};var Kr=r("r",(function(r,e){return qr.set(e.M=r,e)}));var Xr=function(r,e){var n={v:0,$hostElement$:r,O:e,I:new Map};{n.H=new Promise((function(r){return n.U=r}))}{n.q=new Promise((function(r){return n.P=r}));r["s-p"]=[];r["s-rc"]=[]}Br(r,n,e.V);return qr.set(r,n)};var Jr=function(r,e){return e in r};var Yr=function(r,e){return(0,console.error)(r,e)};var Zr=new Map;var re=function(r,n,t){var i=r.A.replace(/-/g,"_");var a=r.X;var f=Zr.get(a);if(f){return f[i]}
5
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{Zr.set(a,r)}return r[i]}),Yr)};var ee=new Map;var ne=typeof window!=="undefined"?window:{};var te=r("d",ne.document||{head:{}});var ie={v:0,K:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var ae=true;var fe=r("p",(function(r){return Promise.resolve(r)}));var ue=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var oe=[];var le=[];var ve=function(r,e){return function(n){r.push(n);if(!d){d=true;if(e&&ie.v&4){de(ce)}else{ie.raf(ce)}}}};var se=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){Yr(r)}}r.length=0};var ce=function(){se(oe);{se(le);if(d=oe.length>0){ie.raf(ce)}}};var de=function(r){return fe().then(r)};var he=ve(le,true)}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as o,H as e,g as r}from"./p-2f1b5c7d.js";import{i as a}from"./p-a58bd561.js";import{f as n}from"./p-a1b7f2a0.js";const d=class{constructor(o){t(this,o),this.onClick=()=>{this.open=!this.open},this.theme="",this.variation="default",this.accessibleLabel=void 0,this.active=!1,this.open=!1,this.icon=void 0}handleFocus(t){t.composedPath().every((t=>t!==this.element))&&(this.open=!1)}componentWillLoad(){a(this)}handleEscape(t){n(t)&&(this.open=!1,this.setFocus())}async setFocus(t){this.button.focus(t)}render(){let t="right";return this.element&&this.element.parentElement&&(t="left"===this.element.parentElement.getAttribute("slot")?"right":"left"),o(e,{role:"listitem"},o("div",{class:{"duet-toolbar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,[t]:!0,["negative"===this.variation?"negative":"white"]:!0}},o("button",{ref:t=>this.button=t,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,id:"button",type:"button",class:{active:this.active,open:this.open},onClick:this.onClick,onKeyUp:t=>this.handleEscape(t)},this.icon&&o("duet-icon",{theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("span",{class:"label"},o("slot",{name:"label"}),o("duet-icon",{class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),o("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},o("slot",null))))}get element(){return r(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-dropdown{position:relative;height:100%}.duet-toolbar-dropdown button{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, 77, 128);text-align:center;text-decoration:none;cursor:pointer}.duet-toolbar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-toolbar-dropdown button:hover{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-toolbar-dropdown button.open .caret{transform:rotate(180deg)}.duet-toolbar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-toolbar-dropdown button.active,.duet-toolbar-dropdown button.open{color:rgb(0, 41, 77)}.duet-toolbar-dropdown button.active::after,.duet-toolbar-dropdown button.open::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-dropdown .items{position:absolute;top:93%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:175px;padding:8px;color:rgb(0, 41, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.duet-toolbar-dropdown .items.hidden{display:none}.duet-toolbar-dropdown.right .items{right:auto;left:0%}.duet-toolbar-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-toolbar-dropdown.duet-theme-turva button:hover{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-toolbar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown.duet-theme-turva button.active,.duet-toolbar-dropdown.duet-theme-turva button.open{color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button.active::after,.duet-toolbar-dropdown.duet-theme-turva button.open::after{background:rgb(198, 12, 48)}.duet-toolbar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button:hover{color:rgb(255, 255, 255);background:rgba(0, 41, 77, 0.2)}.duet-toolbar-dropdown.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(0, 41, 77, 0.2)}.duet-toolbar-dropdown.negative button.open{color:rgb(255, 255, 255);background:rgba(0, 41, 77, 0.2)}.duet-toolbar-dropdown.negative button duet-icon{color:rgb(205, 229, 241)}.duet-toolbar-dropdown.duet-theme-turva.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button:hover{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.open{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button duet-icon{color:rgb(244, 207, 214)}';export{d as duet_toolbar_dropdown}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,n,e){function r(t){return t instanceof n?t:new n((function(i){i(t)}))}return new(n||(n=Promise))((function(n,s){function o(t){try{a(e.next(t))}catch(t){s(t)}}function u(t){try{a(e["throw"](t))}catch(t){s(t)}}function a(t){t.done?n(t.value):r(t.value).then(o,u)}a((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},e,r,s,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(i){return a([t,i])}}function a(u){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(e=1,r&&(s=u[0]&2?r["return"]:u[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,u[1])).done)return s;if(r=0,s)u=[u[0]&2,s.value];switch(u[0]){case 0:case 1:s=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1];s=u;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(u);break}if(s[2])n.ops.pop();n.trys.pop();continue}u=i.call(t,n)}catch(t){u=[6,t];r=0}finally{e=s=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-aab7c415.system.js","./p-15d65ccc.system.js","./p-50f4bca2.system.js","./p-d5eff7a7.system.js","./p-34d7dd10.system.js","./p-b6f2538b.system.js"],(function(t){"use strict";var i,n,e,r,s,o,u,a,c,f,h,p,l,d,m;return{setters:[function(t){i=t.r;n=t.c;e=t.h;r=t.H;s=t.g},function(t){o=t.c;u=t.o;a=t.f},function(t){c=t.i},function(t){f=t.f},function(t){h=t.f;p=t.c;l=t.b;d=t.o},function(t){m=t.T}],execute:function(){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}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(0, 41, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}";var g=t("duet_popup_menu",function(){function t(t){var e=this;i(this,t);this.duetToggle=n(this,"duetToggle",7);this.setOpenButton=function(t){if(!t){return}try{var i=t;i.accessiblePopup="true";i.accessibleExpanded=false;i.setAttribute("trailing-icon","action-arrow-down-small");e.openButton=i}catch(t){}};this.openButtonEventListener=function(){e.toggle()};this.updatePlacement=function(){return __awaiter(e,void 0,void 0,(function(){var t,i;return __generator(this,(function(n){switch(n.label){case 0:if(!this.openButton){return[2]}t=[u({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),a({mainAxis:!this.forcePlacement})];return[4,o(this.openButton,this.menuElement,{middleware:t,placement:this.placement,strategy:this.position})];case 1:i=n.sent();this.menuY=i.y;this.menuX=i.x;return[2]}}))}))};this.open=false;this.menuY=undefined;this.menuX=undefined;this.accessibleLabel=undefined;this.accessibleRole="menu";this.theme="";this.skipTeleport=undefined;this.controller=undefined;this.placement="bottom-start";this.forcePlacement=false;this.position="absolute";this.mainAxisOffset=0;this.crossAxisOffset=0}t.prototype.componentWillLoad=function(){c(this)};t.prototype.componentDidLoad=function(){{this.updatePlacement()}};t.prototype.connectedCallback=function(){this.handleControllerChange(this.controller,null);if(!this.teleport){this.teleport=new m(this.element)}if(this.teleport){this.teleport.activate()}};t.prototype.disconnectedCallback=function(){if(this.openButton){this.openButton.removeEventListener("click",this.openButtonEventListener);this.openButton.removeAttribute("trailing-icon")}};t.prototype.handleKeyUp=function(t){if(this.open){if(h(t)){this.focusOpenButton();this.hide()}}};t.prototype.handleKeyDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i,i;return __generator(this,(function(n){switch(n.label){case 0:if(!this.open)return[3,5];if(!p(t))return[3,2];t.preventDefault();return[4,this.getFocusedItemIndex()];case 1:i=n.sent();if(i!==-1){if(i<this.itemElements.length-1){this.itemElements[i+1].setFocus()}else{this.itemElements[0].setFocus()}}n.label=2;case 2:if(!l(t))return[3,4];t.preventDefault();return[4,this.getFocusedItemIndex()];case 3:i=n.sent();if(i!==-1){if(i===0){this.itemElements[this.itemElements.length-1].setFocus()}else{this.itemElements[i-1].setFocus()}}n.label=4;case 4:if(d(t)&&this.accessibleRole==="menu"){t.preventDefault();this.hide()}n.label=5;case 5:return[2]}}))}))};t.prototype.handleClick=function(t){var i=this;var n=t.composedPath().every((function(t){return t!==i.element&&t!==i.openButton}));if(this.open&&n){this.hide()}};t.prototype.isOpen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.open]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=true;return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=false;return[2]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.open){this.hide()}else{this.show()}return[2]}))}))};t.prototype.handleControllerChange=function(t,i){if(!!t===!!i){return}if(typeof this.controller==="string"){this.setOpenButton(document.getElementById(this.controller));if(this.openButton){this.openButton.addEventListener("click",this.openButtonEventListener)}}else{this.setOpenButton(this.controller)}};t.prototype.handleOpenChange=function(t,i){var n=this;if(!!t===!!i){return}if(this.open&&!i){if(this.openButton){this.openButton.accessibleExpanded=true}this.teleport.makeSiblingsInert();this.updatePlacement();setTimeout((function(){if(n.accessibleRole==="menu"){n.itemElements[0].setFocus()}n.duetToggle.emit({open:n.open,component:"duet-popup-menu"})}),200)}else if(!this.open&&i){if(this.openButton){this.openButton.accessibleExpanded=false}setTimeout((function(){if(n.accessibleRole==="menu"){n.focusOpenButton()}n.duetToggle.emit({open:n.open,component:"duet-popup-menu"});n.teleport.removeInertFromSiblings()}),200)}};t.prototype.focusOpenButton=function(){if(this.open){f(this.openButton)}};Object.defineProperty(t.prototype,"itemElements",{get:function(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))},enumerable:false,configurable:true});t.prototype.getFocusedItemIndex=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(n){switch(n.label){case 0:t=this.itemElements;i=0;n.label=1;case 1:if(!(i<t.length))return[3,4];return[4,t[i].isFocused()];case 2:if(n.sent()){return[2,i]}n.label=3;case 3:i++;return[3,1];case 4:return[2,-1]}}))}))};t.prototype.render=function(){var t=this;var i={top:"".concat(this.menuY,"px"),left:"".concat(this.menuX,"px"),position:this.position};return e(r,null,e("div",{ref:function(i){return t.menuElement=i},style:i,class:{open:this.open,"duet-popup-menu-list":true,"duet-theme-turva":this.theme==="turva"},role:this.accessibleRole,"aria-label":this.accessibleLabel},e("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{controller:["handleControllerChange"],open:["handleOpenChange"]}},enumerable:false,configurable:true});return t}());g.style=b}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register([],(function(n){"use strict";return{execute:function(){var r=function(n,r){var e=Array.from(n.querySelectorAll(":scope > *"));return e.filter((function(n){return n.matches("[slot='".concat(r,"']"))}))};var e=n("g",(function(n){var r=Array.from(n.querySelectorAll(":scope > *"));return r.filter((function(n){return!n.getAttribute("slot")}))}));var t=n("h",(function(n,t){return t?r(n,t).length>0:e(n).length>0}));var u=n("c",(function(n,e,t,u,o){if(u===void 0){u=0}if(o===void 0){o=false}var i=o?"error":"warn";var f=[];var a=r(n,e);var c=a.filter((function(n){if(n.matches(t)){return true}f.push('Only elements matcing selector "'.concat(t,'" may be used in slot ').concat(e,", found:\n").concat(n.outerHTML));if(o){n.remove();return false}return true}));if(u&&c.length>u){f.push("Only ".concat(u," element").concat(u>1?"s":""," may be used in slot ").concat(e,", found ").concat(a.length,"."));if(o){c.slice(u).forEach((function(n){return n.remove()}))}}if(f.length>0){console[i]("Duet ".concat(i," in ").concat(n.tagName.toLowerCase(),":\n").concat(f.join("\n")).concat(o?"\nElement".concat(f.length>1?"s":""," removed."):""))}}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as i,h as e,F as a,H as s,g as n}from"./p-2f1b5c7d.js";import{i as o}from"./p-a58bd561.js";import{c as r}from"./p-5e59e970.js";import{d as h}from"./p-9e371678.js";import{k as l,l as d,d as p,b as u,a as c,c as g,m,n as b}from"./p-a1b7f2a0.js";import{g as v,c as f,d as k}from"./p-2e36d5bf.js";import{p as y}from"./p-0e052642.js";import{b as w,a as x}from"./p-1784b1d2.js";import"./p-4a901bfc.js";const S=class{constructor(e){t(this,e),this.duetPageChange=i(this,"duetPageChange",3),this.listId=r("duet-pagination-list"),this.firstRenderDone=!1,this.handleMediaQueryChange=t=>{this.matchesCompactBreakpoint=w.includes(this.compactBreakpoint)?t.matches:!t.matches},this.actionChain=async(t,i)=>{if(0===t)this.current=1;else if(t>this.totalPages)this.current=this.totalPages;else if(i!==t){const i=Math.ceil(t/this.visibleItems)-1;i!==this.internalSectionIndex&&(this.internalSectionIndex=i,await this.setFocus())}return!0},this.emitPageEvent=(t,i)=>{const e=Number(i||this.current);this.duetPageChange.emit({component:"duet-pagination",from:e*this.take,to:e*this.take+this.take,current:e,take:this.take,type:"page",originalEvent:t})},this.getEnteredNumber=h((t=>{this.emitPageEvent(t,this.numbersStore),this.current=Number(this.numbersStore),this.numbersStore="",this.duetPageChange.emit({component:"duet-pagination",from:this.current*this.take,to:this.current*this.take+this.take,current:this.current,take:this.take,type:"jump",originalEvent:t})}),500),this.processedPageLinks=null,this.numbersStore="",this.matchesCompactBreakpoint=!1,this.totalPages=10,this.internalSectionIndex=0,this.theme="",this.disabled=!1,this.variation="default",this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number",pagination_label:"Pagination, choose a number to jump to a page",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=void 0}watchPropTotalHandler(){return this.calculatePageTake(),!0}watchStateHandler(t,i){return this.actionChain(t,i)}componentWillLoad(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1,this.calculatePageTake(),o(this),this.refresh()}componentDidLoad(){this.firstRenderDone=!0}componentWillRender(){0!==this.internalSectionIndex&&this.internalSectionIndex!==this.totalPages&&this.calculatePageTake()}componentDidRender(){this.firstRenderDone&&!this.processedPageLinks&&this.setFocus()}connectedCallback(){this.mq=matchMedia("none"===this.compactBreakpoint?"all":x[this.compactBreakpoint]),this.mq.addEventListener("change",h(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),f(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){this.mq.removeEventListener("change",this.handleMediaQueryChange),this.mq=null,this.matchesCompactBreakpoint=!1,k(this)}async refresh(){this.processedPageLinks=y(this.pageLinks)}calculatePageTake(){this.totalPages=Math.ceil(this.total/this.take)}async onMouseHandler(t,i){this.disabled||(this.processedPageLinks||(t.preventDefault(),t.stopPropagation(),this.current=this.current+i),this.emitPageEvent(t))}async onKeyboardDown(t){if(this.disabled)return;let i=this.current;(p(t)||u(t))&&i--,(c(t)||g(t))&&i++,l(t)&&i<=this.totalPages&&(this.current=i,this.processedPageLinks?(this.emitPageEvent(t,i-1),window.open(this.processedPageLinks[i-1],"_self","")):this.emitPageEvent(t)),d(t)&&this.shouldDisplayNavigation()&&(this.numbersStore=this.numbersStore+t.key,Number(this.numbersStore)>this.totalPages&&(this.numbersStore=this.totalPages+""),this.getEnteredNumber(t))}async setFocus(){const t=this.nativeNav.querySelector(`[data-id='${this.current}']`);t&&await t.setFocus()}pageClickHandler(t){const i=Number(t.target.getAttribute("data-id"));this.processedPageLinks||(t.preventDefault(),this.current=i),this.emitPageEvent(t,i)}selectClickHandler(t){t.preventDefault();const i=Number(t.target.value);this.current=i,this.processedPageLinks?(this.emitPageEvent(t,i-1),window.open(this.processedPageLinks[i-1],"_self","")):this.emitPageEvent(t,i)}sectionClickHandler(t,i){t.preventDefault();let e=this.internalSectionIndex+i;e*(this.take*this.visibleItems)>this.total&&(e=this.internalSectionIndex),this.internalSectionIndex=e>=0?e:0}jumpToStart(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=0,this.current=1),this.emitPageEvent(t)}jumpToEnd(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1),this.current=this.totalPages),this.emitPageEvent(t)}renderPageButton(t){return e("duet-button",{disabled:this.disabled,class:{"duet-pagination-link":!0},id:`page-${t}-button`,color:t!==this.current?"turva"!==this.theme?"secondary":"secondary-turva":"turva"!==this.theme?"primary":"primary-turva","data-id":t,"center-text":!0,variation:"plain",margin:"none",accessibleLabel:`${this.accessibleLabels.go_to} ${t}`,onClick:t=>this.pageClickHandler(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:void 0},e("div",{class:"duet-pagination-page-number","aria-hidden":!0},t))}renderPageNumbers(){const t=[];let i=this.internalSectionIndex*this.visibleItems;do{if(i++,i>this.totalPages)break;t.push(e("li",{class:{"duet-pagination-item":!0,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},this.renderPageButton(i)))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t}renderSelect(){const t=[];for(let i=1;i<=this.totalPages;i++)t.push({value:i.toString(),label:i.toString()});const i=e("duet-select",{disabled:this.disabled,theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(t),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}",`${this.totalPages}`),labelHidden:!0,onDuetChange:t=>this.selectClickHandler(t)});return e("li",null,i,e("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))}shouldDisplayNavigation(){return!("compact"===this.variation||this.matchesCompactBreakpoint||2*this.visibleItems>this.total/this.take)}render(){return e(s,{onKeyDown:t=>this.onKeyboardDown(t),class:{"duet-theme-turva":"turva"===this.theme}},e("nav",{role:"navigation","aria-labelledby":this.accessibleLabelledBy?`${this.accessibleLabelledBy} ${this.listId}`:this.listId,"aria-describedby":this.accessibleDescribedBy?`${this.accessibleDescribedBy} ${this.listId}`:this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:t=>this.nativeNav=t,"aria-controls":this.ariaControls,class:{"duet-pagination-nav":!0,[`duet-pagination-variation-${this.variation}`]:!0}},""!==this.numbersStore&&e("div",{"aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":`${this.accessibleLabels.jump_to} ${this.numbersStore}`,part:"navigation-overlay"},e("duet-badge",{theme:this.theme},"jump to page : ",this.numbersStore)),e("ol",{id:this.listId,class:{"duet-pagination":!0,"duet-pagination-is-dimmed":""!==this.numbersStore},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},("compact"===this.variation||this.matchesCompactBreakpoint)&&e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:0===this.internalSectionIndex&&this.current<=1||this.disabled,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0})),e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:!!(0===this.internalSectionIndex&&this.current<=1||this.current<=1&&this.processedPageLinks||this.disabled),"data-direction":"back",onClick:t=>this.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]:void 0})),0!==this.internalSectionIndex&&this.shouldDisplayNavigation()&&e(a,null,e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:"turva"!==this.theme?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0},e("div",{class:"duet-pagination-page-number"},"1"))),e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,-1),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&e(a,null,(this.internalSectionIndex+1)*this.visibleItems!=this.totalPages-1&&e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,1),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:void 0},e("div",{class:"duet-pagination-page-number"},this.totalPages)))),e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||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:t=>this.onMouseHandler(t,1),"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:void 0})),("compact"===this.variation||this.matchesCompactBreakpoint)&&e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.disabled,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:void 0})))))}get element(){return n(this)}static get watchers(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}}};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;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(0, 41, 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)}';const _=class{constructor(e){t(this,e),this.duetRangeStepUpdate=i(this,"duetRangeStepUpdate",7),this.leftBn=r("duetRangeStepper-left"),this.rightBn=r("duetRangeStepper-right"),this.handleClick=(t,i)=>{t.preventDefault(),this.stepIndex+=i,this.clampStepIndex(),this.handleStepClick(t)},this.buttonLeftDisabled=!1,this.buttonRightDisabled=!1,this.theme="",this.disabled=!1,this.stepIndex=1,this.stepSize=50,this.total=1e3,this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}},this.ariaLabels=v(this.ariaLabelsDefaults),this.ariaControls=""}watchStepIndexStateHandler(t){this.leftBnRef&&this.rightBnRef&&(t<=1?(this.element===document.activeElement&&this.rightBnRef.setFocus(),this.buttonLeftDisabled=!0):this.buttonLeftDisabled=!1,t>=this.total/this.stepSize?(this.element===document.activeElement&&this.leftBnRef.setFocus(),this.buttonRightDisabled=!0):this.buttonRightDisabled=!1)}watchStepSizeStateHandler(t,i){t!==i&&(this.stepIndex*t>this.total&&(this.stepIndex=Math.ceil(this.total/t)),this.watchStepIndexStateHandler(this.stepIndex))}handleStepClick(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})}componentWillLoad(){o(this),this.clampStepIndex()}componentDidLoad(){this.watchStepIndexStateHandler(this.stepIndex)}connectedCallback(){f(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})}disconnectedCallback(){k(this)}clampStepIndex(){this.stepIndex<1?this.stepIndex=1:this.stepIndex*this.stepSize>this.total&&(this.stepIndex=Math.ceil(this.total/this.stepSize))}getFrom(){return Math.floor((this.stepIndex-1)*this.stepSize)+1}getTo(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)}generateStepSize(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))}generatePreviousIncrementLabel(){return 1===this.getFrom()?"":this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))}generateNextIncrementLabel(){return this.getTo()===this.total?"":this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))}async onKeyboardDown(t){if(this.disabled)return;let i=this.stepIndex,e=1;(p(t)||u(t)||m(t))&&(i--,e=-1,this.leftBnRef.setFocus()),(c(t)||g(t)||b(t))&&(i++,e=1),l(t)&&i>0&&i*this.stepSize<=this.total&&this.handleClick(t,e)}render(){return e("div",{class:{"duet-range-stepper":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:t=>this.onKeyboardDown(t),"aria-controls":this.ariaControls},e("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),e("duet-action-button",{disabled:this.disabled||this.buttonLeftDisabled,class:"duet-range-step-button duet-range-step-minus",onClick:t=>this.handleClick(t,-1),id:this.leftBn,"accessible-label":`${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`,ref:t=>this.leftBnRef=t,part:"navigation-arrow",iconName:"action-arrow-left-small",title:""}),e("duet-action-button",{disabled:this.disabled||this.buttonRightDisabled,class:"duet-range-step-button duet-range-step-plus",onClick:t=>this.handleClick(t,1),"accessible-label":`${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`,id:this.rightBn,ref:t=>this.rightBnRef=t,part:"navigation-arrow",iconName:"action-arrow-right-small",title:""}))}get element(){return n(this)}static get watchers(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}}};_.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(0, 41, 77)}.duet-range-stepper ::part(button){border:0}";export{S as duet_pagination,_ as duet_range_stepper}
@@ -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,o){function r(t){try{u(n.next(t))}catch(t){o(t)}}function s(t){try{u(n["throw"](t))}catch(t){o(t)}}function u(t){t.done?i(t.value):a(t.value).then(r,s)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return u([t,e])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(i=0)),i)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=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(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(s[0]===6&&i.label<o[1]){i.label=o[1];o=s;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(s);break}if(o[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-aab7c415.system.js","./p-50f4bca2.system.js","./p-ae21ad57.system.js","./p-34d7dd10.system.js","./p-224f6c46.system.js","./p-c1445714.system.js","./p-e6b5a1c7.system.js","./p-6ef75455.system.js","./p-c86d6786.system.js"],(function(t){"use strict";var e,i,n,a,o,r,s,u,d,c,l,b,h,p,f,g,m,v,x,k,w,y;return{setters:[function(t){e=t.r;i=t.h;n=t.H;a=t.g;o=t.c},function(t){r=t.i},function(t){s=t.h;u=t.g},function(t){d=t.s;c=t.u;l=t.o;b=t.p;h=t.d;p=t.b;f=t.a;g=t.c},function(t){m=t.g;v=t.c;x=t.d;k=t.a},function(t){w=t.d},function(t){y=t.c},function(){},function(){}],execute:function(){var _="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{display:flex}:host .duet-scrollable-items .duet-scrollable-button{position:relative;flex:0 0 auto;flex-basis:40px;padding:10px;cursor:pointer;transition:all 300ms ease}:host .duet-scrollable-items .duet-scrollable-button:active{transform:scale(0.8)}:host .duet-scrollable-items .duet-scrollable-button--left{left:-12px}:host .duet-scrollable-items .duet-scrollable-button--right{right:-12px}:host .duet-scrollable-items .duet-scrollable-button--top{align-self:flex-start}:host .duet-scrollable-items .duet-scrollable-button--bottom{align-self:flex-end}:host .duet-scrollable-items .duet-scrollable-button--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-top:2px;padding-right:5px;padding-left:5px;margin:0 -5px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}";var j=t("duet_scrollable",function(){function t(t){var i=this;e(this,t);this.currentIndex=0;this.scrollPaneElement=undefined;this.hasCollapseButtonLabelSlot=false;this.resizeObserver=new ResizeObserver((function(t){var e,n,a,o;if((t===null||t===void 0?void 0:t.length)===1){var r=(n=(e=t[0])===null||e===void 0?void 0:e.target)===null||n===void 0?void 0:n.getBoundingClientRect().width;var s=(o=(a=t[0])===null||a===void 0?void 0:a.target)===null||o===void 0?void 0:o.scrollWidth;i.isScrollPaneContentSmallerThanWrapper=s>r+5}}));this.collapsedOnClick=function(){i.collapsed=!i.collapsed};this.scrollPaneAtStart=true;this.isScrollPaneContentSmallerThanWrapper=true;this.scrollPaneAtEnd=false;this.childrenData={};this.theme="";this.identifier="";this.collapsed=false;this.buttons=true;this.buttonAlignment="center";this.center=false;this.selected=0}t.prototype.watchPropHandler=function(t){this.scrollToElement(t,"center")};t.prototype.componentWillLoad=function(){r(this);this.hasCollapseButtonLabelSlot=s(this.element,"collapse-button-label")};t.prototype.componentDidLoad=function(){this.resizeObserver.observe(this.scrollPaneElement)};t.prototype.disconnectedCallback=function(){this.resizeObserver.disconnect()};t.prototype.getScrollPaneElements=function(){return u(this.element)};t.prototype.getLastVisibleElement=function(){var t=this;var e=this.getScrollPaneElements().find((function(e){return e.getBoundingClientRect().x+e.getBoundingClientRect().width-t.scrollPaneElement.getBoundingClientRect().x>t.scrollPaneElement.clientWidth}));var i=this.getScrollPaneElements().indexOf(e);if(e.clientWidth>this.scrollPaneElement.clientWidth){return i}return i-1};t.prototype.getFirstVisibleElement=function(){var t=this;var e=this.getScrollPaneElements();var i=e.find((function(e){return e.getBoundingClientRect().x>t.scrollPaneElement.getBoundingClientRect().x}));var n=!i?e.length:e.indexOf(i);var a=Math.max(n-1,0);if(e[a].clientWidth>this.scrollPaneElement.clientWidth){return a}return n};t.prototype.updateScrollButtons=function(t){if(t===void 0){t=this.scrollPaneElement}if(!this.buttons){return}if(t.scrollLeft<=0){this.scrollPaneAtStart=true}else if(t.scrollLeft>0){this.scrollPaneAtStart=false}if(t.clientWidth+t.scrollLeft+10>=t.scrollWidth){this.scrollPaneAtEnd=true}else if(t.clientWidth+t.scrollLeft+10<t.scrollWidth){this.scrollPaneAtEnd=false}};t.prototype.scrollToElement=function(t,e){var i=this;if(t===void 0){t=this.currentIndex}var n=this.getScrollPaneElements();if(!n||n.length===0){return}if(t+1>=n.length){t=n.length-1}if(t<0){t=0}var a=n[0].getBoundingClientRect().x;var o=5;var r=function(){if(n[0].getBoundingClientRect().x===a){o--;if(o!==0){window.requestAnimationFrame(r);return}i.updateScrollButtons()}else{window.requestAnimationFrame(r);a=n[0].getBoundingClientRect().x}};n[t].scrollIntoView({behavior:"smooth",block:"nearest",inline:e});window.requestAnimationFrame(r)};t.prototype.scrollLeft=function(){this.scrollPaneAtEnd=false;var t=this.getFirstVisibleElement();this.scrollToElement(t-1,"center")};t.prototype.scrollRight=function(){this.scrollPaneAtStart=false;var t=this.getLastVisibleElement();this.scrollToElement(t+1,"center")};t.prototype.render=function(){var t,e;var a=this;var o=this.theme==="turva"?"color-primary-darker-turva":"color-primary";var r=this.theme==="turva"?"color-gray-turva":"color-gray";return i(n,{class:{"duet-theme-turva":this.theme==="turva","duet-theme-default":this.theme==="default"}},this.hasCollapseButtonLabelSlot&&i("div",{class:{collapse:true,hide:!this.isScrollPaneContentSmallerThanWrapper&&!this.collapsed}},i("duet-button",{variation:"plain",margin:"none","center-text":true,onClick:function(){return a.collapsedOnClick()}},i("slot",{name:"collapse-button-label"}))),i("div",{class:{"duet-scrollable-items":true,buttons:this.buttons,center:this.center}},i("button",{part:"".concat(this.identifier,"-button-left"),"aria-hidden":"true",class:(t={"duet-scrollable-button":true},t["duet-scrollable-button--".concat(this.buttonAlignment)]=true,t["duet-scrollable-button--left"]=true,t["duet-scrollable-button--occluded"]=!this.isScrollPaneContentSmallerThanWrapper,t),onClick:function(){return a.scrollLeft()},disabled:this.scrollPaneAtStart,tabindex:"-1",hidden:!this.buttons},i("duet-icon",{color:this.scrollPaneAtStart?r:o,name:"action-arrow-left-small",size:"small",margin:"none"})),i("div",{class:{"duet-scrollable-list":true,collapsed:this.collapsed},onScroll:function(){return a.updateScrollButtons()},ref:function(t){return a.scrollPaneElement=t}},i("slot",null)),i("button",{part:"".concat(this.identifier,"-button-right"),"aria-hidden":"true",class:(e={"duet-scrollable-button":true},e["duet-scrollable-button--".concat(this.buttonAlignment)]=true,e["duet-scrollable-button--right"]=true,e["duet-scrollable-button--occluded"]=!this.isScrollPaneContentSmallerThanWrapper,e),onClick:function(){return a.scrollRight()},disabled:this.scrollPaneAtEnd,tabindex:"-1",hidden:!this.buttons},i("duet-icon",{color:this.scrollPaneAtEnd?r:o,name:"action-arrow-right-small",size:"small",margin:"none"}))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["watchPropHandler"]}},enumerable:false,configurable:true});return t}());j.style=_;var S=".sc-duet-tab-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}.duet-tab.has-content-id.sc-duet-tab,.duet-tab.has-content-id.selected.sc-duet-tab{display:none}.user-is-tabbing.sc-duet-tab-h .duet-tab.sc-duet-tab:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-tab-h .duet-tab.duet-theme-turva.sc-duet-tab:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";var z=t("duet_tab",function(){function t(t){var i=this;e(this,t);this.setupContentElement=function(){if(i.contentId){i.tabpanelElement=document.getElementById(i.contentId);if(i.tabpanelElement){i.tabpanelElement.setAttribute("role","tabpanel");i.tabpanelElement.setAttribute("tabindex","-1");i.tabpanelElement.removeEventListener("focus",i.tabpanelElementFocusListener);i.tabpanelElement.removeEventListener("blur",i.tabpanelElementBlurListener);i.tabpanelElement.addEventListener("focus",i.tabpanelElementFocusListener);i.tabpanelElement.addEventListener("blur",i.tabpanelElementBlurListener);if(i.accessibleDescription){i.tabpanelElement.setAttribute("aria-description",i.accessibleDescription)}if(i.accessibleLabelledBy){i.tabpanelElement.setAttribute("aria-labelledby",i.accessibleLabelledBy)}if(i.selected){i.tabpanelElement.toggleAttribute("hidden",false)}else{i.tabpanelElement.toggleAttribute("hidden",true)}}}};this.tabpanelElementFocusListener=function(){if(i.element.classList.contains("user-is-tabbing")){i.tabpanelElement.style.outline="0";i.tabpanelElement.style.boxShadow=w(i.theme==="turva"?"focus-turva":"focus")}};this.tabpanelElementBlurListener=function(){i.tabpanelElement.style.outline=null;i.tabpanelElement.style.boxShadow=null};this.theme="";this.label=undefined;this.caption=undefined;this.selected=undefined;this.notificationMark=undefined;this.accessibleDescriptionDefault=null;this.accessibleDescription=this.accessibleDescriptionDefault?m(this.accessibleDescriptionDefault):null;this.accessibleLabelledBy=undefined;this.contentId=undefined}t.prototype.componentWillLoad=function(){r(this)};t.prototype.connectedCallback=function(){v(this,{prop:"accessibleDescription",defaults:"accessibleDescriptionDefault"});d(this);this.setupContentElement()};t.prototype.disconnectedCallback=function(){x(this);c(this);if(this.tabpanelElement){this.tabpanelElement.removeAttribute("role");this.tabpanelElement.removeAttribute("tabindex");this.tabpanelElement.removeAttribute("aria-description");this.tabpanelElement.removeAttribute("aria-labelledby");this.tabpanelElement.removeAttribute("hidden");this.tabpanelElement.removeEventListener("focus",this.tabpanelElementFocusListener.bind(this));this.tabpanelElement.removeEventListener("blur",this.tabpanelElementBlurListener.bind(this));this.tabpanelElement=undefined}};t.prototype.setupSelected=function(t,e){if(!!t===!!e){return}this.setupContentElement()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.tabpanelElement.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;return i("div",{ref:function(e){if(!t.contentId){t.tabpanelElement=e}},role:"tabpanel",class:{"duet-theme-turva":this.theme==="turva","duet-tab":true,selected:this.selected,"has-content-id":!!this.contentId},"aria-description":this.accessibleDescription,"aria-labelledby":this.accessibleLabelledBy,tabindex:"-1"},i("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["setupSelected"]}},enumerable:false,configurable:true});return t}());z.style=S;var C='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:none}@media (min-width: 36em){.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:block}}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(228, 228, 230)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:20px;margin-top:-2px;overflow:visible;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(222, 35, 98);box-shadow:0 0 0 1px #c82058}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-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);border-color:rgb(228, 228, 230)}.duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(250, 164, 15);box-shadow:0 0 0 1px #e1940e}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(224, 42, 13);box-shadow:0 0 0 1px #ca260c}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}@media (min-width: 36em){.duet-tab-button{display:inline-block;width:auto;margin-left:-2px;border-right:2px solid rgb(225, 227, 230);border-radius:0}}.duet-tab-button:hover{z-index:200;border-color:rgb(144, 149, 153)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(116, 116, 117)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(255, 255, 255);background:rgb(0, 41, 77);border-color:rgb(0, 41, 77);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(255, 255, 255);background-color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-button:first-child{border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.duet-tab-button:first-child{border-top-right-radius:0;border-bottom-left-radius:4px}}.duet-tab-button:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-tab-button:last-child{border-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(198, 12, 48);border-bottom-color:rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(207, 210, 212);border-bottom-color:rgb(0, 119, 179);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(207, 210, 212);border-bottom-color:rgb(68, 68, 69)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(243, 249, 252) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 245, 247) 0%, rgb(255, 255, 255) 100%);border-color:rgb(68, 68, 69);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(101, 119, 135)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:" ";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(68, 68, 69)}';var I=t("duet_tab_group",function(){function t(t){var n=this;e(this,t);this.duetChange=o(this,"duetChange",3);this.duetTabChange=o(this,"duetTabChange",7);this.duetTabChangeRequested=o(this,"duetTabChangeRequested",7);this.id=y("DuetTabGroup");this.handleKeyDown=function(t){var e;if(h(t)||p(t)){e=t.target.previousElementSibling}else if(f(t)||g(t)){e=t.target.nextElementSibling}if(l(t)&&!b(t)){t.preventDefault();n.element.querySelector("duet-tab[selected]").setFocus()}if(e){t.preventDefault();e.click();e.focus()}};this.onTabSelect=function(t){if(n.tabChangeConfirm){if(t!==n.selected){var e={value:t,component:"duet-tab-group"};n.duetTabChangeRequested.emit(e)}}else{n.openTab(t)}};this.scrollToActive=function(){if(n.variation==="checked"||n.variation==="plain-scrolling"){setTimeout((function(){var t=n.tabsContainer.querySelector(".selected");if(t){t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}}),50)}};this.renderTab=function(){var t=n.tabs.map((function(t,e){var a;return i("button",{role:"tab",id:n.getButtonId(e),"aria-selected":t.selected?"true":"false","aria-description":n.getAccessibleDescription(e),tabindex:t.selected?"0":"-1",part:"".concat(n.identifier,"-button ").concat(t.selected?"".concat(n.identifier,"-button--selected"):""),type:"button",class:(a={"duet-p-0":n.padding==="none","duet-tab-button":true,"stackable-tab":n.variation==="checked"&&n.tabs.length<=3,selected:t.selected},a["duet-notification-mark-".concat(t.notificationMark)]=!!t.notificationMark,a),onClick:function(){return n.onTabSelect(e)},onKeyDown:function(t){return n.handleKeyDown(t)}},n.variation==="checked"?i("div",{class:{"checked-tab-content":true,"stackable-checked-tab-content":n.tabs.length<=3}},i("div",{class:{"checked-tab-description":true,"stackable-description":n.tabs.length<=3}},i("p",null,t.label),i("p",{class:{"tab-caption":true,selected:t.selected}},t.caption)),i("div",{class:{"stackable-checkmark":n.tabs.length<=3}},i("duet-checkmark",{theme:n.theme,checked:t.selected,type:"radio","presentation-only":true,center:true}))):t.label)}));if(n.scrolls){return i("duet-scrollable",{selected:n.selected,identifier:n.identifier},t)}return t};this.tabs=[];this.selected=undefined;this.theme="";this.scrolls=false;this.collapses=true;this.accessibleLabel=undefined;this.variation="default";this.language=k();this.labelDefaults={fi:"Valitse",en:"Choose",sv:"Välj"};this.label=m(this.labelDefaults,this.language);this.labelHidden=true;this.identifier=this.id;this.margin="auto";this.padding="auto";this.setTabIndex=true;this.tabChangeConfirm=false}t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){switch(e.label){case 0:if(typeof MutationObserver!=="undefined"){this.mutationO=new MutationObserver((function(){t.updateTabs()}));this.mutationO.observe(this.element,{attributes:true,attributeFilter:["label"],childList:true,characterData:true,subtree:true})}return[4,this.updateTabs()];case 1:e.sent();d(this);return[2]}}))}))};t.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}c(this)};t.prototype.componentWillLoad=function(){r(this)};t.prototype.componentDidLoad=function(){this.scrollToActive()};t.prototype.openTab=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){if(t>=this.tabs.length){throw new Error("[duet-tabs] Index ".concat(t," is out of bounds of tabs length"))}this.selected=t;this.tabs.forEach((function(e,i){e.selected=i===t}));this.scrollToActive();e={value:t,component:"duet-tab-group"};this.duetChange.emit(e);this.duetTabChange.emit(e);return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){console.log("[duet-tabs] Refresh method is deprecated and will be removed in the future version.");return[2]}))}))};t.prototype.getTabs=function(){var t=this;var e=Array.from(this.element.querySelectorAll("duet-tab"));var i=e.filter((function(e){return e.closest("duet-tab-group")===t.element}));if(i.length===0){throw new Error("[duet-tabs] Must have at least one tab")}return i};t.prototype.getButtonId=function(t){return"".concat(this.id,"-button-").concat(t)};t.prototype.getTabId=function(t){return"".concat(this.id,"-tab-").concat(t)};t.prototype.getAccessibleDescription=function(t){var e=this.tabs[t].getAttribute("accessible-description")||null;return e};t.prototype.updateTabs=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){this.selected=undefined;this.tabs=this.getTabs();this.tabs.forEach((function(e,i){e.id=t.getTabId(i);if(e.selected){if(t.selected===undefined){t.selected=i}else{e.selected=false}}}));if(this.selected===undefined){this.selected=0;this.tabs[0].selected=true}return[2]}))}))};t.prototype.render=function(){var t;var e=this;var n=this.variation==="plain-scrolling"?"duet-tab-variation-plain":"duet-tab-variation-".concat(this.variation);var a=this.variation==="checked"||this.variation==="plain-scrolling";return i("div",{class:(t={"duet-tab-group":true,"duet-theme-turva":this.theme==="turva"},t[n]=true,t["duet-tab-plain-scrolling"]=this.variation==="plain-scrolling",t["duet-tab-group-scrolls"]=this.scrolls,t["duet-tab-group-collapses"]=this.collapses,t),"aria-label":this.accessibleLabel},!a&&this.tabs.length>3&&this.collapses&&i("duet-select",{value:this.selected.toString(),expand:true,label:this.label,labelHidden:this.labelHidden,theme:this.theme,onDuetChange:function(t){return e.onTabSelect(Number(t.detail.value))},items:this.tabs.map((function(t,e){return{label:t.label,value:e.toString()}}))}),i("div",{role:"tablist",class:{"duet-m-0":this.margin==="none"||this.variation==="checked","duet-tab-group-tabs":true,"duet-tab-group-hidden":this.tabs.length>3&&!a,"duet-tab-group-collapses":this.collapses},ref:function(t){e.tabsContainer=t}},this.renderTab()),i("div",{class:{"duet-tab-group-content":true,"duet-m-0":this.margin==="none","checked-group-content":this.variation==="checked"}},i("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());I.style=C}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,i,e){function o(t){return t instanceof i?t:new i((function(n){n(t)}))}return new(i||(i=Promise))((function(i,r){function a(t){try{s(e.next(t))}catch(t){r(t)}}function u(t){try{s(e["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):o(t.value).then(a,u)}s((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},e,o,r,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(n){return s([t,n])}}function s(u){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(i=0)),i)try{if(e=1,o&&(r=u[0]&2?o["return"]:u[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,u[1])).done)return r;if(o=0,r)u=[u[0]&2,r.value];switch(u[0]){case 0:case 1:r=u;break;case 4:i.label++;return{value:u[1],done:false};case 5:i.label++;o=u[1];u=[0];continue;case 7:u=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]<r[3])){i.label=u[1];break}if(u[0]===6&&i.label<r[1]){i.label=r[1];r=u;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(u);break}if(r[2])i.ops.pop();i.trys.pop();continue}u=n.call(t,i)}catch(t){u=[6,t];o=0}finally{e=r=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-aab7c415.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-34d7dd10.system.js","./p-224f6c46.system.js","./p-c1445714.system.js","./p-6ef75455.system.js","./p-c86d6786.system.js"],(function(t){"use strict";var n,i,e,o,r,a,u,s,c,d,h,b,f,l,p;return{setters:[function(t){n=t.r;i=t.c;e=t.h;o=t.H;r=t.g},function(t){a=t.i},function(t){u=t.c},function(t){s=t.d},function(t){c=t.i},function(t){d=t.g;h=t.c;b=t.d},function(t){f=t.c;l=t.g;p=t.s},function(){},function(){}],execute:function(){var m="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(0, 41, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9e9eb}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#ddddde !important}.duet-action-button:disabled{color:rgb(144, 149, 153);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(116, 116, 117);background:rgb(245, 245, 247)}";var g=t("duet_action_button",function(){function t(t){var e=this;n(this,t);this.duetActionEvent=i(this,"duetActionEvent",6);this.listId=u("duet-action-button");this.emitPageEvent=s((function(t){e.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:e.actionId,name:e.actionName,meta:e.actionMeta,id:e.listId})}));this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName=undefined;this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleTitle=true;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"};this.accessibleLabel=d(this.accessibleLabelsDefaults);this.accessibleControls="";this.url=undefined}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(c(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.getTitle=function(){if(typeof this.accessibleTitle==="string"){return this.accessibleTitle}if(this.accessibleTitle===true&&this.actionName){return f("".concat(this.actionName))}return null};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){b(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t;var n=this;var i=this.color==="currentColor"?"currentColor":l(this.color,this.theme);var r=l(this.background,this.theme);var a=r?p(r,-.1):r;var u=r?"\n button.duet-action-button {\n background: ".concat(r," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(a," !important;\n }\n "):"";var s={color:i,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};var c={ref:function(t){return n.nativeButton=t},part:"button",style:s,disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t["duet-theme-turva"]=this.theme==="turva",t)};return e(o,{onKeyDown:function(t){return n.onKeyboardDown(t)}},e("style",{innerHTML:u}),this.url&&!this.disabled?e("a",Object.assign({},c,{href:this.url}),e("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):e("button",Object.assign({},c,{onClick:function(t){return n.onMouseHandler(t)}}),e("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),e("duet-visually-hidden",null,e("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());g.style=m}}}));
@@ -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 i}from"./p-2f1b5c7d.js";import{i as o}from"./p-a58bd561.js";import{a as n,c as s,d as r}from"./p-2e36d5bf.js";import"./p-0e052642.js";const d=class{constructor(e){t(this,e),this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"},this.language=n(),this.theme="",this.margin="auto",this.image=void 0,this.name=void 0,this.description=void 0,this.email=void 0,this.phone=void 0,this.buttonText=void 0,this.buttonIcon="form-date",this.buttonUrl=void 0}componentWillLoad(){o(this)}connectedCallback(){s(this)}disconnectedCallback(){r(this)}render(){const t="turva"===this.theme?"turva":"default";return e(a,{class:{"duet-m-0":"none"===this.margin}},e("div",{class:{"duet-contact-card":!0,"duet-theme-turva":"turva"===this.theme},role:"group","aria-label":this.name},this.image?e("img",{class:"image",src:this.image,alt:this.name}):e("div",null),e("div",null,this.name&&e("duet-heading",{class:"name",level:"h3",margin:"none",theme:t},this.name),this.description&&e("duet-paragraph",{class:"description",margin:"none",theme:t},this.description),this.email&&e("div",{class:"email"},e("duet-icon",{name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:t}),e("duet-link",{url:`mailto:${this.email}`,accessibleLabel:`Email: ${this.email}`,theme:t},this.email)),this.phone&&e("div",{class:"phone"},e("duet-icon",{name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:t}),e("duet-link",{url:`tel:${this.phone}`,accessibleLabel:`${this.phoneLabel[this.language]}: ${this.phone}`,theme:t},this.phone))),this.buttonUrl&&this.buttonText&&e("div",{class:"call-to-action"},e("duet-button",{variation:"default",icon:this.buttonIcon,fixed:!0,margin:"none",url:this.buttonUrl,theme:t},this.buttonText)),e("div",null),e("slot",null)))}get element(){return i(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}.duet-contact-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)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}';export{d as duet_contact_card}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as a,g as i}from"./p-2f1b5c7d.js";import{i as r}from"./p-a58bd561.js";import{f as o}from"./p-a1b7f2a0.js";const n=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.url=void 0,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessibleLabel=void 0,this.accessibleExpanded=void 0,this.accessiblePopup="false"}componentWillLoad(){r(this)}handleEscape(e){if(o(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){return t(a,null,t(this.url?"a":"button",{ref:e=>this.itemElement=e,class:{"duet-submenu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0},this.leadingIcon&&t("duet-icon",{class:"leading-icon",theme:this.theme,name:this.leadingIcon,size:"auto",margin:"none",color:"currentColor"}),t("div",{class:"label"},t("span",{class:"label-text"},t("slot",null)),this.trailingIcon&&t("duet-icon",{class:{"trailing-icon":!0,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon,margin:"none",size:"auto",color:"currentColor"}))))}get element(){return i(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-submenu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:16px;height:16px}}.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(230, 242, 248)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(148, 9, 37)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-submenu-bar-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(148, 9, 37)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(148, 9, 37)}.duet-submenu-bar-item:hover{color:rgb(0, 41, 77);background:rgb(230, 242, 248)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(228, 228, 230)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(148, 9, 37)}';export{n as duet_submenu_bar_item}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{E as t,r as e,h as i,H as s,g as o}from"./p-2f1b5c7d.js";import{i as a}from"./p-a58bd561.js";import{g as n,r as d}from"./p-1784b1d2.js";import"./p-4a901bfc.js";const h=t=>{if("script"===t.nodeName.toLowerCase())return!1;for(let e=0;e<t.attributes.length;e++)if(0===t.attributes[e].name.toLowerCase().indexOf("on"))return!1;if(t.children)for(let e=0;e<t.children.length;e++)if(!h(t.children[e]))return!1;return!0},r={};const u=class{constructor(t){e(this,t),this.svgContent=void 0,this.theme="",this.icon=void 0,this.src=void 0,this.name="action-add",this.margin="auto",this.responsive=!0,this.color="",this.background="",this.backgroundOpacity=1,this.backgroundRotation=0,this.size="medium",this.outline="",this.shape="circle"}async componentWillLoad(){a(this),this.src&&this.icon&&console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence","icon:",this.icon,"src:",this.src),await this.loadIcon(null,null)}async loadIcon(e,i){if(this.icon)return void(this.svgContent=this.icon);if(this.element.shadowRoot.querySelector("svg")&&!this.svgContent){if(null===i&&null===e)return;if(this.element.shadowRoot.querySelector(`.duet-icon-svg[data-name="${e}"]`))return}const s=this.src?this.src:`${t.cdnURIProd}/icons/${t.duetIconVersion}/lib/assets/${this.name}.svg`;try{this.svgContent=await function(t){if(r[t])return r[t];const e=async function(){const e=await fetch(t);if(!e.ok)throw new Error(`SVG request failed: ${e.status} ${e.statusText}`);const i=(t=>{if("undefined"==typeof document||!t)return;const e=document.createElement("div");e.innerHTML=t;for(let t=e.childNodes.length-1;t>=0;t--)"svg"!==e.childNodes[t].nodeName.toLowerCase()&&e.removeChild(e.childNodes[t]);return e.firstElementChild})(await e.text());if(!h(i))throw new Error("SVG validation failed");const s=document.createElement("div");return s.appendChild(i),s.innerHTML}();return r[t]=e}(s)}catch(t){console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${s}.`,t)}}render(){const t="currentColor"===this.color?"currentColor":n(this.color,this.theme)||n(this.outline,this.theme),e=this.backgroundRotation?{transform:`rotate(${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{},o=Object.assign({color:t,background:d(n(this.background,this.theme),this.backgroundOpacity),"border-color":n(this.outline,this.theme)},e),a=Object.assign({},this.backgroundRotation?{transform:`rotate(-${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{});return i(s,{class:{"duet-m-0":"none"===this.margin,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background}},i("span",{"aria-hidden":"true",style:o,class:{"duet-icon":!0,"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background,["brand-rotated"===this.shape?"duet-icon-shape-brand":`duet-icon-shape-${this.shape}`]:!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme,"duet-icon-not-responsive":!this.responsive}},i("span",{"aria-hidden":"true",class:{"duet-icon-svg":!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme},"data-name":this.name,innerHTML:this.svgContent,style:a})))}get element(){return o(this)}static get watchers(){return{src:["loadIcon"],icon:["loadIcon"],name:["loadIcon"]}}};u.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;display:block;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(7deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat;mask-position:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-7deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;overflow:clip;fill:currentColor;overflow-clip-margin:1px}:host([size=auto]) .duet-icon-svg{width:100%;height:100%}:host([size=xxx-small]) .duet-icon-svg{width:7px;height:7px}:host([size=xxx-small]) .duet-icon-has-background{padding:6px}:host([size=xxx-small]) .duet-icon-has-outline{padding:4px}:host([size=xxx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xxx-small]) .duet-icon-has-outline .duet-icon-svg{width:10px;height:10px}:host([size=xxx-small]) .duet-icon-shape-brand{padding:0}:host([size=xxx-small]) .duet-icon-shape-brand .duet-icon-svg{width:0;height:0}:host([size=xx-small]) .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-icon-has-background{padding:8px}:host([size=xx-small]) .duet-icon-has-outline{padding:7px}:host([size=xx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xx-small]) .duet-icon-has-outline .duet-icon-svg{width:16px;height:16px}:host([size=xx-small]) .duet-icon-shape-brand{padding:4px}:host([size=xx-small]) .duet-icon-shape-brand .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-theme-turva .duet-icon-shape-brand{width:18px;height:15px;padding:0}:host([size=x-small]) .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-icon-has-outline{padding:10px}:host([size=x-small]) .duet-icon-has-background{padding:12px}:host([size=x-small]) .duet-icon-shape-brand{padding:8px}:host([size=x-small]) .duet-icon-shape-brand .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-theme-turva .duet-icon-shape-brand{width:32px;height:30px;padding:0}:host([size=small]) .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-icon-has-background{padding:14px}:host([size=small]) .duet-icon-shape-brand{padding:8px}:host([size=small]) .duet-icon-shape-brand .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-theme-turva .duet-icon-shape-brand{width:36px;height:34px;padding:0}:host([size=medium]) .duet-icon-shape-brand{padding:12px}:host([size=medium]) .duet-icon-shape-brand .duet-icon-svg{width:24px;height:24px}:host([size=medium]) .duet-theme-turva .duet-icon-shape-brand{width:48px;height:44px;padding:0}:host([size=large]) .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-icon-shape-brand{padding:16px}:host([size=large]) .duet-icon-shape-brand .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-theme-turva .duet-icon-shape-brand{width:62px;height:56px;padding:0}:host([size=x-large]) .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-icon-shape-brand{padding:20px}:host([size=x-large]) .duet-icon-shape-brand .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-theme-turva .duet-icon-shape-brand{width:76px;height:68px;padding:0}:host([size=xx-large]) .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-icon-shape-brand{padding:24px}:host([size=xx-large]) .duet-icon-shape-brand .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-theme-turva .duet-icon-shape-brand{width:95px;height:86px;padding:0}:host([size=xxx-large]) .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){:host([size=xxx-large]) .duet-icon-svg{width:72px;height:72px}}:host([size=xxx-large]) .duet-icon-shape-brand{padding:36px}:host([size=xxx-large]) .duet-icon-shape-brand .duet-icon-svg{width:72px;height:72px}:host([size=xxx-large]) .duet-theme-turva .duet-icon-shape-brand{width:144px;height:130px;padding:0}";export{u as duet_icon}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as e,h as i,H as o,g as s}from"./p-2f1b5c7d.js";import{i as l}from"./p-a58bd561.js";import{c as a}from"./p-5e59e970.js";import{f as r,o as u,j as n,d as c,b as h,a as d,c as m}from"./p-a1b7f2a0.js";import{a as p,c as b,d as g}from"./p-2e36d5bf.js";import{c as x}from"./p-06e608ae.js";import{p as v}from"./p-0e052642.js";const f=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.errorId=a("DuetError"),this.labelId=a("DuetLabel"),this.topCaptionId=a("DuetCaptionTop"),this.selectedLangObject={en:"selected",fi:"valittu",sv:"vald"},this.selectAllLabel={en:"Select all",fi:"Valitse kaikki",sv:"Välj alla"},this.clearAllLabel={en:"Clear all",fi:"Tyhjennä kaikki",sv:"Rensa alla"},this.placeholderLabel={en:"Hint",fi:"Vihje",sv:"Tips"},this.onChange=t=>{this.duetChange.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onMultiselectKeyDown=t=>{(r(t)||u(t))&&this.checkboxesVisible&&(this.checkboxesVisible=!1,this.multiselectElement.focus(),t.preventDefault())},this.onMultiselectInputKeyDown=t=>{n(t)&&(t.preventDefault(),this.toggleCheckboxes(),setTimeout((()=>{if(this.checkboxesVisible){const t=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(this.allControls?-2:0)}`);t&&t.focus()}}),200))},this.onCheckboxKeyDown=(t,e)=>{let i;c(t)||h(t)?i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e-1)}`):(d(t)||m(t))&&(i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e+1)}`)),i&&(i.focus(),t.preventDefault(),this.activeDescendant=i.id)},this.toggleCheckboxes=()=>{this.checkboxesVisible=!this.checkboxesVisible},this.toggleCheckbox=(t,e)=>{this.value=function(t,e){return t.includes(e)?t.filter((t=>t!==e)):[...t,e]}(this.value,e),this.onChange(t)},this.handleSelectAllClick=t=>{this.value=this.processedItems,this.onChange(t)},this.handleClearAllClick=t=>{this.value=[],this.onChange(t)},this.getOptionIdentifier=t=>`${this.identifier}-option-${t}`,this.getDescribedBy=()=>{const t=[];return this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.processedItems=[],this.processedGroups=[],this.checkboxesVisible=!1,this.activeDescendant="",this.language=p(),this.margin="auto",this.error="",this.accessibleLiveError="polite",this.expand=!1,this.value=[],this.theme="",this.labelHidden=!1,this.identifier=a("DuetMultiselect"),this.allControls=!1,this.placeholder="",this.caption=void 0,this.items=void 0,this.disabled=!1,this.label="label",this.labelColor=void 0,this.labelWeight=void 0,this.accessibleDescribedBy=void 0,this.tooltip="",this.tooltipDirection="auto"}handleFocus(t){t.composedPath().every((t=>t!==this.element))&&(this.checkboxesVisible=!1)}componentWillLoad(){l(this),this.isCaptionVisible=!!this.caption,x(this.element,"tooltip","duet-tooltip",1,!0),this.refresh()}connectedCallback(){b(this)}disconnectedCallback(){g(this)}async setFocus(t){this.multiselectElement&&this.multiselectElement.focus(t)}async selectWithValues(t){const e=this.processedItems.filter((e=>t.includes(e.value)));this.value=[...new Set([...this.value,...e])]}async refresh(){const t=v(this.items);this.processedItems=[],this.processedGroups=[],t&&0!==t.length&&(this.processedGroups=void 0!==t[0].items?t:[{label:"",items:t}],this.processedGroups.forEach((t=>t.items.forEach((t=>this.processedItems.push(t))))))}render(){var t;return i(o,{class:{"duet-m-0":"none"===this.margin,"duet-expand":this.expand}},i("div",{class:{"duet-multiselect-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:t=>this.onMultiselectKeyDown(t)},i("duet-label",{theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:this.identifier},this.label),this.tooltip&&i("duet-tooltip",{class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),i("slot",{name:"tooltip"}),this.caption&&i("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),i("div",{class:"duet-multiselect-wrapper"},i("button",{id:this.identifier,ref:t=>this.multiselectElement=t,class:{"duet-multiselect":!0,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:()=>this.toggleCheckboxes(),onFocus:t=>this.onFocus(t),onBlur:t=>this.onBlur(t),role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":`${this.identifier}-checkboxes`,onKeyDown:t=>this.onMultiselectInputKeyDown(t),disabled:this.disabled},i("span",{role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":`${this.identifier}-checkboxes`,"aria-label":this.placeholderLabel[this.language],class:"duet-multiselect-label"},this.placeholder),this.value&&this.value.length>0&&i("span",{class:"duet-multiselect-badge"},this.value.length,i("duet-visually-hidden",null,this.selectedLangObject[this.language],", ",this.value.map((t=>t.label)).join(", "))),i("svg",{class:{"duet-multiselect-icon":!0,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},i("path",{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"}))),i("div",{id:`${this.identifier}-checkboxes`,role:"listbox",class:{"duet-multiselect-checkboxes":!0,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},(null===(t=this.processedItems)||void 0===t?void 0:t.length)&&this.allControls&&i("div",{class:"duet-multiselect-all-control-buttons"},i("button",{class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:t=>this.onCheckboxKeyDown(t,-2)},this.selectAllLabel[this.language]),i("button",{class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:t=>this.onCheckboxKeyDown(t,-1)},this.clearAllLabel[this.language])),this.processedItems&&this.processedGroups.map((t=>i("fieldset",null,t.label&&i("legend",null,t.label),t.items.map(((t,e)=>{var o,s;return i("duet-checkbox",{identifier:this.getOptionIdentifier(e),role:"option",label:t.label,value:t.value,key:t.value,checked:null===(o=this.value)||void 0===o?void 0:o.includes(t),"accessible-selected":(null===(s=this.value)||void 0===s?void 0:s.includes(t))?"true":void 0,disabled:!this.checkboxesVisible||t.disabled,onDuetChange:e=>this.toggleCheckbox(e,t),onKeyDown:t=>this.onCheckboxKeyDown(t,e),theme:this.theme})}))))))),i("span",{class:"duet-multiselect-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",null,this.error))))}get element(){return s(this)}static get watchers(){return{items:["refresh"]}}};f.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:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-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-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-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-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !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(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px #747475}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(0, 41, 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(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;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.75rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);background:#d9ebf4;border-radius:20rem}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{border-color:rgb(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !important}.duet-theme-turva .duet-multiselect{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(225, 227, 230)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 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:0.875rem;font-weight:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(0, 41, 77)}.duet-multiselect-checkboxes fieldset{margin-top:8px;margin-bottom:12px}.duet-multiselect-checkboxes fieldset+fieldset{margin-top:28px}.duet-multiselect-checkboxes legend{margin-bottom:12px;font-size:1rem;font-weight:600}.duet-multiselect-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(101, 119, 135);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{f as duet_multiselect}
@@ -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-2f1b5c7d.js";import{i as n}from"./p-a58bd561.js";import{a as i,c as s,d as r,g as l}from"./p-2e36d5bf.js";import"./p-0e052642.js";const p=class{constructor(t){e(this,t),this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"},this.language=i(),this.theme=""}componentWillLoad(){n(this)}connectedCallback(){s(this)}disconnectedCallback(){r(this)}render(){const e=l(this.chooseLangObject);return t(o,null,t("div",{class:"duet-slideout-lang",role:"group","aria-label":e},t("duet-icon",{name:"navigation-language",margin:"none",color:"secondary"}),t("slot",null)))}get element(){return a(this)}};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}.duet-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:15%;right:-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:16px;font-weight:600;line-height:150%;color:rgb(0, 41, 77);content:"|"}.duet-theme-turva ::slotted(:not(:last-child))::after{color:rgb(23, 28, 58)}';export{p as duet_slideout_lang}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as n,H as o,g as t}from"./p-2f1b5c7d.js";import{i as a}from"./p-a58bd561.js";const r=class{constructor(n){e(this,n),this.theme=""}componentWillLoad(){a(this)}render(){return n(o,null,n("div",{class:"container"},n("slot",null),n("slot",{name:"mobile"}),n("slot",{name:"desktop"})))}get element(){return t(this)}};r.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%}.container{position:relative;z-index:400}::slotted(*[slot=mobile]){display:inherit}::slotted(*[slot=desktop]){display:none}@media (min-width: 62em){::slotted(*[slot=mobile]){display:none}::slotted(*[slot=desktop]){display:inherit}}";export{r as duet_nav}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,o,e,r){function n(t){return t instanceof e?t:new e((function(o){o(t)}))}return new(e||(e=Promise))((function(e,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function u(t){try{s(r["throw"](t))}catch(t){i(t)}}function s(t){t.done?e(t.value):n(t.value).then(a,u)}s((r=r.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(o){return s([t,o])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(e=0)),e)try{if(r=1,n&&(i=u[0]&2?n["return"]:u[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;if(n=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;n=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1];i=u;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(u);break}if(i[2])e.ops.pop();e.trys.pop();continue}u=o.call(t,e)}catch(t){u=[6,t];n=0}finally{r=i=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-aab7c415.system.js","./p-50f4bca2.system.js","./p-34d7dd10.system.js","./p-d5eff7a7.system.js","./p-b6f2538b.system.js"],(function(t){"use strict";var o,e,r,n,i,a,u,s,p,l;return{setters:[function(t){o=t.r;e=t.h;r=t.H;n=t.g;i=t.c},function(t){a=t.i},function(t){u=t.s;s=t.u},function(t){p=t.F},function(t){l=t.T}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button:hover{color:rgb(0, 77, 128)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-tooltip-button:focus{background:transparent !important;outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !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;line-height:1.25;text-align:left;white-space:normal;vertical-align:top}.duet-theme-turva .duet-tooltip-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}';var c=t("duet_tooltip_button",function(){function t(t){o(this,t);this.label="";this.accessibleLabel=undefined;this.theme="";this.active=undefined;this.tooltipId=undefined}t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){u(this)};t.prototype.disconnectedCallback=function(){s(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(o){if(this.buttonElement){this.buttonElement.focus(t)}return[2]}))}))};t.prototype.render=function(){var t=this;return e(r,null,e("button",{ref:function(o){return t.buttonElement=o},"aria-controls":this.tooltipId,"aria-expanded":this.active?"true":"false",type:"button",class:{"duet-tooltip-button":true,"duet-tooltip-button-has-label":!!this.label,"duet-theme-turva":this.theme==="turva"}},e("svg",{"aria-hidden":"true",role:"img",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z"}),e("circle",{cx:"11.625",cy:"7.125",r:"1.125"}),e("path",{d:"m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z"})),this.label?e("span",{class:"duet-tooltip-label"},this.label):e("duet-visually-hidden",null,this.accessibleLabel)))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());c.style=d;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;position:absolute;z-index:950}.duet-tooltip{position:relative;width:282px;min-height:48px;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, 41, 77);visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:300ms ease;transform-origin:100% 100%}.duet-tooltip.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);border-color:rgb(228, 228, 230);box-shadow:0 2px 10px 0 rgba(117, 117, 117, 0.13)}.duet-tooltip .arrow{position:absolute;width:22px;height:22px;pointer-events:none}.duet-tooltip .arrow.bottom,.duet-tooltip .arrow.bottom-start,.duet-tooltip .arrow.bottom-end{top:-20px}.duet-tooltip .arrow-container{position:relative;left:4px;width:100%;height:100%;pointer-events:none}.duet-tooltip .arrow-container::after{position:absolute;z-index:200;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container::before{position:absolute;z-index:100;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container.top::after,.duet-tooltip .arrow-container.top-start::after,.duet-tooltip .arrow-container.top-end::after{bottom:2px;left:2px;border:10px solid transparent;border-top:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.top::before,.duet-tooltip .arrow-container.top-start::before,.duet-tooltip .arrow-container.top-end::before{bottom:-1px;left:1px;border:11px solid transparent;border-top:11px solid rgb(225, 227, 230)}.duet-theme-turva .duet-tooltip .arrow-container.top::before,.duet-theme-turva .duet-tooltip .arrow-container.top-start::before,.duet-theme-turva .duet-tooltip .arrow-container.top-end::before{border-top:11px solid rgb(228, 228, 230)}.duet-tooltip .arrow-container.bottom::after,.duet-tooltip .arrow-container.bottom-start::after,.duet-tooltip .arrow-container.bottom-end::after{bottom:1px;left:2px;border:10px solid transparent;border-bottom:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.bottom::before,.duet-tooltip .arrow-container.bottom-start::before,.duet-tooltip .arrow-container.bottom-end::before{bottom:1px;left:1px;border:11px solid transparent;border-bottom:11px solid rgb(225, 227, 230)}.duet-theme-turva .duet-tooltip .arrow-container.bottom::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-start::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-end::before{border-top:11px solid rgb(228, 228, 230)}.duet-tooltip.duet-tooltip-has-label{right:auto !important;left:0;width:282px !important;transform-origin:0 0 !important}.duet-tooltip.duet-tooltip-active{visibility:visible;opacity:1;transition-property:transform, opacity}.duet-tooltip-content-area{padding:20px !important;width:100%;padding-right:25px !important;overflow-y:auto;-webkit-hyphens:auto;hyphens:auto;border-radius:4px;-webkit-overflow-scrolling:touch}.duet-tooltip-content-area:focus{outline:none}:host(.user-is-tabbing) .duet-tooltip-content-area: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-tooltip-content-area:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tooltip-content-area::-webkit-scrollbar{width:4px}.duet-tooltip-content-area::-webkit-scrollbar-track{border-radius:4px}.duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(225, 227, 230);border-radius:4px}.duet-theme-turva .duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(228, 228, 230)}.duet-tooltip-close{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;min-height:0 !important;padding:0 !important;margin:0 !important;line-height:normal;color:rgb(0, 41, 77);cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;-webkit-appearance:none;appearance:none}.duet-tooltip-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-tooltip-close:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}';var h=t("duet_tooltip_popup",function(){function t(t){var e=this;o(this,t);this.tooltipPopupClosed=i(this,"tooltipPopupClosed",7);this.handleCloseClick=function(){e.tooltipPopupClosed.emit()};this.theme="";this.active=undefined;this.tooltipId=undefined;this.arrowStyles=undefined;this.placement=undefined;this.accessibleCloseLabel=undefined}t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){u(this);if(!this.teleport){this.teleport=new l(this.element)}if(this.teleport){this.teleport.activate()}};t.prototype.disconnectedCallback=function(){s(this)};t.prototype.getArrowElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.arrowEl]}))}))};t.prototype.getContentElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.contentEl]}))}))};t.prototype.setFocusOnContentElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.contentEl.focus();return[2]}))}))};t.prototype.render=function(){var t,o;var n=this;return e(r,null,e("div",{class:{"duet-tooltip":true,"duet-theme-turva":this.theme==="turva","duet-tooltip-active":this.active===true}},e(p,{moveFocusTo:this.buttonEl}),e("div",{ref:function(t){return n.contentEl=t},class:"duet-tooltip-content-area",tabindex:0,id:this.tooltipId},e("slot",null)),e("div",{ref:function(t){return n.arrowEl=t},class:(t={arrow:true},t[this.placement]=true,t),style:this.arrowStyles},e("div",{class:(o={"arrow-container":true},o[this.placement]=true,o)})),e("button",{type:"button",class:"duet-tooltip-close",onClick:this.handleCloseClick,ref:function(t){return n.buttonEl=t}},e("duet-icon",{name:"navigation-close-small",margin:"none",color:"currentColor",size:"xxx-small"}),e("duet-visually-hidden",null,this.accessibleCloseLabel)),e(p,{moveFocusTo:this.contentEl})))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());h.style=b}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,g as i}from"./p-2f1b5c7d.js";import{i as s}from"./p-a58bd561.js";import{g as a}from"./p-2e36d5bf.js";import{a as o}from"./p-fabb616b.js";import"./p-0e052642.js";const n=class{constructor(t){e(this,t),this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"},this.onLinkClick=e=>{const{url:t,meta:i}=this.data;this.linkClickEvent&&(e.preventDefault(),this.linkClickEvent.emit({component:"duet-upload",data:{name:this.data.item.name,url:t,meta:i}}))},this.theme="",this.data=void 0,this.type=void 0,this.showLinks=void 0,this.actions=void 0,this.buttonTitles=void 0,this.label=void 0,this.categoryLabel=void 0,this.errorCodes=void 0,this.showCategory=void 0,this.linkClickEvent=void 0}componentWillLoad(){s(this)}async focusActionButton(){this.actionButton&&(await this.actionButton.setFocus({preventScroll:!0}),this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))}getFileNameLine(){const{item:e,size:i,uploaded:s,url:n,progress:r,error:l}=this.data,{name:d}=e,c=t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),h=t("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",((e,t=2)=>{if(0===e)return"0 Bytes";const i=t<0?0:t,s=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,s)).toFixed(i))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][s]})(i),")");switch(this.type){case"inprogress":return t("span",{class:"duet-upload-item-name",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-visually-hidden",null,t("duet-paragraph",null,a(this.fileUploadingInfo))),t("duet-progress",{theme:this.theme,progress:Math.ceil(r),"aria-hidden":!0}));case"pending":return t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);case"failure":return t("span",{class:"duet-upload-item-error",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},o(l.type,this.errorCodes)));default:return t("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},s&&n&&this.showLinks?t("duet-link",{class:"file-link",onClick:this.onLinkClick,url:n},c):c,t("duet-spacer",{size:"xx-small",direction:"horizontal"}),h)}}getActionButtonTitle(e){return!0===this.buttonTitles[e.name]||!1===this.buttonTitles[e.name]?e:a(this.buttonTitles[e.name])}render(){const{uid:e,meta:i,item:s}=this.data,o=i&&i.badges?t("span",null,i.badges.map((e=>t("duet-badge",{color:"primary"},e)))):void 0,n=`${i&&i.badges?i.badges.join(","):""} ${s.name}`;return t("div",{class:{"upload-item-row":!0}},this.showCategory&&t("div",{class:"item-categories"},t("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},a(this.categoryLabel)),o),t("div",{class:{"item-name":!0,"no-category":!this.showCategory}},!!this.label&&t("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},a(this.label)),this.getFileNameLine()),t("div",{class:"item-actions"},this.actions.map((s=>t("duet-action-button",{actionMeta:Object.assign({},i||{}),actionId:e||null,actionName:s.name,theme:this.theme,iconName:s.icon,iconColor:s.color,iconSize:s.size,background:s.background,"accessible-label":`${n} ${a(s.label)} `,accessibleTitle:this.getActionButtonTitle(s),ref:e=>this.actionButton=e})))))}get element(){return i(this)}};n.style=".file-link::part(duet-link){text-decoration:none}";export{n as duet_upload_item}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as e,H as o,g as a}from"./p-2f1b5c7d.js";import{i as r}from"./p-a58bd561.js";const i=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"}componentWillLoad(){r(this)}async setFocus(t){setTimeout((()=>this.itemElement.focus(t)),200)}render(){const t=this.url?"a":"button";return e(o,{role:"listitem"},e(t,{ref:t=>this.itemElement=t,class:{"duet-toolbar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active,["negative"===this.variation?"negative":"white"]:!0},href:this.url,role:"a"===t?"link":"button","aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0},this.leadingIcon&&e("duet-icon",{size:"x-small",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),e("slot",null),this.trailingIcon&&e("duet-icon",{class:{"trailing-icon":!0,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon,margin:"none",size:"action-arrow-down-small"===this.trailingIcon?"xxx-small":"x-small",color:"currentColor"})))}get element(){return a(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;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, 77, 128);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[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.negative{color:rgb(255, 255, 255)}.duet-toolbar-item.negative[aria-expanded=true]{background:rgba(0, 41, 77, 0.2)}.duet-toolbar-item.negative duet-icon{color:rgb(205, 229, 241)}.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.negative{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.negative[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.negative duet-icon{color:rgb(244, 207, 214)}.duet-toolbar-item:hover{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-toolbar-item:hover.negative{color:rgb(255, 255, 255);background:rgba(0, 41, 77, 0.2)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-toolbar-item:hover.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(0, 41, 77)}.duet-toolbar-item.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active.negative::after{display:none}.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.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}';export{i as duet_toolbar_item}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as o,h as e,H as t,g as a}from"./p-2f1b5c7d.js";import{i as r}from"./p-a58bd561.js";import{f as n}from"./p-a1b7f2a0.js";const i=class{constructor(e){o(this,e),this.accessibleLabel=void 0,this.theme="",this.targetLanguage=void 0,this.href="#",this.icon=void 0,this.active=!1}componentWillLoad(){r(this)}handleEscape(o){if(n(o)){const o=this.element.closest("duet-toolbar-dropdown");o.open=!1,o.setFocus()}}render(){return e(t,null,e("a",{class:{"duet-toolbar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"link menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:o=>this.handleEscape(o)},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none"}),e("span",{class:"label"},e("slot",null)),this.active&&e("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))}get element(){return a(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%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-toolbar-dropdown-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-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown-link .label{flex:1;text-align:left}.duet-toolbar-dropdown-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-dropdown-link.active{background:rgb(243, 249, 252)}.duet-toolbar-dropdown-link.active.duet-theme-turva{background:rgb(245, 245, 247)}.duet-toolbar-dropdown-link:hover{background:rgb(230, 242, 248)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(228, 228, 230)}';export{i as duet_toolbar_dropdown_link}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-aab7c415.system.js","./p-50f4bca2.system.js","./p-c1445714.system.js","./p-c86d6786.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";var n=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());n.style=s;var p=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var m=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());m.style=p}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-aab7c415.system.js"],(function(t){"use strict";var n;return{setters:[function(t){n=t.h}],execute:function(){var e=t("f",(function(t){if("setFocus"in t){t.setFocus()}else{t.focus()}}));var u=t("F",(function(t){var u=t.moveFocusTo;return n("div",{class:"duet-focus-guard","aria-hidden":"true",tabIndex:0,onFocus:function(){return e(u)}})}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as e,F as a,g as i}from"./p-2f1b5c7d.js";import{s}from"./p-4a901bfc.js";import{i as r}from"./p-a58bd561.js";import{c as o}from"./p-5e59e970.js";import{s as n,u as d}from"./p-a1b7f2a0.js";import{a as p,g as l,c as u,d as h}from"./p-2e36d5bf.js";import"./p-0e052642.js";const b=2*parseFloat(s)*16,c=class{constructor(e){t(this,e),this.isTicking=!1,this.expandableId=o("DuetTray"),this.animationLoop=()=>{this.hiddenState=window.pageYOffset<b,this.isTicking=!1},this.toggleExpandable=t=>{t.preventDefault(),this.expanded=!this.expanded},this.expanded=!1,this.hiddenState=!1,this.language=p(),this.accessibleCloseLabelDefaults={fi:"Sulje",en:"Close",sv:"Stäng"},this.accessibleCloseLabel=l(this.accessibleCloseLabelDefaults,this.language),this.accessibleOpenLabelDefaults={fi:"Avaa",en:"Open",sv:"Öppna"},this.accessibleOpenLabel=l(this.accessibleOpenLabelDefaults,this.language),this.theme="",this.active=!1,this.autoHide=!0,this.responsive=!0}componentWillLoad(){r(this),this.hasAdditionalContent=!!this.element.querySelector("[slot='additional']")}connectedCallback(){u(this,[{prop:"accessibleOpenLabel",defaults:"accessibleOpenLabelDefaults"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefaults"}]),n(this)}disconnectedCallback(){h(this),d(this)}getFrame(){!this.isTicking&&this.autoHide&&this.active&&(requestAnimationFrame(this.animationLoop),this.isTicking=!0)}handleBodyClick(t){this.expanded&&(this.expanded=this.element.contains(t.target))}render(){return e("div",{class:{"duet-tray":!0,"duet-tray-is-active":this.active,"duet-tray-is-hidden":this.hiddenState,"duet-tray-is-responsive":this.responsive,"duet-theme-turva":"turva"===this.theme,"duet-tray-is-expandable":this.hasAdditionalContent}},e("div",{class:"duet-tray-default-content",role:"status"},e("slot",null)),this.hasAdditionalContent&&e(a,null,e("button",{"aria-expanded":this.expanded?"true":"false","aria-controls":this.expandableId,onClick:t=>this.toggleExpandable(t),class:{"duet-tray-button":!0,"duet-tray-is-expanded":this.expanded}},e("duet-icon",{name:"action-arrow-down",size:"small",color:"currentColor",margin:"none"}),e("duet-visually-hidden",null,this.expanded?this.accessibleCloseLabel:this.accessibleOpenLabel)),e("div",{id:this.expandableId,class:{"duet-tray-expandable":!0,active:this.expanded}},e("div",{class:"duet-tray-expandable-content"},e("slot",{name:"additional"})))))}get element(){return i(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tray{position:fixed;top:4rem;right:0;left:0;z-index:399;display:flex;flex-direction:column;max-height:calc(100% - 8rem);padding:16px 20px 16px 24px;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(0, 41, 77);visibility:hidden;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:opacity 600ms ease, visibility 600ms ease, transform 600ms ease;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray{padding:16px 36px}}@media (min-width: 106.25em){.duet-tray{padding:16px 52px 16px 60px}}.duet-tray:focus{outline:0}:host(.user-is-tabbing) .duet-tray:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-tray.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tray.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-tray.duet-tray-is-active{visibility:visible;opacity:1;transform:translateY(0)}.duet-tray.duet-tray-is-hidden{visibility:hidden;opacity:0;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray.duet-tray-is-responsive{display:none !important}}.duet-tray.duet-tray-is-expandable{padding-right:66px}@media (min-width: 62em){.duet-tray.duet-tray-is-expandable{padding-right:78px}}@media (min-width: 106.25em){.duet-tray.duet-tray-is-expandable{padding-right:94px}}.duet-tray-expandable{position:relative;z-index:100;width:calc(100% + 46px);max-height:0;overflow-y:auto;visibility:hidden;opacity:0;transition:opacity 600ms ease, visibility 600ms ease, max-height 600ms ease;scrollbar-width:none}.duet-tray-expandable::-webkit-scrollbar{display:none}.duet-tray-expandable.active{max-height:500px;visibility:visible;opacity:1}.duet-tray-expandable-content{width:100%;margin-top:16px;border-top:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-tray-expandable-content{border-color:rgb(228, 228, 230)}.duet-tray-button{-webkit-user-select:none;user-select:none;padding:20px !important;position:absolute;top:-2px;right:0;z-index:200;color:rgb(0, 41, 77);text-align:center;cursor:pointer;border-radius:4px;transition:transform 300ms ease;-webkit-tap-highlight-color:transparent}@media (min-width: 62em){.duet-tray-button{margin-right:16px}}@media (min-width: 106.25em){.duet-tray-button{margin-right:36px}}.duet-theme-turva .duet-tray-button{color:rgb(23, 28, 58)}.duet-tray-button.duet-tray-is-expanded{transform:rotate(-180deg)}.duet-tray-button:focus{outline:0}:host(.user-is-tabbing) .duet-tray-button: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-tray-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tray-button:active{box-shadow:none;opacity:0.75}';export{c as duet_tray}