@duetds/components 10.3.0 → 10.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (507) hide show
  1. package/hydrate/index.js +782 -325
  2. package/hydrate/index.mjs +782 -325
  3. package/lib/cjs/{a11y-utils-b27OEdFX.js → a11y-utils-BXDHn_nL.js} +1 -1
  4. package/lib/cjs/{app-globals-DhPOoPl1.js → app-globals-Bs3-XKhd.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +5 -5
  8. package/lib/cjs/duet-banner.cjs.entry.js +13 -9
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-button_2.cjs.entry.js +27 -12
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +16 -16
  14. package/lib/cjs/duet-card.cjs.entry.js +8 -8
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +5 -5
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +7 -5
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +15 -13
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +6 -6
  20. package/lib/cjs/duet-combobox.cjs.entry.js +27 -10
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +30 -34
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +6 -6
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +12 -12
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +33 -7
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-footer.cjs.entry.js +8 -8
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +14 -7
  31. package/lib/cjs/duet-header_2.cjs.entry.js +7 -7
  32. package/lib/cjs/duet-hero.cjs.entry.js +9 -9
  33. package/lib/cjs/duet-icon.cjs.entry.js +7 -7
  34. package/lib/cjs/duet-indicator.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-input_2.cjs.entry.js +22 -14
  36. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  37. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  44. package/lib/cjs/duet-modal.cjs.entry.js +14 -14
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +8 -8
  49. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
  52. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +30 -18
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +13 -9
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +10 -8
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +7 -7
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +17 -17
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +10 -10
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +8 -8
  65. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +13 -13
  70. package/lib/cjs/duet-slideout.cjs.entry.js +20 -18
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +8 -4
  72. package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  78. package/lib/cjs/duet-textarea.cjs.entry.js +14 -21
  79. package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -9
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  87. package/lib/cjs/duet-tray.cjs.entry.js +6 -6
  88. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  89. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  90. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  91. package/lib/cjs/duet.cjs.js +3 -3
  92. package/lib/cjs/{errorcodes.utils-BlVVWFcS.js → errorcodes.utils-W6UQ3hgy.js} +1 -1
  93. package/lib/cjs/{focus-utils-DIeiBu1A.js → focus-utils-KTKpjKRi.js} +1 -1
  94. package/lib/cjs/{index-CeCDgexG.js → index-C7Yvi8y8.js} +5 -5
  95. package/lib/cjs/{label-BK_7MvDR.js → label-DZ63Z3SI.js} +1 -1
  96. package/lib/cjs/{language-utils-BmMgyx0x.js → language-utils-BsevPDrN.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-PLQ1zjHe.js → slot-utils-DIDW777s.js} +2 -2
  99. package/lib/cjs/{themeable-component-DD3okLL-.js → themeable-component-hQ83w5_A.js} +1 -1
  100. package/lib/cjs/{token-utils-CaLsk40I.js → token-utils-DY3-olMV.js} +1 -1
  101. package/lib/cjs/{tokens-DWngQgYY.js → tokens-COLlUECP.js} +226 -4
  102. package/lib/cjs/{tokens.module-BMAWZwue.js → tokens.module-CTbvyezn.js} +152 -4
  103. package/lib/collection/components/duet-action-button/duet-action-button.css +1 -1
  104. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  105. package/lib/collection/components/duet-banner/duet-banner.css +7 -0
  106. package/lib/collection/components/duet-banner/duet-banner.js +8 -4
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  109. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  110. package/lib/collection/components/duet-button/duet-button.css +14 -8
  111. package/lib/collection/components/duet-button/duet-button.js +20 -5
  112. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  113. package/lib/collection/components/duet-caption/duet-caption.js +2 -2
  114. package/lib/collection/components/duet-card/duet-card.css +2 -2
  115. package/lib/collection/components/duet-card/duet-card.js +3 -3
  116. package/lib/collection/components/duet-checkbox/duet-checkbox.css +1 -1
  117. package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
  118. package/lib/collection/components/duet-chip/duet-chip.css +1 -3
  119. package/lib/collection/components/duet-chip/duet-chip.js +4 -2
  120. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  121. package/lib/collection/components/duet-choice/duet-choice.css +3 -3
  122. package/lib/collection/components/duet-choice/duet-choice.js +9 -36
  123. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  124. package/lib/collection/components/duet-collapsible/duet-collapsible.css +1 -1
  125. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  126. package/lib/collection/components/duet-combobox/duet-combobox.js +22 -5
  127. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  128. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +2 -2
  129. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  130. package/lib/collection/components/duet-date-picker/date-utils.js +2 -1
  131. package/lib/collection/components/duet-date-picker/duet-date-picker.css +8 -9
  132. package/lib/collection/components/duet-date-picker/duet-date-picker.js +23 -29
  133. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  134. package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
  135. package/lib/collection/components/duet-empty-state/duet-empty-state.css +55 -2
  136. package/lib/collection/components/duet-empty-state/duet-empty-state.js +124 -6
  137. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  138. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  139. package/lib/collection/components/duet-footer/duet-footer.css +1 -1
  140. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  141. package/lib/collection/components/duet-grid/duet-grid.css +23 -0
  142. package/lib/collection/components/duet-grid/duet-grid.js +29 -2
  143. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  144. package/lib/collection/components/duet-header/duet-header.css +6 -6
  145. package/lib/collection/components/duet-heading/duet-heading.css +62 -0
  146. package/lib/collection/components/duet-heading/duet-heading.js +40 -2
  147. package/lib/collection/components/duet-hero/duet-hero.css +1 -1
  148. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  149. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  150. package/lib/collection/components/duet-indicator/duet-indicator.js +2 -2
  151. package/lib/collection/components/duet-input/duet-input.css +81 -64
  152. package/lib/collection/components/duet-input/duet-input.js +14 -6
  153. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  154. package/lib/collection/components/duet-link/duet-link.css +1 -1
  155. package/lib/collection/components/duet-link/duet-link.js +2 -2
  156. package/lib/collection/components/duet-list/duet-list.js +1 -1
  157. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  158. package/lib/collection/components/duet-logo/duet-logo.css +1 -1
  159. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  160. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  161. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +1 -1
  162. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  163. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +1 -1
  164. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  165. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +1 -1
  166. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  167. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +1 -1
  168. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  169. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +1 -1
  170. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  171. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  172. package/lib/collection/components/duet-multiselect/duet-multiselect.css +33 -48
  173. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  174. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  175. package/lib/collection/components/duet-notification/duet-notification.css +1 -1
  176. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  177. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +1 -1
  178. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  179. package/lib/collection/components/duet-number-input/duet-number-input.css +1 -1
  180. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  181. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  182. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  183. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  184. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  185. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  186. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +21 -9
  187. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +2 -2
  188. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  189. package/lib/collection/components/duet-promo-card/duet-promo-card.css +8 -1
  190. package/lib/collection/components/duet-promo-card/duet-promo-card.js +8 -4
  191. package/lib/collection/components/duet-radio/duet-radio.css +1 -1
  192. package/lib/collection/components/duet-radio/duet-radio.js +6 -4
  193. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  194. package/lib/collection/components/duet-range-slider/duet-range-slider.css +1 -1
  195. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  196. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  197. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  198. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  199. package/lib/collection/components/duet-select/duet-select.css +29 -37
  200. package/lib/collection/components/duet-select/duet-select.js +5 -5
  201. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  202. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  203. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  204. package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
  205. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  206. package/lib/collection/components/duet-slideout/duet-slideout.css +1 -1
  207. package/lib/collection/components/duet-slideout/duet-slideout.js +12 -10
  208. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  209. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +1 -1
  210. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  211. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +2 -4
  212. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  213. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +1 -1
  214. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  215. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  216. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  217. package/lib/collection/components/duet-status-icon/duet-status-icon.css +39 -0
  218. package/lib/collection/components/duet-status-icon/duet-status-icon.js +13 -2
  219. package/lib/collection/components/duet-step/duet-step.css +1 -1
  220. package/lib/collection/components/duet-step/duet-step.js +2 -2
  221. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  222. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +1 -1
  223. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  224. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +1 -1
  225. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  226. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +1 -1
  227. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  228. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +1 -1
  229. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  230. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +1 -1
  231. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  232. package/lib/collection/components/duet-tab/duet-tab.css +1 -1
  233. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  234. package/lib/collection/components/duet-tab-group/duet-tab-group.css +3 -3
  235. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  236. package/lib/collection/components/duet-table/duet-table.js +2 -2
  237. package/lib/collection/components/duet-textarea/duet-textarea.css +41 -77
  238. package/lib/collection/components/duet-textarea/duet-textarea.js +8 -15
  239. package/lib/collection/components/duet-toggle/duet-toggle.css +1 -1
  240. package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
  241. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  242. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +1 -1
  243. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  244. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +1 -1
  245. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  246. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +1 -1
  247. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  248. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +1 -1
  249. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  250. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +1 -1
  251. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  252. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +2 -2
  253. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  254. package/lib/collection/components/duet-tray/duet-tray.css +2 -2
  255. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  256. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  257. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  258. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  259. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  260. package/lib/collection/utils/slot-utils.js +1 -1
  261. package/lib/duet/duet.esm.js +1 -1
  262. package/lib/duet/p--fmK3qPb.js +4 -0
  263. package/lib/duet/{p-9240c039.entry.js → p-01f3e30c.entry.js} +1 -1
  264. package/lib/duet/p-0395eb34.entry.js +4 -0
  265. package/lib/duet/{p-7609417a.entry.js → p-0453edd0.entry.js} +1 -1
  266. package/lib/duet/p-07aa40df.entry.js +4 -0
  267. package/lib/duet/{p-bc5b4e44.entry.js → p-07c4b435.entry.js} +1 -1
  268. package/lib/duet/p-0eb0e582.entry.js +4 -0
  269. package/lib/duet/p-104ddbf2.entry.js +4 -0
  270. package/lib/duet/{p-137e710f.entry.js → p-12e4e9b6.entry.js} +1 -1
  271. package/lib/duet/{p-3a4dcdbd.entry.js → p-13b7f4e0.entry.js} +1 -1
  272. package/lib/duet/{p-11847d3e.entry.js → p-14d4a45a.entry.js} +1 -1
  273. package/lib/duet/{p-f31a6b2e.entry.js → p-1666aeaf.entry.js} +1 -1
  274. package/lib/duet/{p-d9963958.entry.js → p-1705b6cf.entry.js} +1 -1
  275. package/lib/duet/{p-6ff3fc39.entry.js → p-184d53a7.entry.js} +1 -1
  276. package/lib/duet/{p-6ca30a68.entry.js → p-1bdef0e0.entry.js} +1 -1
  277. package/lib/duet/p-1dcbbd67.entry.js +4 -0
  278. package/lib/duet/{p-c0785349.entry.js → p-1ed82a27.entry.js} +1 -1
  279. package/lib/duet/{p-a5b9e098.entry.js → p-1ee400e7.entry.js} +1 -1
  280. package/lib/duet/p-2168e431.entry.js +4 -0
  281. package/lib/duet/p-2HU78SJ-.js +4 -0
  282. package/lib/duet/{p-408ace89.entry.js → p-2d43de54.entry.js} +1 -1
  283. package/lib/duet/{p-20aefca2.entry.js → p-2e413951.entry.js} +1 -1
  284. package/lib/duet/{p-32c7c0c1.entry.js → p-3361387d.entry.js} +1 -1
  285. package/lib/duet/p-3648404d.entry.js +4 -0
  286. package/lib/duet/{p-1da05915.entry.js → p-376f9d06.entry.js} +1 -1
  287. package/lib/duet/p-3bd45b5b.entry.js +4 -0
  288. package/lib/duet/{p-9da7ffc9.entry.js → p-3c26d300.entry.js} +1 -1
  289. package/lib/duet/{p-6f08e639.entry.js → p-428db44b.entry.js} +1 -1
  290. package/lib/duet/p-4420973e.entry.js +4 -0
  291. package/lib/duet/{p-90ab8a57.entry.js → p-455e8ebe.entry.js} +1 -1
  292. package/lib/duet/{p-565bcf84.entry.js → p-46300680.entry.js} +1 -1
  293. package/lib/duet/{p-f9f25386.entry.js → p-494755d0.entry.js} +1 -1
  294. package/lib/duet/{p-70d7a04d.entry.js → p-4c5a8ed3.entry.js} +1 -1
  295. package/lib/duet/{p-c504dc42.entry.js → p-4d39941c.entry.js} +1 -1
  296. package/lib/duet/p-4f7b0699.entry.js +4 -0
  297. package/lib/duet/p-526fa31c.entry.js +4 -0
  298. package/lib/duet/p-58496fb1.entry.js +4 -0
  299. package/lib/duet/{p-62954ecf.entry.js → p-58a70b3d.entry.js} +1 -1
  300. package/lib/duet/{p-9f941e06.entry.js → p-592a6542.entry.js} +1 -1
  301. package/lib/duet/p-5c8c691b.entry.js +4 -0
  302. package/lib/duet/{p-ab939713.entry.js → p-5dde8fbb.entry.js} +1 -1
  303. package/lib/duet/{p-73263349.entry.js → p-5ffc4081.entry.js} +1 -1
  304. package/lib/duet/{p-5a576bae.entry.js → p-61b6962a.entry.js} +1 -1
  305. package/lib/duet/{p-faf6d461.entry.js → p-6988c81c.entry.js} +1 -1
  306. package/lib/duet/p-73ed0008.entry.js +4 -0
  307. package/lib/duet/p-7a2ca711.entry.js +4 -0
  308. package/lib/duet/{p-43723ce5.entry.js → p-7a5066b8.entry.js} +1 -1
  309. package/lib/duet/{p-d36dabf1.entry.js → p-7a668cee.entry.js} +1 -1
  310. package/lib/duet/p-7e640c8e.entry.js +4 -0
  311. package/lib/duet/{p-00e0f919.entry.js → p-7eaa1fb5.entry.js} +1 -1
  312. package/lib/duet/{p-93bfe3dd.entry.js → p-81332db1.entry.js} +1 -1
  313. package/lib/duet/{p-caf9df46.entry.js → p-816caa58.entry.js} +1 -1
  314. package/lib/duet/{p-098d7665.entry.js → p-84420fbf.entry.js} +1 -1
  315. package/lib/duet/p-870dc953.entry.js +4 -0
  316. package/lib/duet/{p-22143e3e.entry.js → p-87bb797c.entry.js} +1 -1
  317. package/lib/duet/p-9d8027aa.entry.js +4 -0
  318. package/lib/duet/p-BW3SZS4F.js +4 -0
  319. package/lib/duet/p-Ce9HQd35.js +4 -0
  320. package/lib/duet/{p-DNW9B4-w.js → p-Chf7ZRmW.js} +1 -1
  321. package/lib/duet/p-CtBx3Trd.js +4 -0
  322. package/lib/duet/{p-FlJJ5tdo.js → p-Cwhi6_oZ.js} +1 -1
  323. package/lib/duet/{p-BEzfNXw0.js → p-D2EBd3cT.js} +1 -1
  324. package/lib/duet/{p-D8k4CqJb.js → p-D2ly4TZR.js} +1 -1
  325. package/lib/duet/p-DCDM41Ef.js +4 -0
  326. package/lib/duet/p-DEzE2U5T.js +4 -0
  327. package/lib/duet/{p-Bo0igXOs.js → p-DWIjWGAD.js} +1 -1
  328. package/lib/duet/{p-713cc11f.entry.js → p-a4a1b8e3.entry.js} +1 -1
  329. package/lib/duet/p-a4db8c29.entry.js +4 -0
  330. package/lib/duet/p-a63327c3.entry.js +4 -0
  331. package/lib/duet/{p-1eb20304.entry.js → p-a690a165.entry.js} +1 -1
  332. package/lib/duet/{p-c8f8acf7.entry.js → p-a7bb038a.entry.js} +1 -1
  333. package/lib/duet/{p-2736a400.entry.js → p-adecab91.entry.js} +1 -1
  334. package/lib/duet/p-af9c8169.entry.js +4 -0
  335. package/lib/duet/{p-e19d51b1.entry.js → p-afd7d87a.entry.js} +1 -1
  336. package/lib/duet/{p-b7865974.entry.js → p-b3ec9b98.entry.js} +1 -1
  337. package/lib/duet/{p-42105616.entry.js → p-b64b3e2f.entry.js} +1 -1
  338. package/lib/duet/{p-4de84b4d.entry.js → p-bcced6eb.entry.js} +1 -1
  339. package/lib/duet/{p-91370277.entry.js → p-c1d4542d.entry.js} +1 -1
  340. package/lib/duet/{p-6e98887f.entry.js → p-c71f6942.entry.js} +1 -1
  341. package/lib/duet/p-c7851c15.entry.js +4 -0
  342. package/lib/duet/p-cbd1069e.entry.js +4 -0
  343. package/lib/duet/p-cd4f52a9.entry.js +4 -0
  344. package/lib/duet/{p-a745eb10.entry.js → p-d0a54e6d.entry.js} +1 -1
  345. package/lib/duet/p-d181c624.entry.js +4 -0
  346. package/lib/duet/{p-c23accaf.entry.js → p-d2c04a7e.entry.js} +1 -1
  347. package/lib/duet/{p-014c965f.entry.js → p-d2c91ed0.entry.js} +1 -1
  348. package/lib/duet/p-d3dac8af.entry.js +4 -0
  349. package/lib/duet/{p-9ceede7a.entry.js → p-dc87f3f4.entry.js} +1 -1
  350. package/lib/duet/{p-bb0567b4.entry.js → p-dfd55180.entry.js} +1 -1
  351. package/lib/duet/{p-b0622412.entry.js → p-e8bd6dab.entry.js} +1 -1
  352. package/lib/duet/p-e9ed96cf.entry.js +4 -0
  353. package/lib/duet/p-eab349f2.entry.js +4 -0
  354. package/lib/duet/{p-2d9e573a.entry.js → p-eebf150c.entry.js} +1 -1
  355. package/lib/duet/{p-ed252dd9.entry.js → p-f210e405.entry.js} +1 -1
  356. package/lib/duet/{p-2981f32d.entry.js → p-f600e215.entry.js} +1 -1
  357. package/lib/duet/p-f652a9c7.entry.js +4 -0
  358. package/lib/duet/{p-ae714f68.entry.js → p-fbce84d5.entry.js} +1 -1
  359. package/lib/duet/{p-6db9ac4d.entry.js → p-fea479fd.entry.js} +1 -1
  360. package/lib/esm/{a11y-utils-DAo2lcPY.js → a11y-utils-sgAajRY0.js} +1 -1
  361. package/lib/esm/{app-globals-CzrvWXbM.js → app-globals-NNQmI_gc.js} +1 -1
  362. package/lib/esm/duet-action-button.entry.js +5 -5
  363. package/lib/esm/duet-alert.entry.js +4 -4
  364. package/lib/esm/duet-badge.entry.js +5 -5
  365. package/lib/esm/duet-banner.entry.js +13 -9
  366. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  367. package/lib/esm/duet-breadcrumbs.entry.js +7 -7
  368. package/lib/esm/duet-button_2.entry.js +27 -12
  369. package/lib/esm/duet-callout.entry.js +5 -5
  370. package/lib/esm/duet-caption_4.entry.js +16 -16
  371. package/lib/esm/duet-card.entry.js +8 -8
  372. package/lib/esm/duet-checkbox.entry.js +5 -5
  373. package/lib/esm/duet-checkmark.entry.js +4 -4
  374. package/lib/esm/duet-chip.entry.js +7 -5
  375. package/lib/esm/duet-choice_2.entry.js +15 -13
  376. package/lib/esm/duet-collapsible.entry.js +6 -6
  377. package/lib/esm/duet-combobox.entry.js +27 -10
  378. package/lib/esm/duet-contact-card.entry.js +5 -5
  379. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  380. package/lib/esm/duet-date-picker.entry.js +30 -34
  381. package/lib/esm/duet-divider_2.entry.js +6 -6
  382. package/lib/esm/duet-editable-table_3.entry.js +12 -12
  383. package/lib/esm/duet-empty-state.entry.js +33 -7
  384. package/lib/esm/duet-fieldset.entry.js +6 -6
  385. package/lib/esm/duet-file-chooser.entry.js +3 -3
  386. package/lib/esm/duet-footer.entry.js +8 -8
  387. package/lib/esm/duet-grid_2.entry.js +14 -7
  388. package/lib/esm/duet-header_2.entry.js +7 -7
  389. package/lib/esm/duet-hero.entry.js +9 -9
  390. package/lib/esm/duet-icon.entry.js +7 -7
  391. package/lib/esm/duet-indicator.entry.js +5 -5
  392. package/lib/esm/duet-input_2.entry.js +22 -14
  393. package/lib/esm/duet-layout.entry.js +7 -7
  394. package/lib/esm/duet-list_2.entry.js +5 -5
  395. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  396. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  397. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  398. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  399. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  400. package/lib/esm/duet-menu-bar.entry.js +6 -6
  401. package/lib/esm/duet-modal.entry.js +14 -14
  402. package/lib/esm/duet-multiselect.entry.js +11 -11
  403. package/lib/esm/duet-nav.entry.js +3 -3
  404. package/lib/esm/duet-notification_2.entry.js +9 -9
  405. package/lib/esm/duet-number-input.entry.js +8 -8
  406. package/lib/esm/duet-overlay.entry.js +3 -3
  407. package/lib/esm/duet-page-heading.entry.js +4 -4
  408. package/lib/esm/duet-pagination_2.entry.js +18 -18
  409. package/lib/esm/duet-panel.entry.js +4 -4
  410. package/lib/esm/duet-phone-input.entry.js +4 -4
  411. package/lib/esm/duet-popup-menu_2.entry.js +30 -18
  412. package/lib/esm/duet-progress.entry.js +3 -3
  413. package/lib/esm/duet-promo-card.entry.js +13 -9
  414. package/lib/esm/duet-radio_2.entry.js +10 -8
  415. package/lib/esm/duet-range-slider.entry.js +7 -7
  416. package/lib/esm/duet-scrollable_3.entry.js +17 -17
  417. package/lib/esm/duet-section-layout.entry.js +4 -4
  418. package/lib/esm/duet-select.entry.js +10 -10
  419. package/lib/esm/duet-shaped-image.entry.js +4 -4
  420. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  421. package/lib/esm/duet-share-chart.entry.js +8 -8
  422. package/lib/esm/duet-show-more.entry.js +5 -5
  423. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  424. package/lib/esm/duet-slideout-link.entry.js +7 -7
  425. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  426. package/lib/esm/duet-slideout-panel.entry.js +13 -13
  427. package/lib/esm/duet-slideout.entry.js +20 -18
  428. package/lib/esm/duet-status-icon.entry.js +8 -4
  429. package/lib/esm/duet-step_2.entry.js +6 -6
  430. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  431. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  432. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  433. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  434. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  435. package/lib/esm/duet-textarea.entry.js +14 -21
  436. package/lib/esm/duet-toggle.entry.js +8 -8
  437. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  438. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  439. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  440. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  441. package/lib/esm/duet-toolbar.entry.js +4 -4
  442. package/lib/esm/duet-tooltip-button_2.entry.js +9 -9
  443. package/lib/esm/duet-tooltip.entry.js +5 -5
  444. package/lib/esm/duet-tray.entry.js +6 -6
  445. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  446. package/lib/esm/duet-upload-item.entry.js +6 -6
  447. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  448. package/lib/esm/duet.js +4 -4
  449. package/lib/esm/{errorcodes.utils-DFNtyigo.js → errorcodes.utils-CqW0-HM8.js} +1 -1
  450. package/lib/esm/{focus-utils-BMaSpIw7.js → focus-utils-Dokkd7xz.js} +1 -1
  451. package/lib/esm/{index-FlJJ5tdo.js → index-Cwhi6_oZ.js} +5 -5
  452. package/lib/esm/{label-B8qZstXv.js → label-CyQlly6Z.js} +1 -1
  453. package/lib/esm/{language-utils-D6DmVtHY.js → language-utils-LZh-sc2s.js} +1 -1
  454. package/lib/esm/loader.js +4 -4
  455. package/lib/esm/{slot-utils-CNDJ1X0N.js → slot-utils-CEZnAp61.js} +2 -2
  456. package/lib/esm/{themeable-component-r_Tw1vqr.js → themeable-component-D_FVcjsD.js} +1 -1
  457. package/lib/esm/{token-utils-D46K_pN4.js → token-utils-B0KAgyj_.js} +1 -1
  458. package/lib/esm/{tokens-vvm7i9oY.js → tokens-Ce9HQd35.js} +226 -4
  459. package/lib/esm/{tokens.module-D84A7Xf6.js → tokens.module-DEzE2U5T.js} +152 -4
  460. package/lib/types/common-types.d.ts +11 -28
  461. package/lib/types/components/duet-banner/duet-banner.d.ts +1 -0
  462. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
  463. package/lib/types/components/duet-date-picker/date-utils.d.ts +1 -1
  464. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -2
  465. package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +24 -4
  466. package/lib/types/components/duet-grid/duet-grid.d.ts +5 -0
  467. package/lib/types/components/duet-heading/duet-heading.d.ts +10 -0
  468. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +1 -0
  469. package/lib/types/components/duet-textarea/duet-textarea.d.ts +0 -5
  470. package/lib/types/components.d.ts +72 -6
  471. package/package.json +5 -5
  472. package/lib/duet/p-0c653c09.entry.js +0 -4
  473. package/lib/duet/p-0ef804e4.entry.js +0 -4
  474. package/lib/duet/p-1a28bbe1.entry.js +0 -4
  475. package/lib/duet/p-1d81fcf9.entry.js +0 -4
  476. package/lib/duet/p-1f2469d6.entry.js +0 -4
  477. package/lib/duet/p-2b489051.entry.js +0 -4
  478. package/lib/duet/p-2e967dc9.entry.js +0 -4
  479. package/lib/duet/p-30190152.entry.js +0 -4
  480. package/lib/duet/p-44d1fafb.entry.js +0 -4
  481. package/lib/duet/p-47070cce.entry.js +0 -4
  482. package/lib/duet/p-554d9373.entry.js +0 -4
  483. package/lib/duet/p-59553aa5.entry.js +0 -4
  484. package/lib/duet/p-5dc3f346.entry.js +0 -4
  485. package/lib/duet/p-5dc8a394.entry.js +0 -4
  486. package/lib/duet/p-6359eb27.entry.js +0 -4
  487. package/lib/duet/p-831e210d.entry.js +0 -4
  488. package/lib/duet/p-846b040f.entry.js +0 -4
  489. package/lib/duet/p-8ff66f04.entry.js +0 -4
  490. package/lib/duet/p-9fd00141.entry.js +0 -4
  491. package/lib/duet/p-BZkhQa5F.js +0 -4
  492. package/lib/duet/p-BsJux4JM.js +0 -4
  493. package/lib/duet/p-Bv3O2yFB.js +0 -4
  494. package/lib/duet/p-D84A7Xf6.js +0 -4
  495. package/lib/duet/p-Dd0j805V.js +0 -4
  496. package/lib/duet/p-a4b62f2f.entry.js +0 -4
  497. package/lib/duet/p-b8648d7a.entry.js +0 -4
  498. package/lib/duet/p-c18726af.entry.js +0 -4
  499. package/lib/duet/p-c2572d80.entry.js +0 -4
  500. package/lib/duet/p-d3b4339e.entry.js +0 -4
  501. package/lib/duet/p-dZaxsCbb.js +0 -4
  502. package/lib/duet/p-dfab71df.entry.js +0 -4
  503. package/lib/duet/p-e655dd7d.entry.js +0 -4
  504. package/lib/duet/p-f0eda0e2.entry.js +0 -4
  505. package/lib/duet/p-f58c0527.entry.js +0 -4
  506. package/lib/duet/p-fc0cb6fb.entry.js +0 -4
  507. package/lib/duet/p-vvm7i9oY.js +0 -4
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h as t,r as e,c as i,H as a,g as n,F as s}from"./p-FlJJ5tdo.js";import{i as o}from"./p-BEzfNXw0.js";import{f as d,d as l}from"./p-BlUsLmbQ.js";import{i as r}from"./p-Db8rvjPI.js";import{a as h,c as u,d as p,g as c,s as b}from"./p-Bo0igXOs.js";import{q as m,r as f,p as g,u as y,v,w as k,x,y as w,z as $,A as T,f as L,B as z,C as E,D as j,E as S,F,G as M,H as C,I as D,j as R,s as _,J as P}from"./p-D84A7Xf6.js";import{b as U,a as A}from"./p-D8k4CqJb.js";import{c as W}from"./p-Cfr_DJqU.js";import{p as B}from"./p-C6E9F6QT.js";import{a as q,g as H}from"./p-Bv3O2yFB.js";const I=({data:e,groupId:i,alignment:a})=>{const n=`duet-editable-table duet-editable-table-content-${i}`;return"string"==typeof e?t("td",{innerHTML:e,class:n,part:`${i}content`,style:{verticalAlign:a}}):t("td",{class:n,part:`${i}content`,style:{verticalAlign:a}},e)},N=class{constructor(t){e(this,t),this.duetTableToggle=i(this,"duetTableToggle",7),this.duetMenuClick=i(this,"duetMenuClick",7),this.hasHeadSlotFirst=!1,this.hasHeadSlotLast=!1,this.hasFootSlot=!1,this.language=h(),this.margin="auto",this.variation="striped",this.sticky=!1,this.stickyDistance="with-links",this.breakpoint="small",this.actions=void 0,this.columns=void 0,this.rows=void 0,this.sortable=!1,this.groupId="",this.theme="",this.accessibleRole=void 0,this.hideHeadVisually=!1,this.sortableDefaultLabel={fi:"Järjestä",en:"Click to sort",sv:"Klicka för att sortera"},this.actionColumnLabel={en:"Actions for rows",fi:"Toiminnot rivillä",sv:"Åtgärder för rader"},this.toggleColumn=(t,e)=>{e.preventDefault();const{sort_order:i,direction:a,index:n,key:s}=t;this.duetTableToggle.emit({sort_order:i,index:n,direction:a,key:s,component:"duet-editable-table",originalEvent:e})},this.handleKeyDown=(t,e)=>{r(e)&&this.toggleColumn(t,e)}}componentWillLoad(){o(this),this.hasHeadSlotFirst=!!this.element.querySelector("[slot='thead-first']"),this.hasHeadSlotLast=!!this.element.querySelector("[slot='thead-last']"),this.hasFootSlot=!!this.element.querySelector("[slot='tfoot']")}connectedCallback(){u(this)}disconnectedCallback(){p(this)}createLabel(e){const{sort_order:i,direction:a,index:n,label:s}=e,o=c(s);return this.sortable?t("span",{class:"duet-table-label","data-index":n},t("duet-button",{size:"small",icon:i&&1===a?"action-arrow-down-small":i&&-1===a?"action-arrow-up-small":"action-subtract-small","icon-size":"medium-small","accessible-label":this.sortableDefaultLabel[this.language],variation:"plain",margin:"none","icon-right":!0,onClick:t=>this.toggleColumn(e,t),onKeyDown:t=>this.handleKeyDown(e,t)},o)):o}getSortedColumns(){return[...this.columns].sort(d(["index"]))}getRowSortOrder(){return[...this.columns].sort(d(["sort_order"])).filter((t=>t.sort_order)).map((t=>-1===t.direction?`-${t.key}`:t.key))}renderTableHeader(){if(!this.columns)return;const e=this.getSortedColumns();return t("tr",{class:{"duet-table-action-header":!!this.actions}},e.map((e=>{if(!1!==e.display){const i=this.createLabel(e);return""!==i?t("th",{scope:"col"},i):t("td",null)}})),this.actions&&t("th",{scope:"col",class:"duet-table-action-header-heading"},this.actions&&t("duet-visually-hidden",null,this.actionColumnLabel[this.language])))}renderActions(e,i){if(this.actions)return t("td",{class:"duet-text-right"},this.actions.map((a=>t("duet-action-button",{actionMeta:Object.assign({},(null==e?void 0:e.meta)||{},{index:i}),actionId:(null==e?void 0:e.uid)||(null==e?void 0:e.id)||null,actionName:a.name,theme:this.theme,iconName:a.icon,iconColor:a.color,iconSize:a.size,background:a.background,"accessible-label":`${e.actionDescription||""} ${c(a.label)} `}))))}renderTableBody(){const e=this.getSortedColumns(),i=this.getRowSortOrder();return[...this.rows].sort(d(i)).map(((i,a)=>t("tr",{class:{"duet-table-action-row":!!this.actions,"duet-editable-table-row":!0,[`duet-editable-table-row-${this.groupId}`]:!0},"data-meta":JSON.stringify(i.meta)},e.map((e=>{if(!1!==e.display)return t(I,{data:i[e.key]?i[e.key]:i.item,groupId:this.groupId})})),this.actions&&this.renderActions(i,a))))}render(){return t(a,{key:"5b1b28e6321b07a1d385c1945f15b0c110a8b068",class:{[`duet-editable-table-${this.variation}`]:!0,"duet-editable-table":!0,[`duet-editable-table-${this.theme}`]:!0,"duet-editable-table-scrollable":"none-scrollable"===this.breakpoint,"duet-editable-table-sortable":this.sortable,"duet-editable-table-actions":!!this.actions,"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme}},t("duet-table",{key:"47a4b4e9d3acf3ca83e70c1aa4e7758e1f6cbbbe",class:"duet-editable-table-table",sticky:this.sticky,stickyDistance:this.stickyDistance,margin:this.margin,theme:this.theme,variation:this.variation,breakpoint:this.breakpoint,"hide-head-visually":this.hideHeadVisually},t("table",{key:"975344f17b9271b8ffa4264751aa2dae69279f45",role:this.accessibleRole},t("caption",{key:"e9039bfd4c5bf90f96856d13d993be7f13fa2d73"},t("slot",{key:"38a7cd2c82e45ebcc080e1e20f3f77aa2a46973d",name:"tcaption"})),t("thead",{key:"c4a02a18bfae96669f45328f6198dc52f43dd887"},this.hasHeadSlotFirst&&t("tr",{key:"af846dfeba040ddec43065803327195bea76a404"},t("td",{key:"c002827f8c8c6cce8d8d4415c80e4f39d4bb1ed6",class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{key:"5673bc937f4bc87b67f6112f59a1981ff7f02c79",name:"thead-first"}))),this.renderTableHeader(),this.hasHeadSlotLast&&t("tr",{key:"79a45db93db0d6e5e35aade928f23032efdb821b"},t("td",{key:"fddd1434bf5a20188be229e5c3d9bde03b8d8dca",class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{key:"53b1ea3494b7e0f39426232f922a040eacf3a0f0",name:"thead-last"})))),t("tbody",{key:"b5d38eed528592d29f64f749e1938d0ff5b772b3"},this.renderTableBody()),this.hasFootSlot&&t("tfoot",{key:"e2ef34f7d078a7ac7b4a38cd5953b449ce682a23"},t("tr",{key:"9f2a92be2f425c419abd5fa1a0a7fb763cc0426b"},t("td",{key:"da2eeda1f65004cc2c197dad36038dc4a60c2e8e",class:"duet-editable-table-footer-menu",colSpan:99},t("slot",{key:"988c400cb8046f0544293b8e1555f7b213f9def6",name:"tfoot"})))))))}get element(){return n(this)}};N.style=":host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-editable-table-actions-menu,td.duet-editable-table-actions-menu{position:relative;padding:0 !important;margin:0}.duet-editable-table-actions-menu-button{position:relative;right:-16px;float:right;padding:0}.duet-editable-table-actions-menu-icon .duet-icon{max-width:16px;max-height:16px}.duet-editable-table-row.duet-table-action-row .duet-text-right{text-align:right}.duet-editable-table-header tr .duet-editable-table-header-hidden{padding:0 !important;font-size:0;border-bottom:0}";const O=t=>t.replace("rgb(","").replace(")",""),Y=`\nduet-table {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-bottom: ${m} !important;\n display: block;\n font-variant-numeric: tabular-nums;\n\n table,\n thead,\n tbody,\n tfoot,\n th,\n td,\n tr {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n }\n\n &.duet-m-0 {\n margin: 0 !important;\n }\n\n table {\n width: 100%;\n font-family: ${f};\n font-size: ${g};\n text-align: left;\n border-spacing: 0;\n border-collapse: separate;\n }\n\n &.duet-table-hide-head-visually.duet-table-hide-head-visually {\n thead,\n thead * {\n position: absolute !important;\n top: 0;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n overflow: hidden !important;\n clip: rect(1px, 1px, 1px, 1px) !important;\n border: 0 !important;\n }\n }\n\n td {\n -webkit-hyphens: auto;\n hyphens: auto;\n color: ${y};\n }\n\n th {\n font-weight: ${v};\n line-height: ${k};\n color: ${x};\n text-align: left;\n }\n\n tbody th {\n font-weight: ${v};\n color: ${y};\n }\n\n & .duet-table-action-row {\n & td:last-child {\n justify-self: end;\n padding-right: ${m} !important;\n white-space: nowrap;\n }\n }\n\n span.duet-table-cell-heading {\n display: none;\n }\n}\n\n.duet-table-flattened {\n table,\n thead,\n tbody,\n tfoot,\n th,\n td,\n tr {\n display: block;\n }\n\n thead tr {\n position: absolute !important;\n top: 0;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n overflow: hidden !important;\n clip: rect(1px, 1px, 1px, 1px) !important;\n border: 0 !important;\n }\n\n td {\n line-height: ${k};\n\n &:not(:last-child) {\n margin-bottom: ${w};\n }\n\n span.duet-table-cell-heading {\n margin-bottom: ${$};\n display: block;\n font-size: ${g};\n font-weight: ${v};\n color: ${y};\n }\n }\n\n tbody td,\n tbody th,\n tfoot td {\n padding: 0 !important;\n text-align: left !important;\n }\n\n tbody th {\n font-weight: ${v};\n line-height: ${k};\n color: ${x};\n text-align: left;\n }\n}\n\n.duet-table-sticky thead th {\n position: sticky;\n top: 0;\n z-index: $z-index-sticky;\n background: ${T};\n}\n\n.duet-table-striped {\n td,\n th {\n padding: ${m} !important;\n @media ${L.replace("'","").replace("'","")} {\n padding: ${m} ${z} !important;\n }\n }\n\n tbody th {\n background: ${T};\n }\n\n &.duet-table-sticky {\n thead th {\n border-bottom: 1px solid ${E};\n }\n }\n\n tbody:not(:first-of-type) th {\n padding-top: calc(${m} * 2) !important;\n }\n\n tbody:only-of-type tr:nth-of-type(odd) {\n background: rgba(4, 81, 128, 0.04);\n }\n\n tbody:not(:only-of-type) tr:nth-of-type(even) {\n background: rgba(4, 81, 128, 0.04);\n }\n\n tfoot td {\n border-top: 1px solid ${E};\n }\n\n &.duet-table-flattened {\n tbody:not(:first-of-type) th {\n padding-top: ${m} !important;\n }\n\n tr {\n padding: ${m} !important;\n }\n\n tfoot {\n td {\n border-top: 0;\n }\n\n tr {\n border-top: 1px solid ${E};\n }\n }\n }\n}\n\n.duet-table-plain, .duet-table-fixed, .duet-table-minimal {\n th {\n padding: ${w} !important;\n border-bottom: 1px solid ${x};\n\n &:first-child {\n padding-left: 0 !important;\n }\n\n &:last-child {\n padding-right: 0 !important;\n }\n }\n\n \n\n tbody th {\n padding-top: calc(${m} * 2) !important;\n border-bottom-color: ${E};\n }\n\n td {\n padding: ${w} !important;\n\n &:first-child {\n padding-left: 0 !important;\n }\n\n &:last-child {\n padding-right: 0 !important;\n }\n }\n\n tbody td {\n border-bottom: 1px solid ${E};\n }\n\n &.duet-table-flattened {\n tbody:first-of-type th {\n padding-top: 0 !important;\n }\n\n td,\n tbody th {\n border-bottom: 0;\n }\n\n tr {\n padding: ${m} 0 !important;\n }\n\n tbody th {\n padding-top: ${m} !important;\n }\n\n tfoot td {\n margin-bottom: ${$} !important;\n }\n\n tbody:not(:only-of-type) tr:first-child {\n border-bottom: 0;\n }\n }\n}\n\n.duet-table-plain {\n\n &.duet-table-flattened {\n tbody tr {\n border-bottom: 1px solid ${E};\n }\n }\n}\n\n.duet-table-minimal {\n\n tbody tr,\n tbody tr td {\n vertical-align: top;\n border-bottom: 0 none;\n }\n\n tbody tr:last-of-type,\n tbody tr:last-of-type td {\n border-bottom: 1px solid ${E};\n }\n\n &.duet-table-flattened {\n tbody tr,\n tbody tr td {\n border-bottom: 0 none;\n }\n\n tbody tr td[data-heading]::before {\n display: none;\n }\n\n tfoot {\n border-top: 1px solid ${E};\n }\n }\n}\n\n.duet-table-fixed {\n\n table {\n table-layout: fixed;\n }\n\n tbody tr,\n tbody tr td,\n tbody tr td:first-child {\n padding: 4px !important;\n vertical-align: text-bottom;\n border-bottom: 0 none;\n }\n\n thead {\n display: none;\n }\n\n tbody tr,\n tbody tr td {\n border-bottom: 0 none;\n }\n\n &:not(.duet-table-flattened) {\n tfoot {\n border-top: 1px solid ${E};\n }\n }\n}\n.duet-table-scrollable {\n position: relative;\n width: 100%;\n overflow-x: auto;\n background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;\n background-repeat: no-repeat;\n background-attachment: local, local, scroll, scroll;\n background-size: 100px 100%, 100px 100%, 12px 100%, 12px 100%;\n}\n\n.duet-table-selected-column {\n background: rgba(${O(R)}, 0.08);\n}\n\n.duet-table-sortable {\n tbody tr td:first-child,\n thead tr th:first-child {\n padding: ${m};\n }\n\n &:not(.duet-table-flattened) {\n tfoot {\n border-top: 1px solid ${E};\n }\n }\n}\n\n\n.duet-table-actions {\n table {\n table-layout: auto;\n }\n\n thead {\n & th:last-child {\n width: 1px;\n white-space: nowrap;\n }\n }\n}\n\n.duet-editable-table-table.duet-table-flattened {\n tr {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-auto-rows: auto;\n gap: 10px;\n\n &.duet-table-action-row td:last-child::before {\n padding: 0;\n content: "";\n }\n }\n\n td {\n grid-column: 1 / 2;\n\n &:first-child {\n grid-row: 1;\n grid-column: 1;\n }\n\n &:last-child {\n grid-row: 1;\n grid-column: 2;\n }\n }\n}\n \nduet-table.duet-theme-turva table {\n font-family: ${j};\n}\n\nduet-table.duet-theme-turva td {\n color: ${S};\n}\n\nduet-table.duet-theme-turva th {\n color: ${F};\n}\n\nduet-table.duet-theme-turva tbody th {\n color: ${S};\n}\n\nduet-table.duet-theme-turva td span.duet-table-cell-heading {\n color: ${M};\n}\n\nduet-table.duet-table-striped.duet-theme-turva.duet-table-sticky thead {\n th,\n td {\n border-bottom-color: ${C};\n }\n}\n\nduet-table.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {\n background: rgba(${O(S)}, 0.04);\n}\n\nduet-table.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {\n background: rgba(${O(S)}, 0.04);\n}\n\nduet-table.duet-table-striped.duet-theme-turva tfoot td {\n border-top-color: ${C};\n}\n\nduet-table.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr {\n border-top-color: ${C};\n}\n\nduet-table.duet-table-plain.duet-theme-turva tbody {\n th,\n td {\n border-bottom-color: ${C};\n }\n}\n\nduet-table.duet-table-plain.duet-theme-turva tbody td {\n border-bottom-color: ${C};\n}\n\nduet-theme-turva.duet-table-plain th, duet-theme-turva.duet-table-fixed th, duet-theme-turva.duet-table-minimal th {\n border-bottom-color: ${D};\n}\n\nduet-theme-turva.duet-table-plain tbody th, duet-theme-turva.duet-table-fixed tbody th, duet-theme-turva.duet-table-minimal tbody th {\n border-bottom-color: ${C};\n}\n\n.duet-table-flattened.duet-table-plain.duet-theme-turva tbody tr {\n border-bottom-color: ${C};\n}\n\n.duet-theme-turva .duet-table-selected-column {\n background: rgba(${O(D)}, 0.08);\n}\n\nduet-table.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr {\n border-bottom-color: ${C};\n}\n\nduet-table.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot {\n border-top-color: ${C};\n}\n\nduet-table.duet-table-fixed.duet-theme-turva:not(.duet-table-flattened) tfoot {\n border-top-color: ${C};\n}\n\nduet-table.duet-table-sortable.duet-theme-turva:not(.duet-table-flattened) tfoot {\n border-top-color: ${C};\n}\n`.replace(/[\n\r\t]/gm,""),J={none:0,"with-links":16*parseFloat(P),"without-links":16*parseFloat(_)},X=class{constructor(t){e(this,t),this.headingSelector="thead tr > :not(*.duet-editable-table-actions-menu)",this.matchesBreakpoint=!0,this.language=h(),this.margin="auto",this.variation="striped",this.sticky=!1,this.stickyDistance="with-links",this.breakpoint="small",this.hideHeadVisually=!1,this.handleMediaQueryChange=t=>{this.matchesBreakpoint=U.includes(this.breakpoint)?!t.matches:t.matches}}watchLanguageStateHandler(t,e){t!==e&&setTimeout((()=>this.copyHeadingsToCells()),50)}connectedCallback(){!function(t){const e=t.getRootNode();if(e instanceof ShadowRoot){const t=new CSSStyleSheet;t.replace(Y).then((()=>{e.adoptedStyleSheets.push(t)}))}else{if(document.querySelector("style#duet-table-styles"))return;const t=document.createElement("style");t.id="duet-table-styles",t.innerHTML=Y,document.head.append(t)}}(this.element),this.mq=matchMedia("none"===this.breakpoint||"none-scrollable"===this.breakpoint?"all":A[this.breakpoint]),this.mq.addEventListener("change",l(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),this.observer=new MutationObserver((()=>l(this.copyHeadingsToCells(),50))),this.observer.observe(this.element,{childList:!0,subtree:!0})}componentWillLoad(){if(o(this),this.copyHeadingsToCells(),this.sticky&&"none-scrollable"===this.breakpoint&&console.warn('[DUET WARNING]: sticky and breakpoint="none-scrollable" are incompatible. Scrollable takes precedence'),this.sticky){const t=J[this.stickyDistance];this.element.querySelectorAll(this.headingSelector).forEach((e=>e.style.top=`${t}px`))}}componentDidLoad(){this.observer&&this.observer.takeRecords(),u(this)}disconnectedCallback(){this.observer.disconnect(),this.observer=null,this.mq.removeListener(this.handleMediaQueryChange),this.mq=null,this.matchesBreakpoint=!0,p(this)}copyHeadingsToCells(){if(["none","none-scrollable"].includes(this.breakpoint))return;const t=this.element.querySelectorAll(this.headingSelector),e=this.element.querySelectorAll("tbody tr"),i=Array.from(t).map((t=>t.textContent.trim()));e.forEach((t=>{t.querySelectorAll("td").forEach(((t,e)=>{if(i[e]){const a=t.querySelector(".duet-table-cell-heading");if(!a||a.textContent!==i[e]){null==a||a.remove();const n=document.createElement("span");n.textContent=i[e],n.classList.add("duet-table-cell-heading"),n.setAttribute("aria-hidden","true"),n.inert=!0,t.prepend(n)}}}))}))}render(){return t(a,{key:"fda81d8548a6180298f6e227832f9c7105a68736",class:{[`duet-table-${this.variation}`]:!0,"duet-table-flattened":!this.matchesBreakpoint,"duet-table-sticky":this.matchesBreakpoint&&this.sticky,"duet-table-scrollable":"none-scrollable"===this.breakpoint,"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme,"duet-table-hide-head-visually":this.hideHeadVisually}},t("slot",{key:"ac3ae69d0a1141e1feacd1bdf8fb3ba9e9e89080"}))}get element(){return n(this)}static get watchers(){return{language:["watchLanguageStateHandler"]}}};var V=[{type:"default",system_message:"unknown error",message:{fi:"Tapahtui tuntematon virhe, ole hyvä ja yritä uudelleen.",sv:"Ett okänt fel uppstod, försök igen.",en:"An unknown error occured, please try again."}},{type:"400",system_message:"Bad Request: The server could not understand the request due to invalid syntax.",message:{fi:"Tiedostoa ei hyväksytty.",sv:"Servern avvisade din fil.",en:"The server rejected your file."}},{type:"401",system_message:"Not Authenticated: The client must authenticate itself to get the requested response...",message:{fi:"Vain kirjautunut käyttäjä voi lähettää tiedostoja.",sv:"Du måste vara inloggad för att ladda upp filer.",en:"You need to be logged in to upload files."}},{type:"403",system_message:"No Access: The client does not have access rights to the content.",message:{fi:"Ei oikeuksia lähettää tiedostoja.",sv:"Du har inte rätt åtkomsträttigheter för att ladda upp filer.",en:"You do not have the correct access rights to upload files."}},{type:"413",system_message:"Payload too large",message:{fi:"Tiedosto oli liian vastaanotettavaksi.",sv:"Filen var för stor för servern att hantera.",en:"The file was to large for the server to handle."}},{type:"415",system_message:"Unsupported media type",message:{fi:"Tiedoston tyyppi oli väärä.",sv:"Servern avvisade filen eftersom den hade fel typ.",en:"The server rejected the file because it had the wrong type."}},{type:"429",system_message:"Too many request from same address",message:{fi:"Liian monta yritystä, ole hyvä ja yritä myöhemmin uudelleen.",sv:"Servern har fått många förfrågningar från dig, försök igen senare.",en:"The server has received to many request from you, please try again later."}},{type:"500",system_message:"Internal Server Error",message:{fi:"Palvelin ilmoitti tuntemattomasta virheestä ja lataus epäonnistui.",sv:"Servern rapporterade ett okänt fel och uppladdningen misslyckades.",en:"The server reported an unknown error and the upload failed."}},{type:"duet-upload-100",system_message:"File extension not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den type.",en:"You cannot upload files with that extension."}},{type:"duet-upload-001",system_message:"File transfer failed",message:{fi:"Tiedoston lähetys keskeytyi, ole hyvä ja yritä uudelleen.",sv:"Din anslutning till servern avbröts, försök igen.",en:"Your connection to the server was interrupted, try again."}},{type:"duet-upload-101",system_message:"File mimetype not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den typ.",en:"You cannot upload files of that type."}},{type:"duet-upload-201",system_message:"File is too large",message:{fi:"Tiedosto on liian iso.",sv:"Filen är större än tillåtet.",en:"The file is larger than permitted."}},{type:"duet-upload-202",system_message:"The combined size of all files is too large",message:{fi:"Tiedostojen yhteenlaskettu koko on liian iso.",sv:"Du har nått den maximala kombinerade filstorleken.",en:"You have reached the maximum combined filesize."}},{type:"duet-upload-203",system_message:"Files to upload exceed total byte size limit",message:{fi:"Yritit lisätä tiedostoja, jotka ylittäisivät suurimman sallitun yhteenlasketun koon.",sv:"Du försökte lägga till filer som skulle överskrida den maximala kombinerade storleken.",en:"You tried to add files that would exceed the maximum combined size."}},{type:"duet-upload-301",system_message:"The maximum file limit has been reached",message:{fi:"Liitteiden maksimimäärä saavutettu.",sv:"Maximalt antal bilagor har uppnåtts.",en:"Maximum number of attachments reached."}},{type:"duet-upload-302",system_message:"Files to upload exceeds limits",message:{fi:"Et voi lähettää enempää kuin enimmäismäärän liitteitä.",sv:"Du kan inte ladda upp fler än det maximala antalet bilagor.",en:"You can't upload more than maximum number of attachments."}}];const K={fi:"Liiteluettelo",sv:"Lista över bilagor",en:"Attachments list"},G=({label:e,categoryLabel:i})=>t("div",{class:"items-header",tabindex:"-1","aria-label":c(K)},i&&t("duet-heading",{class:"category-header",border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none","aria-hidden":"true"},c(i)),t("duet-heading",{class:{"filename-header":!0,"no-category":!i},border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none","aria-hidden":"true"},c(e))),Q=(t,e,i)=>{const{allowedMimetypes:a,allowedExtensions:n,maxBytes:s}=e;let o=!1,d=q("default",i);if(t){const{name:e,type:l,size:r}=t,h=((t,e)=>{if(!e||!t)return!0;const i=e.split(",");let a=!1;return i.forEach((e=>{const i=e.split("/"),n=t.split("/");i[0]!==n[0]||i[1]!==n[1]&&"*"!==i[1]||(a=!0)})),a})(l,a),u="all"===n||""===n||" "===n||void 0===n||((t,e)=>{if(!e)return!0;const i=t.split(".");return e.split(",").includes(i[i.length-1])})(e.toLowerCase(),n),p=((t,e)=>!e||!t||e>=t)(r,s);h||(d=q("duet-upload-101",i)),u||(d=q("duet-upload-100",i)),p||(d=q("duet-upload-201",i)),o=h&&u&&p}else o=!1;return{valid:o,errorMessage:o?void 0:c(d.message),errorSystem:o?void 0:d.system_message,errorType:o?void 0:d.type}},Z=({payload:t,options:e,onFailure:i,onSuccess:a,onProgress:n})=>{const{type:s="POST",xhr:o,uri:d,argument:l=null,headers:r=null}=e;o.open(s,`${d}${l||""}`,!0);const{data:h,name:u}=t;return r&&Object.keys(r).forEach((t=>{o.setRequestHeader(t,r[t])})),"POST"===s&&(o.onreadystatechange=()=>{o.readyState===XMLHttpRequest.DONE&&o.status>=200&&o.status<300&&a(o,u,o.status),o.readyState===XMLHttpRequest.DONE&&o.status>=300&&o.status<999&&i(o,u,o.status)},n(u)),o.send(h),o},tt=class{constructor(a){e(this,a),this.duetChange=i(this,"duetChange",3),this.duetBlur=i(this,"duetBlur",7),this.duetFocus=i(this,"duetFocus",7),this.duetReady=i(this,"duetReady",7),this.duetDone=i(this,"duetDone",3),this.duetState=i(this,"duetState",3),this.duetDelete=i(this,"duetDelete",3),this.duetCancel=i(this,"duetCancel",3),this.duetProgress=i(this,"duetProgress",3),this.duetUpload=i(this,"duetUpload",3),this.linkClick=i(this,"linkClick",3),this.tick=Date.now(),this.external=!1,this.middleware=null,this.deferUpload=!1,this.hideButton=!1,this.actions=[{icon:"action-delete",color:"color-danger",size:"x-small",background:"gray-lightest",name:"delete",map:["success","failure"],label:{fi:"Poista tiedosto",en:"Delete the file",sv:"Ta bort filen"}},{icon:"navigation-close",color:"primary",size:"x-small",background:"gray-lightest",name:"cancel",map:["inprogress","pending"],label:{fi:"Keskeytä lähetys",en:"Cancel the upload",sv:"Stop överföringen"}}],this.showLinks=!1,this.statusLabelDefaults={fi:{inProgress:"Lähetetään {filesUploaded}, yhteensä lähetettävänä {filesTotal}.",inProgressWithErrors:"Lähetetään {filesInProgress}, lähetetty {filesUploaded}, yhteensä lähetettävänä {filesTotal}, {filesWithErrors} epäonnistui",done:"Lähetys valmis, {filesTotal} lisätty onnistuneesti",doneWithErrors:"Lähetys valmis, {filesUploaded} lisätty onnistuneesti, {filesWithErrors} epäonnistui",files:"tiedostoa",file:"tiedosto"},sv:{inProgress:"Laddar upp {filesUploaded} av {filesTotal}",inProgressWithErrors:"Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",done:"Uppladdningen slutförd, {filesTotal} har lagts till",doneWithErrors:"Uppladdningen slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",files:"filer",file:"fil"},en:{inProgress:"Uploading {filesUploaded} of {filesTotal}",inProgressWithErrors:"Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",done:"Upload completed, {filesTotal} added successfully",doneWithErrors:"Upload completed, {filesUploaded} added successfully, {filesWithErrors} failed.",files:"files",file:"file"}},this.statusMessageLabel=c(this.statusLabelDefaults),this.buttonLabelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add an attachment"},this.buttonLabel=c(this.buttonLabelDefaults),this.accessibleButtonLabel=void 0,this.theme="",this.disabled=!1,this.margin="auto",this.required=!1,this.alignment="middle",this.hideGroups=!1,this.files=new Map,this.valid=!this.required,this.labelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add attachments"},this.label=c(this.labelDefaults),this.descriptionDefaults={en:"You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",sv:"Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",fi:"Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena."},this.description=c(this.descriptionDefaults),this.fileListEmptyDefaults={fi:"Ei vielä lisättyjä tiedostoja.",sv:"Inga filer har lagts till ännu.",en:"No files added yet."},this.fileListEmpty=c(this.fileListEmptyDefaults),this.error="",this.errorCodes=V,this.maxBytes=2e8,this.maxBytesTotal=void 0,this.maxFiles=99,this.allowedExtensions="all",this.allowedMimetypes="",this.multiple=!0,this.limitSelection=!1,this.hideCancelButton=!1,this.captionOnBottom=!1,this.showUploadedItemsHeader=!1,this.uploadedItemsHeaderLabel={fi:"Ladattu tiedosto",sv:"Lägg till en bilaga",en:"Uploaded file"},this.headerHeadingLevel="h3",this.hideHeader=!1,this.emitEvent=!1,this.actionButtonTitles={cancel:!1,delete:!1},this.renameDuplicates=!1,this.buttonId=W("DuetButton"),this.labelId=W("DuetLabel"),this.uploadId=W("DuetUpload"),this.filesInProgress=new Map,this.fileMaxReached=!1,this.bytesMaxReached=!1,this.filesToUploadExceedsLimit=!1,this.filesToUploadTotalSizeIsAboveMax=!1,this.internalStatusMessageLabel=void 0,this.itemRefs=new Map,this.DefaultGroups={inprogress:"inprogress",success:"success",pending:"pending",failure:"failure"},this.groups=[{id:this.DefaultGroups.success,label:{fi:"Valmiit tiedostot",sv:"Files success",en:"Files success"}},{id:this.DefaultGroups.failure,label:{fi:"Tiedostot, joissa on virheitä",sv:"Filer med fel",en:"Files with errors"}},{id:this.DefaultGroups.inprogress,label:{fi:"Kesken olevat tiedostot",sv:"Filer inprogress",en:"Files inprogress"}},{id:this.DefaultGroups.pending,label:{en:"Files to upload",sv:"Filer att ladda",fi:"Ladattavat tiedostot"}}],this.kick=l((()=>{this.tick=Date.now()}),30),this.categoryLabel={en:"Category",sv:"Filtyp",fi:"Tiedostotyyppi"},this.listenForActionEvents=()=>{this.element.addEventListener("duetActionEvent",(t=>{const e=t.detail,{action:i,id:a,originalEvent:n}=e;switch(i){case"delete":this.onDelete(a,n);break;case"cancel":this.onCancel(a,n)}}))},this.verifyValidity=()=>{const{invalid:t,valid:e}=this.getFilesAsArray(),i=this.valid;this.valid=0===t.length&&0!==e.length,this.valid!==i&&this.duetState.emit({originalEvent:void 0,data:{valid:this.valid,from:"componentWillRender"},component:"duet-upload"})},this.getGroupFromItemData=t=>t.valid&&100===t.progress?this.DefaultGroups.success:t.progress>0&&100!==t.progress?this.DefaultGroups.inprogress:t.valid?t.pending?this.DefaultGroups.pending:t.group?t.group:"none":this.DefaultGroups.failure,this.mapFilesToUploadItems=(e,i,a,n)=>i===this.DefaultGroups.success?t("duet-upload-item",{theme:this.theme,actions:this.getActions(i,n),type:"success",data:e,showLinks:this.showLinks,linkClickEvent:this.emitEvent?this.linkClick:void 0,categoryLabel:this.categoryLabel,label:this.uploadedItemsHeaderLabel,showCategory:a,buttonTitles:this.processedButtonTitles,ref:t=>{this.itemRefs.set(e.uid,t)}}):i===this.DefaultGroups.inprogress?t("duet-upload-item",{theme:this.theme,actions:this.getActions(i,n),type:"inprogress",data:e,showLinks:this.showLinks,categoryLabel:this.categoryLabel,label:this.uploadedItemsHeaderLabel,showCategory:a,buttonTitles:this.processedButtonTitles,ref:t=>{this.itemRefs.set(e.uid,t)}}):i===this.DefaultGroups.pending?t("duet-upload-item",{theme:this.theme,actions:this.getActions(i,n),type:"pending",data:e,showLinks:this.showLinks,categoryLabel:this.categoryLabel,label:this.uploadedItemsHeaderLabel,showCategory:a,buttonTitles:this.processedButtonTitles,ref:t=>{this.itemRefs.set(e.uid,t)}}):i===this.DefaultGroups.failure?t("duet-upload-item",{theme:this.theme,actions:this.getActions(i,n),type:"failure",data:e,showLinks:this.showLinks,errorCodes:this.errorCodes,categoryLabel:this.categoryLabel,label:this.uploadedItemsHeaderLabel,showCategory:a,buttonTitles:this.processedButtonTitles,ref:t=>{this.itemRefs.set(e.uid,t)}}):e.group?e.html:"none",this.genHashName=()=>Date.now().toString(36)+Math.random(),this.updateValueInMap=(t,e,i,a=!0)=>{try{const a=this.files.get(t);a[e]=i,this.files.set(t,a),this.external&&"url"!==e&&this.trackProgress(t,"uploaded"===e)}catch(t){}a&&this.kick()},this.updateProgress=(t,e)=>{t.lengthComputable?(i=>{this.updateValueInMap(e,"progress",i),this.onProgress(e,i,t)})(t.loaded/t.total*100):console.log("cant read progress")},this.trackProgress=(t,e=!1)=>{e?this.filesInProgress.delete(t):this.filesInProgress.set(t,"inprogress"),0===this.filesInProgress.size&&this.onDone()},this.getFilesAsArray=()=>{const t=[],e=[];return this.files.forEach((i=>{i.valid&&!i.deleted?t.push(i):i.valid||i.deleted||e.push(i)})),{valid:t,invalid:e}},this.resetFormFields=()=>{this.nativeInput.value=""},this.startUpload=async(t,e)=>{const{bytesMaxReached:i,fileMaxReached:a}=this.validateTotals();i||a?this.kick():(this.metaData=e,this.nativeInput.click(),this.onUpload(t,e),t.stopPropagation(),t.preventDefault())},this.transferComplete=t=>{this.updateValueInMap(t,"progress",100,!1),this.trackProgress(t,!0)},this.transferDone=(t,e,i)=>{this.updateValueInMap(e,"status",i,!1),this.updateValueInMap(e,"uploaded",!0,!1);try{const i=JSON.parse(t.response);this.updateValueInMap(e,"url",i.url)}catch(t){this.updateValueInMap(e,"url",null),console.error("Server did not respond with expected response {url: string}")}},this.transferDoneWithFailure=(t,e,i)=>{try{const{error:i}=JSON.parse(t.response);this.updateValueInMap(e,"error",{message:i.message,type:i.type},!1)}catch(t){console.error("Server did not respond with expected response error:{message: string, type: int}"),this.updateValueInMap(e,"error",{type:i},!1)}this.updateValueInMap(e,"valid",!1,!0)},this.transferFailed=t=>{this.updateValueInMap(t,"error",H("duet-upload-001",this.errorCodes))},this.transferCanceled=t=>{this.files.delete(t),this.validateTotals(t),this.kick()},this.validateTotals=t=>{const e=((t,e)=>{let i=0;return!!(e&&(this.files.forEach((t=>{t.valid&&t.size&&(i+=t.size)})),i>=e))})(0,this.maxBytesTotal),i=((t,e)=>{let i=0;return!!(e&&(this.files.forEach((t=>{t.valid&&i++})),i>=e))})(0,this.maxFiles);return e&&t&&this.updateValueInMap(t,"error",H("duet-upload-202",this.errorCodes),!1),i&&t&&this.updateValueInMap(t,"error",H("duet-upload-301",this.errorCodes),!1),this.bytesMaxReached=e,this.fileMaxReached=i,{bytesMaxReached:e,fileMaxReached:i}},this.uploadFile=async(t,e=!1,i)=>{!e&&this.deferUpload?(this.updateValueInMap(t.item.name,"pending",!0,!1),this.updateValueInMap(t.item.name,"group","pending",!0)):e&&(this.updateValueInMap(t.item.name,"pending",!1,!1),this.updateValueInMap(t.item.name,"group",void 0,!0));try{if(!this.deferUpload||e){const e=new FormData;e.append("file",t.item),i&&e.append("key",i),e.append("uid",t.uid),e.append("name",t.item.name),e.append("metadata",JSON.stringify({uid:t.uid,url:this.uri,size:t.item.size,meta:t.meta})),t.xhr=await this.makeXHRPostRequest(e)}}catch(e){this.updateValueInMap(t.item.name,"valid",!1,!1)}},this.uploadPendingFiles=()=>{for(const[t,e]of Array.from(this.files.entries()))"pending"===e.group&&!0===e.pending&&this.uploadFile(e,!0,t)},this.getItemFromUID=t=>{for(const[e,i]of Array.from(this.files.entries()))if(i.uid===t)return{value:i,key:e};return null},this.handleExternalUploadButton=(t,e)=>{this.externalUploadButton&&(this.externalUploadButton.disabled=!(!t&&!e))},this.onDelete=(t,e)=>{const i=this.getItemFromUID(t).key,a=this.files.get(i);this.files.delete(i);const{bytesMaxReached:n,fileMaxReached:s}=this.validateTotals();this.handleExternalUploadButton(n,s),this.kick(),this.duetDelete.emit({originalEvent:e,data:{deletion:a},component:"duet-upload"}),this.external||a.pending||this.makeXHRDeleteRequest(a),this.resetFormFields()},this.onCancel=(t,e)=>{const i=this.getItemFromUID(t).key,a=this.files.get(i);this.files.delete(i);const{bytesMaxReached:n,fileMaxReached:s}=this.validateTotals();if(this.handleExternalUploadButton(n,s),!this.external){const{xhr:t}=a;t&&t.abort()}this.kick(),this.resetFormFields(),this.duetCancel.emit({originalEvent:e,data:{cancelled:a},component:"duet-upload"})},this.onUpload=(t,e)=>{this.duetUpload.emit({originalEvent:t,metaData:e,component:"duet-upload"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,component:"duet-upload"})},this.onProgress=(t,e,i)=>{this.duetChange.emit({originalEvent:i,data:{key:t,percentComplete:e},component:"duet-upload"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,component:"duet-upload"})},this.onReady=()=>{this.duetReady.emit({component:"duet-upload"})},this.onDone=()=>{this.duetDone.emit({component:"duet-upload",data:{files:this.files}})},this.filterMap=()=>{const t=Array.from(this.files.values()),e=[],i=[],a=[],n=[];let s=!1;return t.forEach((t=>{const o=this.getGroupFromItemData(t);t.meta&&t.meta.badges&&(s=!0),o===this.DefaultGroups.success?n.push({uid:t.uid,data:t}):o===this.DefaultGroups.inprogress?e.push({uid:t.uid,data:t}):o===this.DefaultGroups.pending?a.push({uid:t.uid,data:t}):o===this.DefaultGroups.failure?i.push({uid:t.uid,data:t}):t.group&&e.push({uid:t.uid,data:t})})),{pending:a,failure:i,success:n,inprogress:e,hasCategory:s}},this.getActions=(t,e)=>e.filter((e=>e.map.includes(t))),this.renderUploadedItems=()=>{this.itemRefs.clear();const e=this.filterMap(),i=e.hasCategory,a=this.hideCancelButton?this.actions.filter((t=>"cancel"!==t.name)):this.actions,n=this.groups.map((n=>{const o=e[n.id];if(null==o?void 0:o.length)return t(s,null,!this.hideGroups&&t(G,{categoryLabel:i?this.categoryLabel:void 0,label:n.label}),o.map((t=>this.mapFilesToUploadItems(t.data,n.id,i,a))))}));return t(s,null,this.showUploadedItemsHeader&&t(G,{categoryLabel:i?this.categoryLabel:void 0,label:this.uploadedItemsHeaderLabel}),n)}}watchValidHandler(t,e){t!==e&&this.kick()}componentWillLoad(){this.internalStatusMessageLabel="string"==typeof this.statusMessageLabel?b(this.groups):this.statusMessageLabel,o(this),this.listenForActionEvents(),this.onReady(),this.externalUploadButton=document.querySelector(`#${this.externalUploadButtonId}`),this.processedButtonTitles=B(this.actionButtonTitles)}componentWillRender(){this.verifyValidity()}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async upload(t){const{bytesMaxReached:e,fileMaxReached:i}=this.validateTotals();if(e||i)return this.handleExternalUploadButton(e,i),void this.kick();this.metaData=t,this.nativeInput.click()}async uploadPending(){this.uploadPendingFiles()}async refresh(){this.kick(),await this.setFocus()}async getFiles(){return!(!this.files||0===this.files.size)&&this.getFilesAsArray()}async updateValue(t,e,i){this.updateValueInMap(t,e,i)}async focusActionButton(t){var e;await(null===(e=this.itemRefs.get(t))||void 0===e?void 0:e.focusActionButton())}render(){const e=this.identifier||this.uploadId,i=Math.round((this.maxBytesTotal?this.maxBytesTotal:this.maxBytes*this.maxFiles)/1024/1024),n=Math.round(this.maxBytes/1024/1024);let o=this.description.replace(/{maxfiles}/g,this.maxFiles.toString());return o=o.replace(/{maxbytes}/g,`${n.toString()} MB`),o=o.replace(/{maxbytestotal}/g,`${i.toString()} MB`),o=o.replace(/{filetypes}/g,this.allowedExtensions.split(",").join(", ")),this.externalUploadButton&&(this.externalUploadButton.accessibleLabel=`${this.externalUploadButton.innerText}. ${o}`),t(a,{key:"027dcff01c8c5aef8445a0ed996aa5ad3e854b5e",class:{"duet-m-0":"none"===this.margin}},t("duet-fieldset",{key:"47ed56bd728ba7c100e5d68dd71f727b6e6b2a4d","label-heading-level":this.headerHeadingLevel,"label-hidden":this.hideHeader,label:this.label},t("slot",{key:"63328b6f03549224f711b858cbb5e95665bbdef9",name:"header"}),!this.files.size&&t("duet-empty-state",{key:"88492085957485c18c6ba40b767b87c89ff89fd2",id:this.labelId,part:this.identifier?`${this.identifier}-empty-state`:"duet-upload-empty-state",icon:"messaging-attachment"},t("duet-paragraph",{key:"2cbe2581b60800f93dafe93e63c67d9ac826737c",margin:"none"},this.fileListEmpty)),!!this.files.size&&t("slot",{key:"2bf2901abf2934c09cfeca8514ddfec09f48e82a",name:"fileheader"}),!!this.files.size&&t("duet-upload-aria-status",{key:"2ac21565dbd47cfbf9954b03e4404c018871c85c",invalid:this.getFilesAsArray().invalid.length,valid:this.getFilesAsArray().valid.length,inprogress:this.filesInProgress.size,total:this.files.size,statusMessageLabel:this.internalStatusMessageLabel}),!!this.files.size&&this.renderUploadedItems(),!!this.files.size&&t("slot",{key:"7eb58ca2a63237ee9d22f4ce8136c7bf4bd90f41",name:"filefooter"}),t("slot",{key:"36bc35eb74e40102333469dadda4ac75a77ebd90",name:"uploadfooter"}),this.captionOnBottom&&t("duet-caption",{key:"c6465f63ef97ab6cb78af308da6c4c2528b911e0",margin:"none",size:"small"},t("div",{key:"d189b328248cf862a920d1e542a18546b0b76b94",class:"upload-bottom-caption"},o)),t("slot",{key:"87c92c6cac9b662315a12218e848a54b74094cec",name:"afterfooter"}),!this.hideButton&&t(s,{key:"89ba989869f8286e58f01704ef5339ab23106761"},t("duet-spacer",{key:"5c4dc126f197421e5c62edf556f9ef967df4cf89",size:"large"}),t("duet-button",{key:"67c4e90266831664dbd7aae7fb1792460013cee3",id:this.buttonId,onClick:this.startUpload,"accessible-controls":e,disabled:this.fileMaxReached,"accessible-label":this.accessibleButtonLabel||`${this.buttonLabel}. ${o}`,"accessible-owns":e,size:"small",variation:"secondary",fixed:!0,icon:"action-add-circle",part:this.identifier?`${this.identifier}-button-upload`:"duet-upload-button-upload"},this.buttonLabel)),(this.fileMaxReached||this.bytesMaxReached||this.filesToUploadExceedsLimit||this.filesToUploadTotalSizeIsAboveMax)&&t(s,{key:"2984ff475257e2ed17b964aa6113e6592809996a"},t("duet-spacer",{key:"3400a7c832dceb6f04c6a1efc9f69bc764004cc7",size:"medium"}),t("duet-alert",{key:"22bb6896cec80f0468dd34bb2ff29d20ccb474a9",part:this.identifier?`${this.identifier}-error-notification`:"duet-upload-error-notification"},this.fileMaxReached&&H("duet-upload-301",this.errorCodes),this.bytesMaxReached&&H("duet-upload-202",this.errorCodes),this.filesToUploadExceedsLimit&&H("duet-upload-302",this.errorCodes),this.filesToUploadTotalSizeIsAboveMax&&H("duet-upload-203",this.errorCodes))),t("duet-visually-hidden",{key:"f6871858e8e2e13839f9898cf340951616c81595","aria-hidden":"true"},t("input",{key:"faa902cc6425f28c15c89a0f95c1c7ce69ec8b6b",ref:t=>{this.nativeInput=t},accept:this.limitSelection?`${this.allowedMimetypes},${this.allowedExtensions}`:void 0,onBlur:this.onBlur,onFocus:this.onFocus,onChange:t=>this.onChange(t),type:"file",class:{"duet-upload":!0},disabled:this.disabled,"aria-hidden":"true",required:this.required,name:this.name,id:this.identifier,multiple:this.multiple,tabIndex:-1}))))}makeXHRPostRequest(t){const e=new XMLHttpRequest,i=t.get("name");e.upload.addEventListener("progress",(t=>{this.updateProgress(t,i)})),e.upload.addEventListener("load",(()=>{this.transferComplete(i)})),e.upload.addEventListener("error",(()=>{this.transferFailed(i)})),e.upload.addEventListener("abort",(()=>{this.transferCanceled(i)}));let a={payload:{data:t,name:i},options:{type:"POST",uri:this.uri,xhr:e,argument:null,headers:void 0},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};return this.middleware&&(a=this.middleware(a)),Z(a)}makeXHRDeleteRequest(t){const{uid:e,item:i}=t,a=new XMLHttpRequest;let n={payload:{data:null,name},options:{type:"DELETE",xhr:a,uri:this.uri,argument:`?key=${e}&name=${i.name}`,headers:{"x-fileuid":e,"x-filename":i.name}},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};return this.middleware&&(n=this.middleware(n)),Z(n)}escapeSpecialCharacters(t){return(t+"").replace(/[\\"'(){}\[\]*?$^+]/g,"\\$&").replace(/\u0000/g,"\\0")}getRenamedFileName(t,e){const i=new RegExp(`${this.escapeSpecialCharacters(t)} \\(\\d+\\).${e}`),a=Array.from(this.files.entries()).map((t=>{const[e,i]=t;return e})).filter((a=>i.test(a)||a===`${t}.${e}`)).sort(((t,e)=>t.split(".").slice(0,-1).join(".")>e.split(".").slice(0,-1).join(".")?1:-1)).pop().split(".").slice(0,-1).join(".");if(a===t)return`${t} (1).${e}`;const n=parseInt(a.split("(").pop().slice(0,-1));return`${t} (${n+1}).${e}`}renameFiles(t){return t.map((t=>{if(this.files.get(t.name)){const e=t.name.split("."),i=e.pop(),a=e.join("."),n=this.getRenamedFileName(a,i);return new File([t],n,{type:t.type,lastModified:t.lastModified})}return t}))}async onChange(t){var e;let i=Array.from(null===(e=this.nativeInput)||void 0===e?void 0:e.files);if(this.filesToUploadExceedsLimit=!1,this.files.size+i.length>this.maxFiles)return this.filesToUploadExceedsLimit=!0,void this.kick();if(this.filesToUploadTotalSizeIsAboveMax=!1,((t,e,i)=>{let a=0;return!!(i&&(this.files.forEach((t=>{t.valid&&t.size&&(a+=t.size)})),e.forEach((t=>{t.size&&(a+=t.size)})),a>=i))})(0,i,this.maxBytesTotal))return this.filesToUploadTotalSizeIsAboveMax=!0,void this.kick();if(i){this.renameDuplicates&&(i=this.renameFiles(i));for(const t of i){const{valid:e,errorMessage:i,errorType:a,errorSystem:n}=Q(t,{maxBytes:this.maxBytes,allowedExtensions:this.allowedExtensions,allowedMimetypes:this.allowedMimetypes},this.errorCodes),s={uid:this.genHashName(),item:t,size:t.size,meta:this.metaData,uploaded:!1,valid:e,error:{type:e?void 0:a,message:e?void 0:i,system_message:e?void 0:n},progress:0,deleted:!1,xhr:!1,url:!1};this.files.set(t.name,s),e&&!this.external?await this.uploadFile(s):e&&this.external?(this.updateValueInMap(s.item.name,"pending",!0,!1),this.updateValueInMap(s.item.name,"group","pending",!0)):e||this.updateValueInMap(t.name,"valid",!1,!0),this.kick()}}this.resetFormFields(),this.metaData=void 0,this.duetChange.emit({originalEvent:t,data:{files:this.files},component:"duet-upload"})}get element(){return n(this)}static get watchers(){return{valid:["watchValidHandler"]}}};tt.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}::slotted([slot=header]){margin-bottom:16px}::slotted([slot=fileheader]){margin:16px 0 0 0}::slotted([slot=filefooter]){margin-top:16px}::slotted([slot=uploadfooter]){margin-top:20px}.duet-upload{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-upload-item-size{font-size:0.75rem;font-weight:400}.duet-upload-filelist{margin-bottom:25px}.duet-upload-filelist-empty{display:flex;align-items:center;justify-content:center;width:100%;height:75px;margin:0 auto;font-size:1rem;font-weight:400;background-color:rgb(245, 248, 250)}.duet-upload-filelist-empty-label{font-size:1rem;font-weight:400}.duet-upload-editable-table-header-hidden{display:none}.duet-upload-editable-table tbody .duet-upload-editable-table-data{padding:0 !important;border:0}.duet-upload-editable-table duet-editable-table tfoot,.duet-upload-editable-table duet-editable-table thead{display:none}.duet-upload-editable-table duet-editable-table .duet-editable-table-content{padding-right:0 !important;padding-left:0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td{padding:1rem 0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child{padding-right:0 !important}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending{position:relative}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress{position:absolute;bottom:0;width:100%}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button),.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button){border:0}duet-paragraph::part(duet-paragraph){word-break:break-word}duet-editable-table tfoot{display:none}.upload-bottom-caption{margin-top:12px;margin-bottom:16px;line-height:1.4rem}.items-header{display:none;flex-direction:row;margin-bottom:0}@media (min-width: 36em){.items-header{display:flex}}.items-header:not(:last-child),.items-header:not(:first-child){margin-top:12px}.items-header .category-header{width:35%}.items-header .filename-header{width:65%}.items-header .filename-header.no-category{width:100%}.upload-item-row{display:flex;flex-direction:column;gap:16px;align-content:center;align-items:center;padding:16px 0 16px 0;border-bottom:1px solid rgb(212, 223, 229)}@media (min-width: 36em){.upload-item-row{flex-direction:row;gap:10px}}.upload-item-row .item-categories{width:100%}@media (min-width: 36em){.upload-item-row .item-categories{width:35%}}.upload-item-row .item-name{position:relative;bottom:2px;width:100%;text-align:left}@media (min-width: 36em){.upload-item-row .item-name{width:50%}.upload-item-row .item-name.no-category{width:85%}}.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:block}@media (min-width: 36em){.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:none}}.upload-item-row .item-actions{width:100%;margin-left:-8px;text-align:left}@media (min-width: 36em){.upload-item-row .item-actions{width:15%;padding-top:0;margin-left:auto;text-align:right}}.upload-item-row .duet-upload-item-name duet-icon{position:relative;top:4px}.upload-item-row .duet-upload-item-name duet-progress{display:block;margin-top:16px}";export{N as duet_editable_table,X as duet_table,tt as duet_upload}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const r="rgb(240, 247, 250)",_="rgb(253, 247, 242)",o="rgb(228, 241, 247)",a="rgb(251, 235, 225)",e="rgb(0, 119, 179)",c="rgb(230, 23, 64)",l="rgb(255, 255, 255)",t="rgb(255, 255, 255)",g="rgb(245, 248, 250)",s="rgb(245, 246, 247)",u="rgb(8, 42, 77)",n="rgb(23, 42, 59)",i="rgb(0, 161, 212)",d="rgb(178, 180, 179)",b="rgb(11, 114, 136)",y="rgb(199, 12, 112)",m="rgb(122, 1, 196)",x="rgb(211, 36, 131)",p="rgb(161, 10, 78)",v="rgb(168, 1, 78)",h="rgb(213, 66, 3)",f="rgb(9, 129, 148)",w="rgb(169, 69, 124)",k="rgb(54, 74, 129)",z="rgb(23, 28, 58)",q="rgb(214, 28, 82)",S="rgb(255, 240, 243)",I="rgb(255, 211, 219)",U="rgb(89, 0, 45)",j="rgb(255, 173, 190)",A="rgb(252, 136, 162)",E="rgb(243, 98, 134)",B="rgb(255, 225, 231)",C="rgb(231, 62, 107)",F="rgb(214, 28, 82)",H="rgb(185, 16, 74)",M="rgb(153, 9, 66)",R="rgb(120, 4, 56)",O="rgb(214, 28, 82)",D="rgb(122, 1, 196)",G="rgb(0, 155, 204)",J="rgb(27, 171, 75)",K="rgb(255, 86, 34)",L="rgb(245, 76, 154)",N="rgb(194, 21, 101)",P="rgb(192, 101, 247)",Q="rgb(0, 105, 191)",T="rgb(19, 120, 53)",V="rgb(179, 60, 24)",W="rgb(13, 163, 166)",X="rgb(11, 114, 136)",Y="rgb(179, 137, 24)",Z="rgb(128, 98, 17)",$="rgb(0, 41, 77)",rr="rgb(181, 198, 208)",_r="rgb(127, 150, 165)",or="rgb(120, 145, 164)",ar="rgb(98, 121, 138)",er="rgb(95, 122, 143)",cr="rgb(212, 223, 229)",lr="rgb(212, 221, 226)",tr="rgb(245, 248, 250)",gr="rgb(245, 246, 247)",sr="rgb(255, 255, 255)",ur="rgb(255, 255, 255)",nr="rgb(178, 194, 205)",ir="rgb(240, 247, 250)",dr="rgb(217, 236, 245)",br="rgb(8, 42, 77)",yr="rgb(198, 225, 238)",mr="rgb(172, 210, 229)",xr="rgb(131, 188, 217)",pr="rgb(228, 241, 247)",vr="rgb(50, 153, 204)",hr="rgb(0, 119, 179)",fr="rgb(0, 97, 155)",wr="rgb(0, 75, 129)",kr="rgb(3, 56, 102)",zr="rgb(245, 248, 250)",qr="rgb(212, 223, 229)",Sr="rgb(17, 28, 38)",Ir="rgb(181, 198, 208)",Ur="rgb(153, 174, 186)",jr="rgb(127, 150, 165)",Ar="rgb(228, 236, 239)",Er="rgb(98, 121, 138)",Br="rgb(81, 105, 123)",Cr="rgb(62, 84, 102)",Fr="rgb(45, 64, 81)",Hr="rgb(30, 45, 59)",Mr="rgb(0, 170, 70)",Rr="rgb(0, 119, 179)",Or="rgb(0, 75, 129)",Dr="rgb(140, 0, 30)",Gr="rgb(0, 97, 155)",Jr="rgb(185, 3, 41)",Kr="rgb(198, 225, 238)",Lr="rgb(241, 202, 178)",Nr="rgb(228, 241, 247)",Pr="rgb(251, 235, 225)",Qr="rgb(240, 247, 250)",Tr="rgb(253, 247, 242)",Vr="rgb(230, 23, 64)",Wr="rgb(8, 42, 77)",Xr="rgb(23, 42, 59)",Yr="rgb(255, 225, 231)",Zr="rgb(185, 16, 74)",$r="rgb(255, 211, 219)",r_="rgb(214, 28, 82)",__="rgb(228, 241, 247)",o_="rgb(0, 97, 155)",a_="rgb(217, 236, 245)",e_="rgb(0, 119, 179)",c_="rgb(231, 248, 239)",l_="rgb(29, 106, 88)",t_="rgb(191, 239, 218)",g_="rgb(76, 164, 138)",s_="rgb(255, 247, 221)",u_="rgb(247, 178, 40)",n_="rgb(255, 232, 160)",i_="rgb(255, 199, 79)",d_="rgb(255, 173, 190)",b_="rgb(214, 28, 82)",y_="rgb(172, 210, 229)",m_="rgb(0, 119, 179)",x_="rgb(163, 229, 202)",p_="rgb(76, 164, 138)",v_="rgb(255, 217, 120)",h_="rgb(196, 138, 23)",f_="rgb(153, 9, 66)",w_="rgb(120, 4, 56)",k_="rgb(0, 75, 129)",z_="rgb(3, 56, 102)",q_="rgb(255, 240, 243)",S_="rgb(240, 247, 250)",I_="rgb(244, 250, 247)",U_="rgb(38, 26, 4)",j_="rgb(29, 106, 88)",A_="rgb(13, 71, 59)",E_="rgb(126, 87, 16)",B_="rgb(81, 55, 9)",C_="rgb(48, 131, 105)",F_="rgb(244, 250, 247)",H_="rgb(218, 246, 233)",M_="rgb(4, 38, 33)",R_="rgb(191, 239, 218)",O_="rgb(163, 229, 202)",D_="rgb(134, 215, 185)",G_="rgb(231, 248, 239)",J_="rgb(105, 196, 166)",K_="rgb(76, 164, 138)",L_="rgb(48, 131, 105)",N_="rgb(29, 106, 88)",P_="rgb(13, 71, 59)",Q_="rgb(48, 131, 105)",T_="rgb(245, 246, 247)",V_="rgb(212, 221, 226)",W_="rgb(6, 23, 38)",X_="rgb(178, 194, 205)",Y_="rgb(148, 169, 185)",Z_="rgb(120, 145, 164)",$_="rgb(228, 233, 237)",ro="rgb(95, 122, 143)",_o="rgb(72, 100, 122)",oo="rgb(53, 79, 101)",ao="rgb(37, 60, 80)",eo="rgb(23, 42, 59)",co="rgb(253, 247, 242)",lo="rgb(251, 225, 209)",to="rgb(38, 21, 15)",go="rgb(241, 202, 178)",so="rgb(216, 174, 150)",uo="rgb(190, 147, 124)",no="rgb(251, 235, 225)",io="rgb(165, 122, 101)",bo="rgb(140, 98, 79)",yo="rgb(114, 76, 60)",mo="rgb(89, 56, 43)",xo="rgb(64, 38, 28)",po="rgb(255, 242, 242)",vo="rgb(255, 229, 230)",ho="rgb(51, 0, 10)",fo="rgb(255, 201, 204)",wo="rgb(249, 164, 172)",ko="rgb(243, 119, 133)",zo="rgb(255, 236, 236)",qo="rgb(236, 69, 96)",So="rgb(230, 23, 64)",Io="rgb(185, 3, 41)",Uo="rgb(140, 0, 30)",jo="rgb(96, 0, 20)",Ao="rgb(247, 178, 40)",Eo="rgb(255, 251, 242)",Bo="rgb(255, 244, 198)",Co="rgb(38, 26, 4)",Fo="rgb(255, 232, 160)",Ho="rgb(255, 217, 120)",Mo="rgb(255, 199, 79)",Ro="rgb(255, 247, 221)",Oo="rgb(247, 178, 40)",Do="rgb(196, 138, 23)",Go="rgb(156, 110, 22)",Jo="rgb(126, 87, 16)",Ko="rgb(81, 55, 9)",Lo="rgb(247, 178, 40)",No="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Po="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Qo="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",To="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Vo="1.25rem",Wo="1rem",Xo="0.875rem",Yo="1.5rem",Zo="0.75rem",$o="2.25rem",ra="3rem",_a="4.5rem",oa="-0.01rem",aa="1.25",ea="'(min-width: 62em)'",ca="'(min-width: 48em)'",la="'(min-width: 36em)'",ta="'(min-width: 64.0625em)'",ga="'(max-width: 35.9375em)'",sa="'(min-width: 76.25em)'",ua="'(max-width: 22.5em)'",na="'(min-width: 106.25em)'",ia="'(max-width: 20.5em)'",da="0.30",ba="0.50",ya="0.75",ma="0.85",xa="12px",pa="16px",va="20rem",ha="0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",fa="0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",wa="0 2px 6px 0 rgba(0, 41, 77, 0.07)",ka="0 2px 6px 0 rgba(117, 117, 117, 0.13)",za="0 0 0 1px #de2362",qa="0 0 0 1px #e55039",Sa="0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3",Ia="0 0 0 1px #0077b3",Ua="0 0 0 1px #171c3a",ja="0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a",Aa="0 2px 10px 0 rgba(0, 41, 77, 0.1)",Ea="0 0 0 1px #909599",Ba="0 0 0 1px #747475",Ca="0 2px 10px 0 rgba(117, 117, 117, 0.15)",Fa="0 2px 20px 0 rgba(0, 0, 0, 0.2)",Ha="0 2px 10px 0 rgba(0, 41, 77, 0.07)",Ma="0 2px 10px 0 rgba(117, 117, 117, 0.13)",Ra="8rem",Oa="4rem",Da="30px",Ga="24px",Ja="20px",Ka="36px",La="16px",Na="48px",Pa="10px",Qa="72px",Ta="1110px",Va="3rem",Wa="40px",Xa="30px",Ya="48px",Za="20px",$a="16px",re="12px",_e="28px",oe="36px",ae="48px",ee="72px",ce="94px",le="300ms ease",te="600ms ease",ge="-999999";var se=Object.freeze({__proto__:null,color_background_accent_primary:r,color_background_accent_primary_turva:_,color_background_accent_secondary:o,color_background_accent_secondary_turva:a,color_background_accent_tertiary:e,color_background_accent_tertiary_turva:c,color_background_primary:l,color_background_primary_turva:t,color_background_secondary:g,color_background_secondary_turva:s,color_background_tertiary:u,color_background_tertiary_turva:n,color_brand_blue:i,color_brand_gray_turva:d,color_category_family:b,color_category_family_turva:y,color_category_finance:m,color_category_home:x,color_category_home_turva:p,color_category_pet:v,color_category_travel:h,color_category_travel_turva:f,color_category_union_turva:w,color_category_vehicle:k,color_category_vehicle_turva:z,color_danger:q,color_danger_00:S,color_danger_100:I,color_danger_1000:U,color_danger_200:j,color_danger_300:A,color_danger_400:E,color_danger_50:B,color_danger_500:C,color_danger_600:F,color_danger_700:H,color_danger_800:M,color_danger_900:R,color_danger_turva:O,color_data_01:D,color_data_02:G,color_data_03:J,color_data_04:K,color_data_05:L,color_data_06:N,color_data_07:P,color_data_08:Q,color_data_09:T,color_data_10:V,color_data_11:W,color_data_12:X,color_data_13:Y,color_data_14:Z,color_data_15:$,color_gray:rr,color_gray_dark:_r,color_gray_dark_turva:or,color_gray_darker:ar,color_gray_darker_turva:er,color_gray_light:cr,color_gray_light_turva:lr,color_gray_lighter:tr,color_gray_lighter_turva:gr,color_gray_lightest:sr,color_gray_lightest_turva:ur,color_gray_turva:nr,color_lt_blue_00:ir,color_lt_blue_100:dr,color_lt_blue_1000:br,color_lt_blue_200:yr,color_lt_blue_300:mr,color_lt_blue_400:xr,color_lt_blue_50:pr,color_lt_blue_500:vr,color_lt_blue_600:hr,color_lt_blue_700:fr,color_lt_blue_800:wr,color_lt_blue_900:kr,color_lt_gray_00:zr,color_lt_gray_100:qr,color_lt_gray_1000:Sr,color_lt_gray_200:Ir,color_lt_gray_300:Ur,color_lt_gray_400:jr,color_lt_gray_50:Ar,color_lt_gray_500:Er,color_lt_gray_600:Br,color_lt_gray_700:Cr,color_lt_gray_800:Fr,color_lt_gray_900:Hr,color_partner_brand_s_group:Mr,color_primary:Rr,color_primary_dark:Or,color_primary_dark_turva:Dr,color_primary_darker:Gr,color_primary_darker_turva:Jr,color_primary_light:Kr,color_primary_light_turva:Lr,color_primary_lighter:Nr,color_primary_lighter_turva:Pr,color_primary_lightest:Qr,color_primary_lightest_turva:Tr,color_primary_turva:Vr,color_secondary:Wr,color_secondary_turva:Xr,color_status_background_danger_primary:Yr,color_status_background_danger_quaternary:Zr,color_status_background_danger_secondary:$r,color_status_background_danger_tertiary:r_,color_status_background_info_primary:__,color_status_background_info_quaternary:o_,color_status_background_info_secondary:a_,color_status_background_info_tertiary:e_,color_status_background_success_primary:c_,color_status_background_success_quaternary:l_,color_status_background_success_secondary:t_,color_status_background_success_tertiary:g_,color_status_background_warning_primary:s_,color_status_background_warning_quaternary:u_,color_status_background_warning_secondary:n_,color_status_background_warning_tertiary:i_,color_status_border_danger_primary:d_,color_status_border_danger_secondary:b_,color_status_border_info_primary:y_,color_status_border_info_secondary:m_,color_status_border_success_primary:x_,color_status_border_success_secondary:p_,color_status_border_warning_primary:v_,color_status_border_warning_secondary:h_,color_status_foreground_danger_primary:f_,color_status_foreground_danger_secondary:w_,color_status_foreground_info_primary:k_,color_status_foreground_info_secondary:z_,color_status_foreground_inverse_danger:q_,color_status_foreground_inverse_info:S_,color_status_foreground_inverse_success:I_,color_status_foreground_inverse_warning:U_,color_status_foreground_success_primary:j_,color_status_foreground_success_secondary:A_,color_status_foreground_warning_primary:E_,color_status_foreground_warning_secondary:B_,color_success:C_,color_success_00:F_,color_success_100:H_,color_success_1000:M_,color_success_200:R_,color_success_300:O_,color_success_400:D_,color_success_50:G_,color_success_500:J_,color_success_600:K_,color_success_700:L_,color_success_800:N_,color_success_900:P_,color_success_turva:Q_,color_turva_gray_00:T_,color_turva_gray_100:V_,color_turva_gray_1000:W_,color_turva_gray_200:X_,color_turva_gray_300:Y_,color_turva_gray_400:Z_,color_turva_gray_50:$_,color_turva_gray_500:ro,color_turva_gray_600:_o,color_turva_gray_700:oo,color_turva_gray_800:ao,color_turva_gray_900:eo,color_turva_nude_00:co,color_turva_nude_100:lo,color_turva_nude_1000:to,color_turva_nude_200:go,color_turva_nude_300:so,color_turva_nude_400:uo,color_turva_nude_50:no,color_turva_nude_500:io,color_turva_nude_600:bo,color_turva_nude_700:yo,color_turva_nude_800:mo,color_turva_nude_900:xo,color_turva_red_00:po,color_turva_red_100:vo,color_turva_red_1000:ho,color_turva_red_200:fo,color_turva_red_300:wo,color_turva_red_400:ko,color_turva_red_50:zo,color_turva_red_500:qo,color_turva_red_600:So,color_turva_red_700:Io,color_turva_red_800:Uo,color_turva_red_900:jo,color_warning:Ao,color_warning_00:Eo,color_warning_100:Bo,color_warning_1000:Co,color_warning_200:Fo,color_warning_300:Ho,color_warning_400:Mo,color_warning_50:Ro,color_warning_500:Oo,color_warning_600:Do,color_warning_700:Go,color_warning_800:Jo,color_warning_900:Ko,color_warning_turva:Lo,default:{color_background_accent_primary:r,color_background_accent_primary_turva:_,color_background_accent_secondary:o,color_background_accent_secondary_turva:a,color_background_accent_tertiary:e,color_background_accent_tertiary_turva:c,color_background_primary:l,color_background_primary_turva:t,color_background_secondary:g,color_background_secondary_turva:s,color_background_tertiary:u,color_background_tertiary_turva:n,color_brand_blue:i,color_brand_gray_turva:d,color_category_family:b,color_category_family_turva:y,color_category_finance:m,color_category_home:x,color_category_home_turva:p,color_category_pet:v,color_category_travel:h,color_category_travel_turva:f,color_category_union_turva:w,color_category_vehicle:k,color_category_vehicle_turva:z,color_danger:q,color_danger_00:S,color_danger_100:I,color_danger_1000:U,color_danger_200:j,color_danger_300:A,color_danger_400:E,color_danger_50:B,color_danger_500:C,color_danger_600:F,color_danger_700:H,color_danger_800:M,color_danger_900:R,color_danger_turva:O,color_data_01:D,color_data_02:G,color_data_03:J,color_data_04:K,color_data_05:L,color_data_06:N,color_data_07:P,color_data_08:Q,color_data_09:T,color_data_10:V,color_data_11:W,color_data_12:X,color_data_13:Y,color_data_14:Z,color_data_15:$,color_gray:rr,color_gray_dark:_r,color_gray_dark_turva:or,color_gray_darker:ar,color_gray_darker_turva:er,color_gray_light:cr,color_gray_light_turva:lr,color_gray_lighter:tr,color_gray_lighter_turva:gr,color_gray_lightest:sr,color_gray_lightest_turva:ur,color_gray_turva:nr,color_lt_blue_00:ir,color_lt_blue_100:dr,color_lt_blue_1000:br,color_lt_blue_200:yr,color_lt_blue_300:mr,color_lt_blue_400:xr,color_lt_blue_50:pr,color_lt_blue_500:vr,color_lt_blue_600:hr,color_lt_blue_700:fr,color_lt_blue_800:wr,color_lt_blue_900:kr,color_lt_gray_00:zr,color_lt_gray_100:qr,color_lt_gray_1000:Sr,color_lt_gray_200:Ir,color_lt_gray_300:Ur,color_lt_gray_400:jr,color_lt_gray_50:Ar,color_lt_gray_500:Er,color_lt_gray_600:Br,color_lt_gray_700:Cr,color_lt_gray_800:Fr,color_lt_gray_900:Hr,color_partner_brand_s_group:Mr,color_primary:Rr,color_primary_dark:Or,color_primary_dark_turva:Dr,color_primary_darker:Gr,color_primary_darker_turva:Jr,color_primary_light:Kr,color_primary_light_turva:Lr,color_primary_lighter:Nr,color_primary_lighter_turva:Pr,color_primary_lightest:Qr,color_primary_lightest_turva:Tr,color_primary_turva:Vr,color_secondary:Wr,color_secondary_turva:Xr,color_status_background_danger_primary:Yr,color_status_background_danger_quaternary:Zr,color_status_background_danger_secondary:$r,color_status_background_danger_tertiary:r_,color_status_background_info_primary:__,color_status_background_info_quaternary:o_,color_status_background_info_secondary:a_,color_status_background_info_tertiary:e_,color_status_background_success_primary:c_,color_status_background_success_quaternary:l_,color_status_background_success_secondary:t_,color_status_background_success_tertiary:g_,color_status_background_warning_primary:s_,color_status_background_warning_quaternary:u_,color_status_background_warning_secondary:n_,color_status_background_warning_tertiary:i_,color_status_border_danger_primary:d_,color_status_border_danger_secondary:b_,color_status_border_info_primary:y_,color_status_border_info_secondary:m_,color_status_border_success_primary:x_,color_status_border_success_secondary:p_,color_status_border_warning_primary:v_,color_status_border_warning_secondary:h_,color_status_foreground_danger_primary:f_,color_status_foreground_danger_secondary:w_,color_status_foreground_info_primary:k_,color_status_foreground_info_secondary:z_,color_status_foreground_inverse_danger:q_,color_status_foreground_inverse_info:S_,color_status_foreground_inverse_success:I_,color_status_foreground_inverse_warning:U_,color_status_foreground_success_primary:j_,color_status_foreground_success_secondary:A_,color_status_foreground_warning_primary:E_,color_status_foreground_warning_secondary:B_,color_success:C_,color_success_00:F_,color_success_100:H_,color_success_1000:M_,color_success_200:R_,color_success_300:O_,color_success_400:D_,color_success_50:G_,color_success_500:J_,color_success_600:K_,color_success_700:L_,color_success_800:N_,color_success_900:P_,color_success_turva:Q_,color_turva_gray_00:T_,color_turva_gray_100:V_,color_turva_gray_1000:W_,color_turva_gray_200:X_,color_turva_gray_300:Y_,color_turva_gray_400:Z_,color_turva_gray_50:$_,color_turva_gray_500:ro,color_turva_gray_600:_o,color_turva_gray_700:oo,color_turva_gray_800:ao,color_turva_gray_900:eo,color_turva_nude_00:co,color_turva_nude_100:lo,color_turva_nude_1000:to,color_turva_nude_200:go,color_turva_nude_300:so,color_turva_nude_400:uo,color_turva_nude_50:no,color_turva_nude_500:io,color_turva_nude_600:bo,color_turva_nude_700:yo,color_turva_nude_800:mo,color_turva_nude_900:xo,color_turva_red_00:po,color_turva_red_100:vo,color_turva_red_1000:ho,color_turva_red_200:fo,color_turva_red_300:wo,color_turva_red_400:ko,color_turva_red_50:zo,color_turva_red_500:qo,color_turva_red_600:So,color_turva_red_700:Io,color_turva_red_800:Uo,color_turva_red_900:jo,color_warning:Ao,color_warning_00:Eo,color_warning_100:Bo,color_warning_1000:Co,color_warning_200:Fo,color_warning_300:Ho,color_warning_400:Mo,color_warning_50:Ro,color_warning_500:Oo,color_warning_600:Do,color_warning_700:Go,color_warning_800:Jo,color_warning_900:Ko,color_warning_turva:Lo,font_family_heading:No,font_family_heading_turva:Po,font_family_text:Qo,font_family_text_turva:To,font_size_large:Vo,font_size_medium:Wo,font_size_small:Xo,font_size_x_large:Yo,font_size_x_small:Zo,font_size_xx_large:$o,font_size_xxx_large:ra,font_size_xxxx_large:_a,font_weight_bold:"700",font_weight_extra_bold:"800",font_weight_normal:"400",font_weight_semi_bold:"600",letter_spacing_heading:oa,line_height_medium:"1.5",line_height_small:aa,line_height_x_small:"1.1",media_query_large:ea,media_query_medium:ca,media_query_small:la,media_query_x_large:ta,media_query_x_small:ga,media_query_xx_large:sa,media_query_xx_small:ua,media_query_xxx_large:na,media_query_xxx_small:ia,opacity_30:da,opacity_50:ba,opacity_75:ya,opacity_85:ma,radius_circle:"50%",radius_default:"4px",radius_intermediate:xa,radius_large:pa,radius_medium:"8px",radius_pill:va,radius_sharp:"0",shadow_card:ha,shadow_card_turva:fa,shadow_default:wa,shadow_default_turva:ka,shadow_error:za,shadow_error_turva:qa,shadow_focus:Sa,shadow_focus_input:Ia,shadow_focus_input_turva:Ua,shadow_focus_turva:ja,shadow_hover:Aa,shadow_hover_input:Ea,shadow_hover_input_turva:Ba,shadow_hover_turva:Ca,shadow_modal:Fa,shadow_tooltip:Ha,shadow_tooltip_turva:Ma,size_button_border:"1px",size_button_min_width:Ra,size_button_tiny_border:"1px",size_form_border:"1px",size_header:Oa,size_icon_large:Da,size_icon_medium:Ga,size_icon_small:Ja,size_icon_x_large:Ka,size_icon_x_small:La,size_icon_xx_large:Na,size_icon_xx_small:Pa,size_icon_xxx_large:Qa,size_icon_xxx_small:"7px",size_layout_max_width:Ta,size_medium_border:"2px",size_navigation:Va,size_step_medium:Wa,size_step_small:Xa,size_tappable_square:Ya,space_large:Za,space_medium:$a,space_small:re,space_x_large:_e,space_x_small:"8px",space_xx_large:oe,space_xx_small:"4px",space_xxx_large:ae,space_xxx_small:"2px",space_xxxx_large:ee,space_xxxxx_large:ce,transition_quickly:le,transition_slowly:te,z_index_deep:ge,z_index_default:"1",z_index_dropdown:"600",z_index_header:"400",z_index_mask:"200",z_index_mask_buttons:"250",z_index_masked:"100",z_index_modal:"900",z_index_overlay:"700",z_index_popup:"950",z_index_spinner:"800",z_index_sticky:"300",z_index_toast:"500"},font_family_heading:No,font_family_heading_turva:Po,font_family_text:Qo,font_family_text_turva:To,font_size_large:Vo,font_size_medium:Wo,font_size_small:Xo,font_size_x_large:Yo,font_size_x_small:Zo,font_size_xx_large:$o,font_size_xxx_large:ra,font_size_xxxx_large:_a,font_weight_bold:"700",font_weight_extra_bold:"800",font_weight_normal:"400",font_weight_semi_bold:"600",letter_spacing_heading:oa,line_height_medium:"1.5",line_height_small:aa,line_height_x_small:"1.1",media_query_large:ea,media_query_medium:ca,media_query_small:la,media_query_x_large:ta,media_query_x_small:ga,media_query_xx_large:sa,media_query_xx_small:ua,media_query_xxx_large:na,media_query_xxx_small:ia,opacity_30:da,opacity_50:ba,opacity_75:ya,opacity_85:ma,radius_circle:"50%",radius_default:"4px",radius_intermediate:xa,radius_large:pa,radius_medium:"8px",radius_pill:va,radius_sharp:"0",shadow_card:ha,shadow_card_turva:fa,shadow_default:wa,shadow_default_turva:ka,shadow_error:za,shadow_error_turva:qa,shadow_focus:Sa,shadow_focus_input:Ia,shadow_focus_input_turva:Ua,shadow_focus_turva:ja,shadow_hover:Aa,shadow_hover_input:Ea,shadow_hover_input_turva:Ba,shadow_hover_turva:Ca,shadow_modal:Fa,shadow_tooltip:Ha,shadow_tooltip_turva:Ma,size_button_border:"1px",size_button_min_width:Ra,size_button_tiny_border:"1px",size_form_border:"1px",size_header:Oa,size_icon_large:Da,size_icon_medium:Ga,size_icon_small:Ja,size_icon_x_large:Ka,size_icon_x_small:La,size_icon_xx_large:Na,size_icon_xx_small:Pa,size_icon_xxx_large:Qa,size_icon_xxx_small:"7px",size_layout_max_width:Ta,size_medium_border:"2px",size_navigation:Va,size_step_medium:Wa,size_step_small:Xa,size_tappable_square:Ya,space_large:Za,space_medium:$a,space_small:re,space_x_large:_e,space_x_small:"8px",space_xx_large:oe,space_xx_small:"4px",space_xxx_large:ae,space_xxx_small:"2px",space_xxxx_large:ee,space_xxxxx_large:ce,transition_quickly:le,transition_slowly:te,z_index_deep:ge,z_index_default:"1",z_index_dropdown:"600",z_index_header:"400",z_index_mask:"200",z_index_mask_buttons:"250",z_index_masked:"100",z_index_modal:"900",z_index_overlay:"700",z_index_popup:"950",z_index_spinner:"800",z_index_sticky:"300",z_index_toast:"500"});export{ea as a,Wo as f,ca as m,se as t}