@maggioli-design-system/magma 2.1.0 → 2.2.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 (970) hide show
  1. package/AGENTS.md +2 -1
  2. package/agents/install.md +17 -0
  3. package/agents/reporting.md +118 -0
  4. package/dist/cjs/index.cjs.js +62 -0
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/magma-components.cjs.js +1 -1
  7. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
  8. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  9. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  10. package/dist/cjs/mds-button_3.cjs.entry.js +76 -24
  11. package/dist/cjs/mds-calendar_2.cjs.entry.js +5 -5
  12. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  13. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  14. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  15. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  17. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
  19. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-entity.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
  22. package/dist/cjs/mds-file.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-header.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  28. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-input-date.cjs.entry.js +2 -2
  31. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-input-select.cjs.entry.js +2 -2
  35. package/dist/cjs/mds-input-switch_2.cjs.entry.js +2 -2
  36. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  37. package/dist/cjs/mds-input-upload.cjs.entry.js +5 -5
  38. package/dist/cjs/mds-input.cjs.entry.js +2 -2
  39. package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-keyboard.cjs.entry.js +1 -1
  41. package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
  42. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  43. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  44. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  45. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  46. package/dist/cjs/mds-modal.cjs.entry.js +3 -3
  47. package/dist/cjs/mds-note.cjs.entry.js +1 -1
  48. package/dist/cjs/mds-notification.cjs.entry.js +1 -1
  49. package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
  50. package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  52. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  54. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  55. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  57. package/dist/cjs/mds-pref-mode.cjs.entry.js +2 -2
  58. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
  59. package/dist/cjs/mds-pref-theme.cjs.entry.js +1 -1
  60. package/dist/cjs/mds-pref.cjs.entry.js +1 -1
  61. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +1 -1
  62. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
  63. package/dist/cjs/mds-price-table-features.cjs.entry.js +1 -1
  64. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  65. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-price-table-list.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  68. package/dist/cjs/mds-progress_2.cjs.entry.js +2 -2
  69. package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
  70. package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
  71. package/dist/cjs/mds-quote.cjs.entry.js +1 -1
  72. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  73. package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
  74. package/dist/cjs/mds-separator.cjs.entry.js +1 -1
  75. package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
  76. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +1 -1
  77. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  78. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
  79. package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
  80. package/dist/cjs/mds-tab_2.cjs.entry.js +27 -5
  81. package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
  82. package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
  83. package/dist/cjs/mds-table-header-cell.cjs.entry.js +1 -1
  84. package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
  85. package/dist/cjs/mds-table-row.cjs.entry.js +21 -15
  86. package/dist/cjs/mds-table.cjs.entry.js +1 -1
  87. package/dist/cjs/mds-text.cjs.entry.js +1 -1
  88. package/dist/cjs/mds-toast.cjs.entry.js +1 -1
  89. package/dist/cjs/mds-tooltip.cjs.entry.js +1 -1
  90. package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
  91. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  92. package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
  93. package/dist/cjs/mds-usage.cjs.entry.js +1 -1
  94. package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
  95. package/dist/cjs/mds-zero.cjs.entry.js +1 -1
  96. package/dist/collection/common/navigation.js +60 -0
  97. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  98. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  99. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  100. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  101. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  102. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  103. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  104. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  105. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  106. package/dist/collection/components/mds-author/documentation.json +1 -1
  107. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  108. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  109. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  110. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  111. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  112. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  113. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  114. package/dist/collection/components/mds-badge/documentation.json +1 -1
  115. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  116. package/dist/collection/components/mds-banner/documentation.json +1 -1
  117. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  118. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  119. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  120. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  121. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  122. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  123. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  124. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  125. package/dist/collection/components/mds-button/AGENTS.md +5 -5
  126. package/dist/collection/components/mds-button/antipattern.md +19 -1
  127. package/dist/collection/components/mds-button/documentation.json +5 -5
  128. package/dist/collection/components/mds-button/mds-button.css +13 -0
  129. package/dist/collection/components/mds-button/mds-button.js +75 -22
  130. package/dist/collection/components/mds-button/pattern.md +27 -1
  131. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  133. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  134. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  136. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  137. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  139. package/dist/collection/components/mds-calendar/mds-calendar.js +4 -4
  140. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  141. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  142. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  143. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-card/documentation.json +1 -1
  145. package/dist/collection/components/mds-card/mds-card.js +1 -1
  146. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  147. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  148. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  149. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  151. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  152. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  154. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  155. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  156. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  157. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  158. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  159. package/dist/collection/components/mds-chip/documentation.json +1 -1
  160. package/dist/collection/components/mds-chip/mds-chip.js +2 -2
  161. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  162. package/dist/collection/components/mds-details/documentation.json +1 -1
  163. package/dist/collection/components/mds-details/mds-details.js +1 -1
  164. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  165. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  166. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  167. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  169. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  170. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  171. package/dist/collection/components/mds-entity/documentation.json +1 -1
  172. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  173. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  174. package/dist/collection/components/mds-file/documentation.json +1 -1
  175. package/dist/collection/components/mds-file/mds-file.js +1 -1
  176. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  178. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  179. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-filter/documentation.json +1 -1
  181. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  182. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  183. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  184. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  185. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  186. package/dist/collection/components/mds-header/documentation.json +1 -1
  187. package/dist/collection/components/mds-header/mds-header.js +1 -1
  188. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  189. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  190. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  191. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  192. package/dist/collection/components/mds-help/documentation.json +1 -1
  193. package/dist/collection/components/mds-help/mds-help.js +1 -1
  194. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  195. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  196. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  197. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  198. package/dist/collection/components/mds-hr/documentation.json +1 -1
  199. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  200. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-icon/documentation.json +1 -1
  202. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  203. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-img/documentation.json +1 -1
  205. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  206. package/dist/collection/components/mds-input/documentation.json +1 -1
  207. package/dist/collection/components/mds-input/mds-input.js +2 -2
  208. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  209. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  210. package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
  211. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  212. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  213. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  214. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  215. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  216. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  218. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  219. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  220. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  221. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  222. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  223. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  224. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  225. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  226. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  227. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  228. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  229. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  230. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  231. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  232. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  233. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  234. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  235. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  236. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  237. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  238. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  239. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  240. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  242. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  243. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  245. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  246. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  248. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  249. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  250. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  251. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  252. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  253. package/dist/collection/components/mds-label/documentation.json +1 -1
  254. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  255. package/dist/collection/components/mds-list/documentation.json +1 -1
  256. package/dist/collection/components/mds-list/mds-list.js +1 -1
  257. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  258. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  259. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  260. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-mention/documentation.json +1 -1
  262. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  263. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  264. package/dist/collection/components/mds-modal/documentation.json +1 -1
  265. package/dist/collection/components/mds-modal/mds-modal.js +3 -3
  266. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-note/documentation.json +1 -1
  268. package/dist/collection/components/mds-note/mds-note.js +1 -1
  269. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  270. package/dist/collection/components/mds-notification/documentation.json +1 -1
  271. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  272. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  274. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  275. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  276. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  277. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  278. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  279. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  280. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  281. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  282. package/dist/collection/components/mds-pref/documentation.json +1 -1
  283. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  284. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  286. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  287. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  288. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  289. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  290. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  291. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  292. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  293. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  294. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  295. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  296. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  297. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  298. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  299. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  300. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  301. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +2 -2
  302. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  303. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  304. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  305. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  306. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  307. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  308. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  309. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  310. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  311. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  312. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  313. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  314. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  315. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  316. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  317. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  318. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  319. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  320. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  321. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  322. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  323. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  324. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  325. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  326. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  327. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  328. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  329. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  330. package/dist/collection/components/mds-progress/documentation.json +1 -1
  331. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  332. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  333. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  334. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  335. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  336. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  337. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  338. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  339. package/dist/collection/components/mds-quote/documentation.json +1 -1
  340. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  341. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  343. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  344. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  346. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  347. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  349. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  350. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-separator/documentation.json +1 -1
  352. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  353. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  355. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  356. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  358. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  359. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  361. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  362. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  363. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  364. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  365. package/dist/collection/components/mds-tab/AGENTS.md +5 -4
  366. package/dist/collection/components/mds-tab/antipattern.md +27 -0
  367. package/dist/collection/components/mds-tab/documentation.json +6 -6
  368. package/dist/collection/components/mds-tab/mds-tab.css +10 -1
  369. package/dist/collection/components/mds-tab/mds-tab.js +18 -4
  370. package/dist/collection/components/mds-tab/pattern.md +33 -1
  371. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  372. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  373. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  374. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  376. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  377. package/dist/collection/components/mds-tab-item/AGENTS.md +5 -4
  378. package/dist/collection/components/mds-tab-item/antipattern.md +22 -1
  379. package/dist/collection/components/mds-tab-item/documentation.json +5 -5
  380. package/dist/collection/components/mds-tab-item/mds-tab-item.js +15 -3
  381. package/dist/collection/components/mds-tab-item/pattern.md +25 -7
  382. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  383. package/dist/collection/components/mds-table/documentation.json +1 -1
  384. package/dist/collection/components/mds-table/mds-table.js +1 -1
  385. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  386. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  387. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  388. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  389. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  390. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  391. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  392. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  393. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  394. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  395. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  396. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  397. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  398. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  399. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  400. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  401. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  402. package/dist/collection/components/mds-table-row/mds-table-row.js +22 -16
  403. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  404. package/dist/collection/components/mds-text/documentation.json +1 -1
  405. package/dist/collection/components/mds-text/mds-text.js +1 -1
  406. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  407. package/dist/collection/components/mds-toast/documentation.json +1 -1
  408. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  409. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  410. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  411. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  412. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  413. package/dist/collection/components/mds-tree/documentation.json +1 -1
  414. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  415. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  416. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  417. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  418. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  419. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  420. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  421. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  422. package/dist/collection/components/mds-usage/documentation.json +1 -1
  423. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  424. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  425. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  426. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  427. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-zero/documentation.json +1 -1
  429. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  430. package/dist/collection/index.js +11 -4
  431. package/dist/components/index.js +1 -1
  432. package/dist/components/mds-accordion-item.js +1 -1
  433. package/dist/components/mds-accordion-timer-item.js +1 -1
  434. package/dist/components/mds-avatar-stack-item.js +1 -1
  435. package/dist/components/mds-avatar-stack.js +1 -1
  436. package/dist/components/mds-avatar.js +1 -1
  437. package/dist/components/mds-badge.js +1 -1
  438. package/dist/components/mds-banner.js +1 -1
  439. package/dist/components/mds-benchmark-bar.js +1 -1
  440. package/dist/components/mds-bibliography.js +1 -1
  441. package/dist/components/mds-breadcrumb-item.js +1 -1
  442. package/dist/components/mds-breadcrumb.js +1 -1
  443. package/dist/components/mds-button-dropdown.js +1 -1
  444. package/dist/components/mds-button-group.js +1 -1
  445. package/dist/components/mds-button.js +1 -1
  446. package/dist/components/mds-calendar-cell.js +1 -1
  447. package/dist/components/mds-calendar.js +1 -1
  448. package/dist/components/mds-card-content.js +1 -1
  449. package/dist/components/mds-card-footer.js +1 -1
  450. package/dist/components/mds-card-header.js +1 -1
  451. package/dist/components/mds-card-media.js +1 -1
  452. package/dist/components/mds-card.js +1 -1
  453. package/dist/components/mds-chip.js +1 -1
  454. package/dist/components/mds-details.js +1 -1
  455. package/dist/components/mds-dropdown.js +1 -1
  456. package/dist/components/mds-emoji.js +1 -1
  457. package/dist/components/mds-entity.js +1 -1
  458. package/dist/components/mds-file-preview.js +1 -1
  459. package/dist/components/mds-file.js +3 -3
  460. package/dist/components/mds-filter-item.js +1 -1
  461. package/dist/components/mds-filter.js +1 -1
  462. package/dist/components/mds-header-bar.js +1 -1
  463. package/dist/components/mds-header.js +1 -1
  464. package/dist/components/mds-help.js +1 -1
  465. package/dist/components/mds-horizontal-scroll.js +1 -1
  466. package/dist/components/mds-hr.js +1 -1
  467. package/dist/components/mds-icon.js +1 -1
  468. package/dist/components/mds-img.js +1 -1
  469. package/dist/components/mds-input-date-range-preselection.js +1 -1
  470. package/dist/components/mds-input-date-range.js +1 -1
  471. package/dist/components/mds-input-date.js +1 -1
  472. package/dist/components/mds-input-field.js +1 -1
  473. package/dist/components/mds-input-otp.js +1 -1
  474. package/dist/components/mds-input-range.js +1 -1
  475. package/dist/components/mds-input-select.js +1 -1
  476. package/dist/components/mds-input-switch.js +1 -1
  477. package/dist/components/mds-input-tip-item.js +1 -1
  478. package/dist/components/mds-input-tip.js +1 -1
  479. package/dist/components/mds-input-upload.js +1 -1
  480. package/dist/components/mds-input.js +1 -1
  481. package/dist/components/mds-keyboard-key.js +1 -1
  482. package/dist/components/mds-keyboard.js +1 -1
  483. package/dist/components/mds-kpi-item.js +1 -1
  484. package/dist/components/mds-kpi.js +1 -1
  485. package/dist/components/mds-label.js +1 -1
  486. package/dist/components/mds-list-item.js +1 -1
  487. package/dist/components/mds-list.js +1 -1
  488. package/dist/components/mds-mention.js +1 -1
  489. package/dist/components/mds-modal.js +1 -1
  490. package/dist/components/mds-note.js +1 -1
  491. package/dist/components/mds-notification.js +1 -1
  492. package/dist/components/mds-paginator-item.js +1 -1
  493. package/dist/components/mds-paginator.js +1 -1
  494. package/dist/components/mds-policy-ai.js +1 -1
  495. package/dist/components/mds-pref-animation.js +1 -1
  496. package/dist/components/mds-pref-consumption.js +1 -1
  497. package/dist/components/mds-pref-contrast.js +1 -1
  498. package/dist/components/mds-pref-language-item.js +1 -1
  499. package/dist/components/mds-pref-language.js +1 -1
  500. package/dist/components/mds-pref-mode.js +1 -1
  501. package/dist/components/mds-pref-theme-item.js +1 -1
  502. package/dist/components/mds-pref-theme.js +1 -1
  503. package/dist/components/mds-pref.js +1 -1
  504. package/dist/components/mds-price-table-features-cell.js +1 -1
  505. package/dist/components/mds-price-table-features-row.js +1 -1
  506. package/dist/components/mds-price-table-features.js +1 -1
  507. package/dist/components/mds-price-table-header.js +1 -1
  508. package/dist/components/mds-price-table-list-item.js +1 -1
  509. package/dist/components/mds-price-table-list.js +1 -1
  510. package/dist/components/mds-price-table.js +1 -1
  511. package/dist/components/mds-progress.js +1 -1
  512. package/dist/components/mds-push-notification-item.js +1 -1
  513. package/dist/components/mds-push-notification.js +1 -1
  514. package/dist/components/mds-quote.js +1 -1
  515. package/dist/components/mds-radial-menu-item.js +1 -1
  516. package/dist/components/mds-radial-menu.js +1 -1
  517. package/dist/components/mds-radial-progress.js +1 -1
  518. package/dist/components/mds-separator.js +1 -1
  519. package/dist/components/mds-spinner.js +1 -1
  520. package/dist/components/mds-status-bar.js +1 -1
  521. package/dist/components/mds-stepper-bar-item.js +1 -1
  522. package/dist/components/mds-stepper-bar.js +1 -1
  523. package/dist/components/mds-tab-bar-item.js +1 -1
  524. package/dist/components/mds-tab-bar.js +1 -1
  525. package/dist/components/mds-tab-item.js +1 -1
  526. package/dist/components/mds-tab.js +1 -1
  527. package/dist/components/mds-table-body.js +1 -1
  528. package/dist/components/mds-table-cell.js +1 -1
  529. package/dist/components/mds-table-footer.js +1 -1
  530. package/dist/components/mds-table-header-cell.js +1 -1
  531. package/dist/components/mds-table-header.js +1 -1
  532. package/dist/components/mds-table-row.js +1 -1
  533. package/dist/components/mds-table.js +1 -1
  534. package/dist/components/mds-text.js +1 -1
  535. package/dist/components/mds-toast.js +1 -1
  536. package/dist/components/mds-tooltip.js +1 -1
  537. package/dist/components/mds-tree-item.js +1 -1
  538. package/dist/components/mds-tree.js +1 -1
  539. package/dist/components/mds-url-view.js +1 -1
  540. package/dist/components/mds-usage.js +1 -1
  541. package/dist/components/mds-video-wall.js +1 -1
  542. package/dist/components/mds-zero.js +1 -1
  543. package/dist/components/{p-Dpf8NWF9.js → p-B3Z2Goa-.js} +1 -1
  544. package/dist/components/p-B3dWp2vS.js +1 -0
  545. package/dist/components/p-B6FOPjps.js +1 -0
  546. package/dist/components/{p-CIcshx6K.js → p-B7CR1EtF.js} +1 -1
  547. package/dist/components/{p-C3Sn8bRc.js → p-BBPQjm8h.js} +1 -1
  548. package/dist/components/{p-CsL9U6eU.js → p-BCiJ4PRD.js} +1 -1
  549. package/dist/components/p-BHJDW5JC.js +1 -0
  550. package/dist/components/p-BSs0SO-j.js +1 -0
  551. package/dist/components/{p-DR46G4-6.js → p-BY6Qu1V4.js} +1 -1
  552. package/dist/components/{p-CmHMhHMt.js → p-BhmePCyA.js} +1 -1
  553. package/dist/components/{p-DwA-5c8G.js → p-BpGzrg1C.js} +1 -1
  554. package/dist/components/{p-DmPLOktp.js → p-Bv2IVRzI.js} +1 -1
  555. package/dist/components/{p-CGkSDkOY.js → p-C-J9fW51.js} +1 -1
  556. package/dist/components/{p-BW24ByN-.js → p-C7EyV0z3.js} +1 -1
  557. package/dist/components/{p-akEzGmDD.js → p-CAa2kI72.js} +1 -1
  558. package/dist/components/{p-BVw5aqzn.js → p-CBV19-8O.js} +1 -1
  559. package/dist/components/{p-B05zwjTY.js → p-CCv9tBZK.js} +1 -1
  560. package/dist/components/{p-Cyj1BFxx.js → p-CDf607TB.js} +1 -1
  561. package/dist/components/{p-x_c_51aL.js → p-CEMAGNly.js} +1 -1
  562. package/dist/components/{p-BWpSxp3h.js → p-CGYDZBMv.js} +1 -1
  563. package/dist/components/{p-DebgFlHq.js → p-CHAvkoj3.js} +1 -1
  564. package/dist/components/{p-BzvYQBdf.js → p-CMFUEkte.js} +1 -1
  565. package/dist/components/p-CR2GGKXK.js +1 -0
  566. package/dist/components/{p-1aH7xiMs.js → p-Cb5kuO7B.js} +1 -1
  567. package/dist/components/{p-BOu_NOgd.js → p-CiNNzAa3.js} +1 -1
  568. package/dist/components/{p-BXPIlPIF.js → p-DGDdPv_Y.js} +1 -1
  569. package/dist/components/{p-Cnt6G6GK.js → p-D_wD-Pyk.js} +1 -1
  570. package/dist/components/{p-K3QNYRhf.js → p-HR2JwDjG.js} +1 -1
  571. package/dist/components/{p-Dws02cT2.js → p-LE7qQIFR.js} +2 -2
  572. package/dist/components/{p-bDVBqkn0.js → p-vgIKH234.js} +1 -1
  573. package/dist/documentation.json +14 -14
  574. package/dist/esm/index.js +62 -1
  575. package/dist/esm/loader.js +1 -1
  576. package/dist/esm/magma-components.js +1 -1
  577. package/dist/esm/mds-banner_3.entry.js +3 -3
  578. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  579. package/dist/esm/mds-button-group.entry.js +1 -1
  580. package/dist/esm/mds-button_3.entry.js +77 -25
  581. package/dist/esm/mds-calendar_2.entry.js +5 -5
  582. package/dist/esm/mds-card-content.entry.js +1 -1
  583. package/dist/esm/mds-card-footer.entry.js +1 -1
  584. package/dist/esm/mds-card-header.entry.js +1 -1
  585. package/dist/esm/mds-card-media.entry.js +1 -1
  586. package/dist/esm/mds-card.entry.js +1 -1
  587. package/dist/esm/mds-details.entry.js +1 -1
  588. package/dist/esm/mds-dropdown.entry.js +2 -2
  589. package/dist/esm/mds-emoji.entry.js +1 -1
  590. package/dist/esm/mds-entity.entry.js +1 -1
  591. package/dist/esm/mds-file-preview.entry.js +2 -2
  592. package/dist/esm/mds-file.entry.js +1 -1
  593. package/dist/esm/mds-filter-item.entry.js +1 -1
  594. package/dist/esm/mds-filter.entry.js +1 -1
  595. package/dist/esm/mds-header-bar.entry.js +1 -1
  596. package/dist/esm/mds-header.entry.js +1 -1
  597. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  598. package/dist/esm/mds-hr.entry.js +1 -1
  599. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  600. package/dist/esm/mds-input-date.entry.js +2 -2
  601. package/dist/esm/mds-input-field.entry.js +1 -1
  602. package/dist/esm/mds-input-otp.entry.js +1 -1
  603. package/dist/esm/mds-input-range.entry.js +1 -1
  604. package/dist/esm/mds-input-select.entry.js +2 -2
  605. package/dist/esm/mds-input-switch_2.entry.js +2 -2
  606. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  607. package/dist/esm/mds-input-upload.entry.js +5 -5
  608. package/dist/esm/mds-input.entry.js +2 -2
  609. package/dist/esm/mds-keyboard-key.entry.js +1 -1
  610. package/dist/esm/mds-keyboard.entry.js +1 -1
  611. package/dist/esm/mds-kpi-item.entry.js +1 -1
  612. package/dist/esm/mds-kpi.entry.js +1 -1
  613. package/dist/esm/mds-list-item.entry.js +1 -1
  614. package/dist/esm/mds-list.entry.js +1 -1
  615. package/dist/esm/mds-mention.entry.js +1 -1
  616. package/dist/esm/mds-modal.entry.js +3 -3
  617. package/dist/esm/mds-note.entry.js +1 -1
  618. package/dist/esm/mds-notification.entry.js +1 -1
  619. package/dist/esm/mds-paginator-item.entry.js +1 -1
  620. package/dist/esm/mds-paginator.entry.js +1 -1
  621. package/dist/esm/mds-policy-ai.entry.js +1 -1
  622. package/dist/esm/mds-pref-animation.entry.js +1 -1
  623. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  624. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  625. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  626. package/dist/esm/mds-pref-language.entry.js +1 -1
  627. package/dist/esm/mds-pref-mode.entry.js +2 -2
  628. package/dist/esm/mds-pref-theme-item.entry.js +1 -1
  629. package/dist/esm/mds-pref-theme.entry.js +1 -1
  630. package/dist/esm/mds-pref.entry.js +1 -1
  631. package/dist/esm/mds-price-table-features-cell.entry.js +1 -1
  632. package/dist/esm/mds-price-table-features-row.entry.js +1 -1
  633. package/dist/esm/mds-price-table-features.entry.js +1 -1
  634. package/dist/esm/mds-price-table-header.entry.js +1 -1
  635. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  636. package/dist/esm/mds-price-table-list.entry.js +1 -1
  637. package/dist/esm/mds-price-table.entry.js +1 -1
  638. package/dist/esm/mds-progress_2.entry.js +2 -2
  639. package/dist/esm/mds-push-notification-item.entry.js +2 -2
  640. package/dist/esm/mds-push-notification.entry.js +1 -1
  641. package/dist/esm/mds-quote.entry.js +1 -1
  642. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  643. package/dist/esm/mds-radial-menu.entry.js +1 -1
  644. package/dist/esm/mds-separator.entry.js +1 -1
  645. package/dist/esm/mds-status-bar.entry.js +1 -1
  646. package/dist/esm/mds-stepper-bar-item.entry.js +1 -1
  647. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  648. package/dist/esm/mds-tab-bar-item.entry.js +1 -1
  649. package/dist/esm/mds-tab-bar.entry.js +1 -1
  650. package/dist/esm/mds-tab_2.entry.js +27 -5
  651. package/dist/esm/mds-table-body.entry.js +1 -1
  652. package/dist/esm/mds-table-footer.entry.js +1 -1
  653. package/dist/esm/mds-table-header-cell.entry.js +1 -1
  654. package/dist/esm/mds-table-header.entry.js +1 -1
  655. package/dist/esm/mds-table-row.entry.js +22 -16
  656. package/dist/esm/mds-table.entry.js +1 -1
  657. package/dist/esm/mds-text.entry.js +1 -1
  658. package/dist/esm/mds-toast.entry.js +1 -1
  659. package/dist/esm/mds-tooltip.entry.js +1 -1
  660. package/dist/esm/mds-tree-item.entry.js +1 -1
  661. package/dist/esm/mds-tree.entry.js +1 -1
  662. package/dist/esm/mds-url-view.entry.js +1 -1
  663. package/dist/esm/mds-usage.entry.js +1 -1
  664. package/dist/esm/mds-video-wall.entry.js +1 -1
  665. package/dist/esm/mds-zero.entry.js +1 -1
  666. package/dist/esm-es5/index.js +37 -20
  667. package/dist/esm-es5/loader.js +1 -1
  668. package/dist/esm-es5/magma-components.js +1 -1
  669. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  670. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  671. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  672. package/dist/esm-es5/mds-button_3.entry.js +28 -6
  673. package/dist/esm-es5/mds-calendar_2.entry.js +2 -2
  674. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  675. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  676. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  677. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  678. package/dist/esm-es5/mds-card.entry.js +1 -1
  679. package/dist/esm-es5/mds-details.entry.js +1 -1
  680. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  681. package/dist/esm-es5/mds-emoji.entry.js +1 -1
  682. package/dist/esm-es5/mds-entity.entry.js +1 -1
  683. package/dist/esm-es5/mds-file-preview.entry.js +1 -1
  684. package/dist/esm-es5/mds-file.entry.js +1 -1
  685. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  686. package/dist/esm-es5/mds-filter.entry.js +1 -1
  687. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  688. package/dist/esm-es5/mds-header.entry.js +4 -4
  689. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  690. package/dist/esm-es5/mds-hr.entry.js +1 -1
  691. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  692. package/dist/esm-es5/mds-input-date.entry.js +2 -2
  693. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  694. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  695. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  696. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  697. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  698. package/dist/esm-es5/mds-input-tip_2.entry.js +2 -2
  699. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  700. package/dist/esm-es5/mds-input.entry.js +1 -1
  701. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  702. package/dist/esm-es5/mds-keyboard.entry.js +1 -1
  703. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  704. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  705. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  706. package/dist/esm-es5/mds-list.entry.js +1 -1
  707. package/dist/esm-es5/mds-mention.entry.js +1 -1
  708. package/dist/esm-es5/mds-modal.entry.js +1 -1
  709. package/dist/esm-es5/mds-note.entry.js +1 -1
  710. package/dist/esm-es5/mds-notification.entry.js +1 -1
  711. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  712. package/dist/esm-es5/mds-paginator.entry.js +1 -1
  713. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  714. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  715. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  716. package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
  717. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  718. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  719. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  720. package/dist/esm-es5/mds-pref-theme-item.entry.js +1 -1
  721. package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
  722. package/dist/esm-es5/mds-pref.entry.js +1 -1
  723. package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
  724. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  725. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  726. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  727. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  728. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  729. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  730. package/dist/esm-es5/mds-progress_2.entry.js +2 -2
  731. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  732. package/dist/esm-es5/mds-push-notification.entry.js +1 -1
  733. package/dist/esm-es5/mds-quote.entry.js +1 -1
  734. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  735. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  736. package/dist/esm-es5/mds-separator.entry.js +1 -1
  737. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  738. package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
  739. package/dist/esm-es5/mds-stepper-bar.entry.js +2 -2
  740. package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
  741. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  742. package/dist/esm-es5/mds-tab_2.entry.js +15 -4
  743. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  744. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  745. package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
  746. package/dist/esm-es5/mds-table-header.entry.js +4 -4
  747. package/dist/esm-es5/mds-table-row.entry.js +12 -4
  748. package/dist/esm-es5/mds-table.entry.js +2 -2
  749. package/dist/esm-es5/mds-text.entry.js +1 -1
  750. package/dist/esm-es5/mds-toast.entry.js +1 -1
  751. package/dist/esm-es5/mds-tooltip.entry.js +1 -1
  752. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  753. package/dist/esm-es5/mds-tree.entry.js +1 -1
  754. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  755. package/dist/esm-es5/mds-usage.entry.js +1 -1
  756. package/dist/esm-es5/mds-video-wall.entry.js +1 -1
  757. package/dist/esm-es5/mds-zero.entry.js +1 -1
  758. package/dist/hydrate/index.js +300 -155
  759. package/dist/hydrate/index.mjs +300 -155
  760. package/dist/magma-components/index.esm.js +1 -1
  761. package/dist/magma-components/magma-components.esm.js +1 -1
  762. package/dist/magma-components/{p-2723caa7.system.entry.js → p-019e8a95.system.entry.js} +2 -2
  763. package/dist/magma-components/{p-835fc007.entry.js → p-01dd1f55.entry.js} +1 -1
  764. package/dist/magma-components/{p-a64bbb36.system.entry.js → p-02119624.system.entry.js} +3 -3
  765. package/dist/magma-components/{p-d2f134ac.entry.js → p-02fc7592.entry.js} +1 -1
  766. package/dist/magma-components/{p-b295e4ab.system.entry.js → p-03cd0069.system.entry.js} +1 -1
  767. package/dist/magma-components/p-05fbca60.system.entry.js +37 -0
  768. package/dist/magma-components/{p-b431ca8a.entry.js → p-06d9af89.entry.js} +1 -1
  769. package/dist/magma-components/p-07e4701d.entry.js +1 -0
  770. package/dist/magma-components/{p-bab4c75e.system.entry.js → p-081a19b1.system.entry.js} +5 -5
  771. package/dist/magma-components/p-09d0b6a8.entry.js +1 -0
  772. package/dist/magma-components/{p-d282a929.entry.js → p-0b300de7.entry.js} +1 -1
  773. package/dist/magma-components/{p-0a551e86.entry.js → p-0d3c3de9.entry.js} +1 -1
  774. package/dist/magma-components/{p-3d56e3f4.entry.js → p-115a5e47.entry.js} +1 -1
  775. package/dist/magma-components/p-1314d80e.entry.js +1 -0
  776. package/dist/magma-components/{p-8aafbfdf.system.entry.js → p-133a6ffd.system.entry.js} +1 -1
  777. package/dist/magma-components/{p-0a904a12.entry.js → p-13db55de.entry.js} +1 -1
  778. package/dist/magma-components/{p-2c44c961.system.entry.js → p-1a2731ec.system.entry.js} +4 -4
  779. package/dist/magma-components/{p-5a911e7b.system.entry.js → p-1a602906.system.entry.js} +2 -2
  780. package/dist/magma-components/{p-ec9cc7b9.entry.js → p-1c975156.entry.js} +1 -1
  781. package/dist/magma-components/{p-3e0eed90.system.entry.js → p-1d154234.system.entry.js} +3 -3
  782. package/dist/magma-components/{p-d9804d2f.entry.js → p-1d9d7666.entry.js} +1 -1
  783. package/dist/magma-components/{p-ccb14076.system.entry.js → p-1ddaaa6d.system.entry.js} +1 -1
  784. package/dist/magma-components/{p-7afec7ee.entry.js → p-21aa0a74.entry.js} +1 -1
  785. package/dist/magma-components/{p-106f39c6.entry.js → p-2399b7e8.entry.js} +1 -1
  786. package/dist/magma-components/{p-92d9b537.entry.js → p-25407d89.entry.js} +1 -1
  787. package/dist/magma-components/{p-91ff1560.system.entry.js → p-27547a7a.system.entry.js} +2 -2
  788. package/dist/magma-components/{p-03c2060d.entry.js → p-289a874e.entry.js} +1 -1
  789. package/dist/magma-components/{p-77615947.system.entry.js → p-2be3bd23.system.entry.js} +1 -1
  790. package/dist/magma-components/{p-4dd6a39b.entry.js → p-2c586431.entry.js} +1 -1
  791. package/dist/magma-components/{p-832883c4.entry.js → p-2d324edc.entry.js} +1 -1
  792. package/dist/magma-components/{p-5c94e0c2.system.entry.js → p-2da2cdf3.system.entry.js} +2 -2
  793. package/dist/magma-components/{p-dcc3be64.system.entry.js → p-2e01e057.system.entry.js} +2 -2
  794. package/dist/magma-components/{p-2ec0db8e.entry.js → p-2e9b80e8.entry.js} +1 -1
  795. package/dist/magma-components/{p-493fb2f4.system.entry.js → p-32361702.system.entry.js} +1 -1
  796. package/dist/magma-components/{p-a7e7f2c0.entry.js → p-3448d0ce.entry.js} +1 -1
  797. package/dist/magma-components/{p-e1e69217.system.entry.js → p-367cee40.system.entry.js} +1 -1
  798. package/dist/magma-components/{p-f5bb8c0c.entry.js → p-3a1a6945.entry.js} +1 -1
  799. package/dist/magma-components/{p-915c5f06.system.entry.js → p-3a8870e4.system.entry.js} +1 -1
  800. package/dist/magma-components/{p-0255924b.system.entry.js → p-3b68fbcd.system.entry.js} +2 -2
  801. package/dist/magma-components/p-3f05ec8a.entry.js +1 -0
  802. package/dist/magma-components/{p-c22887f7.system.entry.js → p-4073c5f2.system.entry.js} +4 -4
  803. package/dist/magma-components/p-40bd2e6d.entry.js +1 -0
  804. package/dist/magma-components/{p-883c223a.system.entry.js → p-423597db.system.entry.js} +2 -2
  805. package/dist/magma-components/{p-58b82b40.system.entry.js → p-443c2a29.system.entry.js} +2 -2
  806. package/dist/magma-components/{p-52793bdb.system.entry.js → p-45a91f1c.system.entry.js} +1 -1
  807. package/dist/magma-components/{p-e887a14c.entry.js → p-487af9d3.entry.js} +1 -1
  808. package/dist/magma-components/{p-4658154f.entry.js → p-4909070e.entry.js} +1 -1
  809. package/dist/magma-components/{p-00e47e49.system.entry.js → p-4d966161.system.entry.js} +3 -3
  810. package/dist/magma-components/p-4ddf891e.system.entry.js +69 -0
  811. package/dist/magma-components/{p-dc59b764.entry.js → p-4e15cde7.entry.js} +1 -1
  812. package/dist/magma-components/{p-44e2a945.system.entry.js → p-4ffec31a.system.entry.js} +1 -1
  813. package/dist/magma-components/{p-ccb6898a.system.entry.js → p-50b266e9.system.entry.js} +1 -1
  814. package/dist/magma-components/{p-5a7267e8.system.entry.js → p-5165b09f.system.entry.js} +2 -2
  815. package/dist/magma-components/{p-7927010f.system.entry.js → p-544cc9c7.system.entry.js} +1 -1
  816. package/dist/magma-components/p-562bb482.system.entry.js +16 -0
  817. package/dist/magma-components/p-5ae5ec95.entry.js +1 -0
  818. package/dist/magma-components/{p-79421ee1.system.entry.js → p-5d2d8ffe.system.entry.js} +1 -1
  819. package/dist/magma-components/{p-4ac94b84.system.entry.js → p-5e180f53.system.entry.js} +1 -1
  820. package/dist/magma-components/{p-837fbbf7.system.entry.js → p-61ff1d85.system.entry.js} +1 -1
  821. package/dist/magma-components/{p-283b0548.system.entry.js → p-62b17608.system.entry.js} +2 -2
  822. package/dist/magma-components/{p-ecd3c27f.entry.js → p-63e7c98f.entry.js} +1 -1
  823. package/dist/magma-components/{p-bc53c19e.entry.js → p-6474c850.entry.js} +1 -1
  824. package/dist/magma-components/{p-20e4f7dd.system.entry.js → p-660657ac.system.entry.js} +3 -3
  825. package/dist/magma-components/{p-18c8628c.entry.js → p-66237a64.entry.js} +1 -1
  826. package/dist/magma-components/{p-0646392d.entry.js → p-6702e489.entry.js} +1 -1
  827. package/dist/magma-components/p-694ed534.entry.js +1 -0
  828. package/dist/magma-components/{p-88f99a4f.system.entry.js → p-6b446fd9.system.entry.js} +2 -2
  829. package/dist/magma-components/{p-10ad73e3.system.entry.js → p-6c414bc2.system.entry.js} +1 -1
  830. package/dist/magma-components/{p-6f74cdf5.system.entry.js → p-6cbd8a6d.system.entry.js} +3 -3
  831. package/dist/magma-components/{p-b24b5179.entry.js → p-6d0dc1fd.entry.js} +1 -1
  832. package/dist/magma-components/{p-1be45c75.entry.js → p-6f2471b1.entry.js} +1 -1
  833. package/dist/magma-components/{p-188f4b1d.system.entry.js → p-6fa03aab.system.entry.js} +1 -1
  834. package/dist/magma-components/{p-774ce1d2.entry.js → p-70141ccd.entry.js} +1 -1
  835. package/dist/magma-components/{p-8afc9bc4.system.entry.js → p-707d8626.system.entry.js} +1 -1
  836. package/dist/magma-components/{p-5fd04ce1.entry.js → p-71dafc3f.entry.js} +1 -1
  837. package/dist/magma-components/{p-ffa1a0b4.system.entry.js → p-726209f4.system.entry.js} +1 -1
  838. package/dist/magma-components/{p-a6af4083.system.entry.js → p-745ee76b.system.entry.js} +2 -2
  839. package/dist/magma-components/{p-d47df503.system.entry.js → p-761415b3.system.entry.js} +1 -1
  840. package/dist/magma-components/{p-dd58f9ee.entry.js → p-771720b7.entry.js} +1 -1
  841. package/dist/magma-components/{p-1e700f0a.entry.js → p-7a7c308b.entry.js} +1 -1
  842. package/dist/magma-components/{p-439c9ce3.system.entry.js → p-7bea6c05.system.entry.js} +1 -1
  843. package/dist/magma-components/{p-64f78149.system.entry.js → p-7c940015.system.entry.js} +1 -1
  844. package/dist/magma-components/{p-474c5d53.system.entry.js → p-7ca990d4.system.entry.js} +2 -2
  845. package/dist/magma-components/{p-de091be7.system.entry.js → p-7d6ca97d.system.entry.js} +1 -1
  846. package/dist/magma-components/{p-7e7cf986.system.entry.js → p-8097dfc8.system.entry.js} +1 -1
  847. package/dist/magma-components/{p-8183b7ed.entry.js → p-843ab1b4.entry.js} +1 -1
  848. package/dist/magma-components/{p-9dcfc247.entry.js → p-8765dc11.entry.js} +1 -1
  849. package/dist/magma-components/{p-218d8254.system.entry.js → p-876a5fb9.system.entry.js} +1 -1
  850. package/dist/magma-components/{p-aba96089.entry.js → p-8a838a1a.entry.js} +1 -1
  851. package/dist/magma-components/{p-35aa29c5.entry.js → p-8bcb2a5f.entry.js} +1 -1
  852. package/dist/magma-components/p-8c93550d.entry.js +1 -0
  853. package/dist/magma-components/{p-ac81f63a.system.entry.js → p-91451e37.system.entry.js} +1 -1
  854. package/dist/magma-components/{p-1e3d89cd.system.entry.js → p-91c8960a.system.entry.js} +1 -1
  855. package/dist/magma-components/{p-1673225e.system.entry.js → p-939da879.system.entry.js} +1 -1
  856. package/dist/magma-components/{p-15d4846d.entry.js → p-97bde480.entry.js} +1 -1
  857. package/dist/magma-components/{p-5d119459.entry.js → p-97d02403.entry.js} +1 -1
  858. package/dist/magma-components/{p-05014374.entry.js → p-983f3e40.entry.js} +1 -1
  859. package/dist/magma-components/{p-dfe8552c.system.entry.js → p-99227c78.system.entry.js} +1 -1
  860. package/dist/magma-components/{p-eb681207.system.entry.js → p-9a583f6b.system.entry.js} +1 -1
  861. package/dist/magma-components/{p-84645c60.system.entry.js → p-9a86e0ce.system.entry.js} +1 -1
  862. package/dist/magma-components/{p-6c800411.entry.js → p-9e5982b6.entry.js} +1 -1
  863. package/dist/magma-components/{p-021f96f8.entry.js → p-9eef2f79.entry.js} +1 -1
  864. package/dist/magma-components/{p-12c5ae26.entry.js → p-9fe7035a.entry.js} +1 -1
  865. package/dist/magma-components/p-CKfEQ187.system.js +107 -0
  866. package/dist/magma-components/p-ZDRIVCAt.system.js +1 -1
  867. package/dist/magma-components/{p-e2ef5996.entry.js → p-a0972ec9.entry.js} +1 -1
  868. package/dist/magma-components/{p-c34d9e61.system.entry.js → p-a0d9e01f.system.entry.js} +1 -1
  869. package/dist/magma-components/{p-632bc44c.entry.js → p-a1851e6f.entry.js} +1 -1
  870. package/dist/magma-components/{p-e213640b.entry.js → p-a1b5bd58.entry.js} +1 -1
  871. package/dist/magma-components/{p-83394280.system.entry.js → p-a2d9549d.system.entry.js} +1 -1
  872. package/dist/magma-components/{p-05f73994.entry.js → p-a5a13b20.entry.js} +1 -1
  873. package/dist/magma-components/{p-7e085c82.entry.js → p-a6a71c77.entry.js} +1 -1
  874. package/dist/magma-components/{p-c28fce23.entry.js → p-a96312c1.entry.js} +1 -1
  875. package/dist/magma-components/{p-eaff7300.entry.js → p-a9e4efa3.entry.js} +1 -1
  876. package/dist/magma-components/{p-ef3424e3.entry.js → p-aa0bd826.entry.js} +1 -1
  877. package/dist/magma-components/{p-231b604f.system.entry.js → p-aa74169f.system.entry.js} +1 -1
  878. package/dist/magma-components/{p-90993b0b.system.entry.js → p-ab4ffbd4.system.entry.js} +1 -1
  879. package/dist/magma-components/{p-a4a83a63.entry.js → p-ad09a06b.entry.js} +1 -1
  880. package/dist/magma-components/{p-34401d35.entry.js → p-ad9cb1f5.entry.js} +1 -1
  881. package/dist/magma-components/{p-c0136138.entry.js → p-afbef2fc.entry.js} +1 -1
  882. package/dist/magma-components/{p-3eefca33.system.entry.js → p-b183d698.system.entry.js} +2 -2
  883. package/dist/magma-components/{p-2507f5cf.entry.js → p-b49196da.entry.js} +1 -1
  884. package/dist/magma-components/{p-d1faf129.entry.js → p-b77a2832.entry.js} +1 -1
  885. package/dist/magma-components/{p-4c73f14b.system.entry.js → p-b925c109.system.entry.js} +2 -2
  886. package/dist/magma-components/{p-73fde271.system.entry.js → p-b9e3281a.system.entry.js} +5 -5
  887. package/dist/magma-components/p-bb0538b6.entry.js +1 -0
  888. package/dist/magma-components/{p-c48bad95.entry.js → p-bb055583.entry.js} +1 -1
  889. package/dist/magma-components/{p-7770b989.system.entry.js → p-bc6a41a9.system.entry.js} +1 -1
  890. package/dist/magma-components/{p-4cb88b06.system.entry.js → p-bd9324f3.system.entry.js} +1 -1
  891. package/dist/magma-components/{p-57762bae.entry.js → p-c48e3460.entry.js} +1 -1
  892. package/dist/magma-components/{p-d04ac65d.entry.js → p-c4beed1b.entry.js} +1 -1
  893. package/dist/magma-components/{p-7ab15184.entry.js → p-c4ccb710.entry.js} +1 -1
  894. package/dist/magma-components/{p-436f9b27.system.entry.js → p-c4e4ba90.system.entry.js} +7 -7
  895. package/dist/magma-components/{p-13a1d35f.entry.js → p-c573e136.entry.js} +1 -1
  896. package/dist/magma-components/{p-5f1132b8.entry.js → p-c5ad848f.entry.js} +1 -1
  897. package/dist/magma-components/{p-cc0c6ae7.entry.js → p-c6841b21.entry.js} +1 -1
  898. package/dist/magma-components/{p-21865dd2.entry.js → p-c89a44b2.entry.js} +1 -1
  899. package/dist/magma-components/{p-69c21eae.entry.js → p-c94575de.entry.js} +1 -1
  900. package/dist/magma-components/{p-3a1339bb.system.entry.js → p-cabe9133.system.entry.js} +2 -2
  901. package/dist/magma-components/p-cb571b55.system.entry.js +1 -0
  902. package/dist/magma-components/{p-8a3d2259.system.entry.js → p-cbc0f01f.system.entry.js} +2 -2
  903. package/dist/magma-components/{p-86f4b6eb.system.entry.js → p-cc1ee10a.system.entry.js} +1 -1
  904. package/dist/magma-components/{p-cc9d9458.entry.js → p-cd1dc29a.entry.js} +1 -1
  905. package/dist/magma-components/{p-4211ce6c.system.entry.js → p-cd5cf28b.system.entry.js} +1 -1
  906. package/dist/magma-components/{p-277444bc.entry.js → p-cd952369.entry.js} +1 -1
  907. package/dist/magma-components/{p-6e03b83a.entry.js → p-d35aebe5.entry.js} +1 -1
  908. package/dist/magma-components/{p-b626c69f.system.entry.js → p-d5e53364.system.entry.js} +1 -1
  909. package/dist/magma-components/{p-93d39066.entry.js → p-d74fa7af.entry.js} +1 -1
  910. package/dist/magma-components/{p-577db922.entry.js → p-d7515aae.entry.js} +1 -1
  911. package/dist/magma-components/{p-b2c62b6e.system.entry.js → p-d7a94afb.system.entry.js} +1 -1
  912. package/dist/magma-components/{p-6c18c40e.system.entry.js → p-d93c9a11.system.entry.js} +1 -1
  913. package/dist/magma-components/{p-314abfba.entry.js → p-d9fbbf3f.entry.js} +1 -1
  914. package/dist/magma-components/{p-88287207.system.entry.js → p-db492cf5.system.entry.js} +2 -2
  915. package/dist/magma-components/{p-a462aadd.entry.js → p-dc399372.entry.js} +1 -1
  916. package/dist/magma-components/{p-e8ed096b.entry.js → p-dcf841d5.entry.js} +1 -1
  917. package/dist/magma-components/{p-97f6166e.system.entry.js → p-dfb4a965.system.entry.js} +1 -1
  918. package/dist/magma-components/{p-b5559b28.system.entry.js → p-e1a91e9e.system.entry.js} +1 -1
  919. package/dist/magma-components/{p-474047fa.system.entry.js → p-e5438280.system.entry.js} +1 -1
  920. package/dist/magma-components/{p-6a6326c6.entry.js → p-e95f2a48.entry.js} +1 -1
  921. package/dist/magma-components/{p-7787ebaf.system.entry.js → p-eb113725.system.entry.js} +1 -1
  922. package/dist/magma-components/{p-36a67b51.entry.js → p-ec5eccbb.entry.js} +1 -1
  923. package/dist/magma-components/{p-cc2a09f2.system.entry.js → p-eea815ca.system.entry.js} +1 -1
  924. package/dist/magma-components/{p-f733ae92.system.entry.js → p-ef4cd904.system.entry.js} +2 -2
  925. package/dist/magma-components/{p-0141c597.system.entry.js → p-eff1fd6c.system.entry.js} +2 -2
  926. package/dist/magma-components/{p-faa1f22c.entry.js → p-eff38775.entry.js} +1 -1
  927. package/dist/magma-components/{p-9344a234.entry.js → p-f01874a8.entry.js} +1 -1
  928. package/dist/magma-components/p-f05d7005.entry.js +1 -0
  929. package/dist/magma-components/{p-f29a059d.system.entry.js → p-f0c67a70.system.entry.js} +2 -2
  930. package/dist/magma-components/{p-e7751639.entry.js → p-f215496c.entry.js} +1 -1
  931. package/dist/magma-components/{p-8d53bd61.system.entry.js → p-f28cfb33.system.entry.js} +2 -2
  932. package/dist/magma-components/{p-6fdb3fe7.system.entry.js → p-f3dbebdd.system.entry.js} +1 -1
  933. package/dist/magma-components/{p-0a38e4ce.system.entry.js → p-f65e29e0.system.entry.js} +1 -1
  934. package/dist/magma-components/{p-74b51db8.entry.js → p-f830793e.entry.js} +1 -1
  935. package/dist/magma-components/{p-5ccf493c.system.entry.js → p-f835c307.system.entry.js} +1 -1
  936. package/dist/magma-components/{p-50ea11c9.system.entry.js → p-f89c3a01.system.entry.js} +1 -1
  937. package/dist/magma-components/{p-ee1e7f07.system.entry.js → p-f8da21a1.system.entry.js} +1 -1
  938. package/dist/magma-components/{p-bf2fe278.system.entry.js → p-f97b4ff4.system.entry.js} +2 -2
  939. package/dist/magma-components/{p-2f520704.entry.js → p-fc8f8a0c.entry.js} +1 -1
  940. package/dist/magma-components/{p-76ecad2f.entry.js → p-fcaa5967.entry.js} +3 -3
  941. package/dist/magma-components/{p-6ff8be3e.system.entry.js → p-ff970859.system.entry.js} +1 -1
  942. package/dist/stats.json +797 -772
  943. package/dist/types/common/navigation.d.ts +32 -0
  944. package/dist/types/components/mds-button/mds-button.d.ts +23 -2
  945. package/dist/types/components/mds-tab/mds-tab.d.ts +6 -1
  946. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +6 -1
  947. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -2
  948. package/dist/types/components.d.ts +4 -4
  949. package/dist/types/index.d.ts +12 -4
  950. package/package.json +6 -6
  951. package/dist/components/p-CKS4r32k.js +0 -1
  952. package/dist/components/p-COkF_8bh.js +0 -1
  953. package/dist/components/p-DQqUzCGR.js +0 -1
  954. package/dist/components/p-DcW0iRnZ.js +0 -1
  955. package/dist/components/p-PQ_EO5-U.js +0 -1
  956. package/dist/magma-components/p-322a5452.entry.js +0 -1
  957. package/dist/magma-components/p-35ee2d77.entry.js +0 -1
  958. package/dist/magma-components/p-4e7f21ac.entry.js +0 -1
  959. package/dist/magma-components/p-514d0fcb.entry.js +0 -1
  960. package/dist/magma-components/p-5299f709.system.entry.js +0 -26
  961. package/dist/magma-components/p-60f67c37.entry.js +0 -1
  962. package/dist/magma-components/p-789c1b93.system.entry.js +0 -1
  963. package/dist/magma-components/p-8ccd187a.entry.js +0 -1
  964. package/dist/magma-components/p-D7BrzK-C.system.js +0 -90
  965. package/dist/magma-components/p-a41e52f7.entry.js +0 -1
  966. package/dist/magma-components/p-b897c97d.entry.js +0 -1
  967. package/dist/magma-components/p-c166ec50.system.entry.js +0 -47
  968. package/dist/magma-components/p-d07d227b.system.entry.js +0 -8
  969. package/dist/magma-components/p-d5bd6bef.entry.js +0 -1
  970. package/dist/magma-components/p-f654eafe.entry.js +0 -1
@@ -28,4 +28,4 @@ return I===ARRAY?L:I===OBJECT?{value:L[0],symbol:L[1],exponent:C,unit:z}:L.join(
28
28
  * Truncates the filename shown
29
29
  */this.truncate="word";this.getDefaultKeyDescription=function(){return getExtensionInfos(r.filename,r.suffix).description};this.onClickDeletedEvent=function(){r.deletedEvent.emit({target:r.host,filename:r.filename,extension:getSuffix(r.filename,r.suffix)})};this.onClickDownloadEvent=function(){r.downloadedEvent.emit({target:r.host,filename:r.filename,extension:getSuffix(r.filename,r.suffix)})}}e.prototype.componentWillLoad=function(){this.format=getExtensionInfos(this.filename,this.suffix).format};e.prototype.componentDidLoad=function(){this.handleDownloadable(this.downloadable)};e.prototype.handleFilename=function(e){this.format=getExtensionInfos(e,this.suffix).format};e.prototype.handleDownloadable=function(e,r){var a;if(e===r)return;var i=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".card");if(e){i===null||i===void 0?void 0:i.addEventListener("click",this.onClickDownloadEvent);return}i===null||i===void 0?void 0:i.removeEventListener("click",this.onClickDownloadEvent)};e.prototype.render=function(){var e,r,a,i,t,o,s;
30
30
  // a removed attribute or a null bound by a framework counts as not set, like an empty value
31
- var l=((e=this.message)!==null&&e!==void 0?e:"")!=="";return h(Host,{key:"4450e7351e840c4b0f7d72c9b1bc441d9087ad7e","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.deletable&&h("mds-button",{key:"8f1d4ced62f8c479a5e1c324b5ce940cf7aa2d84",title:this.t.get("remove"),class:"action-delete",icon:miBaselineCancel,variant:"light",onClick:this.onClickDeletedEvent}),h("div",{key:"45d38745f7466b0da5b8f2724879ef46d6826bfd",class:"card",part:"card",onClick:this.onClickDownloadEvent},((r=this.src)!==null&&r!==void 0?r:"")!==""&&!l&&getExtensionInfos(this.filename,this.suffix).preview?h("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):h("div",{class:clsx("preview",l?"preview--status":"preview--icon")},((a=this.icon)!==null&&a!==void 0?a:"")!==""?h("mds-icon",{class:"icon",name:this.icon}):h("mds-icon",{class:"icon",name:getFormatsVariant(this.filename,this.suffix).icon}),this.message&&h("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),h("mds-text",{key:"e87d673948267ccf70636d4c2940fb8885f2fb96",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),h("div",{key:"25e05eb7f5bef19a392b87401f2e780bd8e605cd",class:clsx("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&h("mds-text",{key:"cdd7ebbbc99f90caee0c49d74a4b8f4ce0769a2a",class:"file-size",truncate:"word",typography:"caption",variant:"info"},filesize(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&h("mds-text",{key:"381998bfae5b4d76fed78c70f38ef2aab5d13f9e",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),getSuffix(this.filename,this.suffix)&&h("mds-badge",{key:"89f980cf0ec10d220c83f5a6e8ded4a4d9491a0c",variant:getFormatsVariant(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:(i=this.description)!==null&&i!==void 0?i:this.t.get(this.getDefaultKeyDescription())},getSuffix(this.filename,this.suffix)),((t=this.filesize)!==null&&t!==void 0?t:"")===""&&h("mds-text",{key:"f29356eb97dbb5bc137d3d278176633ce938111f",class:"description",truncate:"word",typography:"caption",variant:"info",title:(o=this.description)!==null&&o!==void 0?o:this.t.get(this.getDefaultKeyDescription())},(s=this.description)!==null&&s!==void 0?s:this.t.get(this.getDefaultKeyDescription())))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{filename:[{handleFilename:0}],downloadable:[{handleDownloadable:0}]}},enumerable:false,configurable:true});return e}();MdsFilePreview.style=mdsFilePreviewCss();export{MdsFilePreview as mds_file_preview};
31
+ var l=((e=this.message)!==null&&e!==void 0?e:"")!=="";return h(Host,{key:"3dfcd0adebb194607f09059b859efc36c7f8c419","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.deletable&&h("mds-button",{key:"a9721af0da102784e72b248557d702a4911a3eee",title:this.t.get("remove"),class:"action-delete",icon:miBaselineCancel,variant:"light",onClick:this.onClickDeletedEvent}),h("div",{key:"abe1cc2fcfa71cdaaffc7b2412a05bbec4480072",class:"card",part:"card",onClick:this.onClickDownloadEvent},((r=this.src)!==null&&r!==void 0?r:"")!==""&&!l&&getExtensionInfos(this.filename,this.suffix).preview?h("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):h("div",{class:clsx("preview",l?"preview--status":"preview--icon")},((a=this.icon)!==null&&a!==void 0?a:"")!==""?h("mds-icon",{class:"icon",name:this.icon}):h("mds-icon",{class:"icon",name:getFormatsVariant(this.filename,this.suffix).icon}),this.message&&h("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),h("mds-text",{key:"da5cd27701dae36012571aec0b6ada348eab9d15",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),h("div",{key:"311f77393d21ecb12319b4964171855724b40315",class:clsx("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&h("mds-text",{key:"e11d7800b706b534e93aacbc6d2c7d943e772275",class:"file-size",truncate:"word",typography:"caption",variant:"info"},filesize(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&h("mds-text",{key:"6190d766cb15cf6d34446afeb7903da818bdf3c5",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),getSuffix(this.filename,this.suffix)&&h("mds-badge",{key:"ea11e936c57147b2f51f2057d55e8ba2cbe582d3",variant:getFormatsVariant(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:(i=this.description)!==null&&i!==void 0?i:this.t.get(this.getDefaultKeyDescription())},getSuffix(this.filename,this.suffix)),((t=this.filesize)!==null&&t!==void 0?t:"")===""&&h("mds-text",{key:"728174520eed258ee35da25ef9dc172b5388dbbb",class:"description",truncate:"word",typography:"caption",variant:"info",title:(o=this.description)!==null&&o!==void 0?o:this.t.get(this.getDefaultKeyDescription())},(s=this.description)!==null&&s!==void 0?s:this.t.get(this.getDefaultKeyDescription())))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{filename:[{handleFilename:0}],downloadable:[{handleDownloadable:0}]}},enumerable:false,configurable:true});return e}();MdsFilePreview.style=mdsFilePreviewCss();export{MdsFilePreview as mds_file_preview};
@@ -2835,4 +2835,4 @@ d(v,e,a)},encryptBlock:function(r,e){var a=f(v,r[e],r[e+1]);r[e]=a.left;r[e+1]=a
2835
2835
  r.exports=a(requireCore(),requireX64Core(),requireLibTypedarrays(),requireEncUtf16(),requireEncBase64(),requireEncBase64url(),requireMd5(),requireSha1(),requireSha256(),requireSha224(),requireSha512(),requireSha384(),requireSha3(),requireRipemd160(),requireHmac(),requirePbkdf2(),requireEvpkdf(),requireCipherCore(),requireModeCfb(),requireModeCtr(),requireModeCtrGladman(),requireModeOfb(),requireModeEcb(),requirePadAnsix923(),requirePadIso10126(),requirePadIso97971(),requirePadZeropadding(),requirePadNopadding(),requireFormatHex(),requireAes(),requireTripledes(),requireRc4(),requireRabbit(),requireRabbitLegacy(),requireBlowfish())}})(cryptoJs,(function(r){return r}))})(cryptoJs$1);return cryptoJs$1.exports}var cryptoJsExports=requireCryptoJs();var miBaselineFileDownloadDone='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 18h14v2H5v-2zm4.6-2.7L5 10.7l2-1.9l2.6 2.6L17 4l2 2l-9.4 9.3z"/></svg>';var miOutlineFileDownload='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4l-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59L7 11l5 5l5-5z"/></svg>';var alreadyDownloaded$3="Έχετε ήδη κατεβάσει αυτό το αρχείο";var localeEl={alreadyDownloaded:alreadyDownloaded$3};var alreadyDownloaded$2="You have already downloaded this file";var localeEn={alreadyDownloaded:alreadyDownloaded$2};var alreadyDownloaded$1="Ya has descargado este archivo";var localeEs={alreadyDownloaded:alreadyDownloaded$1};var alreadyDownloaded="Hai già scaricato questo file";var localeIt={alreadyDownloaded:alreadyDownloaded};var mdsFileCss=function(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-file-transition-duration:var(--duration-200,.2s);--private-file-transition-duration:var(--mds-file-transition-duration);--private-icon-download-offset:10%;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));-webkit-box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;cursor:pointer;display:inline-flex;overflow:hidden;-webkit-transition-duration:var(--private-file-transition-duration);transition-duration:var(--private-file-transition-duration);transition-property:box-shadow,outline,outline-offset;-webkit-transition-timing-function:var(--ease-out);transition-timing-function:var(--ease-out);width:100%}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){-webkit-box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px);box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px)}:host(:hover) .download-icon{opacity:1;transform:translateY(0)}:host(:hover) :is(.icon-preview,.image-preview){opacity:0;-webkit-transform:translateY(var(--private-icon-download-offset));transform:translateY(var(--private-icon-download-offset))}.download-icon{inset:0;opacity:0;position:absolute;-webkit-transform:translateY(calc(var(--private-icon-download-offset)*-1));transform:translateY(calc(var(--private-icon-download-offset)*-1));-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:opacity,transform;-webkit-transition-timing-function:inherit;transition-timing-function:inherit}.download-icon,.preview{align-items:center;display:flex;justify-content:center}.preview{background-color:var(--mds-file-preview-icon-background);color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));flex-shrink:0;position:relative;-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:color,background-color,fill;-webkit-transition-timing-function:var(--ease-in-out);transition-timing-function:var(--ease-in-out);width:calc(var(--spacing,.0025rem)*1400)}.image-preview{background-position:50%;background-repeat:no-repeat;background-size:contain;inset:calc(var(--spacing,.0025rem)*300);position:absolute}.icon-preview,.image-preview{-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:opacity,transform;-webkit-transition-timing-function:inherit;transition-timing-function:inherit}.info{flex-direction:column;flex-grow:1;gap:calc(var(--spacing,.0025rem)*100);height:calc(var(--spacing,.0025rem)*1400);justify-content:center;padding:0 calc(var(--spacing,.0025rem)*300)}.filename,.info{display:flex;min-width:0}.name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.extension{flex-shrink:0}.detail{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200);min-width:0}.suffix{flex-shrink:0;pointer-events:none}.description{color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.indicator{align-items:center;display:flex;justify-content:center;padding-right:calc(var(--spacing,.0025rem)*400)}.downloaded{display:flex;fill:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}.downloaded svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([format=archive]),:host([format=executable]){--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236))}:host([format=attachment]){--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:host([format=audio]),:host([format=video]){--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186))}:host([format=certificate]),:host([format=document]){--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219))}:host([format=email]),:host([format=text]){--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254))}:host([format=image]){--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221))}:host([format=slide]){--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242))}:host([format=spreadsheet]){--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178))}:host([format=vector]){--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-file-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host(:hover){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-contrast=more]):host(:hover){-webkit-box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6));box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-file-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host(:hover){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover){-webkit-box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6));box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"};var MdsFile=/** @class */function(){function r(r){var e=this;registerInstance(this,r);this.downloadedEvent=createEvent(this,"mdsFileDownload",7);this.t=new Locale({el:Object.assign(Object.assign({},localeEl),fileDescriptionLocaleEl),en:Object.assign(Object.assign({},localeEn),fileDescriptionLocaleEn),es:Object.assign(Object.assign({},localeEs),fileDescriptionLocaleEs),it:Object.assign(Object.assign({},localeIt),fileDescriptionLocaleIt)});this.wasDownloaded=false;
2836
2836
  /**
2837
2837
  * Hides the download icon
2838
- */this.hideDownloadedIcon=false;this.handleOnClick=function(){var r;var a=getExtensionInfos(e.filename,e.suffix),i=a.format,t=a.description;e.downloadedEvent.emit({description:(r=e.description)!==null&&r!==void 0?r:t,extension:getSuffix(e.filename,e.suffix),filename:e.filename,target:e.host,type:i});localStorage.setItem("mdsFile".concat(cryptoJsExports.MD5(e.filename).toString()),"downloaded");e.checkWasDownloaded()};this.checkWasDownloaded=function(){var r="mdsFile/".concat(cryptoJsExports.MD5(e.filename).toString());e.wasDownloaded=localStorage.getItem(r)==="downloaded"};this.getDefaultDescription=function(){return getExtensionInfos(e.filename,e.suffix).description}}r.prototype.componentWillLoad=function(){this.checkWasDownloaded();this.format=getExtensionInfos(this.filename,this.suffix).format};r.prototype.componentDidUpdate=function(){this.checkWasDownloaded()};r.prototype.handleFilename=function(r){this.format=getExtensionInfos(r,this.suffix).format};r.prototype.render=function(){var r,e;return h(Host,{key:"8a7d7748c23239b50d4c37d964f13063d5e49ec9",tabindex:"0",onClick:this.handleOnClick,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"76aba9185620945d48d49925ff541ba02cfc5589",class:"preview"},this.preview!==undefined?h("div",{class:"image-preview",style:{backgroundImage:"url(".concat(this.preview,")")}}):h("mds-icon",{class:"icon-preview",name:getFormatsVariant(this.filename,this.suffix).icon}),h("div",{key:"941e38b59816e8bc922df0100c9e6fb592b9a3a7",class:"download-icon"},h("mds-icon",{key:"2df4fee611dbe5c04d48db8cb076956c138caf41",name:miOutlineFileDownload}))),h("div",{key:"9f31aee487c2474fa4cdedf2a65537561e4f33dd",class:"info"},h("div",{key:"72d1936efbc18a2ffcd925455a92813d36473b04",class:"filename",title:this.filename},h("mds-text",{key:"f0cdbde4761e336443896b007370b8627cf7c13d",truncate:"word",typography:"h6",class:"name"},getName(this.filename)),this.suffix===undefined&&getSuffix(this.filename,this.suffix)&&h("mds-text",{key:"9f3a91dee2b7a74f53cb5b5c82cf6ee2907fae1c",typography:"h6",class:"extension"},".",getSuffix(this.filename,this.suffix))),h("div",{key:"88353b1eca9f70f9e8299033117f860f86887c37",class:"detail"},getSuffix(this.filename,this.suffix)&&h("mds-badge",{key:"0f39cadf78668484118351f4857efa3e8cace2fc",variant:getFormatsVariant(this.filename,this.suffix).variant,tone:"weak",class:"suffix"},getSuffix(this.filename,this.suffix)),h("mds-text",{key:"4c4416ff676f9a86187170f3e12d9f062d44459e",truncate:"word",typography:"caption",class:"description",title:(r=this.description)!==null&&r!==void 0?r:this.t.get(this.getDefaultDescription())},(e=this.description)!==null&&e!==void 0?e:this.t.get(this.getDefaultDescription())))),this.wasDownloaded&&!this.hideDownloadedIcon&&h("div",{key:"3228d642251f2232ab903ac1737ae464dac26618",class:"indicator"},h("i",{key:"3e0a2c984d07b53d3e26d73f22c3dfe6bad7d232",class:"downloaded",innerHTML:miBaselineFileDownloadDone,title:this.t.get("alreadyDownloaded")})))};Object.defineProperty(r.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{filename:[{handleFilename:0}]}},enumerable:false,configurable:true});return r}();MdsFile.style=mdsFileCss();export{MdsFile as mds_file};
2838
+ */this.hideDownloadedIcon=false;this.handleOnClick=function(){var r;var a=getExtensionInfos(e.filename,e.suffix),i=a.format,t=a.description;e.downloadedEvent.emit({description:(r=e.description)!==null&&r!==void 0?r:t,extension:getSuffix(e.filename,e.suffix),filename:e.filename,target:e.host,type:i});localStorage.setItem("mdsFile".concat(cryptoJsExports.MD5(e.filename).toString()),"downloaded");e.checkWasDownloaded()};this.checkWasDownloaded=function(){var r="mdsFile/".concat(cryptoJsExports.MD5(e.filename).toString());e.wasDownloaded=localStorage.getItem(r)==="downloaded"};this.getDefaultDescription=function(){return getExtensionInfos(e.filename,e.suffix).description}}r.prototype.componentWillLoad=function(){this.checkWasDownloaded();this.format=getExtensionInfos(this.filename,this.suffix).format};r.prototype.componentDidUpdate=function(){this.checkWasDownloaded()};r.prototype.handleFilename=function(r){this.format=getExtensionInfos(r,this.suffix).format};r.prototype.render=function(){var r,e;return h(Host,{key:"a7569beadc70ced9e083a67aa5ff922d5e6b6c9c",tabindex:"0",onClick:this.handleOnClick,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"b42ca35d33921685146aba9ce59459c190037fa9",class:"preview"},this.preview!==undefined?h("div",{class:"image-preview",style:{backgroundImage:"url(".concat(this.preview,")")}}):h("mds-icon",{class:"icon-preview",name:getFormatsVariant(this.filename,this.suffix).icon}),h("div",{key:"21c5746101264baf341b404204d418686beca118",class:"download-icon"},h("mds-icon",{key:"5e4742a3b0f572abc73d7647c12d421bbf9fa723",name:miOutlineFileDownload}))),h("div",{key:"79a99da7111321b1382f56cb4759b053c369c4ff",class:"info"},h("div",{key:"9d5033f9a25a606b9d4cc450d97ebe0ce1643dcd",class:"filename",title:this.filename},h("mds-text",{key:"7f1c204127cc3001944ffe49dd7aed44d042a83a",truncate:"word",typography:"h6",class:"name"},getName(this.filename)),this.suffix===undefined&&getSuffix(this.filename,this.suffix)&&h("mds-text",{key:"a971b52ac83f70070a889b140b431a31d60f9d37",typography:"h6",class:"extension"},".",getSuffix(this.filename,this.suffix))),h("div",{key:"0edb80fd5e9df3012f51200deb70add0d1bc7603",class:"detail"},getSuffix(this.filename,this.suffix)&&h("mds-badge",{key:"8bde2d5430dd23d473cb2ca5df3dea7d64949d9a",variant:getFormatsVariant(this.filename,this.suffix).variant,tone:"weak",class:"suffix"},getSuffix(this.filename,this.suffix)),h("mds-text",{key:"0cd357e7d7e8c447b2db492c28c0cf946b1f726f",truncate:"word",typography:"caption",class:"description",title:(r=this.description)!==null&&r!==void 0?r:this.t.get(this.getDefaultDescription())},(e=this.description)!==null&&e!==void 0?e:this.t.get(this.getDefaultDescription())))),this.wasDownloaded&&!this.hideDownloadedIcon&&h("div",{key:"7e63f04da4052566f6ccd67c7ed36aea9e9375f0",class:"indicator"},h("i",{key:"c8da7bf9bd7b970c966b5a922f2c736c44632751",class:"downloaded",innerHTML:miBaselineFileDownloadDone,title:this.t.get("alreadyDownloaded")})))};Object.defineProperty(r.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{filename:[{handleFilename:0}]}},enumerable:false,configurable:true});return r}();MdsFile.style=mdsFileCss();export{MdsFile as mds_file};
@@ -1 +1 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-BxPbQB28.js";import{K as KeyboardManager}from"./keyboard-manager-KRu9I7dw.js";import{p as preferenceStore}from"./preference-DNNqH7BU.js";var mdsFilterItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-filter-item-transition-duration:var(--duration-200,.2s);--private-filter-item-transition-duration:var(--mds-filter-item-transition-duration);--mds-filter-item-count-background-default:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-filter-item-count-color-default:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-filter-item-count-background-selected:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))));--mds-filter-item-count-color-selected:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));align-items:center;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-full,1000px);color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));cursor:pointer;display:flex;fill:currentColor;gap:calc(var(--spacing,.0025rem)*100);justify-content:center;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400);transition-duration:.2s;-webkit-transition-duration:var(--private-filter-item-transition-duration);transition-duration:var(--private-filter-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;-webkit-transition-timing-function:var(--ease-out);transition-timing-function:var(--ease-out);-webkit-user-select:none;user-select:none;white-space:nowrap}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}mds-text{white-space:nowrap}.count{align-items:center;background-color:var(--mds-filter-item-count-background-default,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));border-radius:var(--radius-lg,16px);box-sizing:border-box;color:var(--mds-filter-item-count-color-default,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));display:inline-flex;flex-shrink:0;height:calc(var(--spacing,.0025rem)*400);justify-content:center;min-width:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*150);padding-right:calc(var(--spacing,.0025rem)*150);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,color;-webkit-transition-timing-function:var(--ease-out);transition-timing-function:var(--ease-out);-webkit-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([icon]:not([label])){height:calc(var(--spacing,.0025rem)*900);padding:0;width:calc(var(--spacing,.0025rem)*900)}:host(:hover),:host([selected]:not([selected=false])){background-color:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))))}:host(:hover){-webkit-box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a)}:host([selected]:not([selected=false])){color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([selected]:not([selected=false])) .count{background-color:var(--mds-filter-item-count-background-selected,rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73)))));color:var(--mds-filter-item-count-color-selected,rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-filter-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host(:hover){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]):host(:hover),:host([pref-contrast=more]):host([selected]:not([selected=false])){-webkit-box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-filter-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host(:hover){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([selected]:not([selected=false])){-webkit-box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"};var MdsFilterItem=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsFilterItemSelect",7);this.km=new KeyboardManager;this.toggle=function(){e.selected=!e.selected;e.selectedEvent.emit({id:e.element.id,selected:e.selected})}}t.prototype.componentDidLoad=function(){this.km.addElement(this.element);this.km.attachClickBehavior()};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.render=function(){var t;return h(Host,{key:"b414304e07b227789ce90e77976eac4abef657a6",tabindex:this.disabled?"-1":"0",role:"menuitem","aria-label":(t=this.label)!==null&&t!==void 0?t:this.icon,onClick:this.toggle,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.icon&&h("mds-icon",{key:"174f79e3e370f8ab5eaadfd22f64112dfa5f5200","aria-hidden":"true",name:this.icon}),this.label&&h("mds-text",{key:"3fda1b2559590b815aa330e13a9b6d71dd211847","aria-hidden":"true",variant:"info",typography:"caption"},this.label),this.count&&h("div",{key:"d86b8709223e47ff87911ba8bebdb003c2b5ac7a",class:"count"},h("mds-text",{key:"4dc738ac6ae847ef8db8342680a0a637bb537fdc","aria-hidden":"true",variant:"info",typography:"option"},this.count)))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsFilterItem.style=mdsFilterItemCss();export{MdsFilterItem as mds_filter_item};
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-BxPbQB28.js";import{K as KeyboardManager}from"./keyboard-manager-KRu9I7dw.js";import{p as preferenceStore}from"./preference-DNNqH7BU.js";var mdsFilterItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-filter-item-transition-duration:var(--duration-200,.2s);--private-filter-item-transition-duration:var(--mds-filter-item-transition-duration);--mds-filter-item-count-background-default:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-filter-item-count-color-default:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-filter-item-count-background-selected:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))));--mds-filter-item-count-color-selected:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));align-items:center;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-full,1000px);color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));cursor:pointer;display:flex;fill:currentColor;gap:calc(var(--spacing,.0025rem)*100);justify-content:center;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400);transition-duration:.2s;-webkit-transition-duration:var(--private-filter-item-transition-duration);transition-duration:var(--private-filter-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;-webkit-transition-timing-function:var(--ease-out);transition-timing-function:var(--ease-out);-webkit-user-select:none;user-select:none;white-space:nowrap}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}mds-text{white-space:nowrap}.count{align-items:center;background-color:var(--mds-filter-item-count-background-default,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));border-radius:var(--radius-lg,16px);box-sizing:border-box;color:var(--mds-filter-item-count-color-default,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));display:inline-flex;flex-shrink:0;height:calc(var(--spacing,.0025rem)*400);justify-content:center;min-width:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*150);padding-right:calc(var(--spacing,.0025rem)*150);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,color;-webkit-transition-timing-function:var(--ease-out);transition-timing-function:var(--ease-out);-webkit-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([icon]:not([label])){height:calc(var(--spacing,.0025rem)*900);padding:0;width:calc(var(--spacing,.0025rem)*900)}:host(:hover),:host([selected]:not([selected=false])){background-color:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))))}:host(:hover){-webkit-box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a)}:host([selected]:not([selected=false])){color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([selected]:not([selected=false])) .count{background-color:var(--mds-filter-item-count-background-selected,rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73)))));color:var(--mds-filter-item-count-color-selected,rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-filter-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host(:hover){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]):host(:hover),:host([pref-contrast=more]):host([selected]:not([selected=false])){-webkit-box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-filter-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host(:hover){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([selected]:not([selected=false])){-webkit-box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"};var MdsFilterItem=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsFilterItemSelect",7);this.km=new KeyboardManager;this.toggle=function(){e.selected=!e.selected;e.selectedEvent.emit({id:e.element.id,selected:e.selected})}}t.prototype.componentDidLoad=function(){this.km.addElement(this.element);this.km.attachClickBehavior()};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.render=function(){var t;return h(Host,{key:"e0095f3607dde18236360b9ab24b32accb878740",tabindex:this.disabled?"-1":"0",role:"menuitem","aria-label":(t=this.label)!==null&&t!==void 0?t:this.icon,onClick:this.toggle,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.icon&&h("mds-icon",{key:"abcf112630159a5a88cb710cd0597ae498722efb","aria-hidden":"true",name:this.icon}),this.label&&h("mds-text",{key:"28cf85c91d976fb605373f795d23608711788bdb","aria-hidden":"true",variant:"info",typography:"caption"},this.label),this.count&&h("div",{key:"ac255ce9be868abd07f5d9164c4e38471928e911",class:"count"},h("mds-text",{key:"ef720718aec411e2a8f08d5ba4af51f630402645","aria-hidden":"true",variant:"info",typography:"option"},this.count)))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsFilterItem.style=mdsFilterItemCss();export{MdsFilterItem as mds_filter_item};
@@ -8,4 +8,4 @@ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from".
8
8
  * the distance of the filter from that ancestor, so the further right the
9
9
  * component sits the more the scroll overshoots, until it clamps at the end of
10
10
  * the strip and pushes the clicked item against the left edge.
11
- */this.scrollTabs=function(){var e;var r=t.queryItems();var a=r[t.lastSelectedItem];var i=(e=t.element.shadowRoot)===null||e===void 0?void 0:e.querySelector(".items");if(i&&a){var s=i.getBoundingClientRect();var n=a.getBoundingClientRect();i.scrollLeft+=n.left-s.left-(s.width-n.width)/2}};this.checkSelectedItem=function(){var e=t.queryItems();var r=false;e.forEach((function(e){if(e.selected){r=true}}));t.active=r};this.checkAutoReset=function(){if(!t.autoReset){return}t.resetItems()};this.resetItems=function(){var e=t.queryItems();e.forEach((function(e){e.selected=false;e.classList.remove("sibling")}));t.active=false};this.itemsValues=function(){var e=t.queryItems();var r=[];e.forEach((function(e){if(e.selected){r.push(e.value)}}));return r.toString()}}e.prototype.componentWillLoad=function(){var e=this.queryItems();e.forEach((function(e,t){e.id="item-".concat(t)}));this.checkSelectedItem()};e.prototype.activeEventHandler=function(e){this.lastSelectedItem=Number(e.detail.id!==""?e.detail.id.replace("item-",""):0);this.scrollTabs();var t=this.queryItems();if(this.multiple){var r=0;var a=[];t.forEach((function(e,t){a.push(e.selected?e:null);if(e.selected){r+=1}e.classList.remove("sibling");if(a.length>1&&a[t-1]!==null){e.classList.add("sibling")}}));this.itemsSelected=r;this.checkSelectedItem();if(this.itemsSelected===t.length){this.checkAutoReset()}this.changedEvent.emit({children:t,value:this.itemsValues()});return}t.forEach((function(t,r){t.selected="item-".concat(r)===e.detail.id&&e.detail.selected}));this.checkSelectedItem();this.changedEvent.emit({children:t,value:this.itemsValues()})};e.prototype.render=function(){return h(Host,{key:"bf4c9525009f41e5b50857c9ae35c00b4f145ceb","aria-label":this.label,role:"menubar","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.label&&h("mds-text",{key:"4f3df9955b59fd0080b168baf99065184338667c",class:"label",typography:"label"},this.label),h("div",{key:"1c12f342b6b09afbca43cb768e548a9d8959717c",class:"items-wrapper"},h("div",{key:"2b5574259fff9c9508802e4166942075ee842307",class:clsx("items",this.active&&"active")},h("slot",{key:"7fa6ec40c1a3d07c5493d2e397714c7990d623ba"}),h("div",{key:"cc1b6e75b68ebb52342fe0d4ac28dd588890f2d4",class:clsx("reset",this.active&&"reset--opened")},h("mds-filter-item",{key:"28c14d9d5c2c998f7605a5d773fe6fa22fe6d3e4",selected:this.active,disabled:!this.active&&this.reset,class:clsx("reset-button",this.active&&"reset-button-opened"),icon:miBaselineClose,onClick:this.resetItems})))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsFilter.style=mdsFilterCss();export{MdsFilter as mds_filter};
11
+ */this.scrollTabs=function(){var e;var r=t.queryItems();var a=r[t.lastSelectedItem];var i=(e=t.element.shadowRoot)===null||e===void 0?void 0:e.querySelector(".items");if(i&&a){var s=i.getBoundingClientRect();var n=a.getBoundingClientRect();i.scrollLeft+=n.left-s.left-(s.width-n.width)/2}};this.checkSelectedItem=function(){var e=t.queryItems();var r=false;e.forEach((function(e){if(e.selected){r=true}}));t.active=r};this.checkAutoReset=function(){if(!t.autoReset){return}t.resetItems()};this.resetItems=function(){var e=t.queryItems();e.forEach((function(e){e.selected=false;e.classList.remove("sibling")}));t.active=false};this.itemsValues=function(){var e=t.queryItems();var r=[];e.forEach((function(e){if(e.selected){r.push(e.value)}}));return r.toString()}}e.prototype.componentWillLoad=function(){var e=this.queryItems();e.forEach((function(e,t){e.id="item-".concat(t)}));this.checkSelectedItem()};e.prototype.activeEventHandler=function(e){this.lastSelectedItem=Number(e.detail.id!==""?e.detail.id.replace("item-",""):0);this.scrollTabs();var t=this.queryItems();if(this.multiple){var r=0;var a=[];t.forEach((function(e,t){a.push(e.selected?e:null);if(e.selected){r+=1}e.classList.remove("sibling");if(a.length>1&&a[t-1]!==null){e.classList.add("sibling")}}));this.itemsSelected=r;this.checkSelectedItem();if(this.itemsSelected===t.length){this.checkAutoReset()}this.changedEvent.emit({children:t,value:this.itemsValues()});return}t.forEach((function(t,r){t.selected="item-".concat(r)===e.detail.id&&e.detail.selected}));this.checkSelectedItem();this.changedEvent.emit({children:t,value:this.itemsValues()})};e.prototype.render=function(){return h(Host,{key:"f7272fd66e4e5da125840b6ec74f6aeb2c854470","aria-label":this.label,role:"menubar","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.label&&h("mds-text",{key:"5ada299850e7f46e357338b8762ffd14eaf91784",class:"label",typography:"label"},this.label),h("div",{key:"97d2193549bfd6dc37d6182626d79452bb0fb76e",class:"items-wrapper"},h("div",{key:"db941f2d23bc8685e03e76b80bedfbf6c2124e82",class:clsx("items",this.active&&"active")},h("slot",{key:"914d507af61d326a9d2bcc7030dc31efeb03e459"}),h("div",{key:"31704b2f44a7f8ad330021ac111dac0e64f131fe",class:clsx("reset",this.active&&"reset--opened")},h("mds-filter-item",{key:"c4dc236a8b1d8c7affb3870761cf6fe9c2e3a7bb",selected:this.active,disabled:!this.active&&this.reset,class:clsx("reset-button",this.active&&"reset-button-opened"),icon:miBaselineClose,onClick:this.resetItems})))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsFilter.style=mdsFilterCss();export{MdsFilter as mds_filter};
@@ -8,4 +8,4 @@ var __awaiter=this&&this.__awaiter||function(t,e,a,r){function n(t){return t ins
8
8
  /**
9
9
  * Opens or closes the header bar.
10
10
  * @param isOpened whether the header bar should be opened
11
- */t.prototype.setOpened=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=true}return __generator(this,(function(e){this.isOpened=t;return[2/*return*/]}))}))};t.prototype.render=function(){return h(Host,{key:"848abd1a4a640f8fc9bbadb08d518e0c064ba3f2","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"3bdc021363f378a22111db1e3d365ea0087e0de9",class:"content",part:"content"},h("div",{key:"fd4f5370797081384e1f9efa84ab47bea58195e4",class:"logo"},h("slot",{key:"d8b302d8f12877534561aea9b61d6059717c1fa3"})),h("div",{key:"86f582e0cf5c32a6d5861d2ab25c060f5324c038",class:"actions",part:"actions"},h("nav",{key:"8a99497aa17aacf29fefac4896dacbbf1f35fb08",class:clsx("nav",!this.hasNav&&"nav--hidden"),part:"nav"},h("slot",{key:"f5319e185992a842fcece1ae079dcdc94877acd6",name:"nav",onSlotchange:this.onNavSlotChange})),this.menu!=="none"&&h("mds-button",{key:"75d2a39af02589e860237823703b0da68b77ca56",class:"menu",variant:"dark",tone:"text",icon:miRoundMenu,onClick:this.open,part:"hamburger"}))))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsHeaderBar.style=mdsHeaderBarCss();export{MdsHeaderBar as mds_header_bar};
11
+ */t.prototype.setOpened=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=true}return __generator(this,(function(e){this.isOpened=t;return[2/*return*/]}))}))};t.prototype.render=function(){return h(Host,{key:"5ab62e4340b87f9ef4a8c8eeb90a002ec7a7a6f2","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"45ef11874d9836bcdf57767daf77a5547dcb04bd",class:"content",part:"content"},h("div",{key:"6fe2e58eddac17d5eec6c20b194e442cfc0193af",class:"logo"},h("slot",{key:"573994ad3d8585dcda59336ff50f26f1c8fc83ca"})),h("div",{key:"d24c19e82922d7ca9bd5066f1a43d50a55c097dc",class:"actions",part:"actions"},h("nav",{key:"65c3634aaff95f91b29264b2e2849fc5497ae6e8",class:clsx("nav",!this.hasNav&&"nav--hidden"),part:"nav"},h("slot",{key:"bb57216f622403bd0f10440c7168a8cd39643da2",name:"nav",onSlotchange:this.onNavSlotChange})),this.menu!=="none"&&h("mds-button",{key:"df0b387e2a4dd179a4ee1ea586bcc497d39802dc",class:"menu",variant:"dark",tone:"text",icon:miRoundMenu,onClick:this.open,part:"hamburger"}))))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsHeaderBar.style=mdsHeaderBarCss();export{MdsHeaderBar as mds_header_bar};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,a){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function d(e){try{s(a.next(e))}catch(e){n(e)}}function o(e){try{s(a["throw"](e))}catch(e){n(e)}}function s(e){e.done?r(e.value):i(e.value).then(d,o)}s((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,i,n,d=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return d.next=o(0),d["throw"]=o(1),d["return"]=o(2),typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function o(e){return function(t){return s([e,t])}}function s(o){if(a)throw new TypeError("Generator is already executing.");while(d&&(d=0,o[0]&&(r=0)),r)try{if(a=1,i&&(n=o[0]&2?i["return"]:o[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;if(i=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;i=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(o[0]===6&&r.label<n[1]){r.label=n[1];n=o;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(o);break}if(n[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];i=0}finally{a=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-BxPbQB28.js";import{a as queryChildBySlot}from"./slot-C0o_l0td.js";import{p as preferenceStore}from"./preference-DNNqH7BU.js";var mdsHeaderCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-modal:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-header-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-header-hidden-bar-translate-inline:translateY(-150%);--mds-header-hidden-bar-translate-stripe:translateY(-110%);--mds-header-icon-color:var(--mds-header-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));--mds-header-modal-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-header-backdrop-blur-strength:2px;--mds-header-backdrop-height:calc(var(--spacing,.0025rem)*1600);--mds-header-backdrop-show:true;--mds-header-z-index:var(--magma-header-z-index,1000);--mds-header-inline-margin-mobile:calc(var(--spacing,.0025rem)*400);--mds-header-inline-margin:calc(var(--spacing,.0025rem)*600);--mds-header-backdrop-background-image:linear-gradient(0deg,#0000,#00000026);--private-mask-opacity:1;color:var(--mds-header-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));display:block;fill:var(--mds-header-icon-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));position:relative;z-index:var(--mds-header-z-index)}.modal{--mds-modal-close-icon-color:var(--mds-header-modal-icon-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));z-index:var(--mds-header-z-index)}:host([appearance=inline]) ::slotted(mds-header-bar){--mds-header-inline-margin-current:var(--mds-header-inline-margin,calc(var(--spacing,.0025rem)*600));border-radius:var(--radius-lg,16px);margin-bottom:var(--mds-header-inline-margin-current);margin-top:var(--mds-header-inline-margin-current);max-width:var(--breakpoint-wide,1280px);width:calc(100% - var(--mds-header-inline-margin-current)*2)}:host([menu=none]) .menu{display:none}:host([visibility=hidden][appearance=stripe]) ::slotted(mds-header-bar){-webkit-transform:var(--mds-header-hidden-bar-translate-stripe);transform:var(--mds-header-hidden-bar-translate-stripe)}:host([visibility=hidden][appearance=inline]) ::slotted(mds-header-bar){-webkit-transform:var(--mds-header-hidden-bar-translate-inline);transform:var(--mds-header-hidden-bar-translate-inline)}.backdrop{align-items:center;-webkit-backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,10px));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,10px));background-image:var(--mds-header-backdrop-background-image);content:"";display:flex;height:var(--mds-header-backdrop-height,calc(var(--spacing,.0025rem)*1600));inset:0;opacity:1;position:fixed;transform:translate(0);transition-duration:.2s;transition-property:opacity,transform;width:100%}.backdrop-blur-item{--private-gradient-position:calc(100% - (sibling-count() - sibling-index())*5%);display:none}.backdrop-blur-item:first-child{--private-gradient-position:100%}.backdrop-blur-item:nth-child(2){--private-gradient-position:95%}.backdrop-blur-item:nth-child(3){--private-gradient-position:90%}.backdrop-blur-item:nth-child(4){--private-gradient-position:85%}.backdrop-blur-item:nth-child(5){--private-gradient-position:80%}.backdrop-blur-item:nth-child(6){--private-gradient-position:75%}.backdrop-blur-item:nth-child(7){--private-gradient-position:70%}.backdrop-blur-item:nth-child(8){--private-gradient-position:65%}.backdrop-blur-item:nth-child(9){--private-gradient-position:60%}.backdrop-blur-item:nth-child(10){--private-gradient-position:55%}.backdrop-blur-item:nth-child(11){--private-gradient-position:50%}@supports ((-webkit-mask-image:linear-gradient(rgb(0 0 0/1),transparent)) or (mask-image:linear-gradient(rgb(0 0 0/1),transparent))){.backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background-image:none}.backdrop-blur-item{-webkit-backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,1px));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,1px));display:flex;inset:0;-webkit-mask-image:-webkit-gradient(linear,left top,left bottom,color-stop(40%,rgb(0 0 0/var(--private-mask-opacity,1))),to(#0000));mask-image:-webkit-gradient(linear,left top,left bottom,color-stop(40%,rgb(0 0 0/var(--private-mask-opacity,1))),to(#0000));-webkit-mask-image:linear-gradient(to bottom,rgb(0 0 0/var(--private-mask-opacity,1)) 40%,#0000 var(--private-gradient-position,100%));mask-image:linear-gradient(to bottom,rgb(0 0 0/var(--private-mask-opacity,1)) 40%,#0000 var(--private-gradient-position,100%));pointer-events:none;position:absolute}}:host([appearance=inline]) .backdrop{transform:translate(0)}:host([appearance=stripe]) .backdrop,:host([visibility=hidden]) .backdrop{--mds-header-backdrop-blur-strength:0px;transform:translateY(-100%)}@container style(--mds-header-backdrop-show:false){.backdrop{display:none}}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-header-modal-icon-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-consumption=high]) .backdrop{--mds-header-backdrop-background-image:none}:host([pref-consumption=medium]) .backdrop{--mds-header-backdrop-blur-strength:1px}:host([pref-consumption=low]) .backdrop{--mds-header-backdrop-blur-strength:0px;display:none}@media (max-width:767px){:host([appearance=inline]) ::slotted(mds-header-bar){--mds-header-inline-margin-current:var(--mds-header-inline-margin-mobile,calc(var(--spacing,.0025rem)*400))}}@media not all and (min-width:768px){:host([menu=desktop]) .menu{display:none}}@media (min-width:1024px){:host([menu=mobile]) .menu{display:none}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-header-modal-icon-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'};var MdsHeader=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.closedEvent=createEvent(this,"mdsHeaderClose",7);this.visibleEvent=createEvent(this,"mdsHeaderVisibilityChange",7);this.relativeTresholdDown=0;this.relativePosition=0;this.relativeThresholdUp=0;this.sanitizedAppearance=["stripe"];this.appearanceThreshold=300;
1
+ var __awaiter=this&&this.__awaiter||function(e,t,a,r){function i(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function d(e){try{s(r.next(e))}catch(e){n(e)}}function o(e){try{s(r["throw"](e))}catch(e){n(e)}}function s(e){e.done?a(e.value):i(e.value).then(d,o)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,d=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return d.next=o(0),d["throw"]=o(1),d["return"]=o(2),typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function o(e){return function(t){return s([e,t])}}function s(o){if(r)throw new TypeError("Generator is already executing.");while(d&&(d=0,o[0]&&(a=0)),a)try{if(r=1,i&&(n=o[0]&2?i["return"]:o[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;if(i=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;i=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){a.label=o[1];break}if(o[0]===6&&a.label<n[1]){a.label=n[1];n=o;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(o);break}if(n[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];i=0}finally{r=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-BxPbQB28.js";import{a as queryChildBySlot}from"./slot-C0o_l0td.js";import{p as preferenceStore}from"./preference-DNNqH7BU.js";var mdsHeaderCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-modal:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-header-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-header-hidden-bar-translate-inline:translateY(-150%);--mds-header-hidden-bar-translate-stripe:translateY(-110%);--mds-header-icon-color:var(--mds-header-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));--mds-header-modal-icon-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-header-backdrop-blur-strength:2px;--mds-header-backdrop-height:calc(var(--spacing,.0025rem)*1600);--mds-header-backdrop-show:true;--mds-header-z-index:var(--magma-header-z-index,1000);--mds-header-inline-margin-mobile:calc(var(--spacing,.0025rem)*400);--mds-header-inline-margin:calc(var(--spacing,.0025rem)*600);--mds-header-backdrop-background-image:linear-gradient(0deg,#0000,#00000026);--private-mask-opacity:1;color:var(--mds-header-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));display:block;fill:var(--mds-header-icon-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));position:relative;z-index:var(--mds-header-z-index)}.modal{--mds-modal-close-icon-color:var(--mds-header-modal-icon-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));z-index:var(--mds-header-z-index)}:host([appearance=inline]) ::slotted(mds-header-bar){--mds-header-inline-margin-current:var(--mds-header-inline-margin,calc(var(--spacing,.0025rem)*600));border-radius:var(--radius-lg,16px);margin-bottom:var(--mds-header-inline-margin-current);margin-top:var(--mds-header-inline-margin-current);max-width:var(--breakpoint-wide,1280px);width:calc(100% - var(--mds-header-inline-margin-current)*2)}:host([menu=none]) .menu{display:none}:host([visibility=hidden][appearance=stripe]) ::slotted(mds-header-bar){-webkit-transform:var(--mds-header-hidden-bar-translate-stripe);transform:var(--mds-header-hidden-bar-translate-stripe)}:host([visibility=hidden][appearance=inline]) ::slotted(mds-header-bar){-webkit-transform:var(--mds-header-hidden-bar-translate-inline);transform:var(--mds-header-hidden-bar-translate-inline)}.backdrop{align-items:center;-webkit-backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,10px));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,10px));background-image:var(--mds-header-backdrop-background-image);content:"";display:flex;height:var(--mds-header-backdrop-height,calc(var(--spacing,.0025rem)*1600));inset:0;opacity:1;position:fixed;transform:translate(0);transition-duration:.2s;transition-property:opacity,transform;width:100%}.backdrop-blur-item{--private-gradient-position:calc(100% - (sibling-count() - sibling-index())*5%);display:none}.backdrop-blur-item:first-child{--private-gradient-position:100%}.backdrop-blur-item:nth-child(2){--private-gradient-position:95%}.backdrop-blur-item:nth-child(3){--private-gradient-position:90%}.backdrop-blur-item:nth-child(4){--private-gradient-position:85%}.backdrop-blur-item:nth-child(5){--private-gradient-position:80%}.backdrop-blur-item:nth-child(6){--private-gradient-position:75%}.backdrop-blur-item:nth-child(7){--private-gradient-position:70%}.backdrop-blur-item:nth-child(8){--private-gradient-position:65%}.backdrop-blur-item:nth-child(9){--private-gradient-position:60%}.backdrop-blur-item:nth-child(10){--private-gradient-position:55%}.backdrop-blur-item:nth-child(11){--private-gradient-position:50%}@supports ((-webkit-mask-image:linear-gradient(rgb(0 0 0/1),transparent)) or (mask-image:linear-gradient(rgb(0 0 0/1),transparent))){.backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background-image:none}.backdrop-blur-item{-webkit-backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,1px));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,1px));display:flex;inset:0;-webkit-mask-image:-webkit-gradient(linear,left top,left bottom,color-stop(40%,rgb(0 0 0/var(--private-mask-opacity,1))),to(#0000));mask-image:-webkit-gradient(linear,left top,left bottom,color-stop(40%,rgb(0 0 0/var(--private-mask-opacity,1))),to(#0000));-webkit-mask-image:linear-gradient(to bottom,rgb(0 0 0/var(--private-mask-opacity,1)) 40%,#0000 var(--private-gradient-position,100%));mask-image:linear-gradient(to bottom,rgb(0 0 0/var(--private-mask-opacity,1)) 40%,#0000 var(--private-gradient-position,100%));pointer-events:none;position:absolute}}:host([appearance=inline]) .backdrop{transform:translate(0)}:host([appearance=stripe]) .backdrop,:host([visibility=hidden]) .backdrop{--mds-header-backdrop-blur-strength:0px;transform:translateY(-100%)}@container style(--mds-header-backdrop-show:false){.backdrop{display:none}}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-header-modal-icon-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-consumption=high]) .backdrop{--mds-header-backdrop-background-image:none}:host([pref-consumption=medium]) .backdrop{--mds-header-backdrop-blur-strength:1px}:host([pref-consumption=low]) .backdrop{--mds-header-backdrop-blur-strength:0px;display:none}@media (max-width:767px){:host([appearance=inline]) ::slotted(mds-header-bar){--mds-header-inline-margin-current:var(--mds-header-inline-margin-mobile,calc(var(--spacing,.0025rem)*400))}}@media not all and (min-width:768px){:host([menu=desktop]) .menu{display:none}}@media (min-width:1024px){:host([menu=mobile]) .menu{display:none}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-header-modal-icon-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'};var MdsHeader=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.closedEvent=createEvent(this,"mdsHeaderClose",7);this.visibleEvent=createEvent(this,"mdsHeaderVisibilityChange",7);this.relativeTresholdDown=0;this.relativePosition=0;this.relativeThresholdUp=0;this.sanitizedAppearance=["stripe"];this.appearanceThreshold=300;
2
2
  /**
3
3
  * Sets the appearance of the header bar element when loaded,
4
4
  * it can be changed depending on how `appearance-set` attribute is set
@@ -19,14 +19,14 @@ var __awaiter=this&&this.__awaiter||function(e,t,r,a){function i(e){return e ins
19
19
  * Sets the visibility type of the navigation menu of mds-header-bar
20
20
  */this.visibility="visible";this.mobileMenu=function(){return queryChildBySlot(t.host,"menu")};this.close=function(){t.isOpened=false;t.closedEvent.emit({bar:t.headerBar});t.headerBar.setOpened(false)};
21
21
  // a removed attribute leaves null, which turns the auto hide off like 0
22
- this.getAutoHide=function(){var e;var r=(e=t.autoHide)!==null&&e!==void 0?e:0;return Number.isNaN(r)?0:r};this.handleVisibility=function(){var e=t.getAutoHide();if(e===0){return}
22
+ this.getAutoHide=function(){var e;var a=(e=t.autoHide)!==null&&e!==void 0?e:0;return Number.isNaN(a)?0:a};this.handleVisibility=function(){var e=t.getAutoHide();if(e===0){return}
23
23
  // reset var if the page is scrolled to top
24
24
  if(window.scrollY<e){t.visibility="visible";t.relativeThresholdUp=0;t.relativeTresholdDown=0;t.relativePosition=0;return}if(t.relativeTresholdDown-window.scrollY<=0){t.visibility="hidden";t.relativePosition=t.relativeTresholdDown}if(t.relativeThresholdUp-window.scrollY>=t.threshold){t.visibility="visible";t.relativeThresholdUp=window.scrollY;t.relativePosition=t.relativeThresholdUp}
25
25
  // set hidden for the first scroll from top
26
26
  if(t.relativePosition<e&&e-window.scrollY<=0){t.visibility="hidden";t.relativePosition=e}
27
27
  // update respective threshold if page is scrolled up or down
28
- if(window.scrollY>t.relativeThresholdUp){t.relativeThresholdUp=window.scrollY}else{t.relativeTresholdDown=window.scrollY+t.threshold}};this.sanitizeAppearance=function(){var e;var r=(e=t.appearanceSet)!==null&&e!==void 0?e:"";if(r===""){return[t.appearance]}var a=/\b(\w+)\b/g;var i=r.match(a);if(i){return i}return[t.appearance]};this.handleAppearance=function(){var e,r;if(window.scrollY>=t.appearanceThreshold){t.appearance=(e=t.sanitizedAppearance[1])!==null&&e!==void 0?e:t.appearance;return}t.appearance=(r=t.sanitizedAppearance[0])!==null&&r!==void 0?r:t.appearance};this.handleScroll=function(){if(typeof window==="undefined")return;if(t.getAutoHide()!==0){t.handleVisibility()}if(t.sanitizedAppearance.length>1){t.handleAppearance()}};this.setAppearanceSetData=function(){t.sanitizedAppearance=t.sanitizeAppearance();if(t.sanitizedAppearance[2]!==undefined&&t.sanitizedAppearance[2]!==0&&!Number.isNaN(t.sanitizedAppearance[2])){t.appearanceThreshold=t.sanitizedAppearance[2]}t.relativeTresholdDown=t.threshold};this.initScrollListener=function(){if(typeof window==="undefined"){return}t.setAppearanceSetData();window.addEventListener("scroll",t.handleScroll)};this.defineHeaderBar=function(){t.headerBar=t.host.querySelector("mds-header-bar")}}
28
+ if(window.scrollY>t.relativeThresholdUp){t.relativeThresholdUp=window.scrollY}else{t.relativeTresholdDown=window.scrollY+t.threshold}};this.sanitizeAppearance=function(){var e;var a=(e=t.appearanceSet)!==null&&e!==void 0?e:"";if(a===""){return[t.appearance]}var r=/\b(\w+)\b/g;var i=a.match(r);if(i){return i}return[t.appearance]};this.handleAppearance=function(){var e,a;if(window.scrollY>=t.appearanceThreshold){t.appearance=(e=t.sanitizedAppearance[1])!==null&&e!==void 0?e:t.appearance;return}t.appearance=(a=t.sanitizedAppearance[0])!==null&&a!==void 0?a:t.appearance};this.handleScroll=function(){if(typeof window==="undefined")return;if(t.getAutoHide()!==0){t.handleVisibility()}if(t.sanitizedAppearance.length>1){t.handleAppearance()}};this.setAppearanceSetData=function(){t.sanitizedAppearance=t.sanitizeAppearance();if(t.sanitizedAppearance[2]!==undefined&&t.sanitizedAppearance[2]!==0&&!Number.isNaN(t.sanitizedAppearance[2])){t.appearanceThreshold=t.sanitizedAppearance[2]}t.relativeTresholdDown=t.threshold};this.initScrollListener=function(){if(typeof window==="undefined"){return}t.setAppearanceSetData();window.addEventListener("scroll",t.handleScroll)};this.defineHeaderBar=function(){t.headerBar=t.host.querySelector("mds-header-bar")}}
29
29
  /**
30
30
  * Opens or closes the header.
31
31
  * @param isOpened whether the header should be opened
32
- */e.prototype.setOpened=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=true}return __generator(this,(function(t){this.isOpened=e;return[2/*return*/]}))}))};e.prototype.disconnectedCallback=function(){if(typeof window==="undefined"){return}window.removeEventListener("scroll",this.handleScroll)};e.prototype.componentWillLoad=function(){this.hasMenu=this.mobileMenu()!==null;if(this.hasMenu){this.onMenuChangedHandler(this.menu);return}this.onMenuChangedHandler("none")};e.prototype.componentDidLoad=function(){this.defineHeaderBar();this.onMenuChangedHandler(this.menu);this.onNavChangedHandler(this.nav);this.initScrollListener()};e.prototype.onMenuChangedHandler=function(e,t){if(e===t){return}if(this.headerBar!=null){this.headerBar.menu=e}};e.prototype.onNavChangedHandler=function(e,t){if(e===t){return}if(this.headerBar!=null){this.headerBar.nav=e}};e.prototype.onAppearanceSetChangedHandler=function(){this.setAppearanceSetData()};e.prototype.handleVisibilityChange=function(e,t){if(e!==t){this.visibleEvent.emit({visibility:e})}};e.prototype.render=function(){return h(Host,{key:"f672f81878e181d21c234188d2ad02ded1bdb039","pref-consumption":preferenceStore.state.consumption,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},!this.hideBackdrop&&h("div",{key:"6bf87ed021bcdb62c728fbee3818a8ad11895b06",class:"backdrop"},h("div",{key:"6a3ad84c2e41313c14531b514b2752f972986ec4",class:"backdrop-blur-item"}),h("div",{key:"b8031f912733bcc01f47ae28e756ae9f9f184bf1",class:"backdrop-blur-item"}),h("div",{key:"b9fddc9c2c459bc1b16ef7cc4fe0dd62c6ae0357",class:"backdrop-blur-item"}),h("div",{key:"fb97781789e0773d35b31744a3f28bd23816e9eb",class:"backdrop-blur-item"}),h("div",{key:"1d464ccd4d846ac79d1b0ea303ab66f41af84116",class:"backdrop-blur-item"}),h("div",{key:"7ab61f7f2f21da6ad94408442237b8e2a16d32c1",class:"backdrop-blur-item"}),h("div",{key:"90fb7f3244c8047c6a576288dad756451de07cdf",class:"backdrop-blur-item"}),h("div",{key:"955ff4ac62f6a5e50726fcf5d097202622e760d2",class:"backdrop-blur-item"}),h("div",{key:"49e995993b74ce17e06c3a05004e7411442dd694",class:"backdrop-blur-item"}),h("div",{key:"d0c693752ed5b8eee3f0c6925e158168b4e06822",class:"backdrop-blur-item"})),h("slot",{key:"564de9025f4cdc11edb1dadf27c0c3e03be5d06d"}),this.hasMenu&&h("div",{key:"c6cd25b6e417675a67662bbe4e2a8f0c89e1fd74",class:"menu",part:"menu"},h("mds-modal",{key:"cb330659a98adcf88e8af18097450edb71cb1423",class:"modal",opened:this.isOpened,onMdsModalClose:this.close,position:"right"},h("slot",{key:"d4f1dbcaee3303ad4c2130d7f7d64be3486bdc19",name:"menu"}))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{menu:[{onMenuChangedHandler:0}],nav:[{onNavChangedHandler:0}],appearanceSet:[{onAppearanceSetChangedHandler:0}],visibility:[{handleVisibilityChange:0}]}},enumerable:false,configurable:true});return e}();MdsHeader.style=mdsHeaderCss();export{MdsHeader as mds_header};
32
+ */e.prototype.setOpened=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=true}return __generator(this,(function(t){this.isOpened=e;return[2/*return*/]}))}))};e.prototype.disconnectedCallback=function(){if(typeof window==="undefined"){return}window.removeEventListener("scroll",this.handleScroll)};e.prototype.componentWillLoad=function(){this.hasMenu=this.mobileMenu()!==null;if(this.hasMenu){this.onMenuChangedHandler(this.menu);return}this.onMenuChangedHandler("none")};e.prototype.componentDidLoad=function(){this.defineHeaderBar();this.onMenuChangedHandler(this.menu);this.onNavChangedHandler(this.nav);this.initScrollListener()};e.prototype.onMenuChangedHandler=function(e,t){if(e===t){return}if(this.headerBar!=null){this.headerBar.menu=e}};e.prototype.onNavChangedHandler=function(e,t){if(e===t){return}if(this.headerBar!=null){this.headerBar.nav=e}};e.prototype.onAppearanceSetChangedHandler=function(){this.setAppearanceSetData()};e.prototype.handleVisibilityChange=function(e,t){if(e!==t){this.visibleEvent.emit({visibility:e})}};e.prototype.render=function(){return h(Host,{key:"49f28a5629b6a1ba884dfb31eaf8281b0da9905a","pref-consumption":preferenceStore.state.consumption,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},!this.hideBackdrop&&h("div",{key:"312289e3e63a0b6f148b20d81d60c27a8c8674ed",class:"backdrop"},h("div",{key:"43a8bfb091488a6329385892ab7292eafd7f35d4",class:"backdrop-blur-item"}),h("div",{key:"d0886fe257d4d37b0e2f44daf3f2ecbe7d05e34e",class:"backdrop-blur-item"}),h("div",{key:"5852718eaef0df557501e6920e8e95951f5ed34f",class:"backdrop-blur-item"}),h("div",{key:"f3ed9d1ed3866d18ae85f18dbba52a4c2ecd0fc6",class:"backdrop-blur-item"}),h("div",{key:"5bf4a0f3704b522aeec1331bb011bdb3150d6936",class:"backdrop-blur-item"}),h("div",{key:"a6bd3da2294c656f7652bfe80b15be7b1e7feef4",class:"backdrop-blur-item"}),h("div",{key:"88e6473193ccf6e16c26787c7766e4e63dc16623",class:"backdrop-blur-item"}),h("div",{key:"6df3c63302f395f4c9ee7d44159f5e5591ac49e1",class:"backdrop-blur-item"}),h("div",{key:"68927f94100b0c4018a974b2066733bf01865175",class:"backdrop-blur-item"}),h("div",{key:"0f8650234e62902ee7e2798409d963f3a3046c32",class:"backdrop-blur-item"})),h("slot",{key:"a4e3724bf13c9d5e1aa71148cc1dc57ee5b3a8a9"}),this.hasMenu&&h("div",{key:"2ec630982983b7128d884cb441ef19d4e82ebad7",class:"menu",part:"menu"},h("mds-modal",{key:"14a50429601f18aa9608fbea79cf6c47390f1859",class:"modal",opened:this.isOpened,onMdsModalClose:this.close,position:"right"},h("slot",{key:"6dbffc0f91d2701baa08b1a3b77d6a9e4924611e",name:"menu"}))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{menu:[{onMenuChangedHandler:0}],nav:[{onNavChangedHandler:0}],appearanceSet:[{onAppearanceSetChangedHandler:0}],visibility:[{handleVisibilityChange:0}]}},enumerable:false,configurable:true});return e}();MdsHeader.style=mdsHeaderCss();export{MdsHeader as mds_header};
@@ -42,4 +42,4 @@ r.navigationDot.style.width="".concat(n,"px");return}
42
42
  // Calcolo proporzionale
43
43
  var i=t/o*n;r.navigationDot.style.width="".concat(i,"px")};this.addNavigationDots=function(){var a,o;r.contents.removeEventListener("scroll",r.translateNavigationDot);r.navigationDot=(a=r.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".dot");r.navigationDots=(o=r.host.shadowRoot)===null||o===void 0?void 0:o.querySelector(".dot-navigation");r.updateNavigationDotSize();if(r.navigationDot==null)return;r.contents.addEventListener("scroll",r.translateNavigationDot)}}a.prototype.watchNavigation=function(a){if(a==="position"){this.addNavigationDots()}};a.prototype.componentWillLoad=function(){this.updateCSSCustomProps()};a.prototype.componentDidLoad=function(){var a,r;this.contents=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".contents");this.spacer=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.querySelector(".spacer");if(this.navigation==="position")this.addNavigationDots();
44
44
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
45
- if(window&&typeof window.onscrollend!=="undefined"){this.contents.addEventListener("scrollend",this.checkNavigationButtons)}else{if(this.controls!==undefined)this.controls=undefined}};a.prototype.disconnectedCallback=function(){this.contents.removeEventListener("scrollend",this.checkNavigationButtons);this.contents.removeEventListener("scroll",this.translateNavigationDot)};a.prototype.render=function(){return h(Host,{key:"636ebfd9eac9424b06093ee2990a434519af154c"},h("div",{key:"0828132e0a00ff2d72ace5806d1cc07a8f7f3335",class:"contents",part:"content"},h("div",{key:"e1156c7aeeb7da48b55864ee35a7b54cdebce1e3",class:"spacer"}),h("slot",{key:"91c97d1e9c9477b07476cdf7c5b8f77df2d4dcf0",onSlotchange:this.updateElements}),h("div",{key:"8b02b270ebad91c7fe56315132200c43d96f4a77",class:"spacer"})),h("div",{key:"5ed9c9ced06458f9aa4796a6182a7ae6746ed3fb",class:"dot-navigation"},h("div",{key:"778f7543ac11b70fad1169b6cbd05732d5fbabc2",class:"dot"})),this.controls&&this.controls!=="none"&&h("mds-button",{key:"63d99a5cbd4cb64a42c68a4ef4d1cae5a768c377",onClick:this.moveBack,size:"lg",class:clsx("navigation navigation--back",!this.showBack&&"navigation--disabled"),icon:miBaselineArrowBack}),this.controls&&this.controls!=="none"&&h("mds-button",{key:"4874cc67646aac477e164df8b1078ad3f631bab4",onClick:this.moveForward,size:"lg",class:clsx("navigation navigation--forward",!this.showForward&&"navigation--disabled"),icon:miBaselineArrowForward}))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{navigation:[{watchNavigation:0}]}},enumerable:false,configurable:true});return a}();MdsHorizontalScroll.style=mdsHorizontalScrollCss();export{MdsHorizontalScroll as mds_horizontal_scroll};
45
+ if(window&&typeof window.onscrollend!=="undefined"){this.contents.addEventListener("scrollend",this.checkNavigationButtons)}else{if(this.controls!==undefined)this.controls=undefined}};a.prototype.disconnectedCallback=function(){this.contents.removeEventListener("scrollend",this.checkNavigationButtons);this.contents.removeEventListener("scroll",this.translateNavigationDot)};a.prototype.render=function(){return h(Host,{key:"caa1dd792f58816dd8c146e0e0d922f31f580f44"},h("div",{key:"10014a42e23606f5032411defcae22b3afda99dd",class:"contents",part:"content"},h("div",{key:"ae6b5a71bbec1ba04dbb36299e24fd402360ae2d",class:"spacer"}),h("slot",{key:"3d0267992f33e4a550596320139e41b99150939a",onSlotchange:this.updateElements}),h("div",{key:"f28b6c3eac536834987dfd17e1d34c827714dcc2",class:"spacer"})),h("div",{key:"419441c61f6a1664b4cdbff1fc3c25987afbf573",class:"dot-navigation"},h("div",{key:"6f48a726a3b7ad24b298c201f8027cee2f0ce34f",class:"dot"})),this.controls&&this.controls!=="none"&&h("mds-button",{key:"4a919ee1739a29b3235fd810d1d6aa7fef1dcd7a",onClick:this.moveBack,size:"lg",class:clsx("navigation navigation--back",!this.showBack&&"navigation--disabled"),icon:miBaselineArrowBack}),this.controls&&this.controls!=="none"&&h("mds-button",{key:"38bc0e527a7b6b435bb369e4ae404abab8b11c12",onClick:this.moveForward,size:"lg",class:clsx("navigation navigation--forward",!this.showForward&&"navigation--disabled"),icon:miBaselineArrowForward}))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{navigation:[{watchNavigation:0}]}},enumerable:false,configurable:true});return a}();MdsHorizontalScroll.style=mdsHorizontalScrollCss();export{MdsHorizontalScroll as mds_horizontal_scroll};
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host}from"./index-BxPbQB28.js";import{p as preferenceStore}from"./preference-DNNqH7BU.js";var mdsHrCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{background-color:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));border:0;border-radius:var(--radius-full,1000px);display:flex;height:1px;width:100%}"};var MdsHr=/** @class */function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,{key:"66fec928d07078c3e67a050c2ad63146a447785f","pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]})};return r}();MdsHr.style=mdsHrCss();export{MdsHr as mds_hr};
1
+ import{r as registerInstance,h,e as Host}from"./index-BxPbQB28.js";import{p as preferenceStore}from"./preference-DNNqH7BU.js";var mdsHrCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{background-color:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));border:0;border-radius:var(--radius-full,1000px);display:flex;height:1px;width:100%}"};var MdsHr=/** @class */function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,{key:"24837c75a65334f2219553e2f170001469da4e5a","pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]})};return r}();MdsHr.style=mdsHrCss();export{MdsHr as mds_hr};
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-BxPbQB28.js";var mdsInputDateRangePreselectionCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-date-range-preselection-default-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))/0);--mds-date-range-preselection-default-border:var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)));--mds-date-range-preselection-default-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-date-range-preselection-selected-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-date-range-preselection-selected-border:var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-selected-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-date-range-preselection-hover-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-date-range-preselection-hover-border:var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-hover-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-date-range-preselection-background:var(--mds-date-range-preselection-default-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))/0));--mds-date-range-preselection-border:var(--mds-date-range-preselection-default-border,var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-date-range-preselection-color:var(--mds-date-range-preselection-default-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));display:inline-flex;justify-self:start}:host .action{--mds-button-background:var(--mds-date-range-preselection-background);--mds-button-border-color-rgb:var(--mds-date-range-preselection-border);--mds-button-color:var(--mds-date-range-preselection-color)}:host .action:hover{--mds-date-range-preselection-background:var(--mds-date-range-preselection-hover-background,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-hover-border,var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-date-range-preselection-color:var(--mds-date-range-preselection-hover-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))))}:host([selected]) .action{--mds-date-range-preselection-background:var(--mds-date-range-preselection-selected-background,rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-selected-border,var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-date-range-preselection-color:var(--mds-date-range-preselection-selected-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));pointer-events:none}"};var MdsInputDateRangePreselection=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.onClick=function(e){var t;e.stopPropagation();var r=(t=a.host)===null||t===void 0?void 0:t.closest("mds-input-date-range");if(r){r.preselect({caller:a.host,start:a.start,end:a.end});a.selected=true}}}e.prototype.render=function(){return h(Host,{key:"e5571b251d0b86eccf975c07af016fd0e25387d3",slot:"calendar-preselection"},h("mds-button",{key:"95b8be91464b8e283c623c191514f7c293b941af",onClick:this.onClick,class:"action",variant:"primary",tone:"strong"},h("slot",{key:"6a96b556f736d867ab858ffba7307c45fb15dd65"})))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsInputDateRangePreselection.style=mdsInputDateRangePreselectionCss();export{MdsInputDateRangePreselection as mds_input_date_range_preselection};
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-BxPbQB28.js";var mdsInputDateRangePreselectionCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-date-range-preselection-default-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))/0);--mds-date-range-preselection-default-border:var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)));--mds-date-range-preselection-default-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-date-range-preselection-selected-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-date-range-preselection-selected-border:var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-selected-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-date-range-preselection-hover-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-date-range-preselection-hover-border:var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-hover-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-date-range-preselection-background:var(--mds-date-range-preselection-default-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))/0));--mds-date-range-preselection-border:var(--mds-date-range-preselection-default-border,var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-date-range-preselection-color:var(--mds-date-range-preselection-default-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));display:inline-flex;justify-self:start}:host .action{--mds-button-background:var(--mds-date-range-preselection-background);--mds-button-border-color-rgb:var(--mds-date-range-preselection-border);--mds-button-color:var(--mds-date-range-preselection-color)}:host .action:hover{--mds-date-range-preselection-background:var(--mds-date-range-preselection-hover-background,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-hover-border,var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-date-range-preselection-color:var(--mds-date-range-preselection-hover-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))))}:host([selected]) .action{--mds-date-range-preselection-background:var(--mds-date-range-preselection-selected-background,rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-selected-border,var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-date-range-preselection-color:var(--mds-date-range-preselection-selected-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));pointer-events:none}"};var MdsInputDateRangePreselection=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.onClick=function(e){var t;e.stopPropagation();var r=(t=a.host)===null||t===void 0?void 0:t.closest("mds-input-date-range");if(r){r.preselect({caller:a.host,start:a.start,end:a.end});a.selected=true}}}e.prototype.render=function(){return h(Host,{key:"da6b1c6e85b790664bbeb428825cfd715c4ebf91",slot:"calendar-preselection"},h("mds-button",{key:"5f56cd47f2dad2aff8bf72c9938df24ec98124db",onClick:this.onClick,class:"action",variant:"primary",tone:"strong"},h("slot",{key:"82106ab98d3e942a4bb786b6d7f4e0762c43f286"})))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsInputDateRangePreselection.style=mdsInputDateRangePreselectionCss();export{MdsInputDateRangePreselection as mds_input_date_range_preselection};
@@ -85,6 +85,6 @@ var e=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".input
85
85
  * which set the props on an element that has already loaded.
86
86
  */t.prototype.validationRulesChanged=function(){
87
87
  // a reversed range snaps max to min, and that change runs this watcher again
88
- if(this.clampRange())return;this.validateValue()};t.prototype.render=function(){var t=this;return h(Host,{key:"bb6ce788477995704deb7554cec8363e0e219418",empty:this.empty,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("input",{key:"ff6e84704788c49a01491dc042a349c95a5b6ce2","aria-label":this.accessibleName,value:this.value,id:"dateInput",class:"input",part:"input-date",type:"date",disabled:this.isDisabled(),name:this.name,readOnly:this.readonly,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.handleChange,onChange:this.handleChange}),!this.isSlotted&&h("div",{key:"e7fa728f2f5ede454ef7cf43da5885484a47a201",class:"action-open-calendar-wrapper"},h("mds-button",{key:"0c67d5ed8fc65af85a21010be65f37409e1125bc",id:"calendar-dropdown",class:"action-open-calendar",
88
+ if(this.clampRange())return;this.validateValue()};t.prototype.render=function(){var t=this;return h(Host,{key:"13e487563964002ae6ee19e0f9629f8fb79072fb",empty:this.empty,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("input",{key:"429990cdcb5a89e235593a865031dc215b563d33","aria-label":this.accessibleName,value:this.value,id:"dateInput",class:"input",part:"input-date",type:"date",disabled:this.isDisabled(),name:this.name,readOnly:this.readonly,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.handleChange,onChange:this.handleChange}),!this.isSlotted&&h("div",{key:"a8a8541a35bd617419f01414924bf6124085ea7a",class:"action-open-calendar-wrapper"},h("mds-button",{key:"015006dc305b61b5e81e71527fb04581e51e6968",id:"calendar-dropdown",class:"action-open-calendar",
89
89
  // a read-only date cannot change, from the calendar either
90
- disabled:this.isDisabled()||this.readonly,variant:"dark",tone:"text",icon:miBaselineCalendarToday,onClick:this.handleOpenCalendarClick})),h("mds-input-tip",{key:"43e3767bc9f70ea31883f5d7d562e102b4bcc3c9",position:"top",active:this.hasFocus},this.isDisabled()&&h("mds-input-tip-item",{key:"6cedaa989e6ec5899d73fc6d4f8c68f798408dae",expanded:true,variant:"disabled"}),this.readonly&&h("mds-input-tip-item",{key:"4f067b4c600e75f78fa7bef72a28d5cb1e4ad9e4",expanded:true,variant:"readonly"}),this.required&&h("mds-input-tip-item",{key:"28419231c5a20cd36b9c4c5e668c99707a20c485",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),!this.isSlotted&&h("mds-dropdown",{key:"3f9cdf80cc2167a864e6b7cc4435e6623d5858e2",placement:"bottom-end","disable-auto-placement":true,ref:function(a){return t.dropdownRef=a},role:"group",target:"#calendar-dropdown"},h("mds-calendar",Object.assign({key:this.calendarKey,singlePicker:true,hideToday:this.hideToday,onMdsCalendarChange:this.handleCalendarChange,startDate:this.value},this.min!==null&&this.min!==""?{min:this.min}:{},this.max!==null&&this.max!==""?{max:this.max}:{}))))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputDate.style=mdsInputDateCss();export{MdsInputDate as mds_input_date};
90
+ disabled:this.isDisabled()||this.readonly,variant:"dark",tone:"text",icon:miBaselineCalendarToday,onClick:this.handleOpenCalendarClick})),h("mds-input-tip",{key:"76f13d1e3879d81d1845cad5e600dd5d2e77e96d",position:"top",active:this.hasFocus},this.isDisabled()&&h("mds-input-tip-item",{key:"594fbd6019219838a16a8b9eed6b21363a0359ed",expanded:true,variant:"disabled"}),this.readonly&&h("mds-input-tip-item",{key:"52ee7ba2815321e60b1157c79b7daea2710693e9",expanded:true,variant:"readonly"}),this.required&&h("mds-input-tip-item",{key:"59456d7e37af91c8ca628125e37e2f840e68b27b",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),!this.isSlotted&&h("mds-dropdown",{key:"a6d248f985d7c286c6dd8cbdaf31afbac4fa4e10",placement:"bottom-end","disable-auto-placement":true,ref:function(a){return t.dropdownRef=a},role:"group",target:"#calendar-dropdown"},h("mds-calendar",Object.assign({key:this.calendarKey,singlePicker:true,hideToday:this.hideToday,onMdsCalendarChange:this.handleCalendarChange,startDate:this.value},this.min!==null&&this.min!==""?{min:this.min}:{},this.max!==null&&this.max!==""?{max:this.max}:{}))))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputDate.style=mdsInputDateCss();export{MdsInputDate as mds_input_date};
@@ -19,4 +19,4 @@ a.getErrors().then((function(a){if(a!=null){t.variant="error";var r=Object.entri
19
19
  };a.prototype.componentDidLoad=function(){var a=this;this.nameSlottedControls();var t=this.slotInput.assignedElements()[0];if(t==null){
20
20
  // slot assignment is empty in the hydrate/SSR runtime (assignedElements
21
21
  // returns [] in mock-doc); validation wiring happens on the client
22
- console.warn("mds-input-field: no mds-input assigned to the input slot");return}t.addEventListener("mdsInputValidation",(function(t){return a.handleValidation(t.target)}))};a.prototype.labelChanged=function(){this.nameSlottedControls()};a.prototype.render=function(){var a=this;var t;return h(Host,{key:"583ee482bbab1a36be354ff74ee0025171d1ac6a"},h("mds-text",{key:"667c77827695565fd798c3e1528802ff300eb5d7",class:"label",typography:"label"},this.label),h("div",{key:"c1e2b99db32d1f3ca5f783c46fbf09a285e36857",class:"message-window"},h("div",{key:"5e2fef6eb9971f2e08ed3c89dee28bde0b659995",class:"content",part:"content"},h("slot",{key:"f9ad79859fe01dfec67abf0f9953de8a07c66a86",onSlotchange:this.nameSlottedControls,ref:function(t){return a.slotInput=t}})),h("div",{key:"1530d0b175f5bb7df5ed25041eaac339ae48d57c",class:"message"},(t=this.message)===null||t===void 0?void 0:t.split(";").map((function(a,t){return h("mds-text",{typography:"caption",key:t},a)})))))};Object.defineProperty(a,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{label:[{labelChanged:0}]}},enumerable:false,configurable:true});return a}();MdsInputField.style=mdsInputFieldCss();export{MdsInputField as mds_input_field};
22
+ console.warn("mds-input-field: no mds-input assigned to the input slot");return}t.addEventListener("mdsInputValidation",(function(t){return a.handleValidation(t.target)}))};a.prototype.labelChanged=function(){this.nameSlottedControls()};a.prototype.render=function(){var a=this;var t;return h(Host,{key:"632203a1cff0f34e720f49d4675c78839e91af6d"},h("mds-text",{key:"30860478ead5e3864927400a5d1a87446668badb",class:"label",typography:"label"},this.label),h("div",{key:"5bebb90ae68ec9cc03279626192a1c37e07faa8d",class:"message-window"},h("div",{key:"2099540b05c94169777a2793b03dd1420e210b18",class:"content",part:"content"},h("slot",{key:"a732030c31e1faba9436244ef88f3884949a5c06",onSlotchange:this.nameSlottedControls,ref:function(t){return a.slotInput=t}})),h("div",{key:"bac1730d493bdef3cda8d5bb330370849680f187",class:"message"},(t=this.message)===null||t===void 0?void 0:t.split(";").map((function(a,t){return h("mds-text",{typography:"caption",key:t},a)})))))};Object.defineProperty(a,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{label:[{labelChanged:0}]}},enumerable:false,configurable:true});return a}();MdsInputField.style=mdsInputFieldCss();export{MdsInputField as mds_input_field};
@@ -27,4 +27,4 @@ t.preventDefault();if(isNaN(Number(t.key))){return}var e=t.target;i.setOtpDigit(
27
27
  if((t!==null&&t!==void 0?t:"")===this.digits.join(""))return;this.fillCells(t!==null&&t!==void 0?t:"")};t.prototype.formDisabledCallback=function(t){this.formDisabled=t};
28
28
  /** Like a native input, a form reset brings back the code of load. */t.prototype.formResetCallback=function(){this.fillCells(this.loadValue)};t.prototype.componentWillLoad=function(){var t;this.loadValue=(t=this.value)!==null&&t!==void 0?t:"";this.fillCells(this.loadValue)};
29
29
  /** Puts a code in the cells, from the first one, as many digits as there are cells. */t.prototype.fillCells=function(t){this.digits=Array.from(t).slice(0,this.length);this.updateValue()};
30
- /** Joins the cells into value, the code the form submits. */t.prototype.updateValue=function(){this.value=this.digits.join("");setFormValue(this.internals,this.value)};t.prototype.render=function(){var t=this;return h(Host,{key:"a04c64edf256fa28b732e52380df22b2fa452ed7"},Array.from({length:this.length}).map((function(i,e){var n;return h("mds-input",{"aria-label":t.digitName(e),class:"input",disabled:t.isDisabled(),maxlength:1,onKeyDown:t.handleKeyDown,onPaste:t.handlePaste,value:(n=t.digits[e])!==null&&n!==void 0?n:""})})))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputOtp.style=mdsInputOtpCss();export{MdsInputOtp as mds_input_otp};
30
+ /** Joins the cells into value, the code the form submits. */t.prototype.updateValue=function(){this.value=this.digits.join("");setFormValue(this.internals,this.value)};t.prototype.render=function(){var t=this;return h(Host,{key:"a092071d96dde4767e7c9422b06242de7e244b8c"},Array.from({length:this.length}).map((function(i,e){var n;return h("mds-input",{"aria-label":t.digitName(e),class:"input",disabled:t.isDisabled(),maxlength:1,onKeyDown:t.handleKeyDown,onPaste:t.handlePaste,value:(n=t.digits[e])!==null&&n!==void 0?n:""})})))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputOtp.style=mdsInputOtpCss();export{MdsInputOtp as mds_input_otp};
@@ -29,4 +29,4 @@ if(a){setFormValue(this.internals,null)}};a.prototype.valueChanged=function(a,t)
29
29
  /** Like a native input, a form reset brings back the value of load, thumb included. */a.prototype.formResetCallback=function(){
30
30
  // an empty value makes the native input take its default, the middle of the range
31
31
  this.inputElement.value=this.loadValue===undefined?"":String(this.loadValue);this.onInput()};a.prototype.componentWillLoad=function(){var a;var t=Number((a=this.value)!==null&&a!==void 0?a:NaN);this.loadValue=Number.isNaN(t)?undefined:t};a.prototype.componentDidLoad=function(){var a;this.onInput();// define value
32
- this.label=(a=this.element.textContent)!==null&&a!==void 0?a:"";this.calculateProgress()};a.prototype.render=function(){var a=this;var t;return h(Host,{key:"d223cb20d2d286382af3b1605e4d77d1a77d67c0","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("header",{key:"2e618309f22f583ea4583901965a3669073ee17e",class:"header",part:"header"},h("mds-text",{key:"cf89fae0a98b66a470ab220811af5cf1b1922f59",class:"label",typography:"label"},h("slot",{key:"392a0503e0ad2af44ecb9ce184713b5245a64063"})),h("mds-text",{key:"ab5f2a7fe91bae04199b100e6bc6711ccd6c6e2a",class:"value",typography:"label"},this.formatValue?this.formatValue(this.value):this.value)),h("div",{key:"5d5681f116e152979f0d329070be816173507caf",class:"range"},h("div",{key:"f539571bbf87692d690b792ed8c638fd3f3810f7",class:"track",part:"track"},h("div",{key:"6b0eef0ba0ef24a80bf52bd04dce7d9ed2114ad4",class:"contrast-area"}),h("div",{key:"622bce4e0e3edf7de827c64a8b97bd6ea90f7e67",class:"track-total"},h("div",{key:"1a05102fb4ebd2f8fa452df45302c6983aa0234d",class:"track-progress",style:{"--mds-input-range-progress":"".concat((t=this.progress)!==null&&t!==void 0?t:0)}}))),h("input",{key:"81eb2d3245ab389890b14ee0aa6aec6324450933",ref:function(t){return a.inputElement=t},class:"field","aria-label":this.label,disabled:this.isDisabled(),max:this.max,min:this.min,onInput:this.onInput,step:this.step,type:"range",value:this.value,name:this.name})))};Object.defineProperty(a,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{disabled:[{disabledChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}},enumerable:false,configurable:true});return a}();MdsInputRange.style=mdsInputRangeCss();export{MdsInputRange as mds_input_range};
32
+ this.label=(a=this.element.textContent)!==null&&a!==void 0?a:"";this.calculateProgress()};a.prototype.render=function(){var a=this;var t;return h(Host,{key:"7588d9e5f1f0657ae63ba23cad5d3d8faee3ff17","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("header",{key:"fbd890516bc521d3dc46c63ad98ee981a08cc459",class:"header",part:"header"},h("mds-text",{key:"361e2b3f13dfc017e873865853ef77ef47332434",class:"label",typography:"label"},h("slot",{key:"95335d7a71e2674d95e850fa9a45074e060daff4"})),h("mds-text",{key:"6897c798d09be9f92b1295eb67177ef1bd30f98c",class:"value",typography:"label"},this.formatValue?this.formatValue(this.value):this.value)),h("div",{key:"47550ba3617f33dafcf2547ad57ecedf11cffc6b",class:"range"},h("div",{key:"bf3c5e9a8f4b15a8c6e545670e628952fcd19393",class:"track",part:"track"},h("div",{key:"95626574ed8adb96f06a8a321a68a2e6bbe37401",class:"contrast-area"}),h("div",{key:"6e15a6d2c583415382af4eec1e142e22698c8079",class:"track-total"},h("div",{key:"ea257f325270545f8f76bb6b911dfe17a5f2efd7",class:"track-progress",style:{"--mds-input-range-progress":"".concat((t=this.progress)!==null&&t!==void 0?t:0)}}))),h("input",{key:"7302c7d6348c7844c90804676c29236082204e87",ref:function(t){return a.inputElement=t},class:"field","aria-label":this.label,disabled:this.isDisabled(),max:this.max,min:this.min,onInput:this.onInput,step:this.step,type:"range",value:this.value,name:this.name})))};Object.defineProperty(a,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{disabled:[{disabledChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}},enumerable:false,configurable:true});return a}();MdsInputRange.style=mdsInputRangeCss();export{MdsInputRange as mds_input_range};
@@ -69,4 +69,4 @@ this.updateFormValidity()};t.prototype.componentDidLoad=function(){if(!this.mult
69
69
  * `multiple` too. Without a value, the select keeps the options the markup selects, or its own
70
70
  * default, when `fromMarkup`; a value cleared by code clears the selection instead, down to the
71
71
  * placeholder or, without one, the first option a single select falls back to.
72
- */t.prototype.applySelection=function(t){var r=this;if(this.selectEl==null)return;if(this.value!=null&&this.value!==""&&this.value!==0&&!Number.isNaN(this.value)){this.selectEl.querySelectorAll("option").forEach((function(t){t.selected=t.value===r.value}));return}if(t){this.adoptSelection();return}this.selectEl.querySelectorAll("option").forEach((function(t){t.selected=false}));var e=this.placeholderOption();if(e&&this.hasPlaceholder())e.selected=true;this.adoptSelection()};t.prototype.render=function(){var t=this;var r;return h(Host,{key:"cbdd53b56d64ee8ace9cf091d86ec6a529415f7b","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("select",{key:"df3ffc167f4452b6b098720eff7b01abf6088d84","aria-label":this.accessibleName,class:"input",onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,name:this.name,required:this.required,disabled:this.isDisabled(),multiple:this.multiple,size:this.size,part:"select",ref:function(r){return t.selectEl=r}},h("option",{key:"3372af1fe267f93fe42751dc264c8fa1be41a681",class:"placeholder-option",value:"",disabled:!this.required?undefined:true,selected:this.defaultValue!=null&&this.defaultValue!==""&&this.defaultValue!==0&&!Number.isNaN(this.defaultValue)?undefined:true},this.placeholder)),h("div",{key:"2054fdad7eb96317127f0a5f5d3545c51be98a6e",class:"icon-container"},h("mds-icon",{key:"8f7c8a2377912ec8c62b04f95fcb15b97c46deed",class:"icon",name:miBaselineKeyboardArrowDown})),h("div",{key:"f9b5a34c5f60d2a8d2c8ee8be5e8b8a0f3bd3800",class:"option-container"},h("slot",{key:"5c03186b7deca1d7bd2aba50b03f7bf7e6038f29",onSlotchange:this.onSlotChangeHandler})),h("mds-input-tip",{key:"b7013f98b08bfa532df0cc602cc0683c762af2b7",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&h("mds-input-tip-item",{key:"2519d758e2ca30c6886b39c0fffbe50a7d33f016",expanded:true,variant:"disabled"}),this.required&&h("mds-input-tip-item",{key:"a6db53481ffe5d62cd31a3eae0be3ad3c4b77828",expanded:this.hasFocus,variant:((r=this.value)!==null&&r!==void 0?r:"")===""?"required":"required-success"})))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputSelect.style=mdsInputSelectCss();export{MdsInputSelect as mds_input_select};
72
+ */t.prototype.applySelection=function(t){var r=this;if(this.selectEl==null)return;if(this.value!=null&&this.value!==""&&this.value!==0&&!Number.isNaN(this.value)){this.selectEl.querySelectorAll("option").forEach((function(t){t.selected=t.value===r.value}));return}if(t){this.adoptSelection();return}this.selectEl.querySelectorAll("option").forEach((function(t){t.selected=false}));var e=this.placeholderOption();if(e&&this.hasPlaceholder())e.selected=true;this.adoptSelection()};t.prototype.render=function(){var t=this;var r;return h(Host,{key:"39445a71195494b40c2bb5b5f258cb182c1ae4df","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("select",{key:"9795f23fd09ff9bfbfbf89860c6cf2928517802d","aria-label":this.accessibleName,class:"input",onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,name:this.name,required:this.required,disabled:this.isDisabled(),multiple:this.multiple,size:this.size,part:"select",ref:function(r){return t.selectEl=r}},h("option",{key:"b7bdd1b3771c0c49c7025e82db337bf3459f15e7",class:"placeholder-option",value:"",disabled:!this.required?undefined:true,selected:this.defaultValue!=null&&this.defaultValue!==""&&this.defaultValue!==0&&!Number.isNaN(this.defaultValue)?undefined:true},this.placeholder)),h("div",{key:"5d8e87d30a3a2a409553285c58cae328aa2a50bc",class:"icon-container"},h("mds-icon",{key:"9725203039482f2bcfd766c5ccd03ed728dd14a4",class:"icon",name:miBaselineKeyboardArrowDown})),h("div",{key:"1c5c276419b32919b2c131141fdf5ba74c3da4fe",class:"option-container"},h("slot",{key:"3b3558926175375fae01276ee7f8a317a61c2d77",onSlotchange:this.onSlotChangeHandler})),h("mds-input-tip",{key:"039569e0ca1ab6622da2d162483ea51e8dad4d2b",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&h("mds-input-tip-item",{key:"bb6e2430bc3613deaa3143dd5d30213d199b2e3f",expanded:true,variant:"disabled"}),this.required&&h("mds-input-tip-item",{key:"4304f852a0a35478c1149095d1b18dd45dc968f6",expanded:this.hasFocus,variant:((r=this.value)!==null&&r!==void 0?r:"")===""?"required":"required-success"})))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputSelect.style=mdsInputSelectCss();export{MdsInputSelect as mds_input_select};
@@ -44,4 +44,4 @@ this.disabled=undefined;return}this.updateFormValue()};
44
44
  */t.prototype.checkedChanged=function(t){if(t===false){
45
45
  // the watcher runs again with undefined
46
46
  this.checked=undefined;return}if(t&&this.type==="radio")this.uncheckSiblings();this.updateFormValue()};t.prototype.valueChanged=function(){this.updateFormValue()};t.prototype.explicitChanged=function(t){if(t===false){this.explicit=undefined}};t.prototype.formDisabledCallback=function(t){this.formDisabled=t};
47
- /** Like a native checkbox or radio, a form reset brings back the checked state of load. */t.prototype.formResetCallback=function(){this.checked=this.loadChecked?true:undefined;this.updateFormValue()};t.prototype.componentWillLoad=function(){this.loadChecked=this.checked===true};t.prototype.componentDidLoad=function(){var t;this.label=(t=this.host.textContent)!==null&&t!==void 0?t:"";this.updateFormValue();this.checkFocusElement();this.hasText=hasSlotted(this.host)};t.prototype.render=function(){var t;var a=inputSwitchIconVariant[this.type],e=a.iconChecked,i=a.iconUnchecked,n=a.iconIndeterminate;var r=this.icon!==""?this.icon:e;return h(Host,{key:"dc4f6b92e7a7f8e64147487aa29dda42abe36a42",onClick:this.handleDirty,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("input",{key:"66ecfc3ede5d9e910ceba7a1d688004e4d1fa02c","aria-label":this.t.get(this.checked?"unselect":"select",{label:this.label}),autoFocus:this.autofocus,checked:this.checked,class:"field",disabled:this.isDisabled(),id:"field",indeterminate:this.indeterminate,name:this.name,onChange:this.handleInputOnChange,role:this.type==="switch"?"switch":undefined,type:this.type==="switch"?"checkbox":this.type,value:(t=this.value)!==null&&t!==void 0?t:undefined}),this.type==="switch"?h("label",{htmlFor:"field",class:clsx("switch-container",this.dirty!==false&&"dirty")},h("div",{class:"switch"},h("div",{class:"switch-toggle"},this.explicit&&h("mds-icon",{class:"icon-explicit",name:this.checked?miBaselineChecked:miBaselineRemove})))):h("label",{htmlFor:"field",class:"label-icon"},h("mds-text",{class:"icon-typography-unchecked",tag:"div",typography:this.typography,variant:this.variant},h("mds-icon",{class:"icon-unchecked",name:clsx(this.indeterminate?n:i)})),this.checked&&h("mds-text",{class:"icon-typography-checked",tag:"div",typography:this.typography,variant:this.variant},h("mds-icon",{class:"icon-checked",name:clsx(this.indeterminate?n:r)}))),h("label",{key:"6c683b5b694dbe8925ab481d1f8fa0e1b7678630",htmlFor:"field",class:clsx("label-text",!this.hasText&&"label-text--empty")},h("mds-text",{key:"211c7fb20a182438447eb46976ad9aa599e2e1bc",tag:"p",typography:this.typography,variant:this.variant},h("slot",{key:"0d755335e5e4a63ac2bb662f7cb1a13a63cb22e3"}))))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:[{disabledChanged:0}],checked:[{checkedChanged:0}],value:[{valueChanged:0}],explicit:[{explicitChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputSwitch.style=mdsInputSwitchCss();var mdsTableCellCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-table-cell-background:var(--mds-table-row-background);--mds-table-cell-background-alt:var(--mds-table-row-background-alt);--mds-table-cell-color-alt:var(--mds-table-row-color-alt);--mds-table-cell-color:var(--mds-table-row-color);--mds-table-cell-transition-duration:var(--duration-200,.2s);--private-table-cell-transition-duration:var(--mds-table-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-cell-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;color:var(--mds-table-cell-color);display:table-cell;padding:var(--mds-table-cell-padding);-webkit-transition-duration:var(--private-table-cell-transition-duration);transition-duration:var(--private-table-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-cell-transition-duration:0s}:host([selected]){--mds-table-cell-background:var(--mds-table-cell-background-alt);--mds-table-cell-color:var(--mds-table-cell-color-alt)}:host([sorted]){--mds-table-cell-background:var(--mds-table-background);--mds-table-cell-color:var(--mds-table-color)}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-cell-transition-duration:0s}}'};var MdsTableCell=/** @class */function(){function t(t){registerInstance(this,t)}t.prototype.componentWillLoad=function(){setAttributeIfEmpty(this.host,"role","cell")};t.prototype.render=function(){return h(Host,{key:"6a8bf4a2787d353c448331edd15e4e3a58e3ec07","pref-animation":preferenceStore.state.animation},h("slot",{key:"9c3ed304fb676148f9567f8986457a5b21d6d095"}))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsTableCell.style=mdsTableCellCss();export{MdsInputSwitch as mds_input_switch,MdsTableCell as mds_table_cell};
47
+ /** Like a native checkbox or radio, a form reset brings back the checked state of load. */t.prototype.formResetCallback=function(){this.checked=this.loadChecked?true:undefined;this.updateFormValue()};t.prototype.componentWillLoad=function(){this.loadChecked=this.checked===true};t.prototype.componentDidLoad=function(){var t;this.label=(t=this.host.textContent)!==null&&t!==void 0?t:"";this.updateFormValue();this.checkFocusElement();this.hasText=hasSlotted(this.host)};t.prototype.render=function(){var t;var a=inputSwitchIconVariant[this.type],e=a.iconChecked,i=a.iconUnchecked,n=a.iconIndeterminate;var r=this.icon!==""?this.icon:e;return h(Host,{key:"8cbff5043c78dfd9a21309b2d8201dba68cfd32e",onClick:this.handleDirty,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("input",{key:"bc4f3770e7434421018e76cc996a59cd4f1da798","aria-label":this.t.get(this.checked?"unselect":"select",{label:this.label}),autoFocus:this.autofocus,checked:this.checked,class:"field",disabled:this.isDisabled(),id:"field",indeterminate:this.indeterminate,name:this.name,onChange:this.handleInputOnChange,role:this.type==="switch"?"switch":undefined,type:this.type==="switch"?"checkbox":this.type,value:(t=this.value)!==null&&t!==void 0?t:undefined}),this.type==="switch"?h("label",{htmlFor:"field",class:clsx("switch-container",this.dirty!==false&&"dirty")},h("div",{class:"switch"},h("div",{class:"switch-toggle"},this.explicit&&h("mds-icon",{class:"icon-explicit",name:this.checked?miBaselineChecked:miBaselineRemove})))):h("label",{htmlFor:"field",class:"label-icon"},h("mds-text",{class:"icon-typography-unchecked",tag:"div",typography:this.typography,variant:this.variant},h("mds-icon",{class:"icon-unchecked",name:clsx(this.indeterminate?n:i)})),this.checked&&h("mds-text",{class:"icon-typography-checked",tag:"div",typography:this.typography,variant:this.variant},h("mds-icon",{class:"icon-checked",name:clsx(this.indeterminate?n:r)}))),h("label",{key:"d081522893af8884966d1262c10c5035f95c5482",htmlFor:"field",class:clsx("label-text",!this.hasText&&"label-text--empty")},h("mds-text",{key:"687317f8e20908718ec6ff5be4ea02c4c0b8a5e0",tag:"p",typography:this.typography,variant:this.variant},h("slot",{key:"d6a57f0c2d15b0116e6d61755ae926a3ad2186e7"}))))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:[{disabledChanged:0}],checked:[{checkedChanged:0}],value:[{valueChanged:0}],explicit:[{explicitChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputSwitch.style=mdsInputSwitchCss();var mdsTableCellCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-table-cell-background:var(--mds-table-row-background);--mds-table-cell-background-alt:var(--mds-table-row-background-alt);--mds-table-cell-color-alt:var(--mds-table-row-color-alt);--mds-table-cell-color:var(--mds-table-row-color);--mds-table-cell-transition-duration:var(--duration-200,.2s);--private-table-cell-transition-duration:var(--mds-table-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-cell-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;color:var(--mds-table-cell-color);display:table-cell;padding:var(--mds-table-cell-padding);-webkit-transition-duration:var(--private-table-cell-transition-duration);transition-duration:var(--private-table-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-cell-transition-duration:0s}:host([selected]){--mds-table-cell-background:var(--mds-table-cell-background-alt);--mds-table-cell-color:var(--mds-table-cell-color-alt)}:host([sorted]){--mds-table-cell-background:var(--mds-table-background);--mds-table-cell-color:var(--mds-table-color)}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-cell-transition-duration:0s}}'};var MdsTableCell=/** @class */function(){function t(t){registerInstance(this,t)}t.prototype.componentWillLoad=function(){setAttributeIfEmpty(this.host,"role","cell")};t.prototype.render=function(){return h(Host,{key:"93291756376d56269a5e8849be629d6b07f51d43","pref-animation":preferenceStore.state.animation},h("slot",{key:"be5d3de3a506b377eb3178aa5bc21d8aaffa2b47"}))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsTableCell.style=mdsTableCellCss();export{MdsInputSwitch as mds_input_switch,MdsTableCell as mds_table_cell};
@@ -4,7 +4,7 @@ import{r as registerInstance,h,e as Host}from"./index-BxPbQB28.js";import{p as p
4
4
  */this.active=false;
5
5
  /**
6
6
  * Specifies the position of the element relative to its container
7
- */this.position="top"}t.prototype.render=function(){return h(Host,{key:"889d2709c66f3803d7fcc22dc9abd8df77388a92","pref-animation":preferenceStore.state.animation},h("slot",{key:"e5df103e25796fe5bcf4fe89adb2bb622a9edb2b"}))};return t}();MdsInputTip.style=mdsInputTipCss();var required$3="Απαιτείται";var disabled$3="Απενεργοποιημένο";var readonly$3="Μόνο για ανάγνωση";var localeEl={required:required$3,disabled:disabled$3,readonly:readonly$3};var required$2="Required";var disabled$2="Disabled";var readonly$2="Read only";var localeEn={required:required$2,disabled:disabled$2,readonly:readonly$2};var required$1="Requerido";var disabled$1="Deshabilitado";var readonly$1="Solo lectura";var localeEs={required:required$1,disabled:disabled$1,readonly:readonly$1};var required="Obbligatorio";var disabled="Disattivato";var readonly="Sola lettura";var localeIt={required:required,disabled:disabled,readonly:readonly};var mdsInputTipItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-tip-item-transition-duration:var(--duration-300,.3s);--private-input-tip-item-transition-duration:var(--mds-input-tip-item-transition-duration);--mds-input-tip-item-content-transition-duration:var(--duration-200,.2s);--private-input-tip-item-content-transition-duration:var(--mds-input-tip-item-content-transition-duration);--mds-input-tip-item-background:var(--mds-input-tip-background,rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73)))));--mds-input-tip-item-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-icon-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));align-items:center;background-color:var(--mds-input-tip-item-background,rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73)))));border-radius:var(--radius-2xs,6px);color:var(--mds-input-tip-item-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));display:flex;height:calc(var(--spacing,.0025rem)*300);justify-content:center;min-width:calc(var(--spacing,.0025rem)*300);padding:0;pointer-events:none;position:static;text-align:center;transform:translate(0);-webkit-transition-duration:var(--private-input-tip-item-transition-duration);transition-duration:var(--private-input-tip-item-transition-duration);transition-property:background-color,border-radius,color,padding-left,padding-right,transform;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}mds-text{display:flex;place-self:center}.content{display:grid;grid-template-columns:0fr;opacity:0;overflow:hidden;-webkit-transition-duration:var(--private-input-tip-item-content-transition-duration);transition-duration:var(--private-input-tip-item-content-transition-duration);transition-property:grid-template-columns,opacity,-ms-grid-columns;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.content,.icon{height:calc(var(--spacing,.0025rem)*300)}.icon{display:flex;fill:var(--mds-input-tip-item-icon-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));transform:translateY(-1px);width:calc(var(--spacing,.0025rem)*300)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host(:not([expanded])){color:#0000}:host([expanded]){--mds-input-tip-item-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}:host([expanded]) .content{grid-template-columns:1fr;opacity:1}:host([variant=required]){--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=required-success]){--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=readonly]){--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=disabled]){--mds-input-tip-item-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-input-tip-item-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-tip-item-icon-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-input-tip-item-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-input-tip-item-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-input-tip-item-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-input-tip-item-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=count-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-tip-item-transition-duration:0s;--private-input-tip-item-content-transition-duration:0s}:host([pref-contrast=more]):host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([pref-contrast=more]):host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]):host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([pref-contrast=more]):host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-tip-item-transition-duration:0s;--private-input-tip-item-content-transition-duration:0s}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}}"};var MdsInputTipItem=/** @class */function(){function t(t){registerInstance(this,t);this.t=new Locale({en:localeEn,el:localeEl,es:localeEs,it:localeIt});
7
+ */this.position="top"}t.prototype.render=function(){return h(Host,{key:"0e4fddfdc8dbb7f8a649d03de0f5402368572e76","pref-animation":preferenceStore.state.animation},h("slot",{key:"e7095557c8965c623d04dfe4bfce52b155b72106"}))};return t}();MdsInputTip.style=mdsInputTipCss();var required$3="Απαιτείται";var disabled$3="Απενεργοποιημένο";var readonly$3="Μόνο για ανάγνωση";var localeEl={required:required$3,disabled:disabled$3,readonly:readonly$3};var required$2="Required";var disabled$2="Disabled";var readonly$2="Read only";var localeEn={required:required$2,disabled:disabled$2,readonly:readonly$2};var required$1="Requerido";var disabled$1="Deshabilitado";var readonly$1="Solo lectura";var localeEs={required:required$1,disabled:disabled$1,readonly:readonly$1};var required="Obbligatorio";var disabled="Disattivato";var readonly="Sola lettura";var localeIt={required:required,disabled:disabled,readonly:readonly};var mdsInputTipItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-tip-item-transition-duration:var(--duration-300,.3s);--private-input-tip-item-transition-duration:var(--mds-input-tip-item-transition-duration);--mds-input-tip-item-content-transition-duration:var(--duration-200,.2s);--private-input-tip-item-content-transition-duration:var(--mds-input-tip-item-content-transition-duration);--mds-input-tip-item-background:var(--mds-input-tip-background,rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73)))));--mds-input-tip-item-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-icon-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));align-items:center;background-color:var(--mds-input-tip-item-background,rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73)))));border-radius:var(--radius-2xs,6px);color:var(--mds-input-tip-item-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));display:flex;height:calc(var(--spacing,.0025rem)*300);justify-content:center;min-width:calc(var(--spacing,.0025rem)*300);padding:0;pointer-events:none;position:static;text-align:center;transform:translate(0);-webkit-transition-duration:var(--private-input-tip-item-transition-duration);transition-duration:var(--private-input-tip-item-transition-duration);transition-property:background-color,border-radius,color,padding-left,padding-right,transform;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}mds-text{display:flex;place-self:center}.content{display:grid;grid-template-columns:0fr;opacity:0;overflow:hidden;-webkit-transition-duration:var(--private-input-tip-item-content-transition-duration);transition-duration:var(--private-input-tip-item-content-transition-duration);transition-property:grid-template-columns,opacity,-ms-grid-columns;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.content,.icon{height:calc(var(--spacing,.0025rem)*300)}.icon{display:flex;fill:var(--mds-input-tip-item-icon-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));transform:translateY(-1px);width:calc(var(--spacing,.0025rem)*300)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host(:not([expanded])){color:#0000}:host([expanded]){--mds-input-tip-item-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}:host([expanded]) .content{grid-template-columns:1fr;opacity:1}:host([variant=required]){--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=required-success]){--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=readonly]){--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=disabled]){--mds-input-tip-item-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-input-tip-item-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-tip-item-icon-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-input-tip-item-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-input-tip-item-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-input-tip-item-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-input-tip-item-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=count-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-tip-item-transition-duration:0s;--private-input-tip-item-content-transition-duration:0s}:host([pref-contrast=more]):host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([pref-contrast=more]):host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]):host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([pref-contrast=more]):host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-tip-item-transition-duration:0s;--private-input-tip-item-content-transition-duration:0s}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}}"};var MdsInputTipItem=/** @class */function(){function t(t){registerInstance(this,t);this.t=new Locale({en:localeEn,el:localeEl,es:localeEs,it:localeIt});
8
8
  /**
9
9
  * Specifies the variant of the element
10
- */this.variant="required"}t.prototype.handleEcpandedChanged=function(t){if(t===false){this.expanded=undefined}};t.prototype.render=function(){return h(Host,{key:"17c8e77f8aee45ab7d729f0af75e450802f5255f","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast},h("div",{key:"535c236edfc662d1c23b9b3144e72b32b42ff3f0",class:"content"},this.variant==="text"&&h("mds-text",{key:"b5847fe09eaa96077f72ee73f3a7014f095e27a1",typography:"option",truncate:"word"},h("span",{key:"2f5a93394a5acab1a08285badddf7f6df1c33673",class:"text"},h("slot",{key:"4b972b1b178c076ce4929bf19d32f187dd20efcd"}))),this.variant==="readonly"&&h("mds-text",{key:"746ff07bdfc2b375241e13ca57404c31eef8fd42",typography:"option",truncate:"word"},h("span",{key:"7cd6231cbe12dcc69aa4cdf6ffa3cada3b4879d4",class:"text"},this.variant&&this.t.get(this.variant.toString()))),this.variant==="disabled"&&h("mds-text",{key:"b688f630842947b4af2b1d2aad1cf307cf8b1588",typography:"option",truncate:"word"},h("span",{key:"44d7c71d688626076b8134d0d2719e783f88fc53",class:"text"},this.variant&&this.t.get(this.variant.toString()))),this.variant==="required"&&h("mds-text",{key:"8259cdae1dbf48aa6d47ad3295ffb87e4325a85d",typography:"option",truncate:"word"},h("span",{key:"bc3c35d2c24f972282d5d1728d8c948d8282dfcf",class:"text"},this.variant&&this.t.get(this.variant.toString()))),this.variant==="required-success"&&h("span",{key:"f07a68cccbf66683fbde70224a23de0d6b3d6d8d",class:"icon",innerHTML:miBaselineDone}),(this.variant==="count-almost"||this.variant==="count-almost-full"||this.variant==="count-empty"||this.variant==="count-full"||this.variant==="count-incomplete")&&h("mds-text",{key:"b3442ac2a3b391b336873cde3971c252b8155b1c",typography:"option",truncate:"word"},h("span",{key:"5778265a0bda735e0f8de2d561cdd1d2a49c9513",class:"text"},h("slot",{key:"8f46363dc4905255517f202d8b1843b3e6431b83"})))))};Object.defineProperty(t,"watchers",{get:function(){return{expanded:[{handleEcpandedChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputTipItem.style=mdsInputTipItemCss();export{MdsInputTip as mds_input_tip,MdsInputTipItem as mds_input_tip_item};
10
+ */this.variant="required"}t.prototype.handleEcpandedChanged=function(t){if(t===false){this.expanded=undefined}};t.prototype.render=function(){return h(Host,{key:"54a901f320e022d0939000c7a2f63cd48a1289f9","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast},h("div",{key:"7b3f24cef9fd616b4c6010327d6aaf29f9bed64a",class:"content"},this.variant==="text"&&h("mds-text",{key:"7c759464c8f51381b6e79fc17adc240c0bd26aee",typography:"option",truncate:"word"},h("span",{key:"86b063b536793f3e94f6b5587938cac6c95c2723",class:"text"},h("slot",{key:"ed7b39dec49b55a656c4d20f3eda076e3051b88f"}))),this.variant==="readonly"&&h("mds-text",{key:"b82960abfea10bb1e37d291b0ccc9fefaa6f73ea",typography:"option",truncate:"word"},h("span",{key:"23b8d435a02b9a9fd618883d275da655408dd4f5",class:"text"},this.variant&&this.t.get(this.variant.toString()))),this.variant==="disabled"&&h("mds-text",{key:"54a2fde10d46178719a38666b1a6befa8c9269d1",typography:"option",truncate:"word"},h("span",{key:"dead10a37f4ad0be7e2bfcc7bd1db49a3277a206",class:"text"},this.variant&&this.t.get(this.variant.toString()))),this.variant==="required"&&h("mds-text",{key:"59609354936a9f873c3d88dc3331d3ebd53933c9",typography:"option",truncate:"word"},h("span",{key:"0356a2e52cc4ebfca869dc616388e90d9d7a8c07",class:"text"},this.variant&&this.t.get(this.variant.toString()))),this.variant==="required-success"&&h("span",{key:"dba13be0ce60e6e9b7568975decac42b8242d650",class:"icon",innerHTML:miBaselineDone}),(this.variant==="count-almost"||this.variant==="count-almost-full"||this.variant==="count-empty"||this.variant==="count-full"||this.variant==="count-incomplete")&&h("mds-text",{key:"37175dd8e33b7728442e607e1cc34bec95d9a5da",typography:"option",truncate:"word"},h("span",{key:"ec87f7274c462782708094261194f38e3223aaa4",class:"text"},h("slot",{key:"6620df269116f733039d95f1f4b71ac27b271982"})))))};Object.defineProperty(t,"watchers",{get:function(){return{expanded:[{handleEcpandedChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputTipItem.style=mdsInputTipItemCss();export{MdsInputTip as mds_input_tip,MdsInputTipItem as mds_input_tip_item};
@@ -86,4 +86,4 @@ if(i.includes(".".concat(a.name.split(".").pop())))return true;return false};a.p
86
86
  // replace generic mime-type with related extensions
87
87
  if(a.includes("*")){return __spreadArray([],(i=genericMimeToExt.get(a.split("/")[0]))!==null&&i!==void 0?i:"",true)}return a})).map((function(a){return a.includes(".")?a.slice(1):Mime.getExtension(a)})).join(", ").toUpperCase()};a.prototype.sortByStatusAndName=function(a,i){if(a.status===i.status){return a.file.name.localeCompare(i.file.name)}return a.status===Status.SUCCESS?-1:1};a.prototype.sortById=function(a,i){return i.id-a.id};a.prototype.previewUrl=function(a){var i=this.previewUrls.get(a);if(i===undefined){i=URL.createObjectURL(a);this.previewUrls.set(a,i)}return i};a.prototype.revokePreviewUrls=function(a){var i=this;this.previewUrls.forEach((function(t,e){if(!a.has(e)){URL.revokeObjectURL(t);i.previewUrls.delete(e)}}))};a.prototype.isSortTabShown=function(){var a;
88
88
  // the type has no empty sort, but the attribute can be empty or removed
89
- var i=(a=this.sort)!==null&&a!==void 0?a:"";return i!==""&&this.files.length>1};a.prototype.render=function(){var a=this;var i;return h(Host,{key:"2644c38a7b6037c5376dfd31adc4c753f20f52bc"},h("div",{key:"b0ba5a112e01d0177f3ff6da57d51546d0abf355",class:clsx("drag-area",this.dragging&&"drag-area--on-drag-enter"),onDrop:this.onDropHandler,onDragOver:this.onDragOverHandler,onDragEnter:this.onDragEnterHandler,onDragLeave:this.onDragLeaveHandler},h("div",{key:"de532adb36df80996061b07e429b3b1312c3ea11",class:"main-action"},h("div",{key:"a10d7a5bf0eab47460e07a1021d0dd8eccbfba71",class:"main-action-icon"},h("mds-icon",{key:"7d68284af1d4f74712676a61d5230478b6649b13",class:"icon",name:miOutlineFileUpload})),h("mds-text",{key:"f37d1e61e598de34792368f123bcc1755d661f8b",animation:this.animateText?"yugop":"none",variant:"title",typography:"action",text:this.dragging?this.t.get("dragEnter"):this.t.get("clickOrDrag",{maxFiles:this.maxFiles})})),h("div",{key:"074afd34533489652602381303b1c967a7c71aed",class:"main-actions"},h("mds-button",{key:"28c3b07e927222db52675ae27044b83148563c5d",variant:"primary",disabled:this.isDisabled(),onClick:this.handleAddFileClick,label:this.files!=null?this.t.get("addFile",{maxFiles:this.maxFiles}):this.t.get("selectFile")}),this.files.length>0&&h("mds-button",{key:"a0f6ac365c6b1a1e7dd2a62204331f1ad4357d03",variant:"error",disabled:this.isDisabled(),onClick:this.onReset,label:this.t.get("cancel")})),h("div",{key:"9c82bbc279746a05148d1107f4568c08beae6141",class:"main-infos"},h("mds-progress",{key:"25c2636d434a46cb54a304f2e2192f70940e14fe","aria-hidden":"true",class:"progress-bar",progress:this.progress}),this.files.length<1?h("mds-text",{variant:"info",typography:"caption"},this.t.get("maxFilesUpload",{maxFiles:this.maxFiles})):h("mds-text",{variant:"info",typography:"caption"},((i=this.maxFiles)!==null&&i!==void 0?i:0)!==0&&!Number.isNaN(this.maxFiles)?this.t.get("currentFilesWithMax",{currentFiles:this.files.length,maxFiles:this.maxFiles}):this.t.get("currentFilesNoMax",{currentFiles:this.files.length})))),h("input",{key:"ecde7b22afc1ef5a6ab26d0d90a450cab30df028",type:"file",accept:this.accept,disabled:this.isDisabled(),hidden:true,ref:function(i){return a.nativeInput=i},onChange:this.onInputChange,multiple:this.maxFiles>1}),h("div",{key:"0b7cfe2d35557ce63475e0100dfd12379bd7e9a5",class:"additional-infos"},h("div",{key:"ed538f5298e23166895fc6810028143353a4fab0",class:clsx("file-specs",this.isSortTabShown()&&"file-specs-sort")},h("mds-text",{key:"3de05cd3fecfd9fc2ee3394d61b0ca32c59d21e8",variant:"info",typography:"caption"},this.extensions!==""?"".concat(this.t.get("canUpload")," ").concat(this.extensions):this.t.get("canUploadAll")),h("mds-text",{key:"ce8e3aec8d6cd776186e32ec70d08ae76eeff13a",variant:"info",typography:"caption"},this.t.get("maxFileSizePerFile",{maxFileSize:this.maxFileSize}))),this.isSortTabShown()&&h("mds-tab",{key:"f849f3703d7c2a4aee551ef3d513e062d074c65a",class:"action-sort",onMdsTabChange:this.handleTabChange},h("mds-tab-item",{key:"892e958efc1e37f32dd69929fdb10482fcb01879",disabled:this.isDisabled(),icon:iconSortById,selected:this.activeSort==="date",title:this.t.get("sortByDate"),value:"date"}),h("mds-tab-item",{key:"9f332bcf7146bb45e5ee4b0c02a70f3410c9cfd9",disabled:this.isDisabled(),icon:iconSortByStatus,selected:this.activeSort==="status",title:this.t.get("sortByStatus"),value:"status"}))),h("div",{key:"ea61a5d4a2f7d98e891b3b42c883c710606cc353",class:clsx("file-list",this.files.length>this.cssMinCols&&"file-list--more-items")},this.files.map((function(i){switch(i.status){case Status.ERROR:return h("mds-file-preview",{deletable:!a.isDisabled(),variant:"error",filename:i.file.name,filesize:i.file.size.toString(),onMdsFileDelete:a.handleFileDelete(i.key),message:a.t.get(i.errorKey)});case Status.SUCCESS:return h("mds-file-preview",{deletable:!a.isDisabled(),filename:i.file.name,filesize:i.file.size.toString(),onMdsFileDelete:a.handleFileDelete(i.key),src:a.previewUrl(i.file)})}}))))};Object.defineProperty(a,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{initialValue:[{updateInitialValue:0}],name:[{handleNameChange:0}],sort:[{handleSortChange:0}],maxFiles:[{handleMaxFilesChange:0}]}},enumerable:false,configurable:true});return a}();MdsInputUpload.style=mdsInputUploadCss();export{MdsInputUpload as mds_input_upload};
89
+ var i=(a=this.sort)!==null&&a!==void 0?a:"";return i!==""&&this.files.length>1};a.prototype.render=function(){var a=this;var i;return h(Host,{key:"e4d3a3aab59e94bf029a3c36e0f824b4262edca5"},h("div",{key:"656382073323d4b3827b3fab35ffedac163cfcb2",class:clsx("drag-area",this.dragging&&"drag-area--on-drag-enter"),onDrop:this.onDropHandler,onDragOver:this.onDragOverHandler,onDragEnter:this.onDragEnterHandler,onDragLeave:this.onDragLeaveHandler},h("div",{key:"7772e259152e7e4a711fdc097c4cf7ee0dd2582d",class:"main-action"},h("div",{key:"65e4cd88396ae57aa6f4fd619841d1b7426ceb23",class:"main-action-icon"},h("mds-icon",{key:"11dcada9754bfb4b469997a6a654bd627a626643",class:"icon",name:miOutlineFileUpload})),h("mds-text",{key:"af5bf08faa2891351a48d114f95b0c58af2f229d",animation:this.animateText?"yugop":"none",variant:"title",typography:"action",text:this.dragging?this.t.get("dragEnter"):this.t.get("clickOrDrag",{maxFiles:this.maxFiles})})),h("div",{key:"bf3ca87dff11738e3c120deb8ff81c314cfcf68e",class:"main-actions"},h("mds-button",{key:"9b63969161be650699480c7e63e39dbc7bab46eb",variant:"primary",disabled:this.isDisabled(),onClick:this.handleAddFileClick,label:this.files!=null?this.t.get("addFile",{maxFiles:this.maxFiles}):this.t.get("selectFile")}),this.files.length>0&&h("mds-button",{key:"04c4fa739edfac19d2d52dab7b6e62c699361c77",variant:"error",disabled:this.isDisabled(),onClick:this.onReset,label:this.t.get("cancel")})),h("div",{key:"a4b02a6236e5aa55f70fbb5cc4fadae76f990f03",class:"main-infos"},h("mds-progress",{key:"10a82e174f63863d5787c82548e69b33b98f86dc","aria-hidden":"true",class:"progress-bar",progress:this.progress}),this.files.length<1?h("mds-text",{variant:"info",typography:"caption"},this.t.get("maxFilesUpload",{maxFiles:this.maxFiles})):h("mds-text",{variant:"info",typography:"caption"},((i=this.maxFiles)!==null&&i!==void 0?i:0)!==0&&!Number.isNaN(this.maxFiles)?this.t.get("currentFilesWithMax",{currentFiles:this.files.length,maxFiles:this.maxFiles}):this.t.get("currentFilesNoMax",{currentFiles:this.files.length})))),h("input",{key:"c96003e307b7927902032824df5e03e3e2e0c06e",type:"file",accept:this.accept,disabled:this.isDisabled(),hidden:true,ref:function(i){return a.nativeInput=i},onChange:this.onInputChange,multiple:this.maxFiles>1}),h("div",{key:"bb5e01408704790d0a8fb10734ad939a5a50352a",class:"additional-infos"},h("div",{key:"48ba40aba47adc42c360606f6be54ba89f84c7af",class:clsx("file-specs",this.isSortTabShown()&&"file-specs-sort")},h("mds-text",{key:"6f4576e691f44a303c6bdb9bf56fcc76f9ac98b8",variant:"info",typography:"caption"},this.extensions!==""?"".concat(this.t.get("canUpload")," ").concat(this.extensions):this.t.get("canUploadAll")),h("mds-text",{key:"146a76a2d488e86175583f37a780f17ccd2dccc6",variant:"info",typography:"caption"},this.t.get("maxFileSizePerFile",{maxFileSize:this.maxFileSize}))),this.isSortTabShown()&&h("mds-tab",{key:"d2382cdee3beb1c2cf3518ec9dd68819a6bd8e0a",class:"action-sort",onMdsTabChange:this.handleTabChange},h("mds-tab-item",{key:"a3d6db1181d42945b386ba069421fbd1c0ca5d0f",disabled:this.isDisabled(),icon:iconSortById,selected:this.activeSort==="date",title:this.t.get("sortByDate"),value:"date"}),h("mds-tab-item",{key:"2199791ccb2b9a2687c1674110455df093d31432",disabled:this.isDisabled(),icon:iconSortByStatus,selected:this.activeSort==="status",title:this.t.get("sortByStatus"),value:"status"}))),h("div",{key:"9c981084ab4a5d488f3f3cf7fbd38c8f13a8022c",class:clsx("file-list",this.files.length>this.cssMinCols&&"file-list--more-items")},this.files.map((function(i){switch(i.status){case Status.ERROR:return h("mds-file-preview",{deletable:!a.isDisabled(),variant:"error",filename:i.file.name,filesize:i.file.size.toString(),onMdsFileDelete:a.handleFileDelete(i.key),message:a.t.get(i.errorKey)});case Status.SUCCESS:return h("mds-file-preview",{deletable:!a.isDisabled(),filename:i.file.name,filesize:i.file.size.toString(),onMdsFileDelete:a.handleFileDelete(i.key),src:a.previewUrl(i.file)})}}))))};Object.defineProperty(a,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{initialValue:[{updateInitialValue:0}],name:[{handleNameChange:0}],sort:[{handleSortChange:0}],maxFiles:[{handleMaxFilesChange:0}]}},enumerable:false,configurable:true});return a}();MdsInputUpload.style=mdsInputUploadCss();export{MdsInputUpload as mds_input_upload};