@duetds/components 10.0.0-alpha.8 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1238) hide show
  1. package/hydrate/index.d.ts +38 -7
  2. package/hydrate/index.js +11723 -4211
  3. package/hydrate/index.mjs +46153 -0
  4. package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
  5. package/lib/cjs/a11y-utils-DmZK4TTO.js +46 -0
  6. package/lib/cjs/action-arrow-down-small-CDsSJFvZ.js +21 -0
  7. package/lib/cjs/action-new-window-small-BWlVx6YN.js +21 -0
  8. package/lib/cjs/{app-globals-99f2f39f.js → app-globals-C35yvbFy.js} +2 -2
  9. package/lib/cjs/{common-strings-2984301e.js → common-strings-CC6Xpjb8.js} +30 -0
  10. package/lib/cjs/duet-action-button.cjs.entry.js +84 -29
  11. package/lib/cjs/duet-alert.cjs.entry.js +106 -49
  12. package/lib/cjs/duet-badge.cjs.entry.js +31 -9
  13. package/lib/cjs/duet-banner.cjs.entry.js +71 -28
  14. package/lib/cjs/duet-breadcrumb.cjs.entry.js +37 -26
  15. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +20 -14
  16. package/lib/cjs/duet-button_2.cjs.entry.js +152 -72
  17. package/lib/cjs/duet-callout.cjs.entry.js +13 -10
  18. package/lib/cjs/duet-caption_4.cjs.entry.js +212 -46
  19. package/lib/cjs/duet-card.cjs.entry.js +93 -35
  20. package/lib/cjs/duet-checkbox.cjs.entry.js +68 -32
  21. package/lib/cjs/duet-checkmark.cjs.entry.js +21 -9
  22. package/lib/cjs/duet-chip.cjs.entry.js +356 -0
  23. package/lib/cjs/duet-choice_2.cjs.entry.js +279 -130
  24. package/lib/cjs/duet-collapsible.cjs.entry.js +92 -33
  25. package/lib/cjs/duet-combobox.cjs.entry.js +99 -58
  26. package/lib/cjs/duet-contact-card.cjs.entry.js +17 -18
  27. package/lib/cjs/duet-cookie-consent.cjs.entry.js +14 -11
  28. package/lib/cjs/duet-date-picker.cjs.entry.js +158 -57
  29. package/lib/cjs/duet-divider_2.cjs.entry.js +30 -14
  30. package/lib/cjs/duet-editable-table_3.cjs.entry.js +556 -210
  31. package/lib/cjs/duet-empty-state.cjs.entry.js +15 -9
  32. package/lib/cjs/duet-fieldset.cjs.entry.js +51 -18
  33. package/lib/cjs/duet-file-chooser.cjs.entry.js +18 -11
  34. package/lib/cjs/duet-footer.cjs.entry.js +56 -30
  35. package/lib/cjs/duet-grid_2.cjs.entry.js +165 -64
  36. package/lib/cjs/duet-header_2.cjs.entry.js +302 -91
  37. package/lib/cjs/duet-hero.cjs.entry.js +159 -35
  38. package/lib/cjs/duet-icon.cjs.entry.js +64 -20
  39. package/lib/cjs/duet-indicator.cjs.entry.js +61 -0
  40. package/lib/cjs/duet-input_2.cjs.entry.js +225 -86
  41. package/lib/cjs/duet-layout.cjs.entry.js +33 -13
  42. package/lib/cjs/duet-list_2.cjs.entry.js +58 -14
  43. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +24 -16
  44. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +19 -14
  45. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +21 -16
  46. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +40 -19
  47. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +18 -10
  48. package/lib/cjs/duet-menu-bar.cjs.entry.js +37 -59
  49. package/lib/cjs/duet-modal.cjs.entry.js +122 -35
  50. package/lib/cjs/duet-multiselect.cjs.entry.js +88 -42
  51. package/lib/cjs/duet-nav.cjs.entry.js +12 -8
  52. package/lib/cjs/duet-notification_2.cjs.entry.js +98 -32
  53. package/lib/cjs/duet-number-input.cjs.entry.js +191 -70
  54. package/lib/cjs/duet-overlay.cjs.entry.js +36 -14
  55. package/lib/cjs/duet-page-heading.cjs.entry.js +16 -11
  56. package/lib/cjs/duet-pagination_2.cjs.entry.js +162 -87
  57. package/lib/cjs/duet-panel.cjs.entry.js +52 -0
  58. package/lib/cjs/duet-phone-input.cjs.entry.js +2072 -0
  59. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +550 -0
  60. package/lib/cjs/duet-progress.cjs.entry.js +32 -13
  61. package/lib/cjs/duet-promo-card.cjs.entry.js +27 -13
  62. package/lib/cjs/duet-radio_2.cjs.entry.js +114 -55
  63. package/lib/cjs/duet-range-slider.cjs.entry.js +73 -37
  64. package/lib/cjs/duet-scrollable_3.cjs.entry.js +245 -91
  65. package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
  66. package/lib/cjs/duet-select.cjs.entry.js +89 -46
  67. package/lib/cjs/duet-shaped-image.cjs.entry.js +16 -11
  68. package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
  69. package/lib/cjs/duet-share-chart.cjs.entry.js +85 -0
  70. package/lib/cjs/duet-show-more.cjs.entry.js +81 -38
  71. package/lib/cjs/duet-slideout-lang.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-slideout-link.cjs.entry.js +61 -10
  73. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +25 -14
  74. package/lib/cjs/duet-slideout-panel.cjs.entry.js +50 -36
  75. package/lib/cjs/duet-slideout.cjs.entry.js +85 -52
  76. package/lib/cjs/duet-status-icon.cjs.entry.js +28 -15
  77. package/lib/cjs/duet-step_2.cjs.entry.js +72 -24
  78. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +25 -10
  79. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +27 -18
  80. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +40 -19
  81. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +18 -9
  82. package/lib/cjs/duet-submenu-bar.cjs.entry.js +27 -21
  83. package/lib/cjs/duet-textarea.cjs.entry.js +146 -71
  84. package/lib/cjs/duet-toggle.cjs.entry.js +50 -29
  85. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +22 -11
  86. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +27 -16
  87. package/lib/cjs/duet-toolbar-item.cjs.entry.js +46 -19
  88. package/lib/cjs/duet-toolbar-link.cjs.entry.js +21 -10
  89. package/lib/cjs/duet-toolbar.cjs.entry.js +12 -10
  90. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +24 -27
  91. package/lib/cjs/duet-tooltip.cjs.entry.js +98 -46
  92. package/lib/cjs/duet-tray.cjs.entry.js +63 -24
  93. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +30 -11
  94. package/lib/cjs/duet-upload-item.cjs.entry.js +12 -22
  95. package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -7
  96. package/lib/cjs/duet.cjs.js +8 -8
  97. package/lib/cjs/{errorcodes.utils-2db03da6.js → errorcodes.utils-lNwivqkj.js} +2 -2
  98. package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
  99. package/lib/cjs/{focus-utils-5578a0a5.js → focus-utils-DFa0zwT7.js} +1 -1
  100. package/lib/cjs/form-search-CzPfHB80.js +21 -0
  101. package/lib/cjs/{index-9c3aea30.js → index-C0kw3uAi.js} +1863 -1363
  102. package/lib/cjs/{label-a742a2d5.js → label-BJ7gT5C1.js} +1 -1
  103. package/lib/cjs/{language-utils-9499975c.js → language-utils-v37OZJFe.js} +10 -2
  104. package/lib/cjs/loader.cjs.js +3 -5
  105. package/lib/cjs/{slot-utils-799906b5.js → slot-utils-DFmRJ2pY.js} +6 -1
  106. package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
  107. package/lib/cjs/themeable-component-BEm0vuJc.js +74 -0
  108. package/lib/cjs/{token-utils-5000595c.js → token-utils-BJtlJxnJ.js} +80 -9
  109. package/lib/cjs/{tokens-57e06fe4.js → tokens-BxWzRxOl.js} +150 -8
  110. package/lib/cjs/{tokens.module-7c947029.js → tokens.module-DJt2h4FX.js} +99 -3
  111. package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
  112. package/lib/collection/collection-manifest.json +6 -1
  113. package/lib/collection/common/themeable-component.js +61 -3
  114. package/lib/collection/common-strings.js +28 -0
  115. package/lib/collection/components/duet-action-button/duet-action-button.css +29 -12
  116. package/lib/collection/components/duet-action-button/duet-action-button.js +92 -33
  117. package/lib/collection/components/duet-alert/duet-alert.css +96 -58
  118. package/lib/collection/components/duet-alert/duet-alert.js +145 -58
  119. package/lib/collection/components/duet-badge/duet-badge.css +24 -9
  120. package/lib/collection/components/duet-badge/duet-badge.js +30 -6
  121. package/lib/collection/components/duet-banner/duet-banner.css +51 -24
  122. package/lib/collection/components/duet-banner/duet-banner.js +94 -29
  123. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -8
  124. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +26 -28
  125. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +18 -7
  126. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
  127. package/lib/collection/components/duet-button/duet-button.css +170 -48
  128. package/lib/collection/components/duet-button/duet-button.js +170 -89
  129. package/lib/collection/components/duet-callout/duet-callout.css +7 -2
  130. package/lib/collection/components/duet-callout/duet-callout.js +10 -4
  131. package/lib/collection/components/duet-caption/duet-caption.css +7 -3
  132. package/lib/collection/components/duet-caption/duet-caption.js +18 -6
  133. package/lib/collection/components/duet-card/duet-card.css +48 -16
  134. package/lib/collection/components/duet-card/duet-card.js +131 -37
  135. package/lib/collection/components/duet-checkbox/duet-checkbox.css +30 -8
  136. package/lib/collection/components/duet-checkbox/duet-checkbox.js +86 -47
  137. package/lib/collection/components/duet-chip/duet-chip.css +66 -25
  138. package/lib/collection/components/duet-chip/duet-chip.js +67 -35
  139. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  140. package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
  141. package/lib/collection/components/duet-choice/duet-choice.css +160 -40
  142. package/lib/collection/components/duet-choice/duet-choice.js +241 -139
  143. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  144. package/lib/collection/components/duet-choice-group/duet-choice-group.js +109 -48
  145. package/lib/collection/components/duet-collapsible/duet-collapsible.css +36 -13
  146. package/lib/collection/components/duet-collapsible/duet-collapsible.js +97 -35
  147. package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
  148. package/lib/collection/components/duet-combobox/duet-combobox.js +103 -56
  149. package/lib/collection/components/duet-contact-card/duet-contact-card.css +8 -4
  150. package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
  151. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +23 -14
  152. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +11 -5
  153. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  154. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  155. package/lib/collection/components/duet-date-picker/duet-date-picker.css +102 -45
  156. package/lib/collection/components/duet-date-picker/duet-date-picker.js +172 -69
  157. package/lib/collection/components/duet-divider/duet-divider.css +12 -6
  158. package/lib/collection/components/duet-divider/duet-divider.js +14 -4
  159. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  160. package/lib/collection/components/duet-editable-table/duet-editable-table.js +83 -26
  161. package/lib/collection/components/duet-empty-state/duet-empty-state.css +11 -6
  162. package/lib/collection/components/duet-empty-state/duet-empty-state.js +14 -5
  163. package/lib/collection/components/duet-fieldset/duet-fieldset.css +13 -6
  164. package/lib/collection/components/duet-fieldset/duet-fieldset.js +58 -20
  165. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  166. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +17 -7
  167. package/lib/collection/components/duet-footer/duet-footer.css +43 -14
  168. package/lib/collection/components/duet-footer/duet-footer.js +55 -27
  169. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  170. package/lib/collection/components/duet-grid/duet-grid.js +144 -67
  171. package/lib/collection/components/duet-grid-item/duet-grid-item.css +6 -2
  172. package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
  173. package/lib/collection/components/duet-header/duet-header.css +165 -65
  174. package/lib/collection/components/duet-header/duet-header.js +165 -76
  175. package/lib/collection/components/duet-heading/duet-heading.css +11 -6
  176. package/lib/collection/components/duet-heading/duet-heading.js +56 -12
  177. package/lib/collection/components/duet-hero/duet-hero.css +326 -18
  178. package/lib/collection/components/duet-hero/duet-hero.js +197 -51
  179. package/lib/collection/components/duet-icon/duet-icon.css +17 -5
  180. package/lib/collection/components/duet-icon/duet-icon.js +71 -24
  181. package/lib/collection/components/duet-indicator/duet-indicator.css +50 -0
  182. package/lib/collection/components/duet-indicator/duet-indicator.js +138 -0
  183. package/lib/collection/components/duet-input/duet-input.css +159 -53
  184. package/lib/collection/components/duet-input/duet-input.js +315 -141
  185. package/lib/collection/components/duet-label/duet-label.css +8 -4
  186. package/lib/collection/components/duet-label/duet-label.js +23 -8
  187. package/lib/collection/components/duet-layout/duet-layout.css +4 -4
  188. package/lib/collection/components/duet-layout/duet-layout.js +35 -12
  189. package/lib/collection/components/duet-link/duet-link.css +144 -25
  190. package/lib/collection/components/duet-link/duet-link.js +120 -32
  191. package/lib/collection/components/duet-list/duet-list.css +4 -4
  192. package/lib/collection/components/duet-list/duet-list.js +38 -9
  193. package/lib/collection/components/duet-list-item/duet-list-item.css +29 -9
  194. package/lib/collection/components/duet-list-item/duet-list-item.js +50 -4
  195. package/lib/collection/components/duet-logo/duet-logo.css +36 -8
  196. package/lib/collection/components/duet-logo/duet-logo.js +111 -11
  197. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +108 -6
  198. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +59 -58
  199. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +17 -8
  200. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +33 -22
  201. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +28 -12
  202. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +20 -12
  203. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +19 -9
  204. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +18 -10
  205. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +28 -10
  206. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +39 -16
  207. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +25 -10
  208. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
  209. package/lib/collection/components/duet-modal/duet-modal.css +23 -25
  210. package/lib/collection/components/duet-modal/duet-modal.js +193 -39
  211. package/lib/collection/components/duet-multiselect/duet-multiselect.css +70 -29
  212. package/lib/collection/components/duet-multiselect/duet-multiselect.js +98 -48
  213. package/lib/collection/components/duet-nav/duet-nav.css +8 -4
  214. package/lib/collection/components/duet-nav/duet-nav.js +10 -3
  215. package/lib/collection/components/duet-notification/duet-notification.css +33 -26
  216. package/lib/collection/components/duet-notification/duet-notification.js +46 -9
  217. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +38 -36
  218. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +57 -24
  219. package/lib/collection/components/duet-number-input/duet-number-input.css +29 -14
  220. package/lib/collection/components/duet-number-input/duet-number-input.js +204 -103
  221. package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
  222. package/lib/collection/components/duet-overlay/duet-overlay.js +40 -15
  223. package/lib/collection/components/duet-page-heading/duet-page-heading.css +44 -16
  224. package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
  225. package/lib/collection/components/duet-pagination/duet-pagination.css +8 -4
  226. package/lib/collection/components/duet-pagination/duet-pagination.js +130 -76
  227. package/lib/collection/components/duet-panel/duet-panel.css +99 -0
  228. package/lib/collection/components/duet-panel/duet-panel.js +233 -0
  229. package/lib/collection/components/duet-paragraph/duet-paragraph.css +19 -6
  230. package/lib/collection/components/duet-paragraph/duet-paragraph.js +29 -8
  231. package/lib/collection/components/duet-phone-input/duet-phone-input.css +64 -0
  232. package/lib/collection/components/duet-phone-input/duet-phone-input.js +930 -0
  233. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +14 -6
  234. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +245 -91
  235. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +30 -12
  236. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +64 -29
  237. package/lib/collection/components/duet-progress/duet-progress.css +27 -8
  238. package/lib/collection/components/duet-progress/duet-progress.js +36 -14
  239. package/lib/collection/components/duet-promo-card/duet-promo-card.css +18 -12
  240. package/lib/collection/components/duet-promo-card/duet-promo-card.js +47 -11
  241. package/lib/collection/components/duet-radio/duet-radio.css +41 -8
  242. package/lib/collection/components/duet-radio/duet-radio.js +67 -49
  243. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  244. package/lib/collection/components/duet-radio-group/duet-radio-group.js +78 -30
  245. package/lib/collection/components/duet-range-slider/duet-range-slider.css +63 -18
  246. package/lib/collection/components/duet-range-slider/duet-range-slider.js +85 -46
  247. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +8 -4
  248. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +43 -14
  249. package/lib/collection/components/duet-scrollable/duet-scrollable.css +36 -25
  250. package/lib/collection/components/duet-scrollable/duet-scrollable.js +175 -31
  251. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
  252. package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
  253. package/lib/collection/components/duet-select/duet-select.css +54 -23
  254. package/lib/collection/components/duet-select/duet-select.js +109 -63
  255. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  256. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
  257. package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
  258. package/lib/collection/components/duet-share-chart/duet-share-chart.js +141 -0
  259. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
  260. package/lib/collection/components/duet-show-more/duet-show-more.css +15 -8
  261. package/lib/collection/components/duet-show-more/duet-show-more.js +87 -37
  262. package/lib/collection/components/duet-slideout/duet-slideout.css +72 -40
  263. package/lib/collection/components/duet-slideout/duet-slideout.js +88 -50
  264. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +10 -6
  265. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
  266. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +41 -13
  267. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +135 -12
  268. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +63 -40
  269. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +47 -30
  270. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +29 -16
  271. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +25 -11
  272. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  273. package/lib/collection/components/duet-spacer/duet-spacer.js +14 -4
  274. package/lib/collection/components/duet-spinner/duet-spinner.css +10 -16
  275. package/lib/collection/components/duet-spinner/duet-spinner.js +21 -23
  276. package/lib/collection/components/duet-status-icon/duet-status-icon.js +30 -15
  277. package/lib/collection/components/duet-step/duet-step.css +28 -13
  278. package/lib/collection/components/duet-step/duet-step.js +25 -16
  279. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  280. package/lib/collection/components/duet-stepper/duet-stepper.js +45 -10
  281. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +34 -16
  282. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +25 -16
  283. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +49 -15
  284. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +25 -13
  285. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +29 -8
  286. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +26 -8
  287. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +33 -10
  288. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +38 -15
  289. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +34 -9
  290. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
  291. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  292. package/lib/collection/components/duet-tab/duet-tab.js +88 -24
  293. package/lib/collection/components/duet-tab-group/duet-tab-group.css +131 -85
  294. package/lib/collection/components/duet-tab-group/duet-tab-group.js +175 -52
  295. package/lib/collection/components/duet-table/duet-table-styles.js +68 -4
  296. package/lib/collection/components/duet-table/duet-table.js +43 -14
  297. package/lib/collection/components/duet-textarea/duet-textarea.css +67 -22
  298. package/lib/collection/components/duet-textarea/duet-textarea.js +227 -99
  299. package/lib/collection/components/duet-toggle/duet-toggle.css +26 -10
  300. package/lib/collection/components/duet-toggle/duet-toggle.js +62 -38
  301. package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -4
  302. package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
  303. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +42 -12
  304. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +28 -14
  305. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +21 -8
  306. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +23 -9
  307. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +52 -30
  308. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
  309. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +60 -10
  310. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
  311. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +24 -14
  312. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
  313. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +48 -16
  314. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +18 -14
  315. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  316. package/lib/collection/components/duet-tooltip/duet-tooltip.js +100 -45
  317. package/lib/collection/components/duet-tray/duet-tray.css +43 -27
  318. package/lib/collection/components/duet-tray/duet-tray.js +63 -21
  319. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  320. package/lib/collection/components/duet-upload/duet-upload.js +419 -213
  321. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +35 -13
  322. package/lib/collection/components/duet-upload-item/duet-upload-item.js +17 -18
  323. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  324. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  325. package/lib/collection/data/countries.js +1762 -0
  326. package/lib/collection/index.js +1 -0
  327. package/lib/collection/utils/a11y-utils.js +20 -0
  328. package/lib/collection/utils/language-utils.js +7 -0
  329. package/lib/collection/utils/slot-utils.js +4 -0
  330. package/lib/collection/utils/teleport.js +22 -7
  331. package/lib/collection/utils/test-utils.js +2 -2
  332. package/lib/collection/utils/token-utils.js +59 -7
  333. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  334. package/lib/duet/duet.esm.js +1 -1
  335. package/lib/duet/p-0393a2ca.entry.js +4 -0
  336. package/lib/duet/p-0b8da007.entry.js +4 -0
  337. package/lib/duet/p-0d2652f7.entry.js +4 -0
  338. package/lib/duet/p-0f746b98.entry.js +4 -0
  339. package/lib/duet/p-1061ece7.entry.js +4 -0
  340. package/lib/duet/p-10b89587.entry.js +4 -0
  341. package/lib/duet/p-155804fc.entry.js +4 -0
  342. package/lib/duet/p-1695a1dd.entry.js +4 -0
  343. package/lib/duet/p-1c122e53.entry.js +4 -0
  344. package/lib/duet/p-1ede805a.entry.js +4 -0
  345. package/lib/duet/p-1fc5668c.entry.js +4 -0
  346. package/lib/duet/p-203c2af3.entry.js +4 -0
  347. package/lib/duet/p-2170d5a6.entry.js +4 -0
  348. package/lib/duet/{p-98c15b83.entry.js → p-2292ac97.entry.js} +1 -1
  349. package/lib/duet/p-23719bbb.entry.js +4 -0
  350. package/lib/duet/p-25a8b510.entry.js +4 -0
  351. package/lib/duet/p-267d0b7d.entry.js +4 -0
  352. package/lib/duet/{p-bfafaac4.entry.js → p-333694e4.entry.js} +1 -1
  353. package/lib/duet/p-36e58097.entry.js +4 -0
  354. package/lib/duet/p-38159827.entry.js +4 -0
  355. package/lib/duet/p-3968d0e9.entry.js +4 -0
  356. package/lib/duet/p-39775eb6.entry.js +4 -0
  357. package/lib/duet/p-3f940846.entry.js +4 -0
  358. package/lib/duet/p-3fbe4a4b.entry.js +4 -0
  359. package/lib/duet/p-3hcgvjwC.js +4 -0
  360. package/lib/duet/p-40dc43ed.entry.js +4 -0
  361. package/lib/duet/p-4203ad81.entry.js +4 -0
  362. package/lib/duet/p-42c15472.entry.js +4 -0
  363. package/lib/duet/p-43129496.entry.js +4 -0
  364. package/lib/duet/p-44e37a84.entry.js +4 -0
  365. package/lib/duet/p-451c55fb.entry.js +4 -0
  366. package/lib/duet/p-475cc911.entry.js +4 -0
  367. package/lib/duet/p-47d446f9.entry.js +4 -0
  368. package/lib/duet/p-4966dc81.entry.js +4 -0
  369. package/lib/duet/{p-15ecb8d0.entry.js → p-4a86aee3.entry.js} +1 -1
  370. package/lib/duet/p-4cc6fbda.entry.js +4 -0
  371. package/lib/duet/p-4d49d2ad.entry.js +4 -0
  372. package/lib/duet/p-529c4873.entry.js +4 -0
  373. package/lib/duet/p-53cb5ddf.entry.js +4 -0
  374. package/lib/duet/p-55243d88.entry.js +4 -0
  375. package/lib/duet/p-581d7bf3.entry.js +4 -0
  376. package/lib/duet/p-58ab58da.entry.js +4 -0
  377. package/lib/duet/p-58f95bf2.entry.js +4 -0
  378. package/lib/duet/p-5c89aaf2.entry.js +4 -0
  379. package/lib/duet/p-5e15625d.entry.js +4 -0
  380. package/lib/duet/p-5iZMFvpJ.js +4 -0
  381. package/lib/duet/p-6be3d1ac.entry.js +4 -0
  382. package/lib/duet/p-6cb3031c.entry.js +4 -0
  383. package/lib/duet/p-7a4f44c2.entry.js +4 -0
  384. package/lib/duet/p-7b820413.entry.js +4 -0
  385. package/lib/duet/p-7be47e32.entry.js +4 -0
  386. package/lib/duet/{p-6138ae4f.entry.js → p-7d3681f4.entry.js} +1 -1
  387. package/lib/duet/p-80fd305f.entry.js +4 -0
  388. package/lib/duet/p-85074a3f.entry.js +4 -0
  389. package/lib/duet/p-871323e5.entry.js +4 -0
  390. package/lib/duet/p-88682993.entry.js +4 -0
  391. package/lib/duet/p-8885f050.entry.js +4 -0
  392. package/lib/duet/p-89c4434a.entry.js +4 -0
  393. package/lib/duet/p-8a5a900e.entry.js +4 -0
  394. package/lib/duet/p-96725230.entry.js +4 -0
  395. package/lib/duet/p-9c2ad6b1.entry.js +4 -0
  396. package/lib/duet/p-BDAqOMlM.js +4 -0
  397. package/lib/duet/p-BVgBUIYF.js +4 -0
  398. package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
  399. package/lib/duet/p-BdCvOZ0R.js +4 -0
  400. package/lib/duet/p-Bg75Vqqq.js +4 -0
  401. package/lib/duet/p-BmMFVM-y.js +4 -0
  402. package/lib/duet/{p-5e9210a0.js → p-CDjWio68.js} +1 -1
  403. package/lib/duet/p-CVPfl9fc.js +4 -0
  404. package/lib/duet/p-CXz8FCgk.js +4 -0
  405. package/lib/duet/p-CooAqTCj.js +4 -0
  406. package/lib/duet/p-DEoH9jLj.js +4 -0
  407. package/lib/duet/p-DOuLHrH5.js +4 -0
  408. package/lib/duet/p-DXnMp1Z1.js +4 -0
  409. package/lib/duet/p-DYyVxyo8.js +4 -0
  410. package/lib/duet/{p-a45e3f8b.js → p-Db8rvjPI.js} +1 -1
  411. package/lib/duet/p-DvwKrUS6.js +4 -0
  412. package/lib/duet/p-EZOAO_vc.js +5 -0
  413. package/lib/duet/p-Tof9ag29.js +4 -0
  414. package/lib/duet/p-a05d9667.entry.js +4 -0
  415. package/lib/duet/p-a109719f.entry.js +4 -0
  416. package/lib/duet/p-a2c4fa32.entry.js +4 -0
  417. package/lib/duet/p-a3a61c66.entry.js +4 -0
  418. package/lib/duet/p-ac2a957c.entry.js +4 -0
  419. package/lib/duet/p-b4541648.entry.js +4 -0
  420. package/lib/duet/p-b4bf40a5.entry.js +4 -0
  421. package/lib/duet/p-b7d0d9fa.entry.js +4 -0
  422. package/lib/duet/p-baa33e33.entry.js +4 -0
  423. package/lib/duet/p-bd1c363d.entry.js +4 -0
  424. package/lib/duet/p-bda426ce.entry.js +4 -0
  425. package/lib/duet/p-c010c504.entry.js +4 -0
  426. package/lib/duet/p-c14ad166.entry.js +4 -0
  427. package/lib/duet/p-c3a79627.entry.js +4 -0
  428. package/lib/duet/p-d06af257.entry.js +4 -0
  429. package/lib/duet/p-d70babeb.entry.js +4 -0
  430. package/lib/duet/p-dc3f731a.entry.js +4 -0
  431. package/lib/duet/p-dc50ce9f.entry.js +4 -0
  432. package/lib/duet/p-dc53f89d.entry.js +4 -0
  433. package/lib/duet/p-e0054c71.entry.js +4 -0
  434. package/lib/duet/p-e26fee5b.entry.js +4 -0
  435. package/lib/duet/p-e528ba03.entry.js +4 -0
  436. package/lib/duet/p-e80de2cb.entry.js +4 -0
  437. package/lib/duet/p-eb6c0729.entry.js +4 -0
  438. package/lib/duet/p-ef206ef5.entry.js +4 -0
  439. package/lib/duet/p-f2fadb27.entry.js +4 -0
  440. package/lib/duet/p-fcbdf07c.entry.js +4 -0
  441. package/lib/duet/p-vVCYtBMj.js +4 -0
  442. package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
  443. package/lib/esm/a11y-utils-By9FOQXs.js +43 -0
  444. package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
  445. package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
  446. package/lib/esm/{app-globals-f12e0500.js → app-globals-xm_WC7uO.js} +2 -2
  447. package/lib/esm/common-strings-CVPfl9fc.js +53 -0
  448. package/lib/esm/duet-action-button.entry.js +84 -27
  449. package/lib/esm/duet-alert.entry.js +106 -47
  450. package/lib/esm/duet-badge.entry.js +31 -7
  451. package/lib/esm/duet-banner.entry.js +71 -26
  452. package/lib/esm/duet-breadcrumb.entry.js +38 -25
  453. package/lib/esm/duet-breadcrumbs.entry.js +20 -12
  454. package/lib/esm/duet-button_2.entry.js +152 -70
  455. package/lib/esm/duet-callout.entry.js +13 -8
  456. package/lib/esm/duet-caption_4.entry.js +212 -44
  457. package/lib/esm/duet-card.entry.js +93 -33
  458. package/lib/esm/duet-checkbox.entry.js +68 -30
  459. package/lib/esm/duet-checkmark.entry.js +21 -7
  460. package/lib/esm/duet-chip.entry.js +354 -0
  461. package/lib/esm/duet-choice_2.entry.js +280 -129
  462. package/lib/esm/duet-collapsible.entry.js +92 -31
  463. package/lib/esm/duet-combobox.entry.js +99 -56
  464. package/lib/esm/duet-contact-card.entry.js +17 -16
  465. package/lib/esm/duet-cookie-consent.entry.js +14 -9
  466. package/lib/esm/duet-date-picker.entry.js +158 -55
  467. package/lib/esm/duet-divider_2.entry.js +30 -12
  468. package/lib/esm/duet-editable-table_3.entry.js +556 -208
  469. package/lib/esm/duet-empty-state.entry.js +15 -7
  470. package/lib/esm/duet-fieldset.entry.js +51 -16
  471. package/lib/esm/duet-file-chooser.entry.js +18 -9
  472. package/lib/esm/duet-footer.entry.js +56 -28
  473. package/lib/esm/duet-grid_2.entry.js +165 -62
  474. package/lib/esm/duet-header_2.entry.js +303 -90
  475. package/lib/esm/duet-hero.entry.js +159 -33
  476. package/lib/esm/duet-icon.entry.js +64 -18
  477. package/lib/esm/duet-indicator.entry.js +59 -0
  478. package/lib/esm/duet-input_2.entry.js +226 -85
  479. package/lib/esm/duet-layout.entry.js +33 -11
  480. package/lib/esm/duet-list_2.entry.js +58 -12
  481. package/lib/esm/duet-menu-bar-button.entry.js +24 -14
  482. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
  483. package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
  484. package/lib/esm/duet-menu-bar-item.entry.js +40 -17
  485. package/lib/esm/duet-menu-bar-link.entry.js +18 -8
  486. package/lib/esm/duet-menu-bar.entry.js +37 -57
  487. package/lib/esm/duet-modal.entry.js +122 -33
  488. package/lib/esm/duet-multiselect.entry.js +88 -40
  489. package/lib/esm/duet-nav.entry.js +12 -6
  490. package/lib/esm/duet-notification_2.entry.js +98 -30
  491. package/lib/esm/duet-number-input.entry.js +192 -69
  492. package/lib/esm/duet-overlay.entry.js +36 -12
  493. package/lib/esm/duet-page-heading.entry.js +16 -9
  494. package/lib/esm/duet-pagination_2.entry.js +162 -85
  495. package/lib/esm/duet-panel.entry.js +50 -0
  496. package/lib/esm/duet-phone-input.entry.js +2070 -0
  497. package/lib/esm/duet-popup-menu_2.entry.js +547 -0
  498. package/lib/esm/duet-progress.entry.js +32 -11
  499. package/lib/esm/duet-promo-card.entry.js +27 -11
  500. package/lib/esm/duet-radio_2.entry.js +114 -53
  501. package/lib/esm/duet-range-slider.entry.js +73 -35
  502. package/lib/esm/duet-scrollable_3.entry.js +245 -89
  503. package/lib/esm/duet-section-layout.entry.js +17 -8
  504. package/lib/esm/duet-select.entry.js +89 -44
  505. package/lib/esm/duet-shaped-image.entry.js +16 -9
  506. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  507. package/lib/esm/duet-share-chart.entry.js +83 -0
  508. package/lib/esm/duet-show-more.entry.js +81 -36
  509. package/lib/esm/duet-slideout-lang.entry.js +10 -8
  510. package/lib/esm/duet-slideout-link.entry.js +61 -8
  511. package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
  512. package/lib/esm/duet-slideout-panel.entry.js +50 -34
  513. package/lib/esm/duet-slideout.entry.js +85 -50
  514. package/lib/esm/duet-status-icon.entry.js +28 -13
  515. package/lib/esm/duet-step_2.entry.js +73 -23
  516. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
  517. package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
  518. package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
  519. package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
  520. package/lib/esm/duet-submenu-bar.entry.js +27 -19
  521. package/lib/esm/duet-textarea.entry.js +146 -69
  522. package/lib/esm/duet-toggle.entry.js +50 -27
  523. package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
  524. package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
  525. package/lib/esm/duet-toolbar-item.entry.js +46 -17
  526. package/lib/esm/duet-toolbar-link.entry.js +21 -8
  527. package/lib/esm/duet-toolbar.entry.js +12 -8
  528. package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
  529. package/lib/esm/duet-tooltip.entry.js +97 -43
  530. package/lib/esm/duet-tray.entry.js +63 -22
  531. package/lib/esm/duet-upload-aria-status.entry.js +30 -9
  532. package/lib/esm/duet-upload-item.entry.js +12 -20
  533. package/lib/esm/duet-visually-hidden.entry.js +4 -5
  534. package/lib/esm/duet.js +7 -6
  535. package/lib/esm/{errorcodes.utils-d594aed8.js → errorcodes.utils-By8gaKwQ.js} +3 -3
  536. package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
  537. package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-BVqqQKeY.js} +1 -1
  538. package/lib/esm/form-search-CevX33LA.js +19 -0
  539. package/lib/esm/{index-fa810c91.js → index-EZOAO_vc.js} +1861 -1359
  540. package/lib/{dist-custom-elements/p-8db11326.js → esm/keyboard-utils-Db8rvjPI.js} +1 -1
  541. package/lib/{dist-custom-elements/p-42619f94.js → esm/label-Dji6BDQC.js} +1 -1
  542. package/lib/esm/{language-utils-35eb1c9f.js → language-utils-COd-eoxb.js} +10 -3
  543. package/lib/esm/loader.js +4 -4
  544. package/lib/esm/{slot-utils-b2101c56.js → slot-utils-BSu3Mnho.js} +6 -2
  545. package/lib/{dist-custom-elements/p-ca3cb21e.js → esm/teleport-CooAqTCj.js} +22 -7
  546. package/lib/esm/themeable-component-spmVa3d3.js +72 -0
  547. package/lib/{dist-custom-elements/p-0562173d.js → esm/token-utils-Dks4GBDa.js} +80 -10
  548. package/lib/esm/{tokens-84fb2357.js → tokens-DOuLHrH5.js} +151 -7
  549. package/lib/esm/{tokens.module-2d02f5ff.js → tokens.module-BDAqOMlM.js} +100 -4
  550. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
  551. package/lib/index.js +1 -1
  552. package/lib/loader/cdn.js +1 -2
  553. package/lib/loader/index.cjs.js +1 -2
  554. package/lib/loader/index.es2017.js +0 -1
  555. package/lib/loader/index.js +1 -2
  556. package/lib/types/common-strings.d.ts +3 -0
  557. package/lib/types/common-types.d.ts +1 -1
  558. package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
  559. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  560. package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
  561. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  562. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  563. package/lib/types/components/duet-card/duet-card.d.ts +10 -0
  564. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  565. package/lib/types/components/duet-choice/duet-choice.d.ts +4 -8
  566. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
  567. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -1
  568. package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -0
  569. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
  570. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
  571. package/lib/types/components/duet-grid/duet-grid.d.ts +9 -7
  572. package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
  573. package/lib/types/components/duet-hero/duet-hero.d.ts +9 -0
  574. package/lib/types/components/duet-indicator/duet-indicator.d.ts +24 -0
  575. package/lib/types/components/duet-input/duet-input.d.ts +25 -16
  576. package/lib/types/components/duet-link/duet-link.d.ts +3 -0
  577. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  578. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  579. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  580. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  581. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  582. package/lib/types/components/duet-number-input/duet-number-input.d.ts +13 -8
  583. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  584. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  585. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  586. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +178 -0
  587. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +21 -7
  588. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  589. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
  590. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  591. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +19 -0
  592. package/lib/types/components/duet-select/duet-select.d.ts +2 -1
  593. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  594. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  595. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  596. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -5
  597. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
  598. package/lib/types/components/duet-spinner/duet-spinner.d.ts +6 -3
  599. package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
  600. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  601. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  602. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +10 -0
  603. package/lib/types/components/duet-textarea/duet-textarea.d.ts +21 -9
  604. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  605. package/lib/types/components.d.ts +2440 -130
  606. package/lib/types/data/countries.d.ts +22 -0
  607. package/lib/types/index.d.ts +1 -0
  608. package/lib/types/stencil-public-runtime.d.ts +35 -6
  609. package/lib/types/utils/a11y-utils.d.ts +11 -0
  610. package/lib/types/utils/language-utils.d.ts +1 -0
  611. package/lib/types/utils/slot-utils.d.ts +1 -0
  612. package/lib/types/utils/teleport.d.ts +4 -1
  613. package/lib/types/utils/token-utils.d.ts +4 -0
  614. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  615. package/package.json +37 -17
  616. package/lib/cjs/a11y-utils-e921b85d.js +0 -25
  617. package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
  618. package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
  619. package/lib/cjs/duet-chip_3.cjs.entry.js +0 -703
  620. package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
  621. package/lib/cjs/form-search-d61b2843.js +0 -8
  622. package/lib/cjs/themeable-component-996b489c.js +0 -15
  623. package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
  624. package/lib/dist-custom-elements/duet-action-button.js +0 -9
  625. package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
  626. package/lib/dist-custom-elements/duet-alert.js +0 -9
  627. package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
  628. package/lib/dist-custom-elements/duet-badge.js +0 -9
  629. package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
  630. package/lib/dist-custom-elements/duet-banner.js +0 -157
  631. package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
  632. package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
  633. package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
  634. package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
  635. package/lib/dist-custom-elements/duet-button.d.ts +0 -11
  636. package/lib/dist-custom-elements/duet-button.js +0 -9
  637. package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
  638. package/lib/dist-custom-elements/duet-callout.js +0 -72
  639. package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
  640. package/lib/dist-custom-elements/duet-caption.js +0 -9
  641. package/lib/dist-custom-elements/duet-card.d.ts +0 -11
  642. package/lib/dist-custom-elements/duet-card.js +0 -174
  643. package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
  644. package/lib/dist-custom-elements/duet-checkbox.js +0 -9
  645. package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
  646. package/lib/dist-custom-elements/duet-checkmark.js +0 -9
  647. package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
  648. package/lib/dist-custom-elements/duet-chip.js +0 -9
  649. package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
  650. package/lib/dist-custom-elements/duet-choice-group.js +0 -228
  651. package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
  652. package/lib/dist-custom-elements/duet-choice.js +0 -454
  653. package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
  654. package/lib/dist-custom-elements/duet-collapsible.js +0 -176
  655. package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
  656. package/lib/dist-custom-elements/duet-combobox.js +0 -702
  657. package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
  658. package/lib/dist-custom-elements/duet-contact-card.js +0 -134
  659. package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
  660. package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
  661. package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
  662. package/lib/dist-custom-elements/duet-date-picker.js +0 -937
  663. package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
  664. package/lib/dist-custom-elements/duet-divider.js +0 -9
  665. package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
  666. package/lib/dist-custom-elements/duet-editable-table.js +0 -258
  667. package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
  668. package/lib/dist-custom-elements/duet-empty-state.js +0 -9
  669. package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
  670. package/lib/dist-custom-elements/duet-fieldset.js +0 -9
  671. package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
  672. package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
  673. package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
  674. package/lib/dist-custom-elements/duet-footer.js +0 -223
  675. package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
  676. package/lib/dist-custom-elements/duet-grid-item.js +0 -9
  677. package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
  678. package/lib/dist-custom-elements/duet-grid.js +0 -9
  679. package/lib/dist-custom-elements/duet-header.d.ts +0 -11
  680. package/lib/dist-custom-elements/duet-header.js +0 -698
  681. package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
  682. package/lib/dist-custom-elements/duet-heading.js +0 -9
  683. package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
  684. package/lib/dist-custom-elements/duet-hero.js +0 -299
  685. package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
  686. package/lib/dist-custom-elements/duet-icon.js +0 -9
  687. package/lib/dist-custom-elements/duet-input.d.ts +0 -11
  688. package/lib/dist-custom-elements/duet-input.js +0 -9
  689. package/lib/dist-custom-elements/duet-label.d.ts +0 -11
  690. package/lib/dist-custom-elements/duet-label.js +0 -70
  691. package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
  692. package/lib/dist-custom-elements/duet-layout.js +0 -94
  693. package/lib/dist-custom-elements/duet-link.d.ts +0 -11
  694. package/lib/dist-custom-elements/duet-link.js +0 -9
  695. package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
  696. package/lib/dist-custom-elements/duet-list-item.js +0 -9
  697. package/lib/dist-custom-elements/duet-list.d.ts +0 -11
  698. package/lib/dist-custom-elements/duet-list.js +0 -9
  699. package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
  700. package/lib/dist-custom-elements/duet-logo.js +0 -9
  701. package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
  702. package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
  703. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
  704. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
  705. package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
  706. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
  707. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
  708. package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
  709. package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
  710. package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
  711. package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
  712. package/lib/dist-custom-elements/duet-menu-bar.js +0 -207
  713. package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
  714. package/lib/dist-custom-elements/duet-modal.js +0 -382
  715. package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
  716. package/lib/dist-custom-elements/duet-multiselect.js +0 -346
  717. package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
  718. package/lib/dist-custom-elements/duet-nav.js +0 -54
  719. package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
  720. package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
  721. package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
  722. package/lib/dist-custom-elements/duet-notification.js +0 -95
  723. package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
  724. package/lib/dist-custom-elements/duet-number-input.js +0 -484
  725. package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
  726. package/lib/dist-custom-elements/duet-overlay.js +0 -9
  727. package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
  728. package/lib/dist-custom-elements/duet-page-heading.js +0 -87
  729. package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
  730. package/lib/dist-custom-elements/duet-pagination.js +0 -493
  731. package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
  732. package/lib/dist-custom-elements/duet-paragraph.js +0 -9
  733. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
  734. package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
  735. package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
  736. package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
  737. package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
  738. package/lib/dist-custom-elements/duet-progress.js +0 -9
  739. package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
  740. package/lib/dist-custom-elements/duet-promo-card.js +0 -105
  741. package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
  742. package/lib/dist-custom-elements/duet-radio-group.js +0 -213
  743. package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
  744. package/lib/dist-custom-elements/duet-radio.js +0 -230
  745. package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
  746. package/lib/dist-custom-elements/duet-range-slider.js +0 -181
  747. package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
  748. package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
  749. package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
  750. package/lib/dist-custom-elements/duet-scrollable.js +0 -9
  751. package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
  752. package/lib/dist-custom-elements/duet-section-layout.js +0 -56
  753. package/lib/dist-custom-elements/duet-select.d.ts +0 -11
  754. package/lib/dist-custom-elements/duet-select.js +0 -9
  755. package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
  756. package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
  757. package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
  758. package/lib/dist-custom-elements/duet-show-more.js +0 -9
  759. package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
  760. package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
  761. package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
  762. package/lib/dist-custom-elements/duet-slideout-link.js +0 -79
  763. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
  764. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
  765. package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
  766. package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
  767. package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
  768. package/lib/dist-custom-elements/duet-slideout.js +0 -328
  769. package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
  770. package/lib/dist-custom-elements/duet-spacer.js +0 -9
  771. package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
  772. package/lib/dist-custom-elements/duet-spinner.js +0 -9
  773. package/lib/dist-custom-elements/duet-status-icon.d.ts +0 -11
  774. package/lib/dist-custom-elements/duet-status-icon.js +0 -111
  775. package/lib/dist-custom-elements/duet-step.d.ts +0 -11
  776. package/lib/dist-custom-elements/duet-step.js +0 -147
  777. package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
  778. package/lib/dist-custom-elements/duet-stepper.js +0 -151
  779. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
  780. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
  781. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
  782. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
  783. package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
  784. package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
  785. package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
  786. package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
  787. package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
  788. package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
  789. package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
  790. package/lib/dist-custom-elements/duet-tab-group.js +0 -306
  791. package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
  792. package/lib/dist-custom-elements/duet-tab.js +0 -150
  793. package/lib/dist-custom-elements/duet-table.d.ts +0 -11
  794. package/lib/dist-custom-elements/duet-table.js +0 -9
  795. package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
  796. package/lib/dist-custom-elements/duet-textarea.js +0 -301
  797. package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
  798. package/lib/dist-custom-elements/duet-toggle.js +0 -146
  799. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
  800. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
  801. package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
  802. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
  803. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
  804. package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
  805. package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
  806. package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
  807. package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
  808. package/lib/dist-custom-elements/duet-toolbar.js +0 -67
  809. package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
  810. package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
  811. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
  812. package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
  813. package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
  814. package/lib/dist-custom-elements/duet-tooltip.js +0 -9
  815. package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
  816. package/lib/dist-custom-elements/duet-tray.js +0 -146
  817. package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
  818. package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
  819. package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
  820. package/lib/dist-custom-elements/duet-upload-item.js +0 -9
  821. package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
  822. package/lib/dist-custom-elements/duet-upload.js +0 -1444
  823. package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
  824. package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
  825. package/lib/dist-custom-elements/index.d.ts +0 -33
  826. package/lib/dist-custom-elements/index.js +0 -29
  827. package/lib/dist-custom-elements/p-0ccb587d.js +0 -124
  828. package/lib/dist-custom-elements/p-1080a6c7.js +0 -2130
  829. package/lib/dist-custom-elements/p-10cd2c68.js +0 -214
  830. package/lib/dist-custom-elements/p-115c79b6.js +0 -6
  831. package/lib/dist-custom-elements/p-1892dc7c.js +0 -80
  832. package/lib/dist-custom-elements/p-1a58f15b.js +0 -63
  833. package/lib/dist-custom-elements/p-297845c1.js +0 -206
  834. package/lib/dist-custom-elements/p-2d798e15.js +0 -80
  835. package/lib/dist-custom-elements/p-34a901da.js +0 -124
  836. package/lib/dist-custom-elements/p-35375593.js +0 -161
  837. package/lib/dist-custom-elements/p-3bea94c3.js +0 -313
  838. package/lib/dist-custom-elements/p-4c3d0ee5.js +0 -127
  839. package/lib/dist-custom-elements/p-530451fd.js +0 -55
  840. package/lib/dist-custom-elements/p-5ad0aa2d.js +0 -56
  841. package/lib/dist-custom-elements/p-6e12d8f9.js +0 -73
  842. package/lib/dist-custom-elements/p-77fe0881.js +0 -165
  843. package/lib/dist-custom-elements/p-7ef7ecb2.js +0 -607
  844. package/lib/dist-custom-elements/p-81287261.js +0 -1348
  845. package/lib/dist-custom-elements/p-846239a5.js +0 -340
  846. package/lib/dist-custom-elements/p-88a11eef.js +0 -81
  847. package/lib/dist-custom-elements/p-993aea39.js +0 -175
  848. package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
  849. package/lib/dist-custom-elements/p-9f10e30c.js +0 -642
  850. package/lib/dist-custom-elements/p-a2d287b0.js +0 -321
  851. package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
  852. package/lib/dist-custom-elements/p-ad615991.js +0 -115
  853. package/lib/dist-custom-elements/p-afb6f7fb.js +0 -23
  854. package/lib/dist-custom-elements/p-b2db5fb1.js +0 -287
  855. package/lib/dist-custom-elements/p-b662900e.js +0 -178
  856. package/lib/dist-custom-elements/p-bae3d92e.js +0 -61
  857. package/lib/dist-custom-elements/p-bf91603e.js +0 -154
  858. package/lib/dist-custom-elements/p-c84c39d8.js +0 -60
  859. package/lib/dist-custom-elements/p-cea716f7.js +0 -503
  860. package/lib/dist-custom-elements/p-d004da5f.js +0 -6
  861. package/lib/dist-custom-elements/p-d07ce35f.js +0 -232
  862. package/lib/dist-custom-elements/p-d1aca1bf.js +0 -268
  863. package/lib/dist-custom-elements/p-d4202ee8.js +0 -110
  864. package/lib/dist-custom-elements/p-d74ee462.js +0 -61
  865. package/lib/dist-custom-elements/p-d8e88497.js +0 -194
  866. package/lib/dist-custom-elements/p-db1a07f5.js +0 -94
  867. package/lib/dist-custom-elements/p-df9299e6.js +0 -39
  868. package/lib/dist-custom-elements/p-e96839f2.js +0 -63
  869. package/lib/dist-custom-elements/p-ed2d40fe.js +0 -50
  870. package/lib/dist-custom-elements/p-f0d82988.js +0 -205
  871. package/lib/dist-custom-elements/p-f11208c3.js +0 -6
  872. package/lib/dist-custom-elements/p-f4e71ced.js +0 -102
  873. package/lib/dist-custom-elements/p-f6000a03.js +0 -753
  874. package/lib/dist-custom-elements/p-f611b32e.js +0 -83
  875. package/lib/dist-custom-elements/p-f86f4403.js +0 -100
  876. package/lib/dist-custom-elements/p-faa49d55.js +0 -370
  877. package/lib/duet/duet.js +0 -127
  878. package/lib/duet/p-038bb299.entry.js +0 -4
  879. package/lib/duet/p-03bfd386.system.js +0 -4
  880. package/lib/duet/p-050923e5.entry.js +0 -4
  881. package/lib/duet/p-053b71e6.system.js +0 -4
  882. package/lib/duet/p-054f5ec6.system.js +0 -4
  883. package/lib/duet/p-05aec682.entry.js +0 -4
  884. package/lib/duet/p-06995c4e.system.entry.js +0 -4
  885. package/lib/duet/p-08344bda.system.entry.js +0 -4
  886. package/lib/duet/p-0846f883.entry.js +0 -4
  887. package/lib/duet/p-08f3a77e.system.entry.js +0 -4
  888. package/lib/duet/p-091ce42a.entry.js +0 -4
  889. package/lib/duet/p-0998026d.system.entry.js +0 -4
  890. package/lib/duet/p-0a4b0639.entry.js +0 -4
  891. package/lib/duet/p-0a675075.js +0 -4
  892. package/lib/duet/p-0b818355.entry.js +0 -4
  893. package/lib/duet/p-0bcc93b7.entry.js +0 -4
  894. package/lib/duet/p-0c4708c0.system.entry.js +0 -4
  895. package/lib/duet/p-0c4bbd65.system.js +0 -4
  896. package/lib/duet/p-0cbec7c8.entry.js +0 -4
  897. package/lib/duet/p-0d334c84.system.entry.js +0 -4
  898. package/lib/duet/p-0d7369ef.system.entry.js +0 -4
  899. package/lib/duet/p-0d7da85a.js +0 -4
  900. package/lib/duet/p-0dc9089b.system.js +0 -4
  901. package/lib/duet/p-10b1f772.entry.js +0 -4
  902. package/lib/duet/p-115c79b6.js +0 -4
  903. package/lib/duet/p-12b25cdd.system.entry.js +0 -4
  904. package/lib/duet/p-145d2c10.entry.js +0 -4
  905. package/lib/duet/p-15d66914.system.entry.js +0 -4
  906. package/lib/duet/p-166d19ac.entry.js +0 -4
  907. package/lib/duet/p-178b8a47.system.entry.js +0 -4
  908. package/lib/duet/p-17bfda66.entry.js +0 -4
  909. package/lib/duet/p-18463379.system.entry.js +0 -4
  910. package/lib/duet/p-1a65974d.system.entry.js +0 -4
  911. package/lib/duet/p-1cc7a137.entry.js +0 -4
  912. package/lib/duet/p-1d1198dd.system.entry.js +0 -4
  913. package/lib/duet/p-1dff1118.system.entry.js +0 -4
  914. package/lib/duet/p-1ed2ef65.entry.js +0 -4
  915. package/lib/duet/p-20a1c9ac.entry.js +0 -4
  916. package/lib/duet/p-21dd3dba.system.entry.js +0 -4
  917. package/lib/duet/p-22d16f94.entry.js +0 -4
  918. package/lib/duet/p-2667d9dc.entry.js +0 -4
  919. package/lib/duet/p-2aa130a2.entry.js +0 -4
  920. package/lib/duet/p-2ae03409.entry.js +0 -4
  921. package/lib/duet/p-2afb5bf3.system.entry.js +0 -4
  922. package/lib/duet/p-2d6171e9.system.entry.js +0 -4
  923. package/lib/duet/p-2dcc7b0c.entry.js +0 -4
  924. package/lib/duet/p-31e19362.system.entry.js +0 -4
  925. package/lib/duet/p-330a4b1f.system.entry.js +0 -4
  926. package/lib/duet/p-374599c9.entry.js +0 -4
  927. package/lib/duet/p-38b22704.system.entry.js +0 -4
  928. package/lib/duet/p-3948c738.system.entry.js +0 -4
  929. package/lib/duet/p-3b15bdda.system.entry.js +0 -4
  930. package/lib/duet/p-3c2b3349.entry.js +0 -4
  931. package/lib/duet/p-3ca8e462.entry.js +0 -4
  932. package/lib/duet/p-41982d26.system.js +0 -4
  933. package/lib/duet/p-41d03609.system.entry.js +0 -4
  934. package/lib/duet/p-4289c19b.system.js +0 -5
  935. package/lib/duet/p-45c37e01.system.entry.js +0 -4
  936. package/lib/duet/p-473b8661.entry.js +0 -4
  937. package/lib/duet/p-485832e7.entry.js +0 -4
  938. package/lib/duet/p-49957220.system.js +0 -4
  939. package/lib/duet/p-4a2af66f.entry.js +0 -4
  940. package/lib/duet/p-4cff3036.system.js +0 -4
  941. package/lib/duet/p-4d06fd44.js +0 -4
  942. package/lib/duet/p-4d496fbd.entry.js +0 -4
  943. package/lib/duet/p-4d8a5d37.entry.js +0 -4
  944. package/lib/duet/p-4dc15982.system.entry.js +0 -4
  945. package/lib/duet/p-53604f23.entry.js +0 -4
  946. package/lib/duet/p-53c2006e.system.entry.js +0 -4
  947. package/lib/duet/p-53fc94a0.system.entry.js +0 -4
  948. package/lib/duet/p-54704ee1.system.entry.js +0 -4
  949. package/lib/duet/p-56f40850.system.entry.js +0 -4
  950. package/lib/duet/p-59f0bbf0.entry.js +0 -4
  951. package/lib/duet/p-5a0482d3.entry.js +0 -4
  952. package/lib/duet/p-5a72f8b5.system.entry.js +0 -4
  953. package/lib/duet/p-5c026823.entry.js +0 -4
  954. package/lib/duet/p-5ff95850.entry.js +0 -4
  955. package/lib/duet/p-60734222.system.entry.js +0 -4
  956. package/lib/duet/p-62a7d1e0.system.entry.js +0 -4
  957. package/lib/duet/p-652ef5c4.system.entry.js +0 -4
  958. package/lib/duet/p-65d9b543.entry.js +0 -4
  959. package/lib/duet/p-66dfb534.system.entry.js +0 -4
  960. package/lib/duet/p-6880e7e4.system.entry.js +0 -4
  961. package/lib/duet/p-69dda5cf.entry.js +0 -4
  962. package/lib/duet/p-6e5dbf3f.system.entry.js +0 -4
  963. package/lib/duet/p-6f878638.system.entry.js +0 -4
  964. package/lib/duet/p-70a6edcd.system.entry.js +0 -4
  965. package/lib/duet/p-70ea5a26.system.entry.js +0 -4
  966. package/lib/duet/p-72767ad2.entry.js +0 -4
  967. package/lib/duet/p-739ffce8.entry.js +0 -4
  968. package/lib/duet/p-74aa0f9d.system.js +0 -4
  969. package/lib/duet/p-752fa0fc.system.js +0 -4
  970. package/lib/duet/p-7648f559.system.js +0 -4
  971. package/lib/duet/p-77bbd147.entry.js +0 -4
  972. package/lib/duet/p-77f01407.entry.js +0 -4
  973. package/lib/duet/p-7931d6b8.entry.js +0 -4
  974. package/lib/duet/p-798942ab.entry.js +0 -4
  975. package/lib/duet/p-7b2d2e4d.system.entry.js +0 -4
  976. package/lib/duet/p-7bbf3a3b.system.entry.js +0 -4
  977. package/lib/duet/p-7d8a2628.js +0 -4
  978. package/lib/duet/p-7dfee16a.entry.js +0 -4
  979. package/lib/duet/p-7f16d0df.entry.js +0 -4
  980. package/lib/duet/p-7f22291f.entry.js +0 -4
  981. package/lib/duet/p-81cde516.system.entry.js +0 -4
  982. package/lib/duet/p-8228f180.system.entry.js +0 -4
  983. package/lib/duet/p-84835d40.entry.js +0 -4
  984. package/lib/duet/p-874f4064.system.entry.js +0 -4
  985. package/lib/duet/p-897e6941.entry.js +0 -4
  986. package/lib/duet/p-8a970f0a.system.entry.js +0 -4
  987. package/lib/duet/p-8b1c69f9.system.entry.js +0 -4
  988. package/lib/duet/p-8baeb065.entry.js +0 -4
  989. package/lib/duet/p-8eea942e.entry.js +0 -4
  990. package/lib/duet/p-8f477bd6.system.js +0 -4
  991. package/lib/duet/p-8f871c29.entry.js +0 -4
  992. package/lib/duet/p-8faaaf5f.system.js +0 -4
  993. package/lib/duet/p-90999186.entry.js +0 -4
  994. package/lib/duet/p-979fb2cf.entry.js +0 -4
  995. package/lib/duet/p-97b3fb78.system.entry.js +0 -4
  996. package/lib/duet/p-97eb9b2e.entry.js +0 -4
  997. package/lib/duet/p-97fe4968.js +0 -5
  998. package/lib/duet/p-98636086.system.js +0 -4
  999. package/lib/duet/p-9fab0a1d.system.entry.js +0 -4
  1000. package/lib/duet/p-a0a59034.system.entry.js +0 -4
  1001. package/lib/duet/p-a1a0370a.system.entry.js +0 -4
  1002. package/lib/duet/p-a20ed47c.js +0 -4
  1003. package/lib/duet/p-a4dbef0b.system.entry.js +0 -4
  1004. package/lib/duet/p-a54c3c58.system.entry.js +0 -4
  1005. package/lib/duet/p-a6bb7eb0.entry.js +0 -4
  1006. package/lib/duet/p-aaa7a7bd.js +0 -4
  1007. package/lib/duet/p-ac21f1dc.system.entry.js +0 -4
  1008. package/lib/duet/p-ac7ef7e2.js +0 -4
  1009. package/lib/duet/p-aca1538e.entry.js +0 -4
  1010. package/lib/duet/p-ae19da09.entry.js +0 -4
  1011. package/lib/duet/p-afad5fd3.system.js +0 -4
  1012. package/lib/duet/p-b2d5f07c.system.js +0 -4
  1013. package/lib/duet/p-b2f3287a.system.entry.js +0 -4
  1014. package/lib/duet/p-b5b8973c.js +0 -4
  1015. package/lib/duet/p-b6366830.system.entry.js +0 -4
  1016. package/lib/duet/p-b864159a.system.js +0 -4
  1017. package/lib/duet/p-b8d342d1.system.entry.js +0 -4
  1018. package/lib/duet/p-ba03d034.system.js +0 -4
  1019. package/lib/duet/p-bd3c7c60.system.entry.js +0 -4
  1020. package/lib/duet/p-be8044cb.system.entry.js +0 -4
  1021. package/lib/duet/p-beeb12f1.js +0 -4
  1022. package/lib/duet/p-bf85a8c6.entry.js +0 -4
  1023. package/lib/duet/p-bfe1d1d1.system.entry.js +0 -4
  1024. package/lib/duet/p-c2308ebd.entry.js +0 -4
  1025. package/lib/duet/p-c47bc68e.entry.js +0 -4
  1026. package/lib/duet/p-c5b6d9ed.entry.js +0 -4
  1027. package/lib/duet/p-c93daa4f.entry.js +0 -4
  1028. package/lib/duet/p-ca3cb21e.js +0 -4
  1029. package/lib/duet/p-cc5e6288.system.js +0 -4
  1030. package/lib/duet/p-cc67e773.js +0 -4
  1031. package/lib/duet/p-cc6e2037.system.entry.js +0 -4
  1032. package/lib/duet/p-cd4cd328.entry.js +0 -4
  1033. package/lib/duet/p-cf3dbdbe.entry.js +0 -4
  1034. package/lib/duet/p-cf6a502f.system.entry.js +0 -4
  1035. package/lib/duet/p-cfb501bd.entry.js +0 -4
  1036. package/lib/duet/p-d004da5f.js +0 -4
  1037. package/lib/duet/p-d080e1b9.system.js +0 -4
  1038. package/lib/duet/p-d159daa2.entry.js +0 -4
  1039. package/lib/duet/p-d3960f14.system.js +0 -4
  1040. package/lib/duet/p-d4f2abe8.entry.js +0 -4
  1041. package/lib/duet/p-d5a87e9a.js +0 -4
  1042. package/lib/duet/p-d6b00137.entry.js +0 -4
  1043. package/lib/duet/p-d7b8ea98.system.entry.js +0 -4
  1044. package/lib/duet/p-db2ccb9d.system.js +0 -4
  1045. package/lib/duet/p-dc68fee2.entry.js +0 -4
  1046. package/lib/duet/p-e05cecd0.system.entry.js +0 -4
  1047. package/lib/duet/p-e0b5d41a.system.entry.js +0 -4
  1048. package/lib/duet/p-e12066c8.system.js +0 -4
  1049. package/lib/duet/p-e1c5ef00.entry.js +0 -4
  1050. package/lib/duet/p-e21018b3.entry.js +0 -4
  1051. package/lib/duet/p-e216bea4.system.js +0 -4
  1052. package/lib/duet/p-e263283f.entry.js +0 -4
  1053. package/lib/duet/p-e4a0a1b3.entry.js +0 -4
  1054. package/lib/duet/p-e4c8559c.system.js +0 -4
  1055. package/lib/duet/p-e513c4ca.system.entry.js +0 -4
  1056. package/lib/duet/p-e6b5a1c7.system.js +0 -4
  1057. package/lib/duet/p-e6f7a7fd.system.entry.js +0 -4
  1058. package/lib/duet/p-e8f8aae8.system.js +0 -4
  1059. package/lib/duet/p-e93169b0.system.entry.js +0 -4
  1060. package/lib/duet/p-eb425c47.entry.js +0 -4
  1061. package/lib/duet/p-edcdd3e6.system.entry.js +0 -4
  1062. package/lib/duet/p-efa05a47.system.entry.js +0 -4
  1063. package/lib/duet/p-efe71c0a.system.entry.js +0 -4
  1064. package/lib/duet/p-f065f062.system.entry.js +0 -4
  1065. package/lib/duet/p-f11208c3.js +0 -4
  1066. package/lib/duet/p-f23de827.system.entry.js +0 -4
  1067. package/lib/duet/p-f4df9001.system.entry.js +0 -4
  1068. package/lib/duet/p-f5a0878c.entry.js +0 -4
  1069. package/lib/duet/p-f5b6fd8e.system.entry.js +0 -4
  1070. package/lib/duet/p-f6000a03.js +0 -4
  1071. package/lib/duet/p-f6b21d17.system.js +0 -4
  1072. package/lib/duet/p-f785408c.system.entry.js +0 -4
  1073. package/lib/duet/p-f892350a.entry.js +0 -4
  1074. package/lib/duet/p-f966e96a.system.entry.js +0 -4
  1075. package/lib/duet/p-fc06b1eb.system.entry.js +0 -4
  1076. package/lib/duet/p-fcc0e0bf.system.entry.js +0 -4
  1077. package/lib/duet/p-fd376e7c.entry.js +0 -4
  1078. package/lib/duet/p-fe13effe.system.entry.js +0 -4
  1079. package/lib/duet/p-ffb9535d.system.entry.js +0 -4
  1080. package/lib/esm/a11y-utils-9f6bee96.js +0 -23
  1081. package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
  1082. package/lib/esm/action-new-window-small-1945be91.js +0 -6
  1083. package/lib/esm/body-scroll-46854769.js +0 -234
  1084. package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
  1085. package/lib/esm/common-strings-af765cad.js +0 -25
  1086. package/lib/esm/create-id-149a1b6d.js +0 -11
  1087. package/lib/esm/duet-chip_3.entry.js +0 -697
  1088. package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
  1089. package/lib/esm/focus-utils-fc101536.js +0 -18
  1090. package/lib/esm/form-search-ea8e19ae.js +0 -6
  1091. package/lib/esm/input-utils-85681162.js +0 -53
  1092. package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
  1093. package/lib/esm/js-utils-9b9e0039.js +0 -47
  1094. package/lib/esm/keyboard-utils-daf80d44.js +0 -58
  1095. package/lib/esm/label-b3694b48.js +0 -20
  1096. package/lib/esm/polyfills/core-js.js +0 -11
  1097. package/lib/esm/polyfills/dom.js +0 -79
  1098. package/lib/esm/polyfills/es5-html-element.js +0 -1
  1099. package/lib/esm/polyfills/index.js +0 -34
  1100. package/lib/esm/polyfills/system.js +0 -6
  1101. package/lib/esm/string-utils-192eb3c8.js +0 -61
  1102. package/lib/esm/teleport-546f382d.js +0 -116
  1103. package/lib/esm/themeable-component-860041c5.js +0 -13
  1104. package/lib/esm/token-utils-b9ba8c5e.js +0 -138
  1105. package/lib/esm/watch-options-e96ecd92.js +0 -57
  1106. package/lib/esm-es5/a11y-utils-9f6bee96.js +0 -4
  1107. package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
  1108. package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
  1109. package/lib/esm-es5/app-globals-f12e0500.js +0 -4
  1110. package/lib/esm-es5/body-scroll-46854769.js +0 -4
  1111. package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
  1112. package/lib/esm-es5/common-strings-af765cad.js +0 -4
  1113. package/lib/esm-es5/create-id-149a1b6d.js +0 -4
  1114. package/lib/esm-es5/duet-action-button.entry.js +0 -4
  1115. package/lib/esm-es5/duet-alert.entry.js +0 -4
  1116. package/lib/esm-es5/duet-badge.entry.js +0 -4
  1117. package/lib/esm-es5/duet-banner.entry.js +0 -4
  1118. package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
  1119. package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
  1120. package/lib/esm-es5/duet-button_2.entry.js +0 -4
  1121. package/lib/esm-es5/duet-callout.entry.js +0 -4
  1122. package/lib/esm-es5/duet-caption_4.entry.js +0 -4
  1123. package/lib/esm-es5/duet-card.entry.js +0 -4
  1124. package/lib/esm-es5/duet-checkbox.entry.js +0 -4
  1125. package/lib/esm-es5/duet-checkmark.entry.js +0 -4
  1126. package/lib/esm-es5/duet-chip_3.entry.js +0 -4
  1127. package/lib/esm-es5/duet-choice_2.entry.js +0 -4
  1128. package/lib/esm-es5/duet-collapsible.entry.js +0 -4
  1129. package/lib/esm-es5/duet-combobox.entry.js +0 -4
  1130. package/lib/esm-es5/duet-contact-card.entry.js +0 -4
  1131. package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
  1132. package/lib/esm-es5/duet-date-picker.entry.js +0 -4
  1133. package/lib/esm-es5/duet-divider_2.entry.js +0 -4
  1134. package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
  1135. package/lib/esm-es5/duet-empty-state.entry.js +0 -4
  1136. package/lib/esm-es5/duet-fieldset.entry.js +0 -4
  1137. package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
  1138. package/lib/esm-es5/duet-footer.entry.js +0 -4
  1139. package/lib/esm-es5/duet-grid_2.entry.js +0 -4
  1140. package/lib/esm-es5/duet-header_2.entry.js +0 -4
  1141. package/lib/esm-es5/duet-hero.entry.js +0 -4
  1142. package/lib/esm-es5/duet-icon.entry.js +0 -4
  1143. package/lib/esm-es5/duet-input_2.entry.js +0 -4
  1144. package/lib/esm-es5/duet-layout.entry.js +0 -4
  1145. package/lib/esm-es5/duet-list_2.entry.js +0 -4
  1146. package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
  1147. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
  1148. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
  1149. package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
  1150. package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
  1151. package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
  1152. package/lib/esm-es5/duet-modal.entry.js +0 -4
  1153. package/lib/esm-es5/duet-multiselect.entry.js +0 -4
  1154. package/lib/esm-es5/duet-nav.entry.js +0 -4
  1155. package/lib/esm-es5/duet-notification_2.entry.js +0 -4
  1156. package/lib/esm-es5/duet-number-input.entry.js +0 -4
  1157. package/lib/esm-es5/duet-overlay.entry.js +0 -4
  1158. package/lib/esm-es5/duet-page-heading.entry.js +0 -4
  1159. package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
  1160. package/lib/esm-es5/duet-progress.entry.js +0 -4
  1161. package/lib/esm-es5/duet-promo-card.entry.js +0 -4
  1162. package/lib/esm-es5/duet-radio_2.entry.js +0 -4
  1163. package/lib/esm-es5/duet-range-slider.entry.js +0 -4
  1164. package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
  1165. package/lib/esm-es5/duet-section-layout.entry.js +0 -4
  1166. package/lib/esm-es5/duet-select.entry.js +0 -4
  1167. package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
  1168. package/lib/esm-es5/duet-show-more.entry.js +0 -4
  1169. package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
  1170. package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
  1171. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
  1172. package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
  1173. package/lib/esm-es5/duet-slideout.entry.js +0 -4
  1174. package/lib/esm-es5/duet-status-icon.entry.js +0 -4
  1175. package/lib/esm-es5/duet-step_2.entry.js +0 -4
  1176. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
  1177. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
  1178. package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
  1179. package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
  1180. package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
  1181. package/lib/esm-es5/duet-textarea.entry.js +0 -4
  1182. package/lib/esm-es5/duet-toggle.entry.js +0 -4
  1183. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
  1184. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
  1185. package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
  1186. package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
  1187. package/lib/esm-es5/duet-toolbar.entry.js +0 -4
  1188. package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
  1189. package/lib/esm-es5/duet-tooltip.entry.js +0 -4
  1190. package/lib/esm-es5/duet-tray.entry.js +0 -4
  1191. package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
  1192. package/lib/esm-es5/duet-upload-item.entry.js +0 -4
  1193. package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
  1194. package/lib/esm-es5/duet.js +0 -4
  1195. package/lib/esm-es5/errorcodes.utils-d594aed8.js +0 -4
  1196. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  1197. package/lib/esm-es5/focus-utils-fc101536.js +0 -4
  1198. package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
  1199. package/lib/esm-es5/index-fa810c91.js +0 -4
  1200. package/lib/esm-es5/index.js +0 -3
  1201. package/lib/esm-es5/input-utils-85681162.js +0 -4
  1202. package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
  1203. package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
  1204. package/lib/esm-es5/keyboard-utils-daf80d44.js +0 -4
  1205. package/lib/esm-es5/label-b3694b48.js +0 -4
  1206. package/lib/esm-es5/language-utils-35eb1c9f.js +0 -4
  1207. package/lib/esm-es5/loader.js +0 -4
  1208. package/lib/esm-es5/slot-utils-b2101c56.js +0 -4
  1209. package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
  1210. package/lib/esm-es5/teleport-546f382d.js +0 -4
  1211. package/lib/esm-es5/themeable-component-860041c5.js +0 -4
  1212. package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
  1213. package/lib/esm-es5/tokens-84fb2357.js +0 -4
  1214. package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
  1215. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
  1216. package/lib/loader/package.json +0 -11
  1217. /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
  1218. /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
  1219. /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
  1220. /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
  1221. /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
  1222. /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
  1223. /package/lib/cjs/{keyboard-utils-f7c9f980.js → keyboard-utils-D9UlHbik.js} +0 -0
  1224. /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
  1225. /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
  1226. /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
  1227. /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
  1228. /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
  1229. /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
  1230. /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
  1231. /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
  1232. /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
  1233. /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
  1234. /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
  1235. /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
  1236. /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
  1237. /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
  1238. /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function o(t){try{d(i.next(t))}catch(t){r(t)}}function s(t){try{d(i["throw"](t))}catch(t){r(t)}}function d(t){t.done?n(t.value):a(t.value).then(o,s)}d((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return d([t,e])}}function d(s){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(n=0)),n)try{if(i=1,a&&(r=s[0]&2?a["return"]:s[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,s[1])).done)return r;if(a=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;a=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];a=0}finally{i=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var i=0,a=e.length,r;i<a;i++){if(r||!(i in e)){if(!r)r=Array.prototype.slice.call(e,0,i);r[i]=e[i]}}return t.concat(r||Array.prototype.slice.call(e))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js","./p-41982d26.system.js","./p-752fa0fc.system.js","./p-74aa0f9d.system.js","./p-ba03d034.system.js","./p-4cff3036.system.js","./p-e6b5a1c7.system.js","./p-98636086.system.js","./p-b2d5f07c.system.js"],(function(t){"use strict";var e,n,i,a,r,o,s,d,l,u,h,f,c,p,b,m,g,v,y,k,w,x,_,T,j,L,z,E,S,A,D,F,M,C,U,P,O,W,R,N,Y,q;return{setters:[function(t){e=t.h;n=t.r;i=t.c;a=t.H;r=t.g;o=t.F},function(t){s=t.i},function(t){d=t.f;l=t.d},function(t){u=t.i},function(t){h=t.a;f=t.c;c=t.d;p=t.g;b=t.s},function(t){m=t.p;g=t.q;v=t.r;y=t.u;k=t.v;w=t.w;x=t.x;_=t.y;T=t.z;j=t.A;L=t.B;z=t.C;E=t.n;S=t.a;A=t.D;D=t.E;F=t.F;M=t.G;C=t.k;U=t.H;P=t.s},function(t){O=t.b;W=t.a},function(t){R=t.c},function(t){N=t.p},function(t){Y=t.g;q=t.a}],execute:function(){var I=function(t,n){var i=t.data,a=t.groupId,r=t.alignment;var o="duet-editable-table duet-editable-table-content-".concat(a);if(typeof i==="string"){return e("td",{innerHTML:i,class:o,part:"".concat(a,"content"),style:{verticalAlign:r}})}else{return e("td",{class:o,part:"".concat(a,"content"),style:{verticalAlign:r}},i)}};var B=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-editable-table-actions-menu,td.duet-editable-table-actions-menu{position:relative;padding:0 !important;margin:0}.duet-editable-table-actions-menu-button{position:relative;right:-16px;float:right;padding:0}.duet-editable-table-actions-menu-icon .duet-icon{max-width:16px;max-height:16px}.duet-editable-table-row.duet-table-action-row .duet-text-right{text-align:right}.duet-editable-table-header tr .duet-editable-table-header-hidden{padding:0 !important;font-size:0;border-bottom:0}";var H=B;var J=t("duet_editable_table",function(){function t(t){var e=this;n(this,t);this.duetTableToggle=i(this,"duetTableToggle",7);this.duetMenuClick=i(this,"duetMenuClick",7);this.hasHeadSlotFirst=false;this.hasHeadSlotLast=false;this.hasFootSlot=false;this.sortableDefaultLabel={fi:"Järjestä",en:"Click to sort",sv:"Klicka för att sortera"};this.actionColumnLabel={en:"Actions for rows",fi:"Toiminnot rivillä",sv:"Åtgärder för rader"};this.toggleColumn=function(t,n){n.preventDefault();var i=t.sort_order,a=t.direction,r=t.index,o=t.key;e.duetTableToggle.emit({sort_order:i,index:r,direction:a,key:o,component:"duet-editable-table",originalEvent:n})};this.handleKeyDown=function(t,n){if(u(n)){e.toggleColumn(t,n)}};this.language=h();this.margin="auto";this.variation="striped";this.sticky=false;this.stickyDistance="with-links";this.breakpoint="small";this.actions=undefined;this.columns=undefined;this.rows=undefined;this.sortable=false;this.groupId="";this.theme="";this.accessibleRole=undefined;this.hideHeadVisually=false}t.prototype.componentWillLoad=function(){s(this);this.hasHeadSlotFirst=!!this.element.querySelector("[slot='thead-first']");this.hasHeadSlotLast=!!this.element.querySelector("[slot='thead-last']");this.hasFootSlot=!!this.element.querySelector("[slot='tfoot']")};t.prototype.connectedCallback=function(){f(this)};t.prototype.disconnectedCallback=function(){c(this)};t.prototype.createLabel=function(t){var n=this;var i=t.sort_order,a=t.direction,r=t.index,o=t.label;var s=p(o);if(!this.sortable){return s}var d=function(){if(!!i&&a===1){return"action-arrow-down-small"}else if(!!i&&a===-1){return"action-arrow-up-small"}return"action-subtract-small"};return e("span",{class:"duet-table-label","data-index":r},e("duet-button",{size:"small",icon:d(),"icon-size":"medium-small","accessible-label":this.sortableDefaultLabel[this.language],variation:"plain",margin:"none","icon-right":true,onClick:function(e){return n.toggleColumn(t,e)},onKeyDown:function(e){return n.handleKeyDown(t,e)}},s))};t.prototype.getSortedColumns=function(){return __spreadArray([],this.columns,true).sort(d(["index"]))};t.prototype.getRowSortOrder=function(){var t=__spreadArray([],this.columns,true).sort(d(["sort_order"]));return t.filter((function(t){return t.sort_order})).map((function(t){return t.direction===-1?"-".concat(t.key):t.key}))};t.prototype.renderTableHeader=function(){var t=this;if(!this.columns){return}var n=this.getSortedColumns();return e("tr",{class:{"duet-table-action-header":!!this.actions}},n.map((function(n){if(n.display!==false){var i=t.createLabel(n);return i!==""?e("th",{scope:"col"},i):e("td",null)}})),this.actions&&e("th",{scope:"col",class:"duet-table-action-header-heading"},this.actions&&e("duet-visually-hidden",null,this.actionColumnLabel[this.language])))};t.prototype.renderActions=function(t,n){var i=this;if(!this.actions){return}return e("td",{class:"duet-text-right"},this.actions.map((function(a){return e("duet-action-button",{actionMeta:Object.assign({},(t===null||t===void 0?void 0:t.meta)||{},{index:n}),actionId:(t===null||t===void 0?void 0:t.uid)||(t===null||t===void 0?void 0:t.id)||null,actionName:a.name,theme:i.theme,iconName:a.icon,iconColor:a.color,iconSize:a.size,background:a.background,"accessible-label":"".concat(t.actionDescription||""," ").concat(p(a.label)," ")})})))};t.prototype.renderTableBody=function(){var t=this;var n=this.getSortedColumns();var i=this.getRowSortOrder();var a=__spreadArray([],this.rows,true).sort(d(i));return a.map((function(i,a){var r;return e("tr",{class:(r={"duet-table-action-row":!!t.actions,"duet-editable-table-row":true},r["duet-editable-table-row-".concat(t.groupId)]=true,r),"data-meta":JSON.stringify(i.meta)},n.map((function(n){var a=i[n.key]?i[n.key]:i.item;if(n.display!==false){return e(I,{data:a,groupId:t.groupId})}})),t.actions&&t.renderActions(i,a))}))};t.prototype.render=function(){var t;return e(a,{key:"170a18bded5a1eefa62aabdfe9cbec40ebb9ad51",class:(t={},t["duet-editable-table-".concat(this.variation)]=true,t["duet-editable-table"]=true,t["duet-editable-table-".concat(this.theme)]=true,t["duet-editable-table-scrollable"]=this.breakpoint==="none-scrollable",t["duet-editable-table-sortable"]=this.sortable,t["duet-editable-table-actions"]=!!this.actions,t["duet-m-0"]=this.margin==="none",t["duet-theme-turva"]=this.theme==="turva",t)},e("duet-table",{key:"2282f3b54102b8fd06bbfb8c1158e54f400a21cc",class:"duet-editable-table-table",sticky:this.sticky,stickyDistance:this.stickyDistance,margin:this.margin,theme:this.theme,variation:this.variation,breakpoint:this.breakpoint,"hide-head-visually":this.hideHeadVisually},e("table",{key:"dda2ea49bff29277445de50a779df0434e35d620",role:this.accessibleRole},e("caption",{key:"bb4633c4947dbfe2c9b8148688d1f03c67d94188"},e("slot",{key:"471406fee4b4173e29abf754212355814f591266",name:"tcaption"})),e("thead",{key:"f907958d599c07d6f220bc3159e8efa0ba85feb5"},this.hasHeadSlotFirst&&e("tr",{key:"32803f29a816f2abe67aa8b2dbfd99fdff7c9e5b"},e("td",{key:"634ee6e9a8b53e9610a7cbd0e5a536bcaf654207",class:"duet-editable-table-actions-menu",colSpan:99},e("slot",{key:"444de221a86d743d36598d71fc3256c0aa16d034",name:"thead-first"}))),this.renderTableHeader(),this.hasHeadSlotLast&&e("tr",{key:"a2c9f9914ab42a5421daac067472db45f6d680a7"},e("td",{key:"0edd405623af60d014f509636fad5cf2f53f86a5",class:"duet-editable-table-actions-menu",colSpan:99},e("slot",{key:"84f0e807a4ddf22910655aad0de2dcd7fd93973c",name:"thead-last"})))),e("tbody",{key:"7b4413d38b050b69a0a71bcca7a8200d1f480d43"},this.renderTableBody()),this.hasFootSlot&&e("tfoot",{key:"a7096789b2fc5615b7a9622df8de361ea486bb69"},e("tr",{key:"52afc13a557588195883a16b10b308b6c1062232"},e("td",{key:"a231e63b19ed8c96aec86973242e07c07506547d",class:"duet-editable-table-footer-menu",colSpan:99},e("slot",{key:"152c200e205eb63fff18df14c4ded8ea67a340d5",name:"tfoot"})))))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());J.style=H;var V="\nduet-table {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-bottom: ".concat(m," !important;\n display: block;\n font-variant-numeric: tabular-nums;\n\n table,\n thead,\n tbody,\n tfoot,\n th,\n td,\n tr {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n }\n\n &.duet-m-0 {\n margin: 0 !important;\n }\n\n table {\n width: 100%;\n font-family: ").concat(g,";\n font-size: ").concat(v,";\n text-align: left;\n border-spacing: 0;\n border-collapse: separate;\n }\n\n &.duet-table-hide-head-visually.duet-table-hide-head-visually {\n thead,\n thead * {\n position: absolute !important;\n top: 0;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n overflow: hidden !important;\n clip: rect(1px, 1px, 1px, 1px) !important;\n border: 0 !important;\n }\n }\n\n &.duet-theme-turva table {\n font-family: ").concat(y,";\n }\n\n td {\n -webkit-hyphens: auto;\n hyphens: auto;\n color: ").concat(k,";\n }\n\n &.duet-theme-turva td {\n color: ").concat(w,";\n }\n\n th {\n font-weight: ").concat(x,";\n line-height: ").concat(_,";\n color: ").concat(T,";\n text-align: left;\n }\n\n &.duet-theme-turva th {\n color: ").concat(j,";\n }\n\n tbody th {\n font-weight: ").concat(x,";\n color: ").concat(k,";\n }\n\n &.duet-theme-turva tbody th {\n color: ").concat(w,";\n }\n\n & .duet-table-action-row {\n & td:last-child {\n justify-self: end;\n padding-right: ").concat(m," !important;\n white-space: nowrap;\n }\n }\n\n span.duet-table-cell-heading {\n display: none;\n }\n}\n\n.duet-table-flattened {\n table,\n thead,\n tbody,\n tfoot,\n th,\n td,\n tr {\n display: block;\n }\n\n thead tr {\n position: absolute !important;\n top: 0;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n overflow: hidden !important;\n clip: rect(1px, 1px, 1px, 1px) !important;\n border: 0 !important;\n }\n\n td {\n line-height: ").concat(_,";\n\n &:not(:last-child) {\n margin-bottom: ").concat(L,";\n }\n\n span.duet-table-cell-heading {\n margin-bottom: ").concat(z,";\n display: block;\n font-size: ").concat(v,";\n font-weight: ").concat(x,";\n color: ").concat(k,";\n }\n }\n\n &.duet-theme-turva td span.duet-table-cell-heading {\n color: ").concat(w,";\n }\n\n tbody td,\n tbody th,\n tfoot td {\n padding: 0 !important;\n text-align: left !important;\n }\n\n tbody th {\n font-weight: ").concat(x,";\n line-height: ").concat(_,";\n color: ").concat(T,";\n text-align: left;\n }\n}\n\n.duet-table-sticky thead th {\n position: sticky;\n top: 0;\n background: ").concat(E,";\n}\n\n.duet-table-striped {\n td,\n th {\n padding: ").concat(m," !important;\n @media ").concat(S.replace("'","").replace("'","")," {\n padding: ").concat(m," ").concat(A," !important;\n }\n }\n\n tbody th {\n background: ").concat(E,";\n }\n\n &.duet-table-sticky {\n thead th {\n border-bottom: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva thead th {\n border-bottom-color: ").concat(F,";\n }\n }\n\n tbody:not(:first-of-type) th {\n padding-top: calc(").concat(m," * 2) !important;\n }\n\n tbody:only-of-type tr:nth-of-type(odd) {\n background: rgba(4, 81, 128, 0.04);\n }\n\n &.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {\n background: rgba(").concat(w,", 0.04);\n }\n\n tbody:not(:only-of-type) tr:nth-of-type(even) {\n background: rgba(4, 81, 128, 0.04);\n }\n\n &.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {\n background: rgba(").concat(w,", 0.04);\n }\n\n tfoot td {\n border-top: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva tfoot td {\n border-top-color: ").concat(F,";\n }\n\n &.duet-table-flattened {\n tbody:not(:first-of-type) th {\n padding-top: ").concat(m," !important;\n }\n\n tr {\n padding: ").concat(m," !important;\n }\n\n tfoot {\n td {\n border-top: 0;\n }\n\n tr {\n border-top: 1px solid ").concat(D,";\n }\n }\n\n &.duet-theme-turva tfoot tr {\n border-top-color: ").concat(F,";\n }\n }\n}\n\n.duet-table-plain, .duet-table-fixed, .duet-table-minimal {\n th {\n padding: ").concat(L," !important;\n border-bottom: 1px solid ").concat(T,";\n\n &:first-child {\n padding-left: 0 !important;\n }\n\n &:last-child {\n padding-right: 0 !important;\n }\n }\n\n &.duet-theme-turva th {\n border-bottom-color: ").concat(M,";\n }\n\n tbody th {\n padding-top: calc(").concat(m," * 2) !important;\n border-bottom-color: ").concat(D,";\n }\n\n &.duet-theme-turva tbody th {\n border-bottom-color: ").concat(F,";\n }\n\n td {\n padding: ").concat(L," !important;\n\n &:first-child {\n padding-left: 0 !important;\n }\n\n &:last-child {\n padding-right: 0 !important;\n }\n }\n\n tbody td {\n border-bottom: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva tbody td {\n border-bottom-color: ").concat(F,";\n }\n\n &.duet-table-flattened {\n tbody:first-of-type th {\n padding-top: 0 !important;\n }\n\n td,\n tbody th {\n border-bottom: 0;\n }\n\n tr {\n padding: ").concat(m," 0 !important;\n }\n\n tbody th {\n padding-top: ").concat(m," !important;\n }\n\n tfoot td {\n margin-bottom: ").concat(z," !important;\n }\n\n tbody:not(:only-of-type) tr:first-child {\n border-bottom: 0;\n }\n }\n}\n\n.duet-table-plain {\n\n &.duet-table-flattened {\n tbody tr {\n border-bottom: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva tbody tr {\n border-bottom-color: ").concat(F,";\n }\n }\n}\n\n.duet-table-minimal {\n\n tbody tr,\n tbody tr td {\n vertical-align: top;\n border-bottom: 0 none;\n }\n\n tbody tr:last-of-type,\n tbody tr:last-of-type td {\n border-bottom: 1px solid ").concat(D,";\n }\n\n &.duet-table-flattened {\n tbody tr,\n tbody tr td {\n border-bottom: 0 none;\n }\n\n tbody tr td[data-heading]::before {\n display: none;\n }\n\n tfoot {\n border-top: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva tfoot {\n border-top-color: ").concat(F,";\n }\n }\n}\n\n.duet-table-fixed {\n\n table {\n table-layout: fixed;\n }\n\n tbody tr,\n tbody tr td,\n tbody tr td:first-child {\n padding: 4px !important;\n vertical-align: text-bottom;\n border-bottom: 0 none;\n }\n\n thead {\n display: none;\n }\n\n tbody tr,\n tbody tr td {\n border-bottom: 0 none;\n }\n\n &:not(.duet-table-flattened) {\n tfoot {\n border-top: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva tfoot {\n border-top-color: ").concat(F,";\n }\n }\n}\n.duet-table-scrollable {\n position: relative;\n width: 100%;\n overflow-x: auto;\n background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;\n background-repeat: no-repeat;\n background-attachment: local, local, scroll, scroll;\n background-size: 100px 100%, 100px 100%, 12px 100%, 12px 100%;\n}\n\n.duet-table-selected-column {\n background: rgba(").concat(C,", 0.08);\n\n .duet-theme-turva & {\n background: rgba(").concat(M,", 0.08);\n }\n}\n\n.duet-table-sortable {\n tbody tr td:first-child,\n thead tr th:first-child {\n padding: ").concat(m,";\n }\n\n &:not(.duet-table-flattened) {\n tfoot {\n border-top: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva tfoot {\n border-top-color: ").concat(F,';\n }\n }\n}\n\n\n.duet-table-actions {\n table {\n table-layout: auto;\n }\n\n thead {\n & th:last-child {\n width: 1px;\n white-space: nowrap;\n }\n }\n}\n\n.duet-editable-table-table.duet-table-flattened {\n tr {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-auto-rows: auto;\n gap: 10px;\n\n &.duet-table-action-row td:last-child::before {\n padding: 0;\n content: "";\n }\n }\n\n td {\n grid-column: 1 / 2;\n\n &:first-child {\n grid-row: 1;\n grid-column: 1;\n }\n\n &:last-child {\n grid-row: 1;\n grid-column: 2;\n }\n }\n}\n').replace(/[\n\r\t]/gm,"");function K(t){var e=t.getRootNode();var n=e instanceof ShadowRoot;if(n){var i=new CSSStyleSheet;i.replace(V).then((function(){e.adoptedStyleSheets.push(i)}))}else{var a=document.querySelector("style#duet-table-styles");if(a){return}var r=document.createElement("style");r.id="duet-table-styles";r.innerHTML=V;document.head.append(r)}}var X={none:0,"with-links":parseFloat(U)*16,"without-links":parseFloat(P)*16};var G=t("duet_table",function(){function t(t){var e=this;n(this,t);this.headingSelector="thead tr > :not(*.duet-editable-table-actions-menu)";this.handleMediaQueryChange=function(t){e.matchesBreakpoint=O.includes(e.breakpoint)?!t.matches:t.matches};this.matchesBreakpoint=true;this.language=h();this.theme=undefined;this.margin="auto";this.variation="striped";this.sticky=false;this.stickyDistance="with-links";this.breakpoint="small";this.hideHeadVisually=false}t.prototype.watchLanguageStateHandler=function(t,e){var n=this;if(t!==e){setTimeout((function(){return n.copyHeadingsToCells()}),50)}};t.prototype.connectedCallback=function(){var t=this;K(this.element);var e=this.breakpoint==="none"||this.breakpoint==="none-scrollable"?"all":W[this.breakpoint];this.mq=matchMedia(e);this.mq.addEventListener("change",l(this.handleMediaQueryChange,50));this.handleMediaQueryChange(this.mq);this.observer=new MutationObserver((function(){return l(t.copyHeadingsToCells(),50)}));this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.componentWillLoad=function(){s(this);this.copyHeadingsToCells();if(this.sticky&&this.breakpoint==="none-scrollable"){console.warn('[DUET WARNING]: sticky and breakpoint="none-scrollable" are incompatible. Scrollable takes precedence')}if(this.sticky){var t=X[this.stickyDistance];var e=this.element.querySelectorAll(this.headingSelector);e.forEach((function(e){return e.style.top="".concat(t,"px")}))}};t.prototype.componentDidLoad=function(){this.observer?this.observer.takeRecords():null;f(this)};t.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;this.mq.removeListener(this.handleMediaQueryChange);this.mq=null;this.matchesBreakpoint=true;c(this)};t.prototype.copyHeadingsToCells=function(){var t=this.element.querySelectorAll(this.headingSelector);var e=this.element.querySelectorAll("tbody tr");var n=Array.from(t).map((function(t){return t.textContent.trim()}));e.forEach((function(t){t.querySelectorAll("td").forEach((function(t,e){if(n[e]){var i=t.querySelector(".duet-table-cell-heading");if(!i||i.textContent!==n[e]){i===null||i===void 0?void 0:i.remove();var a=document.createElement("span");a.textContent=n[e];a.classList.add("duet-table-cell-heading");a.setAttribute("aria-hidden","true");a.inert=true;t.prepend(a)}}}))}))};t.prototype.render=function(){var t;return e(a,{key:"fcdd601ace6ef28821198d34d85eb3dc94b73aa3",class:(t={},t["duet-table-".concat(this.variation)]=true,t["duet-table-flattened"]=!this.matchesBreakpoint,t["duet-table-sticky"]=this.matchesBreakpoint&&this.sticky,t["duet-table-scrollable"]=this.breakpoint==="none-scrollable",t["duet-m-0"]=this.margin==="none",t["duet-theme-turva"]=this.theme==="turva",t["duet-table-hide-head-visually"]=this.hideHeadVisually,t)},e("slot",{key:"35cef7a6450ff5dc1e34cda94637a50dec7860a8"}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{language:["watchLanguageStateHandler"]}},enumerable:false,configurable:true});return t}());var $=[{type:"default",system_message:"unknown error",message:{fi:"Tapahtui tuntematon virhe, ole hyvä ja yritä uudelleen.",sv:"Ett okänt fel uppstod, försök igen.",en:"An unknown error occured, please try again."}},{type:"400",system_message:"Bad Request: The server could not understand the request due to invalid syntax.",message:{fi:"Tiedostoa ei hyväksytty.",sv:"Servern avvisade din fil.",en:"The server rejected your file."}},{type:"401",system_message:"Not Authenticated: The client must authenticate itself to get the requested response...",message:{fi:"Vain kirjautunut käyttäjä voi lähettää tiedostoja.",sv:"Du måste vara inloggad för att ladda upp filer.",en:"You need to be logged in to upload files."}},{type:"403",system_message:"No Access: The client does not have access rights to the content.",message:{fi:"Ei oikeuksia lähettää tiedostoja.",sv:"Du har inte rätt åtkomsträttigheter för att ladda upp filer.",en:"You do not have the correct access rights to upload files."}},{type:"413",system_message:"Payload too large",message:{fi:"Tiedosto oli liian vastaanotettavaksi.",sv:"Filen var för stor för servern att hantera.",en:"The file was to large for the server to handle."}},{type:"415",system_message:"Unsupported media type",message:{fi:"Tiedoston tyyppi oli väärä.",sv:"Servern avvisade filen eftersom den hade fel typ.",en:"The server rejected the file because it had the wrong type."}},{type:"429",system_message:"Too many request from same address",message:{fi:"Liian monta yritystä, ole hyvä ja yritä myöhemmin uudelleen.",sv:"Servern har fått många förfrågningar från dig, försök igen senare.",en:"The server has received to many request from you, please try again later."}},{type:"500",system_message:"Internal Server Error",message:{fi:"Palvelin ilmoitti tuntemattomasta virheestä ja lataus epäonnistui.",sv:"Servern rapporterade ett okänt fel och uppladdningen misslyckades.",en:"The server reported an unknown error and the upload failed."}},{type:"duet-upload-100",system_message:"File extension not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den type.",en:"You cannot upload files with that extension."}},{type:"duet-upload-001",system_message:"File transfer failed",message:{fi:"Tiedoston lähetys keskeytyi, ole hyvä ja yritä uudelleen.",sv:"Din anslutning till servern avbröts, försök igen.",en:"Your connection to the server was interrupted, try again."}},{type:"duet-upload-101",system_message:"File mimetype not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den typ.",en:"You cannot upload files of that type."}},{type:"duet-upload-201",system_message:"File is too large",message:{fi:"Tiedosto on liian iso.",sv:"Filen är större än tillåtet.",en:"The file is larger than permitted."}},{type:"duet-upload-202",system_message:"The combined size of all files is too large",message:{fi:"Tiedostojen yhteenlaskettu koko on liian iso.",sv:"Du har nått den maximala kombinerade filstorleken.",en:"You have reached the maximum combined filesize."}},{type:"duet-upload-203",system_message:"Files to upload exceed total byte size limit",message:{fi:"Yritit lisätä tiedostoja, jotka ylittäisivät suurimman sallitun yhteenlasketun koon.",sv:"Du försökte lägga till filer som skulle överskrida den maximala kombinerade storleken.",en:"You tried to add files that would exceed the maximum combined size."}},{type:"duet-upload-301",system_message:"The maximum file limit has been reached",message:{fi:"Liitteiden maksimimäärä saavutettu.",sv:"Maximalt antal bilagor har uppnåtts.",en:"Maximum number of attachments reached."}},{type:"duet-upload-302",system_message:"Files to upload exceeds limits",message:{fi:"Et voi lähettää enempää kuin enimmäismäärän liitteitä.",sv:"Du kan inte ladda upp fler än det maximala antalet bilagor.",en:"You can't upload more than maximum number of attachments."}}];var Q={fi:"Liiteluettelo",sv:"Lista över bilagor",en:"Attachments list"};var Z=function(t){var n=t.label,i=t.categoryLabel;return e("div",{class:"items-header",tabindex:"-1","aria-label":p(Q)},i&&e("duet-heading",{class:"category-header",border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none","aria-hidden":"true"},p(i)),e("duet-heading",{class:{"filename-header":true,"no-category":!i},border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none","aria-hidden":"true"},p(n)))};var tt=function(t,e){if(!e){return true}var n=t.split(".");var i=e.split(",");var a=n[n.length-1];return i.includes(a)};var et=function(t,e){if(!e||!t){return true}var n=e.split(",");var i=false;n.forEach((function(e){var n=e.split("/");var a=t.split("/");if(n[0]===a[0]&&(n[1]===a[1]||n[1]==="*")){i=true}}));return i};var nt=function(t,e){if(!e||!t){return true}return e>=t};var it=function(t,e,n){var i=e.allowedMimetypes,a=e.allowedExtensions,r=e.maxBytes;var o=false;var s=Y("default",n);if(t){var d=t.name,l=t.type,u=t.size;var h=et(l,i);var f=a==="all"||a===""||a===" "||a===undefined?true:tt(d.toLowerCase(),a);var c=nt(u,r);if(!h){s=Y("duet-upload-101",n)}if(!f){s=Y("duet-upload-100",n)}if(!c){s=Y("duet-upload-201",n)}o=h&&f&&c}else{o=false}return{valid:o,errorMessage:o?undefined:p(s.message),errorSystem:o?undefined:s.system_message,errorType:o?undefined:s.type}};var at=function(t,e){var n=0;if(e){t.forEach((function(t){if(t.valid&&t.size){n+=t.size}}));if(n>=e){return true}}return false};var rt=function(t,e){var n=0;if(e){t.forEach((function(t){if(t.valid){n++}}));if(n>=e){return true}}return false};var ot=function(t,e,n){if(t+e>n){return true}return false};var st=function(t,e,n){var i=0;if(n){t.forEach((function(t){if(t.valid&&t.size){i+=t.size}}));e.forEach((function(t){if(t.size){i+=t.size}}));if(i>=n){return true}}return false};var dt=function(t){var e=t.payload,n=t.options,i=t.onFailure,a=t.onSuccess,r=t.onProgress;var o=n.type,s=o===void 0?"POST":o,d=n.xhr,l=n.uri,u=n.argument,h=u===void 0?null:u,f=n.headers,c=f===void 0?null:f;d.open(s,"".concat(l).concat(h||""),true);var p=e.data,b=e.name;if(c){Object.keys(c).forEach((function(t){d.setRequestHeader(t,c[t])}))}if(s==="POST"){d.onreadystatechange=function(){if(d.readyState===XMLHttpRequest.DONE&&d.status>=200&&d.status<300){a(d,b,d.status)}if(d.readyState===XMLHttpRequest.DONE&&d.status>=300&&d.status<999){i(d,b,d.status)}};r(b)}d.send(p);return d};var lt="*,*::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}::slotted([slot=header]){margin-bottom:16px}::slotted([slot=fileheader]){margin:16px 0 0 0}::slotted([slot=filefooter]){margin-top:16px}::slotted([slot=uploadfooter]){margin-top:20px}.duet-upload{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-upload-item-size{font-size:0.75rem;font-weight:400}.duet-upload-filelist{margin-bottom:25px}.duet-upload-filelist-empty{display:flex;align-items:center;justify-content:center;width:100%;height:75px;margin:0 auto;font-size:1rem;font-weight:400;background-color:rgb(245, 248, 250)}.duet-upload-filelist-empty-label{font-size:1rem;font-weight:400}.duet-upload-editable-table-header-hidden{display:none}.duet-upload-editable-table tbody .duet-upload-editable-table-data{padding:0 !important;border:0}.duet-upload-editable-table duet-editable-table tfoot,.duet-upload-editable-table duet-editable-table thead{display:none}.duet-upload-editable-table duet-editable-table .duet-editable-table-content{padding-right:0 !important;padding-left:0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td{padding:1rem 0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child{padding-right:0 !important}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending{position:relative}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress{position:absolute;bottom:0;width:100%}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button),.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button){border:0}duet-paragraph::part(duet-paragraph){word-break:break-word}duet-editable-table tfoot{display:none}.upload-bottom-caption{margin-top:12px;margin-bottom:16px;line-height:1.4rem}.items-header{display:none;flex-direction:row;margin-bottom:0}@media (min-width: 36em){.items-header{display:flex}}.items-header:not(:last-child),.items-header:not(:first-child){margin-top:12px}.items-header .category-header{width:35%}.items-header .filename-header{width:65%}.items-header .filename-header.no-category{width:100%}.upload-item-row{display:flex;flex-direction:column;gap:16px;align-content:center;align-items:center;padding:16px 0 16px 0;border-bottom:1px solid rgb(212, 223, 229)}@media (min-width: 36em){.upload-item-row{flex-direction:row;gap:10px}}.upload-item-row .item-categories{width:100%}@media (min-width: 36em){.upload-item-row .item-categories{width:35%}}.upload-item-row .item-name{position:relative;bottom:2px;width:100%;text-align:left}@media (min-width: 36em){.upload-item-row .item-name{width:50%}.upload-item-row .item-name.no-category{width:85%}}.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:block}@media (min-width: 36em){.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:none}}.upload-item-row .item-actions{width:100%;margin-left:-8px;text-align:left}@media (min-width: 36em){.upload-item-row .item-actions{width:15%;padding-top:0;margin-left:auto;text-align:right}}.upload-item-row .duet-upload-item-name duet-icon{position:relative;top:4px}.upload-item-row .duet-upload-item-name duet-progress{display:block;margin-top:16px}";var ut=lt;var ht=t("duet_upload",function(){function t(t){var a=this;n(this,t);this.duetChange=i(this,"duetChange",3);this.duetBlur=i(this,"duetBlur",7);this.duetFocus=i(this,"duetFocus",7);this.duetReady=i(this,"duetReady",7);this.duetDone=i(this,"duetDone",3);this.duetState=i(this,"duetState",3);this.duetDelete=i(this,"duetDelete",3);this.duetCancel=i(this,"duetCancel",3);this.duetProgress=i(this,"duetProgress",3);this.duetUpload=i(this,"duetUpload",3);this.linkClick=i(this,"linkClick",3);this.buttonId=R("DuetButton");this.labelId=R("DuetLabel");this.uploadId=R("DuetUpload");this.filesInProgress=new Map;this.fileMaxReached=false;this.bytesMaxReached=false;this.filesToUploadExceedsLimit=false;this.filesToUploadTotalSizeIsAboveMax=false;this.internalStatusMessageLabel=undefined;this.itemRefs=new Map;this.DefaultGroups={inprogress:"inprogress",success:"success",pending:"pending",failure:"failure"};this.kick=l((function(){a.tick=Date.now()}),30);this.categoryLabel={en:"Category",sv:"Filtyp",fi:"Tiedostotyyppi"};this.listenForActionEvents=function(){a.element.addEventListener("duetActionEvent",(function(t){var e=t.detail;var n=e.action,i=e.id,r=e.originalEvent;switch(n){case"delete":a.onDelete(i,r);break;case"cancel":a.onCancel(i,r);break}}))};this.verifyValidity=function(){var t=a.getFilesAsArray(),e=t.invalid,n=t.valid;var i=a.valid;a.valid=e.length===0&&n.length!==0;if(a.valid!==i){a.duetState.emit({originalEvent:undefined,data:{valid:a.valid,from:"componentWillRender"},component:"duet-upload"})}};this.getGroupFromItemData=function(t){if(t.valid&&t.progress===100){return a.DefaultGroups.success}else if(t.progress>0&&t.progress!==100){return a.DefaultGroups.inprogress}else if(!t.valid){return a.DefaultGroups.failure}else if(t.pending){return a.DefaultGroups.pending}else if(t.group){return t.group}else{return"none"}};this.mapFilesToUploadItems=function(t,n,i,r){if(n===a.DefaultGroups.success){return e("duet-upload-item",{theme:a.theme,actions:a.getActions(n,r),type:"success",data:t,showLinks:a.showLinks,linkClickEvent:a.emitEvent?a.linkClick:undefined,categoryLabel:a.categoryLabel,label:a.uploadedItemsHeaderLabel,showCategory:i,buttonTitles:a.processedButtonTitles,ref:function(e){a.itemRefs.set(t.uid,e)}})}else if(n===a.DefaultGroups.inprogress){return e("duet-upload-item",{theme:a.theme,actions:a.getActions(n,r),type:"inprogress",data:t,showLinks:a.showLinks,categoryLabel:a.categoryLabel,label:a.uploadedItemsHeaderLabel,showCategory:i,buttonTitles:a.processedButtonTitles,ref:function(e){a.itemRefs.set(t.uid,e)}})}else if(n===a.DefaultGroups.pending){return e("duet-upload-item",{theme:a.theme,actions:a.getActions(n,r),type:"pending",data:t,showLinks:a.showLinks,categoryLabel:a.categoryLabel,label:a.uploadedItemsHeaderLabel,showCategory:i,buttonTitles:a.processedButtonTitles,ref:function(e){a.itemRefs.set(t.uid,e)}})}else if(n===a.DefaultGroups.failure){return e("duet-upload-item",{theme:a.theme,actions:a.getActions(n,r),type:"failure",data:t,showLinks:a.showLinks,errorCodes:a.errorCodes,categoryLabel:a.categoryLabel,label:a.uploadedItemsHeaderLabel,showCategory:i,buttonTitles:a.processedButtonTitles,ref:function(e){a.itemRefs.set(t.uid,e)}})}else if(t.group){return t.html}else{return"none"}};this.genHashName=function(){return Date.now().toString(36)+Math.random()};this.updateValueInMap=function(t,e,n,i){if(i===void 0){i=true}try{var r=a.files.get(t);r[e]=n;a.files.set(t,r);if(a.external&&e!=="url"){a.trackProgress(t,e==="uploaded")}}catch(t){}if(i){a.kick()}};this.updateProgress=function(t,e){var n=function(n){a.updateValueInMap(e,"progress",n);a.onProgress(e,n,t)};if(t.lengthComputable){var i=t.loaded/t.total*100;n(i)}else{console.log("cant read progress")}};this.trackProgress=function(t,e){if(e===void 0){e=false}if(e){a.filesInProgress.delete(t)}else{a.filesInProgress.set(t,"inprogress")}if(a.filesInProgress.size===0){a.onDone()}};this.getFilesAsArray=function(){var t=[];var e=[];a.files.forEach((function(n){if(n.valid&&!n.deleted){t.push(n)}else if(!n.valid&&!n.deleted){e.push(n)}}));return{valid:t,invalid:e}};this.resetFormFields=function(){a.nativeInput.value=""};this.startUpload=function(t){var e=[];for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}return __awaiter(a,__spreadArray([t],e,true),void 0,(function(t,e){var n,i,a;if(e===void 0){e=undefined}return __generator(this,(function(r){n=this.validateTotals(),i=n.bytesMaxReached,a=n.fileMaxReached;if(i||a){this.kick();return[2]}this.metaData=e;this.nativeInput.click();this.onUpload(t,e);t.stopPropagation();t.preventDefault();return[2]}))}))};this.transferComplete=function(t){a.updateValueInMap(t,"progress",100,false);a.trackProgress(t,true)};this.transferDone=function(t,e,n){a.updateValueInMap(e,"status",n,false);a.updateValueInMap(e,"uploaded",true,false);try{var i=JSON.parse(t.response);a.updateValueInMap(e,"url",i.url)}catch(t){a.updateValueInMap(e,"url",null);console.error("Server did not respond with expected response {url: string}")}return};this.transferDoneWithFailure=function(t,e,n){try{var i=JSON.parse(t.response).error;a.updateValueInMap(e,"error",{message:i.message,type:i.type},false)}catch(t){console.error("Server did not respond with expected response error:{message: string, type: int}");a.updateValueInMap(e,"error",{type:n},false)}a.updateValueInMap(e,"valid",false,true)};this.transferFailed=function(t){a.updateValueInMap(t,"error",q("duet-upload-001",a.errorCodes))};this.transferCanceled=function(t){a.files.delete(t);a.validateTotals(t);a.kick()};this.validateTotals=function(t){var e=at(a.files,a.maxBytesTotal);var n=rt(a.files,a.maxFiles);if(e&&t){a.updateValueInMap(t,"error",q("duet-upload-202",a.errorCodes),false)}if(n&&t){a.updateValueInMap(t,"error",q("duet-upload-301",a.errorCodes),false)}a.bytesMaxReached=e;a.fileMaxReached=n;return{bytesMaxReached:e,fileMaxReached:n}};this.uploadFile=function(t){var e=[];for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}return __awaiter(a,__spreadArray([t],e,true),void 0,(function(t,e,n){var i,a,r;if(e===void 0){e=false}return __generator(this,(function(o){switch(o.label){case 0:if(!e&&this.deferUpload){this.updateValueInMap(t.item.name,"pending",true,false);this.updateValueInMap(t.item.name,"group","pending",true)}else if(e){this.updateValueInMap(t.item.name,"pending",false,false);this.updateValueInMap(t.item.name,"group",undefined,true)}o.label=1;case 1:o.trys.push([1,4,,5]);if(!(!this.deferUpload||e))return[3,3];i=new FormData;i.append("file",t.item);if(n){i.append("key",n)}i.append("uid",t.uid);i.append("name",t.item.name);i.append("metadata",JSON.stringify({uid:t.uid,url:this.uri,size:t.item.size,meta:t.meta}));a=t;return[4,this.makeXHRPostRequest(i)];case 2:a.xhr=o.sent();o.label=3;case 3:return[3,5];case 4:r=o.sent();this.updateValueInMap(t.item.name,"valid",false,false);return[3,5];case 5:return[2]}}))}))};this.uploadPendingFiles=function(){for(var t=0,e=Array.from(a.files.entries());t<e.length;t++){var n=e[t],i=n[0],r=n[1];if(r.group==="pending"&&r.pending===true){a.uploadFile(r,true,i)}}};this.getItemFromUID=function(t){for(var e=0,n=Array.from(a.files.entries());e<n.length;e++){var i=n[e],r=i[0],o=i[1];if(o.uid===t){return{value:o,key:r}}}return null};this.handleExternalUploadButton=function(t,e){if(a.externalUploadButton){if(t||e){a.externalUploadButton.disabled=true}else{a.externalUploadButton.disabled=false}}};this.onDelete=function(t,e){var n=a.getItemFromUID(t);var i=n.key;var r=a.files.get(i);a.files.delete(i);var o=a.validateTotals(),s=o.bytesMaxReached,d=o.fileMaxReached;a.handleExternalUploadButton(s,d);a.kick();a.duetDelete.emit({originalEvent:e,data:{deletion:r},component:"duet-upload"});if(!a.external&&!r.pending){a.makeXHRDeleteRequest(r)}a.resetFormFields()};this.onCancel=function(t,e){var n=a.getItemFromUID(t).key;var i=a.files.get(n);a.files.delete(n);var r=a.validateTotals(),o=r.bytesMaxReached,s=r.fileMaxReached;a.handleExternalUploadButton(o,s);if(!a.external){var d=i.xhr;if(d){d.abort()}}a.kick();a.resetFormFields();a.duetCancel.emit({originalEvent:e,data:{cancelled:i},component:"duet-upload"})};this.onUpload=function(t,e){a.duetUpload.emit({originalEvent:t,metaData:e,component:"duet-upload"})};this.onBlur=function(t){a.duetBlur.emit({originalEvent:t,component:"duet-upload"})};this.onProgress=function(t,e,n){a.duetChange.emit({originalEvent:n,data:{key:t,percentComplete:e},component:"duet-upload"})};this.onFocus=function(t){a.duetFocus.emit({originalEvent:t,component:"duet-upload"})};this.onReady=function(){a.duetReady.emit({component:"duet-upload"})};this.onDone=function(){a.duetDone.emit({component:"duet-upload",data:{files:a.files}})};this.filterMap=function(){var t=Array.from(a.files.values());var e=[];var n=[];var i=[];var r=[];var o=false;t.forEach((function(t){var s=a.getGroupFromItemData(t);if(t.meta&&!!t.meta.badges){o=true}if(s===a.DefaultGroups.success){r.push({uid:t.uid,data:t})}else if(s===a.DefaultGroups.inprogress){e.push({uid:t.uid,data:t})}else if(s===a.DefaultGroups.pending){i.push({uid:t.uid,data:t})}else if(s===a.DefaultGroups.failure){n.push({uid:t.uid,data:t})}else if(t.group){e.push({uid:t.uid,data:t})}}));return{pending:i,failure:n,success:r,inprogress:e,hasCategory:o}};this.getActions=function(t,e){return e.filter((function(e){return e.map.includes(t)}))};this.renderUploadedItems=function(){a.itemRefs.clear();var t=a.filterMap();var n=t.hasCategory;var i=a.hideCancelButton?a.actions.filter((function(t){return t.name!=="cancel"})):a.actions;var r=a.groups.map((function(r){var s=t[r.id];if(!(s===null||s===void 0?void 0:s.length)){return}return e(o,null,!a.hideGroups&&e(Z,{categoryLabel:n?a.categoryLabel:undefined,label:r.label}),s.map((function(t){return a.mapFilesToUploadItems(t.data,r.id,n,i)})))}));return e(o,null,a.showUploadedItemsHeader&&e(Z,{categoryLabel:n?a.categoryLabel:undefined,label:a.uploadedItemsHeaderLabel}),r)};this.tick=Date.now();this.accessibleActiveDescendant=undefined;this.accessibleDescribedBy=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.external=false;this.middleware=null;this.deferUpload=false;this.hideButton=false;this.actions=[{icon:"action-delete",color:"color-danger",size:"x-small",background:"gray-lightest",name:"delete",map:["success","failure"],label:{fi:"Poista tiedosto",en:"Delete the file",sv:"Ta bort filen"}},{icon:"navigation-close",color:"primary",size:"x-small",background:"gray-lightest",name:"cancel",map:["inprogress","pending"],label:{fi:"Keskeytä lähetys",en:"Cancel the upload",sv:"Stop överföringen"}}];this.uri=undefined;this.showLinks=false;this.caption=undefined;this.statusLabelDefaults={fi:{inProgress:"Lähetetään {filesUploaded}, yhteensä lähetettävänä {filesTotal}.",inProgressWithErrors:"Lähetetään {filesInProgress}, lähetetty {filesUploaded}, yhteensä lähetettävänä {filesTotal}, {filesWithErrors} epäonnistui",done:"Lähetys valmis, {filesTotal} lisätty onnistuneesti",doneWithErrors:"Lähetys valmis, {filesUploaded} lisätty onnistuneesti, {filesWithErrors} epäonnistui",files:"tiedostoa",file:"tiedosto"},sv:{inProgress:"Laddar upp {filesUploaded} av {filesTotal}",inProgressWithErrors:"Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",done:"Uppladdningen slutförd, {filesTotal} har lagts till",doneWithErrors:"Uppladdningen slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",files:"filer",file:"fil"},en:{inProgress:"Uploading {filesUploaded} of {filesTotal}",inProgressWithErrors:"Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",done:"Upload completed, {filesTotal} added successfully",doneWithErrors:"Upload completed, {filesUploaded} added successfully, {filesWithErrors} failed.",files:"files",file:"file"}};this.statusMessageLabel=p(this.statusLabelDefaults);this.buttonLabelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add an attachment"};this.buttonLabel=p(this.buttonLabelDefaults);this.accessibleButtonLabel=undefined;this.theme="";this.disabled=false;this.identifier=undefined;this.margin="auto";this.required=false;this.alignment="middle";this.hideGroups=false;this.files=new Map;this.valid=!this.required;this.labelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add attachments"};this.label=p(this.labelDefaults);this.descriptionDefaults={en:"You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",sv:"Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",fi:"Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena."};this.description=p(this.descriptionDefaults);this.fileListEmptyDefaults={fi:"Ei vielä lisättyjä tiedostoja.",sv:"Inga filer har lagts till ännu.",en:"No files added yet."};this.fileListEmpty=p(this.fileListEmptyDefaults);this.error="";this.errorCodes=$;this.name=undefined;this.maxBytes=2e8;this.maxBytesTotal=undefined;this.maxFiles=99;this.allowedExtensions="all";this.allowedMimetypes="";this.multiple=true;this.limitSelection=false;this.hideCancelButton=false;this.value=undefined;this.externalUploadButtonId=undefined;this.captionOnBottom=false;this.showUploadedItemsHeader=false;this.uploadedItemsHeaderLabel={fi:"Ladattu tiedosto",sv:"Lägg till en bilaga",en:"Uploaded file"};this.headerHeadingLevel="h3";this.hideHeader=false;this.emitEvent=false;this.actionButtonTitles={cancel:false,delete:false};this.renameDuplicates=false;this.groups=[{id:this.DefaultGroups.success,label:{fi:"Valmiit tiedostot",sv:"Files success",en:"Files success"}},{id:this.DefaultGroups.failure,label:{fi:"Tiedostot, joissa on virheitä",sv:"Filer med fel",en:"Files with errors"}},{id:this.DefaultGroups.inprogress,label:{fi:"Kesken olevat tiedostot",sv:"Filer inprogress",en:"Files inprogress"}},{id:this.DefaultGroups.pending,label:{en:"Files to upload",sv:"Filer att ladda",fi:"Ladattavat tiedostot"}}]}t.prototype.watchValidHandler=function(t,e){if(t!==e){this.kick()}};t.prototype.componentWillLoad=function(){if(typeof this.statusMessageLabel==="string"){this.internalStatusMessageLabel=b(this.groups)}else{this.internalStatusMessageLabel=this.statusMessageLabel}s(this);this.listenForActionEvents();this.onReady();this.externalUploadButton=document.querySelector("#".concat(this.externalUploadButtonId));this.processedButtonTitles=N(this.actionButtonTitles)};t.prototype.componentWillRender=function(){this.verifyValidity()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeInput){this.nativeInput.focus(t)}return[2]}))}))};t.prototype.upload=function(){return __awaiter(this,arguments,void 0,(function(t){var e,n,i;if(t===void 0){t=undefined}return __generator(this,(function(a){e=this.validateTotals(),n=e.bytesMaxReached,i=e.fileMaxReached;if(n||i){this.handleExternalUploadButton(n,i);this.kick();return[2]}this.metaData=t;this.nativeInput.click();return[2]}))}))};t.prototype.uploadPending=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.uploadPendingFiles();return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.kick();return[4,this.setFocus()];case 1:t.sent();return[2]}}))}))};t.prototype.getFiles=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.files||this.files.size===0){return[2,false]}return[2,this.getFilesAsArray()]}))}))};t.prototype.updateValue=function(t,e,n){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.updateValueInMap(t,e,n);return[2]}))}))};t.prototype.focusActionButton=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:return[4,(e=this.itemRefs.get(t))===null||e===void 0?void 0:e.focusActionButton()];case 1:n.sent();return[2]}}))}))};t.prototype.render=function(){var t=this;var n=this.identifier||this.uploadId;var i=Math.round((this.maxBytesTotal?this.maxBytesTotal:this.maxBytes*this.maxFiles)/1024/1024);var r=Math.round(this.maxBytes/1024/1024);var s=this.description.replace(/{maxfiles}/g,this.maxFiles.toString());s=s.replace(/{maxbytes}/g,"".concat(r.toString()," MB"));s=s.replace(/{maxbytestotal}/g,"".concat(i.toString()," MB"));s=s.replace(/{filetypes}/g,this.allowedExtensions.split(",").join(", "));if(this.externalUploadButton){this.externalUploadButton.accessibleLabel="".concat(this.externalUploadButton.innerText,". ").concat(s)}return e(a,{key:"dd2d8df45d7b1e8526fc08809e07f4cb33685750",class:{"duet-m-0":this.margin==="none"}},e("duet-fieldset",{key:"5763ea920a4090ca67c77c4408df558a1381a4ea","label-heading-level":this.headerHeadingLevel,"label-hidden":this.hideHeader,label:this.label},e("slot",{key:"c156b40628ec1b5d9270df434022ed16e8946eae",name:"header"}),!this.files.size&&e("duet-empty-state",{key:"ad1d9f14e0c17f73b93aa3989fbd6105e5668a11",id:this.labelId,part:this.identifier?"".concat(this.identifier,"-empty-state"):"duet-upload-empty-state",icon:"messaging-attachment"},e("duet-paragraph",{key:"aa1475ad4c73fd61976e8ba408d76f1b55b850cb",margin:"none"},this.fileListEmpty)),!!this.files.size&&e("slot",{key:"a4dd57cd140b091b2bd5622b5fc5c55dc567e144",name:"fileheader"}),!!this.files.size&&e("duet-upload-aria-status",{key:"8f5beb8ce03d9b4f1b7df6d01ba707485daecf5a",invalid:this.getFilesAsArray().invalid.length,valid:this.getFilesAsArray().valid.length,inprogress:this.filesInProgress.size,total:this.files.size,statusMessageLabel:this.internalStatusMessageLabel}),!!this.files.size&&this.renderUploadedItems(),!!this.files.size&&e("slot",{key:"0432c1b02bcc36c239b05c5b4aa260ce4392c5cd",name:"filefooter"}),e("slot",{key:"dd19564b15aad3cc65396121f3862ee1275e3da6",name:"uploadfooter"}),this.captionOnBottom&&e("duet-caption",{key:"388956db21f30c93c685fac7b11604932baf6ab1",margin:"none",size:"small"},e("div",{key:"24766af55c816957c30880f6ccf31c2c8d24cebe",class:"upload-bottom-caption"},s)),e("slot",{key:"bb6a994d5c65c0d3514a304eb2547a2f81d3feb3",name:"afterfooter"}),!this.hideButton&&e(o,{key:"0028099baf1d0d8224d5549a16c663005fb78875"},e("duet-spacer",{key:"295a793dcf0cff48d7b3b211984a44a68aff5a1c",size:"large"}),e("duet-button",{key:"7375e766eac86aee16440e44c9645173ad2a8d1e",id:this.buttonId,onClick:this.startUpload,"accessible-controls":n,disabled:this.fileMaxReached,"accessible-label":this.accessibleButtonLabel||"".concat(this.buttonLabel,". ").concat(s),"accessible-owns":n,size:"small",variation:"secondary",fixed:true,icon:"action-add-circle",part:this.identifier?"".concat(this.identifier,"-button-upload"):"duet-upload-button-upload"},this.buttonLabel)),(this.fileMaxReached||this.bytesMaxReached||this.filesToUploadExceedsLimit||this.filesToUploadTotalSizeIsAboveMax)&&e(o,{key:"30cbbe58d5267a103f6aecf7dad5481c878d7662"},e("duet-spacer",{key:"a18c694807a23f24ffaa895874546efb8864602d",size:"medium"}),e("duet-alert",{key:"db0280069c76343b698ee84899d829c257558f7a",part:this.identifier?"".concat(this.identifier,"-error-notification"):"duet-upload-error-notification"},this.fileMaxReached&&q("duet-upload-301",this.errorCodes),this.bytesMaxReached&&q("duet-upload-202",this.errorCodes),this.filesToUploadExceedsLimit&&q("duet-upload-302",this.errorCodes),this.filesToUploadTotalSizeIsAboveMax&&q("duet-upload-203",this.errorCodes))),e("duet-visually-hidden",{key:"5f2458287c90d4c906fe6366bf9fa42a844cf8f9","aria-hidden":"true"},e("input",{key:"6d5180b885ae0c13c8c06118084bb49d0df0c989",ref:function(e){t.nativeInput=e},accept:!this.limitSelection?undefined:"".concat(this.allowedMimetypes,",").concat(this.allowedExtensions),onBlur:this.onBlur,onFocus:this.onFocus,onChange:function(e){return t.onChange(e)},type:"file",class:{"duet-upload":true},disabled:this.disabled,"aria-hidden":"true",required:this.required,name:this.name,id:this.identifier,multiple:this.multiple,tabIndex:-1}))))};t.prototype.makeXHRPostRequest=function(t){var e=this;var n=new XMLHttpRequest;var i=t.get("name");n.upload.addEventListener("progress",(function(t){e.updateProgress(t,i)}));n.upload.addEventListener("load",(function(){e.transferComplete(i)}));n.upload.addEventListener("error",(function(){e.transferFailed(i)}));n.upload.addEventListener("abort",(function(){e.transferCanceled(i)}));var a={payload:{data:t,name:i},options:{type:"POST",uri:this.uri,xhr:n,argument:null,headers:undefined},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};if(this.middleware){a=this.middleware(a)}return dt(a)};t.prototype.makeXHRDeleteRequest=function(t){var e=t.uid,n=t.item;var i=new XMLHttpRequest;var a={"x-fileuid":e,"x-filename":n.name};var r={payload:{data:null,name:name},options:{type:"DELETE",xhr:i,uri:this.uri,argument:"?key=".concat(e,"&name=").concat(n.name),headers:a},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};if(this.middleware){r=this.middleware(r)}return dt(r)};t.prototype.escapeSpecialCharacters=function(t){return(t+"").replace(/[\\"'(){}\[\]*?$^+]/g,"\\$&").replace(/\u0000/g,"\\0")};t.prototype.getRenamedFileName=function(t,e){var n=new RegExp("".concat(this.escapeSpecialCharacters(t)," \\(\\d+\\).").concat(e));var i=Array.from(this.files.entries()).map((function(t){var e=t[0],n=t[1];return e})).filter((function(i){return n.test(i)||i==="".concat(t,".").concat(e)})).sort((function(t,e){return t.split(".").slice(0,-1).join(".")>e.split(".").slice(0,-1).join(".")?1:-1})).pop().split(".").slice(0,-1).join(".");if(i===t){return"".concat(t," (1).").concat(e)}var a=parseInt(i.split("(").pop().slice(0,-1));return"".concat(t," (").concat(a+1,").").concat(e)};t.prototype.renameFiles=function(t){var e=this;return t.map((function(t){if(e.files.get(t.name)){var n=t.name.split(".");var i=n.pop();var a=n.join(".");var r=e.getRenamedFileName(a,i);return new File([t],r,{type:t.type,lastModified:t.lastModified})}else{return t}}))};t.prototype.onChange=function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,a,r,o,s,d,l,u,h,f;return __generator(this,(function(c){switch(c.label){case 0:n=Array.from((e=this.nativeInput)===null||e===void 0?void 0:e.files);this.filesToUploadExceedsLimit=false;if(ot(this.files.size,n.length,this.maxFiles)){this.filesToUploadExceedsLimit=true;this.kick();return[2]}this.filesToUploadTotalSizeIsAboveMax=false;if(st(this.files,n,this.maxBytesTotal)){this.filesToUploadTotalSizeIsAboveMax=true;this.kick();return[2]}if(!n)return[3,6];if(this.renameDuplicates){n=this.renameFiles(n)}i=0,a=n;c.label=1;case 1:if(!(i<a.length))return[3,6];r=a[i];o=it(r,{maxBytes:this.maxBytes,allowedExtensions:this.allowedExtensions,allowedMimetypes:this.allowedMimetypes},this.errorCodes),s=o.valid,d=o.errorMessage,l=o.errorType,u=o.errorSystem;h=this.genHashName();f={uid:h,item:r,size:r.size,meta:this.metaData,uploaded:false,valid:s,error:{type:s?undefined:l,message:s?undefined:d,system_message:s?undefined:u},progress:0,deleted:false,xhr:false,url:false};this.files.set(r.name,f);if(!(s&&!this.external))return[3,3];return[4,this.uploadFile(f)];case 2:c.sent();return[3,4];case 3:if(s&&this.external){this.updateValueInMap(f.item.name,"pending",true,false);this.updateValueInMap(f.item.name,"group","pending",true)}else if(!s){this.updateValueInMap(r.name,"valid",false,true)}c.label=4;case 4:this.kick();c.label=5;case 5:i++;return[3,1];case 6:this.resetFormFields();this.metaData=undefined;this.duetChange.emit({originalEvent:t,data:{files:this.files},component:"duet-upload"});return[2]}}))}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{valid:["watchValidHandler"]}},enumerable:false,configurable:true});return t}());ht.style=ut}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var a,t,n,r,o;return{setters:[function(e){a=e.r;t=e.h;n=e.H;r=e.g},function(e){o=e.i}],execute:function(){var i="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:rgb(8, 42, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}";var c=i;var s=e("duet_empty_state",function(){function e(e){a(this,e);this.theme="";this.icon="messaging-question";this.size="medium"}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){return t(n,{key:"1f6624730e50ba1915eab79ea13c33134dff9119"},t("div",{key:"066811ce2abe630a698cdc92b45e461bf50779be",class:{"duet-empty-state":true,"duet-theme-turva":this.theme==="turva","duet-is-small":this.size==="small"}},t("duet-icon",{key:"143baa7a70df678984547409c3d8bff636a7043c",color:"currentColor",name:this.icon,size:this.size==="small"?"large":"x-large"}),t("div",{key:"000ac5797e6617cec3318a31ec186c4d9f93af0d"},t("slot",{key:"4e389d93ba161ff558782fbafe1b60a9e883f6b1"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());s.style=c}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,n,e){function r(t){return t instanceof n?t:new n((function(i){i(t)}))}return new(n||(n=Promise))((function(n,s){function u(t){try{a(e.next(t))}catch(t){s(t)}}function o(t){try{a(e["throw"](t))}catch(t){s(t)}}function a(t){t.done?n(t.value):r(t.value).then(u,o)}a((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},e,r,s,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(i){return a([t,i])}}function a(o){if(e)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(n=0)),n)try{if(e=1,r&&(s=o[0]&2?r["return"]:o[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;if(r=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){n.label=o[1];break}if(o[0]===6&&n.label<s[1]){n.label=s[1];s=o;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(o);break}if(s[2])n.ops.pop();n.trys.pop();continue}o=i.call(t,n)}catch(t){o=[6,t];r=0}finally{e=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,i,n){if(n||arguments.length===2)for(var e=0,r=i.length,s;e<r;e++){if(s||!(e in i)){if(!s)s=Array.prototype.slice.call(i,0,e);s[e]=i[e]}}return t.concat(s||Array.prototype.slice.call(i))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-752fa0fc.system.js","./p-74aa0f9d.system.js","./p-d3960f14.system.js","./p-98636086.system.js"],(function(t){"use strict";var i,n,e,r,s,u,o,a,h,c,f,l,d,v,p,m,b,g,_,y;return{setters:[function(t){i=t.h;n=t.r;e=t.c;r=t.H;s=t.g},function(t){u=t.i},function(t){o=t.c},function(t){a=t.d},function(t){h=t.j;c=t.f;f=t.o;l=t.b;d=t.c},function(t){v=t.g;p=t.a;m=t.c;b=t.d},function(t){g=t.b},function(t){_=t.r;y=t.p}],execute:function(){var w=function(t){var n=t.item,e=t.activeDescendant,r=t.selected,s=t.label,u=s===void 0?undefined:s,o=t.clickHandler,a=o===void 0?function(t){t.preventDefault()}:o,h=t.keyHandler,c=h===void 0?function(t){t.preventDefault()}:h,f=t.search,l=t.isAndroidDevice,d=t.id;var v=f.split(" ").filter((function(t){return!!t.trim()})).map((function(t){return _(t)}));var p=f!==""?new RegExp("(".concat(v.join("|"),")"),"i"):undefined;var m="text-decoration: underline";return i("duet-popup-menu-item",{id:e?d:"",active:r,"data-index":n.id,"aria-selected":e?"true":undefined,"aria-current":r?"true":undefined,role:"option","aria-label":u,tabindex:l?"-1":null,onClick:function(t){return a(t)},onKeyUp:function(t){return c(t)},accessibleRole:"option",activeDescendant:e},p?i("span",{class:"option-container","aria-hidden":"true"},i("span",{innerHTML:n.name.replace(p,'<span style="'.concat(m,'">$&</span>'))})):n.name,n.tags&&i("span",{class:"option-tags"},n.tags.join(", ")))};var x=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(8, 42, 77)}:host a{color:rgb(8, 42, 77);transition:none}:host.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)}:host.duet-theme-turva a{color:rgb(23, 28, 58)}.combobox-menu-container{width:var(--popup-width);max-height:200px}';var S=x;var k=t("duet_combobox",function(){function t(t){var i=this;n(this,t);this.duetChange=e(this,"duetChange",3);var r,s;this.listBoxId=o("duet-combobox-list-element");this.inputId=o("duet-combobox-input-id");this.activeDescendantId=o("duet-combobox-active-descendant");this.isAndroidDevice=((s=(r=navigator===null||navigator===void 0?void 0:navigator.userAgent)===null||r===void 0?void 0:r.toLowerCase())===null||s===void 0?void 0:s.indexOf("android"))>-1||null;this.resizeObserver=new ResizeObserver(a((function(t){var n,e,r;if((t===null||t===void 0?void 0:t.length)===1){var s=(e=(n=t[0])===null||n===void 0?void 0:n.target)===null||e===void 0?void 0:e.getBoundingClientRect().width;var u=parseInt((r=getComputedStyle(i.listContainer.shadowRoot.querySelector(".duet-popup-menu-list")))===null||r===void 0?void 0:r.padding);i.listContainer.style.setProperty("--popup-width","".concat(s-2*u,"px"))}}),100));this.onInputChange=function(t){return __awaiter(i,void 0,void 0,(function(){var i;return __generator(this,(function(n){i=t.detail.value;this.inputValue=i;return[2]}))}))};this.onInputClick=function(){var t,n;if(i.openListOnClick){i.listOpen=!i.listOpen}else{i.listOpen=((t=i.inputValue)===null||t===void 0?void 0:t.length)>=i.minCharacters}if(!((n=i.getFilteredItems())===null||n===void 0?void 0:n.length)){i.listOpen=false}};this.onInputTyping=function(t){return __awaiter(i,void 0,void 0,(function(){var i,n;return __generator(this,(function(e){n=t.detail.value;if(!this.force&&!this.multiple&&this.selectedItems.size>0&&n!==this.getSelectedItemLabel()){this.selectedItems.clear()}if(!this.force&&!this.multiple&&n===""){this.value=undefined}this.listOpen=String(n).length>=this.minCharacters&&((i=this.getFilteredItems())===null||i===void 0?void 0:i.length)>0;return[2]}))}))};this.onKeyDown=function(t){var n,e,r;var s=i.returnFilteredOrNonFiltered();var u=s.filter((function(t){return!i.selectedItems.has(t.id)}));i.input.accessibleActiveDescendant=undefined;if(h(t)){t.preventDefault();if(i.listOpen&&i.activeItem!==undefined&&s[i.activeItem]&&!i.selectedItems.has(s[i.activeItem].id)){if(i.multiple){i.addSelectedItem(s[i.activeItem].id,true)}else{i.updateSelectedItem(s[i.activeItem].id,true)}}else if(!i.multiple&&i.listOpen&&u.length===1&&u[0].name.toLowerCase()===i.input.value.toLowerCase()){i.updateSelectedItem(u[0].id,true)}i.activeItem=undefined;i.listOpen=false;return}if(c(t)||f(t)){if(i.listOpen){t.preventDefault()}i.updateInputText(true);i.activeItem=undefined;i.listOpen=false;return}var o=i.activeItem;if(l(t)){t.preventDefault();o=i.activeItem-1}else if(d(t)){if(((r=(e=(n=i.input)===null||n===void 0?void 0:n.value)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0)<i.minCharacters){return}t.preventDefault();o=i.listOpen?i.activeItem+1:i.activeItem;i.listOpen=true}if(d(t)||l(t)){if(o<0||!o){o=0}if(o>=s.length){o=s.length-1}i.input.accessibleActiveDescendant=i.activeDescendantId;i.activeItem=o;i.scrollToActive()}return};this.processedItems=null;this.inputValue="";this.listOpen=false;this.selectedItems=new Set;this.activeItem=undefined;this.accessibleLabelDefaults={en:{heading:"Select:",item:"{name}",itemFiltered:"{name}, {hiddenItems} filtered"},fi:{heading:"Valitse:",item:"{name}",itemFiltered:"{name}, {hiddenItems} suodatettu"},sv:{heading:"Välj:",item:"{name}",itemFiltered:"{name}, {hiddenItems} filtrerade"}};this.accessibleLabels=v(this.accessibleLabelDefaults,p());this.label="";this.caption="";this.theme="";this.force=false;this.multiple=false;this.items=undefined;this.formatter=function(t){return t&&t.name?t.name:""};this.value=undefined;this.minCharacters=0;this.openListOnClick=false;this.filterType="startsWith"}t.prototype.popupMenuOpenHandler=function(){if(this.listOpen){this.listContainer.show()}else{this.listContainer.hide()}};t.prototype.activeItemHandler=function(t){this.input.accessibleActiveDescendant=this.listOpen&&(t||t===0)?this.activeDescendantId:""};t.prototype.inputValueHandler=function(){var t=this;setTimeout((function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:return[4,this.getSelectedItemLabel()];case 1:t=i.sent();if(this.input.value==""&&t){this.input.value="";this.value=undefined}return[2]}}))}))}),200)};t.prototype.handleDocumentClick=function(t){var i=this;var n=t.composedPath();var e=n.every((function(t){return t!==i.element}));if(e){this.updateInputText(true);this.listOpen=false}};t.prototype.formatItem=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.formatter(t)]}))}))};t.prototype.processItems=function(){var t=this;var i=[];this.processedItems=y(this.items);if(!Array.isArray(this.processedItems)){console.error("DuetCombobox: Items should be an array");return}if(this.processedItems.length!==new Set(__spreadArray([],this.processedItems,true)).size){console.warn("DuetCombobox: Duplicate item values found in the list")}this.processedItems=this.processedItems.map((function(t,n){if(typeof t==="string"){t={name:t,value:t}}if(t.id!==undefined){t.id=String(t.id)}else{t.id="".concat(JSON.stringify(t.value),"-").concat(t.name)}if(i.includes(t.id)){console.warn("DuetCombobox: Duplicate item id found in the list, postfixed with index");t.id="".concat(t.id,"-").concat(n)}i.push(t.id);return t}));var n=Array.from(this.selectedItems).filter((function(i){return!t.processedItems.find((function(t){return t.id===i}))}));if(n.length){if(this.multiple){n.forEach((function(i){return t.removeSelectedItem(i)}))}else{this.updateSelectedItem(n[0],true)}}};t.prototype.processValue=function(){var t=this;if(this.value!==""&&!this.value){this.selectedItems.clear();return}var i=Array.isArray(this.value)?this.value:[this.value];var n=this.processedItems.filter((function(t){return i.includes(t.value)})).map((function(t){return t.id}));if(n.length===this.selectedItems.size&&n.every((function(i){return t.selectedItems.has(i)}))){return}if(this.multiple){this.selectedItems.clear();this.input.clearChips();n.forEach((function(i){return t.addSelectedItem(i)}))}else{var e=this.processedItems.find((function(i){return i.value===t.value}));this.updateSelectedItem(e.id)}};t.prototype.processListOpenChange=function(){if(this.openListOnClick){this.input.icon=this.listOpen?"action-arrow-up":"action-arrow-down"}this.input.accessibleExpanded=this.listOpen?"true":"false"};t.prototype.componentWillLoad=function(){u(this)};t.prototype.connectedCallback=function(){if(this.items){this.processItems()}var t=g(this.element);if(t.length){this.input=t[0]}else{this.input=document.createElement("duet-input");this.input.label=this.label;this.input.caption=this.caption;this.input.expand=true;this.element.prepend(this.input)}this.input.chips=this.multiple;this.input.addEventListener("duetChange",this.onInputChange);this.input.addEventListener("duetInput",this.onInputTyping);this.input.addEventListener("click",this.onInputClick);this.input.role="combobox";this.input.accessibleExpanded=this.listOpen?"true":"false";this.input.accessibleAutocomplete="list";this.input.accessibleControls=this.listBoxId;this.input.id=this.inputId;this.element.addEventListener("keydown",this.onKeyDown);m(this,{prop:"accessibleLabels",defaults:"accessibleLabelDefaults"});this.processListOpenChange()};t.prototype.disconnectedCallback=function(){this.input.removeEventListener("duetChange",this.onInputChange);this.input.removeEventListener("click",this.onInputClick);this.element.removeEventListener("keydown",this.onKeyDown);this.resizeObserver.disconnect();b(this)};t.prototype.componentDidLoad=function(){this.resizeObserver.observe(this.input);this.processValue()};t.prototype.shouldListBeFiltered=function(){var t=this;var i;if(!this.multiple&&this.selectedItems.size&&this.input.value===this.inputValue&&((i=this.inputValue)===null||i===void 0?void 0:i.length)<this.minCharacters){var n=this.processedItems.find((function(i){return t.selectedItems.has(i.id)}));return!(this.formatter(n).toLowerCase()===this.input.value.toLowerCase())}return true};t.prototype.returnFilteredOrNonFiltered=function(){return this.processedItems?this.shouldListBeFiltered()?this.getFilteredItems():this.sortFilteredItems(this.processedItems):[]};t.prototype.emitChangeEvent=function(t){var i=this.processedItems.find((function(i){return i.id===t}));this.duetChange.emit({item:i,value:this.value,component:"duet-combobox"})};t.prototype.updateMultipleValue=function(){var t=this;this.value=this.processedItems.filter((function(i){return t.selectedItems.has(i.id)})).map((function(t){return t.value}));this.input.value="";this.updateChips();this.input.setFocus()};t.prototype.addSelectedItem=function(t,i){if(this.selectedItems.has(t)){return}this.selectedItems.add(t);this.updateMultipleValue();if(i){this.emitChangeEvent(t)}};t.prototype.removeSelectedItem=function(t,i){if(!this.selectedItems.has(t)){return}this.selectedItems.delete(t);this.updateMultipleValue();if(i){this.emitChangeEvent(t)}};t.prototype.updateSelectedItem=function(t,i){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:this.selectedItems.clear();this.selectedItems.add(t);this.value=this.processedItems.find((function(i){return i.id===t})).value;if(i){this.emitChangeEvent(this.value&&t)}return[4,this.updateInputText()];case 1:n.sent();return[2]}}))}))};t.prototype.updateChips=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;var n=this;return __generator(this,(function(e){switch(e.label){case 0:t=Array.from(this.selectedItems);return[4,this.input.getChips()];case 1:i=e.sent();t.forEach((function(t){return __awaiter(n,void 0,void 0,(function(){var i,n,e,r;var s=this;return __generator(this,(function(u){switch(u.label){case 0:i=this.processedItems.find((function(i){return i.id===t}));return[4,this.formatItem(i)];case 1:n=u.sent();return[4,this.input.hasChip({value:"".concat(t),text:n})];case 2:e=u.sent();if(!e){r=document.createElement("duet-chip");r.variation="input";r.role="option";r.value="".concat(t);r.textContent=n;r.addEventListener("duetRemove",(function(t){var i=t.detail.value;s.removeSelectedItem(i,true)}));this.input.addChip(r)}return[2]}}))}))}));i.forEach((function(i){if(!t.includes(i.value)){i.remove()}}));return[2]}}))}))};t.prototype.getSelectedItemLabel=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,n;var e=this;return __generator(this,(function(r){switch(r.label){case 0:t=this.processedItems.find((function(t){return e.selectedItems.has(t.id)}));if(!t)return[3,2];return[4,this.formatItem(t)];case 1:n=r.sent();return[3,3];case 2:n="";r.label=3;case 3:i=n;return[2,i]}}))}))};t.prototype.updateInputText=function(){return __awaiter(this,arguments,void 0,(function(t){var i,n,e;if(t===void 0){t=false}return __generator(this,(function(r){switch(r.label){case 0:if(t&&this.multiple){this.input.value="";return[2]}if(!(t&&this.force))return[3,3];i=this.returnFilteredOrNonFiltered();if(!this.multiple&&this.listOpen&&i.length===1&&i[0].name.toLowerCase()===this.input.value.toLowerCase()){this.updateSelectedItem(i[0].id,true)}if(!(this.selectedItems.size===0))return[3,1];this.input.value="";return[3,3];case 1:n=this.input;return[4,this.getSelectedItemLabel()];case 2:n.value=r.sent();r.label=3;case 3:if(!(!t&&this.selectedItems.size>0))return[3,6];this.input.value="";e=this.input;return[4,this.getSelectedItemLabel()];case 4:e.value=r.sent();this.input.scrollLeft=this.input.scrollWidth;return[4,this.input.setFocus()];case 5:r.sent();r.label=6;case 6:return[2]}}))}))};t.prototype.onListClick=function(t,i){t.preventDefault();t.stopPropagation();if(this.multiple){this.addSelectedItem(i.id,true)}else{this.updateSelectedItem(i.id,true)}this.activeItem=undefined;this.listOpen=false;return this.listOpen};t.prototype.scrollToActive=function(){var t=document.getElementById("".concat(this.activeDescendantId));if(t){t.scrollIntoView({behavior:"smooth",block:"center"})}};t.prototype.formatLabel=function(t,i,n,e){if(!t||e===undefined){return""}var r=n===e?this.accessibleLabels.item:this.accessibleLabels.itemFiltered;return r.replace("{name}",String(t.name)).replace("{current}",String(i+1)).replace("{total}",String(n)).replace("{hiddenItems}",String(e-n))};t.prototype.getFilteredItems=function(){var t=this;var i=this.processedItems.filter((function(i){var n,e,r,s,u;return((n=String(i.value))===null||n===void 0?void 0:n.toLowerCase()[t.filterType]((e=t.inputValue)===null||e===void 0?void 0:e.toLowerCase()))||((r=String(i.name))===null||r===void 0?void 0:r.toLowerCase()[t.filterType]((s=t.inputValue)===null||s===void 0?void 0:s.toLowerCase()))||t.formatter(i).toLowerCase()[t.filterType]((u=t.inputValue)===null||u===void 0?void 0:u.toLowerCase())||t.selectedItems.has(i.id)})).filter((function(i){var n=true;if(t.multiple&&t.selectedItems.has(i.id)){n=false}return n}));return this.sortFilteredItems(i)};t.prototype.sortFilteredItems=function(t){var i=this;if(t.length>0){t.filter((function(t){return i.selectedItems.has(t.id)})).forEach((function(i){var n=t.indexOf(i);t.splice(n,1);t.unshift(i)}))}return t};t.prototype.render=function(){var t;var n=this;var e=this.returnFilteredOrNonFiltered();return i(r,{class:(t={"duet-combobox":true},t["duet-theme-".concat(this.theme)]=true,t)},i("slot",null),i("div",null,i("duet-popup-menu",{id:this.listBoxId,controller:this.input,ref:function(t){return n.listContainer=t},accessibleRole:"listbox",allowVerticalFlip:false},i("div",{class:"combobox-menu-container"},this.listOpen&&e.map((function(t,r){return i(w,{id:n.activeDescendantId,item:t,activeDescendant:r===n.activeItem,selected:n.selectedItems.has(t.id),search:n.inputValue,clickHandler:function(i){return n.onListClick(i,t)},label:n.formatLabel(t,r,e.length,n.processedItems.length),isAndroidDevice:n.isAndroidDevice})})),i("duet-spacer",{size:"x-small"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{listOpen:["popupMenuOpenHandler","processListOpenChange"],activeItem:["activeItemHandler"],inputValue:["inputValueHandler"],items:["processItems"],value:["processValue"]}},enumerable:false,configurable:true});return t}());k.style=S}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- var a={title:"action-new-window-small",tags:"arrow open new window tab external linksquare box rectangle action small",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.5 2a1.5 1.5 0 0 1 .14 3H3.75c-.38 0-.7.28-.74.65l-.01.1v14.5c0 .38.28.7.65.74l.1.01h14.5c.38 0 .7-.28.74-.65l.01-.1v-6.89a1.5 1.5 0 0 1 3 0v6.89A3.75 3.75 0 0 1 18.25 24H3.75A3.75 3.75 0 0 1 0 20.25V5.75A3.75 3.75 0 0 1 3.75 2zm12-2c.78 0 1.42.6 1.5 1.36V7.5a1.5 1.5 0 0 1-3 .14V5.12l-5.44 5.44a1.5 1.5 0 0 1-2.22-2l.1-.12L18.88 3H16.5A1.5 1.5 0 0 1 15 1.64V1.5c0-.78.6-1.42 1.36-1.5h.14z"/></svg>'};export{a}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{s(i.next(e))}catch(e){r(e)}}function u(e){try{s(i["throw"](e))}catch(e){r(e)}}function s(e){e.done?n(e.value):a(e.value).then(o,u)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return s([e,t])}}function s(u){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(i=1,a&&(r=u[0]&2?a["return"]:u[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,u[1])).done)return r;if(a=0,r)u=[u[0]&2,r.value];switch(u[0]){case 0:case 1:r=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;a=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]<r[3])){n.label=u[1];break}if(u[0]===6&&n.label<r[1]){n.label=r[1];r=u;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(u);break}if(r[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];a=0}finally{i=r=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-4289c19b.system.js","./p-053b71e6.system.js","./p-cc5e6288.system.js","./p-e216bea4.system.js","./p-03bfd386.system.js","./p-752fa0fc.system.js","./p-74aa0f9d.system.js","./p-d3960f14.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,n,i,a,r,o,u,s,c,b,d,f;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g},function(e){r=e.a},function(e){o=e.D},function(e){u=e.i},function(e){s=e.g},function(e){c=e.f},function(e){b=e.g;d=e.c;f=e.d},function(){},function(){}],execute:function(){var l='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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)}';var m=l;var h=e("duet_submenu_bar_item",function(){function e(e){t(this,e);this.theme="";this.active=false;this.url=undefined;this.leadingIcon=undefined;this.trailingIcon=undefined;this.accessibleLabel=undefined;this.accessibleExpanded=undefined;this.accessiblePopup="false";this.accessibleLabelExternalDefaults=o;this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults);this.external=false}e.prototype.componentWillLoad=function(){u(this)};e.prototype.connectedCallback=function(){d(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){f(this)};e.prototype.handleEscape=function(e){if(c(e)){var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";var a=this.url?"link":"button";return n(i,{key:"da93c6fa6997e05bd6f9164d77aa907504769b01",role:"listitem"},n(t,{key:"1dc43febd774cfc9f118a968546a8bf84a32e552",target:!this.url?null:this.external?"_blank":"_self",ref:function(t){return e.itemElement=t},class:{"duet-submenu-bar-item":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.url,onKeyUp:function(t){return e.handleEscape(t)},"aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,role:a,rel:this.external?"noopener":undefined},this.leadingIcon&&n("duet-icon",{key:"c47bbb85e5e8b60012c664beb9479e127c1db73a",class:"leading-icon",theme:this.theme,name:this.leadingIcon,size:"auto",margin:"none",color:"currentColor"}),n("div",{key:"b7a054d24e6f81c413538ff29645f58fc0f1ccf5",class:"label"},n("span",{key:"3790441950e7485a9d4439ea8d95d00ded433661",class:"label-text"},n("slot",{key:"8c345b1a1d38ad78510b6e30df8a7ae569cfdbfe"})),(this.trailingIcon||this.external)&&n("duet-icon",{key:"c0d77269c066ac303a2a17de4183f4a21ff8a77a",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":this.trailingIcon==="action-arrow-down-small","external-icon":!!this.external,rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());h.style=m}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,o){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function a(t){try{u(o.next(t))}catch(t){s(t)}}function r(t){try{u(o["throw"](t))}catch(t){s(t)}}function u(t){t.done?i(t.value):n(t.value).then(a,r)}u((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},o,n,s,a;return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(t){return function(e){return u([t,e])}}function u(r){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,r[0]&&(i=0)),i)try{if(o=1,n&&(s=r[0]&2?n["return"]:r[0]?n["throw"]||((s=n["return"])&&s.call(n),0):n.next)&&!(s=s.call(n,r[1])).done)return s;if(n=0,s)r=[r[0]&2,s.value];switch(r[0]){case 0:case 1:s=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;n=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!s||r[1]>s[0]&&r[1]<s[3])){i.label=r[1];break}if(r[0]===6&&i.label<s[1]){i.label=s[1];s=r;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(r);break}if(s[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];n=0}finally{o=s=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js","./p-db2ccb9d.system.js","./p-054f5ec6.system.js","./p-752fa0fc.system.js","./p-74aa0f9d.system.js","./p-d3960f14.system.js","./p-f6b21d17.system.js","./p-4cff3036.system.js","./p-98636086.system.js","./p-ba03d034.system.js"],(function(t){"use strict";var e,i,o,n,s,a,r,u,d,l,c,f,h,b,p,g,m,v;return{setters:[function(t){e=t.r;i=t.c;o=t.h;n=t.H;s=t.g},function(t){a=t.i},function(t){r=t.e;u=t.d},function(t){d=t.f;l=t.F},function(t){c=t.f},function(t){f=t.a;h=t.c;b=t.d;p=t.g},function(t){g=t.h},function(t){m=t.T},function(t){v=t.g},function(){},function(){}],execute:function(){var y='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]:not([open=false])) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77)}.duet-slideout.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgb(23, 28, 58)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:600;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}.duet-slideout .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout .dialog .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header{display:block}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}';var k=y;var x=t("duet_slideout",function(){function t(t){var o=this;e(this,t);this.duetSlideoutEvent=i(this,"duetSlideoutEvent",7);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"};this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.hasStickyHeaderSlot=false;this.disconnectController=new AbortController;this.eventListenerController=new AbortController;this.setOpenButton=function(t,e){if(e===void 0){e=false}if(o.eventListenerController){o.eventListenerController.abort()}if(!t){o.openButton=undefined;return}try{var i=t;i.accessiblePopup="true";i.accessibleExpanded=false;o.openButton=i;if(e&&!o.disconnectController.signal.aborted){o.eventListenerController=new AbortController;o.openButton.addEventListener("click",o.openButtonEventListener,{signal:o.eventListenerController.signal})}}catch(t){console.error(t)}};this.setStickHeaderStyleMutations=function(t){if(t===void 0){t=false}var e=o.element.querySelectorAll('[slot="sticky-header"] duet-tab-group');e.forEach((function(e){e.style.position=t?null:"relative";e.style.top=t?null:"1px";e.switchLargeBreakpoint="always"}))};this.openButtonEventListener=function(t){o.onClick(t)};this.getOpenPanel=function(){return o.element.querySelector("duet-slideout-panel[open]")};this.toggleMenu=function(t){o.open=!o.open;o.duetSlideoutEvent.emit({originalEvent:t,data:{element:o.element,open:o.open},component:"duet-slideout"})};this.onClick=function(t){o.toggleMenu(t)};this.language=f();this.displaying=false;this.openPanel=false;this.theme="";this.accessibleRole="menubar";this.open=false;this.backgroundColor="gray-lightest";this.modal=true}Object.defineProperty(t.prototype,"opener",{get:function(){return this._opener},set:function(t){var e=typeof t==="string";var i=e?document.getElementById(t):t;if(this.openButton!==i){this._opener=t;this.setOpenButton(i,e)}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"controller",{get:function(){return this._opener},set:function(t){this.opener=t},enumerable:false,configurable:true});t.prototype.componentWillLoad=function(){a(this);this.hasStickyHeaderSlot=g(this.element,"sticky-header")};t.prototype.connectedCallback=function(){var t=this;h(this);if(this.disconnectController&&this.disconnectController.signal.aborted){this.disconnectController=new AbortController}if(!this.teleport){this.teleport=new m(this.element)}if(this.teleport){this.teleport.activate()}this.setStickHeaderStyleMutations();if(!this.mutationObserver){this.mutationObserver=new MutationObserver((function(){t.openPanel=!!t.getOpenPanel()}))}if(this.mutationObserver){this.mutationObserver.observe(this.element,{childList:true,attributeFilter:["open"],subtree:true})}};t.prototype.disconnectedCallback=function(){b(this);if(this.dialog&&this.modal){r(this.dialog)}if(this.mutationObserver){this.mutationObserver.disconnect()}if(this.disconnectController){this.disconnectController.abort()}this.setOpenButton(undefined);this.setStickHeaderStyleMutations(true)};t.prototype.handleOpenChange=function(t,e){var i=this;if(!!t===!!e){return}if(this.open&&!e){if(this.openButton){this.openButton.accessibleExpanded=true}var o=this.getOpenPanel();this.teleport.makeSiblingsInert();if(this.modal){u(this.dialog,{reserveScrollBarGap:true})}if(o){o.setFocus()}else{setTimeout((function(){i.closeButton.focus()}),200)}}else if(!this.open&&e){if(this.openButton){this.openButton.accessibleExpanded=false}setTimeout((function(){d(i.openButton);if(i.modal){r(i.dialog)}i.teleport.removeInertFromSiblings()}),200)}};t.prototype.handleKeyUp=function(t){if(c(t)){if(this.open){this.toggleMenu(t)}}};t.prototype.handleDocumentClick=function(t){if(!this.open){return}var e=t.composedPath();if(!e.includes(this.dialog)&&!e.includes(this.openButton)){this.toggleMenu(t)}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){(e=this.openButton)===null||e===void 0?void 0:e.focus(t);return[2]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=new CustomEvent("toggle");this.toggleMenu(t);setTimeout((function(){e.closeButton.focus()}),200);return[2]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.open){return[2]}this.setOpenButton(document.activeElement);this.toggleMenu(new CustomEvent("toggle"));return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.open){return[2]}this.toggleMenu(new CustomEvent("toggle"));return[2]}))}))};t.prototype.render=function(){var t=this;var e={background:v(this.backgroundColor,this.theme)};var i=p(this.topLevelOpenMenuBarLangObject);var s=p(this.exitLangObject);return o(n,{key:"fe91f1236ad42f599f366fcf6c2030169517ba6a"},o("div",{key:"832e4b4d67a42d002c6fd828167d9d787cd87f5d",class:{"duet-slideout":true,"duet-theme-turva":this.theme==="turva"}},this.modal&&o("duet-overlay",{key:"ef568330f5a0e3d6b79117cb42646640617f7452",visible:this.open,"display-device":"large",zIndex:"600"}),o("div",{key:"7472dc78c95a0be586d47cef18f993fae6fc1d28",ref:function(e){return t.dialog=e},tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":this.isSafariBrowser?false:true,"aria-flowto":"slot-container",class:{dialog:true,hidden:!this.open,modal:this.modal},style:e},o(l,{key:"fbd6da6a5049a4a9abbabd7d35b37e4ade4290a9",moveFocusTo:this.closeButton}),o("div",{key:"4494f6e119ba79c89c0296167d032ef5b2b30293",class:{"top-container":true,"has-sticky-header-slot":this.hasStickyHeaderSlot}},o("div",{key:"da4856ecf33f7f2b15e3ff24f16951f643966499",class:"top"},o("button",{key:"18fef5cc005227f6f9e53fb61266c5870057a6cc",ref:function(e){return t.closeButton=e},"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":"".concat(s),type:"button",class:{"slideout-close":true,active:this.open},onClick:this.onClick,inert:this.openPanel},o("duet-icon",{key:"2a153fc760fc9d19e253daed56047ab80803520a",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),o("div",{key:"28c33e636a705bdfe4ef475ee33b5952c0cdaa67",class:"sticky-header"},o("slot",{key:"d66cc6f6b1ea7e421cf3e96582698328dc42155c",name:"sticky-header"}))),o("div",{key:"ca3b44be8a54d1730e2de935e25379ce352c1908",id:"slot-container",role:this.accessibleRole,"aria-label":this.openPanel?i:null,class:{items:true}},o("slot",{key:"69bb591bb20a501b057ad8bb895f8cc68ffee1f9"})),o(l,{key:"d4e183c805da1723c2ed9848a07a1b7880f5533a",moveFocusTo:this.closeButton}))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return t}());x.style=k}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as o,g as a}from"./p-97fe4968.js";import{i}from"./p-aaa7a7bd.js";const n=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){i(this),this.element.querySelectorAll("duet-slideout-link").forEach((e=>{e.menuItem=!0}))}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"63e1ecfad4b3a99359297c7b4057cdcc8161a832"},t("div",{key:"461506ece0bb6e079c7cea22bc8ecfcbce9769aa",class:{"duet-slideout-panel-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open}},t("button",{key:"db9dd82a1a4f2bd4c58d13ca3b7223333acf8fe1",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active},onClick:this.onClick},this.icon&&t("duet-icon",{key:"a425d896cbba6af3d669ad764406dbd2949396ee",name:this.icon,size:"medium",margin:"none",color:"secondary"}),t("span",{key:"f0c2a72a77ac42db0e38cd3605a1e5478bf65ea9",class:"label"},t("slot",{key:"eb835a8dc87c277628dead143ccaf2ffa698af4d",name:"label"}),t("duet-icon",{key:"8f05a36f715ba855fc222f3a84bc5d8831786789",class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),t("div",{key:"f96a0657d877b6c12fdb4c019bb2401674f8e5b4",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"1510098d5bf5a1378f6a6f0b0fb4f8914db5802b"}))))}get element(){return a(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 44px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}';export{n as duet_slideout_panel_dropdown}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function o(e){try{s(n.next(e))}catch(e){r(e)}}function d(e){try{s(n["throw"](e))}catch(e){r(e)}}function s(e){e.done?i(e.value):a(e.value).then(o,d)}s((n=n.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:[]},n,a,r,o;return o={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function d(e){return function(t){return s([e,t])}}function s(d){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,d[0]&&(i=0)),i)try{if(n=1,a&&(r=d[0]&2?a["return"]:d[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,d[1])).done)return r;if(a=0,r)d=[d[0]&2,r.value];switch(d[0]){case 0:case 1:r=d;break;case 4:i.label++;return{value:d[1],done:false};case 5:i.label++;a=d[1];d=[0];continue;case 7:d=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(d[0]===6||d[0]===2)){i=0;continue}if(d[0]===3&&(!r||d[1]>r[0]&&d[1]<r[3])){i.label=d[1];break}if(d[0]===6&&i.label<r[1]){i.label=r[1];r=d;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(d);break}if(r[2])i.ops.pop();i.trys.pop();continue}d=t.call(e,i)}catch(e){d=[6,e];a=0}finally{n=r=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-d3960f14.system.js","./p-afad5fd3.system.js"],(function(e){"use strict";var t,i,n,a,r,o,d,s,u,l,h,c;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;r=e.g},function(e){o=e.i},function(e){d=e.c},function(e){s=e.g;u=e.h;l=e.c},function(e){h=e.f;c=e.w}],execute:function(){var f='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.vertical){margin-right:0 !important}:host(.horizontal){margin-bottom:0 !important;width:auto}:host(.horizontal) .duet-label .duet-label-content{max-width:100%}@media (min-width: 48em){:host(.horizontal-responsive){margin-right:28px !important;margin-bottom:0 !important;width:auto}:host(.horizontal-responsive):last-child,:host(.horizontal-responsive):last-of-type{margin-right:0 !important}:host(.horizontal-responsive) .duet-label .duet-label-content{max-width:100%}}:host(.duet-m-0){margin:0 !important}:host(:last-child:not(:only-child)){margin-right:0 !important;margin-bottom:0 !important}.duet-label{position:relative;z-index:100;display:flex;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77);word-break:break-word;overflow-wrap:break-word;cursor:pointer;background:transparent}.duet-theme-turva .duet-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-label .duet-label-content{flex-grow:1;font-size:1rem}.duet-label-hidden .duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-radio-container{position:relative;width:100%;height:100%}.duet-label::before{z-index:100;flex-shrink:0;width:20px;height:20px;margin:2px 10px 1px 1px;content:"";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:50%}.duet-theme-turva .duet-label::before{border-color:rgb(23, 28, 58)}.duet-label.focus::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-label.focus::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-label.checked::after{position:absolute;top:6px;left:5px;z-index:200;flex-shrink:0;width:12px;height:12px;content:"";background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-label.checked::after{background:rgb(23, 28, 58)}.duet-label.disabled{color:rgb(98, 121, 138)}.duet-theme-turva .duet-label.disabled{color:rgb(143, 147, 158)}.duet-label.disabled::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-label.disabled::before{border-color:rgb(143, 147, 158)}.duet-label.disabled.checked::before{border:1px solid rgb(127, 150, 165)}.duet-label.disabled.checked::after{background:rgb(127, 150, 165)}.duet-theme-turva .duet-label.disabled.checked::after{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}*::slotted([slot=input]){padding:14px !important;position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;cursor:pointer;opacity:0}*::slotted([slot=input][disabled]){cursor:default}';var b=f;var p=e("duet_radio",function(){function e(e){var n=this;t(this,e);this.duetChange=i(this,"duetChange",7);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.radioId=d("DuetRadio");this.radioInputListenersRemove=function(e){e.removeEventListener("change",n.onChange);e.removeEventListener("focus",n.onFocus);e.removeEventListener("blur",n.onBlur)};this.radioInputListenersAdd=function(e){e.addEventListener("change",n.onChange);e.addEventListener("focus",n.onFocus);e.addEventListener("blur",n.onBlur)};this.radioInputSetUp=function(){var e=n.element.querySelector("input[slot=input]");var t=e||document.createElement("input");t.slot="input";t.disabled=n.disabled||n.groupDisabled?true:undefined;t.id=n.identifier||n.radioId;t.type="radio";t.name=n.name;t.value=n.value;t.checked=n.checked;if(n.accessibleIndex){t.tabIndex=Number(n.accessibleIndex)}t.required=n.required;t.role=n.role;if(n.accessibleControls){t.setAttribute("aria-controls",n.accessibleControls)}if(n.accessibleActiveDescendant){t.setAttribute("aria-activedescendant",n.accessibleActiveDescendant)}if(n.accessibleOwns){t.setAttribute("aria-owns",n.accessibleOwns)}if(n.accessibleDescribedBy){t.setAttribute("aria-describedby",n.accessibleDescribedBy)}if(n.accessibleLabelledBy){t.setAttribute("aria-labelledby",n.accessibleLabelledBy)}if(n.accessibleDetails){t.setAttribute("aria-details",n.accessibleDetails)}if(n.accessibleDescription){t.setAttribute("aria-description",n.accessibleDescription)}if(n.hasLabel){var i=s(n.element,"label");t.ariaLabel=i.length>0?i[0].textContent:n.labelElement.textContent}else{t.ariaLabel=n.labelElement.textContent}if(e){n.radioInputListenersRemove(t)}else{n.element.appendChild(t)}n.radioInputListenersAdd(t);n.focusableElement=t};this.onClick=function(e){e.stopPropagation()};this.onChange=function(e){var t=n.focusableElement;var i=t.checked;n.checked=i;if(n.checked&&!n.blockEvents){n.duetChange.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-radio"})}};this.onBlur=function(e){n.focus=false;n.duetBlur.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-radio"})};this.onFocus=function(e){n.focus=true;n.duetFocus.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-radio"})};this.focus=false;this.accessibleActiveDescendant=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleIndex=undefined;this.margin="auto";this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.theme="";this.disabled=false;this.required=false;this.blockEvents=false;this.identifier=undefined;this.label="label";this.name=undefined;this.role=undefined;this.groupDisabled=undefined;this.groupDirection=undefined;this.groupResponsive=undefined;this.checked=undefined;this.value=undefined}e.prototype.componentWillLoad=function(){o(this);this.hasLabel=u(this.element,"label");if(this.value===undefined){this.value=this.identifier}};e.prototype.componentDidRender=function(){this.radioInputSetUp()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.focusableElement.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return n(a,{key:"a18e1bea800f34ba634ddbdd7ef3b2741ac05693",onClick:this.onClick,class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none"}},n("div",{key:"dd86df6b4f97f44ee5371a2e586d48eb6673e434",class:{"duet-radio-container":true,"duet-theme-turva":this.theme==="turva"}},n("slot",{key:"bf1968e5b50d89b25ccb6659f6b55450bf9c1d04",name:"input"}),n("label",{key:"3aa9841af26a9ad017a09c58e49f793a08f3d2a5",inert:true,ref:function(t){return e.labelElement=t},class:{"duet-label":true,checked:this.checked,focus:this.focus,disabled:this.disabled||this.groupDisabled}},n("div",{key:"83ebf1480f51c230592b3c03c35d14583c7ffa8c",class:"duet-label-content"},this.hasLabel?n("slot",{name:"label"}):this.label))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());p.style=b;var g="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}:host(.horizontal) .duet-radio-group{display:block}@media (min-width: 48em){:host(.horizontal) .duet-radio-group{display:flex}}:host(.horizontal) .duet-radio-group.duet-no-stacking{display:flex}.deut-radio-group{width:100%}";var m=g;var v=e("duet_radio_group",function(){function e(e){var i=this;t(this,e);this.onSelect=function(e){var t=e.target;if(t){i.value=t.value}e.cancelBubble=true};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.tooltip="";this.tooltipDirection="auto";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption="";this.responsive=false;this.value=undefined;this.disabled=undefined;this.required=false;this.accessibleLiveError="polite"}e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var i=this;return __generator(this,(function(n){switch(n.label){case 0:e=this.element;if(!(this.value===undefined))return[3,2];t=h(e,"duet-radio");if(!(t!==undefined))return[3,2];return[4,t.componentOnReady()];case 1:n.sent();if(this.value===undefined){this.value=t.value}n.label=2;case 2:this.mutationO=c(e,"duet-radio",(function(e){if(e!==undefined){e.componentOnReady().then((function(){i.value=e.value}))}else{i.updateRadios()}}));this.updateRadios();return[2]}}))}))};e.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};e.prototype.componentWillLoad=function(){o(this);l(this.element,"tooltip","duet-tooltip",1,true)};e.prototype.updateRadios=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,n,a,r;return __generator(this,(function(o){e=Array.from(this.element.querySelectorAll("duet-radio"));t=this.value;i=false;for(n=0,a=e;n<a.length;n++){r=a[n];r.name=this.name;r.required=this.required;r.groupDisabled=this.disabled;r.groupDirection=this.direction;r.groupResponsive=this.responsive;if(!i&&r.value===t){i=true;r.checked=true}else{r.checked=false}}if(!i){this.value=undefined}return[2]}))}))};e.prototype.render=function(){return n(a,{key:"06a0092d79d87d126c715a5f80fdca32f81c4260",onDuetChange:this.onSelect,class:{horizontal:this.direction==="horizontal"}},n("duet-fieldset",{key:"b480698152e4ba0f6096e22fe5b2d2ef5719c08f",label:this.label,labelHidden:this.labelHidden,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&n("duet-tooltip",{key:"0bbc2332af615b1d1534fdae79d39036dec09fd0",slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),n("slot",{key:"50b1bddedeb3504bd7ccccd813b537aedd68d213",name:"tooltip"}),n("div",{key:"dbfa825c2a57227ce0ca869e4c5d7081c6fb65fb",class:{"duet-radio-group":true,"duet-no-stacking":!this.responsive}},n("slot",{key:"96dd9c4c5a812fdad734d74fecaaf2b10d4fd513"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:["updateRadios"],value:["updateRadios"],disabled:["updateRadios"],direction:["updateRadios"],responsive:["updateRadios"]}},enumerable:false,configurable:true});return e}());v.style=m}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const _="rgb(0, 161, 212)",r="rgb(178, 180, 179)",o="rgb(11, 114, 136)",a="rgb(199, 12, 112)",l="rgb(122, 1, 196)",e="rgb(211, 36, 131)",c="rgb(161, 10, 78)",t="rgb(168, 1, 78)",g="rgb(213, 66, 3)",i="rgb(9, 129, 148)",s="rgb(169, 69, 124)",d="rgb(54, 74, 129)",u="rgb(23, 28, 58)",n="rgb(214, 28, 82)",x="rgb(255, 240, 243)",b="rgb(255, 211, 219)",m="rgb(89, 0, 45)",p="rgb(255, 173, 190)",y="rgb(252, 136, 162)",v="rgb(243, 98, 134)",h="rgb(255, 225, 231)",w="rgb(231, 62, 107)",z="rgb(214, 28, 82)",f="rgb(185, 16, 74)",k="rgb(153, 9, 66)",q="rgb(120, 4, 56)",S="rgb(214, 28, 82)",I="rgb(122, 1, 196)",U="rgb(0, 155, 204)",j="rgb(27, 171, 75)",A="rgb(255, 86, 34)",E="rgb(245, 76, 154)",B="rgb(194, 21, 101)",C="rgb(192, 101, 247)",F="rgb(0, 105, 191)",H="rgb(19, 120, 53)",M="rgb(179, 60, 24)",R="rgb(13, 163, 166)",O="rgb(11, 114, 136)",D="rgb(179, 137, 24)",G="rgb(128, 98, 17)",J="rgb(0, 41, 77)",K="rgb(181, 198, 208)",L="rgb(127, 150, 165)",N="rgb(143, 147, 158)",P="rgb(98, 121, 138)",Q="rgb(113, 118, 132)",T="rgb(212, 223, 229)",V="rgb(222, 224, 228)",W="rgb(245, 248, 250)",X="rgb(245, 247, 250)",Y="rgb(255, 255, 255)",Z="rgb(255, 255, 255)",$="rgb(199, 202, 207)",__="rgb(240, 247, 250)",r_="rgb(217, 236, 245)",o_="rgb(8, 42, 77)",a_="rgb(198, 225, 238)",l_="rgb(172, 210, 229)",e_="rgb(131, 188, 217)",c_="rgb(228, 241, 247)",t_="rgb(50, 153, 204)",g_="rgb(0, 119, 179)",i_="rgb(0, 97, 155)",s_="rgb(0, 75, 129)",d_="rgb(3, 56, 102)",u_="rgb(245, 248, 250)",n_="rgb(212, 223, 229)",x_="rgb(17, 28, 38)",b_="rgb(181, 198, 208)",m_="rgb(153, 174, 186)",p_="rgb(127, 150, 165)",y_="rgb(228, 236, 239)",v_="rgb(98, 121, 138)",h_="rgb(81, 105, 123)",w_="rgb(62, 84, 102)",z_="rgb(45, 64, 81)",f_="rgb(30, 45, 59)",k_="rgb(0, 119, 179)",q_="rgb(0, 75, 129)",S_="rgb(126, 2, 35)",I_="rgb(0, 97, 155)",U_="rgb(164, 4, 40)",j_="rgb(198, 225, 238)",A_="rgb(255, 185, 190)",E_="rgb(228, 241, 247)",B_="rgb(255, 227, 228)",C_="rgb(240, 247, 250)",F_="rgb(255, 241, 241)",H_="rgb(198, 12, 48)",M_="rgb(8, 42, 77)",R_="rgb(23, 28, 58)",O_="rgb(48, 131, 105)",D_="rgb(244, 250, 247)",G_="rgb(218, 246, 233)",J_="rgb(4, 38, 33)",K_="rgb(191, 239, 218)",L_="rgb(163, 229, 202)",N_="rgb(134, 215, 185)",P_="rgb(231, 248, 239)",Q_="rgb(105, 196, 166)",T_="rgb(77, 171, 143)",V_="rgb(48, 131, 105)",W_="rgb(29, 106, 88)",X_="rgb(13, 71, 59)",Y_="rgb(48, 131, 105)",Z_="rgb(245, 247, 250)",$_="rgb(222, 224, 228)",_r="rgb(8, 13, 38)",rr="rgb(199, 202, 207)",or="rgb(175, 178, 186)",ar="rgb(143, 147, 158)",lr="rgb(234, 235, 239)",er="rgb(113, 118, 132)",cr="rgb(98, 104, 122)",tr="rgb(71, 78, 101)",gr="rgb(45, 52, 79)",ir="rgb(23, 28, 58)",sr="rgb(255, 241, 241)",dr="rgb(255, 213, 215)",ur="rgb(51, 5, 20)",nr="rgb(255, 185, 190)",xr="rgb(252, 148, 158)",br="rgb(240, 102, 119)",mr="rgb(255, 227, 228)",pr="rgb(221, 49, 77)",yr="rgb(198, 12, 48)",vr="rgb(164, 4, 40)",hr="rgb(126, 2, 35)",wr="rgb(87, 4, 29)",zr="rgb(247, 178, 40)",fr="rgb(255, 251, 242)",kr="rgb(255, 244, 198)",qr="rgb(38, 26, 4)",Sr="rgb(255, 232, 160)",Ir="rgb(255, 217, 120)",Ur="rgb(255, 199, 79)",jr="rgb(255, 247, 221)",Ar="rgb(247, 178, 40)",Er="rgb(212, 151, 32)",Br="rgb(156, 110, 22)",Cr="rgb(126, 87, 16)",Fr="rgb(81, 55, 9)",Hr="rgb(247, 178, 40)",Mr="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Rr="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Or="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Dr="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Gr="1.25rem",Jr="1rem",Kr="0.875rem",Lr="1.5rem",Nr="0.75rem",Pr="2.25rem",Qr="3rem",Tr="4.5rem",Vr="-0.01rem",Wr="1.25",Xr="'(min-width: 62em)'",Yr="'(min-width: 48em)'",Zr="'(min-width: 36em)'",$r="'(min-width: 64.0625em)'",_o="'(max-width: 35.9375em)'",ro="'(min-width: 76.25em)'",oo="'(max-width: 22.5em)'",ao="'(min-width: 106.25em)'",lo="'(max-width: 20.5em)'",eo="0.30",co="0.50",to="0.75",go="0.85",io="12px",so="16px",uo="20rem",no="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)",xo="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)",bo="0 2px 6px 0 rgba(0, 41, 77, 0.07)",mo="0 2px 6px 0 rgba(117, 117, 117, 0.13)",po="0 0 0 1px #de2362",yo="0 0 0 1px #e55039",vo="0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3",ho="0 0 0 1px #0077b3",wo="0 0 0 1px #171c3a",zo="0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a",fo="0 2px 10px 0 rgba(0, 41, 77, 0.1)",ko="0 0 0 1px #909599",qo="0 0 0 1px #747475",So="0 2px 10px 0 rgba(117, 117, 117, 0.15)",Io="0 2px 20px 0 rgba(0, 0, 0, 0.2)",Uo="0 2px 10px 0 rgba(0, 41, 77, 0.07)",jo="0 2px 10px 0 rgba(117, 117, 117, 0.13)",Ao="8rem",Eo="4rem",Bo="30px",Co="24px",Fo="20px",Ho="36px",Mo="16px",Ro="48px",Oo="10px",Do="72px",Go="1110px",Jo="3rem",Ko="40px",Lo="30px",No="48px",Po="20px",Qo="16px",To="12px",Vo="28px",Wo="36px",Xo="48px",Yo="72px",Zo="94px",$o="300ms ease",_a="600ms ease",ra="-999999",oa=Object.freeze({__proto__:null,color_brand_blue:_,color_brand_gray_turva:r,color_category_family:o,color_category_family_turva:a,color_category_finance:l,color_category_home:e,color_category_home_turva:c,color_category_pet:t,color_category_travel:g,color_category_travel_turva:i,color_category_union_turva:s,color_category_vehicle:d,color_category_vehicle_turva:u,color_danger:n,color_danger_00:x,color_danger_100:b,color_danger_1000:m,color_danger_200:p,color_danger_300:y,color_danger_400:v,color_danger_50:h,color_danger_500:w,color_danger_600:z,color_danger_700:f,color_danger_800:k,color_danger_900:q,color_danger_turva:S,color_data_01:I,color_data_02:U,color_data_03:j,color_data_04:A,color_data_05:E,color_data_06:B,color_data_07:C,color_data_08:F,color_data_09:H,color_data_10:M,color_data_11:R,color_data_12:O,color_data_13:D,color_data_14:G,color_data_15:J,color_gray:K,color_gray_dark:L,color_gray_dark_turva:N,color_gray_darker:P,color_gray_darker_turva:Q,color_gray_light:T,color_gray_light_turva:V,color_gray_lighter:W,color_gray_lighter_turva:X,color_gray_lightest:Y,color_gray_lightest_turva:Z,color_gray_turva:$,color_lt_blue_00:__,color_lt_blue_100:r_,color_lt_blue_1000:o_,color_lt_blue_200:a_,color_lt_blue_300:l_,color_lt_blue_400:e_,color_lt_blue_50:c_,color_lt_blue_500:t_,color_lt_blue_600:g_,color_lt_blue_700:i_,color_lt_blue_800:s_,color_lt_blue_900:d_,color_lt_gray_00:u_,color_lt_gray_100:n_,color_lt_gray_1000:x_,color_lt_gray_200:b_,color_lt_gray_300:m_,color_lt_gray_400:p_,color_lt_gray_50:y_,color_lt_gray_500:v_,color_lt_gray_600:h_,color_lt_gray_700:w_,color_lt_gray_800:z_,color_lt_gray_900:f_,color_primary:k_,color_primary_dark:q_,color_primary_dark_turva:S_,color_primary_darker:I_,color_primary_darker_turva:U_,color_primary_light:j_,color_primary_light_turva:A_,color_primary_lighter:E_,color_primary_lighter_turva:B_,color_primary_lightest:C_,color_primary_lightest_turva:F_,color_primary_turva:H_,color_secondary:M_,color_secondary_turva:R_,color_success:O_,color_success_00:D_,color_success_100:G_,color_success_1000:J_,color_success_200:K_,color_success_300:L_,color_success_400:N_,color_success_50:P_,color_success_500:Q_,color_success_600:T_,color_success_700:V_,color_success_800:W_,color_success_900:X_,color_success_turva:Y_,color_turva_gray_00:Z_,color_turva_gray_100:$_,color_turva_gray_1000:_r,color_turva_gray_200:rr,color_turva_gray_300:or,color_turva_gray_400:ar,color_turva_gray_50:lr,color_turva_gray_500:er,color_turva_gray_600:cr,color_turva_gray_700:tr,color_turva_gray_800:gr,color_turva_gray_900:ir,color_turva_red_00:sr,color_turva_red_100:dr,color_turva_red_1000:ur,color_turva_red_200:nr,color_turva_red_300:xr,color_turva_red_400:br,color_turva_red_50:mr,color_turva_red_500:pr,color_turva_red_600:yr,color_turva_red_700:vr,color_turva_red_800:hr,color_turva_red_900:wr,color_warning:zr,color_warning_00:fr,color_warning_100:kr,color_warning_1000:qr,color_warning_200:Sr,color_warning_300:Ir,color_warning_400:Ur,color_warning_50:jr,color_warning_500:Ar,color_warning_600:Er,color_warning_700:Br,color_warning_800:Cr,color_warning_900:Fr,color_warning_turva:Hr,font_family_heading:Mr,font_family_heading_turva:Rr,font_family_text:Or,font_family_text_turva:Dr,font_size_large:Gr,font_size_medium:Jr,font_size_small:Kr,font_size_x_large:Lr,font_size_x_small:Nr,font_size_xx_large:Pr,font_size_xxx_large:Qr,font_size_xxxx_large:Tr,font_weight_bold:"700",font_weight_extra_bold:"800",font_weight_normal:"400",font_weight_semi_bold:"600",letter_spacing_heading:Vr,line_height_medium:"1.5",line_height_small:Wr,line_height_x_small:"1.1",media_query_large:Xr,media_query_medium:Yr,media_query_small:Zr,media_query_x_large:$r,media_query_x_small:_o,media_query_xx_large:ro,media_query_xx_small:oo,media_query_xxx_large:ao,media_query_xxx_small:lo,opacity_30:eo,opacity_50:co,opacity_75:to,opacity_85:go,radius_circle:"50%",radius_default:"4px",radius_intermediate:io,radius_large:so,radius_medium:"8px",radius_pill:uo,radius_sharp:"0",shadow_card:no,shadow_card_turva:xo,shadow_default:bo,shadow_default_turva:mo,shadow_error:po,shadow_error_turva:yo,shadow_focus:vo,shadow_focus_input:ho,shadow_focus_input_turva:wo,shadow_focus_turva:zo,shadow_hover:fo,shadow_hover_input:ko,shadow_hover_input_turva:qo,shadow_hover_turva:So,shadow_modal:Io,shadow_tooltip:Uo,shadow_tooltip_turva:jo,size_button_border:"1px",size_button_min_width:Ao,size_button_tiny_border:"1px",size_form_border:"1px",size_header:Eo,size_icon_large:Bo,size_icon_medium:Co,size_icon_small:Fo,size_icon_x_large:Ho,size_icon_x_small:Mo,size_icon_xx_large:Ro,size_icon_xx_small:Oo,size_icon_xxx_large:Do,size_icon_xxx_small:"7px",size_layout_max_width:Go,size_medium_border:"2px",size_navigation:Jo,size_step_medium:Ko,size_step_small:Lo,size_tappable_square:No,space_large:Po,space_medium:Qo,space_small:To,space_x_large:Vo,space_x_small:"8px",space_xx_large:Wo,space_xx_small:"4px",space_xxx_large:Xo,space_xxx_small:"2px",space_xxxx_large:Yo,space_xxxxx_large:Zo,transition_quickly:$o,transition_slowly:_a,z_index_deep:ra,z_index_default:"1",z_index_dropdown:"600",z_index_header:"400",z_index_mask:"200",z_index_mask_buttons:"250",z_index_masked:"100",z_index_modal:"900",z_index_overlay:"700",z_index_popup:"950",z_index_spinner:"800",z_index_sticky:"300",z_index_toast:"500",default:{color_brand_blue:_,color_brand_gray_turva:r,color_category_family:o,color_category_family_turva:a,color_category_finance:l,color_category_home:e,color_category_home_turva:c,color_category_pet:t,color_category_travel:g,color_category_travel_turva:i,color_category_union_turva:s,color_category_vehicle:d,color_category_vehicle_turva:u,color_danger:n,color_danger_00:x,color_danger_100:b,color_danger_1000:m,color_danger_200:p,color_danger_300:y,color_danger_400:v,color_danger_50:h,color_danger_500:w,color_danger_600:z,color_danger_700:f,color_danger_800:k,color_danger_900:q,color_danger_turva:S,color_data_01:I,color_data_02:U,color_data_03:j,color_data_04:A,color_data_05:E,color_data_06:B,color_data_07:C,color_data_08:F,color_data_09:H,color_data_10:M,color_data_11:R,color_data_12:O,color_data_13:D,color_data_14:G,color_data_15:J,color_gray:K,color_gray_dark:L,color_gray_dark_turva:N,color_gray_darker:P,color_gray_darker_turva:Q,color_gray_light:T,color_gray_light_turva:V,color_gray_lighter:W,color_gray_lighter_turva:X,color_gray_lightest:Y,color_gray_lightest_turva:Z,color_gray_turva:$,color_lt_blue_00:__,color_lt_blue_100:r_,color_lt_blue_1000:o_,color_lt_blue_200:a_,color_lt_blue_300:l_,color_lt_blue_400:e_,color_lt_blue_50:c_,color_lt_blue_500:t_,color_lt_blue_600:g_,color_lt_blue_700:i_,color_lt_blue_800:s_,color_lt_blue_900:d_,color_lt_gray_00:u_,color_lt_gray_100:n_,color_lt_gray_1000:x_,color_lt_gray_200:b_,color_lt_gray_300:m_,color_lt_gray_400:p_,color_lt_gray_50:y_,color_lt_gray_500:v_,color_lt_gray_600:h_,color_lt_gray_700:w_,color_lt_gray_800:z_,color_lt_gray_900:f_,color_primary:k_,color_primary_dark:q_,color_primary_dark_turva:S_,color_primary_darker:I_,color_primary_darker_turva:U_,color_primary_light:j_,color_primary_light_turva:A_,color_primary_lighter:E_,color_primary_lighter_turva:B_,color_primary_lightest:C_,color_primary_lightest_turva:F_,color_primary_turva:H_,color_secondary:M_,color_secondary_turva:R_,color_success:O_,color_success_00:D_,color_success_100:G_,color_success_1000:J_,color_success_200:K_,color_success_300:L_,color_success_400:N_,color_success_50:P_,color_success_500:Q_,color_success_600:T_,color_success_700:V_,color_success_800:W_,color_success_900:X_,color_success_turva:Y_,color_turva_gray_00:Z_,color_turva_gray_100:$_,color_turva_gray_1000:_r,color_turva_gray_200:rr,color_turva_gray_300:or,color_turva_gray_400:ar,color_turva_gray_50:lr,color_turva_gray_500:er,color_turva_gray_600:cr,color_turva_gray_700:tr,color_turva_gray_800:gr,color_turva_gray_900:ir,color_turva_red_00:sr,color_turva_red_100:dr,color_turva_red_1000:ur,color_turva_red_200:nr,color_turva_red_300:xr,color_turva_red_400:br,color_turva_red_50:mr,color_turva_red_500:pr,color_turva_red_600:yr,color_turva_red_700:vr,color_turva_red_800:hr,color_turva_red_900:wr,color_warning:zr,color_warning_00:fr,color_warning_100:kr,color_warning_1000:qr,color_warning_200:Sr,color_warning_300:Ir,color_warning_400:Ur,color_warning_50:jr,color_warning_500:Ar,color_warning_600:Er,color_warning_700:Br,color_warning_800:Cr,color_warning_900:Fr,color_warning_turva:Hr,font_family_heading:Mr,font_family_heading_turva:Rr,font_family_text:Or,font_family_text_turva:Dr,font_size_large:Gr,font_size_medium:Jr,font_size_small:Kr,font_size_x_large:Lr,font_size_x_small:Nr,font_size_xx_large:Pr,font_size_xxx_large:Qr,font_size_xxxx_large:Tr,font_weight_bold:"700",font_weight_extra_bold:"800",font_weight_normal:"400",font_weight_semi_bold:"600",letter_spacing_heading:Vr,line_height_medium:"1.5",line_height_small:Wr,line_height_x_small:"1.1",media_query_large:Xr,media_query_medium:Yr,media_query_small:Zr,media_query_x_large:$r,media_query_x_small:_o,media_query_xx_large:ro,media_query_xx_small:oo,media_query_xxx_large:ao,media_query_xxx_small:lo,opacity_30:eo,opacity_50:co,opacity_75:to,opacity_85:go,radius_circle:"50%",radius_default:"4px",radius_intermediate:io,radius_large:so,radius_medium:"8px",radius_pill:uo,radius_sharp:"0",shadow_card:no,shadow_card_turva:xo,shadow_default:bo,shadow_default_turva:mo,shadow_error:po,shadow_error_turva:yo,shadow_focus:vo,shadow_focus_input:ho,shadow_focus_input_turva:wo,shadow_focus_turva:zo,shadow_hover:fo,shadow_hover_input:ko,shadow_hover_input_turva:qo,shadow_hover_turva:So,shadow_modal:Io,shadow_tooltip:Uo,shadow_tooltip_turva:jo,size_button_border:"1px",size_button_min_width:Ao,size_button_tiny_border:"1px",size_form_border:"1px",size_header:Eo,size_icon_large:Bo,size_icon_medium:Co,size_icon_small:Fo,size_icon_x_large:Ho,size_icon_x_small:Mo,size_icon_xx_large:Ro,size_icon_xx_small:Oo,size_icon_xxx_large:Do,size_icon_xxx_small:"7px",size_layout_max_width:Go,size_medium_border:"2px",size_navigation:Jo,size_step_medium:Ko,size_step_small:Lo,size_tappable_square:No,space_large:Po,space_medium:Qo,space_small:To,space_x_large:Vo,space_x_small:"8px",space_xx_large:Wo,space_xx_small:"4px",space_xxx_large:Xo,space_xxx_small:"2px",space_xxxx_large:Yo,space_xxxxx_large:Zo,transition_quickly:$o,transition_slowly:_a,z_index_deep:ra,z_index_default:"1",z_index_dropdown:"600",z_index_header:"400",z_index_mask:"200",z_index_mask_buttons:"250",z_index_masked:"100",z_index_modal:"900",z_index_overlay:"700",z_index_popup:"950",z_index_spinner:"800",z_index_sticky:"300",z_index_toast:"500"}});export{Xr as a,Zr as b,ro as c,Jr as f,Yr as m,oa as t}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register([],(function(t){"use strict";return{execute:function(){var i=function(){function t(t,i){this.skipInert=["duet-tooltip-popup"];this.isActive=false;this.element=t;this.target=i||document.body;this.teleportId="".concat(Math.random(),"-").concat(Date.now()).substring(2)}t.prototype.activate=function(){if(this._isTeleportSkipped()||this.isActive){return}this.isActive=true;this._activate()};t.prototype.deactivate=function(){if(this._isTeleportSkipped()||!this.isActive){return}this.isActive=false;this._deactivate()};t.prototype.makeSiblingsInert=function(){if(this._isTeleportSkipped()||!this.isActive){return}this._makeSiblingsInert()};t.prototype.removeInertFromSiblings=function(t){if(t===void 0){t=0}if(this._isTeleportSkipped()||!this.isActive){return}if(t){setTimeout(this._removeInertFromSiblings.bind(this),t)}else{this._removeInertFromSiblings()}};t.prototype._isTeleportSkipped=function(){var t=this.element.getAttribute("skip-teleport");return t!==null&&t!=="false"};t.prototype._activate=function(){if(!this.element.dataset.reactPortal){this.stub=document.createElement("template");this.element.insertAdjacentElement("afterend",this.stub);this.target.appendChild(this.element)}this.deletionObserver=new MutationObserver(this._deletionObserverCallback.bind(this));this.deletionObserver.observe(document.documentElement,{childList:true,subtree:true})};t.prototype._deactivate=function(){if(!this.element.dataset.reactPortal){this.stub.insertAdjacentElement("beforebegin",this.element);this.stub.remove()}this._removeInertFromSiblings();this.deletionObserver.disconnect()};t.prototype._remove=function(){var t,i;if(!this.element.dataset.reactPortal){(t=this.element)===null||t===void 0?void 0:t.remove();(i=this.stub)===null||i===void 0?void 0:i.remove()}this._removeInertFromSiblings();this.deletionObserver.disconnect()};t.prototype._makeSiblingsInert=function(){var t=this;var i=Array.from(this.target.children);i.forEach((function(i){if(i!==t.element&&!t.skipInert.includes(i.nodeName.toLowerCase())){i.dataset.duetTeleportId=(i.dataset.duetTeleportId||"")+t.teleportId;i.inert=true}}))};t.prototype._removeInertFromSiblings=function(){var t=this;var i=Array.from(this.target.children);i.forEach((function(i){var s;if((s=i.dataset.duetTeleportId)===null||s===void 0?void 0:s.includes(t.teleportId)){i.dataset.duetTeleportId=i.dataset.duetTeleportId.replace(t.teleportId,"");if(i.dataset.duetTeleportId===""){delete i.dataset.duetTeleportId;i.inert=false}}}))};t.prototype._deletionObserverCallback=function(t){var i=this;t.forEach((function(t){if(Array.from(t.removedNodes).includes(i.element)||Array.from(t.removedNodes).some((function(t){return t.contains(i.stub)}))){i._remove()}}))};return t}();t("T",i)}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,n,t,i){function r(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,a){function o(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i["throw"](e))}catch(e){a(e)}}function c(e){e.done?t(e.value):r(e.value).then(o,u)}c((i=i.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(n){return c([e,n])}}function c(u){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(t=0)),t)try{if(i=1,r&&(a=u[0]&2?r["return"]:u[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;if(r=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:t.label++;return{value:u[1],done:false};case 5:t.label++;r=u[1];u=[0];continue;case 7:u=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){t.label=u[1];break}if(u[0]===6&&t.label<a[1]){t.label=a[1];a=u;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(u);break}if(a[2])t.ops.pop();t.trys.pop();continue}u=n.call(e,t)}catch(e){u=[6,e];r=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var n,t,i,r,a;return{setters:[function(e){n=e.r;t=e.c;i=e.h;r=e.H},function(e){a=e.i}],execute:function(){var o="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container{display:flex;flex-direction:row;gap:8px;align-items:center}.container .label{margin-bottom:8px}";var u=o;var c=e("duet_file_chooser",function(){function e(e){var i=this;n(this,e);this.duetChange=t(this,"duetChange",3);this.onChange=function(e){e.preventDefault();e.stopPropagation();i.duetChange.emit({originalEvent:e,data:{files:i.nativeInput.files},component:"duet-file-chooser"})};this.theme="";this.multiple=false;this.accept=undefined}e.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){(e=this.nativeInput)===null||e===void 0?void 0:e.click();return[2]}))}))};e.prototype.getFiles=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.nativeInput.files]}))}))};e.prototype.componentWillLoad=function(){a(this)};e.prototype.render=function(){var e=this;return i(r,{key:"fa488300deb51d9bc5eb5bbe2ad484047f82eaee"},i("duet-visually-hidden",{key:"b6eaeee61a64ae8c9e872c909f73e1cb3d8b4ac4","aria-hidden":"true"},i("input",{key:"f5107c8dd70020263f0d4f06b4c5b1ff1d4c9936",ref:function(n){e.nativeInput=n},type:"file",class:{"duet-upload":true},"aria-hidden":"true",tabIndex:-1,onChange:this.onChange,multiple:this.multiple,accept:this.accept})))};return e}());c.style=u}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as o,H as a,g as t}from"./p-97fe4968.js";import{i as n}from"./p-aaa7a7bd.js";import{f as r}from"./p-a45e3f8b.js";const i=class{constructor(o){e(this,o),this.getVariant=()=>(this.element.parentElement.parentElement.getAttribute("slot"),"right"),this.theme="",this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){n(this)}handleEscape(e){if(r(e)){const e=this.element.closest("duet-menu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return o(a,{key:"b39d6abeefb119284682cca93010dbe3de43db7c"},o("a",{key:"74baeaeef4fd9523c156b10c62e4fd783869b541",class:{"duet-menu-bar-dropdown-link":!0,[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]:!0,"duet-theme-turva":"turva"===this.theme},href:this.href,role:"menuitem",onKeyUp:e=>this.handleEscape(e),"aria-label":this.accessibleLabel},this.icon&&o("duet-icon",{key:"9893a49e6d869071ab120a38392e6d8b192a3ba4",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("slot",{key:"4cf3bc62d7951ed784aae771602e15f03e4d2e92"})))}get element(){return t(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-menu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}';export{i as duet_menu_bar_dropdown_link}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,n,a,i,r,o;return{setters:[function(e){t=e.r;n=e.h;a=e.H;i=e.g},function(e){r=e.i},function(e){o=e.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-submenu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 75, 129)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}.duet-submenu-bar-link.active.duet-theme-turva{color:rgb(126, 2, 35)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}}.duet-submenu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-link:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}}';var b=u;var s=e("duet_submenu_bar_link",function(){function e(e){t(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined}e.prototype.componentWillLoad=function(){r(this)};e.prototype.handleEscape=function(e){if(o(e)){var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return n(a,{key:"501c03cd429ff36b4500a5a0e75ddd8e5b49a1bf",role:"listitem"},n("a",{key:"422a173b44d4b21ca6f1826676669ba8d5e9a774",class:{"duet-submenu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,onKeyUp:function(t){return e.handleEscape(t)},"aria-current":this.active?"true":"false"},this.icon&&n("duet-icon",{key:"2b65b8820b017fa6b2a8b66707f5b0bb116959e9",class:"submenu-bar-link-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),n("span",{key:"38a0a9ff428aee13c59c07346c0c0217a074280f",class:"label"},n("slot",{key:"74d157331532709ca0d1ad1009c68613dd0da891"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());s.style=b}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-4289c19b.system.js","./p-e4c8559c.system.js","./p-e216bea4.system.js","./p-74aa0f9d.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,n,a,o,r,s,d,h;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;o=e.g},function(e){r=e.a;s=e.c},function(e){d=e.i},function(e){h=e.a},function(){}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{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)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';var c=u;var b=e("duet_menu_bar",function(){function e(e){var n=this;t(this,e);this.duetEvent=i(this,"duetEvent",7);this.mql=[window.matchMedia(r.replace(/'/g,"")),window.matchMedia(s.replace(/'/g,""))];this.boundMqlFunctions=[];this.previousYScroll=0;this.scrollbarCheck=function(){n.leftMoreVisible=n.container.scrollLeft>0;n.rightMoreVisible=n.container.scrollLeft!==n.container.scrollWidth-n.container.clientWidth};this.scrollToActive=function(){var e=n.element.querySelectorAll("[active]");var t;e.forEach((function(e){if(e.active){t=e}}));if(t&&t.offsetLeft){if(t.offsetLeft>50){n.container.scrollLeft=t.offsetLeft-n.element.getBoundingClientRect().width/2+t.offsetWidth/2}}};this.checkCenterSlot=function(){var e=n.element.querySelector('[slot="center"]');n.centerSlotUsed=!!e};this.changeLogoSize=function(){n.checkCenterSlot();if(n.mql[1].matches&&n.centerSlotUsed){n.logoSize="large"}else{n.logoSize="medium"}};this.handleLogoClick=function(e){n.duetEvent.emit({name:"logoClick",component:"duet-menu-bar",data:{logoHref:n.logoHref},originalEvent:e})};this.hidden=false;this.onBottom=false;this.logoSize="large";this.leftMoreVisible=false;this.rightMoreVisible=false;this.centerSlotUsed=false;this.theme="";this.language=h();this.logo=true;this.logoHref=undefined;this.logoLinkAccessibleLabel=undefined;this.accessibleLabel=undefined;this.hideOnScroll=false}e.prototype.checkScroll=function(){var e=this;if(!this.hideOnScroll){return}if(window.scrollY>this.previousYScroll){if(window.scrollY>100){if(this.hideOnScroll){clearTimeout(this.zindexTimer);this.onBottom=true}this.hidden=true}}else{if(window.scrollY<150){if(this.hideOnScroll){this.zindexTimer=setTimeout((function(){e.onBottom=false}),300)}this.hidden=false}}this.previousYScroll=window.scrollY};e.prototype.componentWillLoad=function(){d(this)};e.prototype.connectedCallback=function(){this.changeLogoSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeLogoSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}this.checkCenterSlot()};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.componentDidLoad=function(){var e=this;setTimeout((function(){e.scrollbarCheck();e.scrollToActive();e.checkCenterSlot()}),0)};e.prototype.onWindowResize=function(){var e=this;clearTimeout(this.resizeTimer);this.resizeTimer=setTimeout((function(){e.scrollToActive()}),100)};e.prototype.render=function(){var e=this;var t=document.querySelectorAll("duet-slideout").length>0;var i=t&&!this.logo;return n(a,{key:"2806e546f0b4823b180688e24a1841b9aafd6774"},n("nav",{key:"c45eb60c35664a8ac5dced9832ee63208b8c7225",class:{"duet-menu-bar":true,"duet-theme-turva":this.theme==="turva","horizontal-nav":i,"duet-menu-bar-slim":!this.centerSlotUsed,hidden:this.hidden&&this.hideOnScroll,bottom:this.onBottom},"aria-label":this.accessibleLabel},n("div",{key:"b6a16bce29e1b81e6502e714683e15a279e7c662",class:"top"}),n("div",{key:"1ae700211398deb7992c463fe99999d087d2639e",class:{container:true},ref:function(t){return e.container=t},onScroll:function(){return e.scrollbarCheck()}},this.logo&&n("div",{key:"6c3dc654cdd3ab0e60dffe0831369aa746bc856e"},n("duet-logo",{key:"a96f4a5b7c094eacc86257bfbd4a2ee795ac91c9",size:this.logoSize,margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language})),n("div",{key:"b700b265b6a2d2cf1f549bfa4255311e9b5bf079",class:"list center",role:"list"},n("div",{key:"a337cbd6eee413466db04ca5043b0b91f075ddcd",class:"more-left",hidden:!this.leftMoreVisible,role:"presentation"}),n("slot",{key:"24f82b638b9b7c8e303457b942d2af2c7ca5b44a",name:"center"}),n("div",{key:"61536a9392b37f03efafab4b6e377257e105bc26",class:"more-right",hidden:!this.rightMoreVisible,role:"presentation"})),n("div",{key:"29ebefa1b48bb02fe52ea04a1ac0a78ca4909bd3",class:"list right",role:"list"},n("slot",{key:"aca152186c8f2cb25f0a85bf5cb27cb5f3cc7317",name:"right"}))),n("div",{key:"657155788a9aab9cc1d29ccc22bc9e982e089d77",class:"bottom"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());b.style=c}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function c(e){try{u(n["throw"](e))}catch(e){o(e)}}function u(e){e.done?i(e.value):r(e.value).then(a,c)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(e){return function(t){return u([e,t])}}function u(c){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(i=0)),i)try{if(n=1,r&&(o=c[0]&2?r["return"]:c[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;if(r=0,o)c=[c[0]&2,o.value];switch(c[0]){case 0:case 1:o=c;break;case 4:i.label++;return{value:c[1],done:false};case 5:i.label++;r=c[1];c=[0];continue;case 7:c=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(c[0]===6&&i.label<o[1]){i.label=o[1];o=c;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(c);break}if(o[2])i.ops.pop();i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e];r=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-74aa0f9d.system.js","./p-ba03d034.system.js","./p-0dc9089b.system.js","./p-054f5ec6.system.js","./p-f6b21d17.system.js","./p-053b71e6.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,n,r,o,a,c,u,s,d,h,p,l,f,b,m,g,v,k,x,y,w,_,j;return{setters:[function(e){t=e.r;i=e.c;n=e.h;r=e.H;o=e.g},function(e){a=e.i},function(e){c=e.c},function(e){u=e.s;s=e.u;d=e.q;h=e.f;p=e.c;l=e.b;f=e.o},function(e){b=e.g},function(e){m=e.I},function(e){g=e.o;v=e.f;k=e.s;x=e.c;y=e.b},function(e){w=e.f},function(e){_=e.T},function(e){j=e.a},function(){}],execute:function(){var z='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;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:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}';var C=z;var S=e("duet_chip",function(){function e(e){var n=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.duetRemove=i(this,"duetRemove",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.chipId=c("DuetChip");this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"};this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"};this.enforceNoDisabledSelected=function(){if(n.disabled&&n.checked){console.error("Duet error: pre-selected chip may not be disabled");n.disabled=false}};this.radioInputListenersRemove=function(e){e.removeEventListener("change",n.onRadioChange);e.removeEventListener("click",n.onRadioClick);e.removeEventListener("focus",n.onFocus);e.removeEventListener("blur",n.onBlur)};this.radioInputListenersAdd=function(e){e.addEventListener("change",n.onRadioChange);e.addEventListener("click",n.onRadioClick);e.addEventListener("focus",n.onFocus);e.addEventListener("blur",n.onBlur)};this.radioInputSetUp=function(){var e=n.element.querySelector("input[slot=input]");var t=e||document.createElement("input");t.slot="input";t.ariaDisabled=n.disabled?"true":undefined;t.id=n.identifier||n.chipId;t.type="radio";t.name=n.name;t.value=n.value;t.checked=n.checked;t.ariaLabel=n.element.textContent;if(e){n.radioInputListenersRemove(t)}else{n.element.appendChild(t)}n.radioInputListenersAdd(t);n.focusableElement=t};this.popupSetUp=function(){var e=document.querySelector("duet-popup-menu#".concat(n.popup));if(e){n.popupElement=e;e.controller=n.element;var t=n.element.textContent;var i=n.value;if(!e.id){e.id="popup-menu"}e.addEventListener("duetToggle",(function(e){n.popupOpen=e.detail.open}));var r=function(){e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.active=false}))};e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.addEventListener("click",(function(o){var a;var c=(a=e.value)!==null&&a!==void 0?a:e.innerText;if(!e.active){r();e.active=true;n.element.textContent=e.innerText;n.value=c;n.checked=true}else{r();n.element.textContent=t;n.value=i;n.checked=false}n.emitChange(o);setTimeout((function(){if(n.popupElement.isOpen()){n.popupElement.hide()}}))}))}))}};this.onFocus=function(e){n.focus=true;n.duetFocus.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onBlur=function(e){n.focus=false;n.duetBlur.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.emitChange=function(e){n.duetChange.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onFilterChange=function(e){n.checked=!n.checked;n.emitChange(e)};this.onRadioChange=function(e){var t=n.focusableElement;var i=t.checked;n.checked=i;n.emitChange(e)};this.onRadioClick=function(e){if(n.disabled){e.preventDefault()}};this.onFilterClick=function(e){if(n.disabled){e.stopPropagation();e.preventDefault();return}if(n.popupElement){e.stopPropagation();e.preventDefault();n.popupElement.toggle()}};this.onRemoveClick=function(e){e===null||e===void 0?void 0:e.stopPropagation();e===null||e===void 0?void 0:e.preventDefault();n.duetRemove.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"});n.element.remove()};this.focus=false;this.popupElement=undefined;this.popupOpen=undefined;this.inputChipHover=false;this.inputChipDeleteFocus=false;this.accessibleLabel=undefined;this.variation="button";this.size="medium";this.popup=undefined;this.icon="";this.theme="";this.identifier=undefined;this.value=undefined;this.name=undefined;this.selected=false;this.checked=false;this.disabled=false;this.accessibleExpanded=undefined;this.accessiblePopup="false"}e.prototype.clearOtherRadioButtons=function(){var e=this;if(this.variation==="radio"&&this.checked){var t=document.querySelectorAll('duet-chip[variation="radio"][name="'.concat(this.name,'"]'));t.forEach((function(t){if(t!==e.element){t.checked=false}}))}};e.prototype.componentWillLoad=function(){a(this);this.popupSetUp();this.enforceNoDisabledSelected()};e.prototype.connectedCallback=function(){u(this)};e.prototype.disconnectedCallback=function(){s(this)};e.prototype.componentDidRender=function(){if(this.variation==="radio"){this.radioInputSetUp()}};e.prototype.getAccessibleExpanded=function(){if(this.accessibleExpanded!=null){return(!!this.accessibleExpanded).toString()}if(this.popupElement){return this.popupOpen?"true":"false"}return undefined};e.prototype.getAccessiblePopup=function(){if(this.popupElement){return"true"}else{return this.accessiblePopup!=null?this.accessiblePopup.toString():undefined}};e.prototype.getAccessibleDeleteLabel=function(){return"".concat(b(this.deleteLabels)," ").concat(this.element.textContent)};e.prototype.getAccessibleInputChipLabel=function(){return"".concat(this.element.textContent).concat(this.selected?" (".concat(b(this.selectedForDeletionLabels),") "):"",",")};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){d();setTimeout((function(){return t.focusableElement.focus(e)}),200);return[2]}))}))};e.prototype.setDeleteFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){setTimeout((function(){return e.deleteButtonElement.focus()}),200);return[2]}))}))};e.prototype.removeChip=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.onRemoveClick();return[2]}))}))};e.prototype.render=function(){var e,t;var i=this;var o;var a=this.identifier||this.chipId;var c=(e={"duet-chip-container":true},e["duet-chip-".concat(this.variation)]=true,e["duet-chip-focus"]=this.focus,e["duet-chip-selected"]=this.selected,e["duet-chip-hover"]=this.inputChipHover,e["duet-chip-delete-focus"]=this.inputChipDeleteFocus,e["duet-chip-has-icon"]=!!this.icon,e["duet-chip-has-popup"]=this.variation==="filter"&&!!this.popupElement,e["duet-theme-turva"]=this.theme==="turva",e["duet-chip-filter-checked"]=this.variation==="filter"&&this.checked,e["duet-chip-radio-checked"]=this.variation==="radio"&&this.checked,e["duet-chip-filter-popup-open"]=this.popupOpen,e["duet-chip-disabled"]=this.disabled,e[this.size]=true,e);var u={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return i.focusableElement=e}};return n(r,{key:"5ddf4eae8cb9deb9390f694c3a0a1bc9981d4359",class:(t={},t[this.variation]=true,t)},this.variation==="button"&&n("span",{key:"121adcccdad8d637a2fc60482831f988948e2ac7",class:c},n("button",Object.assign({key:"6862bfd33573fa7a7cf74a80abb28edb7b1d31af",id:a,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,name:this.name,value:this.value,onClick:this.disabled?function(e){return e.stopPropagation()}:undefined},u),n("span",{key:"16cdf94c6a9d411ed7dcdfd91fedb3653631382f",class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{key:"d913024eebba49b2f489c6859c8b0fb5395752cf",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",{key:"0c90ce6861f802bec7d4d9462fdd08e7b8130179"}))),this.variation==="input"&&n("span",{key:"55ddebe4c051b4806e58275c3c500e594c7bbe24",class:c,"aria-label":this.getAccessibleInputChipLabel()},n("button",Object.assign({key:"e37c4f5cc015d6487de4a65c3339369a4e89962e",id:a,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:function(){return i.inputChipHover=true},onMouseOut:function(){return i.inputChipHover=false},onClick:function(){return i.selected=!i.selected}},u),n("span",{key:"b213a65e417e8a1900d42b19c59f8d7c9ef2fa94",class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{key:"235ba630d4861c5b89074208bfe8bec3aafc4cb2",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",{key:"4952f588693c543bb5e940e62ad82a2afc1828a0"})),n("button",{key:"e92f1e564b70b2041845bb3d25f3dd02277d2eae",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:function(){return i.inputChipDeleteFocus=true},onBlur:function(){return i.inputChipDeleteFocus=false},ref:function(e){return i.deleteButtonElement=e}},n("duet-icon",{key:"14ee83c2409dc44690e041ee80542d555e7f1e93",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),this.variation==="filter"&&n("span",{key:"b1ca9ec7ec6fce48f4c33d2029ccd043a79dd803",class:c},n("input",Object.assign({key:"dbbf118c242b3a04c7df17eaf04a6f27fcc0eb40","aria-haspopup":this.getAccessiblePopup(),"aria-controls":(o=this.popupElement)===null||o===void 0?void 0:o.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,id:a,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},u)),n("label",{key:"898206f44f12092a9d4d695a8e7d09a56297671f",htmlFor:a},this.icon&&n("span",{key:"0c337ba4f6e48d81752ff411e467f346fc87c311",class:"duet-chip-icon-container"},n("duet-icon",{key:"a24f796b0817c43c51e3e1676ab9d65a4fe07ad3",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{key:"955cf61a6b57d6edc3c8d8350fb469efffad3803",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",{key:"8f0b8996230a8dfe83414e89b7c796121de41526"}),this.popupElement&&n("span",{key:"37a42083a01d64d81bec08dcb9464ec450e17820",class:"duet-chip-popup-disclosure"},n("duet-icon",{key:"cb1d4646dd01cee1b69d45988aba671e8d606a91",name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),this.variation==="radio"&&n("span",{key:"89d0d76772a7ff76799ee9d60329ca3dd81b7fd8",class:c},n("slot",{key:"391e609c08ee02a3b4153e5509736db840803e85",name:"input"}),n("label",{key:"233a831ddd3e6e850c69f4300f28b2b33a6c7dd3",htmlFor:a},this.icon&&n("span",{key:"90edf79133173465641029aa158d36a568a31cfa",class:"duet-chip-icon-container"},n("duet-icon",{key:"a055c58682160fac0822611b692264e0bedb7b6c",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{key:"14ca6369602be7c44b16ee89eabd77e3c26bb941",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",{key:"63635381228bc16fc8f12cfed491dda50ce188a4"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["clearOtherRadioButtons"]}},enumerable:false,configurable:true});return e}());S.style=C;var O="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";var E=O;var A=e("duet_popup_menu",function(){function e(e){var n=this;t(this,e);this.duetToggle=i(this,"duetToggle",7);this.setOpenButton=function(e){if(!e){return}try{var t=e;t.accessiblePopup="true";t.accessibleExpanded=false;if(n.controllerIcon){t.setAttribute("trailing-icon","action-arrow-down-small")}n.openButton=t}catch(e){}};this.openButtonEventListener=function(){n.toggle()};this.updatePlacement=function(){return __awaiter(n,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){switch(i.label){case 0:if(!this.openButton){return[2]}e=[g({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&v(),k({padding:5})].filter(Boolean);return[4,x(this.openButton,this.menuElement,{middleware:e,placement:this.placement,strategy:this.position})];case 1:t=i.sent();this.menuY=t.y;this.menuX=t.x;return[2]}}))}))};this.open=false;this.menuY=undefined;this.menuX=undefined;this.accessibleLabel=undefined;this.accessibleRole="menu";this.theme="";this.skipTeleport=undefined;this.placement="bottom-start";this.forcePlacement=false;this.allowVerticalFlip=true;this.position="absolute";this.mainAxisOffset=0;this.crossAxisOffset=0;this.controllerIcon="action-arrow-down-small";this.scrollLimit=undefined}Object.defineProperty(e.prototype,"controller",{get:function(){return this._controller},set:function(e){if(this._controller===e){return}this._controller=e;if(typeof e==="string"){this.setOpenButton(document.getElementById(e));if(this.openButton){this.openButton.addEventListener("click",this.openButtonEventListener)}}else{this.setOpenButton(e)}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"opener",{get:function(){return this._controller},set:function(e){this.controller=e},enumerable:false,configurable:true});e.prototype.componentWillLoad=function(){a(this)};e.prototype.componentDidLoad=function(){{this.updatePlacement()}};e.prototype.connectedCallback=function(){if(!this.teleport){this.teleport=new _(this.element)}if(this.teleport){this.teleport.activate()}};e.prototype.disconnectedCallback=function(){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}if(this.openButton){this.openButton.removeEventListener("click",this.openButtonEventListener);if(this.controllerIcon){this.openButton.removeAttribute("trailing-icon")}}};e.prototype.handleKeyUp=function(e){if(this.open){if(h(e)){this.hide()}}};e.prototype.handleKeyDown=function(e){return __awaiter(this,void 0,void 0,(function(){var t,t;return __generator(this,(function(i){switch(i.label){case 0:if(!this.open)return[3,5];if(!p(e))return[3,2];e.preventDefault();return[4,this.getFocusedItemIndex()];case 1:t=i.sent();if(t!==-1){if(t<this.itemElements.length-1){this.itemElements[t+1].setFocus()}else{this.itemElements[0].setFocus()}}i.label=2;case 2:if(!l(e))return[3,4];e.preventDefault();return[4,this.getFocusedItemIndex()];case 3:t=i.sent();if(t!==-1){if(t===0){this.itemElements[this.itemElements.length-1].setFocus()}else{this.itemElements[t-1].setFocus()}}i.label=4;case 4:if(f(e)&&this.accessibleRole==="menu"){e.preventDefault();this.hide()}i.label=5;case 5:return[2]}}))}))};e.prototype.handleClick=function(e){var t=this;var i=e.composedPath().every((function(e){return e!==t.element&&e!==t.openButton}));if(this.open&&i){this.hide()}};e.prototype.isOpen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.open]}))}))};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.open=true;return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}this.open=false;return[2]}))}))};e.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.open){this.hide()}else{this.show()}return[2]}))}))};e.prototype.handleOpenChange=function(e,t){var i=this;if(!!e===!!t){return}if(this.open&&!t){if(this.openButton){this.openButton.accessibleExpanded=true}if(this.accessibleRole!=="listbox"){this.teleport.makeSiblingsInert()}this.updatePlacement();if(this.menuElement&&this.openButton){this.autoUpdateCleanup=y(this.openButton,this.menuElement,this.updatePlacement)}setTimeout((function(){if(i.accessibleRole==="menu"){i.itemElements[0].setFocus()}i.duetToggle.emit({open:i.open,component:"duet-popup-menu"})}),200)}else if(!this.open&&t){if(this.openButton){this.openButton.accessibleExpanded=false}if(this.autoUpdateCleanup){this.autoUpdateCleanup()}setTimeout((function(){if(i.accessibleRole==="menu"){w(i.openButton)}i.duetToggle.emit({open:i.open,component:"duet-popup-menu"});if(i.accessibleRole!=="listbox"){i.teleport.removeInertFromSiblings()}}),200)}};Object.defineProperty(e.prototype,"itemElements",{get:function(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"popupMenuStyleHeight",{get:function(){var e=":scope duet-popup-menu-item, :scope duet-notification";var t=Array.from(this.element.querySelectorAll(e));if(t.length>0&&this.scrollLimit){var i=Number(m.replace("px",""))*2;return"".concat(t[0].offsetHeight*this.scrollLimit+i,"px")}else{return"auto"}},enumerable:false,configurable:true});e.prototype.getFocusedItemIndex=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){switch(i.label){case 0:e=this.itemElements;t=0;i.label=1;case 1:if(!(t<e.length))return[3,4];return[4,e[t].isFocused()];case 2:if(i.sent()){return[2,t]}i.label=3;case 3:t++;return[3,1];case 4:return[2,-1]}}))}))};e.prototype.render=function(){var e=this;var t={top:"".concat(this.menuY,"px"),left:"".concat(this.menuX,"px"),position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight};return n(r,{key:"90582d3282b14880a32333351bb6620f6d44eff1"},n("div",{key:"78c0108809c63c62f3b5db7fdd5f9047d9638f11",ref:function(t){e.menuElement=t},style:t,class:{open:this.open,"duet-popup-menu-list":true,"duet-theme-turva":this.theme==="turva","scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},n("slot",{key:"39d3acbfbd438343dd24939b4edcd5cd50eb9a24"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return e}());A.style=E;var B='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-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-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-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-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';var F=B;var I=e("duet_popup_menu_item",function(){function e(e){var n=this;t(this,e);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.onFocus=function(e){n.focus=true;n.duetFocus.emit({originalEvent:e,value:n.value,component:"duet-popup-menu-item"})};this.onBlur=function(e){n.focus=false;n.duetBlur.emit({originalEvent:e,value:n.value,component:"duet-popup-menu-item"})};this.focus=false;this.accessibleLabel=undefined;this.accessibleRole="menuitem";this.theme="";this.url=undefined;this.external=false;this.targetLanguage=undefined;this.value=undefined;this.leadingIcon=undefined;this.leadingIconColor=undefined;this.trailingIcon=undefined;this.trailingText=undefined;this.active=false;this.activeDescendant=false}e.prototype.componentWillLoad=function(){a(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.isFocused=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.focus]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";var i={"duet-popup-menu-item":true,active:this.active,"duet-theme-turva":this.theme==="turva","active-descendant":this.activeDescendant};return n(r,{key:"cf41248d3d1a61f191dbb0ed2806c55c3c4d21cd",role:this.accessibleRole},n(t,{key:"8b823bad8e855fd0f6764bee4cf2a1b8b4fb9a1d",ref:function(t){return e.itemElement=t},tabIndex:this.accessibleRole==="listitem"?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"".concat(t==="a"?"link":"button"),"aria-label":this.accessibleLabel,class:i,value:this.value,href:this.url,target:this.external?"_blank":undefined,rel:this.external?"noopener":undefined,lang:t==="button"?undefined:this.targetLanguage,hreflang:t==="button"?undefined:this.targetLanguage},this.leadingIcon&&n("duet-icon",{key:"4d0c2297b77d0abaead13bfdbbbdbc099ff376c5",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),n("span",{key:"c2d39fcf42a50143f23ecff659629f9031af39b3",class:"duet-popup-menu-item-label"},n("slot",{key:"ea485f9803d7123fdcd7d55b9fd9a93acdbe4553"})),(this.trailingIcon||this.active||this.url&&this.external)&&n("duet-icon",{key:"dfcfdfb08bcb7824d95cc1d9001600c787706c3b",name:this.url&&this.external?j.title:this.active?"messaging-checked-small":this.trailingIcon,size:this.url&&this.external||this.active?"xx-small":"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&n("span",{key:"c70b1e3990993a76cc765ee95429ac22089ba812",class:"duet-popup-menu-item-trailing"},this.trailingText)))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());I.style=F}}}));