@duetds/components 10.0.0-alpha.1 → 10.0.0-alpha.3

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 (759) hide show
  1. package/hydrate/index.js +777 -256
  2. package/lib/cjs/a11y-utils-8177cf00.js +25 -0
  3. package/lib/cjs/{app-globals-a1431483.js → app-globals-718a3704.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +13 -12
  13. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +4 -4
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-chip_3.cjs.entry.js +9 -9
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +11 -11
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +8 -7
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +508 -15
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +7 -7
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +5 -5
  30. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-hero.cjs.entry.js +8 -8
  32. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  33. package/lib/cjs/duet-input_2.cjs.entry.js +13 -12
  34. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  35. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -5
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-modal.cjs.entry.js +10 -10
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -9
  44. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
  46. package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
  47. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
  50. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +6 -6
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +7 -6
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +17 -17
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  56. package/lib/cjs/duet-select.cjs.entry.js +9 -8
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  58. package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
  63. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  64. package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -4
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
  70. package/lib/cjs/duet-textarea.cjs.entry.js +8 -7
  71. package/lib/cjs/duet-toggle.cjs.entry.js +6 -5
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -6
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  83. package/lib/cjs/duet.cjs.js +3 -3
  84. package/lib/cjs/{errorcodes.utils-b4cf3ce2.js → errorcodes.utils-4e8a9de4.js} +1 -1
  85. package/lib/cjs/{focus-utils-68fa1c8f.js → focus-utils-2a0030aa.js} +1 -1
  86. package/lib/cjs/{index-7e38df71.js → index-21e67ab3.js} +1 -1
  87. package/lib/cjs/label-2abeac23.js +22 -0
  88. package/lib/cjs/{language-utils-beee36ce.js → language-utils-b5940c7b.js} +1 -1
  89. package/lib/cjs/loader.cjs.js +3 -3
  90. package/lib/cjs/{slot-utils-80463bf1.js → slot-utils-382633cf.js} +10 -5
  91. package/lib/cjs/{token-utils-12717808.js → token-utils-5000595c.js} +1 -1
  92. package/lib/cjs/{tokens.module-46ddb47a.js → tokens.module-7c947029.js} +16 -0
  93. package/lib/collection/common/label.js +16 -0
  94. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  95. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  96. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  97. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  98. package/lib/collection/components/duet-checkbox/duet-checkbox.css +9 -4
  99. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -6
  100. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  101. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  102. package/lib/collection/components/duet-choice/duet-choice.js +6 -6
  103. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  104. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  105. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  106. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  107. package/lib/collection/components/duet-date-picker/duet-date-picker.css +77 -4
  108. package/lib/collection/components/duet-date-picker/duet-date-picker.js +3 -2
  109. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  110. package/lib/collection/components/duet-editable-table/duet-editable-table.css +3 -1
  111. package/lib/collection/components/duet-editable-table/duet-editable-table.js +4 -7
  112. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  113. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  114. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  115. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  116. package/lib/collection/components/duet-grid/duet-grid.js +2 -2
  117. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  118. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  119. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  120. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  121. package/lib/collection/components/duet-input/duet-input.css +80 -7
  122. package/lib/collection/components/duet-input/duet-input.js +7 -6
  123. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  124. package/lib/collection/components/duet-link/duet-link.css +2 -2
  125. package/lib/collection/components/duet-link/duet-link.js +2 -2
  126. package/lib/collection/components/duet-list/duet-list.js +1 -1
  127. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  128. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  129. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  130. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  131. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  132. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  133. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  134. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  135. package/lib/collection/components/duet-modal/duet-modal.js +6 -6
  136. package/lib/collection/components/duet-multiselect/duet-multiselect.css +69 -1
  137. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -5
  138. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  139. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  140. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  141. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  142. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  143. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  144. package/lib/collection/components/duet-pagination/duet-pagination.js +12 -12
  145. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  146. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +2 -2
  147. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  148. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  149. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  150. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  151. package/lib/collection/components/duet-range-slider/duet-range-slider.css +69 -1
  152. package/lib/collection/components/duet-range-slider/duet-range-slider.js +3 -2
  153. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  154. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  155. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  156. package/lib/collection/components/duet-select/duet-select.css +89 -13
  157. package/lib/collection/components/duet-select/duet-select.js +6 -5
  158. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  159. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  160. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  161. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  162. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  163. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  164. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  165. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  166. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  167. package/lib/collection/components/duet-step/duet-step.js +2 -2
  168. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  169. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  170. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  171. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  172. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  173. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  174. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  175. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  176. package/lib/collection/components/duet-table/duet-table-styles.js +499 -0
  177. package/lib/collection/components/duet-table/duet-table.js +5 -12
  178. package/lib/collection/components/duet-textarea/duet-textarea.css +69 -1
  179. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -3
  180. package/lib/collection/components/duet-toggle/duet-toggle.css +68 -0
  181. package/lib/collection/components/duet-toggle/duet-toggle.js +3 -2
  182. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  183. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  184. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  185. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  186. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  187. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  188. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  189. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  190. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  191. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  192. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  193. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  194. package/lib/collection/utils/a11y-utils.js +9 -5
  195. package/lib/collection/utils/slot-utils.js +9 -4
  196. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  197. package/lib/dist-custom-elements/duet-alert.js +1 -1
  198. package/lib/dist-custom-elements/duet-badge.js +1 -1
  199. package/lib/dist-custom-elements/duet-banner.js +5 -5
  200. package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
  201. package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
  202. package/lib/dist-custom-elements/duet-button.js +1 -1
  203. package/lib/dist-custom-elements/duet-callout.js +5 -5
  204. package/lib/dist-custom-elements/duet-caption.js +1 -1
  205. package/lib/dist-custom-elements/duet-card.js +4 -4
  206. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  207. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  208. package/lib/dist-custom-elements/duet-chip.js +1 -1
  209. package/lib/dist-custom-elements/duet-choice-group.js +11 -11
  210. package/lib/dist-custom-elements/duet-choice.js +11 -11
  211. package/lib/dist-custom-elements/duet-collapsible.js +5 -5
  212. package/lib/dist-custom-elements/duet-combobox.js +20 -26
  213. package/lib/dist-custom-elements/duet-contact-card.js +10 -10
  214. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  215. package/lib/dist-custom-elements/duet-date-picker.js +22 -27
  216. package/lib/dist-custom-elements/duet-divider.js +1 -1
  217. package/lib/dist-custom-elements/duet-editable-table.js +12 -11
  218. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  219. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  220. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  221. package/lib/dist-custom-elements/duet-footer.js +12 -12
  222. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  223. package/lib/dist-custom-elements/duet-grid.js +1 -1
  224. package/lib/dist-custom-elements/duet-header.js +8 -8
  225. package/lib/dist-custom-elements/duet-heading.js +1 -1
  226. package/lib/dist-custom-elements/duet-hero.js +15 -15
  227. package/lib/dist-custom-elements/duet-icon.js +1 -1
  228. package/lib/dist-custom-elements/duet-input.js +1 -1
  229. package/lib/dist-custom-elements/duet-label.js +62 -1
  230. package/lib/dist-custom-elements/duet-layout.js +7 -7
  231. package/lib/dist-custom-elements/duet-link.js +1 -1
  232. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  233. package/lib/dist-custom-elements/duet-list.js +1 -1
  234. package/lib/dist-custom-elements/duet-logo.js +1 -1
  235. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  236. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  237. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  238. package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
  239. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  240. package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
  241. package/lib/dist-custom-elements/duet-modal.js +15 -15
  242. package/lib/dist-custom-elements/duet-multiselect.js +19 -24
  243. package/lib/dist-custom-elements/duet-nav.js +2 -2
  244. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  245. package/lib/dist-custom-elements/duet-notification.js +4 -4
  246. package/lib/dist-custom-elements/duet-number-input.js +17 -23
  247. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  248. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  249. package/lib/dist-custom-elements/duet-pagination.js +30 -36
  250. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  251. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  252. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  253. package/lib/dist-custom-elements/duet-progress.js +1 -1
  254. package/lib/dist-custom-elements/duet-promo-card.js +7 -7
  255. package/lib/dist-custom-elements/duet-radio-group.js +10 -10
  256. package/lib/dist-custom-elements/duet-radio.js +5 -5
  257. package/lib/dist-custom-elements/duet-range-slider.js +8 -13
  258. package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
  259. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  260. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  261. package/lib/dist-custom-elements/duet-select.js +1 -1
  262. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  263. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  264. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  265. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  266. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  267. package/lib/dist-custom-elements/duet-slideout-panel.js +10 -10
  268. package/lib/dist-custom-elements/duet-slideout.js +9 -9
  269. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  270. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  271. package/lib/dist-custom-elements/duet-step.js +6 -6
  272. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  273. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  274. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  275. package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
  276. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  277. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  278. package/lib/dist-custom-elements/duet-tab-group.js +21 -27
  279. package/lib/dist-custom-elements/duet-tab.js +4 -4
  280. package/lib/dist-custom-elements/duet-table.js +1 -1
  281. package/lib/dist-custom-elements/duet-textarea.js +19 -24
  282. package/lib/dist-custom-elements/duet-toggle.js +7 -12
  283. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  284. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  285. package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
  286. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  287. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  288. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  289. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  290. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  291. package/lib/dist-custom-elements/duet-tray.js +6 -6
  292. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  293. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  294. package/lib/dist-custom-elements/duet-upload.js +21 -21
  295. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  296. package/lib/dist-custom-elements/index.js +1 -1
  297. package/lib/dist-custom-elements/{p-18c3a72b.js → p-02f97b91.js} +2 -2
  298. package/lib/dist-custom-elements/{p-4f5a1d66.js → p-087d8c5a.js} +3 -3
  299. package/lib/dist-custom-elements/{p-5270ad3d.js → p-1296f851.js} +4 -4
  300. package/lib/dist-custom-elements/{p-fc92fc89.js → p-174a9d1d.js} +4 -4
  301. package/lib/dist-custom-elements/{p-b33a176e.js → p-1ccd7c39.js} +4 -4
  302. package/lib/dist-custom-elements/{p-88ed3495.js → p-1f4fbc7a.js} +1 -1
  303. package/lib/dist-custom-elements/p-22147601.js +642 -0
  304. package/lib/dist-custom-elements/{p-aa62c36f.js → p-29be247b.js} +2 -2
  305. package/lib/dist-custom-elements/{p-e5962501.js → p-2c70b9f4.js} +3 -3
  306. package/lib/dist-custom-elements/p-2f25dfb3.js +154 -0
  307. package/lib/dist-custom-elements/{p-c44197e0.js → p-330bcf1d.js} +7 -7
  308. package/lib/dist-custom-elements/{p-d0a4a69f.js → p-3431b690.js} +3 -3
  309. package/lib/dist-custom-elements/{p-ee079d76.js → p-36ab2d57.js} +4 -4
  310. package/lib/dist-custom-elements/{p-92f36210.js → p-3ce1f7b8.js} +12 -12
  311. package/lib/dist-custom-elements/{p-cb5df864.js → p-41dca9e4.js} +4 -4
  312. package/lib/dist-custom-elements/p-42619f94.js +20 -0
  313. package/lib/dist-custom-elements/{p-0ac72fc8.js → p-430f3778.js} +2 -2
  314. package/lib/dist-custom-elements/{p-a5c06963.js → p-43c4a1af.js} +3 -3
  315. package/lib/dist-custom-elements/{p-8342a3e5.js → p-4da43fbc.js} +5 -5
  316. package/lib/dist-custom-elements/{p-266569ef.js → p-68c629a8.js} +2 -2
  317. package/lib/dist-custom-elements/{p-5448ad53.js → p-6b77d4d3.js} +4 -4
  318. package/lib/dist-custom-elements/{p-c9a14c7b.js → p-89b10856.js} +5 -5
  319. package/lib/dist-custom-elements/{p-39b63c58.js → p-956e3bce.js} +3 -3
  320. package/lib/dist-custom-elements/{p-fb63021d.js → p-9f9423c6.js} +2 -2
  321. package/lib/dist-custom-elements/{p-34d6d7b1.js → p-9fa4eb51.js} +6 -6
  322. package/lib/dist-custom-elements/p-a2147aff.js +268 -0
  323. package/lib/dist-custom-elements/{p-8c993e48.js → p-ab34075b.js} +3 -3
  324. package/lib/dist-custom-elements/{p-392a87b6.js → p-ad615991.js} +9 -4
  325. package/lib/dist-custom-elements/p-afb6f7fb.js +23 -0
  326. package/lib/dist-custom-elements/{p-38a3168a.js → p-b0925e24.js} +5 -5
  327. package/lib/dist-custom-elements/{p-acacce04.js → p-b8de9a9c.js} +7 -7
  328. package/lib/dist-custom-elements/{p-644b52bb.js → p-c7d815f6.js} +3 -3
  329. package/lib/dist-custom-elements/{p-4c179c1e.js → p-cea716f7.js} +1 -1
  330. package/lib/dist-custom-elements/{p-61282ed8.js → p-d1f89e90.js} +4 -4
  331. package/lib/dist-custom-elements/{p-a6b39855.js → p-d2a5148f.js} +1 -1
  332. package/lib/dist-custom-elements/{p-f66602b0.js → p-d77db171.js} +1 -1
  333. package/lib/dist-custom-elements/{p-4b53c636.js → p-dad518a5.js} +11 -11
  334. package/lib/dist-custom-elements/{p-824a3b0b.js → p-de4ee016.js} +7 -7
  335. package/lib/dist-custom-elements/{p-7ff1b14d.js → p-de8f018a.js} +3 -3
  336. package/lib/dist-custom-elements/{p-649a8c3e.js → p-df2042f8.js} +4 -4
  337. package/lib/dist-custom-elements/{p-4d4c66b0.js → p-e176f419.js} +3 -3
  338. package/lib/dist-custom-elements/{p-a4c60ad4.js → p-e37d189b.js} +21 -26
  339. package/lib/dist-custom-elements/{p-d9d8aaec.js → p-fe9e47d9.js} +6 -6
  340. package/lib/duet/duet.esm.js +1 -1
  341. package/lib/duet/duet.js +1 -1
  342. package/lib/duet/{p-b5eec241.system.entry.js → p-021a4763.system.entry.js} +1 -1
  343. package/lib/duet/{p-79bd8c35.system.entry.js → p-031167a1.system.entry.js} +1 -1
  344. package/lib/duet/{p-252df607.entry.js → p-051c4536.entry.js} +1 -1
  345. package/lib/duet/{p-5e7d7f1b.entry.js → p-05ca5aea.entry.js} +1 -1
  346. package/lib/duet/{p-351e60ba.system.entry.js → p-07847129.system.entry.js} +1 -1
  347. package/lib/duet/{p-a023bf22.entry.js → p-0a305aee.entry.js} +1 -1
  348. package/lib/duet/p-0d7da85a.js +4 -0
  349. package/lib/duet/{p-42b8ef9c.system.entry.js → p-0e348f96.system.entry.js} +1 -1
  350. package/lib/duet/{p-c20c2ae0.entry.js → p-0e8e80b1.entry.js} +1 -1
  351. package/lib/duet/{p-343c72ca.entry.js → p-0ee85b71.entry.js} +1 -1
  352. package/lib/duet/{p-eec65fc4.system.entry.js → p-1183d305.system.entry.js} +1 -1
  353. package/lib/duet/{p-778e26b4.system.entry.js → p-1268b5a0.system.entry.js} +1 -1
  354. package/lib/duet/{p-0d79ddc1.system.entry.js → p-153b6150.system.entry.js} +1 -1
  355. package/lib/duet/{p-3a1f45d1.system.entry.js → p-192bba35.system.entry.js} +1 -1
  356. package/lib/duet/{p-3300a0a4.system.js → p-1e17463d.system.js} +1 -1
  357. package/lib/duet/{p-d710c54e.entry.js → p-1e904342.entry.js} +1 -1
  358. package/lib/duet/{p-bf2016fd.entry.js → p-1e9e887d.entry.js} +1 -1
  359. package/lib/duet/{p-70fd8af5.system.entry.js → p-209d6065.system.entry.js} +1 -1
  360. package/lib/duet/{p-9be7442d.entry.js → p-20d056ac.entry.js} +1 -1
  361. package/lib/duet/{p-dc85fbfe.system.entry.js → p-20eaf445.system.entry.js} +1 -1
  362. package/lib/duet/{p-b1c78160.system.entry.js → p-215f4257.system.entry.js} +1 -1
  363. package/lib/duet/p-237efb0c.system.entry.js +4 -0
  364. package/lib/duet/{p-e4d4cc92.js → p-2437b4cb.js} +1 -1
  365. package/lib/duet/p-250fb070.entry.js +4 -0
  366. package/lib/duet/{p-72508bb9.entry.js → p-25af4a6c.entry.js} +1 -1
  367. package/lib/duet/p-25d79094.entry.js +4 -0
  368. package/lib/duet/{p-01fae8f7.entry.js → p-27260106.entry.js} +1 -1
  369. package/lib/duet/{p-26eb501a.system.entry.js → p-27ed5ca7.system.entry.js} +1 -1
  370. package/lib/duet/p-2810c6dc.system.entry.js +4 -0
  371. package/lib/duet/{p-12abe4eb.system.entry.js → p-2814473c.system.entry.js} +1 -1
  372. package/lib/duet/p-29152853.entry.js +4 -0
  373. package/lib/duet/p-2a0ad29c.system.entry.js +4 -0
  374. package/lib/duet/{p-b11c1b81.entry.js → p-2a979523.entry.js} +1 -1
  375. package/lib/duet/p-2b2cd3be.entry.js +4 -0
  376. package/lib/duet/p-2b35de7b.entry.js +4 -0
  377. package/lib/duet/{p-f9a64d11.entry.js → p-2b45d2e4.entry.js} +1 -1
  378. package/lib/duet/p-2b6a7397.js +4 -0
  379. package/lib/duet/p-2bf17427.entry.js +4 -0
  380. package/lib/duet/{p-f6900a3e.entry.js → p-2dc360ee.entry.js} +1 -1
  381. package/lib/duet/{p-351076bc.system.entry.js → p-2de0ab3d.system.entry.js} +1 -1
  382. package/lib/duet/{p-214444f4.js → p-2eae4a0b.js} +1 -1
  383. package/lib/duet/{p-7ed9a6ec.entry.js → p-2fa7ecef.entry.js} +1 -1
  384. package/lib/duet/p-2fb96333.entry.js +4 -0
  385. package/lib/duet/{p-b5b5040f.entry.js → p-3106c658.entry.js} +1 -1
  386. package/lib/duet/{p-3fce7ef4.system.entry.js → p-34024554.system.entry.js} +1 -1
  387. package/lib/duet/p-380f74e8.system.entry.js +4 -0
  388. package/lib/duet/p-3810c7dc.entry.js +4 -0
  389. package/lib/duet/{p-ad3fc579.entry.js → p-3c64dab9.entry.js} +1 -1
  390. package/lib/duet/{p-210045f4.system.entry.js → p-3d826a58.system.entry.js} +1 -1
  391. package/lib/duet/{p-1ec66cb0.system.entry.js → p-3d96186f.system.entry.js} +1 -1
  392. package/lib/duet/{p-b5ef2959.system.entry.js → p-3df2981e.system.entry.js} +1 -1
  393. package/lib/duet/{p-706c3914.entry.js → p-3faaa469.entry.js} +1 -1
  394. package/lib/duet/p-3fe7e109.system.entry.js +4 -0
  395. package/lib/duet/{p-35196930.system.entry.js → p-40bab9a0.system.entry.js} +1 -1
  396. package/lib/duet/{p-0de62774.system.entry.js → p-41552571.system.entry.js} +1 -1
  397. package/lib/duet/{p-eb425280.system.entry.js → p-43cc4ad9.system.entry.js} +1 -1
  398. package/lib/duet/{p-907ef071.system.entry.js → p-43d16748.system.entry.js} +1 -1
  399. package/lib/duet/p-44ee649f.system.entry.js +4 -0
  400. package/lib/duet/{p-778e721c.entry.js → p-486576ee.entry.js} +1 -1
  401. package/lib/duet/{p-70adc2c4.entry.js → p-49fa4a07.entry.js} +1 -1
  402. package/lib/duet/{p-37f90207.entry.js → p-4a9978a4.entry.js} +1 -1
  403. package/lib/duet/{p-cbbf6d6a.system.js → p-4cff3036.system.js} +1 -1
  404. package/lib/duet/{p-9bfe7c56.entry.js → p-4e7f27d8.entry.js} +1 -1
  405. package/lib/duet/p-4e9052cd.entry.js +4 -0
  406. package/lib/duet/{p-c055a0a5.entry.js → p-4ee7eb8a.entry.js} +1 -1
  407. package/lib/duet/{p-00c7bd0a.system.entry.js → p-5170726b.system.entry.js} +1 -1
  408. package/lib/duet/p-55674524.entry.js +4 -0
  409. package/lib/duet/{p-989ecf2e.system.entry.js → p-58caf53a.system.entry.js} +1 -1
  410. package/lib/duet/p-5b927db3.entry.js +4 -0
  411. package/lib/duet/p-5db9497a.entry.js +4 -0
  412. package/lib/duet/{p-f35be908.entry.js → p-5dbd1202.entry.js} +1 -1
  413. package/lib/duet/{p-c20e0bcd.entry.js → p-5e25b406.entry.js} +1 -1
  414. package/lib/duet/{p-19519c35.system.entry.js → p-60547899.system.entry.js} +1 -1
  415. package/lib/duet/{p-406af1f3.system.js → p-605e69c8.system.js} +1 -1
  416. package/lib/duet/{p-b1f3e71c.entry.js → p-612fbfcc.entry.js} +1 -1
  417. package/lib/duet/{p-c7f38ac3.system.entry.js → p-620d4575.system.entry.js} +1 -1
  418. package/lib/duet/{p-0cb1aedd.entry.js → p-629a9c13.entry.js} +1 -1
  419. package/lib/duet/{p-b9e3e4e1.system.entry.js → p-62bdecfb.system.entry.js} +1 -1
  420. package/lib/duet/{p-2de11c55.system.entry.js → p-6324514a.system.entry.js} +1 -1
  421. package/lib/duet/{p-c162b6f1.system.entry.js → p-6447f20d.system.entry.js} +1 -1
  422. package/lib/duet/{p-bcbd3dde.system.entry.js → p-6537159a.system.entry.js} +2 -2
  423. package/lib/duet/{p-5269e599.system.entry.js → p-670bd483.system.entry.js} +1 -1
  424. package/lib/duet/p-6b436ca9.entry.js +4 -0
  425. package/lib/duet/{p-028c7b18.entry.js → p-6be341c4.entry.js} +1 -1
  426. package/lib/duet/p-7483d86c.entry.js +4 -0
  427. package/lib/duet/{p-eacd8c67.entry.js → p-76563c02.entry.js} +1 -1
  428. package/lib/duet/{p-f933ada6.system.entry.js → p-769a3309.system.entry.js} +1 -1
  429. package/lib/duet/{p-aabf13cc.entry.js → p-76b42e90.entry.js} +1 -1
  430. package/lib/duet/p-76b84b22.entry.js +4 -0
  431. package/lib/duet/{p-42d0aeb0.system.js → p-76d69a18.system.js} +1 -1
  432. package/lib/duet/p-7972306f.entry.js +4 -0
  433. package/lib/duet/{p-4b45bf31.system.entry.js → p-79dfc8e6.system.entry.js} +2 -2
  434. package/lib/duet/{p-f380d364.system.entry.js → p-7a67ce10.system.entry.js} +1 -1
  435. package/lib/duet/p-7acabaa7.system.js +4 -0
  436. package/lib/duet/{p-e7fa96bb.system.js → p-7cce22af.system.js} +1 -1
  437. package/lib/duet/{p-d7c1c492.entry.js → p-7d2fffc2.entry.js} +1 -1
  438. package/lib/duet/p-7dd3b7d1.entry.js +4 -0
  439. package/lib/duet/{p-256b4fd3.entry.js → p-7f5c1da2.entry.js} +1 -1
  440. package/lib/duet/p-8142169f.system.entry.js +4 -0
  441. package/lib/duet/p-8481bbda.entry.js +4 -0
  442. package/lib/duet/{p-d2ded72c.system.entry.js → p-871d7ca1.system.entry.js} +2 -2
  443. package/lib/duet/{p-5e62f1da.system.entry.js → p-894c1be1.system.entry.js} +1 -1
  444. package/lib/duet/{p-b899b000.js → p-8abb0984.js} +1 -1
  445. package/lib/duet/p-8c9eb171.js +4 -0
  446. package/lib/duet/p-8f4cdf46.system.entry.js +4 -0
  447. package/lib/duet/{p-3b77a305.system.entry.js → p-9253e832.system.entry.js} +1 -1
  448. package/lib/duet/p-965e597c.system.js +4 -0
  449. package/lib/duet/{p-530144b7.entry.js → p-966bd64a.entry.js} +1 -1
  450. package/lib/duet/{p-4bdae83b.entry.js → p-9b04e4a2.entry.js} +1 -1
  451. package/lib/duet/{p-37c5de09.entry.js → p-9fb9ba73.entry.js} +1 -1
  452. package/lib/duet/{p-7d32c253.system.js → p-a19244e5.system.js} +1 -1
  453. package/lib/duet/{p-8911e1f0.system.entry.js → p-a2aa619b.system.entry.js} +1 -1
  454. package/lib/duet/{p-5c5e87a7.system.entry.js → p-a2b93336.system.entry.js} +1 -1
  455. package/lib/duet/{p-a5406a98.entry.js → p-a3341588.entry.js} +1 -1
  456. package/lib/duet/{p-71d12412.entry.js → p-a47047f2.entry.js} +1 -1
  457. package/lib/duet/{p-e1a53396.entry.js → p-a51e1b9e.entry.js} +1 -1
  458. package/lib/duet/{p-2ac4c5d4.entry.js → p-a600451a.entry.js} +1 -1
  459. package/lib/duet/{p-9f466e90.system.entry.js → p-a7d809b4.system.entry.js} +1 -1
  460. package/lib/duet/{p-58497877.system.entry.js → p-a8a381c9.system.entry.js} +1 -1
  461. package/lib/duet/{p-19baff31.entry.js → p-aa82f9a1.entry.js} +1 -1
  462. package/lib/duet/p-ac9460ca.entry.js +4 -0
  463. package/lib/duet/{p-b73129bb.entry.js → p-aca3a5a9.entry.js} +1 -1
  464. package/lib/duet/{p-b6214d5a.entry.js → p-af209330.entry.js} +1 -1
  465. package/lib/duet/{p-c8437ddb.system.entry.js → p-b010f56b.system.entry.js} +2 -2
  466. package/lib/duet/p-b69f3d9d.system.entry.js +4 -0
  467. package/lib/duet/{p-296eb384.entry.js → p-b6c584b6.entry.js} +1 -1
  468. package/lib/duet/{p-a5526302.entry.js → p-b765710e.entry.js} +1 -1
  469. package/lib/duet/p-ba03d034.system.js +4 -0
  470. package/lib/duet/p-bcc40139.system.entry.js +4 -0
  471. package/lib/duet/{p-69d6bbfe.system.entry.js → p-c15cd383.system.entry.js} +1 -1
  472. package/lib/duet/{p-3f690e05.system.entry.js → p-c22935bf.system.entry.js} +1 -1
  473. package/lib/duet/p-c2dd561e.entry.js +4 -0
  474. package/lib/duet/{p-c00beb34.system.entry.js → p-c3ba8e74.system.entry.js} +1 -1
  475. package/lib/duet/{p-99443d70.entry.js → p-c52e8007.entry.js} +1 -1
  476. package/lib/duet/{p-dea69e25.system.entry.js → p-c6894b07.system.entry.js} +1 -1
  477. package/lib/duet/{p-779cfa4a.system.entry.js → p-c694f12d.system.entry.js} +1 -1
  478. package/lib/duet/{p-d554e96b.entry.js → p-c79cbfdb.entry.js} +1 -1
  479. package/lib/duet/{p-b822ce49.system.entry.js → p-c8421271.system.entry.js} +1 -1
  480. package/lib/duet/{p-8bc4d112.entry.js → p-c8d3cb52.entry.js} +1 -1
  481. package/lib/duet/p-c8e22ae2.system.entry.js +4 -0
  482. package/lib/duet/{p-f29c480a.system.entry.js → p-cbedbd77.system.entry.js} +1 -1
  483. package/lib/duet/{p-10c530d1.js → p-cc67e773.js} +1 -1
  484. package/lib/duet/{p-7785b7a6.system.entry.js → p-ce543cc1.system.entry.js} +1 -1
  485. package/lib/duet/{p-cab2979b.entry.js → p-cf30c088.entry.js} +1 -1
  486. package/lib/duet/p-d3c304b5.system.js +4 -0
  487. package/lib/duet/{p-a6ee1072.system.entry.js → p-d43fc5e9.system.entry.js} +1 -1
  488. package/lib/duet/{p-b0823273.system.entry.js → p-d6dc9819.system.entry.js} +1 -1
  489. package/lib/duet/{p-d048f25c.js → p-d7d86092.js} +1 -1
  490. package/lib/duet/{p-425e3794.system.entry.js → p-d86d8491.system.entry.js} +1 -1
  491. package/lib/duet/{p-146a6092.entry.js → p-dfd223d9.entry.js} +1 -1
  492. package/lib/duet/{p-cfee6451.entry.js → p-e0536bb5.entry.js} +1 -1
  493. package/lib/duet/{p-1ce82dfa.system.js → p-e1c881da.system.js} +1 -1
  494. package/lib/duet/{p-4f913952.entry.js → p-e258270f.entry.js} +1 -1
  495. package/lib/duet/{p-0cb6800d.entry.js → p-e2daf94c.entry.js} +1 -1
  496. package/lib/duet/{p-0cde41e1.system.entry.js → p-e38edd16.system.entry.js} +1 -1
  497. package/lib/duet/p-e44da0ff.system.entry.js +4 -0
  498. package/lib/duet/{p-f417c864.entry.js → p-e8dd29e7.entry.js} +1 -1
  499. package/lib/duet/p-e93849fd.system.entry.js +4 -0
  500. package/lib/duet/p-e9d2f4a1.entry.js +4 -0
  501. package/lib/duet/{p-06e6b044.js → p-eca03d5e.js} +1 -1
  502. package/lib/duet/{p-65a3b7a2.system.entry.js → p-ee1eb7cb.system.entry.js} +1 -1
  503. package/lib/duet/{p-3662ad90.entry.js → p-efa5ec67.entry.js} +1 -1
  504. package/lib/duet/p-f0b0e2b2.system.entry.js +4 -0
  505. package/lib/duet/{p-a1b49d73.system.entry.js → p-f105f32a.system.entry.js} +1 -1
  506. package/lib/duet/p-f3633004.entry.js +4 -0
  507. package/lib/duet/{p-59eadabe.entry.js → p-f3cf6b50.entry.js} +1 -1
  508. package/lib/duet/{p-a7c7e6a4.system.entry.js → p-f43e134e.system.entry.js} +1 -1
  509. package/lib/duet/{p-77eb9c59.system.entry.js → p-f5dd7e7e.system.entry.js} +1 -1
  510. package/lib/duet/{p-1a629881.system.entry.js → p-f6bd2d4f.system.entry.js} +2 -2
  511. package/lib/duet/{p-6c501d0a.system.entry.js → p-f75a6d54.system.entry.js} +1 -1
  512. package/lib/duet/p-f97500ff.system.entry.js +4 -0
  513. package/lib/duet/{p-adca50f8.system.entry.js → p-fa3b3dbc.system.entry.js} +1 -1
  514. package/lib/duet/{p-4ee32b23.system.entry.js → p-fbc396a7.system.entry.js} +2 -2
  515. package/lib/duet/{p-6e9ec04c.system.entry.js → p-fbf89657.system.entry.js} +1 -1
  516. package/lib/duet/p-fcb14b31.system.entry.js +4 -0
  517. package/lib/duet/{p-413ee44a.entry.js → p-fd2299b4.entry.js} +1 -1
  518. package/lib/duet/p-fd78f61a.js +4 -0
  519. package/lib/duet/{p-d452cbb7.entry.js → p-fee25f59.entry.js} +1 -1
  520. package/lib/duet/{p-c2ece51b.entry.js → p-ff4f7076.entry.js} +1 -1
  521. package/lib/esm/a11y-utils-8fc393f6.js +23 -0
  522. package/lib/esm/{app-globals-386e1feb.js → app-globals-00959ca9.js} +1 -1
  523. package/lib/esm/duet-action-button.entry.js +4 -4
  524. package/lib/esm/duet-alert.entry.js +3 -3
  525. package/lib/esm/duet-badge.entry.js +3 -3
  526. package/lib/esm/duet-banner.entry.js +4 -4
  527. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  528. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  529. package/lib/esm/duet-button_2.entry.js +6 -6
  530. package/lib/esm/duet-callout.entry.js +4 -4
  531. package/lib/esm/duet-caption_4.entry.js +13 -12
  532. package/lib/esm/duet-card.entry.js +3 -3
  533. package/lib/esm/duet-checkbox.entry.js +4 -4
  534. package/lib/esm/duet-checkmark.entry.js +3 -3
  535. package/lib/esm/duet-chip_3.entry.js +9 -9
  536. package/lib/esm/duet-choice_2.entry.js +11 -11
  537. package/lib/esm/duet-collapsible.entry.js +4 -4
  538. package/lib/esm/duet-combobox.entry.js +3 -3
  539. package/lib/esm/duet-contact-card.entry.js +4 -4
  540. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  541. package/lib/esm/duet-date-picker.entry.js +8 -7
  542. package/lib/esm/duet-divider_2.entry.js +5 -5
  543. package/lib/esm/duet-editable-table_3.entry.js +508 -15
  544. package/lib/esm/duet-empty-state.entry.js +3 -3
  545. package/lib/esm/duet-fieldset.entry.js +5 -5
  546. package/lib/esm/duet-file-chooser.entry.js +2 -2
  547. package/lib/esm/duet-footer.entry.js +7 -7
  548. package/lib/esm/duet-grid_2.entry.js +5 -5
  549. package/lib/esm/duet-header_2.entry.js +4 -4
  550. package/lib/esm/duet-hero.entry.js +8 -8
  551. package/lib/esm/duet-icon.entry.js +6 -6
  552. package/lib/esm/duet-input_2.entry.js +13 -12
  553. package/lib/esm/duet-layout.entry.js +7 -7
  554. package/lib/esm/duet-list_2.entry.js +4 -4
  555. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  556. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  557. package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
  558. package/lib/esm/duet-menu-bar-item.entry.js +6 -5
  559. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  560. package/lib/esm/duet-menu-bar.entry.js +4 -4
  561. package/lib/esm/duet-modal.entry.js +10 -10
  562. package/lib/esm/duet-multiselect.entry.js +10 -9
  563. package/lib/esm/duet-nav.entry.js +2 -2
  564. package/lib/esm/duet-notification_2.entry.js +6 -6
  565. package/lib/esm/duet-number-input.entry.js +5 -5
  566. package/lib/esm/duet-overlay.entry.js +2 -2
  567. package/lib/esm/duet-page-heading.entry.js +3 -3
  568. package/lib/esm/duet-pagination_2.entry.js +18 -18
  569. package/lib/esm/duet-progress.entry.js +2 -2
  570. package/lib/esm/duet-promo-card.entry.js +6 -6
  571. package/lib/esm/duet-radio_2.entry.js +6 -6
  572. package/lib/esm/duet-range-slider.entry.js +7 -6
  573. package/lib/esm/duet-scrollable_3.entry.js +17 -17
  574. package/lib/esm/duet-section-layout.entry.js +4 -4
  575. package/lib/esm/duet-select.entry.js +9 -8
  576. package/lib/esm/duet-shaped-image.entry.js +3 -3
  577. package/lib/esm/duet-show-more.entry.js +4 -4
  578. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  579. package/lib/esm/duet-slideout-link.entry.js +3 -3
  580. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
  581. package/lib/esm/duet-slideout-panel.entry.js +12 -12
  582. package/lib/esm/duet-slideout.entry.js +10 -10
  583. package/lib/esm/duet-step_2.entry.js +4 -4
  584. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  585. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
  586. package/lib/esm/duet-submenu-bar-item.entry.js +5 -4
  587. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  588. package/lib/esm/duet-submenu-bar.entry.js +6 -6
  589. package/lib/esm/duet-textarea.entry.js +8 -7
  590. package/lib/esm/duet-toggle.entry.js +6 -5
  591. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  592. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
  593. package/lib/esm/duet-toolbar-item.entry.js +7 -6
  594. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  595. package/lib/esm/duet-toolbar.entry.js +3 -3
  596. package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
  597. package/lib/esm/duet-tooltip.entry.js +3 -3
  598. package/lib/esm/duet-tray.entry.js +5 -5
  599. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  600. package/lib/esm/duet-upload-item.entry.js +5 -5
  601. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  602. package/lib/esm/duet.js +4 -4
  603. package/lib/esm/{errorcodes.utils-f2529568.js → errorcodes.utils-d9431251.js} +1 -1
  604. package/lib/esm/{focus-utils-fb393f52.js → focus-utils-adcd9463.js} +1 -1
  605. package/lib/esm/{index-4e3ad237.js → index-1d0b7c66.js} +1 -1
  606. package/lib/esm/label-ce262202.js +20 -0
  607. package/lib/esm/{language-utils-95643489.js → language-utils-14969cef.js} +1 -1
  608. package/lib/esm/loader.js +4 -4
  609. package/lib/esm/{slot-utils-76c14c1b.js → slot-utils-4e5ed4eb.js} +10 -5
  610. package/lib/esm/{token-utils-a32eb753.js → token-utils-b9ba8c5e.js} +1 -1
  611. package/lib/esm/{tokens.module-a746651a.js → tokens.module-2d02f5ff.js} +1 -1
  612. package/lib/esm-es5/a11y-utils-8fc393f6.js +4 -0
  613. package/lib/esm-es5/{app-globals-386e1feb.js → app-globals-00959ca9.js} +1 -1
  614. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  615. package/lib/esm-es5/duet-alert.entry.js +1 -1
  616. package/lib/esm-es5/duet-badge.entry.js +1 -1
  617. package/lib/esm-es5/duet-banner.entry.js +1 -1
  618. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  619. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  620. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  621. package/lib/esm-es5/duet-callout.entry.js +1 -1
  622. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  623. package/lib/esm-es5/duet-card.entry.js +1 -1
  624. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  625. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  626. package/lib/esm-es5/duet-chip_3.entry.js +1 -1
  627. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  628. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  629. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  630. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  631. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  632. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  633. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  634. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  635. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  636. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  637. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  638. package/lib/esm-es5/duet-footer.entry.js +1 -1
  639. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  640. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  641. package/lib/esm-es5/duet-hero.entry.js +2 -2
  642. package/lib/esm-es5/duet-icon.entry.js +1 -1
  643. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  644. package/lib/esm-es5/duet-layout.entry.js +1 -1
  645. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  646. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  647. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  648. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  649. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  650. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  651. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  652. package/lib/esm-es5/duet-modal.entry.js +1 -1
  653. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  654. package/lib/esm-es5/duet-nav.entry.js +1 -1
  655. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  656. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  657. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  658. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  659. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  660. package/lib/esm-es5/duet-progress.entry.js +1 -1
  661. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  662. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  663. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  664. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  665. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  666. package/lib/esm-es5/duet-select.entry.js +2 -2
  667. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  668. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  669. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  670. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  671. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  672. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  673. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  674. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  675. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  676. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  677. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  678. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  679. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  680. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  681. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  682. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  683. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  684. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  685. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  686. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  687. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  688. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  689. package/lib/esm-es5/duet-tray.entry.js +1 -1
  690. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  691. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  692. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  693. package/lib/esm-es5/duet.js +1 -1
  694. package/lib/esm-es5/{errorcodes.utils-f2529568.js → errorcodes.utils-d9431251.js} +1 -1
  695. package/lib/esm-es5/focus-utils-adcd9463.js +4 -0
  696. package/lib/esm-es5/{index-4e3ad237.js → index-1d0b7c66.js} +1 -1
  697. package/lib/esm-es5/label-ce262202.js +4 -0
  698. package/lib/esm-es5/{language-utils-95643489.js → language-utils-14969cef.js} +1 -1
  699. package/lib/esm-es5/loader.js +1 -1
  700. package/lib/esm-es5/{slot-utils-76c14c1b.js → slot-utils-4e5ed4eb.js} +1 -1
  701. package/lib/esm-es5/{token-utils-a32eb753.js → token-utils-b9ba8c5e.js} +1 -1
  702. package/lib/esm-es5/{tokens.module-a746651a.js → tokens.module-2d02f5ff.js} +1 -1
  703. package/lib/types/common/label.d.ts +13 -0
  704. package/lib/types/components/duet-table/duet-table-styles.d.ts +1 -0
  705. package/package.json +3 -3
  706. package/lib/cjs/a11y-utils-76311b95.js +0 -20
  707. package/lib/collection/components/duet-table/duet-table.css +0 -365
  708. package/lib/dist-custom-elements/p-2a6a71e4.js +0 -148
  709. package/lib/dist-custom-elements/p-36804cd7.js +0 -154
  710. package/lib/dist-custom-elements/p-4c8762a0.js +0 -273
  711. package/lib/dist-custom-elements/p-d0aaf2cd.js +0 -67
  712. package/lib/dist-custom-elements/p-f0cc5629.js +0 -18
  713. package/lib/duet/p-04c70cc1.entry.js +0 -4
  714. package/lib/duet/p-0c527115.entry.js +0 -4
  715. package/lib/duet/p-0d730e50.system.entry.js +0 -4
  716. package/lib/duet/p-1004af75.js +0 -4
  717. package/lib/duet/p-1aaa8887.entry.js +0 -4
  718. package/lib/duet/p-265b2d3f.system.entry.js +0 -4
  719. package/lib/duet/p-29646ce5.system.entry.js +0 -4
  720. package/lib/duet/p-2d34c1fe.system.entry.js +0 -4
  721. package/lib/duet/p-39733fa6.system.entry.js +0 -4
  722. package/lib/duet/p-3d797231.system.entry.js +0 -4
  723. package/lib/duet/p-405ba8bb.entry.js +0 -4
  724. package/lib/duet/p-4424b9e6.system.entry.js +0 -4
  725. package/lib/duet/p-5222dec4.system.entry.js +0 -4
  726. package/lib/duet/p-56c887fb.js +0 -4
  727. package/lib/duet/p-639fd3db.entry.js +0 -4
  728. package/lib/duet/p-65505cbd.entry.js +0 -4
  729. package/lib/duet/p-66adb361.entry.js +0 -4
  730. package/lib/duet/p-6858f043.system.entry.js +0 -4
  731. package/lib/duet/p-740c1ef1.entry.js +0 -4
  732. package/lib/duet/p-795e5faa.entry.js +0 -4
  733. package/lib/duet/p-7a3ae8a9.system.js +0 -4
  734. package/lib/duet/p-83d125ee.system.entry.js +0 -4
  735. package/lib/duet/p-9e27e0a8.system.entry.js +0 -4
  736. package/lib/duet/p-9ff1b619.entry.js +0 -4
  737. package/lib/duet/p-aa436035.system.entry.js +0 -4
  738. package/lib/duet/p-aad77751.system.js +0 -4
  739. package/lib/duet/p-ac1125e2.entry.js +0 -4
  740. package/lib/duet/p-bf60f901.system.entry.js +0 -4
  741. package/lib/duet/p-c0f0ba52.entry.js +0 -4
  742. package/lib/duet/p-c4de2dcc.entry.js +0 -4
  743. package/lib/duet/p-cc15edd9.entry.js +0 -4
  744. package/lib/duet/p-cdccf8e6.system.entry.js +0 -4
  745. package/lib/duet/p-d3a5400e.entry.js +0 -4
  746. package/lib/duet/p-d6b53d40.entry.js +0 -4
  747. package/lib/duet/p-d709d282.entry.js +0 -4
  748. package/lib/duet/p-d9187b9e.entry.js +0 -4
  749. package/lib/duet/p-dd1ec0ef.entry.js +0 -4
  750. package/lib/duet/p-e1d33d05.entry.js +0 -4
  751. package/lib/duet/p-e8216065.system.entry.js +0 -4
  752. package/lib/duet/p-ed72e8f0.entry.js +0 -4
  753. package/lib/duet/p-ef731dfb.system.js +0 -4
  754. package/lib/duet/p-f0cc5629.js +0 -4
  755. package/lib/duet/p-f1b8c169.entry.js +0 -4
  756. package/lib/duet/p-ffe761ec.system.entry.js +0 -4
  757. package/lib/esm/a11y-utils-92930863.js +0 -18
  758. package/lib/esm-es5/a11y-utils-92930863.js +0 -4
  759. package/lib/esm-es5/focus-utils-fb393f52.js +0 -4
@@ -1,273 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-f66602b0.js';
5
- import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
6
- import { c as createID } from './p-5e59e970.js';
7
- import { c as checkNamedSlotElement } from './p-392a87b6.js';
8
- import { p as parsePossibleJSON } from './p-9c3c64b9.js';
9
- import { d as defineCustomElement$7 } from './p-a6b39855.js';
10
- import { d as defineCustomElement$6 } from './p-8342a3e5.js';
11
- import { d as defineCustomElement$5 } from './p-d0aaf2cd.js';
12
- import { d as defineCustomElement$4 } from './p-d9d8aaec.js';
13
- import { d as defineCustomElement$3 } from './p-ee079d76.js';
14
- import { d as defineCustomElement$2 } from './p-c9a14c7b.js';
15
- import { d as defineCustomElement$1 } from './p-18c3a72b.js';
16
-
17
- const duetSelectCss = "*,*::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-select-variation-tiny,:host.duet-select-variation-compact{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}:host.duet-select-variation-compact{width:auto}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-select-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-select-container{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny{width:72px}.duet-select-wrapper{position:relative;width:100%;padding:15px 14px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-select-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-variation-tiny .duet-select-wrapper{width:81px;padding:0 !important}.duet-select-variation-compact .duet-select-wrapper{padding:0 !important;line-height:1}.duet-select-wrapper select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva .duet-select-wrapper select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-wrapper select:hover+.duet-select{border-color:rgb(127, 150, 165);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-select-wrapper select:hover+.duet-select{border-color:rgb(143, 147, 158);box-shadow:0 0 0 1px #747475}.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select:focus+.duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(23, 28, 58)}.duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(0, 119, 179)}.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select[disabled]{cursor:default !important}.duet-select-wrapper select[disabled]+.duet-select{color:rgb(8, 42, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-select-wrapper select[disabled]+.duet-select{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-select-wrapper span.duet-keep-container-height{opacity:0}.duet-select-variation-compact .duet-select-wrapper span.duet-keep-container-height{display:none}.duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.duet-select svg{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-select svg{color:rgb(23, 28, 58)}.duet-select-variation-tiny .duet-select,.duet-select-variation-compact .duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny .duet-select duet-icon,.duet-select-variation-compact .duet-select duet-icon{padding-left:10px}.duet-select-variation-compact .duet-select{position:relative;width:fit-content;padding:7px 16px !important;font-size:0.875rem;line-height:1.1;text-align:right;border-radius:8px}.duet-select-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-select-help span{display:block;margin-top:8px}.duet-theme-turva .duet-select-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
18
- const DuetSelectStyle0 = duetSelectCss;
19
-
20
- function isOptionGroup(item) {
21
- return "options" in item;
22
- }
23
- function findOptionByValue(items, value) {
24
- for (var i = 0; i < items.length; i++) {
25
- let item = items[i];
26
- if (isOptionGroup(item)) {
27
- item = findOptionByValue(item.options, value);
28
- }
29
- if (item && item.value === value) {
30
- return item;
31
- }
32
- }
33
- }
34
- const DuetSelect = /*@__PURE__*/ proxyCustomElement(class DuetSelect extends H {
35
- constructor() {
36
- super();
37
- this.__registerHost();
38
- this.__attachShadow();
39
- this.duetChange = createEvent(this, "duetChange", 3);
40
- this.duetFocus = createEvent(this, "duetFocus", 7);
41
- this.duetBlur = createEvent(this, "duetBlur", 7);
42
- /**
43
- * Own Properties
44
- */
45
- this.selectId = createID("DuetSelect");
46
- this.errorId = createID("DuetError");
47
- this.labelId = createID("DuetLabel");
48
- this.topCaptionId = createID("DuetCaptionTop");
49
- this.topCaptionPlaceholderId = createID("DuetCaptionPlaceholderTop");
50
- /**
51
- * Component event handling.
52
- */
53
- this.onClick = (ev) => {
54
- ev.stopPropagation();
55
- };
56
- this.onChange = () => {
57
- this.value = this.nativeSelect.value;
58
- this.duetChange.emit({
59
- value: this.value,
60
- component: "duet-select",
61
- });
62
- };
63
- this.onBlur = (ev) => {
64
- this.duetBlur.emit({
65
- originalEvent: ev,
66
- value: this.value,
67
- component: "duet-select",
68
- });
69
- };
70
- this.onFocus = (ev) => {
71
- this.duetFocus.emit({
72
- originalEvent: ev,
73
- value: this.value,
74
- component: "duet-select",
75
- });
76
- };
77
- this.getDescribedBy = () => {
78
- const describedBy = [];
79
- if (this.isCaptionVisible && this.topCaptionId) {
80
- describedBy.push(this.topCaptionId);
81
- }
82
- if (this.accessibleDescribedBy) {
83
- describedBy.push(this.accessibleDescribedBy);
84
- }
85
- if (this.error) {
86
- describedBy.push(this.errorId);
87
- }
88
- return describedBy.length > 0 ? describedBy.join(" ") : null;
89
- };
90
- this.processedItems = null;
91
- this.variation = "default";
92
- this.accessibleActiveDescendant = undefined;
93
- this.accessibleDescribedBy = undefined;
94
- this.margin = "auto";
95
- this.accessibleControls = undefined;
96
- this.accessibleOwns = undefined;
97
- this.error = "";
98
- this.accessibleLiveError = "polite";
99
- this.expand = false;
100
- this.value = undefined;
101
- this.theme = "";
102
- this.labelHidden = false;
103
- this.identifier = undefined;
104
- this.name = undefined;
105
- this.placeholder = "";
106
- this.caption = undefined;
107
- this.echoPlaceholder = false;
108
- this.items = undefined;
109
- this.disabled = false;
110
- this.required = false;
111
- this.label = "label";
112
- this.labelColor = undefined;
113
- this.labelWeight = undefined;
114
- this.role = undefined;
115
- this.tooltip = "";
116
- this.tooltipDirection = "auto";
117
- }
118
- valueChanged() {
119
- if (this.nativeSelect) {
120
- this.nativeSelect.value = this.value;
121
- }
122
- this.isCaptionVisible = !!this.caption;
123
- }
124
- /**
125
- * Component lifecycle events.
126
- */
127
- componentWillLoad() {
128
- inheritGlobalTheme(this);
129
- this.isCaptionVisible = !!this.caption;
130
- checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
131
- this.refresh();
132
- }
133
- /**
134
- * Sets focus on the specified `duet-select`. Use this method instead of the global
135
- * `select.focus()`.
136
- */
137
- async setFocus(options) {
138
- if (this.nativeSelect) {
139
- this.nativeSelect.focus(options);
140
- }
141
- }
142
- /**
143
- * Local methods.
144
- */
145
- async refresh() {
146
- this.processedItems = parsePossibleJSON(this.items);
147
- }
148
- getSelectedItemLabel() {
149
- let item;
150
- if (this.processedItems) {
151
- item = findOptionByValue(this.processedItems, this.value);
152
- }
153
- return item ? item.label : this.placeholder || "";
154
- }
155
- renderOption(option) {
156
- return (h("option", { "aria-label": option.ariaLabel, value: option.value, key: option.value, selected: this.value === option.value, disabled: option.disabled }, option.label));
157
- }
158
- renderOptionGroup(group) {
159
- return (h("optgroup", { key: group.label, label: group.label, disabled: group.disabled }, group.options.map(option => this.renderOption(option))));
160
- }
161
- /**
162
- * render() function
163
- * Always the last one in the class.
164
- */
165
- render() {
166
- const identifier = this.identifier || this.selectId;
167
- return (h(Host, { key: '28f5db49f64ea0115fa20745df6d535fac98ca08', onClick: this.onClick, class: {
168
- "duet-m-0": this.margin === "none",
169
- "duet-expand": this.expand,
170
- [`duet-select-variation-${this.variation}`]: true,
171
- } }, h("div", { key: '73e7a3937df41f97d6501cb393b05a1e11e07b97', class: {
172
- "duet-select-container": true,
173
- "duet-label-hidden": this.labelHidden,
174
- "duet-theme-turva": this.theme === "turva",
175
- [`duet-select-variation-${this.variation}`]: true,
176
- "duet-input-top-caption-shown": this.isCaptionVisible,
177
- "has-error": !!this.error,
178
- } }, h("duet-label", { key: '1b908d4ce2db347aea7654f7d150c3536023be7e', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'f4ae4625f3844a0a4ff41ceeb5b09cc73f2c3139', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '56432a29cd588587216dcb91b1d7fa29ae80c12d', name: "tooltip" }), this.caption && (h("duet-caption", { key: '2664591e6e79d7786ecd95e2136b7eb6ac46eb43', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '17a7d144eb109640535302879dc8e46622f7542a', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '2777dafee5e8f98ca467b83cfa672aeb2bd51d26', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("select", { key: '2d00bf64843b3d4402d75b50660baaa701e776bd', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { key: '9f4a48986073692a67a221d489c3bc9402324828', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
179
- return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
180
- }))), h("div", { key: '00870092e20d5e30222ad0afa3072d1dfba03dce', class: {
181
- "duet-select": true,
182
- [`duet-select-variation-${this.variation}`]: true,
183
- }, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: 'e1e57dfb22ba2d97a460c34b18a49355e8fa41a7', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '5fedaf97f4a4293f318512cc312d4c1d6ac9fce2', 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" })))) || (h("duet-icon", { key: '52b2404b48602331e322f5ccf6f338cf5dba46e4', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: 'c647fdcfac98bfd444789464f4e89f905a3db068', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: '2f8730fa473524bdc6fbfe52f295215fe023b984', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '438e8329537edfc708bb57ce8de8d91abb7aaae8' }, this.error)))));
184
- }
185
- get element() { return this; }
186
- static get watchers() { return {
187
- "value": ["valueChanged"],
188
- "items": ["refresh"]
189
- }; }
190
- static get style() { return DuetSelectStyle0; }
191
- }, [1, "duet-select", {
192
- "variation": [1],
193
- "accessibleActiveDescendant": [1, "accessible-active-descendant"],
194
- "accessibleDescribedBy": [1, "accessible-described-by"],
195
- "margin": [1],
196
- "accessibleControls": [1, "accessible-controls"],
197
- "accessibleOwns": [1, "accessible-owns"],
198
- "error": [1],
199
- "accessibleLiveError": [1, "accessible-live-error"],
200
- "expand": [4],
201
- "value": [1537],
202
- "theme": [1025],
203
- "labelHidden": [4, "label-hidden"],
204
- "identifier": [1],
205
- "name": [1],
206
- "placeholder": [1],
207
- "caption": [1],
208
- "echoPlaceholder": [4, "echo-placeholder"],
209
- "items": [1],
210
- "disabled": [516],
211
- "required": [4],
212
- "label": [1],
213
- "labelColor": [1025, "label-color"],
214
- "labelWeight": [1025, "label-weight"],
215
- "role": [1],
216
- "tooltip": [1],
217
- "tooltipDirection": [1, "tooltip-direction"],
218
- "processedItems": [32],
219
- "setFocus": [64]
220
- }, undefined, {
221
- "value": ["valueChanged"],
222
- "items": ["refresh"]
223
- }]);
224
- function defineCustomElement() {
225
- if (typeof customElements === "undefined") {
226
- return;
227
- }
228
- const components = ["duet-select", "duet-caption", "duet-icon", "duet-label", "duet-tooltip", "duet-tooltip-button", "duet-tooltip-popup", "duet-visually-hidden"];
229
- components.forEach(tagName => { switch (tagName) {
230
- case "duet-select":
231
- if (!customElements.get(tagName)) {
232
- customElements.define(tagName, DuetSelect);
233
- }
234
- break;
235
- case "duet-caption":
236
- if (!customElements.get(tagName)) {
237
- defineCustomElement$7();
238
- }
239
- break;
240
- case "duet-icon":
241
- if (!customElements.get(tagName)) {
242
- defineCustomElement$6();
243
- }
244
- break;
245
- case "duet-label":
246
- if (!customElements.get(tagName)) {
247
- defineCustomElement$5();
248
- }
249
- break;
250
- case "duet-tooltip":
251
- if (!customElements.get(tagName)) {
252
- defineCustomElement$4();
253
- }
254
- break;
255
- case "duet-tooltip-button":
256
- if (!customElements.get(tagName)) {
257
- defineCustomElement$3();
258
- }
259
- break;
260
- case "duet-tooltip-popup":
261
- if (!customElements.get(tagName)) {
262
- defineCustomElement$2();
263
- }
264
- break;
265
- case "duet-visually-hidden":
266
- if (!customElements.get(tagName)) {
267
- defineCustomElement$1();
268
- }
269
- break;
270
- } });
271
- }
272
-
273
- export { DuetSelect as D, defineCustomElement as d };
@@ -1,67 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-f66602b0.js';
5
- import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
6
- import { g as getColorByName } from './p-88ed3495.js';
7
-
8
- const duetLabelCss = "*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-weight-normal.sc-duet-label-h label.sc-duet-label{font-weight:400 !important}.duet-weight-normal.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-weight:400 !important}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
9
- const DuetLabelStyle0 = duetLabelCss;
10
-
11
- const DuetLabel = /*@__PURE__*/ proxyCustomElement(class DuetLabel extends H {
12
- constructor() {
13
- super();
14
- this.__registerHost();
15
- this.theme = "";
16
- this.for = undefined;
17
- this.margin = "auto";
18
- this.size = "medium";
19
- this.weight = "semi-bold";
20
- this.color = "";
21
- }
22
- /**
23
- * Component lifecycle events.
24
- */
25
- componentWillLoad() {
26
- inheritGlobalTheme(this);
27
- }
28
- /**
29
- * render() function
30
- * Always the last one in the class.
31
- */
32
- render() {
33
- const color = getColorByName(this.color);
34
- return (h(Host, { class: {
35
- "duet-label": true,
36
- "duet-label-small": this.size === "small",
37
- "duet-theme-turva": this.theme === "turva",
38
- "duet-small-margin": this.margin === "small",
39
- "duet-m-0": this.margin === "none",
40
- [`duet-weight-${this.weight}`]: true,
41
- } }, h("label", { htmlFor: this.for, style: { color } }, h("span", null, h("slot", null)))));
42
- }
43
- get element() { return this; }
44
- static get style() { return DuetLabelStyle0; }
45
- }, [6, "duet-label", {
46
- "theme": [1025],
47
- "for": [1],
48
- "margin": [1],
49
- "size": [1],
50
- "weight": [1],
51
- "color": [1]
52
- }]);
53
- function defineCustomElement() {
54
- if (typeof customElements === "undefined") {
55
- return;
56
- }
57
- const components = ["duet-label"];
58
- components.forEach(tagName => { switch (tagName) {
59
- case "duet-label":
60
- if (!customElements.get(tagName)) {
61
- customElements.define(tagName, DuetLabel);
62
- }
63
- break;
64
- } });
65
- }
66
-
67
- export { DuetLabel as D, defineCustomElement as d };
@@ -1,18 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- function getAccessibleLinkLabel(component) {
5
- const textContext = component.element.textContent;
6
- if (component.accessibleLabel) {
7
- return component.accessibleLabel;
8
- }
9
- if ((!!component.download || component.download === "") && textContext) {
10
- return `${textContext}. ${component.accessibleLabelDownload}.`;
11
- }
12
- if (component.external && textContext) {
13
- return `${textContext}. ${component.accessibleLabelExternal}.`;
14
- }
15
- return null;
16
- }
17
-
18
- export { getAccessibleLinkLabel as g };
@@ -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 a,g as o}from"./p-b899b000.js";import{f as n}from"./p-d004da5f.js";import{i as s}from"./p-aaa7a7bd.js";import{c as r}from"./p-5e59e970.js";import{c as d,r as u}from"./p-df7874f9.js";import{f as l,j as h,e as p,d as c,a as b}from"./p-a1b7f2a0.js";import{a as m,c as g,d as v,g as f}from"./p-e4d4cc92.js";import{c as x,p as w}from"./p-06e6b044.js";import{g as y}from"./p-10c530d1.js";import"./p-9c3c64b9.js";import"./p-1004af75.js";const k={search:n,email:{title:"form-email",tags:"form email",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z"/></svg>'}},C=class{constructor(i){t(this,i),this.duetInput=e(this,"duetInput",7),this.duetChange=e(this,"duetChange",3),this.duetBlur=e(this,"duetBlur",7),this.duetClear=e(this,"duetClear",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=r("DuetInput"),this.proxyId=r("DuetInput"),this.clearId=r("DuetInputClear"),this.labelId=r("DuetLabel"),this.topCaptionId=r("DuetCaptionTop"),this.topCaptionPlaceholderId=r("DuetCaptionPlaceholderTop"),this.chipCountId=r("DuetInputChipCount"),this.errorId=r("DuetError"),this.disallowPatternRegex=null,this.clearLabel={en:"Clear",fi:"Tyhjennä",sv:"Rensa"},this.timeAnnouncement={en:"Time",fi:"Aika",sv:"Tid"},this.showPasswordLabel={en:"Show password",fi:"Näytä salasana",sv:"Visa lösenord"},this.hidePasswordLabel={en:"Hide password",fi:"Piilota salasana",sv:"Dölj lösenord"},this.passwordShownAriaAnnouncement={en:"Password is shown",fi:"Salasana näytetään",sv:"Lösenordet visas"},this.passwordHiddenAriaAnnouncement={en:"Password is hidden",fi:"Salasana on piilotettu",sv:"Lösenordet är dolt"},this.chipsSelectedDesriptionLabel={en:"selected",fi:"valittu",sv:"valt"},this.onInput=t=>{this.disallowPatternRegex&&d(this.nativeInput,this.disallowPatternRegex),this.chips&&this.clearChipSelection(),this.value=this.nativeInput.value||"",this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onBlur=t=>{t.relatedTarget!==this.nativeInput&&t.relatedTarget!==this.togglePasswordRevealedButton&&("revealable"===this.variation&&this.isPasswordRevealed&&(this.isPasswordRevealed=!1),this.isFocused=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-input"}))},this.onFocus=t=>{this.clearChipSelection(),this.isFocused=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onClear=t=>{this.duetClear.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.getAriaDescribedBy=()=>{const t=[];if(this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.chips){const e=this.getAllChips();e.length&&(t.push(this.chipCountId),e.forEach((e=>t.push(e.id))))}return this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.handleClearClick=t=>{const e=this.clearInput();return this.onClear(t),e},this.keyHandler=t=>(l(t)&&this.clear&&this.handleClearClick(t),h(t)&&"revealable"===this.variation&&(t.target===this.togglePasswordRevealedButton?t.stopPropagation():this.isPasswordRevealed=!1),this.chips&&0===this.nativeInput.value.length&&(p(t)&&(this.isChipSelected()&&(this.getSelectedChip().removeChip(),setTimeout((()=>this.selectLastChip()))),this.selectLastChip()),c(t)&&this.selectChipToLeft(),b(t)&&this.isChipSelected()&&this.selectChipToRight()),t),this.togglePasswordRevealed=()=>{this.isPasswordRevealed=!this.isPasswordRevealed},this.getInputType=()=>"revealable"===this.variation?this.isPasswordRevealed?"text":"password":this.type,this.language=m(),this.isPasswordRevealed=void 0,this.isFocused=!1,this.accessibleActiveDescendant=void 0,this.accessibleAutocomplete=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleExpanded=void 0,this.accessibleDescribedBy="",this.accessibleHasPopup=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLiveError="polite",this.debounce=0,this.clear=!1,this.caption=void 0,this.echoPlaceholder=!1,this.theme="",this.expand=!1,this.disabled=!1,this.identifier=void 0,this.margin="auto",this.inputAlign="left",this.inputPadding="medium",this.required=!1,this.type="text",this.variation="default",this.chips=!1,this.label="Label",this.labelColor=void 0,this.labelWeight=void 0,this.error="",this.labelHidden=!1,this.numericKeyboard=!1,this.name=void 0,this.pattern=void 0,this.maxlength=void 0,this.minlength=void 0,this.placeholder=void 0,this.component="input",this.role=void 0,this.icon=void 0,this.autoComplete="on",this.disallowPattern=null,this.value=void 0,this.tooltip="",this.tooltipDirection="auto"}disallowedPatternChange(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null}valueChanged(){if(this.nativeInput&&this.nativeInput.value!==this.value){const t=u(this.nativeInput);this.nativeInput.value=this.value,t()}this.isCaptionVisible=!!this.caption;const t=()=>this.duetChange.emit({value:this.value,component:"duet-input"});0===this.debounce?t():(clearTimeout(this.timeoutId),this.timeoutId=setTimeout(t,this.debounce))}componentWillLoad(){s(this),this.disallowedPatternChange(),this.isCaptionVisible=!!this.caption,x(this.element,"tooltip","duet-tooltip",1,!0)}componentDidLoad(){"revealable"===this.variation&&this.nativeInput.form&&this.nativeInput.form.addEventListener("submit",(()=>{this.isPasswordRevealed=!1}))}connectedCallback(){g(this)}disconnectedCallback(){v(this)}componentDidRender(){w(this.element,this.proxyId,this.name,this.value,this.required)}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async resetCursor(){if(this.nativeInput){const t=u(this.nativeInput);this.nativeInput.value=this.value,t()}}async clearInput(){this.nativeInput&&(this.nativeInput.value="",this.nativeInput.focus(),this.value="")}getAllChips(){return Array.from(this.element.shadowRoot.querySelectorAll(".duet-input-relative duet-chip"))}isChipSelected(){return this.getAllChips().some((t=>t.selected))}getSelectedChip(){return this.getAllChips().find((t=>t.selected))}clearChipSelection(){this.getAllChips().forEach((t=>t.selected=!1))}selectLastChip(){const t=this.getAllChips();t.length&&(t.forEach((t=>t.selected=!1)),t.at(-1).selected=!0)}selectChipToLeft(){const t=this.getAllChips(),e=t.findIndex((t=>t.selected));t.length&&(t.forEach((t=>t.selected=!1)),-1===e?t.at(-1).selected=!0:0===e?t[0].selected=!0:t[e-1].selected=!0)}selectChipToRight(){const t=this.getAllChips(),e=t.findIndex((t=>t.selected));t.length&&(t.forEach((t=>t.selected=!1)),e>-1&&e<t.length-1&&(t[e+1].selected=!0))}async addChip(t){const e=this.element.shadowRoot.querySelector(".duet-input-relative"),i=e.querySelector("input:not(duet-chip input)");t.id=r("DuetInputChip"),e.insertBefore(t,i)}async hasChip({value:t,text:e}){return this.getAllChips().some((i=>i.value===t&&i.textContent===e))}async getChips(){return this.getAllChips()}async clearChips(){this.getAllChips().forEach((t=>t.remove()))}render(){const t=this.identifier||this.inputId,e={};let o;if(this.numericKeyboard&&(e.inputmode="numeric"),this.pattern&&"tel"!==this.type?e.pattern=this.pattern:this.pattern||"tel"!==this.type||(e.pattern="[0-9+ ]+"),this.value){o=new Date;try{o.setHours(Number(this.value.slice(0,2)),Number(this.value.slice(3,5)),0,0)}catch(t){o=void 0}}const n=!this.icon&&"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type&&"button"!==this.variation;return i(a,{key:"e4e873f95bf94f97147a15b2587cce826ffe328d",class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin},onKeyUp:t=>this.keyHandler(t)},"time"===this.type&&i("duet-visually-hidden",{key:"6c116b58cda98a99d0561e57f42478e6f95fe85b","aria-live":"polite","aria-atomic":"true"},o?`${this.timeAnnouncement[this.language]} ${o.toLocaleTimeString()}`:""),i("div",{key:"dc417736dc38bf828bb78b5ef7c18b4fd0f55660",class:{"duet-input-container":!0,"duet-theme-turva":"turva"===this.theme,[`duet-input-variation-${this.variation}`]:!0,"duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-icon":"button"!==this.variation&&(!!this.icon||"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type),"has-error":!!this.error,"has-chips":this.chips,"has-clear":this.clear,"has-focus":this.isFocused,disabled:this.disabled}},i("div",{key:"3120dd57e859e1f11c7f871046ff93ca379f7d33",class:"duet-input-label-container"},i("duet-label",{key:"1625fdf912a8f117979ac70414b749e5920d6697",theme:"turva"===this.theme?"turva":"default",margin:this.isCaptionVisible?"small":"auto",color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:t},this.label),this.tooltip&&i("duet-tooltip",{key:"3e8fb18bae9803bd617d98fc326ff4879113505b",class:"duet-input-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:"turva"===this.theme?"turva":"default"},this.tooltip),i("slot",{key:"f9e4dca121a806252b7d523be78ae0db191ab05a",name:"tooltip"})),this.caption&&i("duet-caption",{key:"c3a0f5039b0a6a78600b26003cf742b6c100b715",id:this.topCaptionId,size:"medium"},this.caption),i("div",{key:"6df3e2e0abb79ce6bf5347c6e52e03be6ac374e1",class:"duet-input-relative"},this.placeholder&&this.echoPlaceholder&&(this.value||"time"===this.type)&&i("duet-caption",{key:"3f6dec06ad90dba4cb28b08ed008252423f6db74",id:this.topCaptionPlaceholderId,class:"duet-input-placeholder",margin:"none",size:"small"},this.placeholder),this.chips&&i("duet-visually-hidden",{key:"a53cd8aa2761ac6ebd7b5d6ee329573595c9aacf",id:this.chipCountId},", ",`${this.getAllChips().length} ${f(this.chipsSelectedDesriptionLabel)}`,","),i("input",Object.assign({key:"37decf03a973f6fa26a76961afc0598ab976b1e7",ref:t=>this.nativeInput=t,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,type:this.getInputType(),class:{"duet-input":!0,disabled:this.disabled,"is-number":"number"===this.component,"is-date":"date"===this.component,"after-chip":this.getAllChips().length>0,"align-right":"right"===this.inputAlign,[`input-padding-${this.inputPadding}`]:!0},value:this.value,disabled:this.disabled,"aria-invalid":this.error?"true":"false","aria-labelledby":this.accessibleLabelledBy?`${this.labelId} ${this.accessibleLabelledBy}`:this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-expanded":this.accessibleExpanded,"aria-haspopup":this.accessibleHasPopup,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedBy(),placeholder:this.placeholder,spellcheck:"false",minlength:this.minlength,maxlength:this.maxlength,autocomplete:"password"===this.type?"off":this.autoComplete,required:this.required,role:this.role,name:this.name,id:t},e)),!this.value&&n&&i("div",{key:"2b06ed113322c4e03fdcb04bf528cc9425307013",class:"duet-input-icon"},i("duet-icon",{key:"b5d41a945b099d2c5ade8c121738a9d387599c80",margin:"none",size:"small",icon:k[this.type].svg,color:"currentColor"})),this.clear&&this.value&&i("div",{key:"f89624f414e9005f484f4d31b90edcf6ea81ca44",class:{"duet-input-clear-icon":!0,"duet-input-clear-icon-single":!n,"duet-input-clear-icon-double":!!this.icon,"duet-input-clear-icon-button":"button"===this.variation}},i("button",{key:"aeedec82776de92e930bef230fdaed43552002a6",onClick:this.handleClearClick,id:this.clearId,"aria-label":this.clearLabel[this.language],"aria-keyshortcuts":"Escape"},i("duet-icon",{key:"92d15bab69bbfc0ea9b635c94b0edc5e5ddf4f3f",margin:"none",size:"medium",name:"action-clear-input",color:"currentColor"}))),this.icon&&"button"!==this.variation&&i("div",{key:"e16da8f6c4c252309cd6cf2fd9ad1d3f5ccdb547",class:"duet-input-icon"},i("duet-icon",{key:"ee55dc419577e1bd21eca218717c1ec7a64f38c2",margin:"none",size:"small",name:this.icon,color:"currentColor"})),"button"===this.variation&&i("slot",{key:"104d0b90682cd0508d684bebc22b9d4893d7181e",name:"button"}),"revealable"===this.variation&&i("duet-button",{key:"838c0aef8ef924af565ad34a0004f4d5f187418f",ref:t=>this.togglePasswordRevealedButton=t,onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.togglePasswordRevealed,icon:this.isPasswordRevealed?"action-hide":"action-show",accessibleLabel:this.isPasswordRevealed?this.hidePasswordLabel[this.language]:this.showPasswordLabel[this.language],margin:"none",variation:"input-button-embedded",fixed:!0,iconOnly:!0}),"revealable"===this.variation&&void 0!==this.isPasswordRevealed&&i("duet-visually-hidden",{key:"902ec5a2c111186ed9cda34dcd1ad0d6666b74c7"},i("span",{key:"1c94535e903e542ff97a52cb871e91d4ab244646","aria-live":"polite"},this.isPasswordRevealed?this.passwordShownAriaAnnouncement[this.language]:this.passwordHiddenAriaAnnouncement[this.language])),i("slot",{key:"9e346bbb5e1d4a0e78fe8ff3b79401c7988a4e91"})),i("span",{key:"661e5d3ae11da4b71c4b024b6835b230008ddf42",class:"duet-input-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",{key:"66b313ab9b88db56592c542e1294012f6fbf3c10",class:"duet-input-error"},this.error))))}get element(){return o(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"],value:["valueChanged"]}}};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;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}: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}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-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-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-input-icon{color:rgb(23, 28, 58)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon 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-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-theme-turva .duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-input[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 28, 58)}.has-error .duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.duet-theme-turva .duet-input-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button{position:relative;width:100%}.duet-input-variation-button .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled .duet-input-relative{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus .duet-input-relative{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}';const S=class{constructor(e){t(this,e),this.theme="",this.for=void 0,this.margin="auto",this.size="medium",this.weight="semi-bold",this.color=""}componentWillLoad(){s(this)}render(){const t=y(this.color);return i(a,{class:{"duet-label":!0,"duet-label-small":"small"===this.size,"duet-theme-turva":"turva"===this.theme,"duet-small-margin":"small"===this.margin,"duet-m-0":"none"===this.margin,[`duet-weight-${this.weight}`]:!0}},i("label",{htmlFor:this.for,style:{color:t}},i("span",null,i("slot",null))))}get element(){return o(this)}};S.style='*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-weight-normal.sc-duet-label-h label.sc-duet-label{font-weight:400 !important}.duet-weight-normal.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-weight:400 !important}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';export{C as duet_input,S as duet_label}
@@ -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-b899b000.js";import{a as r}from"./p-f11208c3.js";import{D as o}from"./p-beeb12f1.js";import{i as s}from"./p-aaa7a7bd.js";import{g as n}from"./p-f0cc5629.js";import{f as u}from"./p-a1b7f2a0.js";import{g as b,c as d,d as m}from"./p-e4d4cc92.js";import"./p-9c3c64b9.js";const c=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",this.accessibleLabelExternalDefaults=o,this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){s(this)}connectedCallback(){d(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){m(this)}handleEscape(e){if(u(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){const e=this.url?"link":"button";return t(a,{key:"bbd6de093fd02cb675b6a27822e8fd64ae2e6e36",role:"listitem"},t(this.url?"a":"button",{key:"857df988d8c2d9ee3c830455d97496903f43af24",target:this.url?this.external?"_blank":"_self":null,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.url&&n(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,role:e,rel:this.external?"noopener":void 0},this.leadingIcon&&t("duet-icon",{key:"77a2683b345776fdd073d562025d01ad7b42b8cf",class:"leading-icon",theme:this.theme,name:this.leadingIcon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"e5e54d900b8e9861fd7f687c302a83e9a5d26087",class:"label"},t("span",{key:"7b8893ae6bd4a6209763cd1e88606495db78f84e",class:"label-text"},t("slot",{key:"bd0380cd2eee95bed2c16884fdc77827a7748da2"})),(this.trailingIcon||this.external)&&t("duet-icon",{key:"94315f7a4d4ab2444536fec20724bbbeaee83a65",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!!this.external,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"}))))}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;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, 75, 129);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 .external-icon{width:10px;height:10px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(228, 241, 247)}.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(126, 2, 35)}.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(126, 2, 35)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}';export{c as duet_submenu_bar_item}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(n,e,t,i){function r(n){return n instanceof t?n:new t((function(e){e(n)}))}return new(t||(t=Promise))((function(t,a){function o(n){try{c(i.next(n))}catch(n){a(n)}}function u(n){try{c(i["throw"](n))}catch(n){a(n)}}function c(n){n.done?t(n.value):r(n.value).then(o,u)}c((i=i.apply(n,e||[])).next())}))};var __generator=this&&this.__generator||function(n,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(n){return function(e){return c([n,e])}}function c(u){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(t=0)),t)try{if(i=1,r&&(a=u[0]&2?r["return"]:u[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;if(r=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:t.label++;return{value:u[1],done:false};case 5:t.label++;r=u[1];u=[0];continue;case 7:u=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){t.label=u[1];break}if(u[0]===6&&t.label<a[1]){t.label=a[1];a=u;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(u);break}if(a[2])t.ops.pop();t.trys.pop();continue}u=e.call(n,t)}catch(n){u=[6,n];r=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-7d32c253.system.js","./p-e216bea4.system.js"],(function(n){"use strict";var e,t,i,r,a;return{setters:[function(n){e=n.r;t=n.c;i=n.h;r=n.H},function(n){a=n.i}],execute:function(){var o="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container{display:flex;flex-direction:row;gap:8px;align-items:center}.container .label{margin-bottom:8px}";var u=o;var c=n("duet_file_chooser",function(){function n(n){var i=this;e(this,n);this.duetChange=t(this,"duetChange",3);this.onChange=function(n){n.preventDefault();n.stopPropagation();i.duetChange.emit({originalEvent:n,data:{files:i.nativeInput.files},component:"duet-file-chooser"})};this.theme="";this.multiple=false;this.accept=undefined}n.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var n;return __generator(this,(function(e){(n=this.nativeInput)===null||n===void 0?void 0:n.click();return[2]}))}))};n.prototype.getFiles=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,this.nativeInput.files]}))}))};n.prototype.componentWillLoad=function(){a(this)};n.prototype.render=function(){var n=this;return i(r,{key:"7dc8581b1c1cb947362a48413aa328ba66ed8958"},i("duet-visually-hidden",{key:"7e5084aaaec4b91f34eb2e0902744751f3a7818b","aria-hidden":"true"},i("input",{key:"ddc3d9e9c6fdb590a529fc506b291f6edbd07730",ref:function(e){n.nativeInput=e},type:"file",class:{"duet-upload":true},"aria-hidden":"true",tabIndex:-1,onChange:this.onChange,multiple:this.multiple,accept:this.accept})))};return n}());c.style=u}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const r="rgb(178, 180, 179)",o="rgb(181, 198, 208)",a="rgb(255, 255, 255)",e="rgb(199, 202, 207)",l="rgb(0, 119, 179)",g="rgb(198, 12, 48)",c="'(min-width: 62em)'",i="'(min-width: 48em)'",b="'(min-width: 36em)'",t="'(min-width: 64.0625em)'",s="'(max-width: 35.9375em)'",n="'(min-width: 76.25em)'",u="'(max-width: 22.5em)'",p="'(min-width: 106.25em)'",x="'(max-width: 20.5em)'",m="4rem",d="3rem",y="8px",v=Object.freeze({__proto__:null,colorBrandBlue:"rgb(0, 161, 212)",colorBrandGrayTurva:r,colorCategoryFamily:"rgb(11, 114, 136)",colorCategoryFamilyTurva:"rgb(199, 12, 112)",colorCategoryFinance:"rgb(122, 1, 196)",colorCategoryHome:"rgb(211, 36, 131)",colorCategoryHomeTurva:"rgb(161, 10, 78)",colorCategoryPet:"rgb(168, 1, 78)",colorCategoryTravel:"rgb(213, 66, 3)",colorCategoryTravelTurva:"rgb(9, 129, 148)",colorCategoryUnionTurva:"rgb(169, 69, 124)",colorCategoryVehicle:"rgb(54, 74, 129)",colorCategoryVehicleTurva:"rgb(23, 28, 58)",colorDanger:"rgb(214, 28, 82)",colorDanger00:"rgb(255, 240, 243)",colorDanger100:"rgb(255, 211, 219)",colorDanger1000:"rgb(89, 0, 45)",colorDanger200:"rgb(255, 173, 190)",colorDanger300:"rgb(252, 136, 162)",colorDanger400:"rgb(243, 98, 134)",colorDanger50:"rgb(255, 225, 231)",colorDanger500:"rgb(231, 62, 107)",colorDanger600:"rgb(214, 28, 82)",colorDanger700:"rgb(185, 16, 74)",colorDanger800:"rgb(153, 9, 66)",colorDanger900:"rgb(120, 4, 56)",colorDangerTurva:"rgb(214, 28, 82)",colorData01:"rgb(122, 1, 196)",colorData02:"rgb(0, 155, 204)",colorData03:"rgb(27, 171, 75)",colorData04:"rgb(255, 86, 34)",colorData05:"rgb(245, 76, 154)",colorData06:"rgb(194, 21, 101)",colorData07:"rgb(192, 101, 247)",colorData08:"rgb(0, 105, 191)",colorData09:"rgb(19, 120, 53)",colorData10:"rgb(179, 60, 24)",colorData11:"rgb(13, 163, 166)",colorData12:"rgb(11, 114, 136)",colorData13:"rgb(179, 137, 24)",colorData14:"rgb(128, 98, 17)",colorData15:"rgb(0, 41, 77)",colorGray:o,colorGrayDark:"rgb(127, 150, 165)",colorGrayDarkTurva:"rgb(143, 147, 158)",colorGrayDarker:"rgb(98, 121, 138)",colorGrayDarkerTurva:"rgb(113, 118, 132)",colorGrayLight:"rgb(212, 223, 229)",colorGrayLightTurva:"rgb(222, 224, 228)",colorGrayLighter:"rgb(245, 248, 250)",colorGrayLighterTurva:"rgb(245, 247, 250)",colorGrayLightest:a,colorGrayLightestTurva:"rgb(255, 255, 255)",colorGrayTurva:e,colorLtBlue00:"rgb(240, 247, 250)",colorLtBlue100:"rgb(217, 236, 245)",colorLtBlue1000:"rgb(8, 42, 77)",colorLtBlue200:"rgb(198, 225, 238)",colorLtBlue300:"rgb(172, 210, 229)",colorLtBlue400:"rgb(131, 188, 217)",colorLtBlue50:"rgb(228, 241, 247)",colorLtBlue500:"rgb(50, 153, 204)",colorLtBlue600:"rgb(0, 119, 179)",colorLtBlue700:"rgb(0, 97, 155)",colorLtBlue800:"rgb(0, 75, 129)",colorLtBlue900:"rgb(3, 56, 102)",colorLtGray00:"rgb(245, 248, 250)",colorLtGray100:"rgb(212, 223, 229)",colorLtGray1000:"rgb(17, 28, 38)",colorLtGray200:"rgb(181, 198, 208)",colorLtGray300:"rgb(153, 174, 186)",colorLtGray400:"rgb(127, 150, 165)",colorLtGray50:"rgb(228, 236, 239)",colorLtGray500:"rgb(98, 121, 138)",colorLtGray600:"rgb(81, 105, 123)",colorLtGray700:"rgb(62, 84, 102)",colorLtGray800:"rgb(45, 64, 81)",colorLtGray900:"rgb(30, 45, 59)",colorPrimary:l,colorPrimaryDark:"rgb(0, 75, 129)",colorPrimaryDarkTurva:"rgb(126, 2, 35)",colorPrimaryDarker:"rgb(0, 97, 155)",colorPrimaryDarkerTurva:"rgb(164, 4, 40)",colorPrimaryLight:"rgb(198, 225, 238)",colorPrimaryLightTurva:"rgb(255, 185, 190)",colorPrimaryLighter:"rgb(228, 241, 247)",colorPrimaryLighterTurva:"rgb(255, 227, 228)",colorPrimaryLightest:"rgb(240, 247, 250)",colorPrimaryLightestTurva:"rgb(255, 241, 241)",colorPrimaryTurva:g,colorSecondary:"rgb(8, 42, 77)",colorSecondaryTurva:"rgb(23, 28, 58)",colorSuccess:"rgb(48, 131, 105)",colorSuccess00:"rgb(244, 250, 247)",colorSuccess100:"rgb(218, 246, 233)",colorSuccess1000:"rgb(4, 38, 33)",colorSuccess200:"rgb(191, 239, 218)",colorSuccess300:"rgb(163, 229, 202)",colorSuccess400:"rgb(134, 215, 185)",colorSuccess50:"rgb(231, 248, 239)",colorSuccess500:"rgb(105, 196, 166)",colorSuccess600:"rgb(77, 171, 143)",colorSuccess700:"rgb(48, 131, 105)",colorSuccess800:"rgb(29, 106, 88)",colorSuccess900:"rgb(13, 71, 59)",colorSuccessTurva:"rgb(48, 131, 105)",colorTurvaGray00:"rgb(245, 247, 250)",colorTurvaGray100:"rgb(222, 224, 228)",colorTurvaGray1000:"rgb(8, 13, 38)",colorTurvaGray200:"rgb(199, 202, 207)",colorTurvaGray300:"rgb(175, 178, 186)",colorTurvaGray400:"rgb(143, 147, 158)",colorTurvaGray50:"rgb(234, 235, 239)",colorTurvaGray500:"rgb(113, 118, 132)",colorTurvaGray600:"rgb(98, 104, 122)",colorTurvaGray700:"rgb(71, 78, 101)",colorTurvaGray800:"rgb(45, 52, 79)",colorTurvaGray900:"rgb(23, 28, 58)",colorTurvaRed00:"rgb(255, 241, 241)",colorTurvaRed100:"rgb(255, 213, 215)",colorTurvaRed1000:"rgb(51, 5, 20)",colorTurvaRed200:"rgb(255, 185, 190)",colorTurvaRed300:"rgb(252, 148, 158)",colorTurvaRed400:"rgb(240, 102, 119)",colorTurvaRed50:"rgb(255, 227, 228)",colorTurvaRed500:"rgb(221, 49, 77)",colorTurvaRed600:"rgb(198, 12, 48)",colorTurvaRed700:"rgb(164, 4, 40)",colorTurvaRed800:"rgb(126, 2, 35)",colorTurvaRed900:"rgb(87, 4, 29)",colorWarning:"rgb(247, 178, 40)",colorWarning00:"rgb(255, 251, 242)",colorWarning100:"rgb(255, 244, 198)",colorWarning1000:"rgb(38, 26, 4)",colorWarning200:"rgb(255, 232, 160)",colorWarning300:"rgb(255, 217, 120)",colorWarning400:"rgb(255, 199, 79)",colorWarning50:"rgb(255, 247, 221)",colorWarning500:"rgb(247, 178, 40)",colorWarning600:"rgb(212, 151, 32)",colorWarning700:"rgb(156, 110, 22)",colorWarning800:"rgb(126, 87, 16)",colorWarning900:"rgb(81, 55, 9)",colorWarningTurva:"rgb(247, 178, 40)",fontFamilyHeading:"'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",fontFamilyHeadingTurva:"'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",fontFamilyText:"'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",fontFamilyTextTurva:"'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",fontSizeLarge:"1.25rem",fontSizeMedium:"1rem",fontSizeSmall:"0.875rem",fontSizeXLarge:"1.5rem",fontSizeXSmall:"0.75rem",fontSizeXxLarge:"2.25rem",fontSizeXxxLarge:"3rem",fontSizeXxxxLarge:"4.5rem",fontWeightBold:"700",fontWeightExtraBold:"800",fontWeightNormal:"400",fontWeightSemiBold:"600",letterSpacingHeading:"-0.01rem",lineHeightMedium:"1.5",lineHeightSmall:"1.25",lineHeightXSmall:"1.1",mediaQueryLarge:c,mediaQueryMedium:i,mediaQuerySmall:b,mediaQueryXLarge:t,mediaQueryXSmall:s,mediaQueryXxLarge:n,mediaQueryXxSmall:u,mediaQueryXxxLarge:p,mediaQueryXxxSmall:x,opacity30:"0.30",opacity50:"0.50",opacity75:"0.75",opacity85:"0.85",radiusCircle:"50%",radiusDefault:"4px",radiusIntermediate:"12px",radiusLarge:"16px",radiusMedium:"8px",radiusPill:"20rem",radiusSharp:"0",shadowCard:"0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",shadowCardTurva:"0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",shadowDefault:"0 2px 6px 0 rgba(0, 41, 77, 0.07)",shadowDefaultTurva:"0 2px 6px 0 rgba(117, 117, 117, 0.13)",shadowError:"0 0 0 1px #de2362",shadowErrorTurva:"0 0 0 1px #e55039",shadowFocus:"0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3",shadowFocusInput:"0 0 0 1px #0077b3",shadowFocusInputTurva:"0 0 0 1px #171c3a",shadowFocusTurva:"0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a",shadowHover:"0 2px 10px 0 rgba(0, 41, 77, 0.1)",shadowHoverInput:"0 0 0 1px #909599",shadowHoverInputTurva:"0 0 0 1px #747475",shadowHoverTurva:"0 2px 10px 0 rgba(117, 117, 117, 0.15)",shadowModal:"0 2px 20px 0 rgba(0, 0, 0, 0.2)",shadowTooltip:"0 2px 10px 0 rgba(0, 41, 77, 0.07)",shadowTooltipTurva:"0 2px 10px 0 rgba(117, 117, 117, 0.13)",sizeButtonBorder:"1px",sizeButtonMinWidth:"8rem",sizeButtonTinyBorder:"1px",sizeFormBorder:"1px",sizeHeader:m,sizeIconLarge:"30px",sizeIconMedium:"24px",sizeIconSmall:"20px",sizeIconXLarge:"36px",sizeIconXSmall:"16px",sizeIconXxLarge:"48px",sizeIconXxSmall:"10px",sizeIconXxxLarge:"72px",sizeIconXxxSmall:"7px",sizeLayoutMaxWidth:"1110px",sizeMediumBorder:"2px",sizeNavigation:d,sizeStepMedium:"40px",sizeStepSmall:"30px",sizeTappableSquare:"48px",spaceLarge:"20px",spaceMedium:"16px",spaceSmall:"12px",spaceXLarge:"28px",spaceXSmall:"8px",spaceXxLarge:"36px",spaceXxSmall:"4px",spaceXxxLarge:"48px",spaceXxxSmall:"2px",spaceXxxxLarge:"72px",spaceXxxxxLarge:"94px",transitionQuickly:"300ms ease",transitionSlowly:"600ms ease",zIndexDeep:"-999999",zIndexDefault:"1",zIndexDropdown:"600",zIndexHeader:"400",zIndexMask:"200",zIndexMaskButtons:"250",zIndexMasked:"100",zIndexModal:"900",zIndexOverlay:"700",zIndexPopup:"950",zIndexSpinner:"800",zIndexSticky:"300",zIndexToast:"500"});export{s as a,b,i as c,c as d,t as e,n as f,p as g,x as h,g as i,e as j,l as k,o as l,u as m,a as n,r as o,d as p,y as q,m as s,v as t}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as i,H as o,g as a}from"./p-b899b000.js";import{i as r}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";const l=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.checkboxId=s("DuetCheckbox"),this.errorId=s("DuetError"),this.onChange=e=>{this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.getDescribedBy=()=>{const e=[];return this.accessibleDescribedBy&&e.push(this.accessibleDescribedBy),this.error&&e.push(this.errorId),e.length>0?e.join(" "):null},this.accessibleActiveDescendant=void 0,this.margin="auto",this.accessibleControls=void 0,this.accessibleIndex=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleSelected=void 0,this.accessibleLiveError="polite",this.required=!1,this.error="",this.theme="",this.disabled=!1,this.identifier=void 0,this.label="label",this.labelHidden=!1,this.name=void 0,this.role=void 0,this.checked=!1,this.value=void 0}componentWillLoad(){r(this),void 0===this.value&&(this.value=this.identifier)}async setFocus(e){this.nativeInput.focus(e)}render(){const e=this.identifier||this.checkboxId;return i(o,{class:{"duet-m-0":"none"===this.margin}},i("div",{class:{"duet-checkbox-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme}},i("input",{ref:e=>this.nativeInput=e,type:"checkbox",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,class:{"duet-checkbox":!0,disabled:this.disabled},checked:this.checked,disabled:this.disabled,tabindex:this.accessibleIndex,"aria-invalid":this.error?"true":"false","aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-selected":this.accessibleSelected,required:this.required,role:this.role,name:this.name,id:e}),i("label",{class:"duet-label",htmlFor:e},i("span",null,this.label)),i("div",{class:"duet-checkbox-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",null,this.error))))}get element(){return a(this)}};l.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:8px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(:last-child:not(:only-child)){margin-bottom:0 !important}:host(.duet-m-0){margin:0 !important}.duet-label{position:relative;z-index:100;display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva .duet-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-label span{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container{position:relative;width:100%;height:100%}.duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox+label::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:"";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva .duet-checkbox+label::before{border-color:rgb(23, 28, 58)}.duet-checkbox:checked+label::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva .duet-checkbox:checked+label::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox+label{position:static}.duet-checkbox:checked+label::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:"";background:transparent url("data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled]{cursor:default}.duet-checkbox[disabled]+label{color:rgb(98, 121, 138)}.duet-theme-turva .duet-checkbox[disabled]+label{color:rgb(143, 147, 158)}.duet-checkbox[disabled]+label::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-checkbox[disabled]+label::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled]:checked+label::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva .duet-checkbox[disabled]:checked+label::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error{margin-left:31px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-theme-turva .duet-checkbox-error{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(214, 28, 82)}.duet-label-hidden .duet-label span,.duet-label-hidden .duet-checkbox-error span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{l as duet_checkbox}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,o){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function a(e){try{l(o.next(e))}catch(e){n(e)}}function s(e){try{l(o["throw"](e))}catch(e){n(e)}}function l(e){e.done?i(e.value):r(e.value).then(a,s)}l((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,r,n,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return l([e,t])}}function l(s){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(i=0)),i)try{if(o=1,r&&(n=s[0]&2?r["return"]:s[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,s[1])).done)return n;if(r=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;r=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){i.label=s[1];break}if(s[0]===6&&i.label<n[1]){i.label=n[1];n=s;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(s);break}if(n[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];r=0}finally{o=n=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-7d32c253.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js"],(function(e){"use strict";var t,i,o,r,n,a,s;return{setters:[function(e){t=e.r;i=e.c;o=e.h;r=e.H;n=e.g},function(e){a=e.i},function(e){s=e.c}],execute:function(){var l='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(:last-child:not(:only-child)){margin-bottom:0 !important}:host(.duet-m-0){margin:0 !important}.duet-label{position:relative;z-index:100;display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva .duet-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-label span{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container{position:relative;width:100%;height:100%}.duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox+label::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:"";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva .duet-checkbox+label::before{border-color:rgb(23, 28, 58)}.duet-checkbox:checked+label::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva .duet-checkbox:checked+label::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox+label{position:static}.duet-checkbox:checked+label::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:"";background:transparent url("data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled]{cursor:default}.duet-checkbox[disabled]+label{color:rgb(98, 121, 138)}.duet-theme-turva .duet-checkbox[disabled]+label{color:rgb(143, 147, 158)}.duet-checkbox[disabled]+label::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-checkbox[disabled]+label::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled]:checked+label::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva .duet-checkbox[disabled]:checked+label::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error{margin-left:31px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-theme-turva .duet-checkbox-error{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(214, 28, 82)}.duet-label-hidden .duet-label span,.duet-label-hidden .duet-checkbox-error span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';var c=l;var d=e("duet_checkbox",function(){function e(e){var o=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.checkboxId=s("DuetCheckbox");this.errorId=s("DuetError");this.onChange=function(e){o.checked=!o.checked;o.duetChange.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-checkbox"})};this.onBlur=function(e){o.duetBlur.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-checkbox"})};this.onFocus=function(e){o.duetFocus.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-checkbox"})};this.getDescribedBy=function(){var e=[];if(o.accessibleDescribedBy){e.push(o.accessibleDescribedBy)}if(o.error){e.push(o.errorId)}return e.length>0?e.join(" "):null};this.accessibleActiveDescendant=undefined;this.margin="auto";this.accessibleControls=undefined;this.accessibleIndex=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleSelected=undefined;this.accessibleLiveError="polite";this.required=false;this.error="";this.theme="";this.disabled=false;this.identifier=undefined;this.label="label";this.labelHidden=false;this.name=undefined;this.role=undefined;this.checked=false;this.value=undefined}e.prototype.componentWillLoad=function(){a(this);if(this.value===undefined){this.value=this.identifier}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.identifier||this.checkboxId;return o(r,{class:{"duet-m-0":this.margin==="none"}},o("div",{class:{"duet-checkbox-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva"}},o("input",{ref:function(t){return e.nativeInput=t},type:"checkbox",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,class:{"duet-checkbox":true,disabled:this.disabled},checked:this.checked,disabled:this.disabled,tabindex:this.accessibleIndex,"aria-invalid":this.error?"true":"false","aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-selected":this.accessibleSelected,required:this.required,role:this.role,name:this.name,id:t}),o("label",{class:"duet-label",htmlFor:t},o("span",null,this.label)),o("div",{class:"duet-checkbox-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&o("span",null,this.error))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());d.style=c}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,o){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function s(e){try{l(o.next(e))}catch(e){r(e)}}function n(e){try{l(o["throw"](e))}catch(e){r(e)}}function l(e){e.done?i(e.value):a(e.value).then(s,n)}l((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,a,r,s;return s={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function n(e){return function(t){return l([e,t])}}function l(n){if(o)throw new TypeError("Generator is already executing.");while(s&&(s=0,n[0]&&(i=0)),i)try{if(o=1,a&&(r=n[0]&2?a["return"]:n[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,n[1])).done)return r;if(a=0,r)n=[n[0]&2,r.value];switch(n[0]){case 0:case 1:r=n;break;case 4:i.label++;return{value:n[1],done:false};case 5:i.label++;a=n[1];n=[0];continue;case 7:n=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(n[0]===6||n[0]===2)){i=0;continue}if(n[0]===3&&(!r||n[1]>r[0]&&n[1]<r[3])){i.label=n[1];break}if(n[0]===6&&i.label<r[1]){i.label=r[1];r=n;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(n);break}if(r[2])i.ops.pop();i.trys.pop();continue}n=t.call(e,i)}catch(e){n=[6,e];a=0}finally{o=r=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-7d32c253.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-e7fa96bb.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,o,a,r,s,n,l,c;return{setters:[function(e){t=e.r;i=e.c;o=e.h;a=e.H;r=e.g},function(e){s=e.i},function(e){n=e.c},function(e){l=e.c},function(e){c=e.p}],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;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-select-variation-tiny,:host.duet-select-variation-compact{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}:host.duet-select-variation-compact{width:auto}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-select-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-select-container{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny{width:72px}.duet-select-wrapper{position:relative;width:100%;padding:15px 14px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-select-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-select-variation-tiny .duet-select-wrapper{width:81px;padding:0 !important}.duet-select-variation-compact .duet-select-wrapper{padding:0 !important;line-height:1}.duet-select-wrapper select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva .duet-select-wrapper select{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-select-wrapper select:hover+.duet-select{border-color:rgb(127, 150, 165);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-select-wrapper select:hover+.duet-select{border-color:rgb(143, 147, 158);box-shadow:0 0 0 1px #747475}.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select:focus+.duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(23, 28, 58)}.duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(0, 119, 179)}.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select[disabled]{cursor:default !important}.duet-select-wrapper select[disabled]+.duet-select{color:rgb(8, 42, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-select-wrapper select[disabled]+.duet-select{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-select-wrapper span.duet-keep-container-height{opacity:0}.duet-select-variation-compact .duet-select-wrapper span.duet-keep-container-height{display:none}.duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-select{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.duet-select svg{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-select svg{color:rgb(23, 28, 58)}.duet-select-variation-tiny .duet-select,.duet-select-variation-compact .duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny .duet-select duet-icon,.duet-select-variation-compact .duet-select duet-icon{padding-left:10px}.duet-select-variation-compact .duet-select{position:relative;width:fit-content;padding:7px 16px !important;font-size:0.875rem;line-height:1.1;text-align:right;border-radius:8px}.duet-select-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-select-help span{display:block;margin-top:8px}.duet-theme-turva .duet-select-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';var u=d;function p(e){return"options"in e}function h(e,t){for(var i=0;i<e.length;i++){var o=e[i];if(p(o)){o=h(o.options,t)}if(o&&o.value===t){return o}}}var f=e("duet_select",function(){function e(e){var o=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.selectId=n("DuetSelect");this.errorId=n("DuetError");this.labelId=n("DuetLabel");this.topCaptionId=n("DuetCaptionTop");this.topCaptionPlaceholderId=n("DuetCaptionPlaceholderTop");this.onClick=function(e){e.stopPropagation()};this.onChange=function(){o.value=o.nativeSelect.value;o.duetChange.emit({value:o.value,component:"duet-select"})};this.onBlur=function(e){o.duetBlur.emit({originalEvent:e,value:o.value,component:"duet-select"})};this.onFocus=function(e){o.duetFocus.emit({originalEvent:e,value:o.value,component:"duet-select"})};this.getDescribedBy=function(){var e=[];if(o.isCaptionVisible&&o.topCaptionId){e.push(o.topCaptionId)}if(o.accessibleDescribedBy){e.push(o.accessibleDescribedBy)}if(o.error){e.push(o.errorId)}return e.length>0?e.join(" "):null};this.processedItems=null;this.variation="default";this.accessibleActiveDescendant=undefined;this.accessibleDescribedBy=undefined;this.margin="auto";this.accessibleControls=undefined;this.accessibleOwns=undefined;this.error="";this.accessibleLiveError="polite";this.expand=false;this.value=undefined;this.theme="";this.labelHidden=false;this.identifier=undefined;this.name=undefined;this.placeholder="";this.caption=undefined;this.echoPlaceholder=false;this.items=undefined;this.disabled=false;this.required=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.role=undefined;this.tooltip="";this.tooltipDirection="auto"}e.prototype.valueChanged=function(){if(this.nativeSelect){this.nativeSelect.value=this.value}this.isCaptionVisible=!!this.caption};e.prototype.componentWillLoad=function(){s(this);this.isCaptionVisible=!!this.caption;l(this.element,"tooltip","duet-tooltip",1,true);this.refresh()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeSelect){this.nativeSelect.focus(e)}return[2]}))}))};e.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.processedItems=c(this.items);return[2]}))}))};e.prototype.getSelectedItemLabel=function(){var e;if(this.processedItems){e=h(this.processedItems,this.value)}return e?e.label:this.placeholder||""};e.prototype.renderOption=function(e){return o("option",{"aria-label":e.ariaLabel,value:e.value,key:e.value,selected:this.value===e.value,disabled:e.disabled},e.label)};e.prototype.renderOptionGroup=function(e){var t=this;return o("optgroup",{key:e.label,label:e.label,disabled:e.disabled},e.options.map((function(e){return t.renderOption(e)})))};e.prototype.render=function(){var e,t,i;var r=this;var s=this.identifier||this.selectId;return o(a,{key:"28f5db49f64ea0115fa20745df6d535fac98ca08",onClick:this.onClick,class:(e={"duet-m-0":this.margin==="none","duet-expand":this.expand},e["duet-select-variation-".concat(this.variation)]=true,e)},o("div",{key:"73e7a3937df41f97d6501cb393b05a1e11e07b97",class:(t={"duet-select-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva"},t["duet-select-variation-".concat(this.variation)]=true,t["duet-input-top-caption-shown"]=this.isCaptionVisible,t["has-error"]=!!this.error,t)},o("duet-label",{key:"1b908d4ce2db347aea7654f7d150c3536023be7e",theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:s},this.label),this.tooltip&&o("duet-tooltip",{key:"f4ae4625f3844a0a4ff41ceeb5b09cc73f2c3139",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{key:"56432a29cd588587216dcb91b1d7fa29ae80c12d",name:"tooltip"}),this.caption&&o("duet-caption",{key:"2664591e6e79d7786ecd95e2136b7eb6ac46eb43",id:this.topCaptionId,size:"medium"},this.caption),o("div",{key:"17a7d144eb109640535302879dc8e46622f7542a",class:"duet-select-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&o("duet-caption",{key:"2777dafee5e8f98ca467b83cfa672aeb2bd51d26",id:this.topCaptionPlaceholderId,class:"duet-select-placeholder",size:"small"},this.placeholder),o("select",{key:"2d00bf64843b3d4402d75b50660baaa701e776bd",ref:function(e){return r.nativeSelect=e},disabled:this.disabled,name:this.name,id:s,role:this.role,"aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,required:this.required},this.placeholder&&o("option",{key:"9f4a48986073692a67a221d489c3bc9402324828",disabled:true,selected:true,value:""},this.placeholder),!this.processedItems?o("option",null,"Virhe valintoja ladattaessa. Päivitä sivu ja kokeile uusiksi."):this.processedItems.map((function(e){return p(e)?r.renderOptionGroup(e):r.renderOption(e)}))),o("div",{key:"00870092e20d5e30222ad0afa3072d1dfba03dce",class:(i={"duet-select":true},i["duet-select-variation-".concat(this.variation)]=true,i),"aria-hidden":"true"},o("span",{key:this.value,class:"duet-select-selected-value"},this.getSelectedItemLabel()),this.variation==="default"&&o("svg",{key:"e1e57dfb22ba2d97a460c34b18a49355e8fa41a7",role:"img",class:"duet-select-icon",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"5fedaf97f4a4293f318512cc312d4c1d6ac9fce2",d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))||o("duet-icon",{key:"52b2404b48602331e322f5ccf6f338cf5dba46e4",theme:this.theme,name:"action-arrow-down-small",color:"currentColor",margin:"none",size:this.variation==="compact"?"xxx-small":"xx-small"})),o("span",{key:"c647fdcfac98bfd444789464f4e89f905a3db068",class:"duet-keep-container-height",role:"presention","aria-hidden":"true"},"_")),o("span",{key:"2f8730fa473524bdc6fbfe52f295215fe023b984",class:"duet-select-help",id:this.errorId,"aria-live":this.accessibleLiveError,"aria-atomic":"true","aria-relevant":"additions removals"},this.error&&o("span",{key:"438e8329537edfc708bb57ce8de8d91abb7aaae8"},this.error))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"],items:["refresh"]}},enumerable:false,configurable:true});return e}());f.style=u}}}));