@duetds/components 5.3.0 → 5.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. package/hydrate/index.js +79 -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 +6 -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-fdec6e56.js → focus-utils-54bf88c4.js} +1 -1
  46. package/lib/cjs/{index-b8ee5284.js → index-d74701f0.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 +4 -1
  50. package/lib/collection/components/duet-pagination/duet-pagination.js +7 -0
  51. package/lib/collection/components/duet-upload/duet-upload.css +3 -3
  52. package/lib/collection/components/duet-upload/duet-upload.js +110 -24
  53. package/lib/collection/components/duet-upload/errorcodes.utils.js +5 -4
  54. package/lib/collection/components/duet-upload/mock.helpers.js +16 -5
  55. package/lib/collection/components/duet-upload/upload-editable-item-error.js +4 -4
  56. package/lib/collection/components/duet-upload/upload-editable-item-inprogres.js +5 -2
  57. package/lib/collection/components/duet-upload/upload-editable-item-pending.js +4 -3
  58. package/lib/collection/components/duet-upload/upload-validators.js +5 -5
  59. package/lib/collection/components/duet-upload/xhr.helpers.js +1 -0
  60. package/lib/custom-elements-bundle/index.js +79 -41
  61. package/lib/duet/duet.esm.js +1 -1
  62. package/lib/duet/duet.js +1 -1
  63. package/lib/duet/p-017c8f85.system.entry.js +4 -0
  64. package/lib/duet/{p-134231d4.entry.js → p-05093845.entry.js} +1 -1
  65. package/lib/duet/{p-f3493c2b.system.entry.js → p-09f8d68b.system.entry.js} +1 -1
  66. package/lib/duet/{p-f352c0ba.entry.js → p-0c2a368b.entry.js} +1 -1
  67. package/lib/duet/{p-03e763e8.system.entry.js → p-0ed8f525.system.entry.js} +1 -1
  68. package/lib/duet/{p-616f39b7.system.entry.js → p-0fe15b1c.system.entry.js} +1 -1
  69. package/lib/duet/{p-d4d37e8a.entry.js → p-10dd6a3a.entry.js} +1 -1
  70. package/lib/duet/{p-fe01a355.entry.js → p-1463ec25.entry.js} +1 -1
  71. package/lib/duet/{p-68542d9e.entry.js → p-187dac44.entry.js} +1 -1
  72. package/lib/duet/p-1b971cb4.system.entry.js +4 -0
  73. package/lib/duet/{p-f5b735fa.system.entry.js → p-263d5c73.system.entry.js} +1 -1
  74. package/lib/duet/{p-3aabf3bb.system.entry.js → p-29b78a88.system.entry.js} +1 -1
  75. package/lib/duet/{p-38a9c05f.entry.js → p-2ae81abd.entry.js} +1 -1
  76. package/lib/duet/{p-31b26d9c.system.js → p-310cc65a.system.js} +1 -1
  77. package/lib/duet/{p-08cfb940.entry.js → p-31ee57ef.entry.js} +1 -1
  78. package/lib/duet/{p-8653c219.system.entry.js → p-323af601.system.entry.js} +1 -1
  79. package/lib/duet/{p-4acd55b8.system.entry.js → p-334e765b.system.entry.js} +1 -1
  80. package/lib/duet/{p-40443406.system.entry.js → p-3357023c.system.entry.js} +1 -1
  81. package/lib/duet/p-351c4ca8.entry.js +4 -0
  82. package/lib/duet/{p-a389cef0.system.entry.js → p-3d4098a1.system.entry.js} +1 -1
  83. package/lib/duet/{p-e85664b1.entry.js → p-4390278a.entry.js} +1 -1
  84. package/lib/duet/{p-f9a3ffb8.entry.js → p-4407c77f.entry.js} +1 -1
  85. package/lib/duet/{p-a659dd10.entry.js → p-4be003ee.entry.js} +1 -1
  86. package/lib/duet/{p-d056a9c9.js → p-4bfb3001.js} +1 -1
  87. package/lib/duet/{p-0dac66ae.entry.js → p-4f4e6e7a.entry.js} +1 -1
  88. package/lib/duet/{p-1f80b9dc.system.entry.js → p-5231f09f.system.entry.js} +1 -1
  89. package/lib/duet/{p-c344e11d.entry.js → p-52cd446d.entry.js} +1 -1
  90. package/lib/duet/{p-6a27cfe6.system.entry.js → p-53feaad0.system.entry.js} +1 -1
  91. package/lib/duet/{p-4d2de4f3.system.entry.js → p-54adb28a.system.entry.js} +1 -1
  92. package/lib/duet/{p-f0a6e48b.entry.js → p-5a134750.entry.js} +1 -1
  93. package/lib/duet/{p-f78511bd.system.entry.js → p-60903f76.system.entry.js} +1 -1
  94. package/lib/duet/{p-5af47544.entry.js → p-707e6bde.entry.js} +1 -1
  95. package/lib/duet/{p-e1676535.entry.js → p-711c5825.entry.js} +1 -1
  96. package/lib/duet/{p-4e73aa88.system.entry.js → p-7a803a0f.system.entry.js} +1 -1
  97. package/lib/duet/{p-15a81b18.js → p-7b37a578.js} +1 -1
  98. package/lib/duet/{p-18e3ebc9.entry.js → p-7b776a5f.entry.js} +1 -1
  99. package/lib/duet/{p-ff766a28.entry.js → p-7ce0b78c.entry.js} +1 -1
  100. package/lib/duet/{p-2684f8e0.entry.js → p-7ee40ef2.entry.js} +1 -1
  101. package/lib/duet/{p-3af85569.system.entry.js → p-80db2a1e.system.entry.js} +1 -1
  102. package/lib/duet/{p-e98a45bf.entry.js → p-8ea1558f.entry.js} +1 -1
  103. package/lib/duet/{p-8b3aa24a.system.entry.js → p-9195e263.system.entry.js} +1 -1
  104. package/lib/duet/{p-187ad8a8.system.entry.js → p-933b5471.system.entry.js} +1 -1
  105. package/lib/duet/{p-0691a1db.entry.js → p-97395d40.entry.js} +1 -1
  106. package/lib/duet/p-98aa8c7e.entry.js +4 -0
  107. package/lib/duet/{p-12fb8a87.entry.js → p-997ef66e.entry.js} +1 -1
  108. package/lib/duet/{p-a3d00d15.system.entry.js → p-9db6c3ef.system.entry.js} +1 -1
  109. package/lib/duet/{p-37d79c67.entry.js → p-9e8acf0a.entry.js} +1 -1
  110. package/lib/duet/{p-972a2484.system.entry.js → p-9e979cae.system.entry.js} +1 -1
  111. package/lib/duet/{p-268f03d9.entry.js → p-a07b994c.entry.js} +1 -1
  112. package/lib/duet/{p-0d682d28.entry.js → p-a21321dc.entry.js} +1 -1
  113. package/lib/duet/{p-ae360f66.system.entry.js → p-a77df5a4.system.entry.js} +1 -1
  114. package/lib/duet/{p-d2e0b281.system.entry.js → p-ac356267.system.entry.js} +1 -1
  115. package/lib/duet/{p-3b4f0ff4.entry.js → p-aea395e2.entry.js} +1 -1
  116. package/lib/duet/{p-10d7287b.entry.js → p-aebf923d.entry.js} +1 -1
  117. package/lib/duet/p-b0053a35.entry.js +4 -0
  118. package/lib/duet/{p-56a003a2.entry.js → p-b112ecc7.entry.js} +1 -1
  119. package/lib/duet/{p-08337a53.system.entry.js → p-b52d2351.system.entry.js} +1 -1
  120. package/lib/duet/{p-947b5555.system.entry.js → p-b717297c.system.entry.js} +1 -1
  121. package/lib/duet/{p-a8f1a491.system.entry.js → p-b786f4a1.system.entry.js} +1 -1
  122. package/lib/duet/p-b9f2984d.entry.js +4 -0
  123. package/lib/duet/{p-109603a2.system.entry.js → p-badcd20b.system.entry.js} +1 -1
  124. package/lib/duet/{p-c20811fe.entry.js → p-bd697adb.entry.js} +1 -1
  125. package/lib/duet/{p-cd79ca71.system.entry.js → p-bd97848c.system.entry.js} +1 -1
  126. package/lib/duet/{p-7a674406.entry.js → p-c0dea844.entry.js} +1 -1
  127. package/lib/duet/{p-548f0b12.system.entry.js → p-c2a4820d.system.entry.js} +1 -1
  128. package/lib/duet/p-cd0b0258.system.entry.js +4 -0
  129. package/lib/duet/{p-ce1e490c.system.entry.js → p-cfc5df00.system.entry.js} +1 -1
  130. package/lib/duet/{p-ed66c892.system.entry.js → p-d03be8d0.system.entry.js} +1 -1
  131. package/lib/duet/{p-960e7b9b.system.entry.js → p-d06ccc00.system.entry.js} +1 -1
  132. package/lib/duet/{p-0e8f4cc2.entry.js → p-d0eceac9.entry.js} +1 -1
  133. package/lib/duet/{p-6fa21e7a.system.entry.js → p-d11db0d5.system.entry.js} +1 -1
  134. package/lib/duet/{p-f4afff5a.entry.js → p-d28243a8.entry.js} +1 -1
  135. package/lib/duet/{p-556cbde2.entry.js → p-d3d3538f.entry.js} +1 -1
  136. package/lib/duet/{p-d7c45678.entry.js → p-d749146f.entry.js} +1 -1
  137. package/lib/duet/p-d77dcab2.entry.js +4 -0
  138. package/lib/duet/{p-f5970513.system.entry.js → p-daa9880c.system.entry.js} +1 -1
  139. package/lib/duet/{p-ada8866f.entry.js → p-dadfe56f.entry.js} +1 -1
  140. package/lib/duet/{p-b7063d6c.system.entry.js → p-dcfa2ae4.system.entry.js} +1 -1
  141. package/lib/duet/{p-1b276548.system.js → p-e56acd55.system.js} +1 -1
  142. package/lib/duet/{p-f87621f5.entry.js → p-e58d06d9.entry.js} +1 -1
  143. package/lib/duet/{p-8240f948.entry.js → p-e6b88a4b.entry.js} +1 -1
  144. package/lib/duet/{p-c7c65229.system.js → p-e97c0bf3.system.js} +1 -1
  145. package/lib/duet/{p-67c79158.system.entry.js → p-efa06b0e.system.entry.js} +1 -1
  146. package/lib/duet/{p-952db7f3.entry.js → p-f23108a0.entry.js} +1 -1
  147. package/lib/duet/{p-7a9d50dc.system.entry.js → p-f640e49b.system.entry.js} +1 -1
  148. package/lib/duet/{p-c0296b33.system.entry.js → p-f67a994f.system.entry.js} +1 -1
  149. package/lib/duet/{p-a81e86fa.system.entry.js → p-f94cb455.system.entry.js} +1 -1
  150. package/lib/duet/{p-bc8d4408.system.entry.js → p-f9787dbb.system.entry.js} +1 -1
  151. package/lib/duet/{p-85dff60b.system.entry.js → p-fb761b8d.system.entry.js} +1 -1
  152. package/lib/esm/duet-action-button.entry.js +1 -1
  153. package/lib/esm/duet-alert.entry.js +1 -1
  154. package/lib/esm/duet-badge.entry.js +1 -1
  155. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  156. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  157. package/lib/esm/duet-button_2.entry.js +1 -1
  158. package/lib/esm/duet-caption_4.entry.js +1 -1
  159. package/lib/esm/duet-card.entry.js +1 -1
  160. package/lib/esm/duet-checkbox.entry.js +1 -1
  161. package/lib/esm/duet-choice_2.entry.js +2 -2
  162. package/lib/esm/duet-collapsible.entry.js +1 -1
  163. package/lib/esm/duet-combobox.entry.js +1 -1
  164. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  165. package/lib/esm/duet-date-picker.entry.js +2 -2
  166. package/lib/esm/duet-divider_2.entry.js +1 -1
  167. package/lib/esm/duet-editable-table_3.entry.js +72 -40
  168. package/lib/esm/duet-empty-state.entry.js +1 -1
  169. package/lib/esm/duet-fieldset.entry.js +1 -1
  170. package/lib/esm/duet-footer.entry.js +1 -1
  171. package/lib/esm/duet-grid_2.entry.js +1 -1
  172. package/lib/esm/duet-header_2.entry.js +3 -2
  173. package/lib/esm/duet-hero.entry.js +1 -1
  174. package/lib/esm/duet-icon.entry.js +1 -1
  175. package/lib/esm/duet-input_2.entry.js +1 -1
  176. package/lib/esm/duet-layout.entry.js +1 -1
  177. package/lib/esm/duet-list_2.entry.js +1 -1
  178. package/lib/esm/duet-modal.entry.js +2 -2
  179. package/lib/esm/duet-notification_2.entry.js +1 -1
  180. package/lib/esm/duet-number-input.entry.js +1 -1
  181. package/lib/esm/duet-pagination_2.entry.js +6 -1
  182. package/lib/esm/duet-progress.entry.js +1 -1
  183. package/lib/esm/duet-radio_2.entry.js +1 -1
  184. package/lib/esm/duet-range-slider.entry.js +1 -1
  185. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  186. package/lib/esm/duet-select.entry.js +1 -1
  187. package/lib/esm/duet-step_2.entry.js +1 -1
  188. package/lib/esm/duet-textarea.entry.js +1 -1
  189. package/lib/esm/duet-toggle.entry.js +1 -1
  190. package/lib/esm/duet-tooltip.entry.js +1 -1
  191. package/lib/esm/duet-tray.entry.js +1 -1
  192. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  193. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  194. package/lib/esm/duet.js +2 -2
  195. package/lib/esm/{focus-utils-4be10338.js → focus-utils-2632e19f.js} +1 -1
  196. package/lib/esm/{index-d328c322.js → index-ab50bfb2.js} +1 -1
  197. package/lib/esm/loader.js +2 -2
  198. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  199. package/lib/esm-es5/duet-alert.entry.js +1 -1
  200. package/lib/esm-es5/duet-badge.entry.js +1 -1
  201. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  202. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  203. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  204. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  205. package/lib/esm-es5/duet-card.entry.js +1 -1
  206. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  207. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  208. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  209. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  210. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  211. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  212. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  213. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  214. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  215. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  216. package/lib/esm-es5/duet-footer.entry.js +1 -1
  217. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  218. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  219. package/lib/esm-es5/duet-hero.entry.js +1 -1
  220. package/lib/esm-es5/duet-icon.entry.js +1 -1
  221. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  222. package/lib/esm-es5/duet-layout.entry.js +1 -1
  223. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  224. package/lib/esm-es5/duet-modal.entry.js +1 -1
  225. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  226. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  227. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  228. package/lib/esm-es5/duet-progress.entry.js +1 -1
  229. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  230. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  231. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  232. package/lib/esm-es5/duet-select.entry.js +1 -1
  233. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  234. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  235. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  236. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  237. package/lib/esm-es5/duet-tray.entry.js +1 -1
  238. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  239. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  240. package/lib/esm-es5/duet.js +1 -1
  241. package/lib/esm-es5/{focus-utils-4be10338.js → focus-utils-2632e19f.js} +1 -1
  242. package/lib/esm-es5/{index-d328c322.js → index-ab50bfb2.js} +1 -1
  243. package/lib/esm-es5/loader.js +1 -1
  244. package/lib/types/components/duet-pagination/duet-pagination.d.ts +1 -0
  245. package/lib/types/components/duet-upload/duet-upload.d.ts +22 -1
  246. package/lib/types/components/duet-upload/errorcodes.utils.d.ts +3 -2
  247. package/lib/types/components/duet-upload/mock.helpers.d.ts +0 -1
  248. package/lib/types/components/duet-upload/upload-editable-item-error.d.ts +2 -0
  249. package/lib/types/components/duet-upload/upload-validators.d.ts +2 -1
  250. package/lib/types/components.d.ts +22 -1
  251. package/package.json +5 -5
  252. package/lib/duet/p-3ddcbdc3.system.entry.js +0 -4
  253. package/lib/duet/p-41a9efde.entry.js +0 -4
  254. package/lib/duet/p-73861e15.entry.js +0 -4
  255. package/lib/duet/p-7426cb50.system.entry.js +0 -4
  256. package/lib/duet/p-7467ee59.system.entry.js +0 -4
  257. package/lib/duet/p-cf16262d.entry.js +0 -4
  258. package/lib/duet/p-ed19ffae.entry.js +0 -4
  259. package/lib/duet/p-f4055b5a.entry.js +0 -4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-b8ee5284.js');
8
+ const index = require('./index-d74701f0.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),
@@ -1048,6 +1048,9 @@ button {
1048
1048
  .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-toggle.active {
1049
1049
  color: #0077b3;
1050
1050
  }
1051
+ .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-toggle.active:not(.open) .duet-header-caret {
1052
+ transform: translateY(-50%) rotate(0deg);
1053
+ }
1051
1054
  .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content {
1052
1055
  z-index: 399;
1053
1056
  display: flex;
@@ -1106,7 +1109,7 @@ button {
1106
1109
  display: none;
1107
1110
  }
1108
1111
  .duet-header-multi-level-desktop-nav .duet-header-caret {
1109
- display: none;
1112
+ right: 1%;
1110
1113
  }
1111
1114
  .duet-header-multi-level-desktop-utils {
1112
1115
  display: flex;
@@ -161,6 +161,10 @@ export class DuetPagination {
161
161
  });
162
162
  }, 500);
163
163
  }
164
+ watchPropTotalHandler( /*newValue: boolean, oldValue: boolean*/) {
165
+ this.calculatePageTake();
166
+ return true;
167
+ }
164
168
  watchStateHandler(newValue, oldValue) {
165
169
  return this.actionChain(newValue, oldValue);
166
170
  }
@@ -628,6 +632,9 @@ export class DuetPagination {
628
632
  }]; }
629
633
  static get elementRef() { return "element"; }
630
634
  static get watchers() { return [{
635
+ "propName": "total",
636
+ "methodName": "watchPropTotalHandler"
637
+ }, {
631
638
  "propName": "current",
632
639
  "methodName": "watchStateHandler"
633
640
  }]; }
@@ -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,
@@ -3,14 +3,14 @@
3
3
  */
4
4
  import { h } from "@stencil/core";
5
5
  import { getI18nError } from "./errorcodes.utils";
6
- export const ErrorItem = ({ data }) => {
6
+ export const ErrorItem = ({ data, errorCodes }) => {
7
7
  const { item, error } = data;
8
8
  const { name } = item;
9
9
  const { type } = error;
10
10
  return (h("span", { class: "duet-upload-item-error", role: "status" },
11
11
  h("duet-paragraph", { class: "duet-upload-item-name", color: "danger", margin: "none", weight: "semi-bold" },
12
- h("duet-icon", { margin: "none", size: "xx-small", name: "messaging-attachment" }),
13
- " ",
12
+ h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }),
13
+ h("duet-spacer", { size: "xx-small", direction: "horizontal" }),
14
14
  name),
15
- h("duet-paragraph", { class: "duet-upload-item-error-label", size: "small", margin: "none", color: "danger" }, getI18nError(type))));
15
+ h("duet-paragraph", { class: "duet-upload-item-error-label", size: "small", margin: "none", color: "danger" }, getI18nError(type, errorCodes))));
16
16
  };
@@ -2,6 +2,9 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { h } from "@stencil/core";
5
- export const ProgressItem = ({ progress, name }) => (h("span", null,
6
- h("duet-paragraph", { color: "secondary", margin: "none", size: "small" }, name),
5
+ export const ProgressItem = ({ progress, name }) => (h("span", { class: "duet-upload-item-name" },
6
+ h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }),
7
+ h("duet-spacer", { size: "xx-small", direction: "horizontal" }),
8
+ name,
9
+ h("br", null),
7
10
  h("duet-progress", { progress: Math.ceil(progress), "aria-hidden": true })));