@duetds/components 6.3.1 → 6.3.2

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 (480) hide show
  1. package/hydrate/index.js +44 -26
  2. package/lib/cjs/duet-action-button.cjs.entry.js +6 -12
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-combobox.cjs.entry.js +4 -3
  14. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -3
  18. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-hero.cjs.entry.js +24 -7
  24. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-input_2.cjs.entry.js +3 -2
  26. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  33. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
  38. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-slideout-panel-dropdown-link.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-slideout-panel-link.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  66. package/lib/cjs/duet.cjs.js +2 -2
  67. package/lib/cjs/{focus-utils-1024552d.js → focus-utils-ca608ee9.js} +1 -1
  68. package/lib/cjs/{index-5c182924.js → index-f0637f79.js} +1 -1
  69. package/lib/cjs/loader.cjs.js +2 -2
  70. package/lib/collection/components/duet-action-button/duet-action-button.js +16 -24
  71. package/lib/collection/components/duet-choice/duet-choice.js +3 -1
  72. package/lib/collection/components/duet-combobox/duet-combobox.js +21 -2
  73. package/lib/collection/components/duet-hero/duet-hero.css +83 -0
  74. package/lib/collection/components/duet-hero/duet-hero.js +48 -7
  75. package/lib/collection/components/duet-input/duet-input.js +2 -1
  76. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  77. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  78. package/lib/collection/components/duet-upload/duet-upload.js +3 -2
  79. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  80. package/lib/dist-custom-elements/duet-alert.js +1 -1
  81. package/lib/dist-custom-elements/duet-badge.js +1 -1
  82. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  83. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  84. package/lib/dist-custom-elements/duet-button.js +1 -1
  85. package/lib/dist-custom-elements/duet-caption.js +1 -1
  86. package/lib/dist-custom-elements/duet-card.js +3 -3
  87. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  88. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  89. package/lib/dist-custom-elements/duet-choice.js +6 -6
  90. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  91. package/lib/dist-custom-elements/duet-combobox.js +6 -4
  92. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  93. package/lib/dist-custom-elements/duet-date-picker.js +8 -8
  94. package/lib/dist-custom-elements/duet-divider.js +1 -1
  95. package/lib/dist-custom-elements/duet-editable-table.js +1 -1
  96. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  97. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  98. package/lib/dist-custom-elements/duet-footer.js +4 -4
  99. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  100. package/lib/dist-custom-elements/duet-grid.js +1 -1
  101. package/lib/dist-custom-elements/duet-header.js +8 -8
  102. package/lib/dist-custom-elements/duet-heading.js +1 -1
  103. package/lib/dist-custom-elements/duet-hero.js +33 -15
  104. package/lib/dist-custom-elements/duet-icon.js +1 -1
  105. package/lib/dist-custom-elements/duet-input.js +1 -1
  106. package/lib/dist-custom-elements/duet-label.js +1 -1
  107. package/lib/dist-custom-elements/duet-layout.js +1 -1
  108. package/lib/dist-custom-elements/duet-link.js +1 -1
  109. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  110. package/lib/dist-custom-elements/duet-list.js +1 -1
  111. package/lib/dist-custom-elements/duet-logo.js +1 -1
  112. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  113. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  114. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  115. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  116. package/lib/dist-custom-elements/duet-modal.js +7 -7
  117. package/lib/dist-custom-elements/duet-multiselect.js +8 -8
  118. package/lib/dist-custom-elements/duet-nav.js +1 -1
  119. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  120. package/lib/dist-custom-elements/duet-notification.js +2 -2
  121. package/lib/dist-custom-elements/duet-number-input.js +7 -7
  122. package/lib/dist-custom-elements/duet-pagination.js +9 -9
  123. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  124. package/lib/dist-custom-elements/duet-progress.js +1 -1
  125. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  126. package/lib/dist-custom-elements/duet-radio.js +1 -1
  127. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  128. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  129. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  130. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  131. package/lib/dist-custom-elements/duet-select.js +1 -1
  132. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  133. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  134. package/lib/dist-custom-elements/duet-slideout-panel-dropdown-link.js +2 -2
  135. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  136. package/lib/dist-custom-elements/duet-slideout-panel-link.js +2 -2
  137. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  138. package/lib/dist-custom-elements/duet-slideout.js +2 -2
  139. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  140. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  141. package/lib/dist-custom-elements/duet-step.js +4 -4
  142. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  143. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  144. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  145. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  146. package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
  147. package/lib/dist-custom-elements/duet-tab-group.js +8 -8
  148. package/lib/dist-custom-elements/duet-tab.js +1 -1
  149. package/lib/dist-custom-elements/duet-table.js +1 -1
  150. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  151. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  152. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  153. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  154. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  155. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  156. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  157. package/lib/dist-custom-elements/duet-tray.js +3 -3
  158. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  159. package/lib/dist-custom-elements/duet-upload.js +21 -20
  160. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  161. package/lib/dist-custom-elements/index.js +1 -1
  162. package/lib/dist-custom-elements/{p-878b06a3.js → p-01060914.js} +1 -1
  163. package/lib/dist-custom-elements/{p-109ee32c.js → p-05903358.js} +2 -2
  164. package/lib/dist-custom-elements/{p-ed049602.js → p-0b90dcf3.js} +1 -1
  165. package/lib/dist-custom-elements/{p-ddfd47c6.js → p-1796ebab.js} +2 -2
  166. package/lib/dist-custom-elements/{p-743d9f51.js → p-18dbb246.js} +1 -1
  167. package/lib/dist-custom-elements/{p-cae5bd13.js → p-1ff3bcb0.js} +3 -3
  168. package/lib/dist-custom-elements/{p-035ecaa2.js → p-37df300c.js} +1 -1
  169. package/lib/dist-custom-elements/{p-16873d44.js → p-38ee4b5b.js} +8 -7
  170. package/lib/dist-custom-elements/{p-1362f0bf.js → p-3ca06575.js} +5 -5
  171. package/lib/dist-custom-elements/{p-2ebba09a.js → p-48d41a98.js} +4 -4
  172. package/lib/dist-custom-elements/{p-576a86ec.js → p-4c80cffa.js} +1 -1
  173. package/lib/dist-custom-elements/{p-7c5d4e0d.js → p-4cb226d9.js} +1 -1
  174. package/lib/dist-custom-elements/{p-b80d6bc3.js → p-5732305f.js} +1 -1
  175. package/lib/dist-custom-elements/{p-66d8d978.js → p-6396e67c.js} +7 -7
  176. package/lib/dist-custom-elements/{p-49a0152c.js → p-65576e56.js} +2 -2
  177. package/lib/dist-custom-elements/{p-33f765ba.js → p-777b5c94.js} +1 -1
  178. package/lib/dist-custom-elements/{p-e7e99092.js → p-79bc334a.js} +1 -1
  179. package/lib/dist-custom-elements/{p-8d44ec43.js → p-7fa0f2e4.js} +1 -1
  180. package/lib/dist-custom-elements/{p-e48d2549.js → p-8aed8d2e.js} +1 -1
  181. package/lib/dist-custom-elements/{p-fae65a8a.js → p-8f389d55.js} +1 -1
  182. package/lib/dist-custom-elements/{p-6cf0920b.js → p-9330fcc2.js} +2 -2
  183. package/lib/dist-custom-elements/{p-6f99cfd4.js → p-9eb58394.js} +1 -1
  184. package/lib/dist-custom-elements/{p-2fe868ea.js → p-b5ef815c.js} +1 -1
  185. package/lib/dist-custom-elements/{p-89ed456a.js → p-c95e48c6.js} +3 -3
  186. package/lib/dist-custom-elements/{p-e3fead64.js → p-c9e0e878.js} +9 -15
  187. package/lib/dist-custom-elements/{p-5de79ec7.js → p-cd306403.js} +1 -1
  188. package/lib/dist-custom-elements/{p-caffcc4c.js → p-d2057aaf.js} +6 -6
  189. package/lib/dist-custom-elements/{p-946de108.js → p-e134f5fa.js} +1 -1
  190. package/lib/dist-custom-elements/{p-c288afb5.js → p-e3ec99f8.js} +2 -2
  191. package/lib/dist-custom-elements/{p-f63d4452.js → p-f2134be9.js} +1 -1
  192. package/lib/dist-custom-elements/{p-57387b36.js → p-f5b9bf0c.js} +1 -1
  193. package/lib/duet/duet.esm.js +1 -1
  194. package/lib/duet/duet.js +1 -1
  195. package/lib/duet/{p-99b702e1.entry.js → p-011775d1.entry.js} +1 -1
  196. package/lib/duet/{p-545b0f8e.entry.js → p-01385ce7.entry.js} +1 -1
  197. package/lib/duet/{p-73366a48.entry.js → p-055b91a7.entry.js} +1 -1
  198. package/lib/duet/{p-fea44d95.entry.js → p-05986c08.entry.js} +1 -1
  199. package/lib/duet/{p-73635412.system.entry.js → p-06ec0653.system.entry.js} +1 -1
  200. package/lib/duet/{p-60ec8b91.system.entry.js → p-0ae75277.system.entry.js} +1 -1
  201. package/lib/duet/{p-4ad2a650.system.entry.js → p-0bb61834.system.entry.js} +1 -1
  202. package/lib/duet/{p-8a20ddbc.entry.js → p-0dae0d88.entry.js} +1 -1
  203. package/lib/duet/{p-9f5279fb.system.entry.js → p-15163c54.system.entry.js} +1 -1
  204. package/lib/duet/{p-98c06919.system.entry.js → p-15a61de6.system.entry.js} +1 -1
  205. package/lib/duet/{p-f2b280a2.entry.js → p-175e442a.entry.js} +1 -1
  206. package/lib/duet/{p-d769cffa.entry.js → p-181c6029.entry.js} +1 -1
  207. package/lib/duet/{p-c79aebab.system.entry.js → p-1878ec7b.system.entry.js} +1 -1
  208. package/lib/duet/p-1c6a8915.system.js +4 -0
  209. package/lib/duet/{p-4033ecb1.entry.js → p-1d0738c8.entry.js} +1 -1
  210. package/lib/duet/{p-3e4f3175.system.entry.js → p-21b316e2.system.entry.js} +1 -1
  211. package/lib/duet/{p-ac612525.system.entry.js → p-26607db9.system.entry.js} +1 -1
  212. package/lib/duet/p-2d4a211e.entry.js +4 -0
  213. package/lib/duet/{p-b0db7981.system.entry.js → p-324fa0f1.system.entry.js} +1 -1
  214. package/lib/duet/{p-50ceabf8.entry.js → p-32947be5.entry.js} +1 -1
  215. package/lib/duet/{p-71de1f57.entry.js → p-3347d74a.entry.js} +1 -1
  216. package/lib/duet/{p-978fa922.system.entry.js → p-335747bb.system.entry.js} +1 -1
  217. package/lib/duet/{p-51835258.system.entry.js → p-378d1401.system.entry.js} +1 -1
  218. package/lib/duet/{p-ef614d21.entry.js → p-39e73676.entry.js} +1 -1
  219. package/lib/duet/{p-113ecc64.system.entry.js → p-3d352b17.system.entry.js} +1 -1
  220. package/lib/duet/{p-fc87b7d1.system.entry.js → p-3ee6c5b1.system.entry.js} +1 -1
  221. package/lib/duet/{p-a8c55b54.system.entry.js → p-3fa2651c.system.entry.js} +1 -1
  222. package/lib/duet/{p-62c0c4a6.entry.js → p-41b833ca.entry.js} +1 -1
  223. package/lib/duet/{p-fb7bd8aa.entry.js → p-4235b719.entry.js} +1 -1
  224. package/lib/duet/{p-a0db2a7e.entry.js → p-432bd9c3.entry.js} +1 -1
  225. package/lib/duet/{p-f671905b.system.entry.js → p-4666afe3.system.entry.js} +1 -1
  226. package/lib/duet/{p-cbe35220.system.entry.js → p-4ab55d11.system.entry.js} +1 -1
  227. package/lib/duet/{p-199bdcfe.entry.js → p-4b142f8e.entry.js} +1 -1
  228. package/lib/duet/{p-3787f096.system.entry.js → p-4c38bdd7.system.entry.js} +1 -1
  229. package/lib/duet/{p-62b8f13c.entry.js → p-4da18a98.entry.js} +1 -1
  230. package/lib/duet/{p-f5083ced.entry.js → p-4ec7369c.entry.js} +1 -1
  231. package/lib/duet/{p-b9978fb3.system.entry.js → p-523edd62.system.entry.js} +1 -1
  232. package/lib/duet/p-555d45c4.entry.js +4 -0
  233. package/lib/duet/{p-1f6ee122.entry.js → p-574f55c3.entry.js} +1 -1
  234. package/lib/duet/{p-9306806c.entry.js → p-5ac16cdd.entry.js} +1 -1
  235. package/lib/duet/{p-23e33998.entry.js → p-5c966a96.entry.js} +1 -1
  236. package/lib/duet/{p-5e4f3d3d.system.entry.js → p-5e3e1c35.system.entry.js} +1 -1
  237. package/lib/duet/p-60be9281.system.entry.js +4 -0
  238. package/lib/duet/{p-0a89fe2b.entry.js → p-6254e2ea.entry.js} +1 -1
  239. package/lib/duet/{p-5210d857.entry.js → p-63f7f950.entry.js} +1 -1
  240. package/lib/duet/{p-aba56144.system.entry.js → p-6837af77.system.entry.js} +1 -1
  241. package/lib/duet/{p-de7fa734.system.entry.js → p-68f08e15.system.entry.js} +1 -1
  242. package/lib/duet/{p-0646568d.system.entry.js → p-6b4b0d26.system.entry.js} +1 -1
  243. package/lib/duet/{p-c5b23ff7.system.entry.js → p-6db3d6ad.system.entry.js} +1 -1
  244. package/lib/duet/{p-83bcaf0a.entry.js → p-7056ad3c.entry.js} +1 -1
  245. package/lib/duet/{p-4afa5eac.system.entry.js → p-71895c33.system.entry.js} +1 -1
  246. package/lib/duet/{p-70b5c7e0.entry.js → p-72a8c70b.entry.js} +1 -1
  247. package/lib/duet/{p-c0a218e2.entry.js → p-74998e3c.entry.js} +1 -1
  248. package/lib/duet/{p-545556dd.system.entry.js → p-76fade6f.system.entry.js} +1 -1
  249. package/lib/duet/{p-0510de39.entry.js → p-7950f1da.entry.js} +1 -1
  250. package/lib/duet/{p-24dadb65.system.entry.js → p-796cc56b.system.entry.js} +1 -1
  251. package/lib/duet/{p-601fb30b.system.entry.js → p-7994c0e3.system.entry.js} +1 -1
  252. package/lib/duet/{p-ff42a105.entry.js → p-7a680b40.entry.js} +1 -1
  253. package/lib/duet/{p-cd68803e.entry.js → p-7ef18049.entry.js} +1 -1
  254. package/lib/duet/{p-b3e246bf.system.entry.js → p-81c322e8.system.entry.js} +1 -1
  255. package/lib/duet/p-83d17ffd.entry.js +4 -0
  256. package/lib/duet/{p-8f3bc618.entry.js → p-853e8927.entry.js} +1 -1
  257. package/lib/duet/{p-c486deb8.system.entry.js → p-87bbc55a.system.entry.js} +1 -1
  258. package/lib/duet/{p-562340da.entry.js → p-8c02ee58.entry.js} +1 -1
  259. package/lib/duet/{p-d5b8cae9.entry.js → p-8ed07ff2.entry.js} +1 -1
  260. package/lib/duet/{p-103e4463.entry.js → p-90fc2e8d.entry.js} +1 -1
  261. package/lib/duet/{p-b5a1486e.system.js → p-9100305b.system.js} +1 -1
  262. package/lib/duet/p-9307a570.entry.js +4 -0
  263. package/lib/duet/{p-aa9efd9d.system.entry.js → p-990fedf6.system.entry.js} +1 -1
  264. package/lib/duet/{p-76230e02.system.entry.js → p-99cffeae.system.entry.js} +1 -1
  265. package/lib/duet/{p-3412d92c.entry.js → p-9a43c8eb.entry.js} +1 -1
  266. package/lib/duet/{p-1611a708.system.entry.js → p-9bd7d914.system.entry.js} +1 -1
  267. package/lib/duet/{p-10464740.entry.js → p-9fb95aa0.entry.js} +1 -1
  268. package/lib/duet/{p-5f58534f.system.entry.js → p-a0db108e.system.entry.js} +1 -1
  269. package/lib/duet/{p-dbed654f.entry.js → p-a2b4ede7.entry.js} +1 -1
  270. package/lib/duet/{p-1d1a983e.entry.js → p-a5fdca94.entry.js} +1 -1
  271. package/lib/duet/{p-dffd1b5e.system.entry.js → p-a6747b80.system.entry.js} +1 -1
  272. package/lib/duet/{p-a1d62452.entry.js → p-a9ed9b0e.entry.js} +1 -1
  273. package/lib/duet/{p-9b0f4a02.system.entry.js → p-ab169775.system.entry.js} +1 -1
  274. package/lib/duet/p-abda27cf.entry.js +4 -0
  275. package/lib/duet/{p-ac9e77c5.entry.js → p-ad0a6ddf.entry.js} +1 -1
  276. package/lib/duet/{p-c9e92671.system.entry.js → p-ad373354.system.entry.js} +1 -1
  277. package/lib/duet/p-ae4c1421.entry.js +4 -0
  278. package/lib/duet/{p-a9770baa.system.entry.js → p-af10ae2a.system.entry.js} +1 -1
  279. package/lib/duet/{p-45466185.system.entry.js → p-b011a55c.system.entry.js} +1 -1
  280. package/lib/duet/{p-f61bf6cb.system.entry.js → p-b234496f.system.entry.js} +1 -1
  281. package/lib/duet/{p-a8809939.system.entry.js → p-b50f1f5c.system.entry.js} +1 -1
  282. package/lib/duet/{p-e94e0a90.system.js → p-b9e3dd6a.system.js} +1 -1
  283. package/lib/duet/{p-cde1cbe9.entry.js → p-bae2250d.entry.js} +1 -1
  284. package/lib/duet/{p-7532e95c.system.entry.js → p-bb77b0e8.system.entry.js} +1 -1
  285. package/lib/duet/{p-f7d2b72a.entry.js → p-bc719319.entry.js} +1 -1
  286. package/lib/duet/{p-a1ed9a6c.js → p-bdcbfc09.js} +1 -1
  287. package/lib/duet/{p-819c4c6c.system.entry.js → p-be1f3ae7.system.entry.js} +1 -1
  288. package/lib/duet/{p-f6127f90.system.entry.js → p-c0fc7525.system.entry.js} +1 -1
  289. package/lib/duet/{p-1140f6fd.entry.js → p-c182fa3d.entry.js} +1 -1
  290. package/lib/duet/{p-e77874ed.entry.js → p-c374a99d.entry.js} +1 -1
  291. package/lib/duet/{p-31858f97.system.entry.js → p-c5213edb.system.entry.js} +1 -1
  292. package/lib/duet/{p-ecbefd75.entry.js → p-c655e141.entry.js} +1 -1
  293. package/lib/duet/{p-5e441e14.system.entry.js → p-c6961244.system.entry.js} +1 -1
  294. package/lib/duet/{p-084ab491.entry.js → p-c6bbb8e7.entry.js} +1 -1
  295. package/lib/duet/{p-8a80b53a.entry.js → p-c7022e1e.entry.js} +1 -1
  296. package/lib/duet/{p-4261d660.entry.js → p-c8e4e0a7.entry.js} +1 -1
  297. package/lib/duet/{p-2eee3cb8.entry.js → p-ccf146c2.entry.js} +1 -1
  298. package/lib/duet/{p-b24b6a43.system.entry.js → p-cd1812eb.system.entry.js} +1 -1
  299. package/lib/duet/{p-59d1a27f.system.entry.js → p-cd47082c.system.entry.js} +1 -1
  300. package/lib/duet/{p-2aedebd0.system.entry.js → p-cfe5f653.system.entry.js} +1 -1
  301. package/lib/duet/{p-e2aa7fbf.system.entry.js → p-d23dee6e.system.entry.js} +1 -1
  302. package/lib/duet/p-d466312f.entry.js +4 -0
  303. package/lib/duet/{p-10a28fb5.entry.js → p-d6fbbe43.entry.js} +1 -1
  304. package/lib/duet/{p-73e3dfcb.system.entry.js → p-debdc29d.system.entry.js} +1 -1
  305. package/lib/duet/{p-59d5e17d.system.entry.js → p-e1bfac0c.system.entry.js} +1 -1
  306. package/lib/duet/{p-01a896f3.entry.js → p-e347039a.entry.js} +1 -1
  307. package/lib/duet/{p-9d45c0b9.entry.js → p-e4fe735e.entry.js} +1 -1
  308. package/lib/duet/p-e54a7b22.js +4 -0
  309. package/lib/duet/{p-7df74ccb.entry.js → p-e580b248.entry.js} +1 -1
  310. package/lib/duet/{p-fa431fbd.system.entry.js → p-eaad6aef.system.entry.js} +1 -1
  311. package/lib/duet/{p-d3c94a35.system.entry.js → p-eb2d4a28.system.entry.js} +1 -1
  312. package/lib/duet/{p-13d0fafd.entry.js → p-eb9c15fa.entry.js} +1 -1
  313. package/lib/duet/{p-5a74dc48.system.entry.js → p-ec807a0b.system.entry.js} +1 -1
  314. package/lib/duet/{p-232ebb6f.entry.js → p-eefccada.entry.js} +1 -1
  315. package/lib/duet/{p-e5552640.system.entry.js → p-f06cac67.system.entry.js} +1 -1
  316. package/lib/duet/{p-c6196d66.system.entry.js → p-f44c631f.system.entry.js} +2 -2
  317. package/lib/duet/{p-df63c123.system.entry.js → p-f5619f00.system.entry.js} +1 -1
  318. package/lib/duet/{p-f715ffa6.entry.js → p-f61c1de1.entry.js} +1 -1
  319. package/lib/duet/{p-0e84325b.entry.js → p-f69b45c4.entry.js} +1 -1
  320. package/lib/duet/{p-4a86008c.system.entry.js → p-f6ff0a84.system.entry.js} +2 -2
  321. package/lib/duet/{p-f6884d0c.entry.js → p-f705487a.entry.js} +1 -1
  322. package/lib/duet/p-f83f53ed.system.entry.js +4 -0
  323. package/lib/duet/{p-e777808f.system.entry.js → p-f967c771.system.entry.js} +1 -1
  324. package/lib/duet/{p-61aab72e.entry.js → p-fbb8b637.entry.js} +1 -1
  325. package/lib/duet/{p-a480c60b.system.entry.js → p-fe0d94d2.system.entry.js} +1 -1
  326. package/lib/duet/{p-82e6186f.system.entry.js → p-ffbe12cd.system.entry.js} +1 -1
  327. package/lib/duet/{p-a5e798ab.system.entry.js → p-ffbedde9.system.entry.js} +1 -1
  328. package/lib/esm/duet-action-button.entry.js +6 -12
  329. package/lib/esm/duet-alert.entry.js +1 -1
  330. package/lib/esm/duet-badge.entry.js +1 -1
  331. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  332. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  333. package/lib/esm/duet-button_2.entry.js +1 -1
  334. package/lib/esm/duet-caption_4.entry.js +1 -1
  335. package/lib/esm/duet-card.entry.js +1 -1
  336. package/lib/esm/duet-checkbox.entry.js +1 -1
  337. package/lib/esm/duet-choice_2.entry.js +3 -3
  338. package/lib/esm/duet-collapsible.entry.js +1 -1
  339. package/lib/esm/duet-combobox.entry.js +4 -3
  340. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  341. package/lib/esm/duet-date-picker.entry.js +2 -2
  342. package/lib/esm/duet-divider_2.entry.js +1 -1
  343. package/lib/esm/duet-editable-table_3.entry.js +4 -3
  344. package/lib/esm/duet-empty-state.entry.js +1 -1
  345. package/lib/esm/duet-fieldset.entry.js +1 -1
  346. package/lib/esm/duet-footer.entry.js +1 -1
  347. package/lib/esm/duet-grid_2.entry.js +1 -1
  348. package/lib/esm/duet-header_2.entry.js +1 -1
  349. package/lib/esm/duet-hero.entry.js +24 -7
  350. package/lib/esm/duet-icon.entry.js +1 -1
  351. package/lib/esm/duet-input_2.entry.js +3 -2
  352. package/lib/esm/duet-layout.entry.js +1 -1
  353. package/lib/esm/duet-list_2.entry.js +1 -1
  354. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  355. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  356. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  357. package/lib/esm/duet-menu-bar.entry.js +1 -1
  358. package/lib/esm/duet-modal.entry.js +2 -2
  359. package/lib/esm/duet-multiselect.entry.js +1 -1
  360. package/lib/esm/duet-nav.entry.js +1 -1
  361. package/lib/esm/duet-notification_2.entry.js +1 -1
  362. package/lib/esm/duet-number-input.entry.js +1 -1
  363. package/lib/esm/duet-pagination_2.entry.js +4 -4
  364. package/lib/esm/duet-progress.entry.js +1 -1
  365. package/lib/esm/duet-radio_2.entry.js +1 -1
  366. package/lib/esm/duet-range-slider.entry.js +1 -1
  367. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  368. package/lib/esm/duet-section-layout.entry.js +1 -1
  369. package/lib/esm/duet-select.entry.js +1 -1
  370. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  371. package/lib/esm/duet-slideout-link.entry.js +1 -1
  372. package/lib/esm/duet-slideout-panel-dropdown-link.entry.js +1 -1
  373. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  374. package/lib/esm/duet-slideout-panel-link.entry.js +1 -1
  375. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  376. package/lib/esm/duet-slideout.entry.js +2 -2
  377. package/lib/esm/duet-step_2.entry.js +1 -1
  378. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  379. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  380. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  381. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  382. package/lib/esm/duet-textarea.entry.js +1 -1
  383. package/lib/esm/duet-toggle.entry.js +1 -1
  384. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  385. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  386. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  387. package/lib/esm/duet-toolbar.entry.js +1 -1
  388. package/lib/esm/duet-tooltip.entry.js +1 -1
  389. package/lib/esm/duet-tray.entry.js +1 -1
  390. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  391. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  392. package/lib/esm/duet.js +2 -2
  393. package/lib/esm/{focus-utils-97bd2937.js → focus-utils-d192cc58.js} +1 -1
  394. package/lib/esm/{index-e20a2ed2.js → index-7a3fa858.js} +1 -1
  395. package/lib/esm/loader.js +2 -2
  396. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  397. package/lib/esm-es5/duet-alert.entry.js +1 -1
  398. package/lib/esm-es5/duet-badge.entry.js +1 -1
  399. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  400. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  401. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  402. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  403. package/lib/esm-es5/duet-card.entry.js +1 -1
  404. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  405. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  406. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  407. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  408. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  409. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  410. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  411. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  412. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  413. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  414. package/lib/esm-es5/duet-footer.entry.js +1 -1
  415. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  416. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  417. package/lib/esm-es5/duet-hero.entry.js +2 -2
  418. package/lib/esm-es5/duet-icon.entry.js +1 -1
  419. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  420. package/lib/esm-es5/duet-layout.entry.js +1 -1
  421. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  422. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  423. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  424. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  425. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  426. package/lib/esm-es5/duet-modal.entry.js +2 -2
  427. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  428. package/lib/esm-es5/duet-nav.entry.js +1 -1
  429. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  430. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  431. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  432. package/lib/esm-es5/duet-progress.entry.js +1 -1
  433. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  434. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  435. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  436. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  437. package/lib/esm-es5/duet-select.entry.js +1 -1
  438. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  439. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  440. package/lib/esm-es5/duet-slideout-panel-dropdown-link.entry.js +1 -1
  441. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  442. package/lib/esm-es5/duet-slideout-panel-link.entry.js +1 -1
  443. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  444. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  445. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  446. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  447. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  448. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  449. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  450. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  451. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  452. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  453. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  454. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  455. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  456. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  457. package/lib/esm-es5/duet-tray.entry.js +1 -1
  458. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  459. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  460. package/lib/esm-es5/duet.js +1 -1
  461. package/lib/esm-es5/focus-utils-d192cc58.js +4 -0
  462. package/lib/esm-es5/{index-e20a2ed2.js → index-7a3fa858.js} +1 -1
  463. package/lib/esm-es5/loader.js +1 -1
  464. package/lib/types/components/duet-action-button/duet-action-button.d.ts +3 -3
  465. package/lib/types/components/duet-combobox/duet-combobox.d.ts +4 -0
  466. package/lib/types/components/duet-hero/duet-hero.d.ts +8 -2
  467. package/lib/types/components.d.ts +28 -12
  468. package/package.json +5 -5
  469. package/lib/duet/p-11fe5fcd.entry.js +0 -4
  470. package/lib/duet/p-1b9b7b83.entry.js +0 -4
  471. package/lib/duet/p-30ffcba0.system.entry.js +0 -4
  472. package/lib/duet/p-32e8cef0.entry.js +0 -4
  473. package/lib/duet/p-3aa8996c.system.js +0 -4
  474. package/lib/duet/p-5e0ff5ee.entry.js +0 -4
  475. package/lib/duet/p-7e095bff.js +0 -4
  476. package/lib/duet/p-a6680923.entry.js +0 -4
  477. package/lib/duet/p-bfa860e4.entry.js +0 -4
  478. package/lib/duet/p-db49aee8.system.entry.js +0 -4
  479. package/lib/duet/p-df257e8e.entry.js +0 -4
  480. package/lib/esm-es5/focus-utils-97bd2937.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{p as promiseResolve,b as bootstrapLazy}from"./index-e20a2ed2.js";import{g as globalScripts}from"./app-globals-6641e444.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,s){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){globalScripts();return bootstrapLazy(JSON.parse('[["duet-icon",[[1,"duet-icon",{"theme":[1025],"icon":[1],"src":[1],"name":[1],"margin":[1],"responsive":[4],"color":[513],"background":[1],"size":[1],"outline":[1],"svgContent":[32]}]]],["duet-choice_2",[[6,"duet-choice-group",{"direction":[1],"margin":[1],"theme":[1025],"error":[1],"name":[1],"label":[1],"labelHidden":[4,"label-hidden"],"caption":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"responsive":[4],"value":[1537],"disabled":[4]}],[6,"duet-choice",{"theme":[1025],"label":[1],"accessibleLabelInfoButtonDefaults":[1,"accessible-label-info-default"],"accessibleLabelInfoButton":[1,"accessible-label-info-button"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"caption":[1],"value":[1537],"type":[513],"name":[1],"checked":[1540],"collapsible":[4],"margin":[1],"icon":[1],"expand":[4],"padding":[1],"identifier":[1],"groupDirection":[1,"group-direction"],"groupDisabled":[4,"group-disabled"],"groupResponsive":[4,"group-responsive"],"disabled":[516],"required":[4],"infoLabelDefaults":[1,"accessible-label-info-default"],"infoLabel":[1,"info-label"],"isHovering":[32],"isInfoOpen":[32],"isBlurred":[32],"setFocus":[64]},[[2,"blur","handleHostBlur"],[2,"keydown","handleHostKeyDown"],[2,"keyup","handleHostKeyUp"]]]]],["duet-pagination_2",[[1,"duet-pagination",{"theme":[1025],"jumpString":[1,"jump-string"],"variation":[1],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabelsDefaults":[16],"accessibleLabels":[16],"take":[2],"visibleItems":[2,"visible-items"],"total":[2],"ariaControls":[1,"accessible-controls"],"current":[1026],"numbersStore":[32],"totalPages":[32],"internalSectionIndex":[32]}],[1,"duet-range-stepper",{"theme":[1025],"stepIndex":[1026,"step-index"],"stepSize":[2,"step-size"],"total":[2],"ariaLabelsDefaults":[16],"ariaLabels":[16],"ariaControls":[1,"accessible-controls"]}]]],["duet-caption_4",[[17,"duet-link",{"accessibleLabel":[1,"accessible-label"],"language":[1025],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1,"accessible-label-external"],"identifier":[1],"theme":[1025],"url":[513],"external":[4],"setFocus":[64]}],[1,"duet-heading",{"level":[513],"margin":[1],"visualLevel":[1,"visual-level"],"border":[8],"weight":[1],"color":[1],"theme":[1025],"hyphenate":[4]}],[1,"duet-paragraph",{"theme":[1025],"margin":[1],"size":[1],"weight":[1],"variation":[1],"color":[1]}],[1,"duet-caption",{"theme":[1025],"margin":[1],"selected":[4],"size":[1]}]]],["duet-hero",[[1,"duet-hero",{"theme":[1025],"heading":[1],"preHeading":[1,"pre-heading"],"level":[1],"description":[1],"icon":[1],"iconSize":[1,"icon-size"],"iconRight":[4,"icon-right"],"categoryIcon":[1,"category-icon"],"categoryIconColor":[1,"category-icon-color"],"buttonLabel":[1,"button-label"],"language":[1025],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1,"accessible-label-external"],"buttonUrl":[1,"button-url"],"buttonId":[1,"button-id"],"buttonData":[16],"textCenter":[4,"text-center"],"leftAlign":[4,"left-align"],"image":[1],"variation":[1],"back":[8],"listItems":[8,"list-items"],"actions":[8],"processedListItems":[32],"processedActions":[32],"processedBack":[32]}]]],["duet-date-picker",[[2,"duet-date-picker",{"theme":[1025],"expand":[4],"name":[1],"identifier":[1],"label":[1],"caption":[1],"margin":[1],"language":[1],"placeholderDefaults":[1,"placeholder-default"],"placeholder":[1],"echoPlaceholder":[1540,"echo-placeholder"],"disabled":[516],"error":[1],"labelHidden":[4,"label-hidden"],"role":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"required":[4],"direction":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"value":[1537],"min":[1],"max":[1],"incrementYears":[2,"increment"],"validity":[1040],"open":[32],"focusedDay":[32],"inputValue":[32],"setFocus":[64],"show":[64],"hide":[64]},[[4,"click","handleDocumentClick"]]]]],["duet-multiselect",[[1,"duet-multiselect",{"margin":[1],"error":[1],"expand":[4],"value":[1040],"theme":[1025],"labelHidden":[4,"label-hidden"],"identifier":[1],"placeholder":[1],"caption":[1],"items":[1],"disabled":[516],"label":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"processedItems":[32],"checkboxesVisible":[32],"activeDescendant":[32],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["duet-textarea",[[2,"duet-textarea",{"margin":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleAutocomplete":[1,"accessible-autocomplete"],"accessibleControls":[1,"accessible-controls"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"theme":[1025],"expand":[4],"disabled":[516],"identifier":[1],"required":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"placeholder":[1],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"maxlength":[2],"minlength":[2],"error":[1],"role":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"value":[1025],"disallowPattern":[1,"disallow-pattern"],"counter":[4],"counterLabel":[1,"counter-label"],"setFocus":[64]}]]],["duet-modal",[[1,"duet-modal",{"language":[1025],"accessibleCloseLabelDefaults":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1,"accessible-close-label"],"size":[1],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDetails":[1,"accessible-details"],"accessibleDescription":[1,"accessible-description"],"gutterSize":[1,"gutter-size"],"theme":[1025],"heading":[1],"headingLevel":[1,"heading-level"],"icon":[1],"color":[1],"active":[1540],"closeOnBlur":[1028,"close-on-blur"],"open":[32],"show":[64],"hide":[64]},[[8,"keyup","handleKeyUp"]]]]],["duet-number-input",[[2,"duet-number-input",{"language":[1025],"locale":[1],"unit":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleLiveDefaults":[1,"accessible-live-default"],"accessibleLive":[1,"accessible-live"],"accessibleLiveEnabled":[4,"accessible-live-enabled"],"accessibleAddDefaults":[1,"accessible-add-default"],"accessibleAdd":[1,"accessible-add"],"accessibleSubtractDefaults":[1,"accessible-subtract-defaults"],"accessibleSubtract":[1,"accessible-subtract"],"theme":[1025],"margin":[1],"expand":[4],"identifier":[1],"min":[2],"labelDefaults":[1,"label-default"],"label":[1],"labelHidden":[4,"label-hidden"],"max":[2],"name":[1],"error":[1],"tooltip":[1],"step":[2],"rounding":[4],"role":[1],"disabled":[516],"required":[4],"value":[1025],"focusedValue":[32],"setFocus":[64]}]]],["duet-radio_2",[[6,"duet-radio-group",{"direction":[1],"margin":[1],"theme":[1025],"error":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"name":[1],"label":[1],"labelHidden":[4,"label-hidden"],"caption":[1],"responsive":[4],"value":[1537],"disabled":[4]}],[2,"duet-radio",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleIndex":[1,"accessible-index"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"theme":[1025],"disabled":[516],"required":[4],"blockEvents":[4,"block-events"],"identifier":[1],"label":[1],"name":[1],"role":[1],"groupDisabled":[4,"group-disabled"],"groupDirection":[1,"group-direction"],"groupResponsive":[4,"group-responsive"],"checked":[1540],"value":[1537],"setFocus":[64]}]]],["duet-cookie-consent",[[1,"duet-cookie-consent",{"accessibleLabel":[1,"accessible-label"],"theme":[1025]}]]],["duet-notification_2",[[1,"duet-notification-drawer",{"icon":[1],"label":[1],"language":[1],"accessibleLabelNotificationsDefaults":[1,"accessible-label-notification-default"],"accessibleLabelNotifications":[1,"accessible-label-notifications"],"badge":[4],"theme":[1025],"direction":[1],"isOpen":[32],"hasNotifications":[32],"setFocus":[64],"open":[64],"close":[64]},[[6,"focus","handleClickFocusOutside"],[6,"click","handleClickFocusOutside"]]],[1,"duet-notification",{"language":[1],"accessibleLabelUnreadDefaults":[16],"accessibleLabelUnread":[1,"accessible-label-unread"],"url":[1],"date":[1],"highlight":[4],"external":[4],"theme":[1025],"setFocus":[64]}]]],["duet-step_2",[[6,"duet-step",{"theme":[1025],"heading":[1],"headingLevel":[1,"heading-level"],"stepIndex":[2,"step-index"],"state":[1],"roundedTop":[4,"rounded-top"],"roundedBottom":[4,"rounded-bottom"],"setFocus":[64]}],[1,"duet-stepper",{"theme":[1025],"accessibleLive":[1,"accessible-live"],"margin":[1],"backDisabled":[4,"back-disabled"],"selected":[1538]},[[0,"duetStepClick","onDuetStepClick"]]]]],["duet-footer",[[1,"duet-footer",{"theme":[1025],"variation":[1],"margin":[1],"logoHref":[1,"logo-href"],"language":[1025],"items":[8],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1,"accessible-label-external"],"menu":[8],"processedMainItem":[32],"processedItems":[32],"processedMenu":[32]}]]],["duet-card",[[1,"duet-card",{"accessibleLabel":[1,"accessible-label"],"heading":[1],"secondaryHeading":[1,"secondary-heading"],"variation":[1],"collapsible":[4],"open":[1540],"headingLevel":[1,"heading-level"],"icon":[1],"image":[1],"background":[1],"padding":[1],"margin":[1],"theme":[1025],"url":[1],"shadowBreakpoint":[1,"shadow-breakpoint"],"setFocus":[64]}]]],["duet-slideout-lang",[[1,"duet-slideout-lang",{"theme":[1025]}]]],["duet-tray",[[1,"duet-tray",{"language":[1025],"accessibleCloseLabelDefaults":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1,"accessible-close-label"],"accessibleOpenLabelDefaults":[1,"accessible-open-label-default"],"accessibleOpenLabel":[1,"accessible-open-label"],"theme":[1025],"active":[516],"autoHide":[4,"auto-hide"],"responsive":[4],"expanded":[32],"hiddenState":[32]},[[9,"scroll","getFrame"],[16,"click","handleBodyClick"]]]]],["duet-breadcrumb",[[1,"duet-breadcrumb",{"theme":[1025],"href":[1025],"icon":[1025],"accessibleLabel":[1,"accessible-label"]}]]],["duet-breadcrumbs",[[1,"duet-breadcrumbs",{"theme":[1025],"children":[32]}]]],["duet-collapsible",[[6,"duet-collapsible",{"theme":[1025],"heading":[1],"headingWeight":[1,"heading-weight"],"headingSize":[1,"heading-size"],"headingLevel":[1,"heading-level"],"margin":[1],"open":[1540],"setFocus":[64]}]]],["duet-combobox",[[6,"duet-combobox",{"accessibleLabelDefaults":[1,"accessible-label-defaults"],"accessibleLabels":[16],"theme":[1025],"force":[4],"items":[1032],"formatter":[16],"value":[1537],"processedItems":[32],"inputWidth":[32],"inputValue":[32],"selectionMsg":[32],"listOpen":[32],"selectedItems":[32],"activeItem":[32],"formatItem":[64]},[[4,"click","handleDocumentClick"]]]]],["duet-menu-bar",[[1,"duet-menu-bar",{"theme":[1025],"logo":[1028],"logoHref":[1025,"logo-href"],"logoSize":[32],"leftMoreVisible":[32],"rightMoreVisible":[32]}]]],["duet-menu-bar-dropdown",[[1,"duet-menu-bar-dropdown",{"theme":[1025],"open":[1540],"icon":[1537]},[[8,"click","handleFocus"]]]]],["duet-menu-bar-dropdown-link",[[1,"duet-menu-bar-dropdown-link",{"theme":[1025],"href":[1025],"icon":[1537],"caret":[1028]}]]],["duet-menu-bar-link",[[1,"duet-menu-bar-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"iconSize":[32]}]]],["duet-range-slider",[[2,"duet-range-slider",{"theme":[1025],"margin":[1],"expand":[4],"identifier":[1],"name":[1],"required":[4],"disabled":[516],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"min":[2],"label":[1],"labelHidden":[4,"label-hidden"],"unit":[1],"max":[2],"step":[2],"locale":[1],"value":[1026],"debounce":[2],"setFocus":[64]}]]],["duet-slideout",[[1,"duet-slideout",{"theme":[1025],"open":[1540],"toggle":[64]}]]],["duet-slideout-link",[[1,"duet-slideout-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"size":[1537]}]]],["duet-slideout-panel",[[1,"duet-slideout-panel",{"theme":[1025],"active":[1540],"open":[1540],"icon":[1537],"label":[32]}]]],["duet-slideout-panel-dropdown",[[1,"duet-slideout-panel-dropdown",{"theme":[1025],"open":[1540],"icon":[1537]},[[8,"click","handleFocus"]]]]],["duet-slideout-panel-dropdown-link",[[1,"duet-slideout-panel-dropdown-link",{"theme":[1025],"href":[1025],"icon":[1537],"caret":[1028]}]]],["duet-slideout-panel-link",[[1,"duet-slideout-panel-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537]}]]],["duet-submenu-bar",[[1,"duet-submenu-bar",{"theme":[1025],"open":[1540]}]]],["duet-submenu-bar-dropdown",[[1,"duet-submenu-bar-dropdown",{"theme":[1025],"open":[1540],"icon":[1537],"iconSize":[32]},[[8,"click","handleFocus"]]]]],["duet-submenu-bar-dropdown-link",[[1,"duet-submenu-bar-dropdown-link",{"theme":[1025],"href":[1025],"icon":[1537],"caret":[1028],"highlight":[1028]}]]],["duet-submenu-bar-link",[[1,"duet-submenu-bar-link",{"theme":[1025],"href":[1025],"icon":[1537],"iconSize":[32]}]]],["duet-toggle",[[2,"duet-toggle",{"theme":[1025],"margin":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"label":[1],"required":[4],"disabled":[516],"checked":[1540],"value":[1537],"identifier":[1],"name":[1],"role":[1],"setFocus":[64]}]]],["duet-toolbar-dropdown",[[1,"duet-toolbar-dropdown",{"theme":[1025],"active":[1540],"open":[1540],"icon":[1537]},[[8,"click","handleFocus"]]]]],["duet-toolbar-dropdown-link",[[1,"duet-toolbar-dropdown-link",{"theme":[1025],"href":[1025],"icon":[1537],"active":[1028]}]]],["duet-toolbar-link",[[1,"duet-toolbar-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537]}]]],["duet-layout",[[1,"duet-layout",{"sticky":[4],"margin":[1],"stickyDistance":[1,"sticky-distance"],"center":[4],"tabs":[4],"middle":[4],"paddingBreakpoint":[1,"padding-breakpoint"]}]]],["duet-nav",[[1,"duet-nav",{"theme":[1025]}]]],["duet-section-layout",[[1,"duet-section-layout",{"margin":[1],"middle":[4]}]]],["duet-toolbar",[[1,"duet-toolbar",{"theme":[1025]}]]],["duet-select",[[2,"duet-select",{"variation":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDescribedBy":[1,"accessible-described-by"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"error":[1],"expand":[4],"value":[1537],"theme":[1025],"labelHidden":[4,"label-hidden"],"identifier":[1],"name":[1],"placeholder":[1],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"items":[1],"disabled":[516],"required":[4],"label":[1],"role":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"processedItems":[32],"setFocus":[64]}]]],["duet-scrollable_3",[[1,"duet-tab-group",{"theme":[1025],"scrolls":[4],"collapses":[4],"accessibleLabel":[1,"accessible-label"],"variation":[1],"language":[1025],"labelDefaults":[1,"label-default"],"label":[1],"labelHidden":[4,"label-hidden"],"identifier":[1],"margin":[1],"padding":[1],"setTabIndex":[4,"set-tab-index"],"tabs":[32],"selected":[32],"openTab":[64],"refresh":[64]}],[6,"duet-tab",{"label":[513],"selected":[516],"accessibleDescriptionDefault":[1,"accessible-description-defaults"],"accessibleDescription":[1,"accessible-description"]}],[1,"duet-scrollable",{"theme":[1025],"identifier":[1],"selected":[1026],"tablistAtStart":[32],"isTabContentSmallerThanWrapper":[32],"tablistAtEnd":[32],"childrenData":[32]}]]],["duet-alert",[[1,"duet-alert",{"theme":[1025],"accessibleLabelDefaults":[1,"accessible-label-default"],"accessibleLabel":[1,"accessible-label"],"announcements":[4],"icon":[1],"autoDismiss":[2,"auto-dismiss"],"margin":[1],"padding":[1],"variation":[1],"dismissible":[4],"isDismissed":[32],"timeoutID":[32]}]]],["duet-empty-state",[[1,"duet-empty-state",{"theme":[1025],"icon":[1],"size":[1]}]]],["duet-progress",[[0,"duet-progress",{"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabel":[1,"accessible-label"],"accessibleLabelUploadDefaults":[1,"accessible-label-upload-defaults"],"accessibleLabelUpload":[1,"accessible-label-upload"],"progress":[1538],"caption":[1],"height":[1],"theme":[1025]}]]],["duet-upload-aria-status",[[1,"duet-upload-aria-status",{"statusMessageLabel":[16],"accessibleAriaLive":[1,"accessible-aria-live"],"valid":[2],"total":[2],"invalid":[2],"inprogress":[2],"statusMessage":[32]}]]],["duet-checkbox",[[2,"duet-checkbox",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleIndex":[1,"accessible-index"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleSelected":[1,"accessible-selected"],"required":[4],"theme":[1025],"disabled":[516],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"role":[1],"checked":[1540],"value":[1537],"setFocus":[64]}]]],["duet-grid_2",[[2,"duet-grid",{"responsive":[4],"breakpoint":[1],"direction":[1],"alignment":[1],"distribution":[1],"mobile":[1],"distributeFormElement":[32]}],[2,"duet-grid-item",{"fill":[4],"maxWidth":[1,"max-width"],"minWidth":[1,"min-width"],"theme":[1025],"margin":[1],"responsive":[4],"breakpoint":[1]}]]],["duet-list_2",[[1,"duet-list",{"theme":[1025],"margin":[1],"padding":[1],"mobile":[1],"breakpoint":[1],"variation":[1],"labelWidth":[1,"label-width"]}],[1,"duet-list-item"]]],["duet-fieldset",[[1,"duet-fieldset",{"theme":[1025],"margin":[1],"caption":[1],"label":[1],"error":[1],"labelHidden":[4,"label-hidden"],"hasTooltip":[32]}]]],["duet-badge",[[1,"duet-badge",{"theme":[1025],"variation":[1],"margin":[1]}]]],["duet-visually-hidden",[[1,"duet-visually-hidden"]]],["duet-header_2",[[1,"duet-header",{"theme":[1025],"language":[1025],"accessibleI18nLabelsDefaults":[1,"accessible-labels-default"],"accessibleI18nLabels":[16],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1,"accessible-label-external"],"accessibleLabelDefaults":[1,"accessible-label-default"],"accessibleLabel":[1,"accessible-label"],"user":[8],"logoHref":[1,"logo-href"],"currentHref":[1025,"current-href"],"skipToId":[1,"skip-to-id"],"items":[8],"region":[1],"session":[8],"search":[8],"back":[8],"contact":[1],"contactItems":[8,"contact-items"],"languageItems":[8,"language-items"],"isContactOpen":[32],"isLanguageOpen":[32],"isSessionOpen":[32],"isSlideOutOpen":[32],"isSegmentOpen":[32],"openMenu":[32],"closedActives":[32],"processedItems":[32],"processedLanguageItems":[32],"processedContactItems":[32],"processedSession":[32],"processedSearch":[32],"processedUser":[32],"processedBack":[32],"renderDesktopNav":[32],"closeMenus":[64],"setFocus":[64]},[[8,"keyup","handleKeyUp"],[8,"keydown","handleKeyDown"],[4,"focus","handleDocumentClick"],[4,"click","handleDocumentClick"]]],[1,"duet-logo",{"theme":[1025],"margin":[1],"inverse":[4],"size":[1],"href":[1537],"language":[1537],"setFocus":[64]}]]],["duet-action-button",[[1,"duet-action-button",{"theme":[1025],"iconName":[1,"icon-name"],"iconColor":[1,"icon-color"],"iconSize":[1,"icon-size"],"actionName":[1,"action-name"],"actionId":[1,"action-id"],"actionMeta":[1,"action-meta"],"disabled":[4],"color":[513],"background":[1],"accessibleTitle":[8,"title"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabelsDefaults":[16],"accessibleLabels":[16],"accessibleControls":[1,"accessible-controls"],"numbersStore":[32]}]]],["duet-divider_2",[[1,"duet-divider",{"theme":[1025],"margin":[1],"color":[1]}],[1,"duet-spacer",{"size":[1],"direction":[1],"breakpoint":[1]}]]],["duet-tooltip",[[1,"duet-tooltip",{"theme":[1025],"language":[1025],"accessibleLabelDefault":[1,"accessible-label-default"],"accessibleLabel":[1,"accessible-label"],"accessibleInputLabel":[1,"accessible-input-label"],"accessibleCloseLabelDefault":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1,"accessible-close-label"],"label":[1],"breakpoint":[1],"direction":[1],"positionVertical":[513,"position-vertical"],"positionHorizontal":[513,"position-horizontal"],"active":[1540],"openDown":[32],"openLeft":[32],"openRight":[32]},[[9,"scroll","onScroll"],[4,"click","handleDocumentClick"]]]]],["duet-input_2",[[6,"duet-input",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleAutocomplete":[1,"accessible-autocomplete"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleExpanded":[1,"accessible-expanded"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleHasPopup":[1,"accessible-has-popup"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"debounce":[2],"clear":[4],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"theme":[1025],"expand":[4],"disabled":[516],"identifier":[1],"margin":[1],"required":[4],"type":[1],"variation":[1],"label":[1],"error":[1],"labelHidden":[4,"label-hidden"],"numericKeyboard":[4,"numeric-keyboard"],"name":[1],"pattern":[1],"maxlength":[2],"minlength":[2],"placeholder":[1],"component":[1],"role":[1],"icon":[1],"autoComplete":[1,"auto-complete"],"disallowPattern":[1,"disallow-pattern"],"value":[1025],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"setFocus":[64],"resetCursor":[64],"clearInput":[64]}],[6,"duet-label",{"theme":[1025],"for":[1],"margin":[1],"size":[1]}]]],["duet-button_2",[[1,"duet-button",{"accessibleLabel":[1,"accessible-label"],"accessibleControls":[1,"accessible-controls"],"accessiblePopup":[1,"accessible-popup"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleExpanded":[4,"accessible-expanded"],"accessiblePressed":[4,"accessible-pressed"],"loading":[4],"variation":[1],"negative":[4],"theme":[1025],"margin":[1],"padding":[1],"centerText":[4,"center-text"],"wrapping":[1],"expand":[4],"fixed":[4],"disabled":[516],"name":[1],"value":[1],"identifier":[1],"submit":[516],"external":[4],"language":[1],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1,"accessible-label-external"],"icon":[1],"color":[1],"iconRight":[4,"icon-right"],"iconSize":[1,"icon-size"],"size":[1],"iconOnly":[4,"icon-only"],"url":[513],"setFocus":[64]}],[1,"duet-spinner",{"accessibleLabel":[1,"accessible-label"],"color":[1],"size":[1],"theme":[1025]}]]],["duet-editable-table_3",[[1,"duet-upload",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"external":[4],"middleware":[16],"deferUpload":[4,"defer-upload"],"hideButton":[4,"hide-upload-button"],"actions":[16],"uri":[1],"showLinks":[4,"show-links"],"caption":[1],"statusLabelDefaults":[1,"status-label-default"],"statusMessageLabel":[1,"status-message-label"],"buttonLabelDefaults":[1,"button-label-default"],"buttonLabel":[1,"button-label"],"accessibleButtonLabel":[1,"accessible-button-label"],"theme":[1025],"disabled":[516],"identifier":[1],"margin":[1],"required":[4],"alignment":[1],"hideGroups":[4,"hide-table-labels"],"files":[1040],"valid":[1540],"labelDefaults":[1,"label-default"],"label":[1],"descriptionDefaults":[1,"description-default"],"description":[1],"fileListEmptyDefaults":[1,"list-empty-default"],"fileListEmpty":[1,"file-list-empty"],"error":[1],"errorCodes":[16],"name":[1],"maxBytes":[2,"max-bytes"],"maxBytesTotal":[2,"max-bytes-total"],"maxFiles":[2,"max-files"],"allowedExtensions":[1,"allowed-extensions"],"allowedMimetypes":[1,"allowed-mimetypes"],"multiple":[4],"limitSelection":[4,"limit-selection"],"value":[1025],"groups":[16],"tick":[32],"setFocus":[64],"upload":[64],"uploadPending":[64],"refresh":[64],"getFiles":[64],"updateValue":[64]}],[6,"duet-editable-table",{"margin":[1],"variation":[1],"sticky":[4],"stickyDistance":[1,"sticky-distance"],"breakpoint":[1],"actions":[1040],"columns":[1040],"rows":[1040],"sortable":[4],"groupId":[1,"group-id"],"theme":[1025],"accessibleRole":[1,"accessible-role"]}],[4,"duet-table",{"theme":[1025],"margin":[1],"variation":[1],"sticky":[4],"stickyDistance":[1,"sticky-distance"],"breakpoint":[1],"matchesBreakpoint":[32]}]]]]'),s)}))};export{defineCustomElements};
4
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-7a3fa858.js";import{g as globalScripts}from"./app-globals-6641e444.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,s){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){globalScripts();return bootstrapLazy(JSON.parse('[["duet-icon",[[1,"duet-icon",{"theme":[1025],"icon":[1],"src":[1],"name":[1],"margin":[1],"responsive":[4],"color":[513],"background":[1],"size":[1],"outline":[1],"svgContent":[32]}]]],["duet-choice_2",[[6,"duet-choice-group",{"direction":[1],"margin":[1],"theme":[1025],"error":[1],"name":[1],"label":[1],"labelHidden":[4,"label-hidden"],"caption":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"responsive":[4],"value":[1537],"disabled":[4]}],[6,"duet-choice",{"theme":[1025],"label":[1],"accessibleLabelInfoButtonDefaults":[1,"accessible-label-info-default"],"accessibleLabelInfoButton":[1,"accessible-label-info-button"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"caption":[1],"value":[1537],"type":[513],"name":[1],"checked":[1540],"collapsible":[4],"margin":[1],"icon":[1],"expand":[4],"padding":[1],"identifier":[1],"groupDirection":[1,"group-direction"],"groupDisabled":[4,"group-disabled"],"groupResponsive":[4,"group-responsive"],"disabled":[516],"required":[4],"infoLabelDefaults":[1,"accessible-label-info-default"],"infoLabel":[1,"info-label"],"isHovering":[32],"isInfoOpen":[32],"isBlurred":[32],"setFocus":[64]},[[2,"blur","handleHostBlur"],[2,"keydown","handleHostKeyDown"],[2,"keyup","handleHostKeyUp"]]]]],["duet-pagination_2",[[1,"duet-pagination",{"theme":[1025],"jumpString":[1,"jump-string"],"variation":[1],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabelsDefaults":[16],"accessibleLabels":[16],"take":[2],"visibleItems":[2,"visible-items"],"total":[2],"ariaControls":[1,"accessible-controls"],"current":[1026],"numbersStore":[32],"totalPages":[32],"internalSectionIndex":[32]}],[1,"duet-range-stepper",{"theme":[1025],"stepIndex":[1026,"step-index"],"stepSize":[2,"step-size"],"total":[2],"ariaLabelsDefaults":[16],"ariaLabels":[16],"ariaControls":[1,"accessible-controls"]}]]],["duet-caption_4",[[17,"duet-link",{"accessibleLabel":[1,"accessible-label"],"language":[1025],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1,"accessible-label-external"],"identifier":[1],"theme":[1025],"url":[513],"external":[4],"setFocus":[64]}],[1,"duet-heading",{"level":[513],"margin":[1],"visualLevel":[1,"visual-level"],"border":[8],"weight":[1],"color":[1],"theme":[1025],"hyphenate":[4]}],[1,"duet-paragraph",{"theme":[1025],"margin":[1],"size":[1],"weight":[1],"variation":[1],"color":[1]}],[1,"duet-caption",{"theme":[1025],"margin":[1],"selected":[4],"size":[1]}]]],["duet-hero",[[1,"duet-hero",{"theme":[1025],"heading":[1],"preHeading":[1,"pre-heading"],"level":[1],"subHeadingLevel":[1,"sub-heading-level"],"description":[1],"icon":[1],"iconSize":[1,"icon-size"],"iconRight":[4,"icon-right"],"categoryIcon":[1,"category-icon"],"categoryIconColor":[1,"category-icon-color"],"buttonLabel":[1,"button-label"],"language":[1025],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1,"accessible-label-external"],"buttonUrl":[1,"button-url"],"buttonId":[1,"button-id"],"buttonData":[16],"textCenter":[4,"text-center"],"leftAlign":[4,"left-align"],"image":[1],"variation":[1],"back":[8],"listItems":[8,"list-items"],"actions":[8],"processedListItems":[32],"processedActions":[32],"processedBack":[32]}]]],["duet-date-picker",[[2,"duet-date-picker",{"theme":[1025],"expand":[4],"name":[1],"identifier":[1],"label":[1],"caption":[1],"margin":[1],"language":[1],"placeholderDefaults":[1,"placeholder-default"],"placeholder":[1],"echoPlaceholder":[1540,"echo-placeholder"],"disabled":[516],"error":[1],"labelHidden":[4,"label-hidden"],"role":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"required":[4],"direction":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"value":[1537],"min":[1],"max":[1],"incrementYears":[2,"increment"],"validity":[1040],"open":[32],"focusedDay":[32],"inputValue":[32],"setFocus":[64],"show":[64],"hide":[64]},[[4,"click","handleDocumentClick"]]]]],["duet-multiselect",[[1,"duet-multiselect",{"margin":[1],"error":[1],"expand":[4],"value":[1040],"theme":[1025],"labelHidden":[4,"label-hidden"],"identifier":[1],"placeholder":[1],"caption":[1],"items":[1],"disabled":[516],"label":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"processedItems":[32],"checkboxesVisible":[32],"activeDescendant":[32],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["duet-textarea",[[2,"duet-textarea",{"margin":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleAutocomplete":[1,"accessible-autocomplete"],"accessibleControls":[1,"accessible-controls"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"theme":[1025],"expand":[4],"disabled":[516],"identifier":[1],"required":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"placeholder":[1],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"maxlength":[2],"minlength":[2],"error":[1],"role":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"value":[1025],"disallowPattern":[1,"disallow-pattern"],"counter":[4],"counterLabel":[1,"counter-label"],"setFocus":[64]}]]],["duet-modal",[[1,"duet-modal",{"language":[1025],"accessibleCloseLabelDefaults":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1,"accessible-close-label"],"size":[1],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDetails":[1,"accessible-details"],"accessibleDescription":[1,"accessible-description"],"gutterSize":[1,"gutter-size"],"theme":[1025],"heading":[1],"headingLevel":[1,"heading-level"],"icon":[1],"color":[1],"active":[1540],"closeOnBlur":[1028,"close-on-blur"],"open":[32],"show":[64],"hide":[64]},[[8,"keyup","handleKeyUp"]]]]],["duet-number-input",[[2,"duet-number-input",{"language":[1025],"locale":[1],"unit":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleLiveDefaults":[1,"accessible-live-default"],"accessibleLive":[1,"accessible-live"],"accessibleLiveEnabled":[4,"accessible-live-enabled"],"accessibleAddDefaults":[1,"accessible-add-default"],"accessibleAdd":[1,"accessible-add"],"accessibleSubtractDefaults":[1,"accessible-subtract-defaults"],"accessibleSubtract":[1,"accessible-subtract"],"theme":[1025],"margin":[1],"expand":[4],"identifier":[1],"min":[2],"labelDefaults":[1,"label-default"],"label":[1],"labelHidden":[4,"label-hidden"],"max":[2],"name":[1],"error":[1],"tooltip":[1],"step":[2],"rounding":[4],"role":[1],"disabled":[516],"required":[4],"value":[1025],"focusedValue":[32],"setFocus":[64]}]]],["duet-radio_2",[[6,"duet-radio-group",{"direction":[1],"margin":[1],"theme":[1025],"error":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"name":[1],"label":[1],"labelHidden":[4,"label-hidden"],"caption":[1],"responsive":[4],"value":[1537],"disabled":[4]}],[2,"duet-radio",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleIndex":[1,"accessible-index"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"theme":[1025],"disabled":[516],"required":[4],"blockEvents":[4,"block-events"],"identifier":[1],"label":[1],"name":[1],"role":[1],"groupDisabled":[4,"group-disabled"],"groupDirection":[1,"group-direction"],"groupResponsive":[4,"group-responsive"],"checked":[1540],"value":[1537],"setFocus":[64]}]]],["duet-cookie-consent",[[1,"duet-cookie-consent",{"accessibleLabel":[1,"accessible-label"],"theme":[1025]}]]],["duet-notification_2",[[1,"duet-notification-drawer",{"icon":[1],"label":[1],"language":[1],"accessibleLabelNotificationsDefaults":[1,"accessible-label-notification-default"],"accessibleLabelNotifications":[1,"accessible-label-notifications"],"badge":[4],"theme":[1025],"direction":[1],"isOpen":[32],"hasNotifications":[32],"setFocus":[64],"open":[64],"close":[64]},[[6,"focus","handleClickFocusOutside"],[6,"click","handleClickFocusOutside"]]],[1,"duet-notification",{"language":[1],"accessibleLabelUnreadDefaults":[16],"accessibleLabelUnread":[1,"accessible-label-unread"],"url":[1],"date":[1],"highlight":[4],"external":[4],"theme":[1025],"setFocus":[64]}]]],["duet-step_2",[[6,"duet-step",{"theme":[1025],"heading":[1],"headingLevel":[1,"heading-level"],"stepIndex":[2,"step-index"],"state":[1],"roundedTop":[4,"rounded-top"],"roundedBottom":[4,"rounded-bottom"],"setFocus":[64]}],[1,"duet-stepper",{"theme":[1025],"accessibleLive":[1,"accessible-live"],"margin":[1],"backDisabled":[4,"back-disabled"],"selected":[1538]},[[0,"duetStepClick","onDuetStepClick"]]]]],["duet-footer",[[1,"duet-footer",{"theme":[1025],"variation":[1],"margin":[1],"logoHref":[1,"logo-href"],"language":[1025],"items":[8],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1,"accessible-label-external"],"menu":[8],"processedMainItem":[32],"processedItems":[32],"processedMenu":[32]}]]],["duet-card",[[1,"duet-card",{"accessibleLabel":[1,"accessible-label"],"heading":[1],"secondaryHeading":[1,"secondary-heading"],"variation":[1],"collapsible":[4],"open":[1540],"headingLevel":[1,"heading-level"],"icon":[1],"image":[1],"background":[1],"padding":[1],"margin":[1],"theme":[1025],"url":[1],"shadowBreakpoint":[1,"shadow-breakpoint"],"setFocus":[64]}]]],["duet-slideout-lang",[[1,"duet-slideout-lang",{"theme":[1025]}]]],["duet-tray",[[1,"duet-tray",{"language":[1025],"accessibleCloseLabelDefaults":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1,"accessible-close-label"],"accessibleOpenLabelDefaults":[1,"accessible-open-label-default"],"accessibleOpenLabel":[1,"accessible-open-label"],"theme":[1025],"active":[516],"autoHide":[4,"auto-hide"],"responsive":[4],"expanded":[32],"hiddenState":[32]},[[9,"scroll","getFrame"],[16,"click","handleBodyClick"]]]]],["duet-breadcrumb",[[1,"duet-breadcrumb",{"theme":[1025],"href":[1025],"icon":[1025],"accessibleLabel":[1,"accessible-label"]}]]],["duet-breadcrumbs",[[1,"duet-breadcrumbs",{"theme":[1025],"children":[32]}]]],["duet-collapsible",[[6,"duet-collapsible",{"theme":[1025],"heading":[1],"headingWeight":[1,"heading-weight"],"headingSize":[1,"heading-size"],"headingLevel":[1,"heading-level"],"margin":[1],"open":[1540],"setFocus":[64]}]]],["duet-combobox",[[6,"duet-combobox",{"accessibleLabelDefaults":[1,"accessible-label-defaults"],"accessibleLabels":[16],"theme":[1025],"force":[4],"items":[1032],"formatter":[16],"value":[1537],"minCharacters":[2,"min-characters"],"processedItems":[32],"inputWidth":[32],"inputValue":[32],"selectionMsg":[32],"listOpen":[32],"selectedItems":[32],"activeItem":[32],"formatItem":[64]},[[4,"click","handleDocumentClick"]]]]],["duet-menu-bar",[[1,"duet-menu-bar",{"theme":[1025],"logo":[1028],"logoHref":[1025,"logo-href"],"logoSize":[32],"leftMoreVisible":[32],"rightMoreVisible":[32]}]]],["duet-menu-bar-dropdown",[[1,"duet-menu-bar-dropdown",{"theme":[1025],"open":[1540],"icon":[1537]},[[8,"click","handleFocus"]]]]],["duet-menu-bar-dropdown-link",[[1,"duet-menu-bar-dropdown-link",{"theme":[1025],"href":[1025],"icon":[1537],"caret":[1028]}]]],["duet-menu-bar-link",[[1,"duet-menu-bar-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"iconSize":[32]}]]],["duet-range-slider",[[2,"duet-range-slider",{"theme":[1025],"margin":[1],"expand":[4],"identifier":[1],"name":[1],"required":[4],"disabled":[516],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"min":[2],"label":[1],"labelHidden":[4,"label-hidden"],"unit":[1],"max":[2],"step":[2],"locale":[1],"value":[1026],"debounce":[2],"setFocus":[64]}]]],["duet-slideout",[[1,"duet-slideout",{"theme":[1025],"open":[1540],"toggle":[64]}]]],["duet-slideout-link",[[1,"duet-slideout-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"size":[1537]}]]],["duet-slideout-panel",[[1,"duet-slideout-panel",{"theme":[1025],"active":[1540],"open":[1540],"icon":[1537],"label":[32]}]]],["duet-slideout-panel-dropdown",[[1,"duet-slideout-panel-dropdown",{"theme":[1025],"open":[1540],"icon":[1537]},[[8,"click","handleFocus"]]]]],["duet-slideout-panel-dropdown-link",[[1,"duet-slideout-panel-dropdown-link",{"theme":[1025],"href":[1025],"icon":[1537],"caret":[1028]}]]],["duet-slideout-panel-link",[[1,"duet-slideout-panel-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537]}]]],["duet-submenu-bar",[[1,"duet-submenu-bar",{"theme":[1025],"open":[1540]}]]],["duet-submenu-bar-dropdown",[[1,"duet-submenu-bar-dropdown",{"theme":[1025],"open":[1540],"icon":[1537],"iconSize":[32]},[[8,"click","handleFocus"]]]]],["duet-submenu-bar-dropdown-link",[[1,"duet-submenu-bar-dropdown-link",{"theme":[1025],"href":[1025],"icon":[1537],"caret":[1028],"highlight":[1028]}]]],["duet-submenu-bar-link",[[1,"duet-submenu-bar-link",{"theme":[1025],"href":[1025],"icon":[1537],"iconSize":[32]}]]],["duet-toggle",[[2,"duet-toggle",{"theme":[1025],"margin":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"label":[1],"required":[4],"disabled":[516],"checked":[1540],"value":[1537],"identifier":[1],"name":[1],"role":[1],"setFocus":[64]}]]],["duet-toolbar-dropdown",[[1,"duet-toolbar-dropdown",{"theme":[1025],"active":[1540],"open":[1540],"icon":[1537]},[[8,"click","handleFocus"]]]]],["duet-toolbar-dropdown-link",[[1,"duet-toolbar-dropdown-link",{"theme":[1025],"href":[1025],"icon":[1537],"active":[1028]}]]],["duet-toolbar-link",[[1,"duet-toolbar-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537]}]]],["duet-layout",[[1,"duet-layout",{"sticky":[4],"margin":[1],"stickyDistance":[1,"sticky-distance"],"center":[4],"tabs":[4],"middle":[4],"paddingBreakpoint":[1,"padding-breakpoint"]}]]],["duet-nav",[[1,"duet-nav",{"theme":[1025]}]]],["duet-section-layout",[[1,"duet-section-layout",{"margin":[1],"middle":[4]}]]],["duet-toolbar",[[1,"duet-toolbar",{"theme":[1025]}]]],["duet-select",[[2,"duet-select",{"variation":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDescribedBy":[1,"accessible-described-by"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"error":[1],"expand":[4],"value":[1537],"theme":[1025],"labelHidden":[4,"label-hidden"],"identifier":[1],"name":[1],"placeholder":[1],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"items":[1],"disabled":[516],"required":[4],"label":[1],"role":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"processedItems":[32],"setFocus":[64]}]]],["duet-scrollable_3",[[1,"duet-tab-group",{"theme":[1025],"scrolls":[4],"collapses":[4],"accessibleLabel":[1,"accessible-label"],"variation":[1],"language":[1025],"labelDefaults":[1,"label-default"],"label":[1],"labelHidden":[4,"label-hidden"],"identifier":[1],"margin":[1],"padding":[1],"setTabIndex":[4,"set-tab-index"],"tabs":[32],"selected":[32],"openTab":[64],"refresh":[64]}],[6,"duet-tab",{"label":[513],"selected":[516],"accessibleDescriptionDefault":[1,"accessible-description-defaults"],"accessibleDescription":[1,"accessible-description"]}],[1,"duet-scrollable",{"theme":[1025],"identifier":[1],"selected":[1026],"tablistAtStart":[32],"isTabContentSmallerThanWrapper":[32],"tablistAtEnd":[32],"childrenData":[32]}]]],["duet-alert",[[1,"duet-alert",{"theme":[1025],"accessibleLabelDefaults":[1,"accessible-label-default"],"accessibleLabel":[1,"accessible-label"],"announcements":[4],"icon":[1],"autoDismiss":[2,"auto-dismiss"],"margin":[1],"padding":[1],"variation":[1],"dismissible":[4],"isDismissed":[32],"timeoutID":[32]}]]],["duet-empty-state",[[1,"duet-empty-state",{"theme":[1025],"icon":[1],"size":[1]}]]],["duet-progress",[[0,"duet-progress",{"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabel":[1,"accessible-label"],"accessibleLabelUploadDefaults":[1,"accessible-label-upload-defaults"],"accessibleLabelUpload":[1,"accessible-label-upload"],"progress":[1538],"caption":[1],"height":[1],"theme":[1025]}]]],["duet-upload-aria-status",[[1,"duet-upload-aria-status",{"statusMessageLabel":[16],"accessibleAriaLive":[1,"accessible-aria-live"],"valid":[2],"total":[2],"invalid":[2],"inprogress":[2],"statusMessage":[32]}]]],["duet-checkbox",[[2,"duet-checkbox",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleIndex":[1,"accessible-index"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleSelected":[1,"accessible-selected"],"required":[4],"theme":[1025],"disabled":[516],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"role":[1],"checked":[1540],"value":[1537],"setFocus":[64]}]]],["duet-grid_2",[[2,"duet-grid",{"responsive":[4],"breakpoint":[1],"direction":[1],"alignment":[1],"distribution":[1],"mobile":[1],"distributeFormElement":[32]}],[2,"duet-grid-item",{"fill":[4],"maxWidth":[1,"max-width"],"minWidth":[1,"min-width"],"theme":[1025],"margin":[1],"responsive":[4],"breakpoint":[1]}]]],["duet-list_2",[[1,"duet-list",{"theme":[1025],"margin":[1],"padding":[1],"mobile":[1],"breakpoint":[1],"variation":[1],"labelWidth":[1,"label-width"]}],[1,"duet-list-item"]]],["duet-fieldset",[[1,"duet-fieldset",{"theme":[1025],"margin":[1],"caption":[1],"label":[1],"error":[1],"labelHidden":[4,"label-hidden"],"hasTooltip":[32]}]]],["duet-badge",[[1,"duet-badge",{"theme":[1025],"variation":[1],"margin":[1]}]]],["duet-visually-hidden",[[1,"duet-visually-hidden"]]],["duet-header_2",[[1,"duet-header",{"theme":[1025],"language":[1025],"accessibleI18nLabelsDefaults":[1,"accessible-labels-default"],"accessibleI18nLabels":[16],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1,"accessible-label-external"],"accessibleLabelDefaults":[1,"accessible-label-default"],"accessibleLabel":[1,"accessible-label"],"user":[8],"logoHref":[1,"logo-href"],"currentHref":[1025,"current-href"],"skipToId":[1,"skip-to-id"],"items":[8],"region":[1],"session":[8],"search":[8],"back":[8],"contact":[1],"contactItems":[8,"contact-items"],"languageItems":[8,"language-items"],"isContactOpen":[32],"isLanguageOpen":[32],"isSessionOpen":[32],"isSlideOutOpen":[32],"isSegmentOpen":[32],"openMenu":[32],"closedActives":[32],"processedItems":[32],"processedLanguageItems":[32],"processedContactItems":[32],"processedSession":[32],"processedSearch":[32],"processedUser":[32],"processedBack":[32],"renderDesktopNav":[32],"closeMenus":[64],"setFocus":[64]},[[8,"keyup","handleKeyUp"],[8,"keydown","handleKeyDown"],[4,"focus","handleDocumentClick"],[4,"click","handleDocumentClick"]]],[1,"duet-logo",{"theme":[1025],"margin":[1],"inverse":[4],"size":[1],"href":[1537],"language":[1537],"setFocus":[64]}]]],["duet-action-button",[[1,"duet-action-button",{"theme":[1025],"iconName":[1,"icon-name"],"iconColor":[1,"icon-color"],"iconSize":[1,"icon-size"],"actionName":[1,"action-name"],"actionId":[1,"action-id"],"actionMeta":[1,"action-meta"],"disabled":[4],"color":[513],"background":[1],"accessibleTitle":[8,"title"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabelsDefaults":[16],"accessibleLabel":[1,"accessible-label"],"accessibleControls":[1,"accessible-controls"],"numbersStore":[32]}]]],["duet-divider_2",[[1,"duet-divider",{"theme":[1025],"margin":[1],"color":[1]}],[1,"duet-spacer",{"size":[1],"direction":[1],"breakpoint":[1]}]]],["duet-tooltip",[[1,"duet-tooltip",{"theme":[1025],"language":[1025],"accessibleLabelDefault":[1,"accessible-label-default"],"accessibleLabel":[1,"accessible-label"],"accessibleInputLabel":[1,"accessible-input-label"],"accessibleCloseLabelDefault":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1,"accessible-close-label"],"label":[1],"breakpoint":[1],"direction":[1],"positionVertical":[513,"position-vertical"],"positionHorizontal":[513,"position-horizontal"],"active":[1540],"openDown":[32],"openLeft":[32],"openRight":[32]},[[9,"scroll","onScroll"],[4,"click","handleDocumentClick"]]]]],["duet-input_2",[[6,"duet-input",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleAutocomplete":[1,"accessible-autocomplete"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleExpanded":[1,"accessible-expanded"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleHasPopup":[1,"accessible-has-popup"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"debounce":[2],"clear":[4],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"theme":[1025],"expand":[4],"disabled":[516],"identifier":[1],"margin":[1],"required":[4],"type":[1],"variation":[1],"label":[1],"error":[1],"labelHidden":[4,"label-hidden"],"numericKeyboard":[4,"numeric-keyboard"],"name":[1],"pattern":[1],"maxlength":[2],"minlength":[2],"placeholder":[1],"component":[1],"role":[1],"icon":[1],"autoComplete":[1,"auto-complete"],"disallowPattern":[1,"disallow-pattern"],"value":[1025],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"setFocus":[64],"resetCursor":[64],"clearInput":[64]}],[6,"duet-label",{"theme":[1025],"for":[1],"margin":[1],"size":[1]}]]],["duet-button_2",[[1,"duet-button",{"accessibleLabel":[1,"accessible-label"],"accessibleControls":[1,"accessible-controls"],"accessiblePopup":[1,"accessible-popup"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleExpanded":[4,"accessible-expanded"],"accessiblePressed":[4,"accessible-pressed"],"loading":[4],"variation":[1],"negative":[4],"theme":[1025],"margin":[1],"padding":[1],"centerText":[4,"center-text"],"wrapping":[1],"expand":[4],"fixed":[4],"disabled":[516],"name":[1],"value":[1],"identifier":[1],"submit":[516],"external":[4],"language":[1],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1,"accessible-label-external"],"icon":[1],"color":[1],"iconRight":[4,"icon-right"],"iconSize":[1,"icon-size"],"size":[1],"iconOnly":[4,"icon-only"],"url":[513],"setFocus":[64]}],[1,"duet-spinner",{"accessibleLabel":[1,"accessible-label"],"color":[1],"size":[1],"theme":[1025]}]]],["duet-editable-table_3",[[1,"duet-upload",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"external":[4],"middleware":[16],"deferUpload":[4,"defer-upload"],"hideButton":[4,"hide-upload-button"],"actions":[16],"uri":[1],"showLinks":[4,"show-links"],"caption":[1],"statusLabelDefaults":[1,"status-label-default"],"statusMessageLabel":[1,"status-message-label"],"buttonLabelDefaults":[1,"button-label-default"],"buttonLabel":[1,"button-label"],"accessibleButtonLabel":[1,"accessible-button-label"],"theme":[1025],"disabled":[516],"identifier":[1],"margin":[1],"required":[4],"alignment":[1],"hideGroups":[4,"hide-table-labels"],"files":[1040],"valid":[1540],"labelDefaults":[1,"label-default"],"label":[1],"descriptionDefaults":[1,"description-default"],"description":[1],"fileListEmptyDefaults":[1,"list-empty-default"],"fileListEmpty":[1,"file-list-empty"],"error":[1],"errorCodes":[16],"name":[1],"maxBytes":[2,"max-bytes"],"maxBytesTotal":[2,"max-bytes-total"],"maxFiles":[2,"max-files"],"allowedExtensions":[1,"allowed-extensions"],"allowedMimetypes":[1,"allowed-mimetypes"],"multiple":[4],"limitSelection":[4,"limit-selection"],"value":[1025],"groups":[16],"tick":[32],"setFocus":[64],"upload":[64],"uploadPending":[64],"refresh":[64],"getFiles":[64],"updateValue":[64]}],[6,"duet-editable-table",{"margin":[1],"variation":[1],"sticky":[4],"stickyDistance":[1,"sticky-distance"],"breakpoint":[1],"actions":[1040],"columns":[1040],"rows":[1040],"sortable":[4],"groupId":[1,"group-id"],"theme":[1025],"accessibleRole":[1,"accessible-role"]}],[4,"duet-table",{"theme":[1025],"margin":[1],"variation":[1],"sticky":[4],"stickyDistance":[1,"sticky-distance"],"breakpoint":[1],"matchesBreakpoint":[32]}]]]]'),s)}))};export{defineCustomElements};
@@ -94,13 +94,13 @@ export declare class DuetActionButton implements ThemeableComponent, A11yCompone
94
94
  */
95
95
  accessibleDescription: string;
96
96
  /**
97
- * Default accessible labels
97
+ * Default accessible label
98
98
  */
99
99
  accessibleLabelsDefaults: DuetLangObject;
100
100
  /**
101
- * Default accessible labels
101
+ * Accessible label
102
102
  */
103
- accessibleLabels: Record<string, string>;
103
+ accessibleLabel: string;
104
104
  /**
105
105
  * Used to indicate which dom element with ID this element controls
106
106
  */
@@ -65,6 +65,10 @@ export declare class DuetCombobox implements ThemeableComponent {
65
65
  * Object containing selected item/s
66
66
  */
67
67
  value: string;
68
+ /**
69
+ * Defines minimum number of characters that must be given to show search results
70
+ */
71
+ minCharacters: number;
68
72
  /**
69
73
  * Emitted when a keyboard input occurred.
70
74
  */
@@ -3,7 +3,7 @@ import { DuetAnalyticsEvent, DuetColor, DuetHeadingLevel, DuetIconName, DuetLang
3
3
  import { ThemeableComponent } from "../../common/themeable-component";
4
4
  import { DuetLangObject } from "../../utils/language-utils";
5
5
  export declare type DuetHeroIconSize = "medium" | "large";
6
- export declare type DuetHeroVariation = "default" | "light" | "gray" | "image" | "minimal";
6
+ export declare type DuetHeroVariation = "default" | "light" | "gray" | "image" | "minimal" | "campaign" | "section";
7
7
  export declare type DuetHeroBackData = {
8
8
  analyticsId?: string;
9
9
  id?: string;
@@ -39,6 +39,7 @@ export declare type DuetHeroActionItem = {
39
39
  * @slot badge - This is a slot for a status badge that sits next to pre-heading inside the hero component.
40
40
  * @slot bottom - This is a slot for content under the main hero content.
41
41
  * @slot heading - This is a slot for heading content inside the hero component.
42
+ * @slot subheading - This is a slot for heading content inside the hero component. Only usable with campaign, section variations.
42
43
  */
43
44
  export declare class DuetHero implements ThemeableComponent {
44
45
  /**
@@ -46,6 +47,7 @@ export declare class DuetHero implements ThemeableComponent {
46
47
  */
47
48
  element: HTMLElement;
48
49
  private hasHeadingSlot;
50
+ private hasSubHeadingSlot;
49
51
  /**
50
52
  * State() variables
51
53
  * Inlined decorator, alphabetical order.
@@ -72,6 +74,10 @@ export declare class DuetHero implements ThemeableComponent {
72
74
  * The level of the heading.
73
75
  */
74
76
  level: DuetHeadingLevel;
77
+ /**
78
+ * The level of the heading. Only usable with campaign, section variations.
79
+ */
80
+ subHeadingLevel: DuetHeadingLevel;
75
81
  /**
76
82
  * The description of the hero area, rendered in a P tag. If empty, description
77
83
  * will be hidden.
@@ -144,7 +150,7 @@ export declare class DuetHero implements ThemeableComponent {
144
150
  */
145
151
  leftAlign: boolean;
146
152
  /**
147
- * URL of the image shown inside the hero area. The width of the displayed image
153
+ * URL of the image shown inside the hero area. For normal hero areas the width of the displayed image
148
154
  * should be 800px. Optimal aspect ratio is 3:2. When using “image” variation of
149
155
  * Hero Area the required image size is 1200x1200px (1:1 ratio). If this
150
156
  * property is left empty, image will be hidden.
@@ -78,15 +78,15 @@ export namespace Components {
78
78
  */
79
79
  "accessibleDetails": string;
80
80
  /**
81
- * String of id's that indicate alternative labels elements
81
+ * Accessible label
82
82
  */
83
- "accessibleLabelledBy": string;
83
+ "accessibleLabel": string;
84
84
  /**
85
- * Default accessible labels
85
+ * String of id's that indicate alternative labels elements
86
86
  */
87
- "accessibleLabels": Record<string, string>;
87
+ "accessibleLabelledBy": string;
88
88
  /**
89
- * Default accessible labels
89
+ * Default accessible label
90
90
  */
91
91
  "accessibleLabelsDefaults": DuetLangObject;
92
92
  /**
@@ -779,6 +779,10 @@ export namespace Components {
779
779
  * Array of item objects.
780
780
  */
781
781
  "items": any;
782
+ /**
783
+ * Defines minimum number of characters that must be given to show search results
784
+ */
785
+ "minCharacters": number;
782
786
  /**
783
787
  * Theme of the combobox.
784
788
  */
@@ -1323,7 +1327,7 @@ export namespace Components {
1323
1327
  */
1324
1328
  "iconSize": DuetHeroIconSize;
1325
1329
  /**
1326
- * URL of the image shown inside the hero area. The width of the displayed image should be 800px. Optimal aspect ratio is 3:2. When using “image” variation of Hero Area the required image size is 1200x1200px (1:1 ratio). If this property is left empty, image will be hidden.
1330
+ * URL of the image shown inside the hero area. For normal hero areas the width of the displayed image should be 800px. Optimal aspect ratio is 3:2. When using “image” variation of Hero Area the required image size is 1200x1200px (1:1 ratio). If this property is left empty, image will be hidden.
1327
1331
  */
1328
1332
  "image": string;
1329
1333
  /**
@@ -1348,6 +1352,10 @@ export namespace Components {
1348
1352
  * The headline shown before heading.
1349
1353
  */
1350
1354
  "preHeading": string;
1355
+ /**
1356
+ * The level of the heading. Only usable with campaign, section variations.
1357
+ */
1358
+ "subHeadingLevel": DuetHeadingLevel;
1351
1359
  /**
1352
1360
  * Centers the text in hero area.
1353
1361
  */
@@ -4378,15 +4386,15 @@ declare namespace LocalJSX {
4378
4386
  */
4379
4387
  "accessibleDetails"?: string;
4380
4388
  /**
4381
- * String of id's that indicate alternative labels elements
4389
+ * Accessible label
4382
4390
  */
4383
- "accessibleLabelledBy"?: string;
4391
+ "accessibleLabel"?: string;
4384
4392
  /**
4385
- * Default accessible labels
4393
+ * String of id's that indicate alternative labels elements
4386
4394
  */
4387
- "accessibleLabels"?: Record<string, string>;
4395
+ "accessibleLabelledBy"?: string;
4388
4396
  /**
4389
- * Default accessible labels
4397
+ * Default accessible label
4390
4398
  */
4391
4399
  "accessibleLabelsDefaults"?: DuetLangObject;
4392
4400
  /**
@@ -5099,6 +5107,10 @@ declare namespace LocalJSX {
5099
5107
  * Array of item objects.
5100
5108
  */
5101
5109
  "items"?: any;
5110
+ /**
5111
+ * Defines minimum number of characters that must be given to show search results
5112
+ */
5113
+ "minCharacters"?: number;
5102
5114
  /**
5103
5115
  * Emitted when a keyboard input occurred.
5104
5116
  */
@@ -5725,7 +5737,7 @@ declare namespace LocalJSX {
5725
5737
  */
5726
5738
  "iconSize"?: DuetHeroIconSize;
5727
5739
  /**
5728
- * URL of the image shown inside the hero area. The width of the displayed image should be 800px. Optimal aspect ratio is 3:2. When using “image” variation of Hero Area the required image size is 1200x1200px (1:1 ratio). If this property is left empty, image will be hidden.
5740
+ * URL of the image shown inside the hero area. For normal hero areas the width of the displayed image should be 800px. Optimal aspect ratio is 3:2. When using “image” variation of Hero Area the required image size is 1200x1200px (1:1 ratio). If this property is left empty, image will be hidden.
5729
5741
  */
5730
5742
  "image"?: string;
5731
5743
  /**
@@ -5758,6 +5770,10 @@ declare namespace LocalJSX {
5758
5770
  * The headline shown before heading.
5759
5771
  */
5760
5772
  "preHeading"?: string;
5773
+ /**
5774
+ * The level of the heading. Only usable with campaign, section variations.
5775
+ */
5776
+ "subHeadingLevel"?: DuetHeadingLevel;
5761
5777
  /**
5762
5778
  * Centers the text in hero area.
5763
5779
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duetds/components",
3
- "version": "6.3.1",
3
+ "version": "6.3.2",
4
4
  "description": "This package includes Duet Design System Web Components and related utilities.",
5
5
  "bugs": {
6
6
  "email": "duetdesignsystem@lahitapiola.fi"
@@ -50,9 +50,9 @@
50
50
  "body-scroll-lock": "3.1.5"
51
51
  },
52
52
  "devDependencies": {
53
- "@duetds/fonts": "2.0.22",
54
- "@duetds/icons": "3.0.22",
55
- "@duetds/tokens": "3.0.22",
53
+ "@duetds/fonts": "2.0.23",
54
+ "@duetds/icons": "3.0.23",
55
+ "@duetds/tokens": "3.0.23",
56
56
  "@koa/cors": "3.3.0",
57
57
  "@rollup/plugin-replace": "3.1.0",
58
58
  "@stencil/core": "2.19.3",
@@ -83,5 +83,5 @@
83
83
  "collection": "lib/collection/collection-manifest.json",
84
84
  "es2015": "lib/esm/index.js",
85
85
  "es2017": "lib/esm/index.js",
86
- "gitHead": "123c57c1033170a46c289d94918e8303e08a0536"
86
+ "gitHead": "f889a7833d146a45c357c957a34ab59381837f5d"
87
87
  }
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as i,g as o}from"./p-a1ed9a6c.js";import{a as r}from"./p-f11208c3.js";import{D as a}from"./p-76f00bd5.js";import{i as h}from"./p-4ebf1618.js";import{a as d,g as n}from"./p-ede854e1.js";import{p as m}from"./p-5a9d75e1.js";const s=class{constructor(i){e(this,i),this.duetClick=t(this,"duetClick",7),this.duetAnalytics=t(this,"duetAnalytics",7),this.handleClick=(e,t)=>{t&&t.analytics&&this.duetAnalytics.emit({component:"duet-hero",analyticsId:t.analytics}),this.emitChange(e,t)},this.processedListItems=null,this.processedActions=null,this.processedBack=null,this.theme="",this.heading="",this.preHeading="",this.level="h1",this.description="",this.icon="",this.iconSize="medium",this.iconRight=!1,this.categoryIcon="",this.categoryIconColor="category-pet",this.buttonLabel="",this.language=d(),this.accessibleLabelExternalDefaults=a,this.accessibleLabelExternal=n(this.accessibleLabelExternalDefaults),this.buttonUrl="#",this.buttonId="",this.buttonData=void 0,this.textCenter=!1,this.leftAlign=!1,this.image="",this.variation="default",this.back=void 0,this.listItems=void 0,this.actions=void 0}componentWillLoad(){h(this),this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]'),this.refresh()}async refresh(){this.processedListItems=m(this.listItems),this.processedActions=m(this.actions),this.processedBack=m(this.back)}emitChange(e,t){t||(t={}),this.buttonLabel&&(t.label=this.buttonLabel,t.href=this.buttonUrl,t.id=this.buttonId||"No ID defined via buttonId prop"),this.duetClick.emit({originalEvent:e,data:t,component:"duet-hero"})}render(){const e={backgroundImage:`url(${this.image})`};let t="turva"===this.theme?"negative":"primary",o="primary-blue",a="gray-lightest",h="primary";return"light"!==this.variation&&"image"!==this.variation&&"gray"!==this.variation&&"minimal"!==this.variation||(a="secondary","turva"===this.theme&&(a="secondary-turva",t="primary",h="color-primary-turva",o="color-primary-turva")),i("div",{role:"region",class:{"duet-hero":!0,"duet-theme-turva":"turva"===this.theme,"duet-has-category-icon":!!this.categoryIcon,"duet-hero-light":"light"===this.variation,"duet-hero-gray":"gray"===this.variation||"minimal"===this.variation,"duet-hero-minimal":"minimal"===this.variation,"duet-hero-with-image":"image"===this.variation,"duet-hero-gray-with-actions":!!this.processedActions,"duet-hero-gray-with-back":!!this.processedBack,"duet-hero-text-center":this.textCenter&&!this.leftAlign,"duet-hero-left-align":this.leftAlign},part:"duet-hero"},i("div",{class:"duet-hero-wrapper"},this.image&&"image"===this.variation&&i("div",{class:"duet-hero-image-mask"},i("div",{class:"duet-hero-image-wrapper"},i("div",{class:"duet-hero-image",style:e}))),("gray"===this.variation||"light"===this.variation||"minimal"===this.variation)&&this.processedBack&&i("div",{class:"duet-hero-back"},i("duet-button",{style:{transform:"translateX(-8px)"},variation:"plain",icon:"action-arrow-left-small",theme:this.theme,iconSize:"small",color:h,padding:"none",margin:"none",fixed:!0,url:this.processedBack.href,identifier:this.processedBack.id,onClick:e=>this.handleClick(e,{label:this.processedBack.label,href:this.processedBack.href,id:this.processedBack.id,analyticsId:this.processedBack.analyticsId})},this.processedBack.label)),("gray"===this.variation||"minimal"===this.variation)&&this.categoryIcon&&i("duet-icon",{class:{"duet-hero-icon":!0,"duet-hero-icon-has-heading":""!==this.preHeading},size:"x-large",background:this.categoryIconColor,name:this.categoryIcon}),i("div",{class:"duet-hero-text",part:"duet-hero-text"},this.preHeading&&i("duet-paragraph",{margin:"none",class:"duet-hero-pre"},this.preHeading),i("slot",{name:"badge"}),(this.heading||this.hasHeadingSlot)&&i("duet-heading",{theme:this.theme,level:this.level,class:{"duet-hero-heading":!0,"duet-hero-heading-has-pre":""!==this.preHeading},color:"default"===this.variation?"gray-lightest":"",visualLevel:"gray"===this.variation||"minimal"===this.variation?"h2":"h1"},this.heading?this.heading:i("slot",{name:"heading"})),this.description&&i("duet-paragraph",{theme:this.theme,color:a,variation:"intro"},this.description),("gray"===this.variation||"minimal"===this.variation)&&this.processedListItems&&i("duet-list",{theme:this.theme,"label-width":"30",breakpoint:"large",mobile:this.leftAlign?void 0:"center"},this.processedListItems.map((e=>i("duet-list-item",null,i("span",{slot:"label"},e.label),i("span",{slot:"value"},e.value))))),this.buttonLabel&&i("duet-button",{url:this.buttonUrl,icon:this.icon,iconRight:this.iconRight,iconSize:this.iconSize,variation:t,theme:this.theme,identifier:this.buttonId,onClick:e=>this.handleClick(e,this.buttonData),fixed:!0},this.buttonLabel),i("span",{class:"duet-hero-slot-unnamed"},i("slot",null))),("gray"===this.variation||"minimal"===this.variation)&&this.processedActions&&i("div",{class:"duet-hero-links"},this.processedActions.map((e=>i("a",{class:"duet-hero-link",href:e.href,id:e.id,target:e.external?"_blank":"_self",onClick:t=>this.handleClick(t,e)},i("div",{class:"duet-hero-action-icon"},i("duet-icon",{size:"small",margin:"none",name:e.icon,color:"currentColor",outline:o})),i("span",null,e.label),e.external&&i("duet-visually-hidden",null,", ",this.accessibleLabelExternal),e.external&&i("div",{class:"duet-hero-action-arrow"},i("duet-icon",{icon:r.svg,size:"xx-small",margin:"none",color:"currentColor"})))))),this.image&&"image"!==this.variation&&i("div",{class:"duet-hero-image",style:e}),i("slot",{name:"bottom"})))}get element(){return o(this)}static get watchers(){return{back:["refresh"],listItems:["refresh"],actions:["refresh"]}}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-hero{position:relative;display:block;width:100%;padding:48px 28px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;text-decoration:none;text-shadow:none;text-transform:none;background:#00294d}.duet-hero.duet-p-0{padding:0 !important}.duet-hero.duet-m-0{margin:0 !important}.duet-hero.duet-hero-text-center{text-align:center !important}.duet-hero.duet-hero-light{padding-bottom:0 !important}@media (min-width: 62em){.duet-hero.duet-hero-light{padding-bottom:28px !important}}.duet-hero.duet-hero-with-image{padding-bottom:20px !important;margin-bottom:-36px}@media (min-width: 48em){.duet-hero.duet-hero-with-image{padding-bottom:28px !important}}@media (min-width: 62em){.duet-hero.duet-hero-with-image{padding-bottom:36px !important;margin-bottom:-20px}}.duet-hero.duet-hero-light,.duet-hero.duet-hero-with-image{color:#00294d;background-color:white;background-image:linear-gradient(#f3f9fc, #f9fcfe)}.duet-hero.duet-hero-light::before,.duet-hero.duet-hero-with-image::before{position:absolute;top:100%;left:0;z-index:-1;width:100%;height:400px;content:"";background-image:linear-gradient(#f9fcfe, white)}.duet-hero.duet-hero-light.duet-theme-turva,.duet-hero.duet-hero-with-image.duet-theme-turva{color:#171c3a;background-image:linear-gradient(#f5f5f7, #fafafb)}.duet-hero.duet-hero-light.duet-theme-turva::before,.duet-hero.duet-hero-with-image.duet-theme-turva::before{background-image:linear-gradient(#fafafb, white)}.duet-hero.duet-hero-gray{color:#00294d;background:#f5f8fa}.duet-hero.duet-hero-gray.duet-theme-turva{background:#f5f5f7}@media (min-width: 62em){.duet-hero.duet-hero-gray .duet-hero-text{display:inline-block;vertical-align:top}.duet-hero.duet-hero-gray .duet-hero-icon+.duet-hero-text{margin-left:28px}}@media (min-width: 62em){.duet-hero.duet-hero-gray-with-actions{padding-bottom:65.4545454545px}}@media (min-width: 62em){.duet-hero.duet-hero-gray-with-back{padding-top:72px}}.duet-hero.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";background:#c60c30}@media (min-width: 62em){.duet-hero{min-height:290px;padding:111.6px 56px;overflow:visible}}.duet-hero-icon{display:inline-block;vertical-align:top}@media (min-width: 62em){.duet-hero-icon{margin-top:-8px}}@media (min-width: 62em){.duet-hero-heading{margin-top:12px}}@media (min-width: 62em){.duet-hero-heading-has-pre{margin-top:0}}.duet-hero-wrapper{position:relative;width:100%;max-width:1110px;margin:0 auto;text-align:center}.duet-hero-left-align .duet-hero-wrapper{text-align:left}.duet-hero-with-image .duet-hero-wrapper{position:static}@media (min-width: 62em){.duet-hero-wrapper{text-align:left}}.duet-hero-text{max-width:50rem;margin:0 auto}.duet-hero-text-center .duet-hero-text{text-align:center !important}@media (min-width: 48em){.duet-hero-text{width:80%}.duet-hero-left-align .duet-hero-text{margin:0}}@media (min-width: 62em){.duet-hero-text{width:52%;max-width:none;margin-top:-10px;margin-left:0}.duet-hero-text-center .duet-hero-text{margin-left:auto}}.duet-hero:not(.duet-hero-with-image) .duet-hero-image{width:100%;max-width:400px;height:0;padding-bottom:50%;margin:28px auto 0;background-repeat:no-repeat;background-position:50% 50%;background-size:contain}@media (min-width: 36em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{padding-bottom:40%}}@media (min-width: 48em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{max-width:420px;padding-bottom:34%}.duet-hero-light .duet-hero:not(.duet-hero-with-image) .duet-hero-image{max-width:540px}}@media (min-width: 62em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{position:absolute;top:50%;right:0;padding-bottom:30%;margin:0;transform:translateY(-50%)}.duet-hero-light .duet-hero:not(.duet-hero-with-image) .duet-hero-image{right:-60px;padding-bottom:26%}.duet-hero-gray .duet-hero:not(.duet-hero-with-image) .duet-hero-image{right:-34px;padding-bottom:20%}}@media (min-width: 62em){.duet-hero-gray:not(.duet-hero-with-image) .duet-hero-image{right:-34px;padding-bottom:20%}}.duet-hero-image-wrapper{position:relative;width:80%;height:0;padding-bottom:80%;margin:-30px auto 36px;overflow:hidden;border-radius:28%;box-shadow:0 0 20px rgba(255, 255, 255, 0.5);transform:rotate(10deg)}.duet-theme-turva .duet-hero-image-wrapper{padding-bottom:68%;border-radius:44% 47% 38% 54%;transform:none}@media screen and (min-width: 440px){.duet-hero-image-wrapper{width:300px;padding-bottom:300px}.duet-theme-turva .duet-hero-image-wrapper{width:80%;padding-bottom:68%}}@media (min-width: 62em){.duet-hero-image-wrapper{position:absolute;top:-60px;right:-50px;width:470px;padding-bottom:470px;margin:0}.duet-theme-turva .duet-hero-image-wrapper{top:-40px;right:-80px;width:536px;padding-bottom:470px}}@media (min-width: 76.25em){.duet-hero-image-wrapper{top:-70px;right:-60px;width:600px;padding-bottom:600px}.duet-theme-turva .duet-hero-image-wrapper{top:-70px;right:-60px;width:650px;padding-bottom:600px}}@media screen and (min-width: 1450px){.duet-hero-image-wrapper{top:-70px;right:25px}.duet-theme-turva .duet-hero-image-wrapper{right:0}}.duet-hero-image-wrapper .duet-hero-image{position:absolute;top:-5%;left:-5%;width:110%;height:110%;background-repeat:no-repeat;background-position:50% 50%;background-size:cover;transform:rotate(-10deg)}.duet-theme-turva .duet-hero-image-wrapper .duet-hero-image{top:0;left:0;width:100%;height:100%;transform:none}.duet-hero-image-mask{position:relative;margin:-48px auto 0;overflow:hidden}@media (min-width: 62em){.duet-hero-image-mask{position:absolute;top:0;right:0;width:470px;height:460px;margin:0}}@media (min-width: 76.25em){.duet-hero-image-mask{width:650px;height:580px}}@media screen and (min-width: 1450px){.duet-hero-image-mask{right:50%;transform:translateX(110%)}.duet-theme-turva .duet-hero-image-mask{transform:translateX(108%)}}duet-heading+duet-button{margin-top:12px !important}.duet-hero-links{width:calc(100% + 56px);margin-top:48px;margin-left:-28px}.duet-hero-minimal .duet-hero-links{margin-top:28px}@media (min-width: 36em){.duet-hero-links{margin-top:72px}.duet-hero-minimal .duet-hero-links{margin-top:28px}}@media (min-width: 62em){.duet-hero-links{width:auto;margin:36px 0 0}.duet-hero-minimal .duet-hero-links{margin-top:28px}}.duet-hero-link{display:flex;align-items:center;width:100%;padding:16px 16px 8px;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.25;color:#0077b3;text-align:left;text-decoration:none;border-bottom:1px solid #e1e3e6;transition:background-color 300ms ease}.duet-hero-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-hero-link:focus,.duet-hero-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-hero-link:hover,.duet-hero-link:hover .duet-hero-action-arrow{color:#004d80 !important;background:transparent !important}.duet-theme-turva .duet-hero-link:hover,.duet-theme-turva .duet-hero-link:hover .duet-hero-action-arrow{color:#940925 !important}.duet-theme-turva .duet-hero-link{color:#c60c30}@media (min-width: 36em){.duet-hero-link{padding:16px 16px 16px 28px}}@media (min-width: 62em){.duet-hero-link{display:inline-flex;width:auto;max-width:350px;padding:0;margin:0 28px 16px 0;border:0;border-radius:4px}}.duet-hero-link:hover{background:rgba(0, 0, 0, 0.02)}@media (min-width: 62em){.duet-hero-link:hover{background:transparent}}.duet-hero-link:first-of-type{border-top:1px solid #e1e3e6}@media (min-width: 62em){.duet-hero-link:first-of-type{margin-top:0;border:0}}.duet-hero-link:last-of-type{margin-bottom:-48px}@media (min-width: 62em){.duet-hero-link:last-of-type{margin-right:0;margin-bottom:0}}.duet-hero-link span{margin-top:-8px}@media (min-width: 36em){.duet-hero-link span{margin:0}}.duet-hero-action-icon{margin-right:8px}@media (min-width: 36em){.duet-hero-action-icon{margin-right:12px}}.duet-hero-action-arrow{margin:0 0 0 8px;color:#0077b3}@media (max-width: 35.9375em){.duet-hero-action-arrow{margin-top:-9px}}.duet-theme-turva .duet-hero-action-arrow{color:#c60c30}.duet-hero-back{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center}.duet-hero-left-align .duet-hero-back{align-items:self-start;justify-content:flex-start}@media (min-width: 36em){.duet-hero-back{margin-bottom:36px !important}.duet-hero-minimal .duet-hero-back{margin-bottom:28px !important}}@media (min-width: 62em){.duet-hero-back{display:block}}.duet-hero-pre{display:inline-block;width:auto;margin-right:8px}.duet-hero-pre+duet-heading{margin-top:0 !important}';export{s as duet_hero}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as i,h as e,F as a,H as n,g as s}from"./p-a1ed9a6c.js";import{i as r}from"./p-4ebf1618.js";import{c as o}from"./p-c1325e35.js";import{d as h}from"./p-0b3f675e.js";import{j as p,k as l,d,b as u,a as c,c as g,l as m,m as b}from"./p-54f35a79.js";import{g as v}from"./p-ede854e1.js";import"./p-5a9d75e1.js";const k=class{constructor(e){t(this,e),this.duetPageChange=i(this,"duetPageChange",3),this.listId=o("duet-pagination-list"),this.actionChain=async(t,i)=>{if(0===t)this.current=1;else if(i!==t){const i=Math.ceil(t/this.visibleItems)-1;i!==this.internalSectionIndex&&(this.internalSectionIndex=i,await this.setFocus())}return!0},this.emitPageEvent=h(((t,i)=>{const e=Number(i||this.current);this.duetPageChange.emit({component:"duet-pagination",from:e*this.take,to:e*this.take+this.take,current:e,take:this.take,type:"page",originalEvent:t})}),100),this.getEnteredNumber=h((t=>{this.emitPageEvent(t,this.numbersStore),this.current=Number(this.numbersStore),this.numbersStore="",this.duetPageChange.emit({component:"duet-pagination",from:this.current*this.take,to:this.current*this.take+this.take,current:this.current,take:this.take,type:"jump",originalEvent:t})}),500),this.numbersStore="",this.totalPages=10,this.internalSectionIndex=0,this.theme="",this.jumpString="...",this.variation="default",this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number, or enter a page number when this element is in focus to jump to a page",pagination_label:"Pagination, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen, tai kirjoittaa sivunumeron, jos tämä elementti on aktiivinen, siirtymään sivulle",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida, eller skriva in sida när elementet är i fokus för att hoppa till en sida",pagination_label:"Sidutning, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}},this.accessibleLabels=v(this.accessibleLabelsDefaults),this.take=5,this.visibleItems=5,this.total=1e3,this.ariaControls="",this.current=1}watchPropTotalHandler(){return this.calculatePageTake(),!0}watchStateHandler(t,i){return this.actionChain(t,i)}componentWillLoad(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1,this.calculatePageTake(),r(this)}componentWillRender(){0!==this.internalSectionIndex&&this.internalSectionIndex!==this.totalPages&&this.calculatePageTake()}componentDidRender(){this.setFocus()}calculatePageTake(){this.totalPages=Math.ceil(this.total/this.take)}async onMouseHandler(t,i){t.preventDefault(),t.stopPropagation(),this.current=this.current+i,this.emitPageEvent(t)}async onKeyboardDown(t){let i=this.current;(d(t)||u(t))&&i--,(c(t)||g(t))&&i++,p(t)&&i<=this.totalPages&&(this.current=i,this.emitPageEvent(t)),l(t)&&this.shouldDisplayNavigation()&&(this.numbersStore=this.numbersStore+t.key,Number(this.numbersStore)>this.totalPages&&(this.numbersStore=this.totalPages+""),this.getEnteredNumber(t))}async setFocus(){const t=this.nativeNav.querySelector("li.duet-pagination-item-is-active duet-button");t&&await t.setFocus()}pageClickHandler(t){t.preventDefault();const i=Number(t.target.getAttribute("data-id"));this.current=i,this.emitPageEvent({},i)}sectionClickHandler(t,i){t.preventDefault();let e=this.internalSectionIndex+i;e*(this.take*this.visibleItems)>this.total&&(e=this.internalSectionIndex),this.internalSectionIndex=e>=0?e:0}jumpToStart(t){t.preventDefault(),this.internalSectionIndex=0,this.current=1,this.emitPageEvent(t)}jumpToEnd(t){t.preventDefault(),this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1),this.current=this.totalPages,this.emitPageEvent(t)}renderPageNumbers(){const t=[];let i=this.internalSectionIndex*this.visibleItems;do{if(i++,i>this.totalPages)break;t.push(e("li",{class:{"duet-pagination-item":!0,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},e("duet-button",{class:{"duet-pagination-link":!0},color:i!==this.current?"secondary":"primary","data-id":i,"center-text":!0,variation:"plain",margin:"none",accessibleLabel:`${this.accessibleLabels.go_to} ${i}`,onClick:t=>this.pageClickHandler(t)},e("div",{class:"duet-pagination-page-number","aria-hidden":!0},i))))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t}shouldDisplayNavigation(){return"compact"!==this.variation&&!(2*this.visibleItems>this.total/this.take)}render(){return e(n,{onKeyDown:t=>this.onKeyboardDown(t)},e("nav",{role:"navigation","aria-labelledby":this.accessibleLabelledBy?`${this.accessibleLabelledBy} ${this.listId}`:this.listId,"aria-describedby":this.accessibleDescribedBy?`${this.accessibleDescribedBy} ${this.listId}`:this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:t=>this.nativeNav=t,"aria-controls":this.ariaControls,class:{"duet-pagination-nav":!0,[`duet-pagination-variation-${this.variation}`]:!0}},""!==this.numbersStore&&e("div",{"aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":`${this.accessibleLabels.jump_to} ${this.numbersStore}`,part:"navigation-overlay"},e("duet-badge",null,"jump to page : ",this.numbersStore)),e("ol",{id:this.listId,class:{"duet-pagination":!0,"duet-pagination-is-dimmed":""!==this.numbersStore},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:0===this.internalSectionIndex&&this.current<=1,"data-direction":"back",onClick:t=>this.onMouseHandler(t,-1),"aria-label":this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small"})),0!==this.internalSectionIndex&&this.shouldDisplayNavigation()&&e(a,null,e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:"secondary",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t)},e("div",{class:"duet-pagination-page-number"},"1"))),e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:"secondary",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,-1)},e("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"...")))),this.renderPageNumbers(),this.internalSectionIndex*(this.visibleItems+2)<this.totalPages&&this.shouldDisplayNavigation()&&e(a,null,e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:"secondary",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,1)},e("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"..."))),e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:"secondary",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t)},e("div",{class:"duet-pagination-page-number"},this.totalPages)))),e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1,class:"duet-date-dialog-next","aria-label":this.accessibleLabels.next_page,onClick:t=>this.onMouseHandler(t,1),"icon-name":"action-arrow-right-small"})))))}get element(){return s(this)}static get watchers(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"]}}};k.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}";const f=class{constructor(e){t(this,e),this.duetRangeStepUpdate=i(this,"duetRangeStepUpdate",7),this.leftBn=o("duetRangeStepper-left"),this.rightBn=o("duetRangeStepper-right"),this.handleClick=(t,i)=>{t.preventDefault(),this.stepIndex+=i,this.clampStepIndex(),this.handleStepClick(t)},this.theme="",this.stepIndex=1,this.stepSize=50,this.total=1e3,this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}},this.ariaLabels=v(this.ariaLabelsDefaults),this.ariaControls=""}watchStepIndexStateHandler(t){this.element.shadowRoot.childElementCount>0&&(t<=1?(this.leftBnRef.setAttribute("disabled",""),this.rightBnRef.focus()):this.leftBnRef.removeAttribute("disabled"),t>=this.total/this.stepSize?(this.rightBnRef.setAttribute("disabled",""),this.leftBnRef.focus()):this.rightBnRef.removeAttribute("disabled"))}watchStepSizeStateHandler(t,i){t!==i&&this.stepIndex*t>this.total&&(this.stepIndex=Math.ceil(this.total/t))}handleStepClick(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.stepIndex*this.stepSize-this.stepSize,to:this.getTo(),index:this.stepIndex})}componentWillLoad(){r(this),this.clampStepIndex()}componentDidLoad(){this.watchStepIndexStateHandler(this.stepIndex)}clampStepIndex(){this.stepIndex<1?this.stepIndex=1:this.stepIndex*this.stepSize>this.total&&(this.stepIndex=Math.ceil(this.total/this.stepSize))}getTo(){const t=this.stepIndex*this.stepSize;return t>this.total?this.total:t}generateStepSize(){let t=Math.floor((this.stepIndex-1)*this.stepSize);0===t&&(t=1);const i=Math.floor(this.stepIndex*this.stepSize);return this.ariaLabels.x_of_y.replace("{0}",String(t)).replace("{1}",String(i)).replace("{2}",String(this.total))}async onKeyboardDown(t){let i=this.stepIndex,e=1;(d(t)||u(t)||m(t))&&(i--,e=-1,this.leftBnRef.focus()),(c(t)||g(t)||b(t))&&(i++,e=1),p(t)&&i>0&&i*this.stepSize<=this.total&&this.handleClick(t,e)}render(){return e("div",{class:{"duet-range-stepper":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:t=>this.onKeyboardDown(t),"aria-controls":this.ariaControls},e("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),e("duet-action-button",{class:"duet-range-step-button duet-range-step-minus",onClick:t=>this.handleClick(t,-1),id:this.leftBn,"aria-label":this.ariaLabels.previous_increment,ref:t=>this.leftBnRef=t,part:"navigation-arrow",iconName:"action-arrow-left-small"}),e("duet-action-button",{class:"duet-range-step-button duet-range-step-plus",onClick:t=>this.handleClick(t,1),"aria-label":this.ariaLabels.next_increment,id:this.rightBn,ref:t=>this.rightBnRef=t,part:"navigation-arrow",iconName:"action-arrow-right-small"}))}get element(){return s(this)}static get watchers(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}}};f.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:#00294d}.duet-range-stepper ::part(button){border:0}";export{k as duet_pagination,f as duet_range_stepper}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{l(n.next(t))}catch(e){r(e)}}function o(t){try{l(n["throw"](t))}catch(e){r(e)}}function l(t){t.done?i(t.value):a(t.value).then(s,o)}l((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(r=s[0]&2?a["return"]:s[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,s[1])).done)return r;if(a=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(o){s=[6,o];a=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-b5a1486e.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-34ea0849.system.js","./p-a63f753e.system.js","./p-f69b64c9.system.js","./p-b6d51921.system.js"],(function(t){"use strict";var e,i,n,a,r,s,o,l,u,c,p,d,h,g,b,f,m,v;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.F;r=t.H;s=t.g},function(t){o=t.i},function(t){l=t.c},function(t){u=t.d},function(t){c=t.j;p=t.k;d=t.d;h=t.b;g=t.a;b=t.c;f=t.l;m=t.m},function(t){v=t.g},function(){}],execute:function(){var y=function(t,e,i){if(t*2>e/i){return false}return true};var x="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}";var k=t("duet_pagination",function(){function t(t){var n=this;e(this,t);this.duetPageChange=i(this,"duetPageChange",3);this.listId=l("duet-pagination-list");this.actionChain=function(t,e){return __awaiter(n,void 0,void 0,(function(){var i;return __generator(this,(function(n){switch(n.label){case 0:if(!(t===0))return[3,1];this.current=1;return[3,3];case 1:if(!(e!==t))return[3,3];i=Math.ceil(t/this.visibleItems)-1;if(!(i!==this.internalSectionIndex))return[3,3];this.internalSectionIndex=i;return[4,this.setFocus()];case 2:n.sent();n.label=3;case 3:return[2,true]}}))}))};this.emitPageEvent=u((function(t,e){var i=Number(e||n.current);n.duetPageChange.emit({component:"duet-pagination",from:i*n.take,to:i*n.take+n.take,current:i,take:n.take,type:"page",originalEvent:t})}),100);this.getEnteredNumber=u((function(t){n.emitPageEvent(t,n.numbersStore);n.current=Number(n.numbersStore);n.numbersStore="";n.duetPageChange.emit({component:"duet-pagination",from:n.current*n.take,to:n.current*n.take+n.take,current:n.current,take:n.take,type:"jump",originalEvent:t})}),500);this.numbersStore="";this.totalPages=10;this.internalSectionIndex=0;this.theme="";this.jumpString="...";this.variation="default";this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number, or enter a page number when this element is in focus to jump to a page",pagination_label:"Pagination, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen, tai kirjoittaa sivunumeron, jos tämä elementti on aktiivinen, siirtymään sivulle",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida, eller skriva in sida när elementet är i fokus för att hoppa till en sida",pagination_label:"Sidutning, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}};this.accessibleLabels=v(this.accessibleLabelsDefaults);this.take=5;this.visibleItems=5;this.total=1e3;this.ariaControls="";this.current=1}t.prototype.watchPropTotalHandler=function(){this.calculatePageTake();return true};t.prototype.watchStateHandler=function(t,e){return this.actionChain(t,e)};t.prototype.componentWillLoad=function(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1;this.calculatePageTake();o(this)};t.prototype.componentWillRender=function(){if(this.internalSectionIndex!==0&&this.internalSectionIndex!==this.totalPages){this.calculatePageTake()}};t.prototype.componentDidRender=function(){this.setFocus()};t.prototype.calculatePageTake=function(){this.totalPages=Math.ceil(this.total/this.take)};t.prototype.onMouseHandler=function(t,e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){t.preventDefault();t.stopPropagation();this.current=this.current+e;this.emitPageEvent(t);return[2]}))}))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.current;if(d(t)||h(t)){e--}if(g(t)||b(t)){e++}if(c(t)){if(e<=this.totalPages){this.current=e;this.emitPageEvent(t)}}if(p(t)&&this.shouldDisplayNavigation()){this.numbersStore=this.numbersStore+t.key;if(Number(this.numbersStore)>this.totalPages){this.numbersStore=this.totalPages+""}this.getEnteredNumber(t)}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:t=this.nativeNav.querySelector("li.duet-pagination-item-is-active duet-button");e=t;if(!e)return[3,2];return[4,t.setFocus()];case 1:e=i.sent();i.label=2;case 2:e;return[2]}}))}))};t.prototype.pageClickHandler=function(t){t.preventDefault();var e=Number(t.target.getAttribute("data-id"));this.current=e;this.emitPageEvent({},e)};t.prototype.sectionClickHandler=function(t,e){t.preventDefault();var i=this.internalSectionIndex+e;var n=this.take*this.visibleItems;if(i*n>this.total){i=this.internalSectionIndex}var a=i;this.internalSectionIndex=a>=0?a:0};t.prototype.jumpToStart=function(t){t.preventDefault();this.internalSectionIndex=0;this.current=1;this.emitPageEvent(t)};t.prototype.jumpToEnd=function(t){t.preventDefault();this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1);this.current=this.totalPages;this.emitPageEvent(t)};t.prototype.renderPageNumbers=function(){var t=this;var e=[];var i=this.internalSectionIndex*this.visibleItems;do{i++;if(i>this.totalPages){break}e.push(n("li",{class:{"duet-pagination-item":true,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},n("duet-button",{class:{"duet-pagination-link":true},color:i!==this.current?"secondary":"primary","data-id":i,"center-text":true,variation:"plain",margin:"none",accessibleLabel:"".concat(this.accessibleLabels.go_to," ").concat(i),onClick:function(e){return t.pageClickHandler(e)}},n("div",{class:"duet-pagination-page-number","aria-hidden":true},i))))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return e};t.prototype.shouldDisplayNavigation=function(){if(this.variation!=="compact"){return y(this.visibleItems,this.total,this.take)}return false};t.prototype.render=function(){var t;var e=this;return n(r,{onKeyDown:function(t){return e.onKeyboardDown(t)}},n("nav",{role:"navigation","aria-labelledby":this.accessibleLabelledBy?"".concat(this.accessibleLabelledBy," ").concat(this.listId):this.listId,"aria-describedby":this.accessibleDescribedBy?"".concat(this.accessibleDescribedBy," ").concat(this.listId):this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:function(t){return e.nativeNav=t},"aria-controls":this.ariaControls,class:(t={"duet-pagination-nav":true},t["duet-pagination-variation-".concat(this.variation)]=true,t)},this.numbersStore!==""&&n("div",{"aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":"".concat(this.accessibleLabels.jump_to," ").concat(this.numbersStore),part:"navigation-overlay"},n("duet-badge",null,"jump to page : ",this.numbersStore)),n("ol",{id:this.listId,class:{"duet-pagination":true,"duet-pagination-is-dimmed":this.numbersStore!==""},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.internalSectionIndex===0&&this.current<=1,"data-direction":"back",onClick:function(t){return e.onMouseHandler(t,-1)},"aria-label":this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small"})),this.internalSectionIndex!==0&&this.shouldDisplayNavigation()&&n(a,null,n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:"secondary",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:function(t){return e.jumpToStart(t)}},n("div",{class:"duet-pagination-page-number"},"1"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:"secondary",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return e.sectionClickHandler(t,-1)}},n("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"...")))),this.renderPageNumbers(),this.internalSectionIndex*(this.visibleItems+2)<this.totalPages&&this.shouldDisplayNavigation()&&n(a,null,n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:"secondary",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return e.sectionClickHandler(t,1)}},n("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"..."))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:"secondary",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:function(t){return e.jumpToEnd(t)}},n("div",{class:"duet-pagination-page-number"},this.totalPages)))),n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1,class:"duet-date-dialog-next","aria-label":this.accessibleLabels.next_page,onClick:function(t){return e.onMouseHandler(t,1)},"icon-name":"action-arrow-right-small"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"]}},enumerable:false,configurable:true});return t}());k.style=x;var S="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:#00294d}.duet-range-stepper ::part(button){border:0}";var _=t("duet_range_stepper",function(){function t(t){var n=this;e(this,t);this.duetRangeStepUpdate=i(this,"duetRangeStepUpdate",7);this.leftBn=l("duetRangeStepper-left");this.rightBn=l("duetRangeStepper-right");this.handleClick=function(t,e){t.preventDefault();n.stepIndex+=e;n.clampStepIndex();n.handleStepClick(t)};this.theme="";this.stepIndex=1;this.stepSize=50;this.total=1e3;this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}};this.ariaLabels=v(this.ariaLabelsDefaults);this.ariaControls=""}t.prototype.watchStepIndexStateHandler=function(t){if(this.element.shadowRoot.childElementCount>0){if(t<=1){this.leftBnRef.setAttribute("disabled","");this.rightBnRef.focus()}else{this.leftBnRef.removeAttribute("disabled")}if(t>=this.total/this.stepSize){this.rightBnRef.setAttribute("disabled","");this.leftBnRef.focus()}else{this.rightBnRef.removeAttribute("disabled")}}};t.prototype.watchStepSizeStateHandler=function(t,e){if(t!==e){if(this.stepIndex*t>this.total){this.stepIndex=Math.ceil(this.total/t)}}};t.prototype.handleStepClick=function(t){var e=this.stepIndex*this.stepSize-this.stepSize;this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:e,to:this.getTo(),index:this.stepIndex})};t.prototype.componentWillLoad=function(){o(this);this.clampStepIndex()};t.prototype.componentDidLoad=function(){this.watchStepIndexStateHandler(this.stepIndex)};t.prototype.clampStepIndex=function(){if(this.stepIndex<1){this.stepIndex=1}else if(this.stepIndex*this.stepSize>this.total){this.stepIndex=Math.ceil(this.total/this.stepSize)}};t.prototype.getTo=function(){var t=this.stepIndex*this.stepSize;var e=t>this.total?this.total:t;return e};t.prototype.generateStepSize=function(){var t=Math.floor((this.stepIndex-1)*this.stepSize);if(t===0){t=1}var e=Math.floor(this.stepIndex*this.stepSize);return this.ariaLabels.x_of_y.replace("{0}",String(t)).replace("{1}",String(e)).replace("{2}",String(this.total))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(n){e=this.stepIndex;i=1;if(d(t)||h(t)||f(t)){e--;i=-1;this.leftBnRef.focus()}if(g(t)||b(t)||m(t)){e++;i=1}if(c(t)){if(e>0&&e*this.stepSize<=this.total){this.handleClick(t,i)}}return[2]}))}))};t.prototype.render=function(){var t=this;return n("div",{class:{"duet-range-stepper":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:function(e){return t.onKeyboardDown(e)},"aria-controls":this.ariaControls},n("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),n("duet-action-button",{class:"duet-range-step-button duet-range-step-minus",onClick:function(e){return t.handleClick(e,-1)},id:this.leftBn,"aria-label":this.ariaLabels.previous_increment,ref:function(e){return t.leftBnRef=e},part:"navigation-arrow",iconName:"action-arrow-left-small"}),n("duet-action-button",{class:"duet-range-step-button duet-range-step-plus",onClick:function(e){return t.handleClick(e,1)},"aria-label":this.ariaLabels.next_increment,id:this.rightBn,ref:function(e){return t.rightBnRef=e},part:"navigation-arrow",iconName:"action-arrow-right-small"}))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}},enumerable:false,configurable:true});return t}());_.style=S}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h as o,F as t,r as e,c as s,H as i,g as c}from"./p-a1ed9a6c.js";import{i as b}from"./p-4ebf1618.js";import{d}from"./p-0b3f675e.js";import{n as m,f as u,o as l,b as x,c as a}from"./p-54f35a79.js";import{g as h,a as n}from"./p-ede854e1.js";import{p as r}from"./p-5a9d75e1.js";const p=({item:e,search:s="",selected:i})=>{const c=""!==s?new RegExp("("+s.split(" ").join("|")+")","gi"):void 0;return o(t,null,i&&o("duet-icon",{class:"option-icon",name:"messaging-checked",size:"xx-small",margin:"none"}),c?o("span",{class:"option-container","aria-hidden":"true"},o("span",{innerHTML:e.name.replace(c,'<span class="highlight">$&</span>')})):e.name,e.tags&&o("span",{class:"option-tags"},e.tags.join(", ")))},v=({item:t,active:e,total:s,selected:i,label:c,clickHandler:b=(o=>{o.preventDefault()}),keyHandler:d=(o=>{o.preventDefault()}),search:m})=>o("li",{class:{"list-item":!0,option:!0,active:e,selected:i},id:e?"active_item":"","data-index":t.id,"aria-selected":e?"true":void 0,"aria-current":i?"true":void 0,role:"option","aria-label":c||`${t.name}, (${t.id+1} of ${s})`},o("a",{tabindex:"-1",onClick:o=>b(o),onKeyUp:o=>d(o),class:"option-link","aria-label":c||`${t.name}, (${t.id+1} of ${s})`,"aria-hidden":"true"},o(p,{item:t,search:m,selected:i}))),g=class{constructor(o){e(this,o),this.duetChange=s(this,"duetChange",3),this.resizeObserver=new ResizeObserver(d((o=>{var t,e;if(1===(null==o?void 0:o.length)){const s=null===(e=null===(t=o[0])||void 0===t?void 0:t.target)||void 0===e?void 0:e.getBoundingClientRect().width;this.listContainer.style.width=`${s+1}px`}}),100)),this.processedItems=null,this.inputWidth=0,this.inputValue="",this.selectionMsg="",this.listOpen=!1,this.selectedItems=new Set,this.activeItem=void 0,this.accessibleLabelDefaults={en:{heading:"Select:",item:"{name}, ({current} of {total})",itemFiltered:"{name}, ({current} of {total}, {hiddenItems} filtered)"},fi:{heading:"Valitse:",item:"{name}, ({current}/{total})",itemFiltered:"{name}, ({current}/{total}, {hiddenItems} suodatettu)"},sv:{heading:"Välj:",item:"{name}, ({current} av {total})",itemFiltered:"{name}, ({current} av {total}, {hiddenItems} filtrerade)"}},this.accessibleLabels=h(r(this.accessibleLabelDefaults),n()),this.theme="",this.force=!1,this.items=void 0,this.formatter=o=>o&&o.name?o.name:"",this.value=void 0}activeItemHandler(o){this.input.accessibleActiveDescendant=this.listOpen&&(o||0===o)?"active_item":""}handleDocumentClick(o){o.composedPath().every((o=>o!==this.element))&&(this.updateInputText(!0),this.listOpen=!1)}async formatItem(o){return this.formatter(o)}componentWillLoad(){b(this)}connectedCallback(){this.items=this.processedItems=r(this.items),this.input=this.element.querySelector("duet-input"),this.input.addEventListener("duetChange",this.updateInputValue.bind(this)),this.input.addEventListener("click",(()=>{this.listOpen=!!this.inputValue.length})),this.element.addEventListener("keydown",this.handleInputKeyDownEvent.bind(this)),this.input.accessibleAutocomplete="list",this.input.accessibleControls="duet-combobox-list-element"}disconnectedCallback(){this.input.removeEventListener("duetChange",this.updateInputValue.bind(this)),this.input.removeEventListener("click",(()=>this.listOpen=!!this.inputValue.length)),this.element.removeEventListener("keydown",this.handleInputKeyDownEvent.bind(this)),this.listElement.removeEventListener("click",(o=>{o.stopPropagation()})),this.resizeObserver.disconnect()}componentDidLoad(){this.resizeObserver.observe(this.input),this.listElement.addEventListener("click",(o=>{o.stopPropagation()}))}onListClick(o,t){return o.preventDefault(),this.updateSelectedItems(t.id),this.listOpen=!1,this.listOpen}shouldListBeFiltered(){if(this.selectedItems.size&&this.input.value===this.inputValue){const o=this.items.filter((o=>this.selectedItems.has(o.id)));return!(this.formatter(o).toLowerCase()===this.input.value.toLowerCase())}return!0}returnFilteredOrNonFiltered(){return this.processedItems?this.shouldListBeFiltered()?this.getFilteredItems():this.sortFilteredItems(this.processedItems):[]}async updateSelectedItems(o){this.selectedItems.clear(),this.selectedItems&&(this.selectedItems.has(o)?this.selectedItems.delete(o):this.selectedItems.add(o)),await this.updateInputText()}async updateInputText(o=!1){const t=0===this.selectedItems.size?[]:this.items.filter((o=>this.selectedItems.has(o.id)));1===this.selectedItems.size&&(this.input.value="",this.input.value=await this.formatItem(t[0]),this.input.scrollLeft=this.input.scrollWidth,this.activeItem=void 0,this.value=await this.formatItem(t[0]),this.duetChange.emit({value:t[0].value,item:t[0],component:"duet-combobox"})),o&&0===this.selectedItems.size&&(this.force&&(this.inputValue="",this.input.value=""),this.activeItem=void 0),this.listOpen=!1}updateInputValue(o){var t;this.inputValue=o.detail.value,this.listOpen=String(this.inputValue).length>0&&(null===(t=this.getFilteredItems())||void 0===t?void 0:t.length)>0}handleInputKeyDownEvent(o){if(this.input.accessibleActiveDescendant=void 0,m(o))return o.preventDefault(),this.selectActiveItem(),this.updateInputText(!1),void(this.listOpen=!1);if(u(o)||l(o))return this.updateInputText(!0),void(this.listOpen=!1);let t=this.activeItem;if(x(o)?(o.preventDefault(),t=this.activeItem-1):a(o)&&(o.preventDefault(),t=this.listOpen?this.activeItem+1:this.activeItem,this.listOpen=!0),a(o)||x(o)){const o=this.shouldListBeFiltered()?this.getFilteredItems():this.processedItems;(t<0||!t)&&(t=0),t>=o.length&&(t=o.length-1),this.input.accessibleActiveDescendant="active_item",this.activeItem=t,this.scrollToActive()}this.announceActive()}selectActiveItem(){if(void 0===this.activeItem)return;const o=this.returnFilteredOrNonFiltered();this.updateSelectedItems(o[this.activeItem].id)}announceActive(o){o||(o=this.returnFilteredOrNonFiltered()),void 0!==this.activeItem&&-1!==this.activeItem&&(this.selectionMsg=structuredClone(this.formatLabel(o[this.activeItem],o.length,this.items.length)))}scrollToActive(){const o=this.listElement.querySelector(".active");o&&o.scrollIntoView({behavior:"smooth",block:"center"})}formatLabel(o,t,e){return o&&void 0!==e?(t===e?this.accessibleLabels.item:this.accessibleLabels.itemFiltered).replace("{name}",String(o.name)).replace("{current}",String(this.activeItem+1)).replace("{total}",String(t)).replace("{hiddenItems}",String(e-t)):""}getFilteredItems(){const o=this.processedItems.filter((o=>{var t,e,s,i;return(null===(t=String(o.value))||void 0===t?void 0:t.toLowerCase().startsWith(null===(e=this.inputValue)||void 0===e?void 0:e.toLowerCase()))||(null===(s=String(o.name))||void 0===s?void 0:s.toLowerCase().startsWith(null===(i=this.inputValue)||void 0===i?void 0:i.toLowerCase()))||this.selectedItems.has(o.id)}));return this.sortFilteredItems(o)}sortFilteredItems(o){return o.length>0&&o.filter((o=>this.selectedItems.has(o.id))).forEach((t=>{const e=o.indexOf(t);o.splice(e,1),o.unshift(t)})),o}render(){const t=this.returnFilteredOrNonFiltered();return o(i,{role:"combobox","aria-expanded":this.listOpen?"true":"false","aria-owns":"duet-combobox-list-element","aria-haspopup":"listbox",class:{"duet-combobox":!0,[`duet-theme-${this.theme}`]:!0}},o("slot",null),o("div",{role:"list",class:{"duet-combobox-list":!0,open:this.listOpen},ref:o=>this.listContainer=o},o("ul",{class:{"duet-combobox-listbox-open":this.listOpen,"duet-combobox-listbox":!0},role:"listbox",ref:o=>this.listElement=o,id:"duet-combobox-list-element"},t.map(((e,s)=>o(v,{item:e,active:s===this.activeItem,selected:this.selectedItems.has(e.id),search:this.inputValue,total:t.length,clickHandler:o=>this.onListClick(o,e),label:this.formatLabel(e,this.returnFilteredOrNonFiltered().length,this.items.length)}))))))}get element(){return c(this)}static get watchers(){return{activeItem:["activeItemHandler"]}}};g.style='.sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:auto;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#00294d}.sc-duet-combobox-h a.sc-duet-combobox{color:#00294d;transition:none}.duet-theme-turva.sc-duet-combobox-h{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}.duet-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:#171c3a}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:#747475}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.selected.sc-duet-combobox{background:#f4cfd6}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:white;background:#c60c30}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:white}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:white}.duet-combobox-list.sc-duet-combobox{position:absolute;top:calc(100% - 12px);height:0;overflow:hidden;background:white;border-radius:0 4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.1);opacity:0}.duet-combobox-list.open.sc-duet-combobox{z-index:700;display:block;height:auto;opacity:1}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox{max-height:200px;padding:0.75rem 0;margin:0;overflow-y:scroll;font-weight:600;list-style:none;cursor:pointer;scroll-behavior:smooth}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox{padding:4px 0}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected){padding-left:16px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected) .highlight.sc-duet-combobox{text-decoration:underline}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{float:right;padding-right:0.875rem;font-weight:400;color:#909599}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.sc-duet-combobox{padding-left:0;background:#cde5f1}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-icon.sc-duet-combobox{padding:0 8px 0 8px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:#909599}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:white;background:#0077b3}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:white}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:white}';export{g as duet_combobox}