@duetds/components 5.3.1 → 5.3.4

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 (261) hide show
  1. package/hydrate/index.js +74 -39
  2. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  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 +2 -2
  12. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  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 +72 -40
  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 +3 -2
  23. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  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-modal.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  44. package/lib/cjs/duet.cjs.js +2 -2
  45. package/lib/cjs/{focus-utils-d33a726a.js → focus-utils-1e064c1a.js} +1 -1
  46. package/lib/cjs/{index-3780d82f.js → index-b08d523c.js} +1 -1
  47. package/lib/cjs/loader.cjs.js +2 -2
  48. package/lib/collection/components/duet-header/duet-header-dropdown.js +1 -0
  49. package/lib/collection/components/duet-header/duet-header.css +18 -6
  50. package/lib/collection/components/duet-upload/duet-upload.css +3 -3
  51. package/lib/collection/components/duet-upload/duet-upload.js +110 -24
  52. package/lib/collection/components/duet-upload/errorcodes.utils.js +5 -4
  53. package/lib/collection/components/duet-upload/mock.helpers.js +16 -5
  54. package/lib/collection/components/duet-upload/upload-editable-item-error.js +4 -4
  55. package/lib/collection/components/duet-upload/upload-editable-item-inprogres.js +5 -2
  56. package/lib/collection/components/duet-upload/upload-editable-item-pending.js +4 -3
  57. package/lib/collection/components/duet-upload/upload-validators.js +5 -5
  58. package/lib/collection/components/duet-upload/xhr.helpers.js +1 -0
  59. package/lib/custom-elements-bundle/index.js +74 -41
  60. package/lib/duet/duet.esm.js +1 -1
  61. package/lib/duet/duet.js +1 -1
  62. package/lib/duet/{p-5ca35070.system.entry.js → p-01e956be.system.entry.js} +1 -1
  63. package/lib/duet/{p-f2d7130c.entry.js → p-027d8655.entry.js} +1 -1
  64. package/lib/duet/{p-6300b98f.system.entry.js → p-08e4ce01.system.entry.js} +1 -1
  65. package/lib/duet/p-0f75a34a.entry.js +4 -0
  66. package/lib/duet/p-0fff5922.js +5 -0
  67. package/lib/duet/{p-3f972617.system.entry.js → p-10103b60.system.entry.js} +1 -1
  68. package/lib/duet/{p-cd6c7ef4.system.entry.js → p-10618639.system.entry.js} +1 -1
  69. package/lib/duet/{p-2820712b.system.entry.js → p-1424dd91.system.entry.js} +1 -1
  70. package/lib/duet/{p-e7c6249a.system.entry.js → p-168dfa2e.system.entry.js} +1 -1
  71. package/lib/duet/{p-0993feba.system.entry.js → p-1a9c5935.system.entry.js} +1 -1
  72. package/lib/duet/{p-b55b1eee.system.entry.js → p-1b846637.system.entry.js} +1 -1
  73. package/lib/duet/{p-ff32d4e5.entry.js → p-1d1db285.entry.js} +1 -1
  74. package/lib/duet/p-229cda36.system.entry.js +4 -0
  75. package/lib/duet/p-26a66f14.entry.js +4 -0
  76. package/lib/duet/{p-515efd5e.entry.js → p-283e7edf.entry.js} +1 -1
  77. package/lib/duet/{p-4bc446cd.entry.js → p-2a7a9d9d.entry.js} +1 -1
  78. package/lib/duet/{p-5dc2fe9c.system.entry.js → p-2c2f15ed.system.entry.js} +1 -1
  79. package/lib/duet/{p-83acdd74.system.entry.js → p-3162e948.system.entry.js} +1 -1
  80. package/lib/duet/{p-5d1712bc.entry.js → p-316cbc58.entry.js} +1 -1
  81. package/lib/duet/{p-5d048dde.system.entry.js → p-32e8ace8.system.entry.js} +1 -1
  82. package/lib/duet/{p-dbc93afd.entry.js → p-3e86dc85.entry.js} +1 -1
  83. package/lib/duet/{p-225cf8bb.entry.js → p-493db25c.entry.js} +1 -1
  84. package/lib/duet/{p-cad1a3ae.entry.js → p-4ac5dc48.entry.js} +1 -1
  85. package/lib/duet/{p-0c74813f.system.entry.js → p-4c25d11d.system.entry.js} +1 -1
  86. package/lib/duet/{p-96684a07.entry.js → p-4cce146f.entry.js} +1 -1
  87. package/lib/duet/{p-a25e8c1e.system.entry.js → p-4f4e115c.system.entry.js} +1 -1
  88. package/lib/duet/{p-11bcbf27.entry.js → p-52b2e660.entry.js} +1 -1
  89. package/lib/duet/{p-9ca9a75a.system.entry.js → p-52fafe76.system.entry.js} +1 -1
  90. package/lib/duet/{p-f9f77331.entry.js → p-5669caf1.entry.js} +1 -1
  91. package/lib/duet/{p-e9c77ad7.entry.js → p-5a819674.entry.js} +1 -1
  92. package/lib/duet/{p-fb40adf9.system.entry.js → p-5b3543a7.system.entry.js} +1 -1
  93. package/lib/duet/{p-e92ce50e.entry.js → p-5b53cbe4.entry.js} +1 -1
  94. package/lib/duet/{p-57e4d4a5.system.js → p-5d09d62d.system.js} +1 -1
  95. package/lib/duet/{p-d658e056.system.entry.js → p-5e67150f.system.entry.js} +1 -1
  96. package/lib/duet/{p-5e80341a.entry.js → p-5f4c5789.entry.js} +1 -1
  97. package/lib/duet/{p-183b1c28.system.entry.js → p-68654401.system.entry.js} +1 -1
  98. package/lib/duet/{p-bb12ef40.system.entry.js → p-6d5f7b4a.system.entry.js} +1 -1
  99. package/lib/duet/{p-10608266.entry.js → p-716e2748.entry.js} +1 -1
  100. package/lib/duet/{p-43531991.entry.js → p-760633b3.entry.js} +1 -1
  101. package/lib/duet/p-76d74ee4.js +4 -0
  102. package/lib/duet/{p-b5427844.system.entry.js → p-7a35c2ed.system.entry.js} +1 -1
  103. package/lib/duet/{p-fb84a35e.entry.js → p-7c3c9370.entry.js} +1 -1
  104. package/lib/duet/{p-70674d11.system.entry.js → p-7f10e686.system.entry.js} +1 -1
  105. package/lib/duet/{p-79d1d0cb.system.entry.js → p-81a809f7.system.entry.js} +1 -1
  106. package/lib/duet/{p-6aff0c69.system.entry.js → p-825e7d9d.system.entry.js} +1 -1
  107. package/lib/duet/{p-91fbb3dd.system.entry.js → p-82ef3411.system.entry.js} +1 -1
  108. package/lib/duet/{p-da4b1590.system.entry.js → p-89da1904.system.entry.js} +1 -1
  109. package/lib/duet/{p-6c5c94d5.system.entry.js → p-8a07cadd.system.entry.js} +1 -1
  110. package/lib/duet/{p-9ccfa377.entry.js → p-8a5a3be9.entry.js} +1 -1
  111. package/lib/duet/{p-b8c692d9.system.entry.js → p-8eb83c70.system.entry.js} +1 -1
  112. package/lib/duet/{p-6f894a84.entry.js → p-910e40c6.entry.js} +1 -1
  113. package/lib/duet/{p-6dcaafcb.entry.js → p-930217e1.entry.js} +1 -1
  114. package/lib/duet/{p-bc3bf3c1.entry.js → p-95415b84.entry.js} +1 -1
  115. package/lib/duet/p-959a7ad8.entry.js +4 -0
  116. package/lib/duet/{p-52afc90f.system.entry.js → p-96a303e2.system.entry.js} +1 -1
  117. package/lib/duet/{p-13586e5b.entry.js → p-996c2570.entry.js} +1 -1
  118. package/lib/duet/{p-d2ab2e3a.system.entry.js → p-9aa80a41.system.entry.js} +1 -1
  119. package/lib/duet/{p-7b453d02.system.entry.js → p-9dfe4fb2.system.entry.js} +1 -1
  120. package/lib/duet/{p-d825646b.entry.js → p-a27e1bba.entry.js} +1 -1
  121. package/lib/duet/{p-4cfd7479.system.entry.js → p-acd8c72d.system.entry.js} +1 -1
  122. package/lib/duet/{p-d30fca7c.system.entry.js → p-adb0f1e6.system.entry.js} +1 -1
  123. package/lib/duet/{p-db18d1d9.system.entry.js → p-b07cff09.system.entry.js} +1 -1
  124. package/lib/duet/{p-e442811b.system.entry.js → p-b2299d5e.system.entry.js} +1 -1
  125. package/lib/duet/p-c00a8662.entry.js +4 -0
  126. package/lib/duet/{p-0ed3fe09.entry.js → p-c50ce0f6.entry.js} +1 -1
  127. package/lib/duet/p-c684be20.entry.js +4 -0
  128. package/lib/duet/{p-21d29128.system.entry.js → p-cbe17092.system.entry.js} +1 -1
  129. package/lib/duet/{p-7f7bbf78.entry.js → p-cd7046d0.entry.js} +1 -1
  130. package/lib/duet/p-d1d1d93b.entry.js +4 -0
  131. package/lib/duet/{p-46201755.entry.js → p-d3588478.entry.js} +1 -1
  132. package/lib/duet/{p-fa0df688.entry.js → p-d371126f.entry.js} +1 -1
  133. package/lib/duet/{p-041a896d.system.entry.js → p-d3fafe31.system.entry.js} +1 -1
  134. package/lib/duet/p-da116a8f.system.entry.js +4 -0
  135. package/lib/duet/{p-dd8890a5.entry.js → p-da82238c.entry.js} +1 -1
  136. package/lib/duet/{p-7c89d0c2.entry.js → p-df8c26db.entry.js} +1 -1
  137. package/lib/duet/{p-6637dddb.system.entry.js → p-e143250f.system.entry.js} +1 -1
  138. package/lib/duet/{p-3f27706d.entry.js → p-e559b25d.entry.js} +1 -1
  139. package/lib/duet/{p-7924e732.entry.js → p-e64f06ad.entry.js} +1 -1
  140. package/lib/duet/{p-0e681c77.system.entry.js → p-e86b6f2c.system.entry.js} +1 -1
  141. package/lib/duet/{p-af13e0a4.system.entry.js → p-ebc5e48a.system.entry.js} +1 -1
  142. package/lib/duet/{p-e54773a3.system.js → p-f543d4f6.system.js} +1 -1
  143. package/lib/duet/{p-7b24dead.system.entry.js → p-f5d3f655.system.entry.js} +1 -1
  144. package/lib/duet/{p-e30e5451.entry.js → p-f61e1ecd.entry.js} +1 -1
  145. package/lib/duet/{p-885863ec.entry.js → p-f95a4c07.entry.js} +1 -1
  146. package/lib/duet/{p-f9779f32.entry.js → p-fa215ef0.entry.js} +1 -1
  147. package/lib/duet/{p-d9f25bfd.entry.js → p-faecd6ac.entry.js} +1 -1
  148. package/lib/duet/{p-27ddb422.entry.js → p-fb0ba613.entry.js} +1 -1
  149. package/lib/duet/p-fc6477cb.system.js +5 -0
  150. package/lib/duet/{p-1f33ee48.system.entry.js → p-fd56a160.system.entry.js} +1 -1
  151. package/lib/esm/duet-action-button.entry.js +1 -1
  152. package/lib/esm/duet-alert.entry.js +1 -1
  153. package/lib/esm/duet-badge.entry.js +1 -1
  154. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  155. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  156. package/lib/esm/duet-button_2.entry.js +1 -1
  157. package/lib/esm/duet-caption_4.entry.js +1 -1
  158. package/lib/esm/duet-card.entry.js +1 -1
  159. package/lib/esm/duet-checkbox.entry.js +1 -1
  160. package/lib/esm/duet-choice_2.entry.js +2 -2
  161. package/lib/esm/duet-collapsible.entry.js +1 -1
  162. package/lib/esm/duet-combobox.entry.js +1 -1
  163. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  164. package/lib/esm/duet-date-picker.entry.js +2 -2
  165. package/lib/esm/duet-divider_2.entry.js +1 -1
  166. package/lib/esm/duet-editable-table_3.entry.js +72 -40
  167. package/lib/esm/duet-empty-state.entry.js +1 -1
  168. package/lib/esm/duet-fieldset.entry.js +1 -1
  169. package/lib/esm/duet-footer.entry.js +1 -1
  170. package/lib/esm/duet-grid_2.entry.js +1 -1
  171. package/lib/esm/duet-header_2.entry.js +3 -2
  172. package/lib/esm/duet-hero.entry.js +1 -1
  173. package/lib/esm/duet-icon.entry.js +1 -1
  174. package/lib/esm/duet-input_2.entry.js +1 -1
  175. package/lib/esm/duet-layout.entry.js +1 -1
  176. package/lib/esm/duet-list_2.entry.js +1 -1
  177. package/lib/esm/duet-modal.entry.js +2 -2
  178. package/lib/esm/duet-notification_2.entry.js +1 -1
  179. package/lib/esm/duet-number-input.entry.js +1 -1
  180. package/lib/esm/duet-pagination_2.entry.js +1 -1
  181. package/lib/esm/duet-progress.entry.js +1 -1
  182. package/lib/esm/duet-radio_2.entry.js +1 -1
  183. package/lib/esm/duet-range-slider.entry.js +1 -1
  184. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  185. package/lib/esm/duet-select.entry.js +1 -1
  186. package/lib/esm/duet-step_2.entry.js +1 -1
  187. package/lib/esm/duet-textarea.entry.js +1 -1
  188. package/lib/esm/duet-toggle.entry.js +1 -1
  189. package/lib/esm/duet-tooltip.entry.js +1 -1
  190. package/lib/esm/duet-tray.entry.js +1 -1
  191. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  192. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  193. package/lib/esm/duet.js +2 -2
  194. package/lib/esm/{focus-utils-f13c6d24.js → focus-utils-c10fe816.js} +1 -1
  195. package/lib/esm/{index-be37acdd.js → index-45038eda.js} +1 -1
  196. package/lib/esm/loader.js +2 -2
  197. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  198. package/lib/esm-es5/duet-alert.entry.js +1 -1
  199. package/lib/esm-es5/duet-badge.entry.js +1 -1
  200. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  201. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  202. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  203. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  204. package/lib/esm-es5/duet-card.entry.js +1 -1
  205. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  206. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  207. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  208. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  209. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  210. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  211. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  212. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  213. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  214. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  215. package/lib/esm-es5/duet-footer.entry.js +1 -1
  216. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  217. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  218. package/lib/esm-es5/duet-hero.entry.js +1 -1
  219. package/lib/esm-es5/duet-icon.entry.js +1 -1
  220. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  221. package/lib/esm-es5/duet-layout.entry.js +1 -1
  222. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  223. package/lib/esm-es5/duet-modal.entry.js +1 -1
  224. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  225. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  226. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  227. package/lib/esm-es5/duet-progress.entry.js +1 -1
  228. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  229. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  230. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  231. package/lib/esm-es5/duet-select.entry.js +1 -1
  232. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  233. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  234. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  235. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  236. package/lib/esm-es5/duet-tray.entry.js +1 -1
  237. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  238. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  239. package/lib/esm-es5/duet.js +1 -1
  240. package/lib/esm-es5/{focus-utils-f13c6d24.js → focus-utils-c10fe816.js} +1 -1
  241. package/lib/esm-es5/index-45038eda.js +5 -0
  242. package/lib/esm-es5/loader.js +1 -1
  243. package/lib/types/components/duet-upload/duet-upload.d.ts +22 -1
  244. package/lib/types/components/duet-upload/errorcodes.utils.d.ts +3 -2
  245. package/lib/types/components/duet-upload/mock.helpers.d.ts +0 -1
  246. package/lib/types/components/duet-upload/upload-editable-item-error.d.ts +2 -0
  247. package/lib/types/components/duet-upload/upload-validators.d.ts +2 -1
  248. package/lib/types/components.d.ts +22 -1
  249. package/package.json +5 -5
  250. package/lib/duet/p-0696eb1a.entry.js +0 -4
  251. package/lib/duet/p-6a976ab3.js +0 -4
  252. package/lib/duet/p-73900ab3.entry.js +0 -4
  253. package/lib/duet/p-77379e14.entry.js +0 -4
  254. package/lib/duet/p-8d960bf9.system.js +0 -5
  255. package/lib/duet/p-9b726b0f.entry.js +0 -4
  256. package/lib/duet/p-9d79b4b4.system.entry.js +0 -4
  257. package/lib/duet/p-a6dafb06.entry.js +0 -4
  258. package/lib/duet/p-b391e09f.entry.js +0 -4
  259. package/lib/duet/p-d15467dd.js +0 -5
  260. package/lib/duet/p-e9102d1d.system.entry.js +0 -4
  261. package/lib/esm-es5/index-be37acdd.js +0 -5
@@ -5,7 +5,7 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-3780d82f.js');
8
+ const index = require('./index-b08d523c.js');
9
9
  const appGlobals = require('./app-globals-a032b236.js');
10
10
 
11
11
  /*
@@ -19,7 +19,7 @@ const defineCustomElements = (win, options) => {
19
19
  if (typeof window === 'undefined') return Promise.resolve();
20
20
  return patchEsm().then(() => {
21
21
  appGlobals.globalScripts();
22
- return index.bootstrapLazy(JSON.parse("[[\"duet-choice_2.cjs\",[[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.cjs\",[[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-hero.cjs\",[[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.cjs\",[[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-textarea.cjs\",[[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-number-input.cjs\",[[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.cjs\",[[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-card.cjs\",[[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],\"setFocus\":[64]}]]],[\"duet-range-slider.cjs\",[[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-toggle.cjs\",[[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-checkbox.cjs\",[[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\"],\"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-layout.cjs\",[[1,\"duet-layout\",{\"sticky\":[4],\"margin\":[1],\"stickyDistance\":[1,\"sticky-distance\"],\"center\":[4],\"tabs\":[4],\"middle\":[4]}]]],[\"duet-divider_2.cjs\",[[1,\"duet-divider\",{\"theme\":[1025],\"margin\":[1]}],[1,\"duet-spacer\",{\"size\":[1],\"direction\":[1],\"breakpoint\":[1]}]]],[\"duet-visually-hidden.cjs\",[[1,\"duet-visually-hidden\"]]],[\"duet-button_2.cjs\",[[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-caption_4.cjs\",[[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-modal.cjs\",[[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-cookie-consent.cjs\",[[1,\"duet-cookie-consent\",{\"accessibleLabel\":[1,\"accessible-label\"],\"theme\":[1025]}]]],[\"duet-notification_2.cjs\",[[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.cjs\",[[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.cjs\",[[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-combobox.cjs\",[[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-tray.cjs\",[[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.cjs\",[[1,\"duet-breadcrumb\",{\"theme\":[1025],\"href\":[1025],\"icon\":[1025],\"accessibleLabel\":[1,\"accessible-label\"]}]]],[\"duet-breadcrumbs.cjs\",[[1,\"duet-breadcrumbs\",{\"theme\":[1025],\"children\":[32]}]]],[\"duet-collapsible.cjs\",[[1,\"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-select.cjs\",[[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.cjs\",[[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],\"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.cjs\",[[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.cjs\",[[1,\"duet-empty-state\",{\"theme\":[1025],\"icon\":[1],\"size\":[1]}]]],[\"duet-progress.cjs\",[[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.cjs\",[[1,\"duet-upload-aria-status\",{\"statusMessageLabel\":[16],\"accessibleAriaLive\":[1,\"accessible-aria-live\"],\"valid\":[2],\"total\":[2],\"invalid\":[2],\"inprogress\":[2],\"statusMessage\":[32]}]]],[\"duet-grid_2.cjs\",[[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-badge.cjs\",[[1,\"duet-badge\",{\"theme\":[1025],\"variation\":[1],\"margin\":[1]}]]],[\"duet-icon.cjs\",[[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-header_2.cjs\",[[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-list_2.cjs\",[[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.cjs\",[[1,\"duet-fieldset\",{\"theme\":[1025],\"margin\":[1],\"caption\":[1],\"label\":[1],\"error\":[1],\"labelHidden\":[4,\"label-hidden\"],\"hasTooltip\":[32]}]]],[\"duet-action-button.cjs\",[[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],\"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-editable-table_3.cjs\",[[1,\"duet-upload\",{\"accessibleActiveDescendant\":[1,\"accessible-active-descendant\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleControls\":[1,\"accessible-controls\"],\"accessibleOwns\":[1,\"accessible-owns\"],\"external\":[4],\"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],\"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]}]]],[\"duet-tooltip.cjs\",[[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]},[[9,\"scroll\",\"onScroll\"],[4,\"click\",\"handleDocumentClick\"]]]]],[\"duet-input_2.cjs\",[[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]}]]]]"), options);
22
+ return index.bootstrapLazy(JSON.parse("[[\"duet-choice_2.cjs\",[[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.cjs\",[[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-hero.cjs\",[[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.cjs\",[[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-textarea.cjs\",[[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-number-input.cjs\",[[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.cjs\",[[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-card.cjs\",[[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],\"setFocus\":[64]}]]],[\"duet-range-slider.cjs\",[[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-toggle.cjs\",[[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-checkbox.cjs\",[[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\"],\"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-layout.cjs\",[[1,\"duet-layout\",{\"sticky\":[4],\"margin\":[1],\"stickyDistance\":[1,\"sticky-distance\"],\"center\":[4],\"tabs\":[4],\"middle\":[4]}]]],[\"duet-divider_2.cjs\",[[1,\"duet-divider\",{\"theme\":[1025],\"margin\":[1]}],[1,\"duet-spacer\",{\"size\":[1],\"direction\":[1],\"breakpoint\":[1]}]]],[\"duet-visually-hidden.cjs\",[[1,\"duet-visually-hidden\"]]],[\"duet-button_2.cjs\",[[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-caption_4.cjs\",[[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-modal.cjs\",[[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-cookie-consent.cjs\",[[1,\"duet-cookie-consent\",{\"accessibleLabel\":[1,\"accessible-label\"],\"theme\":[1025]}]]],[\"duet-notification_2.cjs\",[[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.cjs\",[[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.cjs\",[[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-combobox.cjs\",[[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-tray.cjs\",[[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.cjs\",[[1,\"duet-breadcrumb\",{\"theme\":[1025],\"href\":[1025],\"icon\":[1025],\"accessibleLabel\":[1,\"accessible-label\"]}]]],[\"duet-breadcrumbs.cjs\",[[1,\"duet-breadcrumbs\",{\"theme\":[1025],\"children\":[32]}]]],[\"duet-collapsible.cjs\",[[1,\"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-select.cjs\",[[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.cjs\",[[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],\"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.cjs\",[[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.cjs\",[[1,\"duet-empty-state\",{\"theme\":[1025],\"icon\":[1],\"size\":[1]}]]],[\"duet-progress.cjs\",[[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.cjs\",[[1,\"duet-upload-aria-status\",{\"statusMessageLabel\":[16],\"accessibleAriaLive\":[1,\"accessible-aria-live\"],\"valid\":[2],\"total\":[2],\"invalid\":[2],\"inprogress\":[2],\"statusMessage\":[32]}]]],[\"duet-grid_2.cjs\",[[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-badge.cjs\",[[1,\"duet-badge\",{\"theme\":[1025],\"variation\":[1],\"margin\":[1]}]]],[\"duet-icon.cjs\",[[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-header_2.cjs\",[[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-list_2.cjs\",[[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.cjs\",[[1,\"duet-fieldset\",{\"theme\":[1025],\"margin\":[1],\"caption\":[1],\"label\":[1],\"error\":[1],\"labelHidden\":[4,\"label-hidden\"],\"hasTooltip\":[32]}]]],[\"duet-action-button.cjs\",[[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],\"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-editable-table_3.cjs\",[[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]}]]],[\"duet-tooltip.cjs\",[[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]},[[9,\"scroll\",\"onScroll\"],[4,\"click\",\"handleDocumentClick\"]]]]],[\"duet-input_2.cjs\",[[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]}]]]]"), options);
23
23
  });
24
24
  };
25
25
 
@@ -12,6 +12,7 @@ export const DuetHeaderDropdown = (props, _children) => {
12
12
  "duet-header-dropdown-toggle": true,
13
13
  "duet-header-button": true,
14
14
  active: props.active,
15
+ open: props.isOpen,
15
16
  }, onClick: props.onToggle },
16
17
  props.icon && h(DuetHeaderIcon, { icon: props.icon }),
17
18
  h("span", { "aria-hidden": "true", id: `${props.id}-label`, class: "duet-header-dropdown-label" }, props.label),
@@ -513,7 +513,7 @@ button {
513
513
  color: #004d80;
514
514
  }
515
515
  .duet-theme-turva .duet-header-button:hover {
516
- color: #444445;
516
+ color: #940925;
517
517
  }
518
518
  .duet-header-button:focus {
519
519
  outline: 0;
@@ -807,6 +807,9 @@ button {
807
807
  height: 3px;
808
808
  transform: translateY(0);
809
809
  }
810
+ .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active, .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active:hover {
811
+ color: #940925;
812
+ }
810
813
  }
811
814
  .duet-header-dropdown .duet-header-dropdown-content {
812
815
  display: none;
@@ -898,7 +901,7 @@ button {
898
901
  background: #e6f2f8;
899
902
  }
900
903
  .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item):hover {
901
- background: #f9e6ea;
904
+ background: #e4e4e6;
902
905
  }
903
906
  }
904
907
  .duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item):focus {
@@ -1048,6 +1051,9 @@ button {
1048
1051
  .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-toggle.active {
1049
1052
  color: #0077b3;
1050
1053
  }
1054
+ .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-toggle.active:not(.open) .duet-header-caret {
1055
+ transform: translateY(-50%) rotate(0deg);
1056
+ }
1051
1057
  .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content {
1052
1058
  z-index: 399;
1053
1059
  display: flex;
@@ -1106,7 +1112,7 @@ button {
1106
1112
  display: none;
1107
1113
  }
1108
1114
  .duet-header-multi-level-desktop-nav .duet-header-caret {
1109
- display: none;
1115
+ right: 1%;
1110
1116
  }
1111
1117
  .duet-header-multi-level-desktop-utils {
1112
1118
  display: flex;
@@ -1136,14 +1142,20 @@ button {
1136
1142
  display: initial;
1137
1143
  }
1138
1144
  }
1145
+ .duet-header-multi-level-desktop .duet-theme-turva .logo-and-segment .duet-header-dropdown {
1146
+ margin-left: 0;
1147
+ }
1148
+ .duet-header-multi-level-desktop .duet-theme-turva .logo-and-segment .duet-header-dropdown-toggle {
1149
+ padding-left: 0.5rem;
1150
+ }
1139
1151
  .duet-header-multi-level-desktop .duet-theme-turva .logo-and-segment .duet-header-dropdown .duet-header-dropdown-content {
1140
- background: #fcf3f4;
1152
+ background: #f5f5f7;
1141
1153
  }
1142
1154
  .duet-header-multi-level-desktop .duet-theme-turva .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-toggle.active {
1143
1155
  color: #c60c30;
1144
1156
  }
1145
1157
  .duet-header-multi-level-desktop .duet-theme-turva .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content {
1146
- background: #fcf3f4;
1158
+ background: #f5f5f7;
1147
1159
  border-color: #e4e4e6;
1148
1160
  }
1149
1161
  .duet-header-multi-level-desktop .duet-theme-turva .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content a::after {
@@ -1154,5 +1166,5 @@ button {
1154
1166
  background: none;
1155
1167
  }
1156
1168
  .duet-header-multi-level-desktop .duet-theme-turva .duet-header-multi-level-desktop-utils .duet-header-dropdown .duet-header-dropdown-content {
1157
- background: #fcf3f4;
1169
+ background: #f5f5f7;
1158
1170
  }
@@ -88,15 +88,15 @@
88
88
  .duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child {
89
89
  padding-right: 0 !important;
90
90
  }
91
- .duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress {
91
+ .duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress, .duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending {
92
92
  position: relative;
93
93
  }
94
- .duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress {
94
+ .duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress, .duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress {
95
95
  position: absolute;
96
96
  bottom: 0;
97
97
  width: 100%;
98
98
  }
99
- .duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button) {
99
+ .duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button), .duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button) {
100
100
  border: 0;
101
101
  }
102
102
  .duet-upload-editable-table .duet-upload-item-name duet-icon {
@@ -6,13 +6,14 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
6
6
  import { createID } from "../../utils/create-id";
7
7
  import { debounce } from "../../utils/js-utils";
8
8
  import { getLocaleString, sanitizeString } from "../../utils/language-utils";
9
- import { getError, getI18nError } from "./errorcodes.utils";
9
+ import errorCodes from "./errorcodes.json";
10
+ import { getI18nError } from "./errorcodes.utils";
10
11
  import { ErrorItem } from "./upload-editable-item-error";
11
12
  import { ProgressItem } from "./upload-editable-item-inprogres";
12
13
  import { PendingItem } from "./upload-editable-item-pending";
13
14
  import { SuccessItem } from "./upload-editable-item-success";
14
15
  import { validateFile, validateTotalAmountIsAboveMax, validateTotalSizeIsAboveMax } from "./upload-validators";
15
- import { makeXhrRequest } from "./xhr.helpers";
16
+ import { makeXhrRequest, } from "./xhr.helpers";
16
17
  /**
17
18
  * @slot header - named slot - to place content after description / caption
18
19
  * @slot fileheader - named slot - to place content above "filelist" (only displayed when "filelist" contains items)
@@ -32,6 +33,10 @@ export class DuetUpload {
32
33
  * it will be up to you to handle the upload and return progress information to the upload-component
33
34
  */
34
35
  this.external = false;
36
+ /**
37
+ * If internal upload method is used, and this has been set to a function - it will be called with the XHR options before the reqeust is sent, return an updated XHR options object in order to manipulate the request
38
+ */
39
+ this.middleware = null;
35
40
  /**
36
41
  * If defer-upload is true, duet-upload will not (as recommended) instantly upload files but await a call to uploadPending()
37
42
  */
@@ -51,7 +56,7 @@ export class DuetUpload {
51
56
  size: "x-small",
52
57
  background: "gray-lightest",
53
58
  name: "delete",
54
- map: ["success", "failure", "pending"],
59
+ map: ["success", "failure"],
55
60
  label: {
56
61
  fi: "Poista tiedosto",
57
62
  en: "Poista tiedosto",
@@ -64,7 +69,7 @@ export class DuetUpload {
64
69
  size: "x-small",
65
70
  background: "gray-lightest",
66
71
  name: "cancel",
67
- map: ["inprogress"],
72
+ map: ["inprogress", "pending"],
68
73
  label: {
69
74
  fi: "Keskeytä lähetys",
70
75
  en: "Cancel the upload",
@@ -258,6 +263,10 @@ export class DuetUpload {
258
263
  * Display the input in error state along with an error message.
259
264
  */
260
265
  this.error = "";
266
+ /**
267
+ * Default errorcodes used by the component, modifiable via javascript
268
+ */
269
+ this.errorCodes = errorCodes;
261
270
  /**
262
271
  * Use maxBytes to specify the maximum size in Bytes of a file that can be uploaded.
263
272
  */
@@ -414,7 +423,7 @@ export class DuetUpload {
414
423
  return h(PendingItem, { name: data.item.name });
415
424
  }
416
425
  else if (group === this.DefaultGroups.failure) {
417
- return h(ErrorItem, { data: data });
426
+ return h(ErrorItem, { data: data, errorCodes: this.errorCodes });
418
427
  }
419
428
  else if (data.group) {
420
429
  return data.html;
@@ -529,7 +538,7 @@ export class DuetUpload {
529
538
  this.updateValueInMap(name, "valid", false, true);
530
539
  };
531
540
  this.transferFailed = name => {
532
- this.updateValueInMap(name, "error", getError("duet-upload-001"));
541
+ this.updateValueInMap(name, "error", getI18nError("duet-upload-001", this.errorCodes));
533
542
  };
534
543
  this.transferCanceled = name => {
535
544
  this.files.delete(name);
@@ -540,10 +549,10 @@ export class DuetUpload {
540
549
  const isTotalSizeOverMaxSize = validateTotalSizeIsAboveMax(this.files, this.maxBytesTotal);
541
550
  const isTotalFileAmountAboveMax = validateTotalAmountIsAboveMax(this.files, this.maxFiles);
542
551
  if (isTotalSizeOverMaxSize && name) {
543
- this.updateValueInMap(name, "error", getError("duet-upload-202"), false);
552
+ this.updateValueInMap(name, "error", getI18nError("duet-upload-202", this.errorCodes), false);
544
553
  }
545
554
  if (isTotalFileAmountAboveMax && name) {
546
- this.updateValueInMap(name, "error", getError("duet-upload-301"), false);
555
+ this.updateValueInMap(name, "error", getI18nError("duet-upload-301", this.errorCodes), false);
547
556
  }
548
557
  this.bytesMaxReached = isTotalSizeOverMaxSize;
549
558
  this.fileMaxReached = isTotalFileAmountAboveMax;
@@ -624,7 +633,9 @@ export class DuetUpload {
624
633
  this.files.delete(retrievedKey);
625
634
  if (!this.external) {
626
635
  const { xhr } = cancelledItem;
627
- xhr.abort();
636
+ if (xhr) {
637
+ xhr.abort();
638
+ }
628
639
  }
629
640
  else {
630
641
  this.kick();
@@ -665,6 +676,11 @@ export class DuetUpload {
665
676
  component: "duet-upload",
666
677
  });
667
678
  };
679
+ this.onReady = () => {
680
+ this.duetReady.emit({
681
+ component: "duet-upload",
682
+ });
683
+ };
668
684
  this.onDone = () => {
669
685
  this.duetDone.emit({
670
686
  component: "duet-upload",
@@ -779,6 +795,7 @@ export class DuetUpload {
779
795
  }
780
796
  inheritGlobalTheme(this);
781
797
  this.listenForActionEvents();
798
+ this.onReady();
782
799
  }
783
800
  componentWillRender() {
784
801
  // listen to the events from the component
@@ -861,8 +878,8 @@ export class DuetUpload {
861
878
  !this.hideButton && (h("duet-button", { id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel)),
862
879
  h("duet-spacer", { size: "medium" }),
863
880
  (this.fileMaxReached || this.bytesMaxReached) && (h("duet-alert", { part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" },
864
- this.fileMaxReached && getI18nError("duet-upload-301"),
865
- this.bytesMaxReached && getI18nError("duet-upload-202"))),
881
+ this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes),
882
+ this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes))),
866
883
  h("duet-spacer", { size: "medium" }),
867
884
  h("duet-visually-hidden", null,
868
885
  h("input", { ref: input => {
@@ -889,34 +906,43 @@ export class DuetUpload {
889
906
  xhr.upload.addEventListener("abort", () => {
890
907
  this.transferCanceled(name);
891
908
  });
892
- return makeXhrRequest({
909
+ let options = {
893
910
  payload: { data, name },
894
- options: { type: "POST", uri: this.uri, xhr, argument: null, headers: null },
911
+ options: { type: "POST", uri: this.uri, xhr, argument: null, headers: undefined },
895
912
  onFailure: this.transferDoneWithFailure,
896
913
  onSuccess: this.transferDone,
897
914
  onProgress: this.trackProgress,
898
- });
915
+ };
916
+ if (this.middleware) {
917
+ options = this.middleware(options);
918
+ }
919
+ return makeXhrRequest(options);
899
920
  }
900
921
  makeXHRDeleteRequest(data) {
901
922
  const { uid, item } = data;
902
923
  const xhr = new XMLHttpRequest();
903
- // don't present server issues to user on deletes, just remove them from the visible list
904
- return makeXhrRequest({
924
+ const headers = {
925
+ "x-fileuid": uid,
926
+ "x-filename": item.name,
927
+ };
928
+ let options = {
905
929
  payload: { data: null, name },
906
930
  options: {
907
931
  type: "DELETE",
908
932
  xhr,
909
933
  uri: this.uri,
910
- arguments: `?key=${uid}&name=${item.name}`,
911
- headers: {
912
- "x-fileuid": uid,
913
- "x-filename": item.name,
914
- },
934
+ argument: `?key=${uid}&name=${item.name}`,
935
+ headers,
915
936
  },
916
937
  onFailure: this.transferDoneWithFailure,
917
938
  onSuccess: this.transferDone,
918
939
  onProgress: this.trackProgress,
919
- });
940
+ };
941
+ if (this.middleware) {
942
+ options = this.middleware(options);
943
+ }
944
+ // don't present server issues to user on deletes, just remove them from the visible list
945
+ return makeXhrRequest(options);
920
946
  }
921
947
  /**
922
948
  * Component event handling.
@@ -933,7 +959,7 @@ export class DuetUpload {
933
959
  maxBytes: this.maxBytes,
934
960
  allowedExtensions: this.allowedExtensions,
935
961
  allowedMimetypes: this.allowedMimetypes,
936
- });
962
+ }, this.errorCodes);
937
963
  const uid = this.genHashName();
938
964
  const fileListItem = {
939
965
  uid,
@@ -1082,6 +1108,26 @@ export class DuetUpload {
1082
1108
  "reflect": false,
1083
1109
  "defaultValue": "false"
1084
1110
  },
1111
+ "middleware": {
1112
+ "type": "unknown",
1113
+ "mutable": false,
1114
+ "complexType": {
1115
+ "original": "XHRInternalMiddleWare",
1116
+ "resolved": "(XHRMiddlewareOptions: any) => XHRMiddlewareOptions",
1117
+ "references": {
1118
+ "XHRInternalMiddleWare": {
1119
+ "location": "local"
1120
+ }
1121
+ }
1122
+ },
1123
+ "required": false,
1124
+ "optional": false,
1125
+ "docs": {
1126
+ "tags": [],
1127
+ "text": "If internal upload method is used, and this has been set to a function - it will be called with the XHR options before the reqeust is sent, return an updated XHR options object in order to manipulate the request"
1128
+ },
1129
+ "defaultValue": "null"
1130
+ },
1085
1131
  "deferUpload": {
1086
1132
  "type": "boolean",
1087
1133
  "mutable": false,
@@ -1137,7 +1183,7 @@ export class DuetUpload {
1137
1183
  "tags": [],
1138
1184
  "text": "Default actions added to the internally used duet-editable-table"
1139
1185
  },
1140
- "defaultValue": "[\n {\n icon: \"action-delete\",\n color: \"color-danger\",\n size: \"x-small\",\n background: \"gray-lightest\",\n name: \"delete\",\n map: [\"success\", \"failure\", \"pending\"],\n label: {\n fi: \"Poista tiedosto\",\n en: \"Poista tiedosto\",\n sv: \"Ta bort filen\",\n },\n },\n {\n icon: \"navigation-close\",\n color: \"primary\",\n size: \"x-small\",\n background: \"gray-lightest\",\n name: \"cancel\",\n map: [\"inprogress\"],\n label: {\n fi: \"Keskeyt\u00E4 l\u00E4hetys\",\n en: \"Cancel the upload\",\n sv: \"Stop \u00F6verf\u00F6ringen\",\n },\n },\n ]"
1186
+ "defaultValue": "[\n {\n icon: \"action-delete\",\n color: \"color-danger\",\n size: \"x-small\",\n background: \"gray-lightest\",\n name: \"delete\",\n map: [\"success\", \"failure\"],\n label: {\n fi: \"Poista tiedosto\",\n en: \"Poista tiedosto\",\n sv: \"Ta bort filen\",\n },\n },\n {\n icon: \"navigation-close\",\n color: \"primary\",\n size: \"x-small\",\n background: \"gray-lightest\",\n name: \"cancel\",\n map: [\"inprogress\", \"pending\"],\n label: {\n fi: \"Keskeyt\u00E4 l\u00E4hetys\",\n en: \"Cancel the upload\",\n sv: \"Stop \u00F6verf\u00F6ringen\",\n },\n },\n ]"
1141
1187
  },
1142
1188
  "uri": {
1143
1189
  "type": "string",
@@ -1637,6 +1683,27 @@ export class DuetUpload {
1637
1683
  "reflect": false,
1638
1684
  "defaultValue": "\"\""
1639
1685
  },
1686
+ "errorCodes": {
1687
+ "type": "unknown",
1688
+ "mutable": false,
1689
+ "complexType": {
1690
+ "original": "DuetUploadErrorCode[]",
1691
+ "resolved": "DuetUploadErrorCode[]",
1692
+ "references": {
1693
+ "DuetUploadErrorCode": {
1694
+ "location": "import",
1695
+ "path": "./errorcodes.utils"
1696
+ }
1697
+ }
1698
+ },
1699
+ "required": false,
1700
+ "optional": false,
1701
+ "docs": {
1702
+ "tags": [],
1703
+ "text": "Default errorcodes used by the component, modifiable via javascript"
1704
+ },
1705
+ "defaultValue": "errorCodes"
1706
+ },
1640
1707
  "name": {
1641
1708
  "type": "string",
1642
1709
  "mutable": false,
@@ -1890,6 +1957,25 @@ export class DuetUpload {
1890
1957
  }
1891
1958
  }
1892
1959
  }
1960
+ }, {
1961
+ "method": "duetReady",
1962
+ "name": "duetReady",
1963
+ "bubbles": true,
1964
+ "cancelable": true,
1965
+ "composed": true,
1966
+ "docs": {
1967
+ "tags": [],
1968
+ "text": "Emitted when the component is finished initializing"
1969
+ },
1970
+ "complexType": {
1971
+ "original": "DuetUploadEvent",
1972
+ "resolved": "{ originalEvent?: Event; data?: Record<string, any>; metaData?: Record<string, any>; component: \"duet-upload\"; }",
1973
+ "references": {
1974
+ "DuetUploadEvent": {
1975
+ "location": "local"
1976
+ }
1977
+ }
1978
+ }
1893
1979
  }, {
1894
1980
  "method": "duetDone",
1895
1981
  "name": "duetDone",
@@ -2,13 +2,14 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { getLocaleString } from "../../utils/language-utils";
5
- import errorCodes from "./errorcodes.json";
6
- export const getError = (code) => {
5
+ import { parsePossibleJSON } from "../../utils/string-utils";
6
+ export const getError = (code, errorCodes) => {
7
7
  let error = {
8
8
  type: undefined,
9
9
  system_message: undefined,
10
10
  message: undefined,
11
11
  };
12
+ errorCodes = parsePossibleJSON(errorCodes);
12
13
  error = errorCodes.filter(errorItem => {
13
14
  // the == is intentional we may be comparing numbers to strings - and that is ok here
14
15
  return errorItem.type == code;
@@ -20,8 +21,8 @@ export const getError = (code) => {
20
21
  }
21
22
  return error;
22
23
  };
23
- export const getI18nError = (errorCode) => {
24
- const errorFromJson = getError(errorCode);
24
+ export const getI18nError = (errorCode, errorCodes) => {
25
+ const errorFromJson = getError(errorCode, errorCodes);
25
26
  const i18String = getLocaleString(errorFromJson.message);
26
27
  if (i18String === "" || !i18String) {
27
28
  return errorFromJson.system_message;
@@ -1,10 +1,19 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
+ import errorCodes from "./errorcodes.json";
4
5
  /** list of mock File elements to pass the duet-upload component */
6
+ import { getI18nError } from "./errorcodes.utils";
5
7
  //mock functions to show uploaded file state
6
8
  export function getBrowsedFiles() {
7
9
  return fileListFromArray([
10
+ mockFileCreator({
11
+ name: "action-buy-insurance-default-error.svg",
12
+ type: "image/svg",
13
+ size: 11 * 10000,
14
+ lastModified: new Date(),
15
+ error: "default",
16
+ }),
8
17
  mockFileCreator({
9
18
  name: "action-add-circle.svg",
10
19
  type: "image/svg",
@@ -75,11 +84,13 @@ function fileListFromArray(files) {
75
84
  item: obj.file,
76
85
  size: obj.file.size,
77
86
  valid: isValid,
78
- error: {
79
- type: isValid ? undefined : obj.error,
80
- message: isValid ? undefined : "Random error message",
81
- system_message: isValid ? undefined : "Random system error message",
82
- },
87
+ error: isValid
88
+ ? undefined
89
+ : {
90
+ type: obj.error,
91
+ message: isValid ? undefined : getI18nError(obj.error, errorCodes),
92
+ system_message: isValid ? undefined : getI18nError(obj.error, errorCodes),
93
+ },
83
94
  progress: 100,
84
95
  deleted: false,
85
96
  xhr: false,