@maggioli-design-system/magma 2.10.0 → 2.12.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 (1405) hide show
  1. package/AGENTS.md +2 -2
  2. package/CHANGELOG.md +59 -0
  3. package/README.md +14 -7
  4. package/agents/assets.md +1 -1
  5. package/agents/color.md +3 -2
  6. package/agents/mcp.md +5 -5
  7. package/agents/patterns/actions.md +4 -3
  8. package/agents/patterns/app-shell.md +70 -22
  9. package/agents/patterns/density.md +4 -3
  10. package/agents/patterns/previews/actions/banner.dark.webp +0 -0
  11. package/agents/patterns/previews/actions/banner.light.webp +0 -0
  12. package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
  13. package/agents/patterns/previews/actions/confirm.light.webp +0 -0
  14. package/agents/patterns/previews/actions/danger-zone.dark.webp +0 -0
  15. package/agents/patterns/previews/actions/danger-zone.light.webp +0 -0
  16. package/agents/patterns/previews/actions/destructive-in-menu.dark.webp +0 -0
  17. package/agents/patterns/previews/actions/destructive-in-menu.light.webp +0 -0
  18. package/agents/patterns/previews/actions/dismiss-message.dark.webp +0 -0
  19. package/agents/patterns/previews/actions/dismiss-message.light.webp +0 -0
  20. package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
  21. package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
  22. package/agents/patterns/previews/actions/more-in-menu.dark.webp +0 -0
  23. package/agents/patterns/previews/actions/more-in-menu.light.webp +0 -0
  24. package/agents/patterns/previews/actions/part-primary.dark.webp +0 -0
  25. package/agents/patterns/previews/actions/part-primary.light.webp +0 -0
  26. package/agents/patterns/previews/actions/primary.dark.webp +0 -0
  27. package/agents/patterns/previews/actions/primary.light.webp +0 -0
  28. package/agents/patterns/previews/actions/remove.dark.webp +0 -0
  29. package/agents/patterns/previews/actions/remove.light.webp +0 -0
  30. package/agents/patterns/previews/actions/secondary.dark.webp +0 -0
  31. package/agents/patterns/previews/actions/secondary.light.webp +0 -0
  32. package/agents/patterns/previews/actions/stacked.dark.webp +0 -0
  33. package/agents/patterns/previews/actions/stacked.light.webp +0 -0
  34. package/agents/patterns/previews/actions/toast.dark.webp +0 -0
  35. package/agents/patterns/previews/actions/toast.light.webp +0 -0
  36. package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
  37. package/agents/patterns/previews/app-shell/back-office.html +2 -2
  38. package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
  39. package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
  40. package/agents/patterns/previews/app-shell/many-sections.html +1 -1
  41. package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
  42. package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
  43. package/agents/patterns/previews/app-shell/public-service.html +2 -2
  44. package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
  45. package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
  46. package/agents/patterns/previews/app-shell/section-menus.html +68 -0
  47. package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
  48. package/agents/patterns/previews/confirm-action/act-then-undo.dark.webp +0 -0
  49. package/agents/patterns/previews/confirm-action/act-then-undo.light.webp +0 -0
  50. package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
  51. package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
  52. package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
  53. package/agents/patterns/previews/confirm-action/ask-first-many.light.webp +0 -0
  54. package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
  55. package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
  56. package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
  57. package/agents/patterns/previews/confirm-action/make-reversible.light.webp +0 -0
  58. package/agents/patterns/previews/confirm-action/send-as-shown.dark.webp +0 -0
  59. package/agents/patterns/previews/confirm-action/send-as-shown.light.webp +0 -0
  60. package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
  61. package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
  62. package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
  63. package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
  64. package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
  65. package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
  66. package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
  67. package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
  68. package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
  69. package/agents/patterns/previews/empty-state/not-found.html +2 -2
  70. package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
  71. package/agents/patterns/previews/empty-state/one-line.dark.webp +0 -0
  72. package/agents/patterns/previews/empty-state/one-line.light.webp +0 -0
  73. package/agents/patterns/previews/error-recovery/action-another-way.dark.webp +0 -0
  74. package/agents/patterns/previews/error-recovery/action-another-way.light.webp +0 -0
  75. package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
  76. package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
  77. package/agents/patterns/previews/error-recovery/check-or-repeat.dark.webp +0 -0
  78. package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
  79. package/agents/patterns/previews/error-recovery/content-another-way.dark.webp +0 -0
  80. package/agents/patterns/previews/error-recovery/content-another-way.light.webp +0 -0
  81. package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
  82. package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
  83. package/agents/patterns/previews/error-recovery/retry-action.dark.webp +0 -0
  84. package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
  85. package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
  86. package/agents/patterns/previews/error-recovery/retry-content.light.webp +0 -0
  87. package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
  88. package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
  89. package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
  90. package/agents/patterns/previews/item-list/documents-of-a-request.light.webp +0 -0
  91. package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
  92. package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
  93. package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
  94. package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
  95. package/agents/patterns/previews/item-list/requests-to-assign.dark.webp +0 -0
  96. package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
  97. package/agents/patterns/previews/labels-and-values/data-of-a-contact.dark.webp +0 -0
  98. package/agents/patterns/previews/labels-and-values/data-of-a-contact.light.webp +0 -0
  99. package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
  100. package/agents/patterns/previews/labels-and-values/payment-before-paying.light.webp +0 -0
  101. package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
  102. package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
  103. package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
  104. package/agents/patterns/previews/list-with-filters/act-on-many.html +2 -2
  105. package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
  106. package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
  107. package/agents/patterns/previews/list-with-filters/find-and-open.html +2 -2
  108. package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
  109. package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
  110. package/agents/patterns/previews/list-with-filters/show-new-items.html +2 -2
  111. package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
  112. package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
  113. package/agents/patterns/previews/loading/await-and-say.light.webp +0 -0
  114. package/agents/patterns/previews/loading/await-the-control.dark.webp +0 -0
  115. package/agents/patterns/previews/loading/await-the-control.light.webp +0 -0
  116. package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
  117. package/agents/patterns/previews/loading/first-load.light.webp +0 -0
  118. package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
  119. package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
  120. package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
  121. package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
  122. package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
  123. package/agents/patterns/previews/loading/long-load.light.webp +0 -0
  124. package/agents/patterns/previews/loading/progress-in-place.dark.webp +0 -0
  125. package/agents/patterns/previews/loading/progress-in-place.light.webp +0 -0
  126. package/agents/patterns/previews/loading/run-in-background.dark.webp +0 -0
  127. package/agents/patterns/previews/loading/run-in-background.light.webp +0 -0
  128. package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
  129. package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
  130. package/agents/patterns/previews/message-placement/action-done-in-page.dark.webp +0 -0
  131. package/agents/patterns/previews/message-placement/action-done-in-page.light.webp +0 -0
  132. package/agents/patterns/previews/message-placement/action-done-in-part.dark.webp +0 -0
  133. package/agents/patterns/previews/message-placement/action-done-in-part.light.webp +0 -0
  134. package/agents/patterns/previews/message-placement/action-failed-elsewhere.dark.webp +0 -0
  135. package/agents/patterns/previews/message-placement/action-failed-elsewhere.light.webp +0 -0
  136. package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
  137. package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
  138. package/agents/patterns/previews/message-placement/action-later.dark.webp +0 -0
  139. package/agents/patterns/previews/message-placement/action-later.light.webp +0 -0
  140. package/agents/patterns/previews/message-placement/action-partial-elsewhere.dark.webp +0 -0
  141. package/agents/patterns/previews/message-placement/action-partial-elsewhere.light.webp +0 -0
  142. package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
  143. package/agents/patterns/previews/message-placement/action-partial-in-place.light.webp +0 -0
  144. package/agents/patterns/previews/message-placement/action-taken.dark.webp +0 -0
  145. package/agents/patterns/previews/message-placement/action-taken.light.webp +0 -0
  146. package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
  147. package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
  148. package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
  149. package/agents/patterns/previews/message-placement/app-failed.html +2 -2
  150. package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
  151. package/agents/patterns/previews/message-placement/app-info.dark.webp +0 -0
  152. package/agents/patterns/previews/message-placement/app-info.light.webp +0 -0
  153. package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
  154. package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
  155. package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
  156. package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
  157. package/agents/patterns/previews/message-placement/field-hint.dark.webp +0 -0
  158. package/agents/patterns/previews/message-placement/field-hint.light.webp +0 -0
  159. package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
  160. package/agents/patterns/previews/message-placement/field-valid.light.webp +0 -0
  161. package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
  162. package/agents/patterns/previews/message-placement/region-failed.light.webp +0 -0
  163. package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
  164. package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
  165. package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
  166. package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
  167. package/agents/patterns/previews/page-header/members-of-a-group.dark.webp +0 -0
  168. package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
  169. package/agents/patterns/previews/page-header/own-profile.dark.webp +0 -0
  170. package/agents/patterns/previews/page-header/own-profile.light.webp +0 -0
  171. package/agents/patterns/previews/page-header/request-from-the-list.dark.webp +0 -0
  172. package/agents/patterns/previews/page-header/request-from-the-list.light.webp +0 -0
  173. package/agents/patterns/previews/page-header/requests-of-an-office.dark.webp +0 -0
  174. package/agents/patterns/previews/page-header/requests-of-an-office.light.webp +0 -0
  175. package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
  176. package/agents/patterns/previews/record-detail/ask-for-words.html +2 -2
  177. package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
  178. package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
  179. package/agents/patterns/previews/record-detail/edit-data.html +2 -2
  180. package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
  181. package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
  182. package/agents/patterns/previews/record-detail/read-the-data.html +2 -2
  183. package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
  184. package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
  185. package/agents/patterns/previews/record-detail/record-changed.html +2 -2
  186. package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
  187. package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
  188. package/agents/patterns/previews/record-detail/run-at-once.html +2 -2
  189. package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
  190. package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
  191. package/agents/patterns/previews/record-detail/work-on-it.html +2 -2
  192. package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
  193. package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
  194. package/agents/patterns/previews/rhythm/between-containers.light.webp +0 -0
  195. package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
  196. package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
  197. package/agents/patterns/previews/rhythm/between-groups.dark.webp +0 -0
  198. package/agents/patterns/previews/rhythm/between-groups.light.webp +0 -0
  199. package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
  200. package/agents/patterns/previews/rhythm/between-sections.light.webp +0 -0
  201. package/agents/patterns/previews/rhythm/content-actions.dark.webp +0 -0
  202. package/agents/patterns/previews/rhythm/content-actions.light.webp +0 -0
  203. package/agents/patterns/previews/rhythm/inline.dark.webp +0 -0
  204. package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
  205. package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
  206. package/agents/patterns/previews/rhythm/inset.light.webp +0 -0
  207. package/agents/patterns/previews/rhythm/label-control.dark.webp +0 -0
  208. package/agents/patterns/previews/rhythm/label-control.light.webp +0 -0
  209. package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
  210. package/agents/patterns/previews/rhythm/title-content.light.webp +0 -0
  211. package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
  212. package/agents/patterns/previews/surfaces/band.html +2 -2
  213. package/agents/patterns/previews/surfaces/band.light.webp +0 -0
  214. package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
  215. package/agents/patterns/previews/surfaces/canvas.html +2 -2
  216. package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
  217. package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
  218. package/agents/patterns/previews/surfaces/card.light.webp +0 -0
  219. package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
  220. package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
  221. package/agents/patterns/previews/surfaces/edit-actions.dark.webp +0 -0
  222. package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
  223. package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
  224. package/agents/patterns/previews/surfaces/section.light.webp +0 -0
  225. package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
  226. package/agents/patterns/previews/titles/dialog.light.webp +0 -0
  227. package/agents/patterns/previews/titles/group.dark.webp +0 -0
  228. package/agents/patterns/previews/titles/group.light.webp +0 -0
  229. package/agents/patterns/previews/titles/page.dark.webp +0 -0
  230. package/agents/patterns/previews/titles/page.light.webp +0 -0
  231. package/agents/patterns/previews/titles/part.dark.webp +0 -0
  232. package/agents/patterns/previews/titles/part.light.webp +0 -0
  233. package/agents/patterns/previews/titles/section.dark.webp +0 -0
  234. package/agents/patterns/previews/titles/section.light.webp +0 -0
  235. package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
  236. package/agents/patterns/previews/widths/dialog.light.webp +0 -0
  237. package/agents/patterns/previews/widths/field.dark.webp +0 -0
  238. package/agents/patterns/previews/widths/field.light.webp +0 -0
  239. package/agents/patterns/previews/widths/form.dark.webp +0 -0
  240. package/agents/patterns/previews/widths/form.light.webp +0 -0
  241. package/agents/patterns/previews/widths/page.dark.webp +0 -0
  242. package/agents/patterns/previews/widths/page.html +2 -2
  243. package/agents/patterns/previews/widths/page.light.webp +0 -0
  244. package/agents/patterns/previews/widths/reading.dark.webp +0 -0
  245. package/agents/patterns/previews/widths/reading.light.webp +0 -0
  246. package/agents/patterns/rhythm.md +2 -1
  247. package/agents/patterns/surfaces.md +4 -3
  248. package/agents/patterns/titles.md +4 -3
  249. package/agents/patterns/widths.md +4 -3
  250. package/agents/patterns.md +8 -7
  251. package/agents/theming.md +21 -9
  252. package/dist/cjs/{aria-CzO5Rp1y.js → aria-r1anAHBr.js} +12 -0
  253. package/dist/cjs/{floating-controller-DaFymQCT.js → floating-controller-B4YhrWm8.js} +1 -1
  254. package/dist/cjs/{index-Bg68W-da.js → index-Csgx951d.js} +1 -1
  255. package/dist/cjs/loader.cjs.js +1 -1
  256. package/dist/cjs/{locale-CaR39iYg.js → locale-DgMC52AD.js} +1 -1
  257. package/dist/cjs/magma-components.cjs.js +1 -1
  258. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  259. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  260. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  261. package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
  262. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  263. package/dist/cjs/mds-banner_3.cjs.entry.js +5 -5
  264. package/dist/cjs/mds-book.cjs.entry.js +2 -2
  265. package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
  266. package/dist/cjs/mds-button-dropdown.cjs.entry.js +6 -4
  267. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  268. package/dist/cjs/mds-button_3.cjs.entry.js +78 -16
  269. package/dist/cjs/mds-calendar_2.cjs.entry.js +8 -8
  270. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  271. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  272. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  273. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  274. package/dist/cjs/mds-card.cjs.entry.js +2 -2
  275. package/dist/cjs/mds-details.cjs.entry.js +2 -2
  276. package/dist/cjs/mds-dropdown.cjs.entry.js +6 -6
  277. package/dist/cjs/mds-emoji.cjs.entry.js +41 -12
  278. package/dist/cjs/mds-entity.cjs.entry.js +2 -2
  279. package/dist/cjs/mds-file-preview.cjs.entry.js +5 -5
  280. package/dist/cjs/mds-file.cjs.entry.js +5 -5
  281. package/dist/cjs/mds-filter-item.cjs.entry.js +5 -5
  282. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  283. package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
  284. package/dist/cjs/mds-header.cjs.entry.js +3 -3
  285. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +3 -3
  286. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  287. package/dist/cjs/mds-img.cjs.entry.js +2 -2
  288. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  289. package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
  290. package/dist/cjs/mds-input-date.cjs.entry.js +6 -6
  291. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  292. package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
  293. package/dist/cjs/mds-input-range.cjs.entry.js +3 -3
  294. package/dist/cjs/mds-input-select.cjs.entry.js +6 -6
  295. package/dist/cjs/mds-input-switch_2.cjs.entry.js +6 -6
  296. package/dist/cjs/mds-input-tip_2.cjs.entry.js +5 -5
  297. package/dist/cjs/mds-input-upload.cjs.entry.js +7 -7
  298. package/dist/cjs/mds-input.cjs.entry.js +8 -8
  299. package/dist/cjs/mds-keyboard-key.cjs.entry.js +3 -3
  300. package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
  301. package/dist/cjs/mds-kpi-item.cjs.entry.js +3 -3
  302. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  303. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  304. package/dist/cjs/mds-link.cjs.entry.js +5 -5
  305. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  306. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  307. package/dist/cjs/mds-mention.cjs.entry.js +3 -3
  308. package/dist/cjs/mds-modal.cjs.entry.js +34 -15
  309. package/dist/cjs/mds-note.cjs.entry.js +4 -4
  310. package/dist/cjs/mds-notification.cjs.entry.js +3 -3
  311. package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
  312. package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
  313. package/dist/cjs/mds-policy-ai.cjs.entry.js +3 -3
  314. package/dist/cjs/mds-pref-animation.cjs.entry.js +3 -3
  315. package/dist/cjs/mds-pref-consumption.cjs.entry.js +3 -3
  316. package/dist/cjs/mds-pref-contrast.cjs.entry.js +3 -3
  317. package/dist/cjs/mds-pref-language-item.cjs.entry.js +3 -3
  318. package/dist/cjs/mds-pref-language.cjs.entry.js +3 -3
  319. package/dist/cjs/mds-pref-mode.cjs.entry.js +22 -13
  320. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +18 -4
  321. package/dist/cjs/mds-pref-theme.cjs.entry.js +42 -10
  322. package/dist/cjs/mds-pref.cjs.entry.js +3 -25
  323. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
  324. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  325. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  326. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  327. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  328. package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
  329. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  330. package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
  331. package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
  332. package/dist/cjs/mds-push-notification.cjs.entry.js +4 -4
  333. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  334. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  335. package/dist/cjs/mds-radial-menu.cjs.entry.js +5 -5
  336. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  337. package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
  338. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +3 -3
  339. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  340. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  341. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  342. package/dist/cjs/mds-tab_2.cjs.entry.js +6 -6
  343. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  344. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  345. package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
  346. package/dist/cjs/mds-table-header.cjs.entry.js +3 -3
  347. package/dist/cjs/mds-table-row.cjs.entry.js +4 -4
  348. package/dist/cjs/mds-table.cjs.entry.js +4 -4
  349. package/dist/cjs/mds-text.cjs.entry.js +2 -2
  350. package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
  351. package/dist/cjs/mds-toast.cjs.entry.js +3 -3
  352. package/dist/cjs/mds-tooltip.cjs.entry.js +5 -5
  353. package/dist/cjs/mds-tree-item.cjs.entry.js +3 -3
  354. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  355. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  356. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  357. package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
  358. package/dist/cjs/mds-zero.cjs.entry.js +3 -3
  359. package/dist/cjs/{preference-CQQ3eb9W.js → preference-DhNxLZ4R.js} +20 -0
  360. package/dist/collection/common/aria.js +12 -1
  361. package/dist/collection/common/preference.js +19 -1
  362. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  363. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  364. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  365. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  366. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  367. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  368. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  369. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  370. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  371. package/dist/collection/components/mds-author/documentation.json +1 -1
  372. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  373. package/dist/collection/components/mds-avatar/documentation.json +2 -2
  374. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-avatar-stack/documentation.json +2 -2
  376. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  377. package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
  378. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  379. package/dist/collection/components/mds-badge/documentation.json +1 -1
  380. package/dist/collection/components/mds-badge/mds-badge.css +15 -10
  381. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  382. package/dist/collection/components/mds-banner/documentation.json +2 -2
  383. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  384. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  385. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  386. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  387. package/dist/collection/components/mds-book/AGENTS.md +1 -1
  388. package/dist/collection/components/mds-book/documentation.json +1 -1
  389. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  390. package/dist/collection/components/mds-breadcrumb/documentation.json +2 -2
  391. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  392. package/dist/collection/components/mds-breadcrumb-item/documentation.json +2 -2
  393. package/dist/collection/components/mds-button/AGENTS.md +9 -4
  394. package/dist/collection/components/mds-button/documentation.json +100 -7
  395. package/dist/collection/components/mds-button/examples.md +73 -0
  396. package/dist/collection/components/mds-button/mds-button.css +122 -14
  397. package/dist/collection/components/mds-button/mds-button.js +139 -13
  398. package/dist/collection/components/mds-button/mistakes.md +35 -0
  399. package/dist/collection/components/mds-button-dropdown/AGENTS.md +7 -2
  400. package/dist/collection/components/mds-button-dropdown/documentation.json +97 -4
  401. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +69 -3
  402. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  403. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  404. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  405. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  406. package/dist/collection/components/mds-calendar/documentation.json +2 -2
  407. package/dist/collection/components/mds-calendar/mds-calendar.js +5 -5
  408. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  409. package/dist/collection/components/mds-calendar-cell/documentation.json +2 -2
  410. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  411. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  412. package/dist/collection/components/mds-card/documentation.json +1 -1
  413. package/dist/collection/components/mds-card/mds-card.js +1 -1
  414. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  415. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  416. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  417. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  418. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  419. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  420. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  421. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  422. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  423. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  424. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  425. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  426. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  427. package/dist/collection/components/mds-chip/documentation.json +2 -2
  428. package/dist/collection/components/mds-chip/mds-chip.css +3 -2
  429. package/dist/collection/components/mds-chip/mds-chip.js +1 -1
  430. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  431. package/dist/collection/components/mds-details/documentation.json +1 -1
  432. package/dist/collection/components/mds-details/mds-details.js +1 -1
  433. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  434. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  435. package/dist/collection/components/mds-dropdown/mds-dropdown.css +12 -14
  436. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  437. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  438. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  439. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  440. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  441. package/dist/collection/components/mds-entity/documentation.json +2 -2
  442. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  443. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  444. package/dist/collection/components/mds-file/documentation.json +1 -1
  445. package/dist/collection/components/mds-file/mds-file.css +3 -2
  446. package/dist/collection/components/mds-file/mds-file.js +1 -1
  447. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  448. package/dist/collection/components/mds-file-preview/documentation.json +2 -2
  449. package/dist/collection/components/mds-file-preview/mds-file-preview.css +3 -2
  450. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  451. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  452. package/dist/collection/components/mds-filter/documentation.json +1 -1
  453. package/dist/collection/components/mds-filter/mds-filter.css +3 -2
  454. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  455. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  456. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  457. package/dist/collection/components/mds-filter-item/mds-filter-item.css +3 -2
  458. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  459. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  460. package/dist/collection/components/mds-header/documentation.json +2 -2
  461. package/dist/collection/components/mds-header/mds-header.css +3 -2
  462. package/dist/collection/components/mds-header/mds-header.js +1 -1
  463. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  464. package/dist/collection/components/mds-header-bar/documentation.json +2 -2
  465. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  466. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  467. package/dist/collection/components/mds-help/documentation.json +1 -1
  468. package/dist/collection/components/mds-help/mds-help.js +1 -1
  469. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  470. package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
  471. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  472. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  473. package/dist/collection/components/mds-hr/documentation.json +1 -1
  474. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  475. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  476. package/dist/collection/components/mds-icon/documentation.json +1 -1
  477. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  478. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  479. package/dist/collection/components/mds-img/documentation.json +2 -2
  480. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  481. package/dist/collection/components/mds-input/documentation.json +2 -2
  482. package/dist/collection/components/mds-input/mds-input.css +16 -8
  483. package/dist/collection/components/mds-input/mds-input.js +3 -3
  484. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  485. package/dist/collection/components/mds-input-date/documentation.json +2 -2
  486. package/dist/collection/components/mds-input-date/mds-input-date.css +3 -2
  487. package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
  488. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  489. package/dist/collection/components/mds-input-date-range/documentation.json +2 -2
  490. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +3 -2
  491. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  492. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +2 -2
  493. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  494. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  495. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  496. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  497. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  498. package/dist/collection/components/mds-input-otp/documentation.json +2 -2
  499. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  500. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  501. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  502. package/dist/collection/components/mds-input-range/mds-input-range.css +3 -2
  503. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  504. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  505. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  506. package/dist/collection/components/mds-input-select/mds-input-select.css +15 -11
  507. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  508. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  509. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  510. package/dist/collection/components/mds-input-switch/mds-input-switch.css +3 -2
  511. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  512. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  513. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  514. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  515. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  516. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  517. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  518. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  519. package/dist/collection/components/mds-input-upload/documentation.json +2 -2
  520. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  521. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  522. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  523. package/dist/collection/components/mds-keyboard/mds-keyboard.css +3 -2
  524. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  525. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  526. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  527. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  528. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  529. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  530. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  531. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  532. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  533. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +9 -6
  534. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  535. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  536. package/dist/collection/components/mds-label/documentation.json +2 -2
  537. package/dist/collection/components/mds-label/mds-label.css +3 -2
  538. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  539. package/dist/collection/components/mds-link/documentation.json +1 -1
  540. package/dist/collection/components/mds-link/mds-link.js +3 -3
  541. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  542. package/dist/collection/components/mds-list/documentation.json +1 -1
  543. package/dist/collection/components/mds-list/mds-list.js +1 -1
  544. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  545. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  546. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  547. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  548. package/dist/collection/components/mds-mention/documentation.json +2 -2
  549. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  550. package/dist/collection/components/mds-modal/AGENTS.md +3 -3
  551. package/dist/collection/components/mds-modal/documentation.json +4 -4
  552. package/dist/collection/components/mds-modal/mds-modal.css +3 -2
  553. package/dist/collection/components/mds-modal/mds-modal.js +32 -13
  554. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  555. package/dist/collection/components/mds-note/documentation.json +2 -2
  556. package/dist/collection/components/mds-note/mds-note.css +3 -2
  557. package/dist/collection/components/mds-note/mds-note.js +1 -1
  558. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  559. package/dist/collection/components/mds-notification/documentation.json +1 -1
  560. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  561. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  562. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  563. package/dist/collection/components/mds-paginator/mds-paginator.css +3 -2
  564. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  565. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  566. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  567. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  568. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  569. package/dist/collection/components/mds-policy-ai/documentation.json +2 -2
  570. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  571. package/dist/collection/components/mds-pref/AGENTS.md +3 -3
  572. package/dist/collection/components/mds-pref/documentation.json +4 -9
  573. package/dist/collection/components/mds-pref/examples.md +1 -1
  574. package/dist/collection/components/mds-pref/mds-pref.js +1 -29
  575. package/dist/collection/components/mds-pref/mistakes.md +1 -1
  576. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  577. package/dist/collection/components/mds-pref-animation/documentation.json +2 -2
  578. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  579. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  580. package/dist/collection/components/mds-pref-consumption/documentation.json +2 -2
  581. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  582. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  583. package/dist/collection/components/mds-pref-contrast/documentation.json +2 -2
  584. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  585. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  586. package/dist/collection/components/mds-pref-language/documentation.json +2 -2
  587. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  588. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  589. package/dist/collection/components/mds-pref-language-item/documentation.json +2 -2
  590. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  591. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -2
  592. package/dist/collection/components/mds-pref-mode/documentation.json +5 -5
  593. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -1
  594. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +20 -11
  595. package/dist/collection/components/mds-pref-mode/mistakes.md +1 -1
  596. package/dist/collection/components/mds-pref-theme/AGENTS.md +7 -6
  597. package/dist/collection/components/mds-pref-theme/documentation.json +7 -7
  598. package/dist/collection/components/mds-pref-theme/examples.md +18 -21
  599. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +43 -11
  600. package/dist/collection/components/mds-pref-theme/mistakes.md +15 -15
  601. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +6 -6
  602. package/dist/collection/components/mds-pref-theme-item/documentation.json +9 -9
  603. package/dist/collection/components/mds-pref-theme-item/examples.md +18 -24
  604. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +13 -7
  605. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +19 -5
  606. package/dist/collection/components/mds-pref-theme-item/mistakes.md +14 -16
  607. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  608. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  609. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  610. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  611. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  612. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  613. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  614. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  615. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +3 -2
  616. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  617. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  618. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  619. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +3 -2
  620. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  621. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  622. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  623. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  624. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  625. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  626. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +3 -2
  627. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  628. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  629. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  630. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  631. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  632. package/dist/collection/components/mds-progress/documentation.json +1 -1
  633. package/dist/collection/components/mds-progress/mds-progress.css +3 -2
  634. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  635. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  636. package/dist/collection/components/mds-push-notification/documentation.json +2 -2
  637. package/dist/collection/components/mds-push-notification/mds-push-notification.css +3 -2
  638. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  639. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  640. package/dist/collection/components/mds-push-notification-item/documentation.json +2 -2
  641. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  642. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  643. package/dist/collection/components/mds-quote/documentation.json +1 -1
  644. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  645. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  646. package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
  647. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  648. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  649. package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
  650. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  651. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  652. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  653. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  654. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  655. package/dist/collection/components/mds-separator/documentation.json +1 -1
  656. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  657. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  658. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  659. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  660. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  661. package/dist/collection/components/mds-status-bar/documentation.json +2 -2
  662. package/dist/collection/components/mds-status-bar/mds-status-bar.css +3 -2
  663. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  664. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  665. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  666. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  667. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  668. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  669. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  670. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  671. package/dist/collection/components/mds-tab/documentation.json +1 -1
  672. package/dist/collection/components/mds-tab/mds-tab.css +3 -2
  673. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  674. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  675. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  676. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +3 -2
  677. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  678. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  679. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  680. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -2
  681. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  682. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  683. package/dist/collection/components/mds-tab-item/documentation.json +2 -2
  684. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  685. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  686. package/dist/collection/components/mds-table/documentation.json +1 -1
  687. package/dist/collection/components/mds-table/mds-table.css +6 -4
  688. package/dist/collection/components/mds-table/mds-table.js +1 -1
  689. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  690. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  691. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  692. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  693. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  694. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  695. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  696. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  697. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  698. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  699. package/dist/collection/components/mds-table-header/documentation.json +2 -2
  700. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  701. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  702. package/dist/collection/components/mds-table-header-cell/documentation.json +2 -2
  703. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  704. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  705. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  706. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  707. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  708. package/dist/collection/components/mds-text/documentation.json +1 -1
  709. package/dist/collection/components/mds-text/mds-text.js +1 -1
  710. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  711. package/dist/collection/components/mds-toast/documentation.json +2 -2
  712. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  713. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  714. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  715. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  716. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  717. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  718. package/dist/collection/components/mds-tooltip/mds-tooltip.css +4 -2
  719. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  720. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  721. package/dist/collection/components/mds-tree/documentation.json +1 -1
  722. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  723. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  724. package/dist/collection/components/mds-tree-item/documentation.json +2 -2
  725. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  726. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  727. package/dist/collection/components/mds-url-view/documentation.json +2 -2
  728. package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
  729. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  730. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  731. package/dist/collection/components/mds-usage/documentation.json +1 -1
  732. package/dist/collection/components/mds-usage/mds-usage.css +3 -2
  733. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  734. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  735. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  736. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  737. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  738. package/dist/collection/components/mds-zero/documentation.json +1 -1
  739. package/dist/collection/components/mds-zero/mds-zero.css +3 -2
  740. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  741. package/dist/collection/type/button.js +3 -0
  742. package/dist/components/index.js +1 -1
  743. package/dist/components/mds-accordion-item.js +1 -1
  744. package/dist/components/mds-accordion-timer-item.js +1 -1
  745. package/dist/components/mds-accordion.js +1 -1
  746. package/dist/components/mds-avatar-stack-item.js +1 -1
  747. package/dist/components/mds-avatar-stack.js +1 -1
  748. package/dist/components/mds-avatar.js +1 -1
  749. package/dist/components/mds-badge.js +1 -1
  750. package/dist/components/mds-banner.js +1 -1
  751. package/dist/components/mds-benchmark-bar.js +1 -1
  752. package/dist/components/mds-bibliography.js +1 -1
  753. package/dist/components/mds-book.js +1 -1
  754. package/dist/components/mds-breadcrumb-item.js +1 -1
  755. package/dist/components/mds-breadcrumb.js +1 -1
  756. package/dist/components/mds-button-dropdown.js +1 -1
  757. package/dist/components/mds-button-group.js +1 -1
  758. package/dist/components/mds-button.js +1 -1
  759. package/dist/components/mds-calendar-cell.js +1 -1
  760. package/dist/components/mds-calendar.js +1 -1
  761. package/dist/components/mds-card-content.js +1 -1
  762. package/dist/components/mds-card-footer.js +1 -1
  763. package/dist/components/mds-card-header.js +1 -1
  764. package/dist/components/mds-card-media.js +1 -1
  765. package/dist/components/mds-card.js +1 -1
  766. package/dist/components/mds-chip.js +1 -1
  767. package/dist/components/mds-details.js +1 -1
  768. package/dist/components/mds-dropdown.js +1 -1
  769. package/dist/components/mds-emoji.js +5 -5
  770. package/dist/components/mds-entity.js +1 -1
  771. package/dist/components/mds-file-preview.js +1 -1
  772. package/dist/components/mds-file.js +1 -1
  773. package/dist/components/mds-filter-item.js +1 -1
  774. package/dist/components/mds-filter.js +1 -1
  775. package/dist/components/mds-header-bar.js +1 -1
  776. package/dist/components/mds-header.js +1 -1
  777. package/dist/components/mds-help.js +1 -1
  778. package/dist/components/mds-horizontal-scroll.js +1 -1
  779. package/dist/components/mds-hr.js +1 -1
  780. package/dist/components/mds-icon.js +1 -1
  781. package/dist/components/mds-img.js +1 -1
  782. package/dist/components/mds-input-date-range-preselection.js +1 -1
  783. package/dist/components/mds-input-date-range.js +1 -1
  784. package/dist/components/mds-input-date.js +1 -1
  785. package/dist/components/mds-input-field.js +1 -1
  786. package/dist/components/mds-input-otp.js +1 -1
  787. package/dist/components/mds-input-range.js +1 -1
  788. package/dist/components/mds-input-select.js +1 -1
  789. package/dist/components/mds-input-switch.js +1 -1
  790. package/dist/components/mds-input-tip-item.js +1 -1
  791. package/dist/components/mds-input-tip.js +1 -1
  792. package/dist/components/mds-input-upload.js +1 -1
  793. package/dist/components/mds-input.js +1 -1
  794. package/dist/components/mds-keyboard-key.js +1 -1
  795. package/dist/components/mds-keyboard.js +1 -1
  796. package/dist/components/mds-kpi-item.js +1 -1
  797. package/dist/components/mds-kpi.js +1 -1
  798. package/dist/components/mds-label.js +1 -1
  799. package/dist/components/mds-link.js +1 -1
  800. package/dist/components/mds-list-item.js +1 -1
  801. package/dist/components/mds-list.js +1 -1
  802. package/dist/components/mds-mention.js +1 -1
  803. package/dist/components/mds-modal.js +1 -1
  804. package/dist/components/mds-note.js +1 -1
  805. package/dist/components/mds-notification.js +1 -1
  806. package/dist/components/mds-paginator-item.js +1 -1
  807. package/dist/components/mds-paginator.js +1 -1
  808. package/dist/components/mds-policy-ai.js +1 -1
  809. package/dist/components/mds-pref-animation.js +1 -1
  810. package/dist/components/mds-pref-consumption.js +1 -1
  811. package/dist/components/mds-pref-contrast.js +1 -1
  812. package/dist/components/mds-pref-language-item.js +1 -1
  813. package/dist/components/mds-pref-language.js +1 -1
  814. package/dist/components/mds-pref-mode.js +1 -1
  815. package/dist/components/mds-pref-theme-item.js +1 -1
  816. package/dist/components/mds-pref-theme.js +1 -1
  817. package/dist/components/mds-pref.js +1 -1
  818. package/dist/components/mds-price-table-features-cell.js +1 -1
  819. package/dist/components/mds-price-table-features-row.js +1 -1
  820. package/dist/components/mds-price-table-features.js +1 -1
  821. package/dist/components/mds-price-table-header.js +1 -1
  822. package/dist/components/mds-price-table-list-item.js +1 -1
  823. package/dist/components/mds-price-table-list.js +1 -1
  824. package/dist/components/mds-price-table.js +1 -1
  825. package/dist/components/mds-progress.js +1 -1
  826. package/dist/components/mds-push-notification-item.js +1 -1
  827. package/dist/components/mds-push-notification.js +1 -1
  828. package/dist/components/mds-quote.js +1 -1
  829. package/dist/components/mds-radial-menu-item.js +1 -1
  830. package/dist/components/mds-radial-menu.js +1 -1
  831. package/dist/components/mds-radial-progress.js +1 -1
  832. package/dist/components/mds-separator.js +1 -1
  833. package/dist/components/mds-spinner.js +1 -1
  834. package/dist/components/mds-status-bar.js +1 -1
  835. package/dist/components/mds-stepper-bar-item.js +1 -1
  836. package/dist/components/mds-stepper-bar.js +1 -1
  837. package/dist/components/mds-tab-bar-item.js +1 -1
  838. package/dist/components/mds-tab-bar.js +1 -1
  839. package/dist/components/mds-tab-item.js +1 -1
  840. package/dist/components/mds-tab.js +1 -1
  841. package/dist/components/mds-table-body.js +1 -1
  842. package/dist/components/mds-table-cell.js +1 -1
  843. package/dist/components/mds-table-footer.js +1 -1
  844. package/dist/components/mds-table-header-cell.js +1 -1
  845. package/dist/components/mds-table-header.js +1 -1
  846. package/dist/components/mds-table-row.js +1 -1
  847. package/dist/components/mds-table.js +1 -1
  848. package/dist/components/mds-text.js +1 -1
  849. package/dist/components/mds-toast-region.js +1 -1
  850. package/dist/components/mds-toast.js +1 -1
  851. package/dist/components/mds-tooltip.js +1 -1
  852. package/dist/components/mds-tree-item.js +1 -1
  853. package/dist/components/mds-tree.js +1 -1
  854. package/dist/components/mds-url-view.js +1 -1
  855. package/dist/components/mds-usage.js +1 -1
  856. package/dist/components/mds-video-wall.js +1 -1
  857. package/dist/components/mds-zero.js +1 -1
  858. package/dist/components/p-3rr6yzu-.js +1 -0
  859. package/dist/components/{p-DvDB_L_5.js → p-BBZyH3mn.js} +1 -1
  860. package/dist/components/{p-C7rDjrH4.js → p-BBrPpCNK.js} +1 -1
  861. package/dist/components/p-BE05D6Pe.js +1 -0
  862. package/dist/components/{p-ikNX7XDH.js → p-BI1ShBQG.js} +1 -1
  863. package/dist/components/p-BQSO-HFx.js +1 -0
  864. package/dist/components/{p-CVRN4LDc.js → p-Bbrei_yQ.js} +1 -1
  865. package/dist/components/{p-DhpcFZrc.js → p-BpND63Kl.js} +1 -1
  866. package/dist/components/{p-DqdlT4UG.js → p-BuhoBOYR.js} +1 -1
  867. package/dist/components/p-Bw-eI2ca.js +1 -0
  868. package/dist/components/{p-DTtmr_Y9.js → p-BwwiliWt.js} +1 -1
  869. package/dist/components/{p-COkn4Vtq.js → p-C6LU1s8K.js} +1 -1
  870. package/dist/components/{p-Br6-kva-.js → p-CWOW2Vna.js} +1 -1
  871. package/dist/components/{p-B6AFku7a.js → p-CZX6N7ce.js} +1 -1
  872. package/dist/components/{p-BFDRt7-n.js → p-CZwKeFQT.js} +1 -1
  873. package/dist/components/{p-CKnbQQUb.js → p-ClvoVgmw.js} +1 -1
  874. package/dist/{magma-components/p-CLhuNxYQ.js → components/p-CpuUmvdl.js} +1 -1
  875. package/dist/components/{p-C_Pc94vn.js → p-CrOv4KdL.js} +1 -1
  876. package/dist/components/{p-CZjwSwe5.js → p-CvbuCEYD.js} +2 -2
  877. package/dist/components/{p-D8CloC8I.js → p-DN1yF-xO.js} +1 -1
  878. package/dist/components/{p-4LbHmDXv.js → p-DUgCzZw9.js} +1 -1
  879. package/dist/components/{p-DJd8f8dz.js → p-DWOg4-dH.js} +1 -1
  880. package/dist/components/{p-FsctOap9.js → p-DZ4_zLTp.js} +1 -1
  881. package/dist/components/{p-gLo3t_qO.js → p-Do7IoDLD.js} +2 -2
  882. package/dist/components/{p-BiW6luA5.js → p-DrtIqOQn.js} +1 -1
  883. package/dist/components/p-DwKxtKwS.js +1 -0
  884. package/dist/components/{p-DOdUioZq.js → p-F0qhFsF0.js} +1 -1
  885. package/dist/components/p-J48g0t65.js +1 -0
  886. package/dist/components/{p-BaynxVRZ.js → p-NNPsVjnj.js} +1 -1
  887. package/dist/components/{p-CP5Qw9_T.js → p-UfaGafRS.js} +1 -1
  888. package/dist/components/{p-DdzJfsw7.js → p-Vgo7t88R.js} +1 -1
  889. package/dist/components/{p-D_RIY063.js → p-j5Hnbfv9.js} +1 -1
  890. package/dist/components/{p-DW6ie49j.js → p-k_Ly95Tj.js} +1 -1
  891. package/dist/components/{p-DlglisEn.js → p-lXKBo6V3.js} +1 -1
  892. package/dist/components/{p-DGhzWuCS.js → p-oFHbHRLX.js} +1 -1
  893. package/dist/documentation.json +269 -83
  894. package/dist/esm/{aria-Cvhn9asj.js → aria-DwKxtKwS.js} +12 -1
  895. package/dist/esm/{floating-controller-BVlbYYkf.js → floating-controller-xixU_s1w.js} +1 -1
  896. package/dist/esm/{index-BJVvHlvf.js → index-DEL0bLpb.js} +1 -1
  897. package/dist/esm/loader.js +1 -1
  898. package/dist/esm/{locale-B6cOkl4I.js → locale-DhP1Ge2o.js} +1 -1
  899. package/dist/esm/magma-components.js +1 -1
  900. package/dist/esm/mds-accordion-item.entry.js +1 -1
  901. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  902. package/dist/esm/mds-accordion.entry.js +1 -1
  903. package/dist/esm/mds-avatar.entry.js +1 -1
  904. package/dist/esm/mds-badge.entry.js +2 -2
  905. package/dist/esm/mds-banner_3.entry.js +5 -5
  906. package/dist/esm/mds-book.entry.js +2 -2
  907. package/dist/esm/mds-breadcrumb.entry.js +2 -2
  908. package/dist/esm/mds-button-dropdown.entry.js +6 -4
  909. package/dist/esm/mds-button-group.entry.js +1 -1
  910. package/dist/esm/mds-button_3.entry.js +78 -16
  911. package/dist/esm/mds-calendar_2.entry.js +8 -8
  912. package/dist/esm/mds-card-content.entry.js +1 -1
  913. package/dist/esm/mds-card-footer.entry.js +1 -1
  914. package/dist/esm/mds-card-header.entry.js +1 -1
  915. package/dist/esm/mds-card-media.entry.js +1 -1
  916. package/dist/esm/mds-card.entry.js +2 -2
  917. package/dist/esm/mds-details.entry.js +2 -2
  918. package/dist/esm/mds-dropdown.entry.js +6 -6
  919. package/dist/esm/mds-emoji.entry.js +41 -12
  920. package/dist/esm/mds-entity.entry.js +2 -2
  921. package/dist/esm/mds-file-preview.entry.js +5 -5
  922. package/dist/esm/mds-file.entry.js +5 -5
  923. package/dist/esm/mds-filter-item.entry.js +5 -5
  924. package/dist/esm/mds-filter.entry.js +4 -4
  925. package/dist/esm/mds-header-bar.entry.js +3 -3
  926. package/dist/esm/mds-header.entry.js +3 -3
  927. package/dist/esm/mds-horizontal-scroll.entry.js +3 -3
  928. package/dist/esm/mds-hr.entry.js +2 -2
  929. package/dist/esm/mds-img.entry.js +2 -2
  930. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  931. package/dist/esm/mds-input-date-range.entry.js +4 -4
  932. package/dist/esm/mds-input-date.entry.js +6 -6
  933. package/dist/esm/mds-input-field.entry.js +1 -1
  934. package/dist/esm/mds-input-otp.entry.js +3 -3
  935. package/dist/esm/mds-input-range.entry.js +3 -3
  936. package/dist/esm/mds-input-select.entry.js +6 -6
  937. package/dist/esm/mds-input-switch_2.entry.js +6 -6
  938. package/dist/esm/mds-input-tip_2.entry.js +5 -5
  939. package/dist/esm/mds-input-upload.entry.js +7 -7
  940. package/dist/esm/mds-input.entry.js +8 -8
  941. package/dist/esm/mds-keyboard-key.entry.js +3 -3
  942. package/dist/esm/mds-keyboard.entry.js +4 -4
  943. package/dist/esm/mds-kpi-item.entry.js +3 -3
  944. package/dist/esm/mds-kpi.entry.js +1 -1
  945. package/dist/esm/mds-label.entry.js +3 -3
  946. package/dist/esm/mds-link.entry.js +5 -5
  947. package/dist/esm/mds-list-item.entry.js +1 -1
  948. package/dist/esm/mds-list.entry.js +1 -1
  949. package/dist/esm/mds-mention.entry.js +3 -3
  950. package/dist/esm/mds-modal.entry.js +34 -15
  951. package/dist/esm/mds-note.entry.js +4 -4
  952. package/dist/esm/mds-notification.entry.js +3 -3
  953. package/dist/esm/mds-paginator-item.entry.js +2 -2
  954. package/dist/esm/mds-paginator.entry.js +4 -4
  955. package/dist/esm/mds-policy-ai.entry.js +3 -3
  956. package/dist/esm/mds-pref-animation.entry.js +3 -3
  957. package/dist/esm/mds-pref-consumption.entry.js +3 -3
  958. package/dist/esm/mds-pref-contrast.entry.js +3 -3
  959. package/dist/esm/mds-pref-language-item.entry.js +3 -3
  960. package/dist/esm/mds-pref-language.entry.js +3 -3
  961. package/dist/esm/mds-pref-mode.entry.js +22 -13
  962. package/dist/esm/mds-pref-theme-item.entry.js +18 -4
  963. package/dist/esm/mds-pref-theme.entry.js +42 -10
  964. package/dist/esm/mds-pref.entry.js +3 -25
  965. package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
  966. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  967. package/dist/esm/mds-price-table-features.entry.js +2 -2
  968. package/dist/esm/mds-price-table-header.entry.js +1 -1
  969. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  970. package/dist/esm/mds-price-table-list.entry.js +3 -3
  971. package/dist/esm/mds-price-table.entry.js +1 -1
  972. package/dist/esm/mds-progress_2.entry.js +4 -4
  973. package/dist/esm/mds-push-notification-item.entry.js +4 -4
  974. package/dist/esm/mds-push-notification.entry.js +4 -4
  975. package/dist/esm/mds-quote.entry.js +2 -2
  976. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  977. package/dist/esm/mds-radial-menu.entry.js +5 -5
  978. package/dist/esm/mds-separator.entry.js +2 -2
  979. package/dist/esm/mds-status-bar.entry.js +3 -3
  980. package/dist/esm/mds-stepper-bar-item.entry.js +3 -3
  981. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  982. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  983. package/dist/esm/mds-tab-bar.entry.js +3 -3
  984. package/dist/esm/mds-tab_2.entry.js +6 -6
  985. package/dist/esm/mds-table-body.entry.js +2 -2
  986. package/dist/esm/mds-table-footer.entry.js +2 -2
  987. package/dist/esm/mds-table-header-cell.entry.js +2 -2
  988. package/dist/esm/mds-table-header.entry.js +3 -3
  989. package/dist/esm/mds-table-row.entry.js +4 -4
  990. package/dist/esm/mds-table.entry.js +4 -4
  991. package/dist/esm/mds-text.entry.js +2 -2
  992. package/dist/esm/mds-toast-region.entry.js +1 -1
  993. package/dist/esm/mds-toast.entry.js +3 -3
  994. package/dist/esm/mds-tooltip.entry.js +5 -5
  995. package/dist/esm/mds-tree-item.entry.js +3 -3
  996. package/dist/esm/mds-tree.entry.js +1 -1
  997. package/dist/esm/mds-url-view.entry.js +4 -4
  998. package/dist/esm/mds-usage.entry.js +4 -4
  999. package/dist/esm/mds-video-wall.entry.js +2 -2
  1000. package/dist/esm/mds-zero.entry.js +3 -3
  1001. package/dist/esm/{preference-C5XjgGCb.js → preference-C8foBO86.js} +19 -1
  1002. package/dist/esm-es5/aria-DwKxtKwS.js +12 -0
  1003. package/dist/esm-es5/{floating-controller-BVlbYYkf.js → floating-controller-xixU_s1w.js} +1 -1
  1004. package/dist/esm-es5/{index-BJVvHlvf.js → index-DEL0bLpb.js} +1 -1
  1005. package/dist/esm-es5/loader.js +1 -1
  1006. package/dist/esm-es5/{locale-B6cOkl4I.js → locale-DhP1Ge2o.js} +18 -18
  1007. package/dist/esm-es5/magma-components.js +1 -1
  1008. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  1009. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  1010. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  1011. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  1012. package/dist/esm-es5/mds-badge.entry.js +1 -1
  1013. package/dist/esm-es5/mds-banner_3.entry.js +4 -4
  1014. package/dist/esm-es5/mds-book.entry.js +1 -1
  1015. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  1016. package/dist/esm-es5/mds-button-dropdown.entry.js +6 -4
  1017. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  1018. package/dist/esm-es5/mds-button_3.entry.js +39 -17
  1019. package/dist/esm-es5/mds-calendar_2.entry.js +4 -4
  1020. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  1021. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  1022. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  1023. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  1024. package/dist/esm-es5/mds-card.entry.js +2 -2
  1025. package/dist/esm-es5/mds-details.entry.js +2 -2
  1026. package/dist/esm-es5/mds-dropdown.entry.js +13 -13
  1027. package/dist/esm-es5/mds-emoji.entry.js +111 -109
  1028. package/dist/esm-es5/mds-entity.entry.js +1 -1
  1029. package/dist/esm-es5/mds-file-preview.entry.js +7 -7
  1030. package/dist/esm-es5/mds-file.entry.js +3 -3
  1031. package/dist/esm-es5/mds-filter-item.entry.js +2 -2
  1032. package/dist/esm-es5/mds-filter.entry.js +2 -2
  1033. package/dist/esm-es5/mds-header-bar.entry.js +2 -2
  1034. package/dist/esm-es5/mds-header.entry.js +2 -2
  1035. package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
  1036. package/dist/esm-es5/mds-hr.entry.js +1 -1
  1037. package/dist/esm-es5/mds-img.entry.js +1 -1
  1038. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +3 -3
  1039. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  1040. package/dist/esm-es5/mds-input-date.entry.js +3 -3
  1041. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  1042. package/dist/esm-es5/mds-input-otp.entry.js +2 -2
  1043. package/dist/esm-es5/mds-input-range.entry.js +2 -2
  1044. package/dist/esm-es5/mds-input-select.entry.js +10 -10
  1045. package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
  1046. package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
  1047. package/dist/esm-es5/mds-input-upload.entry.js +2 -2
  1048. package/dist/esm-es5/mds-input.entry.js +3 -3
  1049. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1050. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  1051. package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
  1052. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1053. package/dist/esm-es5/mds-label.entry.js +1 -1
  1054. package/dist/esm-es5/mds-link.entry.js +2 -2
  1055. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  1056. package/dist/esm-es5/mds-list.entry.js +1 -1
  1057. package/dist/esm-es5/mds-mention.entry.js +2 -2
  1058. package/dist/esm-es5/mds-modal.entry.js +23 -11
  1059. package/dist/esm-es5/mds-note.entry.js +2 -2
  1060. package/dist/esm-es5/mds-notification.entry.js +2 -2
  1061. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  1062. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1063. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  1064. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  1065. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  1066. package/dist/esm-es5/mds-pref-contrast.entry.js +3 -3
  1067. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  1068. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  1069. package/dist/esm-es5/mds-pref-mode.entry.js +13 -3
  1070. package/dist/esm-es5/mds-pref-theme-item.entry.js +12 -5
  1071. package/dist/esm-es5/mds-pref-theme.entry.js +26 -8
  1072. package/dist/esm-es5/mds-pref.entry.js +4 -12
  1073. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1074. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1075. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1076. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1077. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  1078. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  1079. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1080. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  1081. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  1082. package/dist/esm-es5/mds-push-notification.entry.js +6 -6
  1083. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1084. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  1085. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  1086. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1087. package/dist/esm-es5/mds-status-bar.entry.js +3 -3
  1088. package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
  1089. package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
  1090. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  1091. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  1092. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  1093. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1094. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  1095. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  1096. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  1097. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  1098. package/dist/esm-es5/mds-table.entry.js +2 -2
  1099. package/dist/esm-es5/mds-text.entry.js +2 -2
  1100. package/dist/esm-es5/mds-toast-region.entry.js +1 -1
  1101. package/dist/esm-es5/mds-toast.entry.js +2 -2
  1102. package/dist/esm-es5/mds-tooltip.entry.js +2 -2
  1103. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  1104. package/dist/esm-es5/mds-tree.entry.js +1 -1
  1105. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1106. package/dist/esm-es5/mds-usage.entry.js +3 -3
  1107. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1108. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1109. package/dist/esm-es5/{preference-C5XjgGCb.js → preference-C8foBO86.js} +14 -4
  1110. package/dist/hydrate/index.js +410 -231
  1111. package/dist/hydrate/index.mjs +410 -231
  1112. package/dist/lint/core/patterns.d.ts +56 -16
  1113. package/dist/lint/core/patterns.js +145 -38
  1114. package/dist/lint/mcp/tools.json +8 -8
  1115. package/dist/magma-components/magma-components.esm.js +1 -1
  1116. package/dist/magma-components/{p-0384db44.system.entry.js → p-00d2ef14.system.entry.js} +5 -5
  1117. package/dist/magma-components/{p-ff65fc97.entry.js → p-02aed12a.entry.js} +1 -1
  1118. package/dist/magma-components/{p-7c055074.entry.js → p-08f7a84b.entry.js} +1 -1
  1119. package/dist/magma-components/{p-8239e526.system.entry.js → p-09a7c1de.system.entry.js} +1 -1
  1120. package/dist/magma-components/{p-18244fd7.system.entry.js → p-0da5c696.system.entry.js} +3 -3
  1121. package/dist/magma-components/{p-5575f198.entry.js → p-0df067b4.entry.js} +1 -1
  1122. package/dist/magma-components/{p-b6412ddd.system.entry.js → p-0e1d239b.system.entry.js} +1 -1
  1123. package/dist/magma-components/{p-ac161cb5.entry.js → p-0f4c2de6.entry.js} +1 -1
  1124. package/dist/magma-components/{p-0c8f22dc.system.entry.js → p-11456781.system.entry.js} +2 -2
  1125. package/dist/magma-components/{p-a2e3a545.entry.js → p-14de26d5.entry.js} +1 -1
  1126. package/dist/magma-components/p-163eccbd.entry.js +1 -0
  1127. package/dist/magma-components/{p-844bce77.entry.js → p-167ba07a.entry.js} +1 -1
  1128. package/dist/magma-components/{p-f4fc9f29.system.entry.js → p-16bbff4e.system.entry.js} +1 -1
  1129. package/dist/magma-components/{p-e059aaa9.entry.js → p-17249b74.entry.js} +1 -1
  1130. package/dist/magma-components/{p-95ddc950.system.entry.js → p-188a55ac.system.entry.js} +3 -3
  1131. package/dist/magma-components/{p-c9bd81c5.system.entry.js → p-1a53d9d0.system.entry.js} +7 -7
  1132. package/dist/magma-components/{p-27254fbd.entry.js → p-1cc379d6.entry.js} +1 -1
  1133. package/dist/magma-components/{p-ae9735e4.system.entry.js → p-1dc0d59c.system.entry.js} +2 -2
  1134. package/dist/magma-components/{p-384d93dc.system.entry.js → p-1e24aafa.system.entry.js} +1 -1
  1135. package/dist/magma-components/p-223efc32.entry.js +1 -0
  1136. package/dist/magma-components/{p-1467ded5.system.entry.js → p-2454e4cd.system.entry.js} +2 -2
  1137. package/dist/magma-components/{p-18b27217.entry.js → p-24a69c45.entry.js} +1 -1
  1138. package/dist/magma-components/{p-fae9612b.system.entry.js → p-24fb2c5c.system.entry.js} +2 -2
  1139. package/dist/magma-components/{p-ef1bdd44.entry.js → p-259d9380.entry.js} +1 -1
  1140. package/dist/magma-components/{p-4fc0e294.entry.js → p-26b08e33.entry.js} +1 -1
  1141. package/dist/magma-components/{p-c35ea44d.system.entry.js → p-27a32865.system.entry.js} +2 -2
  1142. package/dist/magma-components/{p-299dab17.entry.js → p-2940499f.entry.js} +1 -1
  1143. package/dist/magma-components/{p-6129954d.system.entry.js → p-2a5167e3.system.entry.js} +1 -1
  1144. package/dist/magma-components/{p-ad13ade5.system.entry.js → p-2e825656.system.entry.js} +3 -3
  1145. package/dist/magma-components/{p-308a4ae5.system.entry.js → p-2f4a7253.system.entry.js} +1 -1
  1146. package/dist/magma-components/{p-29dd6d94.entry.js → p-2ffa4d4a.entry.js} +1 -1
  1147. package/dist/magma-components/{p-d360e4c5.entry.js → p-32b3ad6f.entry.js} +1 -1
  1148. package/dist/magma-components/{p-5686da49.system.entry.js → p-33129e0c.system.entry.js} +3 -3
  1149. package/dist/magma-components/{p-9c2b67fc.system.entry.js → p-372fa5d4.system.entry.js} +3 -3
  1150. package/dist/magma-components/p-380adee8.system.entry.js +5 -0
  1151. package/dist/magma-components/{p-b0749f83.system.entry.js → p-390d0672.system.entry.js} +3 -3
  1152. package/dist/magma-components/p-397c0686.entry.js +1 -0
  1153. package/dist/magma-components/{p-e0049e96.system.entry.js → p-3a836de8.system.entry.js} +1 -1
  1154. package/dist/magma-components/{p-fff26731.system.entry.js → p-3ba14295.system.entry.js} +2 -2
  1155. package/dist/magma-components/{p-741f8f45.system.entry.js → p-3bf4f012.system.entry.js} +2 -2
  1156. package/dist/magma-components/{p-5d56a7cd.system.entry.js → p-3c911608.system.entry.js} +3 -3
  1157. package/dist/magma-components/{p-aac622ef.system.entry.js → p-3cf8ed46.system.entry.js} +1 -1
  1158. package/dist/magma-components/{p-61e11cd0.system.entry.js → p-3ddae677.system.entry.js} +3 -3
  1159. package/dist/magma-components/{p-2d2cdf0d.entry.js → p-3de37b32.entry.js} +1 -1
  1160. package/dist/magma-components/{p-90d50492.system.entry.js → p-3f17a06f.system.entry.js} +2 -2
  1161. package/dist/magma-components/{p-4f0153cd.entry.js → p-40c59c18.entry.js} +1 -1
  1162. package/dist/magma-components/p-411fca2f.system.entry.js +14 -0
  1163. package/dist/magma-components/{p-7f418ae1.entry.js → p-43c307f5.entry.js} +1 -1
  1164. package/dist/magma-components/{p-14122f2d.entry.js → p-440d7942.entry.js} +1 -1
  1165. package/dist/magma-components/{p-6a994dc1.entry.js → p-4541c233.entry.js} +1 -1
  1166. package/dist/magma-components/p-45c26a24.system.entry.js +21 -0
  1167. package/dist/magma-components/{p-948ecde4.entry.js → p-4612bc78.entry.js} +2 -2
  1168. package/dist/magma-components/{p-be2ca282.entry.js → p-4718a71d.entry.js} +1 -1
  1169. package/dist/magma-components/{p-8a8cad6c.system.entry.js → p-48a1871f.system.entry.js} +1 -1
  1170. package/dist/magma-components/{p-7ee31f2e.entry.js → p-4a1f7eb5.entry.js} +1 -1
  1171. package/dist/magma-components/{p-adab176e.system.entry.js → p-4a2ed30e.system.entry.js} +2 -2
  1172. package/dist/magma-components/{p-efe27253.system.entry.js → p-4a9ed4f7.system.entry.js} +1 -1
  1173. package/dist/magma-components/{p-2d199db0.system.entry.js → p-4c3b3913.system.entry.js} +2 -2
  1174. package/dist/magma-components/p-4c955367.entry.js +1 -0
  1175. package/dist/magma-components/p-4ebb0a9e.entry.js +1 -0
  1176. package/dist/magma-components/{p-02b106c2.entry.js → p-4f80bf37.entry.js} +1 -1
  1177. package/dist/magma-components/{p-a65ce11a.system.entry.js → p-527569a3.system.entry.js} +2 -2
  1178. package/dist/magma-components/{p-0d42ac4a.entry.js → p-52cc5a93.entry.js} +1 -1
  1179. package/dist/magma-components/{p-3139988c.system.entry.js → p-54abba52.system.entry.js} +1 -1
  1180. package/dist/magma-components/{p-4fd0fdb8.system.entry.js → p-555ba0e0.system.entry.js} +2 -2
  1181. package/dist/magma-components/{p-5c8f408e.entry.js → p-56cf1cab.entry.js} +1 -1
  1182. package/dist/magma-components/{p-bba4f1f0.system.entry.js → p-5794053b.system.entry.js} +10 -10
  1183. package/dist/magma-components/{p-57ee6e32.entry.js → p-5a754d7b.entry.js} +1 -1
  1184. package/dist/magma-components/{p-f09f3fe1.system.entry.js → p-5c6fdabd.system.entry.js} +3 -3
  1185. package/dist/magma-components/{p-c683cd13.entry.js → p-5ca6063a.entry.js} +1 -1
  1186. package/dist/magma-components/{p-ac099ed6.entry.js → p-5cb581df.entry.js} +1 -1
  1187. package/dist/magma-components/{p-445198a1.entry.js → p-5d825728.entry.js} +1 -1
  1188. package/dist/magma-components/{p-60b21db7.entry.js → p-5dfca9f0.entry.js} +1 -1
  1189. package/dist/magma-components/{p-f181c679.system.entry.js → p-5f20592f.system.entry.js} +1 -1
  1190. package/dist/magma-components/p-5f38e95b.entry.js +1 -0
  1191. package/dist/magma-components/p-5f4bec31.entry.js +1 -0
  1192. package/dist/magma-components/p-627f5956.entry.js +1 -0
  1193. package/dist/magma-components/{p-a9caed77.entry.js → p-6336d979.entry.js} +1 -1
  1194. package/dist/magma-components/{p-7837856f.entry.js → p-6352c2ea.entry.js} +1 -1
  1195. package/dist/magma-components/{p-10d52280.entry.js → p-64884d84.entry.js} +1 -1
  1196. package/dist/magma-components/{p-98e167e8.system.entry.js → p-64f86e46.system.entry.js} +2 -2
  1197. package/dist/magma-components/{p-9a0f8eb1.entry.js → p-65ea6fc9.entry.js} +1 -1
  1198. package/dist/magma-components/{p-cf42d6ea.system.entry.js → p-66f7f9b1.system.entry.js} +3 -3
  1199. package/dist/magma-components/{p-13cfc01a.entry.js → p-68b0d45a.entry.js} +1 -1
  1200. package/dist/magma-components/{p-b61546fd.entry.js → p-6a4d44e2.entry.js} +1 -1
  1201. package/dist/magma-components/p-6a90caf5.system.entry.js +1 -0
  1202. package/dist/magma-components/{p-dfab370b.entry.js → p-6c4f2de0.entry.js} +1 -1
  1203. package/dist/magma-components/{p-12be0f43.system.entry.js → p-6f90c2c9.system.entry.js} +2 -2
  1204. package/dist/magma-components/p-70faf379.entry.js +1 -0
  1205. package/dist/magma-components/{p-e7f717ab.entry.js → p-71d03e56.entry.js} +1 -1
  1206. package/dist/magma-components/{p-b30b487c.system.entry.js → p-720e9291.system.entry.js} +3 -3
  1207. package/dist/magma-components/{p-bc054ffa.system.entry.js → p-724b7fff.system.entry.js} +2 -2
  1208. package/dist/magma-components/{p-6896786e.entry.js → p-73dc7c66.entry.js} +1 -1
  1209. package/dist/magma-components/{p-34421ef2.system.entry.js → p-7476cf76.system.entry.js} +3 -3
  1210. package/dist/magma-components/{p-0fc41e34.system.entry.js → p-7701a318.system.entry.js} +1 -1
  1211. package/dist/magma-components/{p-85bf9c93.entry.js → p-77707706.entry.js} +1 -1
  1212. package/dist/magma-components/{p-c9553777.entry.js → p-78d00f88.entry.js} +1 -1
  1213. package/dist/magma-components/{p-4f48c171.system.entry.js → p-79085c46.system.entry.js} +1 -1
  1214. package/dist/magma-components/{p-ccffdf0b.system.entry.js → p-793072e1.system.entry.js} +23 -11
  1215. package/dist/magma-components/{p-b2763352.entry.js → p-79392a0a.entry.js} +1 -1
  1216. package/dist/magma-components/{p-7ff5552f.entry.js → p-7a33ab3c.entry.js} +1 -1
  1217. package/dist/magma-components/{p-625de2e6.system.entry.js → p-7a4e8bc0.system.entry.js} +4 -4
  1218. package/dist/magma-components/p-7a73fd19.system.entry.js +127 -0
  1219. package/dist/magma-components/p-7b552dbe.entry.js +1 -0
  1220. package/dist/magma-components/{p-84aac233.entry.js → p-7c13ccb0.entry.js} +1 -1
  1221. package/dist/magma-components/{p-d81fcbde.system.entry.js → p-7e0a8194.system.entry.js} +5 -5
  1222. package/dist/magma-components/{p-45b19935.system.entry.js → p-7fbdf896.system.entry.js} +3 -3
  1223. package/dist/magma-components/{p-35c170ba.system.entry.js → p-804f4794.system.entry.js} +2 -2
  1224. package/dist/magma-components/{p-6c73689a.system.entry.js → p-840c19ee.system.entry.js} +4 -4
  1225. package/dist/magma-components/p-848d1b42.system.entry.js +30 -0
  1226. package/dist/magma-components/{p-81212e34.entry.js → p-86494ea9.entry.js} +1 -1
  1227. package/dist/magma-components/p-8915347f.entry.js +1 -0
  1228. package/dist/magma-components/{p-f493fdc3.entry.js → p-8c20ac0c.entry.js} +1 -1
  1229. package/dist/magma-components/{p-f22b8091.entry.js → p-90c60c48.entry.js} +1 -1
  1230. package/dist/magma-components/{p-60d6e60f.entry.js → p-90e20ad3.entry.js} +1 -1
  1231. package/dist/magma-components/{p-797c64f4.system.entry.js → p-9228db0b.system.entry.js} +13 -3
  1232. package/dist/magma-components/p-94548d43.entry.js +1 -0
  1233. package/dist/magma-components/{p-9c784173.entry.js → p-95020326.entry.js} +1 -1
  1234. package/dist/magma-components/{p-8feba226.entry.js → p-970f45df.entry.js} +1 -1
  1235. package/dist/magma-components/{p-9303fb16.system.entry.js → p-97a501cd.system.entry.js} +2 -2
  1236. package/dist/magma-components/{p-4e072e24.system.entry.js → p-98cc6473.system.entry.js} +30 -12
  1237. package/dist/magma-components/p-99d2ace2.system.entry.js +5 -0
  1238. package/dist/magma-components/{p-627c2780.entry.js → p-9aba3769.entry.js} +1 -1
  1239. package/dist/magma-components/{p-6d009b42.system.entry.js → p-9b0b65f0.system.entry.js} +2 -2
  1240. package/dist/magma-components/{p-f40e3918.system.entry.js → p-9b0d7f7d.system.entry.js} +2 -2
  1241. package/dist/magma-components/{p-5d1cba9c.system.entry.js → p-9b8d15a8.system.entry.js} +1 -1
  1242. package/dist/magma-components/{p-5931fdfc.system.entry.js → p-9e94f4a3.system.entry.js} +4 -4
  1243. package/dist/magma-components/{p-3b578659.system.entry.js → p-9f0100f2.system.entry.js} +2 -2
  1244. package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
  1245. package/dist/magma-components/{p-CuHZXISO.system.js → p-BHdlb7Fr.system.js} +19 -19
  1246. package/dist/magma-components/p-BXVzhErg.system.js +12 -0
  1247. package/dist/magma-components/{p-OafT80hV.js → p-CATyfc78.js} +2 -2
  1248. package/dist/magma-components/{p-CZuIEo2v.system.js → p-Cbabyppz.system.js} +1 -1
  1249. package/dist/magma-components/{p-Dx_cCOTw.js → p-CxzVgcYv.js} +1 -1
  1250. package/dist/magma-components/{p-CxTugGM9.system.js → p-D3J9KZKy.system.js} +1 -1
  1251. package/dist/magma-components/{p-mGgjNqBm.system.js → p-DOisMne4.system.js} +17 -7
  1252. package/dist/magma-components/p-DwKxtKwS.js +1 -0
  1253. package/dist/{components/p-jasGzfhE.js → magma-components/p-Dx7iOdVP.js} +1 -1
  1254. package/dist/magma-components/{p-iX3kcwYg.js → p-DxR4rGsw.js} +1 -1
  1255. package/dist/magma-components/{p-ecc2893d.system.entry.js → p-a112a0e2.system.entry.js} +1 -1
  1256. package/dist/magma-components/{p-86f11a5a.entry.js → p-a2767235.entry.js} +1 -1
  1257. package/dist/magma-components/{p-c0286dc3.system.entry.js → p-a2c3b294.system.entry.js} +6 -6
  1258. package/dist/magma-components/{p-4669334a.system.entry.js → p-a2d4d849.system.entry.js} +2 -2
  1259. package/dist/magma-components/{p-cfbf3a76.system.entry.js → p-a48c73b1.system.entry.js} +2 -2
  1260. package/dist/magma-components/{p-4e8c5b68.entry.js → p-a4f53c83.entry.js} +1 -1
  1261. package/dist/magma-components/{p-e92327a2.entry.js → p-a58e8a5c.entry.js} +1 -1
  1262. package/dist/magma-components/{p-1a20f239.system.entry.js → p-a5ca10ae.system.entry.js} +1 -1
  1263. package/dist/magma-components/{p-46a928c3.entry.js → p-a9a872e1.entry.js} +1 -1
  1264. package/dist/magma-components/{p-0a0dfdf4.system.entry.js → p-a9ab9eb0.system.entry.js} +2 -2
  1265. package/dist/magma-components/{p-72971cf7.system.entry.js → p-ab1c3fb0.system.entry.js} +1 -1
  1266. package/dist/magma-components/{p-074d7b75.entry.js → p-ab445c2b.entry.js} +1 -1
  1267. package/dist/magma-components/{p-45a3e7eb.entry.js → p-abe32d5b.entry.js} +1 -1
  1268. package/dist/magma-components/{p-2e68180d.system.entry.js → p-af56e3e4.system.entry.js} +2 -2
  1269. package/dist/magma-components/{p-ed4fd7a4.entry.js → p-b1238d48.entry.js} +1 -1
  1270. package/dist/magma-components/{p-4748378e.system.entry.js → p-b129b127.system.entry.js} +14 -14
  1271. package/dist/magma-components/{p-e79eb427.system.entry.js → p-b1cd3acf.system.entry.js} +2 -2
  1272. package/dist/magma-components/{p-5aa8f150.entry.js → p-b705b805.entry.js} +1 -1
  1273. package/dist/magma-components/{p-2111aa67.system.entry.js → p-b7d18d7a.system.entry.js} +1 -1
  1274. package/dist/magma-components/{p-3be9b384.system.entry.js → p-b871ad36.system.entry.js} +10 -10
  1275. package/dist/magma-components/{p-f7426a75.entry.js → p-ba871d9c.entry.js} +1 -1
  1276. package/dist/magma-components/{p-5a8fa2d0.entry.js → p-ba95bf93.entry.js} +1 -1
  1277. package/dist/magma-components/{p-3af8a86a.system.entry.js → p-bc054fa3.system.entry.js} +3 -3
  1278. package/dist/magma-components/{p-05455645.system.entry.js → p-bcc6c358.system.entry.js} +2 -2
  1279. package/dist/magma-components/{p-7c3a7521.entry.js → p-bd489df9.entry.js} +1 -1
  1280. package/dist/magma-components/{p-60acbc5f.system.entry.js → p-c0295a0e.system.entry.js} +2 -2
  1281. package/dist/magma-components/p-c06d8b5a.entry.js +1 -0
  1282. package/dist/magma-components/p-c131d726.entry.js +1 -0
  1283. package/dist/magma-components/{p-198ea5d8.entry.js → p-c49676e6.entry.js} +1 -1
  1284. package/dist/magma-components/{p-0dcde20a.system.entry.js → p-c4c1ef48.system.entry.js} +91 -89
  1285. package/dist/magma-components/{p-87831da2.system.entry.js → p-c54f2089.system.entry.js} +1 -1
  1286. package/dist/magma-components/{p-8b8cd213.system.entry.js → p-c691f27e.system.entry.js} +3 -3
  1287. package/dist/magma-components/p-c8414ee6.entry.js +1 -0
  1288. package/dist/magma-components/{p-77001a72.entry.js → p-c8c918d2.entry.js} +5 -5
  1289. package/dist/magma-components/{p-85376ff5.entry.js → p-c91cb63a.entry.js} +1 -1
  1290. package/dist/magma-components/{p-9f55fa7a.system.entry.js → p-c94e7973.system.entry.js} +2 -2
  1291. package/dist/magma-components/{p-387fa36d.system.entry.js → p-c9baa3fb.system.entry.js} +1 -1
  1292. package/dist/magma-components/{p-b781c932.system.entry.js → p-ca4e8601.system.entry.js} +1 -1
  1293. package/dist/magma-components/{p-445bc62a.system.entry.js → p-ca5427d4.system.entry.js} +1 -1
  1294. package/dist/magma-components/{p-4646cdc0.system.entry.js → p-caca78ff.system.entry.js} +2 -2
  1295. package/dist/magma-components/{p-d85f3e5e.system.entry.js → p-caf478ff.system.entry.js} +2 -2
  1296. package/dist/magma-components/{p-b8f4938a.entry.js → p-cb06839f.entry.js} +1 -1
  1297. package/dist/magma-components/{p-d29c959d.entry.js → p-ce42734f.entry.js} +1 -1
  1298. package/dist/magma-components/{p-8aa4cd10.entry.js → p-d1e4a032.entry.js} +1 -1
  1299. package/dist/magma-components/p-d25a47fa.entry.js +1 -0
  1300. package/dist/magma-components/{p-0d3da482.system.entry.js → p-d29b32b4.system.entry.js} +1 -1
  1301. package/dist/magma-components/{p-1f746ad1.system.entry.js → p-d2ba5851.system.entry.js} +9 -9
  1302. package/dist/magma-components/{p-d50d4023.entry.js → p-d365c6b6.entry.js} +1 -1
  1303. package/dist/magma-components/{p-7a920b70.entry.js → p-d3b06151.entry.js} +1 -1
  1304. package/dist/magma-components/{p-4cd21f19.entry.js → p-d45f65e0.entry.js} +1 -1
  1305. package/dist/magma-components/{p-fdedc0ba.entry.js → p-d51ec950.entry.js} +1 -1
  1306. package/dist/magma-components/{p-4606d11f.entry.js → p-d760c1fa.entry.js} +1 -1
  1307. package/dist/magma-components/p-d785d7ee.entry.js +1 -0
  1308. package/dist/magma-components/{p-08da465d.entry.js → p-d9092133.entry.js} +1 -1
  1309. package/dist/magma-components/{p-03fb86a6.system.entry.js → p-dd348171.system.entry.js} +2 -2
  1310. package/dist/magma-components/{p-dcb5f965.entry.js → p-de423b11.entry.js} +1 -1
  1311. package/dist/magma-components/{p-97217527.system.entry.js → p-df78b7ac.system.entry.js} +1 -1
  1312. package/dist/magma-components/{p-fba648e0.entry.js → p-e39b5e12.entry.js} +1 -1
  1313. package/dist/magma-components/{p-99bfa07e.system.entry.js → p-eac943e5.system.entry.js} +1 -1
  1314. package/dist/magma-components/{p-9ef0d4e5.system.entry.js → p-eb220deb.system.entry.js} +2 -2
  1315. package/dist/magma-components/{p-fd81c4ef.system.entry.js → p-eca42fe8.system.entry.js} +2 -2
  1316. package/dist/magma-components/{p-56a25ec6.entry.js → p-ecda3e45.entry.js} +1 -1
  1317. package/dist/magma-components/{p-b523fabe.system.entry.js → p-f0909679.system.entry.js} +2 -2
  1318. package/dist/magma-components/{p-8bf8e032.entry.js → p-f2649031.entry.js} +1 -1
  1319. package/dist/magma-components/{p-30f95d10.entry.js → p-f51ed098.entry.js} +1 -1
  1320. package/dist/magma-components/{p-11210b60.system.entry.js → p-f5bd5b64.system.entry.js} +3 -3
  1321. package/dist/magma-components/p-f6358241.system.entry.js +19 -0
  1322. package/dist/magma-components/{p-b0850daa.entry.js → p-f9f3ad86.entry.js} +1 -1
  1323. package/dist/magma-components/{p-a3d09996.entry.js → p-fb4b648a.entry.js} +1 -1
  1324. package/dist/magma-components/{p-81d2582a.entry.js → p-fd4588c5.entry.js} +1 -1
  1325. package/dist/magma-components/{p-3b494de7.entry.js → p-fdd17ee6.entry.js} +1 -1
  1326. package/dist/magma-components/p-fe51c0cb.system.entry.js +10 -0
  1327. package/dist/magma-components/{p-a3156523.system.entry.js → p-ff6cf4f8.system.entry.js} +3 -3
  1328. package/dist/magma-components/{p-4da1c089.entry.js → p-ff76c614.entry.js} +1 -1
  1329. package/dist/{lint/mcp → mcp}/checks.js +4 -4
  1330. package/dist/{lint/mcp → mcp}/components.js +4 -6
  1331. package/dist/{lint/mcp → mcp}/guides.js +11 -9
  1332. package/dist/{lint/mcp → mcp}/icons.js +21 -0
  1333. package/dist/mcp/package.json +3 -0
  1334. package/dist/{lint/mcp → mcp}/patterns.js +27 -18
  1335. package/dist/{lint/mcp → mcp}/protocol.js +1 -1
  1336. package/dist/{lint/mcp → mcp}/render-page.js +17 -0
  1337. package/dist/{lint/mcp → mcp}/render.js +157 -48
  1338. package/dist/{lint/mcp → mcp}/server.js +4 -4
  1339. package/dist/{lint/mcp → mcp}/tokens.js +1 -2
  1340. package/dist/mcp/tools.json +1374 -0
  1341. package/dist/stats.json +2322 -2038
  1342. package/dist/types/common/aria.d.ts +8 -1
  1343. package/dist/types/common/preference.d.ts +13 -1
  1344. package/dist/types/components/mds-button/mds-button.d.ts +50 -4
  1345. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +22 -2
  1346. package/dist/types/components/mds-modal/mds-modal.d.ts +8 -1
  1347. package/dist/types/components/mds-pref/mds-pref.d.ts +0 -9
  1348. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +16 -5
  1349. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +14 -1
  1350. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +9 -2
  1351. package/dist/types/components.d.ts +71 -17
  1352. package/dist/types/type/button.d.ts +2 -0
  1353. package/package.json +15 -13
  1354. package/dist/components/p-BwT0RJip.js +0 -1
  1355. package/dist/components/p-COUgBzJ4.js +0 -1
  1356. package/dist/components/p-Cvhn9asj.js +0 -1
  1357. package/dist/components/p-G7Udw5H5.js +0 -1
  1358. package/dist/components/p-Ic8cYsgt.js +0 -1
  1359. package/dist/components/p-l0KS6hTQ.js +0 -1
  1360. package/dist/esm-es5/aria-Cvhn9asj.js +0 -6
  1361. package/dist/lint/mcp/checks.d.ts +0 -29
  1362. package/dist/lint/mcp/cli.d.ts +0 -2
  1363. package/dist/lint/mcp/color.d.ts +0 -12
  1364. package/dist/lint/mcp/components.d.ts +0 -5
  1365. package/dist/lint/mcp/context.d.ts +0 -45
  1366. package/dist/lint/mcp/guides.d.ts +0 -3
  1367. package/dist/lint/mcp/icons.d.ts +0 -9
  1368. package/dist/lint/mcp/patterns.d.ts +0 -75
  1369. package/dist/lint/mcp/protocol.d.ts +0 -77
  1370. package/dist/lint/mcp/render-page.d.ts +0 -36
  1371. package/dist/lint/mcp/render.d.ts +0 -109
  1372. package/dist/lint/mcp/server.d.ts +0 -39
  1373. package/dist/lint/mcp/tokens.d.ts +0 -37
  1374. package/dist/magma-components/p-06691ab3.system.entry.js +0 -27
  1375. package/dist/magma-components/p-1d8485de.system.entry.js +0 -28
  1376. package/dist/magma-components/p-21345ecc.entry.js +0 -1
  1377. package/dist/magma-components/p-25dcbf22.entry.js +0 -1
  1378. package/dist/magma-components/p-34d58345.entry.js +0 -1
  1379. package/dist/magma-components/p-37881115.system.entry.js +0 -14
  1380. package/dist/magma-components/p-4e5b8618.system.entry.js +0 -1
  1381. package/dist/magma-components/p-52e2b0d4.system.entry.js +0 -14
  1382. package/dist/magma-components/p-69319301.system.entry.js +0 -10
  1383. package/dist/magma-components/p-7b06b2f2.entry.js +0 -1
  1384. package/dist/magma-components/p-7d61f442.entry.js +0 -1
  1385. package/dist/magma-components/p-9e2b1a29.entry.js +0 -1
  1386. package/dist/magma-components/p-9ed54db1.entry.js +0 -1
  1387. package/dist/magma-components/p-Cvhn9asj.js +0 -1
  1388. package/dist/magma-components/p-a8206d9c.entry.js +0 -1
  1389. package/dist/magma-components/p-b464668b.system.entry.js +0 -105
  1390. package/dist/magma-components/p-b85f56d7.entry.js +0 -1
  1391. package/dist/magma-components/p-c7dc17f8.entry.js +0 -1
  1392. package/dist/magma-components/p-d43e2a9a.entry.js +0 -1
  1393. package/dist/magma-components/p-ddfb4da3.entry.js +0 -1
  1394. package/dist/magma-components/p-e428490d.system.entry.js +0 -5
  1395. package/dist/magma-components/p-f045b018.entry.js +0 -1
  1396. package/dist/magma-components/p-f3708d1a.entry.js +0 -1
  1397. package/dist/magma-components/p-f5d9f625.entry.js +0 -1
  1398. package/dist/magma-components/p-fa387b74.system.entry.js +0 -5
  1399. package/dist/magma-components/p-fbf563c8.entry.js +0 -1
  1400. package/dist/magma-components/p-ff82edad.entry.js +0 -1
  1401. package/dist/magma-components/p-sm_-_oFY.system.js +0 -6
  1402. /package/dist/{lint/mcp → mcp}/cli.js +0 -0
  1403. /package/dist/{lint/mcp → mcp}/color.js +0 -0
  1404. /package/dist/{lint/mcp → mcp}/context.js +0 -0
  1405. /package/dist/{lint/mcp → mcp}/icon.svg +0 -0
@@ -1 +1 @@
1
- import{r as t,d as a,h as e,e as r,g as s,B as i}from"./p-CvLLN-QH.js";import{c as o}from"./p-ChV9xqsO.js";import{L as n}from"./p-OafT80hV.js";import{p as d}from"./p-iX3kcwYg.js";import{h as l,o as c}from"./p-AEckDMXh.js";var h={batchActions:"Επιλεγμένα στοιχεία"},b={batchActions:"Selected items"},m={batchActions:"Elementos seleccionados"},u={batchActions:"Elementi selezionati"};const v=class{constructor(e){t(this,e),this.selectionEvent=a(this,"mdsTableSelectionChange",7),this.hasBatchActions=!1,this.cellsWidth=0,this.selectedRows=[],this.t=new n({el:h,en:b,es:m,it:u}),this.sorting="internal",this.selectionQueued=!1,this.updateInteractive=()=>{var t;this.body&&(this.body.interactive=this.interactive),null===(t=this.rows)||void 0===t||t.forEach((t=>{t.interactive=this.interactive}))},this.updateCellsSize=()=>{var t,a;const e=null===(t=this.rows)||void 0===t?void 0:t[0];if(!e)return;const r=e.querySelectorAll("mds-table-cell"),s=null===(a=e.shadowRoot)||void 0===a?void 0:a.querySelector(".selection-cell");this.cellsWidth=null!=s?s.offsetWidth:0,r.forEach((t=>{this.cellsWidth+=t.offsetWidth}))},this.hasActions=()=>(this.updateCellsSize(),null!==this.host.querySelector('mds-table-row > [slot="action"]')),this.handleSelection=()=>{var t;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.selectable=this.selectable}))},this.watchActions=()=>{var t;if(i.isBrowser){if(!this.scrollWrapper){const a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".table-wrapper");if(!a)return;this.scrollWrapper=a,this.scrollWrapper.addEventListener("scroll",this.handleActions),this.resizeObserver=new ResizeObserver(this.handleActions),this.resizeObserver.observe(this.host)}this.handleActions()}},this.handleActions=()=>{var t;if(!this.scrollWrapper)return;this.updateCellsSize();const a=this.scrollWrapper.offsetWidth+this.scrollWrapper.scrollLeft<this.cellsWidth;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.overlayActions=a}))},this.querySlottedElements=()=>{var t;this.body=this.host.querySelector("mds-table-body"),this.footer=this.host.querySelector("mds-table-footer"),this.header=this.host.querySelector("mds-table-header"),this.rows=this.host.querySelectorAll("mds-table-row"),this.body&&(null===(t=this.tableBodyObserver)||void 0===t||t.observe(this.body,{childList:!0}))},this.updateBatchActions=()=>{this.hasBatchActions=l(this.host,"batch-action")},this.updateSlottedElements=()=>{this.querySlottedElements(),this.updateInteractive(),this.handleSelection(),this.updateActions()}}onTableInteractive(){this.updateInteractive()}onTableSelectable(t){this.handleSelection(),this.header&&(this.header.selectable=t),this.footer&&(this.footer.selectable=t)}async updateSelection(){var t;this.selectable&&this.rows&&(this.selectionQueued||(this.selectionQueued=!0,await Promise.resolve(),this.selectionQueued=!1,this.selectedRows=[],this.rows.forEach(((t,a)=>{t.selected&&this.selectedRows.push({index:a,value:t.value})})),this.selectionEvent.emit({rows:this.selectedRows}),null===(t=this.header)||void 0===t||t.setSelection(this.selectedRows.length,this.rows.length),this.selection=this.selectedRows.length>0,this.body&&(this.body.selection=this.selection),this.rows.forEach((t=>{t.selection=this.selection}))))}async updateActions(){var t,a;const e=this.hasActions();null===(a=null===(t=this.header)||void 0===t?void 0:t.setActions)||void 0===a||a.call(t,e),e&&this.watchActions()}async selectAll(t=!0){this.selectable&&this.rows&&(this.rows.forEach((a=>{a.selected=t})),this.updateSelection())}componentWillLoad(){this.updateBatchActions(),c(this.host,this.updateBatchActions),"undefined"!=typeof MutationObserver&&(this.tableBodyObserver=new MutationObserver((()=>{this.updateSlottedElements()}))),this.querySlottedElements()}componentDidLoad(){this.footer&&(this.footer.selectable=this.selectable),this.header&&(this.header.selectable=this.selectable),this.updateActions()}connectedCallback(){this.updateActions()}disconnectedCallback(){var t,a,e;null===(t=this.scrollWrapper)||void 0===t||t.removeEventListener("scroll",this.handleActions),null===(a=this.resizeObserver)||void 0===a||a.disconnect(),this.scrollWrapper=void 0,this.resizeObserver=void 0,null===(e=this.tableBodyObserver)||void 0===e||e.disconnect()}render(){return e(r,{key:"10bf8adc2dd4d30e449422f74fb885e2a900d1ad","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("div",{key:"456642ef249cbe41429107f12cb7d7596b97eb7a",class:"table-wrapper",part:"table-wrapper"},e("table",{key:"5d696aeb73e2d15536720c0c3433207bbdb964f5",class:o("table",this.interactive&&"table--interactive"),role:"table",part:"table"},e("slot",{key:"fbd3313ad277de4ed133f830ba2695feafc08c9b",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&e("div",{key:"565a136c89f262de6449b492b9e5d93fd427810a",class:o("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},e("div",{key:"77c920beaa377c0d610a0067de45b5580b8cf94e",class:"batch-actions",part:"batch-actions"},e("div",{key:"e17a7a65ccc775722c392baaceef002dc5cfdf01",class:"batch-actions-header"},e("mds-text",{key:"ce613b4c1dba34b683580276916cac7fe01a14a8",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),e("mds-badge",{key:"0991916ce20089849facee1eb45c0cf6841cf396",label:`${this.selectedRows.length}`,variant:"dark",tone:"outline",typography:"label"})),e("slot",{key:"6f8d13210607941eb3b4529fef86acde9a98a03d",name:"batch-action"}))))}get host(){return s(this)}static get watchers(){return{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}}};v.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-table-body,mds-table-footer,mds-table-header):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-table-transition-duration:var(--duration-300,.3s);--private-table-transition-duration:var(--mds-table-transition-duration);--mds-table-actions-gap:calc(var(--spacing,.0025rem)*200);--mds-table-background-alt:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-table-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-table-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-border-width:calc(var(--spacing,.0025rem)*50);--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-table-separator-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));--private-cell-border-width:var(--mds-table-border-width);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background-alt);border-color:var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);border:var(--mds-table-border-width) solid var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))))!important;display:flex;overflow:hidden;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)));corner-shape:inherit;display:flex;overflow:auto;width:100%}.table{border-collapse:initial;border-spacing:0;width:100%}.batch-actions-wrapper{corner-shape:inherit;display:flex;flex-shrink:0;max-width:0;transition-duration:var(--private-table-transition-duration);transition-property:max-width;transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));width:100%}.batch-actions-wrapper--has-selected-rows{max-width:var(--mds-table-batch-actions-width)}.batch-actions-header{align-items:center;display:flex;justify-content:space-between;padding:calc(var(--spacing,.0025rem)*300)}.batch-actions{background-color:var(--mds-table-background);border-left:var(--mds-table-border-width) solid var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));box-sizing:border-box;display:grid;flex-grow:1;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content;grid-template-columns:repeat(1,minmax(1px,100%));min-width:var(--mds-table-batch-actions-width);padding:calc(var(--mds-table-cell-padding)/2);width:100%}::slotted([slot=batch-action]){justify-content:start;width:100%}:host([selection]:not([selection=false])){--mds-table-body-background:var(--mds-table-body-background-hover)}: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-transition-duration:0s}:host([pref-contrast=more][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@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-transition-duration:0s}}@media (prefers-contrast:more){:host([pref-contrast=system][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}';export{v as mds_table}
1
+ import{r as t,d as a,h as e,e as r,g as s,B as i}from"./p-CvLLN-QH.js";import{c as o}from"./p-ChV9xqsO.js";import{L as n}from"./p-CATyfc78.js";import{p as d}from"./p-DxR4rGsw.js";import{h as l,o as c}from"./p-AEckDMXh.js";var h={batchActions:"Επιλεγμένα στοιχεία"},b={batchActions:"Selected items"},m={batchActions:"Elementos seleccionados"},u={batchActions:"Elementi selezionati"};const p=class{constructor(e){t(this,e),this.selectionEvent=a(this,"mdsTableSelectionChange",7),this.hasBatchActions=!1,this.cellsWidth=0,this.selectedRows=[],this.t=new n({el:h,en:b,es:m,it:u}),this.sorting="internal",this.selectionQueued=!1,this.updateInteractive=()=>{var t;this.body&&(this.body.interactive=this.interactive),null===(t=this.rows)||void 0===t||t.forEach((t=>{t.interactive=this.interactive}))},this.updateCellsSize=()=>{var t,a;const e=null===(t=this.rows)||void 0===t?void 0:t[0];if(!e)return;const r=e.querySelectorAll("mds-table-cell"),s=null===(a=e.shadowRoot)||void 0===a?void 0:a.querySelector(".selection-cell");this.cellsWidth=null!=s?s.offsetWidth:0,r.forEach((t=>{this.cellsWidth+=t.offsetWidth}))},this.hasActions=()=>(this.updateCellsSize(),null!==this.host.querySelector('mds-table-row > [slot="action"]')),this.handleSelection=()=>{var t;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.selectable=this.selectable}))},this.watchActions=()=>{var t;if(i.isBrowser){if(!this.scrollWrapper){const a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".table-wrapper");if(!a)return;this.scrollWrapper=a,this.scrollWrapper.addEventListener("scroll",this.handleActions),this.resizeObserver=new ResizeObserver(this.handleActions),this.resizeObserver.observe(this.host)}this.handleActions()}},this.handleActions=()=>{var t;if(!this.scrollWrapper)return;this.updateCellsSize();const a=this.scrollWrapper.offsetWidth+this.scrollWrapper.scrollLeft<this.cellsWidth;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.overlayActions=a}))},this.querySlottedElements=()=>{var t;this.body=this.host.querySelector("mds-table-body"),this.footer=this.host.querySelector("mds-table-footer"),this.header=this.host.querySelector("mds-table-header"),this.rows=this.host.querySelectorAll("mds-table-row"),this.body&&(null===(t=this.tableBodyObserver)||void 0===t||t.observe(this.body,{childList:!0}))},this.updateBatchActions=()=>{this.hasBatchActions=l(this.host,"batch-action")},this.updateSlottedElements=()=>{this.querySlottedElements(),this.updateInteractive(),this.handleSelection(),this.updateActions()}}onTableInteractive(){this.updateInteractive()}onTableSelectable(t){this.handleSelection(),this.header&&(this.header.selectable=t),this.footer&&(this.footer.selectable=t)}async updateSelection(){var t;this.selectable&&this.rows&&(this.selectionQueued||(this.selectionQueued=!0,await Promise.resolve(),this.selectionQueued=!1,this.selectedRows=[],this.rows.forEach(((t,a)=>{t.selected&&this.selectedRows.push({index:a,value:t.value})})),this.selectionEvent.emit({rows:this.selectedRows}),null===(t=this.header)||void 0===t||t.setSelection(this.selectedRows.length,this.rows.length),this.selection=this.selectedRows.length>0,this.body&&(this.body.selection=this.selection),this.rows.forEach((t=>{t.selection=this.selection}))))}async updateActions(){var t,a;const e=this.hasActions();null===(a=null===(t=this.header)||void 0===t?void 0:t.setActions)||void 0===a||a.call(t,e),e&&this.watchActions()}async selectAll(t=!0){this.selectable&&this.rows&&(this.rows.forEach((a=>{a.selected=t})),this.updateSelection())}componentWillLoad(){this.updateBatchActions(),c(this.host,this.updateBatchActions),"undefined"!=typeof MutationObserver&&(this.tableBodyObserver=new MutationObserver((()=>{this.updateSlottedElements()}))),this.querySlottedElements()}componentDidLoad(){this.footer&&(this.footer.selectable=this.selectable),this.header&&(this.header.selectable=this.selectable),this.updateActions()}connectedCallback(){this.updateActions()}disconnectedCallback(){var t,a,e;null===(t=this.scrollWrapper)||void 0===t||t.removeEventListener("scroll",this.handleActions),null===(a=this.resizeObserver)||void 0===a||a.disconnect(),this.scrollWrapper=void 0,this.resizeObserver=void 0,null===(e=this.tableBodyObserver)||void 0===e||e.disconnect()}render(){return e(r,{key:"9f8c6176eac1cab4e66d2c0212a4ed28b899148b","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("div",{key:"c5597116a07d4d49e525b8da17ac5964370e0e9a",class:"table-wrapper",part:"table-wrapper"},e("table",{key:"a4293c33c1e76ed014acac96dd2f090afbce463c",class:o("table",this.interactive&&"table--interactive"),role:"table",part:"table"},e("slot",{key:"41c7971a5f06b6e50813c08cd5fc148d7dc500f7",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&e("div",{key:"97718cd92bdbecbb11fec451cd94dad9e0c9ec0c",class:o("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},e("div",{key:"46ecff90f2194771a3a1b41b73baefde31fa5013",class:"batch-actions",part:"batch-actions"},e("div",{key:"0d6d9684a10e2076142a8aade7326c8fe7a5b74c",class:"batch-actions-header"},e("mds-text",{key:"a5bc3124484ff1ba1da702a25395fbe5edac9d6b",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),e("mds-badge",{key:"50280d3f8cdd263eef24e7c447746b85a9e66514",label:`${this.selectedRows.length}`,variant:"dark",tone:"outline",typography:"label"})),e("slot",{key:"702c103ae818baae2e2e5e3004238ac7d7513b45",name:"batch-action"}))))}get host(){return s(this)}static get watchers(){return{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}}};p.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-table-body,mds-table-footer,mds-table-header):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-table-transition-duration:var(--duration-300,.3s);--private-table-transition-duration:var(--mds-table-transition-duration);--mds-table-actions-gap:calc(var(--spacing,.0025rem)*200);--mds-table-background-alt:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-table-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-table-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-border-width:calc(var(--spacing,.0025rem)*50);--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-table-separator-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));--private-cell-border-width:var(--mds-table-border-width);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background-alt);border-color:var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);border:var(--mds-table-border-width) solid var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))))!important;display:flex;overflow:hidden;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)));corner-shape:inherit;display:flex;overflow:auto;width:100%}.table{border-collapse:initial;border-spacing:0;width:100%}.batch-actions-wrapper{corner-shape:inherit;display:flex;flex-shrink:0;max-width:0;transition-duration:var(--private-table-transition-duration);transition-property:max-width;transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));width:100%}.batch-actions-wrapper--has-selected-rows{max-width:var(--mds-table-batch-actions-width)}.batch-actions-header{align-items:center;display:flex;justify-content:space-between;padding:calc(var(--spacing,.0025rem)*300)}.batch-actions{background-color:var(--mds-table-background);border-left:var(--mds-table-border-width) solid var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));box-sizing:border-box;display:grid;flex-grow:1;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content;grid-template-columns:repeat(1,minmax(1px,100%));min-width:var(--mds-table-batch-actions-width);padding:calc(var(--mds-table-cell-padding)/2);width:100%}::slotted([slot=batch-action]){justify-content:start;width:100%}:host([selection]:not([selection=false])){--mds-table-body-background:var(--mds-table-body-background-hover)}: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-transition-duration:0s}:host([pref-contrast=more][pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-contrast=more][pref-theme-scheme=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@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-transition-duration:0s}}@media (prefers-contrast:more){:host([pref-contrast=system][pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-contrast=system][pref-theme-scheme=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]:not([pref-theme-scheme=light])){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]:not([pref-theme-scheme=light])){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}';export{p as mds_table}
@@ -1,4 +1,4 @@
1
- System.register(["./p-BZP13mns.system.js","./p-mGgjNqBm.system.js"],(function(t){"use strict";var e,o,r,a,i;return{setters:[function(t){e=t.r;o=t.h;r=t.e;a=t.g},function(t){i=t.p}],execute:function(){var n=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-cell: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-table-footer-transition-duration:var(--duration-200,.2s);--private-table-footer-transition-duration:var(--mds-table-footer-transition-duration);--mds-table-row-background:var(--mds-table-background);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-top:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-footer-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions,.selection,::slotted(mds-table-cell){--private-cell-border-color:#0000}: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-footer-transition-duration:0s}@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-footer-transition-duration:0s}}'};var s=t("mds_table_footer",/** @class */function(){function t(t){e(this,t);this.hasActions=false}t.prototype.componentWillLoad=function(){var t;
1
+ System.register(["./p-BZP13mns.system.js","./p-DOisMne4.system.js"],(function(t){"use strict";var e,o,r,a,i;return{setters:[function(t){e=t.r;o=t.h;r=t.e;a=t.g},function(t){i=t.p}],execute:function(){var n=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-cell: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-table-footer-transition-duration:var(--duration-200,.2s);--private-table-footer-transition-duration:var(--mds-table-footer-transition-duration);--mds-table-row-background:var(--mds-table-background);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-top:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-footer-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions,.selection,::slotted(mds-table-cell){--private-cell-border-color:#0000}: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-footer-transition-duration:0s}@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-footer-transition-duration:0s}}'};var s=t("mds_table_footer",/** @class */function(){function t(t){e(this,t);this.hasActions=false}t.prototype.componentWillLoad=function(){var t;
2
2
  // the rows with actions have a last column of their own, which the header labels: an empty
3
3
  // cell lines the footer up with it, as the selection cell does with the first column
4
- this.hasActions=((t=this.host.closest("mds-table"))===null||t===void 0?void 0:t.querySelector('mds-table-row > [slot="action"]'))!=null};t.prototype.render=function(){return o(r,{key:"96c5f9d32b8f4aca64150c72f343293ad324509a",role:"row","pref-animation":i.state.animation},this.selectable&&o("mds-table-cell",{key:"d97719b4a810e5ab3e66b3f33fcc3821a1c58e73",class:"selection"}),o("slot",{key:"8b75c9356b11ea5e3681e6bcf659c782c46e0eba"}),this.hasActions&&o("mds-table-cell",{key:"c74aa55c1589f065eeea67d9a483104ac6619c08",class:"actions"}))};Object.defineProperty(t.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());s.style=n()}}}));
4
+ this.hasActions=((t=this.host.closest("mds-table"))===null||t===void 0?void 0:t.querySelector('mds-table-row > [slot="action"]'))!=null};t.prototype.render=function(){return o(r,{key:"8ca63c86939911cfe92651ef735680dfbfa40249",role:"row","pref-animation":i.state.animation},this.selectable&&o("mds-table-cell",{key:"e27c9083e19b9ab31aa4a4c4a9427e2cc7d31976",class:"selection"}),o("slot",{key:"a40b309111f59a1b1add8eb1b4670d72116e4f5e"}),this.hasActions&&o("mds-table-cell",{key:"dba950b640ba6a023f17a87b903bc13d5defe2a3",class:"actions"}))};Object.defineProperty(t.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());s.style=n()}}}));
@@ -1 +1 @@
1
- import{r as t,h as e,e as a}from"./p-CvLLN-QH.js";const i=class{constructor(e){t(this,e)}render(){return e(a,{key:"239d426de996f4121a43a3606d2fc439785db8cf",role:"list"},e("slot",{key:"162b79739cdd3985fa832b329dbdb6922eed905d"}))}};i.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-kpi-item: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-kpi-text-animation-speed:.15;--mds-kpi-text-animation-placeholder-char:" ";display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-columns:repeat(auto-fit,minmax(calc(var(--spacing,.0025rem)*4500),1fr))}';export{i as mds_kpi}
1
+ import{r as e,h as t,e as a}from"./p-CvLLN-QH.js";const i=class{constructor(t){e(this,t)}render(){return t(a,{key:"ac931a26cdd93a5fe4db659b7b8c6c9b32465ec7",role:"list"},t("slot",{key:"acb9ea880b26ef009ee192f572dd64d61c394ccc"}))}};i.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-kpi-item: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-kpi-text-animation-speed:.15;--mds-kpi-text-animation-placeholder-char:" ";display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-columns:repeat(auto-fit,minmax(calc(var(--spacing,.0025rem)*4500),1fr))}';export{i as mds_kpi}
@@ -0,0 +1,14 @@
1
+ System.register(["./p-BZP13mns.system.js","./p-DOisMne4.system.js","./p-Cxe5TwXZ.system.js","./p-CJOUmbsO.system.js","./p-BHdlb7Fr.system.js"],(function(t){"use strict";var e,a,r,i,n,o,s,m,d;return{setters:[function(t){e=t.r;a=t.d;r=t.h;i=t.e;n=t.g},function(t){o=t.p},function(t){s=t.m},function(t){m=t.m},function(t){d=t.L}],execute:function(){var c="Επόμενη σελίδα";var h="Προηγούμενη σελίδα";var p={nextPage:c,previousPage:h};var g="Next page";var u="Previous page";var f={nextPage:g,previousPage:u};var l="Página siguiente";var v="Página anterior";var b={nextPage:l,previousPage:v};var w="Pagina successiva";var y="Pagina precedente";var k={nextPage:w,previousPage:y};var x=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-paginator-item: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-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-paginator-scroll-behavior:smooth;--mds-paginator-transition-duration:var(--duration-200,.2s);--private-paginator-transition-duration:var(--mds-paginator-transition-duration);align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.pages{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-paginator-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;flex-shrink:1;gap:calc(var(--spacing,.0025rem)*50);margin-inline:calc(var(--spacing,.0025rem)*200);overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:var(--mds-paginator-scroll-behavior,smooth);transition-duration:var(--private-paginator-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.pages::-webkit-scrollbar{display:none}: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-paginator-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .pages{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .pages{box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:host([pref-contrast=more]) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host{--mds-paginator-scroll-behavior:auto}: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-paginator-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .pages{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .pages{box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}'};var P=t("mds_paginator",/** @class */function(){function t(t){var r=this;e(this,t);this.pageChangedEvent=a(this,"mdsPaginatorChange",7);this.t=new d({el:p,en:f,es:b,it:k});
2
+ /**
3
+ * Specifies the number of total pages to be handled
4
+ */this.pages=0;
5
+ /**
6
+ * Specifies the current page selected in the paginator
7
+ */this.currentPage=1;this.scrollPage=function(t){var e;var a=t;var i=(e=r.element.shadowRoot)===null||e===void 0?void 0:e.querySelector(".pages");var n=i===null||i===void 0?void 0:i.querySelectorAll("mds-paginator-item");if(!i||!n)return;if(a<0){i.scrollLeft=0;return}if(a>n.length-1){var o=n[n.length-1];i.scrollLeft=o.offsetLeft-i.offsetLeft;return}var s=n[a];i.scrollLeft=s.offsetLeft-i.offsetLeft-i.offsetWidth/2+s.offsetWidth/2};
8
+ /**
9
+ * The strip follows the focused item only when the focus comes from the keyboard.
10
+ * On a pointer interaction the item receives focus on mousedown: scrolling the strip
11
+ * at that moment moves the item away from under the pointer, the mouseup lands on
12
+ * another element and the browser dispatches the click on their common ancestor
13
+ * (the strip itself) instead of the item, so the page would never be selected.
14
+ */this.isKeyboardFocus=function(t){try{return t.matches(":focus-visible")}catch(t){return true}};this.handleItemFocus=function(t){var e;var a=t.target;if(!a||!r.isKeyboardFocus(a))return;var i=(e=r.element.shadowRoot)===null||e===void 0?void 0:e.querySelector(".pages");var n=i===null||i===void 0?void 0:i.querySelectorAll("mds-paginator-item");if(!n)return;r.scrollPage(Array.from(n).indexOf(a))};this.goToPage=function(t,e){if(t<1||t>r.pages){return}r.currentPage=t;if(r.pages>2){r.scrollPage(r.currentPage-2)}r.pageChangedEvent.emit({page:r.currentPage,caller:e})};this.handlePrevClick=function(t){r.goToPage(r.currentPage-1,t.target)};this.handleFirstClick=function(t){r.goToPage(1,t.target)};this.handlePageClick=function(t){return function(e){r.goToPage(t,e.target)}};this.handleLastClick=function(t){r.goToPage(r.pages,t.target)};this.handleNextClick=function(t){r.goToPage(r.currentPage+1,t.target)}}t.prototype.componentDidLoad=function(){var t=this;setTimeout((function(){t.goToPage(t.currentPage)}),10)};t.prototype.render=function(){var t=this;return r(i,{key:"c799748f3c405935c1686e5e5416af2e85c602eb","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},r("mds-paginator-item",{key:"bef296cc9c72931156d7490306e5faa1f46296a4","aria-label":this.t.get("previousPage"),class:"item-icon",icon:s,disabled:this.currentPage===1,onClick:this.handlePrevClick}),this.pages>0&&r("mds-paginator-item",{key:"70dc199eca2b93e107577fbe22453caeb55d85a2",class:"item-first",selected:this.currentPage===1,onClick:this.handleFirstClick},"1"),this.pages>2&&r("div",{key:"cde850d3d91892a6ec9b542e2f6ae4220c5f0f0b",class:"pages"},Array.from(Array(this.pages-2).keys()).map((function(e){return r("mds-paginator-item",{key:e,class:"item",selected:t.currentPage===e+2,onClick:t.handlePageClick(e+2),onFocus:t.handleItemFocus},e+2)}))),this.pages>1&&r("mds-paginator-item",{key:"8eca32171d96c430f115b7503006598bf288146c",class:"item-last",selected:this.currentPage===this.pages,onClick:this.handleLastClick},this.pages),r("mds-paginator-item",{key:"2fc0dacd6cd6cc06669acbd2b4b33d09e09fc1e4","aria-label":this.t.get("nextPage"),class:"item-icon",icon:m,disabled:this.currentPage===this.pages,onClick:this.handleNextClick}))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());P.style=x()}}}));
@@ -1 +1 @@
1
- import{r as e,h as t,e as o}from"./p-CvLLN-QH.js";const a=class{constructor(t){e(this,t)}render(){return t(o,{key:"1244832dcbc5ec2b4b8ea3c8f5a427559e4017e6",slot:"footer"},t("div",{key:"122a992da6485f84e631eb8b13d01a6c18a9b6ca",class:"actions"},t("slot",{key:"1384adbb3d46542d77eb80e9b737c0a416afe43f"})))}};a.style="@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:var(--mds-card-background);container-type:inline-size;display:block;flex-grow:1;min-width:0}.actions{align-items:center;display:flex;gap:var(--magma-rhythm-inline,12px);justify-content:flex-end}@container not (min-width:23.75rem){.actions{flex-direction:column}::slotted(*){align-self:stretch}}";export{a as mds_card_footer}
1
+ import{r as e,h as t,e as o}from"./p-CvLLN-QH.js";const i=class{constructor(t){e(this,t)}render(){return t(o,{key:"041084d763c19e6eb310b522e2e38ba1386c0fb1",slot:"footer"},t("div",{key:"620dfd1b91499967fbc7e85122b6d68a265b0f4b",class:"actions"},t("slot",{key:"9e3f73b0ed73ebe85efaafb2254377c21b5c5d0a"})))}};i.style="@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:var(--mds-card-background);container-type:inline-size;display:block;flex-grow:1;min-width:0}.actions{align-items:center;display:flex;gap:var(--magma-rhythm-inline,12px);justify-content:flex-end}@container not (min-width:23.75rem){.actions{flex-direction:column}::slotted(*){align-self:stretch}}";export{i as mds_card_footer}
@@ -1 +1 @@
1
- import{r as e,h as t,e as r}from"./p-CvLLN-QH.js";const s=class{constructor(t){e(this,t)}render(){return t(r,{key:"a36bb357068cc6ffdd38868b417f14c656b09805"},t("slot",{key:"31401bd1ca34fc197cdfd3985267c9c72dc991e4"}))}};s.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):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{display:grid;gap:calc(var(--spacing,.0025rem)*600)}";export{s as mds_price_table}
1
+ import{r as e,h as t,e as r}from"./p-CvLLN-QH.js";const s=class{constructor(t){e(this,t)}render(){return t(r,{key:"428c393ff185a2820f6a4097825c80b22f593ebd"},t("slot",{key:"7ed01d57308eb5b6bc2cd89416c6510483e2fa01"}))}};s.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):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{display:grid;gap:calc(var(--spacing,.0025rem)*600)}";export{s as mds_price_table}
@@ -1 +1 @@
1
- import{r as t,h as i,e as s,g as e}from"./p-CvLLN-QH.js";import{s as n}from"./p-wI0alRSO.js";import{L as h}from"./p-OafT80hV.js";import"./p-iX3kcwYg.js";var r={digit:"Ψηφίο {{position}} από {{length}}"},o={digit:"Digit {{position}} of {{length}}"},a={digit:"Dígito {{position}} de {{length}}"},l={digit:"Cifra {{position}} di {{length}}"};const d=class{constructor(i){t(this,i),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals),this.loadValue="",this.digits=[],this.formDisabled=!1,this.t=new h({el:r,en:o,es:a,it:l}),this.length=6,this.autosubmit=!1,this.disabled=!1,this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.cellIndex=t=>Array.from(this.element.shadowRoot.querySelectorAll("mds-input")).indexOf(t),this.setOtpDigit=(t,i)=>{const s=[...this.digits];s[this.cellIndex(t)]=i,this.digits=s,this.updateValue()},this.submit=t=>{var i,s;const e=(null!==(i=this.value)&&void 0!==i?i:"").length===this.length;t.blur(),this.autosubmit&&e&&(null===(s=this.internals.form)||void 0===s||s.requestSubmit())},this.handleKeyDown=t=>{var i;if(t.ctrlKey||t.metaKey||t.altKey)return;const s=t.target,e=s.previousElementSibling,n=s.nextElementSibling;switch(t.key){case"Backspace":return t.preventDefault(),""===(null!==(i=this.digits[this.cellIndex(s)])&&void 0!==i?i:"")&&e?(this.setOtpDigit(e,""),void e.setFocus()):void this.setOtpDigit(s,"");case"Delete":return t.preventDefault(),void this.setOtpDigit(s,"");case"ArrowLeft":return t.preventDefault(),void(null==e||e.setFocus());case"ArrowRight":return t.preventDefault(),void(null==n||n.setFocus())}1===t.key.length&&(t.preventDefault(),/^[0-9]$/.test(t.key)&&(this.setOtpDigit(s,t.key),null!=n?n.setFocus():this.submit(s)))},this.handlePaste=t=>{var i,s;t.preventDefault();const e=(null!==(s=null===(i=t.clipboardData)||void 0===i?void 0:i.getData("text"))&&void 0!==s?s:"").trim();if(!/^[0-9]+$/.test(e))return;let n=t.target;for(const t of e){this.setOtpDigit(n,t);const i=n.nextElementSibling;if(null==i)return void this.submit(n);n=i,n.setFocus()}},this.digitName=t=>{var i;const s=this.t.get("digit",{position:t+1,length:this.length});return""!==(null!==(i=this.accessibleName)&&void 0!==i?i:"")?`${this.accessibleName}, ${s}`:s}}valueChanged(t){(null!=t?t:"")!==this.digits.join("")&&this.fillCells(null!=t?t:"")}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){this.fillCells(this.loadValue)}componentWillLoad(){var t;this.loadValue=null!==(t=this.value)&&void 0!==t?t:"",this.fillCells(this.loadValue)}fillCells(t){this.digits=Array.from(t).slice(0,this.length),this.updateValue()}updateValue(){this.value=this.digits.join(""),n(this.internals,this.value)}render(){return i(s,{key:"a8f9bae55a3633e3362479f8c0c7503273a13cdd"},Array.from({length:this.length}).map(((t,s)=>{var e;return i("mds-input",{"aria-label":this.digitName(s),class:"input",disabled:this.isDisabled(),maxlength:1,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,value:null!==(e=this.digits[s])&&void 0!==e?e:""})})))}static get formAssociated(){return!0}get element(){return e(this)}static get watchers(){return{value:[{valueChanged:0}]}}};d.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input: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{display:inline-flex;gap:calc(var(--spacing,.0025rem)*400)}.input{width:calc(var(--spacing,.0025rem)*1200)}.input::part(field){text-align:center}.input::part(tip-count),.input::part(tip-top){display:none}";export{d as mds_input_otp}
1
+ import{r as t,h as i,e as s,g as e}from"./p-CvLLN-QH.js";import{s as n}from"./p-wI0alRSO.js";import{L as h}from"./p-CATyfc78.js";import"./p-DxR4rGsw.js";var r={digit:"Ψηφίο {{position}} από {{length}}"},o={digit:"Digit {{position}} of {{length}}"},a={digit:"Dígito {{position}} de {{length}}"},l={digit:"Cifra {{position}} di {{length}}"};const d=class{constructor(i){t(this,i),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals),this.loadValue="",this.digits=[],this.formDisabled=!1,this.t=new h({el:r,en:o,es:a,it:l}),this.length=6,this.autosubmit=!1,this.disabled=!1,this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.cellIndex=t=>Array.from(this.element.shadowRoot.querySelectorAll("mds-input")).indexOf(t),this.setOtpDigit=(t,i)=>{const s=[...this.digits];s[this.cellIndex(t)]=i,this.digits=s,this.updateValue()},this.submit=t=>{var i,s;const e=(null!==(i=this.value)&&void 0!==i?i:"").length===this.length;t.blur(),this.autosubmit&&e&&(null===(s=this.internals.form)||void 0===s||s.requestSubmit())},this.handleKeyDown=t=>{var i;if(t.ctrlKey||t.metaKey||t.altKey)return;const s=t.target,e=s.previousElementSibling,n=s.nextElementSibling;switch(t.key){case"Backspace":return t.preventDefault(),""===(null!==(i=this.digits[this.cellIndex(s)])&&void 0!==i?i:"")&&e?(this.setOtpDigit(e,""),void e.setFocus()):void this.setOtpDigit(s,"");case"Delete":return t.preventDefault(),void this.setOtpDigit(s,"");case"ArrowLeft":return t.preventDefault(),void(null==e||e.setFocus());case"ArrowRight":return t.preventDefault(),void(null==n||n.setFocus())}1===t.key.length&&(t.preventDefault(),/^[0-9]$/.test(t.key)&&(this.setOtpDigit(s,t.key),null!=n?n.setFocus():this.submit(s)))},this.handlePaste=t=>{var i,s;t.preventDefault();const e=(null!==(s=null===(i=t.clipboardData)||void 0===i?void 0:i.getData("text"))&&void 0!==s?s:"").trim();if(!/^[0-9]+$/.test(e))return;let n=t.target;for(const t of e){this.setOtpDigit(n,t);const i=n.nextElementSibling;if(null==i)return void this.submit(n);n=i,n.setFocus()}},this.digitName=t=>{var i;const s=this.t.get("digit",{position:t+1,length:this.length});return""!==(null!==(i=this.accessibleName)&&void 0!==i?i:"")?`${this.accessibleName}, ${s}`:s}}valueChanged(t){(null!=t?t:"")!==this.digits.join("")&&this.fillCells(null!=t?t:"")}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){this.fillCells(this.loadValue)}componentWillLoad(){var t;this.loadValue=null!==(t=this.value)&&void 0!==t?t:"",this.fillCells(this.loadValue)}fillCells(t){this.digits=Array.from(t).slice(0,this.length),this.updateValue()}updateValue(){this.value=this.digits.join(""),n(this.internals,this.value)}render(){return i(s,{key:"00d0011d96d72218ecff3a80e24fa3fc7671568a"},Array.from({length:this.length}).map(((t,s)=>{var e;return i("mds-input",{"aria-label":this.digitName(s),class:"input",disabled:this.isDisabled(),maxlength:1,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,value:null!==(e=this.digits[s])&&void 0!==e?e:""})})))}static get formAssociated(){return!0}get element(){return e(this)}static get watchers(){return{value:[{valueChanged:0}]}}};d.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input: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{display:inline-flex;gap:calc(var(--spacing,.0025rem)*400)}.input{width:calc(var(--spacing,.0025rem)*1200)}.input::part(field){text-align:center}.input::part(tip-count),.input::part(tip-top){display:none}";export{d as mds_input_otp}
@@ -0,0 +1,21 @@
1
+ System.register(["./p-BZP13mns.system.js","./p-Cwb0_qSC.system.js","./p-C7XBwPt0.system.js","./p-pxyGaQ-P.system.js"],(function(e){"use strict";var a,r,t,s,i,o,n;return{setters:[function(e){a=e.r;r=e.d;t=e.h;s=e.e},function(e){i=e.m},function(e){o=e.m},function(e){n=e.l}],execute:function(){var c=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-pref-theme-item-color-background:rgb(var(--private-theme-wash,var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));--mds-pref-theme-item-color-status-error:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-pref-theme-item-color-status-success:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-pref-theme-item-color-status-warning:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-pref-theme-item-color-variant-primary:rgb(var(--private-theme-accent,var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));align-items:center;cursor:pointer;display:flex;gap:calc(var(--spacing,.0025rem)*400);justify-content:space-between}.theme-preview{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15));box-sizing:border-box;display:inline-flex;flex:none;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*100);height:calc(var(--spacing,.0025rem)*600);margin:1px;padding:calc(var(--spacing,.0025rem)*100);width:calc(var(--spacing,.0025rem)*600)}.theme-color,.theme-preview{background-color:var(--mds-pref-theme-item-color-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--magma-radius-full,var(--radius-full,1000px))}.theme-color{height:calc(var(--spacing,.0025rem)*150);position:relative;width:calc(var(--spacing,.0025rem)*150)}.theme-color:after{border-radius:inherit;box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15)) inset;content:"";display:flex;inset:0;position:absolute}.theme-color--variant-primary{background-color:var(--mds-pref-theme-item-color-variant-primary,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))))}.theme-color--status-success{background-color:var(--mds-pref-theme-item-color-status-success,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))))}.theme-color--status-warning{background-color:var(--mds-pref-theme-item-color-status-warning,rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))))}.theme-color--status-error{background-color:var(--mds-pref-theme-item-color-status-error,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))))}'};
2
+ /** The names mds-pref-theme accepts: a theme's preview custom properties carry the name. */var m=/^[a-z]+(-[a-z]+)*$/;var h=e("mds_pref_theme_item",/** @class */function(){function e(e){var t=this;a(this,e);this.selectThemeEvent=r(this,"mdsPrefThemeItemSelect",7);
3
+ /**
4
+ * Specifies the theme name; the swatch shows the preview that theme publishes,
5
+ * `--magma-preview-<name>-wash` and `--magma-preview-<name>-accent`
6
+ * @example 'editorial'
7
+ */this.name="default";
8
+ /**
9
+ * Specifies the theme scheme which can be 'light', 'dark' or 'all'
10
+ */this.scheme="all";
11
+ /**
12
+ * Specifies if the element is selected
13
+ */this.selected=false;this.handleClick=function(){t.selectThemeEvent.emit({name:t.name,scheme:t.scheme})};
14
+ /**
15
+ * The preview of the theme the item names, which the styles of that theme publish on the page
16
+ * (`--magma-preview-<name>-{wash,accent}`, #692), so the item shows its own theme and not the
17
+ * active one. The stylesheet falls back to the active theme when a theme publishes none.
18
+ */this.previewStyle=function(){return m.test(t.name)?{"--private-theme-wash":"var(--magma-preview-".concat(t.name,"-wash)"),"--private-theme-accent":"var(--magma-preview-".concat(t.name,"-accent)")}:undefined}}e.prototype.componentWillRender=function(){var e;if(((e=this.label)!==null&&e!==void 0?e:"")===""){this.label=n(this.name)}};e.prototype.render=function(){
19
+ // the item is an entry of the `menu` the mds-dropdown of the controller opens:
20
+ // without the role axe rejects it as a child of that menu (aria-required-children)
21
+ return t(s,{key:"63517dc1ec6e90adb21905e71790960f97227cf4",onClick:this.handleClick,role:"menuitem",style:this.previewStyle()},t("mds-button",{key:"eed7d1a57f43b1aafe6c09bfb6f7df9b714d3f72",icon:this.selected?i:o,variant:"dark",tone:"text",label:this.label}),t("span",{key:"09adb438d937f90b224d4de1383f8b52056f295a","aria-hidden":"true",class:"theme-preview"},t("span",{key:"c879b38849817786b7305b7e58bb3b2585add51e",class:"theme-color theme-color--variant-primary"}),t("span",{key:"01f5c466f8301916bdaa7e515ac58408a4079c91",class:"theme-color theme-color--status-success"}),t("span",{key:"115930ecf3879fcfd0ced551e94e5d76970a7548",class:"theme-color theme-color--status-warning"}),t("span",{key:"025b21431650a79c399985211fd8275a37291d5a",class:"theme-color theme-color--status-error"})))};return e}());h.style=c()}}}));
@@ -1,8 +1,8 @@
1
- import{r as e,d as r,h as a,e as i,g as o}from"./p-CvLLN-QH.js";import{m as t}from"./p-BJ8rpzfj.js";import{K as s}from"./p-CGrPq3C4.js";import{c as l}from"./p-ChV9xqsO.js";import{f as n,a as c,b as m,c as v,g as d,d as b,e as g}from"./p-CDjzBTsk.js";import{L as f}from"./p-OafT80hV.js";import{p}from"./p-iX3kcwYg.js";import"./p-BxIk5ZFV.js";import"./p-b1ORvfSX.js";
1
+ import{r as e,d as r,h as a,e as i,g as t}from"./p-CvLLN-QH.js";import{m as o}from"./p-BJ8rpzfj.js";import{K as s}from"./p-CGrPq3C4.js";import{c as l}from"./p-ChV9xqsO.js";import{f as n,a as c,b as m,c as v,g as d,d as b,e as g}from"./p-CDjzBTsk.js";import{L as f}from"./p-CATyfc78.js";import{p}from"./p-DxR4rGsw.js";import"./p-BxIk5ZFV.js";import"./p-b1ORvfSX.js";
2
2
  /**
3
3
  * filesize
4
4
  *
5
5
  * @copyright 2024 Jason Mulligan <jason.mulligan@avoidwork.com>
6
6
  * @license BSD-3-Clause
7
7
  * @version 10.1.6
8
- */const u="bits",h="bytes",w="jedec",x={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};var y={remove:"Αφαιρέστε το αρχείο από την ουρά μεταφόρτωσης"},k={remove:"Remove file from upload queue"},j={remove:"Eliminar archivo de la cola de carga"},q={remove:"Rimuovi file dalla coda di upload"};const B=class{constructor(a){e(this,a),this.downloadedEvent=r(this,"mdsFileDownload",7),this.deletedEvent=r(this,"mdsFileDelete",7),this.t=new f({el:Object.assign(Object.assign({},y),v),en:Object.assign(Object.assign({},k),m),es:Object.assign(Object.assign({},j),c),it:Object.assign(Object.assign({},q),n)}),this.km=new s,this.truncate="word",this.getDefaultKeyDescription=()=>d(this.filename,this.suffix).description,this.onClickDeletedEvent=()=>{this.deletedEvent.emit({target:this.host,filename:this.filename,extension:b(this.filename,this.suffix)})},this.onClickDownloadEvent=()=>{this.downloadable&&this.downloadedEvent.emit({target:this.host,filename:this.filename,extension:b(this.filename,this.suffix)})},this.cardRef=e=>{e!==this.card&&(this.km.removeElement(),this.card=null!=e?e:void 0,this.attachCardKeyboard())},this.attachCardKeyboard=()=>{this.card&&(this.km.addElement(this.card),this.km.attachClickBehavior("element",{space:!0}))}}componentWillLoad(){this.format=d(this.filename,this.suffix).format}connectedCallback(){this.attachCardKeyboard()}disconnectedCallback(){this.km.detachClickBehavior()}handleFilename(e){this.format=d(e,this.suffix).format}render(){var e,r,o,s,n,c,m;const v=""!==(null!==(e=this.message)&&void 0!==e?e:"");return a(i,{key:"0863717422b5bc3c218ed9bb0e71c745e4e02c6d","pref-animation":p.state.animation,"pref-contrast":p.state.contrast,"pref-mode":p.state.mode,"pref-theme-scheme":p.state["theme-scheme"]},this.deletable&&a("mds-button",{key:"359e808d5cc0d64f5bbf7eb47c40fa49b2ca8c2a",title:this.t.get("remove"),class:"action-delete",icon:t,variant:"light",onClick:this.onClickDeletedEvent}),a("div",{key:"a350897bc5eb870c1938a7a1cb41abca82ce9ba2",class:"card",onClick:this.onClickDownloadEvent,part:"card",ref:this.cardRef,role:this.downloadable?"button":void 0,tabindex:this.downloadable?"0":void 0},""!==(null!==(r=this.src)&&void 0!==r?r:"")&&!v&&d(this.filename,this.suffix).preview?a("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):a("div",{class:l("preview",v?"preview--status":"preview--icon")},""!==(null!==(o=this.icon)&&void 0!==o?o:"")?a("mds-icon",{class:"icon",name:this.icon}):a("mds-icon",{class:"icon",name:g(this.filename,this.suffix).icon}),this.message&&a("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),a("mds-text",{key:"2738f45b20a212746acd263bb3d7f0c36a19b985",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),a("div",{key:"1dc0d2b35a555acea1bae74af81668ea17ef1796",class:l("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&a("mds-text",{key:"6a8b5680e8e41b33c28574a2cc9297776f011c85",class:"file-size",truncate:"word",typography:"caption",variant:"info"},function(e,{bits:r=!1,pad:a=!1,base:i=-1,round:o=2,locale:t="",localeOptions:s={},separator:l="",spacer:n=" ",symbols:c={},standard:m="",output:v="string",fullform:d=!1,fullforms:b=[],exponent:g=-1,roundingMethod:f="round",precision:p=0}={}){let y=g,k=Number(e),j=[],q=0,B="";"si"===m?(i=10,m=w):"iec"===m||m===w?i=2:2===i?m="iec":(i=10,m=w);const M=10===i?1e3:1024,O=!0===d,z=k<0,C=Math[f];if("bigint"!=typeof e&&isNaN(e))throw new TypeError("Invalid number");if("function"!=typeof C)throw new TypeError("Invalid rounding method");if(z&&(k=-k),(-1===y||isNaN(y))&&(y=Math.floor(Math.log(k)/Math.log(M)),y<0&&(y=0)),y>8&&(p>0&&(p+=8-y),y=8),"exponent"===v)return y;if(0===k)j[0]=0,B=j[1]=x.symbol[m][r?u:h][y];else{q=k/(2===i?Math.pow(2,10*y):Math.pow(1e3,y)),r&&(q*=8,q>=M&&y<8&&(q/=M,y++));const e=Math.pow(10,y>0?o:0);j[0]=C(q*e)/e,j[0]===M&&y<8&&-1===g&&(j[0]=1,y++),B=j[1]=10===i&&1===y?r?"kbit":"kB":x.symbol[m][r?u:h][y]}if(z&&(j[0]=-j[0]),p>0&&(j[0]=j[0].toPrecision(p)),j[1]=c[j[1]]||j[1],!0===t?j[0]=j[0].toLocaleString():t.length>0?j[0]=j[0].toLocaleString(t,s):l.length>0&&(j[0]=j[0].toString().replace(".",l)),a&&o>0){const e=j[0].toString(),r=l||(e.match(/(\D)/g)||[]).pop()||".",a=e.toString().split(r),i=a[1]||"",t=i.length;j[0]=`${a[0]}${r}${i.padEnd(t+(o-t),"0")}`}return O&&(j[1]=b[y]?b[y]:x.fullform[m][y]+(r?"bit":"byte")+(1===j[0]?"":"s")),"array"===v?j:"object"===v?{value:j[0],symbol:j[1],exponent:y,unit:B}:j.join(n)}(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&a("mds-text",{key:"1c54550ac4822e458e470f9e5c294130e927dfa1",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),b(this.filename,this.suffix)&&a("mds-badge",{key:"2e5799bef4efda7c2b6adbe738fda4a48925e952",variant:g(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:null!==(s=this.description)&&void 0!==s?s:this.t.get(this.getDefaultKeyDescription())},b(this.filename,this.suffix)),""===(null!==(n=this.filesize)&&void 0!==n?n:"")&&a("mds-text",{key:"80f48e0cdac94503327e94d14c40382ae40eec56",class:"description",truncate:"word",typography:"caption",variant:"info",title:null!==(c=this.description)&&void 0!==c?c:this.t.get(this.getDefaultKeyDescription())},null!==(m=this.description)&&void 0!==m?m:this.t.get(this.getDefaultKeyDescription())))))}get host(){return o(this)}static get watchers(){return{filename:[{handleFilename:0}]}}};B.style="@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-button,mds-icon,mds-img,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-background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-file-preview-border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-file-preview-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-file-preview-icon-background:inherit;--mds-file-preview-icon-color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-file-preview-transition-duration:0s;--private-file-preview-padding:calc(var(--spacing,.0025rem)*400);--private-file-preview-transition-duration:var(--mds-file-preview-transition-duration);background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));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);corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;fill:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));justify-content:stretch;overflow:hidden;position:relative;transition-duration:var(--private-file-preview-transition-duration)}.card{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));grid-template-columns:repeat(1,minmax(1px,100%));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;--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);border-radius:inherit;corner-shape:inherit;display:grid;gap:calc(var(--spacing,.0025rem)*200);padding:var(--private-file-preview-padding);width:100%}.card[role=button]{cursor:pointer}.card:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.preview{aspect-ratio:var(--aspect-square,1/1);background-color:var(--mds-file-preview-icon-background);border-radius:max(0px,calc(var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--private-file-preview-padding)));box-sizing:border-box;color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));corner-shape:inherit;fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));transition-duration:inherit;width:100%}.preview--image{filter:brightness(.975);padding:0!important}.preview--icon,.preview--status{align-items:center;display:flex;flex-direction:column;justify-content:center}.preview--status{gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*400)}.icon{height:calc(var(--spacing,.0025rem)*1200);width:calc(var(--spacing,.0025rem)*1200)}.message{text-align:center}.action-delete{background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));position:absolute;right:0;top:0;z-index:10}.infos{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.suffix{flex-shrink:0}.infos--has-file-size{justify-content:space-between}.file-name{--mds-text-line-clamp:2}:host([format=archive]),:host([format=executable]){--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));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47))}:host([format=attachment]){--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([format=audio]),:host([format=video]){--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));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245))}:host([format=code]),:host([format=data]),:host([format=markup]){--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));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5))}:host([format=certificate]),:host([format=document]){--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));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5))}:host([format=email]),:host([format=text]){--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));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248))}:host([format=image]){--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));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61))}:host([format=slide]){--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));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113))}:host([format=spreadsheet]){--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));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13))}:host([format=vector]){--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));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-file-preview-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-file-preview-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-file-preview-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-09,253 214 221));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-color:rgb(var(--label-amaranth-03,170 10 37))}:host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-09,151 237 252));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-03,3 97 114))}:host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-09,216 222 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-color:rgb(var(--label-blue-03,11 51 246))}:host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-09,165 240 193));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-color:rgb(var(--label-green-03,18 103 49))}:host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-09,189 239 111));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-color:rgb(var(--label-lime-03,64 99 11))}:host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-09,253 217 191));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-color:rgb(var(--label-orange-03,147 63 4))}:host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-09,251 213 232));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-color:rgb(var(--label-orchid-03,165 17 90))}:host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-09,235 216 253));--mds-file-preview-icon-color:rgb(var(--label-purple-04,150 51 245));--mds-file-preview-color:rgb(var(--label-purple-03,116 10 217))}:host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-09,250 215 215));--mds-file-preview-icon-color:rgb(var(--label-red-04,212 28 28));--mds-file-preview-color:rgb(var(--label-red-03,169 22 22))}:host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-09,185 231 251));--mds-file-preview-icon-color:rgb(var(--label-sky-04,10 118 167));--mds-file-preview-color:rgb(var(--label-sky-03,8 94 133))}:host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-09,229 218 253));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-color:rgb(var(--label-violet-03,87 20 242))}:host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-09,251 221 131));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:host([pref-contrast=more]):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([pref-contrast=more]):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([pref-contrast=more]):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:host([pref-contrast=more]):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:host([pref-contrast=more]):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:host([pref-contrast=more]):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:host([pref-contrast=more]):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:host([pref-contrast=more]):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:host([pref-contrast=more]):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:host([pref-contrast=more]):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:host([pref-contrast=more]):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:host([pref-contrast=more]):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:host([pref-contrast=more]):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:host([pref-contrast=more]):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}: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-preview-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@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-preview-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}";export{B as mds_file_preview}
8
+ */const u="bits",h="bytes",w="jedec",x={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};var y={remove:"Αφαιρέστε το αρχείο από την ουρά μεταφόρτωσης"},k={remove:"Remove file from upload queue"},j={remove:"Eliminar archivo de la cola de carga"},q={remove:"Rimuovi file dalla coda di upload"};const B=class{constructor(a){e(this,a),this.downloadedEvent=r(this,"mdsFileDownload",7),this.deletedEvent=r(this,"mdsFileDelete",7),this.t=new f({el:Object.assign(Object.assign({},y),v),en:Object.assign(Object.assign({},k),m),es:Object.assign(Object.assign({},j),c),it:Object.assign(Object.assign({},q),n)}),this.km=new s,this.truncate="word",this.getDefaultKeyDescription=()=>d(this.filename,this.suffix).description,this.onClickDeletedEvent=()=>{this.deletedEvent.emit({target:this.host,filename:this.filename,extension:b(this.filename,this.suffix)})},this.onClickDownloadEvent=()=>{this.downloadable&&this.downloadedEvent.emit({target:this.host,filename:this.filename,extension:b(this.filename,this.suffix)})},this.cardRef=e=>{e!==this.card&&(this.km.removeElement(),this.card=null!=e?e:void 0,this.attachCardKeyboard())},this.attachCardKeyboard=()=>{this.card&&(this.km.addElement(this.card),this.km.attachClickBehavior("element",{space:!0}))}}componentWillLoad(){this.format=d(this.filename,this.suffix).format}connectedCallback(){this.attachCardKeyboard()}disconnectedCallback(){this.km.detachClickBehavior()}handleFilename(e){this.format=d(e,this.suffix).format}render(){var e,r,t,s,n,c,m;const v=""!==(null!==(e=this.message)&&void 0!==e?e:"");return a(i,{key:"3d31b1635e14ae13f25c5125dfce4d05ebaab25f","pref-animation":p.state.animation,"pref-contrast":p.state.contrast,"pref-mode":p.state.mode,"pref-theme-scheme":p.state["theme-scheme"]},this.deletable&&a("mds-button",{key:"3159badd8476b99ea766a2ccefe562a945b704ac",title:this.t.get("remove"),class:"action-delete",icon:o,variant:"light",onClick:this.onClickDeletedEvent}),a("div",{key:"04534642479d77658550943897ef919166d5a7fb",class:"card",onClick:this.onClickDownloadEvent,part:"card",ref:this.cardRef,role:this.downloadable?"button":void 0,tabindex:this.downloadable?"0":void 0},""!==(null!==(r=this.src)&&void 0!==r?r:"")&&!v&&d(this.filename,this.suffix).preview?a("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):a("div",{class:l("preview",v?"preview--status":"preview--icon")},""!==(null!==(t=this.icon)&&void 0!==t?t:"")?a("mds-icon",{class:"icon",name:this.icon}):a("mds-icon",{class:"icon",name:g(this.filename,this.suffix).icon}),this.message&&a("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),a("mds-text",{key:"8599b28b43f69fae793cd0a93f2c585d63c099f3",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),a("div",{key:"277b77d7e448802187fa84c736a73a8bff520507",class:l("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&a("mds-text",{key:"da01d8de2fae46dc85ac7155b3367832f8eb29ed",class:"file-size",truncate:"word",typography:"caption",variant:"info"},function(e,{bits:r=!1,pad:a=!1,base:i=-1,round:t=2,locale:o="",localeOptions:s={},separator:l="",spacer:n=" ",symbols:c={},standard:m="",output:v="string",fullform:d=!1,fullforms:b=[],exponent:g=-1,roundingMethod:f="round",precision:p=0}={}){let y=g,k=Number(e),j=[],q=0,B="";"si"===m?(i=10,m=w):"iec"===m||m===w?i=2:2===i?m="iec":(i=10,m=w);const M=10===i?1e3:1024,z=!0===d,O=k<0,C=Math[f];if("bigint"!=typeof e&&isNaN(e))throw new TypeError("Invalid number");if("function"!=typeof C)throw new TypeError("Invalid rounding method");if(O&&(k=-k),(-1===y||isNaN(y))&&(y=Math.floor(Math.log(k)/Math.log(M)),y<0&&(y=0)),y>8&&(p>0&&(p+=8-y),y=8),"exponent"===v)return y;if(0===k)j[0]=0,B=j[1]=x.symbol[m][r?u:h][y];else{q=k/(2===i?Math.pow(2,10*y):Math.pow(1e3,y)),r&&(q*=8,q>=M&&y<8&&(q/=M,y++));const e=Math.pow(10,y>0?t:0);j[0]=C(q*e)/e,j[0]===M&&y<8&&-1===g&&(j[0]=1,y++),B=j[1]=10===i&&1===y?r?"kbit":"kB":x.symbol[m][r?u:h][y]}if(O&&(j[0]=-j[0]),p>0&&(j[0]=j[0].toPrecision(p)),j[1]=c[j[1]]||j[1],!0===o?j[0]=j[0].toLocaleString():o.length>0?j[0]=j[0].toLocaleString(o,s):l.length>0&&(j[0]=j[0].toString().replace(".",l)),a&&t>0){const e=j[0].toString(),r=l||(e.match(/(\D)/g)||[]).pop()||".",a=e.toString().split(r),i=a[1]||"",o=i.length;j[0]=`${a[0]}${r}${i.padEnd(o+(t-o),"0")}`}return z&&(j[1]=b[y]?b[y]:x.fullform[m][y]+(r?"bit":"byte")+(1===j[0]?"":"s")),"array"===v?j:"object"===v?{value:j[0],symbol:j[1],exponent:y,unit:B}:j.join(n)}(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&a("mds-text",{key:"ac7c86257ea71973cd5ec0e036485bfcef9dcc94",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),b(this.filename,this.suffix)&&a("mds-badge",{key:"a5c9fc89aaed90ef4be43fa94117379967a1d703",variant:g(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:null!==(s=this.description)&&void 0!==s?s:this.t.get(this.getDefaultKeyDescription())},b(this.filename,this.suffix)),""===(null!==(n=this.filesize)&&void 0!==n?n:"")&&a("mds-text",{key:"7743489558a5bbdcdd88280e839d27bb7b750393",class:"description",truncate:"word",typography:"caption",variant:"info",title:null!==(c=this.description)&&void 0!==c?c:this.t.get(this.getDefaultKeyDescription())},null!==(m=this.description)&&void 0!==m?m:this.t.get(this.getDefaultKeyDescription())))))}get host(){return t(this)}static get watchers(){return{filename:[{handleFilename:0}]}}};B.style="@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-button,mds-icon,mds-img,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-background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-file-preview-border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-file-preview-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-file-preview-icon-background:inherit;--mds-file-preview-icon-color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-file-preview-transition-duration:0s;--private-file-preview-padding:calc(var(--spacing,.0025rem)*400);--private-file-preview-transition-duration:var(--mds-file-preview-transition-duration);background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));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);corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;fill:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));justify-content:stretch;overflow:hidden;position:relative;transition-duration:var(--private-file-preview-transition-duration)}.card{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));grid-template-columns:repeat(1,minmax(1px,100%));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;--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);border-radius:inherit;corner-shape:inherit;display:grid;gap:calc(var(--spacing,.0025rem)*200);padding:var(--private-file-preview-padding);width:100%}.card[role=button]{cursor:pointer}.card:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.preview{aspect-ratio:var(--aspect-square,1/1);background-color:var(--mds-file-preview-icon-background);border-radius:max(0px,calc(var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--private-file-preview-padding)));box-sizing:border-box;color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));corner-shape:inherit;fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));transition-duration:inherit;width:100%}.preview--image{filter:brightness(.975);padding:0!important}.preview--icon,.preview--status{align-items:center;display:flex;flex-direction:column;justify-content:center}.preview--status{gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*400)}.icon{height:calc(var(--spacing,.0025rem)*1200);width:calc(var(--spacing,.0025rem)*1200)}.message{text-align:center}.action-delete{background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));position:absolute;right:0;top:0;z-index:10}.infos{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.suffix{flex-shrink:0}.infos--has-file-size{justify-content:space-between}.file-name{--mds-text-line-clamp:2}:host([format=archive]),:host([format=executable]){--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));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47))}:host([format=attachment]){--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([format=audio]),:host([format=video]){--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));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245))}:host([format=code]),:host([format=data]),:host([format=markup]){--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));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5))}:host([format=certificate]),:host([format=document]){--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));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5))}:host([format=email]),:host([format=text]){--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));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248))}:host([format=image]){--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));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61))}:host([format=slide]){--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));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113))}:host([format=spreadsheet]){--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));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13))}:host([format=vector]){--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));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-file-preview-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-file-preview-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-file-preview-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-09,253 214 221));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-color:rgb(var(--label-amaranth-03,170 10 37))}:host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-09,151 237 252));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-03,3 97 114))}:host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-09,216 222 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-color:rgb(var(--label-blue-03,11 51 246))}:host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-09,165 240 193));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-color:rgb(var(--label-green-03,18 103 49))}:host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-09,189 239 111));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-color:rgb(var(--label-lime-03,64 99 11))}:host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-09,253 217 191));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-color:rgb(var(--label-orange-03,147 63 4))}:host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-09,251 213 232));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-color:rgb(var(--label-orchid-03,165 17 90))}:host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-09,235 216 253));--mds-file-preview-icon-color:rgb(var(--label-purple-04,150 51 245));--mds-file-preview-color:rgb(var(--label-purple-03,116 10 217))}:host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-09,250 215 215));--mds-file-preview-icon-color:rgb(var(--label-red-04,212 28 28));--mds-file-preview-color:rgb(var(--label-red-03,169 22 22))}:host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-09,185 231 251));--mds-file-preview-icon-color:rgb(var(--label-sky-04,10 118 167));--mds-file-preview-color:rgb(var(--label-sky-03,8 94 133))}:host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-09,229 218 253));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-color:rgb(var(--label-violet-03,87 20 242))}:host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-09,251 221 131));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:host([pref-contrast=more]):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([pref-contrast=more]):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([pref-contrast=more]):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:host([pref-contrast=more]):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:host([pref-contrast=more]):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:host([pref-contrast=more]):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:host([pref-contrast=more]):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:host([pref-contrast=more]):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:host([pref-contrast=more]):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:host([pref-contrast=more]):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:host([pref-contrast=more]):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:host([pref-contrast=more]):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:host([pref-contrast=more]):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:host([pref-contrast=more]):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}: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-preview-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@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-preview-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}";export{B as mds_file_preview}
@@ -1 +1 @@
1
- import{r as i,h as t,e as a,g as s}from"./p-CvLLN-QH.js";import{a as n,p as o}from"./p-iX3kcwYg.js";import{r,s as e,h as c,a as d}from"./p-Cvhn9asj.js";import{o as m,s as l,c as f,b as h}from"./p-BaFfIZGB.js";const u=class{constructor(t){i(this,t),this.describing=!1,this.pulsing=!1,this.value=0,this.dismissed=!1,this.strategy="fixed",this.variant="error",this.pulse=!1,this.placement="right-start",this.updatePosition=()=>{const i=new Array,t="disabled"===this.strategy?"absolute":"fixed";i.push(m(0)),i.push(l({padding:0})),f(this.caller,this.host,{middleware:i,placement:this.placement,strategy:t}).then((({x:i,y:t})=>{Object.assign(this.host.style,{left:`${i}px`,top:`${t}px`})}))},this.clean=i=>{var t;if(0===(null!=i?i:0)||isNaN(i))return"";const a=null!==(t=this.max)&&void 0!==t?t:0;return 0!==a&&!Number.isNaN(a)&&i>a?`+${Number(a).toLocaleString()}`:Number(i).toLocaleString()},this.describeCaller=i=>{const t=this.host.id;this.describedCaller&&this.describedCaller!==i&&t&&r(this.describedCaller,"aria-describedby",t);const a=void 0!==i&&!this.dismissed&&""!==this.clean(this.value)&&i.getRootNode()===this.host.getRootNode();if(this.describing=a,!a)return i&&t&&r(i,"aria-describedby",t),void(this.describedCaller=void 0);const s=e(this.host,"id",c("mds-notification"));d(i,"aria-describedby",s),this.describedCaller=i},this.startAutoUpdate=()=>{var i;"disabled"!==this.strategy&&""!==(null!==(i=this.target)&&void 0!==i?i:"")&&this.caller&&(this.cleanupAutoUpdate||void 0!==this.autoUpdateTimer||(this.autoUpdateTimer=setTimeout((()=>{this.autoUpdateTimer=void 0,this.cleanupAutoUpdate=h(this.caller,this.host,this.updatePosition)}),100)))},this.stopAutoUpdate=()=>{var i;clearTimeout(this.autoUpdateTimer),this.autoUpdateTimer=void 0,null===(i=this.cleanupAutoUpdate)||void 0===i||i.call(this),this.cleanupAutoUpdate=void 0},this.endPulse=i=>{"notification-pulse"===i.animationName&&(this.pulsing=!1)}}componentDidRender(){var i;if(""===(null!==(i=this.target)&&void 0!==i?i:""))return void(this.strategy="disabled");const t=document.querySelector(this.target);if(null==t)return console.warn(`mds-notification: no valid target found: ${this.target}`),void(this.strategy="disabled");this.caller=t,this.describeCaller(t)}componentDidLoad(){var i,t;null===(i=this.host.shadowRoot)||void 0===i||i.addEventListener("animationend",this.endPulse),null===(t=this.host.shadowRoot)||void 0===t||t.addEventListener("animationcancel",this.endPulse),"disabled"!==this.strategy&&this.startAutoUpdate()}connectedCallback(){this.startAutoUpdate()}disconnectedCallback(){this.stopAutoUpdate(),this.describeCaller(void 0),this.pulsing=!1}valueHandler(i,t){this.pulse&&!this.pulsing&&(null!=i?i:0)>(null!=t?t:0)&&(n()||(this.pulsing=!0))}strategyHandler(i){"disabled"===i&&this.stopAutoUpdate()}render(){return t(a,{key:"0cd7987a457c509276e22d9f915f94d68f954590","aria-hidden":this.describing?"true":void 0,"pref-animation":o.state.animation},t("mds-text",{key:"f6bc061623bf46f19a6fbf98bce42f5373e93598",typography:"caption",class:{dot:!0,pulse:this.pulse&&this.pulsing}},this.clean(this.value)))}get host(){return s(this)}static get watchers(){return{value:[{valueHandler:0}],strategy:[{strategyHandler:0}]}}};u.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}: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-notification-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-notification-dot-padding:calc(var(--spacing,.0025rem)*150);--mds-notification-min-width:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));--mds-notification-ring-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-ring-size:calc(var(--spacing,.0025rem)*50);--mds-notification-size:calc(var(--spacing,.0025rem)*500);--mds-notification-transition-duration:var(--duration-200,.2s);--private-notification-transition-duration:var(--mds-notification-transition-duration,var(--duration-200,.2s));--mds-notification-dot-transition-duration:var(--duration-300,.3s);--private-notification-dot-transition-duration:var(--mds-notification-dot-transition-duration);--mds-notification-transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));--mds-notification-pulse-duration:var(--duration-1000,1s);--private-notification-pulse-duration:var(--mds-notification-pulse-duration);--mds-notification-pulse-spread:calc(var(--spacing,.0025rem)*200);--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / var(--mds-notification-translate-offset-y,-2)));align-items:center;border-radius:var(--magma-radius-full,var(--radius-full,1000px));bottom:100%;color:var(--mds-notification-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:inline-flex;height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));justify-content:flex-end;min-width:max-content;pointer-events:none;width:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));z-index:10}:host([strategy=absolute]),:host([strategy=fixed]){opacity:0;right:100%;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(0);transform-origin:calc(100% - calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / 2)) 50%;transition-duration:var(--private-notification-transition-duration);transition-property:color,height,opacity,transform,width;transition-timing-function:var(--mds-notification-transition-timing-function)}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}.dot{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));box-sizing:border-box;display:inline-flex;justify-content:center;line-height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));min-height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));min-width:var(--mds-notification-min-width,calc(var(--spacing,.0025rem)*500));padding-left:var(--mds-notification-dot-padding,calc(var(--spacing,.0025rem)*150));padding-right:var(--mds-notification-dot-padding,calc(var(--spacing,.0025rem)*150));position:static;transition-duration:var(--private-notification-dot-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));white-space:nowrap}:host([strategy=absolute]) .dot,:host([strategy=fixed]) .dot{position:absolute}.pulse{animation-duration:var(--private-notification-pulse-duration);animation-iteration-count:3;animation-name:notification-pulse;animation-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}@keyframes notification-pulse{0%{box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))),0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))))}to{box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem) * 50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))),0 0 0 calc(var(--mds-notification-ring-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-notification-pulse-spread)) #0000}}.spacer{box-sizing:border-box;display:inline-flex;height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));width:var(--mds-notification-min-width,calc(var(--spacing,.0025rem)*500))}:host([dismissed]:not([dismissed=false])[strategy=absolute]),:host([dismissed]:not([dismissed=false])[strategy=fixed]){--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));opacity:1;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(0);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}:host([strategy=absolute]:not([dismissed])),:host([strategy=absolute][dismissed=false]),:host([strategy=fixed]:not([dismissed])),:host([strategy=fixed][dismissed=false]){--tw-ease:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));opacity:1;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(1);transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}:host(:not([target])),:host([strategy=disabled]){opacity:1;position:static;transform:scale(1);transform-origin:unset;transition-duration:0s}:host(:not([target])) .dot,:host([strategy=disabled]) .dot{position:static}:host([dismissed]:not([dismissed=false]):not([target])),:host([dismissed]:not([dismissed=false])[strategy=disabled]){display:none}:host([variant=error]){--mds-notification-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=info]){--mds-notification-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=success]){--mds-notification-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=warning]){--mds-notification-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}: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-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s;--private-notification-pulse-duration:0s}@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-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s;--private-notification-pulse-duration:0s}}';export{u as mds_notification}
1
+ import{r as i,h as t,e as a,g as s}from"./p-CvLLN-QH.js";import{a as n,p as o}from"./p-DxR4rGsw.js";import{r,s as e,h as c,a as d}from"./p-DwKxtKwS.js";import{o as m,s as l,c as h,b as f}from"./p-BaFfIZGB.js";const u=class{constructor(t){i(this,t),this.describing=!1,this.pulsing=!1,this.value=0,this.dismissed=!1,this.strategy="fixed",this.variant="error",this.pulse=!1,this.placement="right-start",this.updatePosition=()=>{const i=new Array,t="disabled"===this.strategy?"absolute":"fixed";i.push(m(0)),i.push(l({padding:0})),h(this.caller,this.host,{middleware:i,placement:this.placement,strategy:t}).then((({x:i,y:t})=>{Object.assign(this.host.style,{left:`${i}px`,top:`${t}px`})}))},this.clean=i=>{var t;if(0===(null!=i?i:0)||isNaN(i))return"";const a=null!==(t=this.max)&&void 0!==t?t:0;return 0!==a&&!Number.isNaN(a)&&i>a?`+${Number(a).toLocaleString()}`:Number(i).toLocaleString()},this.describeCaller=i=>{const t=this.host.id;this.describedCaller&&this.describedCaller!==i&&t&&r(this.describedCaller,"aria-describedby",t);const a=void 0!==i&&!this.dismissed&&""!==this.clean(this.value)&&i.getRootNode()===this.host.getRootNode();if(this.describing=a,!a)return i&&t&&r(i,"aria-describedby",t),void(this.describedCaller=void 0);const s=e(this.host,"id",c("mds-notification"));d(i,"aria-describedby",s),this.describedCaller=i},this.startAutoUpdate=()=>{var i;"disabled"!==this.strategy&&""!==(null!==(i=this.target)&&void 0!==i?i:"")&&this.caller&&(this.cleanupAutoUpdate||void 0!==this.autoUpdateTimer||(this.autoUpdateTimer=setTimeout((()=>{this.autoUpdateTimer=void 0,this.cleanupAutoUpdate=f(this.caller,this.host,this.updatePosition)}),100)))},this.stopAutoUpdate=()=>{var i;clearTimeout(this.autoUpdateTimer),this.autoUpdateTimer=void 0,null===(i=this.cleanupAutoUpdate)||void 0===i||i.call(this),this.cleanupAutoUpdate=void 0},this.endPulse=i=>{"notification-pulse"===i.animationName&&(this.pulsing=!1)}}componentDidRender(){var i;if(""===(null!==(i=this.target)&&void 0!==i?i:""))return void(this.strategy="disabled");const t=document.querySelector(this.target);if(null==t)return console.warn(`mds-notification: no valid target found: ${this.target}`),void(this.strategy="disabled");this.caller=t,this.describeCaller(t)}componentDidLoad(){var i,t;null===(i=this.host.shadowRoot)||void 0===i||i.addEventListener("animationend",this.endPulse),null===(t=this.host.shadowRoot)||void 0===t||t.addEventListener("animationcancel",this.endPulse),"disabled"!==this.strategy&&this.startAutoUpdate()}connectedCallback(){this.startAutoUpdate()}disconnectedCallback(){this.stopAutoUpdate(),this.describeCaller(void 0),this.pulsing=!1}valueHandler(i,t){this.pulse&&!this.pulsing&&(null!=i?i:0)>(null!=t?t:0)&&(n()||(this.pulsing=!0))}strategyHandler(i){"disabled"===i&&this.stopAutoUpdate()}render(){return t(a,{key:"2804812b6d016ab36d22d5272d26ec8b9f51cffe","aria-hidden":this.describing?"true":void 0,"pref-animation":o.state.animation},t("mds-text",{key:"9c882c379f588a86eebc12e763ec08cb4a15faaa",typography:"caption",class:{dot:!0,pulse:this.pulse&&this.pulsing}},this.clean(this.value)))}get host(){return s(this)}static get watchers(){return{value:[{valueHandler:0}],strategy:[{strategyHandler:0}]}}};u.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}: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-notification-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-notification-dot-padding:calc(var(--spacing,.0025rem)*150);--mds-notification-min-width:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));--mds-notification-ring-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-ring-size:calc(var(--spacing,.0025rem)*50);--mds-notification-size:calc(var(--spacing,.0025rem)*500);--mds-notification-transition-duration:var(--duration-200,.2s);--private-notification-transition-duration:var(--mds-notification-transition-duration,var(--duration-200,.2s));--mds-notification-dot-transition-duration:var(--duration-300,.3s);--private-notification-dot-transition-duration:var(--mds-notification-dot-transition-duration);--mds-notification-transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));--mds-notification-pulse-duration:var(--duration-1000,1s);--private-notification-pulse-duration:var(--mds-notification-pulse-duration);--mds-notification-pulse-spread:calc(var(--spacing,.0025rem)*200);--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / var(--mds-notification-translate-offset-y,-2)));align-items:center;border-radius:var(--magma-radius-full,var(--radius-full,1000px));bottom:100%;color:var(--mds-notification-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:inline-flex;height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));justify-content:flex-end;min-width:max-content;pointer-events:none;width:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));z-index:10}:host([strategy=absolute]),:host([strategy=fixed]){opacity:0;right:100%;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(0);transform-origin:calc(100% - calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / 2)) 50%;transition-duration:var(--private-notification-transition-duration);transition-property:color,height,opacity,transform,width;transition-timing-function:var(--mds-notification-transition-timing-function)}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}.dot{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));box-sizing:border-box;display:inline-flex;justify-content:center;line-height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));min-height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));min-width:var(--mds-notification-min-width,calc(var(--spacing,.0025rem)*500));padding-left:var(--mds-notification-dot-padding,calc(var(--spacing,.0025rem)*150));padding-right:var(--mds-notification-dot-padding,calc(var(--spacing,.0025rem)*150));position:static;transition-duration:var(--private-notification-dot-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));white-space:nowrap}:host([strategy=absolute]) .dot,:host([strategy=fixed]) .dot{position:absolute}.pulse{animation-duration:var(--private-notification-pulse-duration);animation-iteration-count:3;animation-name:notification-pulse;animation-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}@keyframes notification-pulse{0%{box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))),0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))))}to{box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem) * 50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))),0 0 0 calc(var(--mds-notification-ring-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-notification-pulse-spread)) #0000}}.spacer{box-sizing:border-box;display:inline-flex;height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));width:var(--mds-notification-min-width,calc(var(--spacing,.0025rem)*500))}:host([dismissed]:not([dismissed=false])[strategy=absolute]),:host([dismissed]:not([dismissed=false])[strategy=fixed]){--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));opacity:1;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(0);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}:host([strategy=absolute]:not([dismissed])),:host([strategy=absolute][dismissed=false]),:host([strategy=fixed]:not([dismissed])),:host([strategy=fixed][dismissed=false]){--tw-ease:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));opacity:1;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(1);transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}:host(:not([target])),:host([strategy=disabled]){opacity:1;position:static;transform:scale(1);transform-origin:unset;transition-duration:0s}:host(:not([target])) .dot,:host([strategy=disabled]) .dot{position:static}:host([dismissed]:not([dismissed=false]):not([target])),:host([dismissed]:not([dismissed=false])[strategy=disabled]){display:none}:host([variant=error]){--mds-notification-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=info]){--mds-notification-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=success]){--mds-notification-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=warning]){--mds-notification-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}: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-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s;--private-notification-pulse-duration:0s}@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-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s;--private-notification-pulse-duration:0s}}';export{u as mds_notification}
@@ -1 +1 @@
1
- System.register(["./p-BZP13mns.system.js"],(function(t){"use strict";var e,i,n;return{setters:[function(t){e=t.r;i=t.h;n=t.e}],execute:function(){var r=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list: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{display:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}"};var a=t("mds_price_table_header",/** @class */function(){function t(t){e(this,t)}t.prototype.render=function(){return i(n,{key:"9d3d88d8189a214e578d182472dc97be100dcbc3"},i("slot",{key:"30f6d90fd7d6ecc96a4b5e7bf3caa447348168ae"}))};return t}());a.style=r()}}}));
1
+ System.register(["./p-BZP13mns.system.js"],(function(t){"use strict";var e,a,i;return{setters:[function(t){e=t.r;a=t.h;i=t.e}],execute:function(){var n=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list: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{display:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}"};var r=t("mds_price_table_header",/** @class */function(){function t(t){e(this,t)}t.prototype.render=function(){return a(i,{key:"c63d245b71803a4fd22ad3a2787be0cf2c04a2a1"},a("slot",{key:"81d2b75409c3dd1a964cfbde2c11ae453ee8a330"}))};return t}());r.style=n()}}}));
@@ -1 +1 @@
1
- import{r as e,h as a,e as t}from"./p-CvLLN-QH.js";import{p as r}from"./p-iX3kcwYg.js";const i=class{constructor(a){e(this,a)}render(){return a(t,{key:"378f57d71d79a60688031d554696be702330d253","pref-animation":r.state.animation,"pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},a("div",{key:"1b5c77a41c38a6829a0cf7c70498aead57345d68",class:"table-wrapper"},this.label&&a("header",{key:"bcb5802c0052cd1e066ab385e0585b26fee7bafb",part:"header"},a("mds-text",{key:"add22d94011ee31612ecfc97d22ec3fc9f825bea",typography:"detail"},a("b",{key:"7b5fecd5596faae0f3878841f6380e51c76e3000"},this.label))),a("table",{key:"31922a400b16ae52de4fbd15d2a51f49101bde17"},a("tbody",{key:"d06cbb5264bc93e375dfa101a0310aebcc707001"},a("slot",{key:"2845a29ee02facf52f0aca385a5151b794a5b28b"})))))}};i.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-price-table-features-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color);padding:var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0}: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-price-table-features-transition-duration:0s}: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}@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-price-table-features-transition-duration:0s}}';export{i as mds_price_table_features}
1
+ import{r as e,h as a,e as t}from"./p-CvLLN-QH.js";import{p as r}from"./p-DxR4rGsw.js";const i=class{constructor(a){e(this,a)}render(){return a(t,{key:"9215c76f05534716639bfe6f258eeee2e9eab3fb","pref-animation":r.state.animation,"pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},a("div",{key:"d09ed4dcf74974ea157adb6348c7693f8c06b7ca",class:"table-wrapper"},this.label&&a("header",{key:"d79681ee6e0ab336b26403e7a5035679eeac63bf",part:"header"},a("mds-text",{key:"c2ca4b57a42be5d153c891f4239d41af892f6ff4",typography:"detail"},a("b",{key:"9adca4d5fffc2aad67f142a47e45d06c08050e76"},this.label))),a("table",{key:"3e98eff375a8fe29e45958f7390b3ebe3410a0a6"},a("tbody",{key:"cceb3eae6dd1e97724fc77cb00a8a02d21bb3589"},a("slot",{key:"7d6daa7c86fcfbf451893337c7f4c65013e73409"})))))}};i.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-price-table-features-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color);padding:var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0}: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-price-table-features-transition-duration:0s}: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}@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-price-table-features-transition-duration:0s}}';export{i as mds_price_table_features}
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,a,r){function n(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,i){function o(e){try{d(r.next(e))}catch(e){i(e)}}function s(e){try{d(r["throw"](e))}catch(e){i(e)}}function d(e){e.done?a(e.value):n(e.value).then(o,s)}d((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return d([e,t])}}function d(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(a=0)),a)try{if(r=1,n&&(i=s[0]&2?n["return"]:s[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;if(n=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;n=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(i=a.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1];i=s;break}if(i&&a.label<i[2]){a.label=i[2];a.ops.push(s);break}if(i[2])a.ops.pop();a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e];n=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-BZP13mns.system.js","./p-BeNKMPXR.system.js","./p-Qrub-hmK.system.js","./p-mGgjNqBm.system.js","./p-CuHZXISO.system.js"],(function(e){"use strict";var t,a,r,n,i,o,s,d,c;return{setters:[function(e){t=e.r;a=e.d;r=e.h;n=e.e;i=e.g},function(e){o=e.h},function(e){s=e.c},function(e){d=e.p},function(e){c=e.L}],execute:function(){var u='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"/></svg>';var f="Άνοιγμα μενού";var m={openMenu:f};var h="Open menu";var p={openMenu:h};var l="Abrir el menú";var v={openMenu:l};var b="Apri il menu";var g={openMenu:b};var y=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-header-bar-hamburger-color:var(--mds-header-icon-color,var(--mds-header-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))));--mds-header-bar-transition-duration:var(--duration-500,.5s);--private-header-bar-transition-duration:var(--mds-header-bar-transition-duration);background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);interpolate-size:allow-keywords;display:flex;justify-content:center;margin-left:auto;margin-right:auto;max-width:100%;padding:calc(var(--spacing,.0025rem)*400) var(--magma-width-page-gutter,24px);position:relative;transition-duration:var(--private-header-bar-transition-duration);transition-property:background-color,border-radius,margin,max-width,transform,width;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:auto;z-index:var(--mds-header-z-index,1000)}.logo{color:inherit;display:flex}.content{align-items:center;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*400);justify-content:space-between;max-width:var(--magma-width-page,1280px)}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*600)}.nav{display:inline-flex;flex-shrink:0;gap:calc(var(--spacing,.0025rem)*400)}.nav--hidden{display:none}.menu{--mds-button-border-opacity:0;fill:var(--mds-header-bar-hamburger-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));padding:0}.menu::part(icon){width:calc(var(--spacing,.0025rem)*800)}:host([menu=none]) .menu,:host([nav=none]) .nav{display:none}: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-header-bar-transition-duration:0s}:host([pref-contrast=more]){--mds-header-bar-hamburger-color:var(--mds-header-icon-color,var(--mds-header-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}@media not all and (min-width:768px){:host([menu=desktop]) .menu,:host([nav=desktop]) .nav{display:none}}@media (min-width:1024px){:host([menu=mobile]) .menu,:host([nav=mobile]) .nav{display:none}}@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-header-bar-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-header-bar-hamburger-color:var(--mds-header-icon-color,var(--mds-header-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}}"};var x=e("mds_header_bar",/** @class */function(){function e(e){var r=this;t(this,e);this.openedEvent=a(this,"mdsHeaderBarOpen",7);this.t=new c({el:m,en:p,es:v,it:g});
1
+ var __awaiter=this&&this.__awaiter||function(e,t,a,r){function n(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,i){function o(e){try{d(r.next(e))}catch(e){i(e)}}function s(e){try{d(r["throw"](e))}catch(e){i(e)}}function d(e){e.done?a(e.value):n(e.value).then(o,s)}d((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return d([e,t])}}function d(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(a=0)),a)try{if(r=1,n&&(i=s[0]&2?n["return"]:s[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;if(n=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;n=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(i=a.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1];i=s;break}if(i&&a.label<i[2]){a.label=i[2];a.ops.push(s);break}if(i[2])a.ops.pop();a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e];n=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-BZP13mns.system.js","./p-BeNKMPXR.system.js","./p-Qrub-hmK.system.js","./p-DOisMne4.system.js","./p-BHdlb7Fr.system.js"],(function(e){"use strict";var t,a,r,n,i,o,s,d,c;return{setters:[function(e){t=e.r;a=e.d;r=e.h;n=e.e;i=e.g},function(e){o=e.h},function(e){s=e.c},function(e){d=e.p},function(e){c=e.L}],execute:function(){var u='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"/></svg>';var f="Άνοιγμα μενού";var h={openMenu:f};var m="Open menu";var p={openMenu:m};var l="Abrir el menú";var v={openMenu:l};var b="Apri il menu";var g={openMenu:b};var y=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-header-bar-hamburger-color:var(--mds-header-icon-color,var(--mds-header-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))));--mds-header-bar-transition-duration:var(--duration-500,.5s);--private-header-bar-transition-duration:var(--mds-header-bar-transition-duration);background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);interpolate-size:allow-keywords;display:flex;justify-content:center;margin-left:auto;margin-right:auto;max-width:100%;padding:calc(var(--spacing,.0025rem)*400) var(--magma-width-page-gutter,24px);position:relative;transition-duration:var(--private-header-bar-transition-duration);transition-property:background-color,border-radius,margin,max-width,transform,width;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:auto;z-index:var(--mds-header-z-index,1000)}.logo{color:inherit;display:flex}.content{align-items:center;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*400);justify-content:space-between;max-width:var(--magma-width-page,1280px)}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*600)}.nav{display:inline-flex;flex-shrink:0;gap:calc(var(--spacing,.0025rem)*400)}.nav--hidden{display:none}.menu{--mds-button-border-opacity:0;fill:var(--mds-header-bar-hamburger-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));padding:0}.menu::part(icon){width:calc(var(--spacing,.0025rem)*800)}:host([menu=none]) .menu,:host([nav=none]) .nav{display:none}: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-header-bar-transition-duration:0s}:host([pref-contrast=more]){--mds-header-bar-hamburger-color:var(--mds-header-icon-color,var(--mds-header-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}@media not all and (min-width:768px){:host([menu=desktop]) .menu,:host([nav=desktop]) .nav{display:none}}@media (min-width:1024px){:host([menu=mobile]) .menu,:host([nav=mobile]) .nav{display:none}}@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-header-bar-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-header-bar-hamburger-color:var(--mds-header-icon-color,var(--mds-header-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}}"};var x=e("mds_header_bar",/** @class */function(){function e(e){var r=this;t(this,e);this.openedEvent=a(this,"mdsHeaderBarOpen",7);this.t=new c({el:h,en:p,es:v,it:g});
2
2
  /**
3
3
  * Sets the visibility type of the hamburger menu
4
4
  */this.menu="mobile";
@@ -10,4 +10,4 @@ var __awaiter=this&&this.__awaiter||function(e,t,a,r){function n(e){return e ins
10
10
  * @param isOpened whether the menu should be opened
11
11
  */e.prototype.setOpened=function(){return __awaiter(this,arguments,void 0,(function(e){var t;if(e===void 0){e=true}return __generator(this,(function(a){switch(a.label){case 0:
12
12
  // it only recorded the state, which nothing rendered, so it opened nothing
13
- this.isOpened=e;return[4/*yield*/,(t=this.host.closest("mds-header"))===null||t===void 0?void 0:t.setOpened(e)];case 1:a.sent();return[2/*return*/]}}))}))};e.prototype.render=function(){return r(n,{key:"b4968ea599496b7fa7f98fceb90144d354a3f4b5","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},r("div",{key:"e68f3e3f2927548e3e46f5f933fb8f70ccf564ff",class:"content",part:"content"},r("div",{key:"5f5f130430ad5e3d4cc92fdde1f66d8476d60cc6",class:"logo"},r("slot",{key:"605bd43a7f4ad03a0d3d944e339a008b32a6168d"})),r("div",{key:"b71c490ebe66212d2c3e5f2ef11f5b997f7fe0ca",class:"actions",part:"actions"},r("nav",{key:"c09c05ecaf9f331a445dab447b982d410880004f",class:s("nav",!this.hasNav&&"nav--hidden"),part:"nav"},r("slot",{key:"8665d28e16ae64d2c0ea41435147a1250210e191",name:"nav",onSlotchange:this.onNavSlotChange})),this.menu!=="none"&&r("mds-button",{key:"cdb73de2a9fb163a41039daab134d45142551a19","aria-label":this.t.get("openMenu"),class:"menu",variant:"dark",tone:"text",icon:u,onClick:this.open,part:"hamburger"}))))};Object.defineProperty(e.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());x.style=y()}}}));
13
+ this.isOpened=e;return[4/*yield*/,(t=this.host.closest("mds-header"))===null||t===void 0?void 0:t.setOpened(e)];case 1:a.sent();return[2/*return*/]}}))}))};e.prototype.render=function(){return r(n,{key:"bc9a0f0073e828634669a60f09ba67d892c9eb7a","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},r("div",{key:"496943c9ff04d9b84ad99e5e38e44f2a3373db98",class:"content",part:"content"},r("div",{key:"4f2260fe3c425dd84df7e874bc74ea7e01ad48dc",class:"logo"},r("slot",{key:"dc4971f1f9d6e0e31a47d5410c714bce12139acb"})),r("div",{key:"8e3333af84b4f27a340245d74ce1d9c238af719c",class:"actions",part:"actions"},r("nav",{key:"c686af99e3af42fcff82092b64df620a96432cff",class:s("nav",!this.hasNav&&"nav--hidden"),part:"nav"},r("slot",{key:"56744a6503edf0063fba29b90e2204b489ebc886",name:"nav",onSlotchange:this.onNavSlotChange})),this.menu!=="none"&&r("mds-button",{key:"b7afcdd030fa5f47bf18eb929377010c538c879d","aria-label":this.t.get("openMenu"),class:"menu",variant:"dark",tone:"text",icon:u,onClick:this.open,part:"hamburger"}))))};Object.defineProperty(e.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());x.style=y()}}}));
@@ -24,4 +24,4 @@ a.getErrors().then((function(a){if(a!=null){t.variant="error";var r=Object.entri
24
24
  };a.prototype.componentDidLoad=function(){var a=this;this.nameSlottedControls();var t=this.slotInput.assignedElements()[0];if(t==null){
25
25
  // slot assignment is empty in the hydrate/SSR runtime (assignedElements
26
26
  // returns [] in mock-doc); validation wiring happens on the client
27
- 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 r(s,{key:"4a9ceb4ab8be1c7305dd3b76b484107ed1617835"},r("mds-text",{key:"1c6e9d91a86be2412ec8af302935059ac901f19a",class:"label",typography:"label"},this.label),r("div",{key:"9e86098c58b759180efd544cf9bb9539eeb18c58",class:"message-window"},r("div",{key:"cd065fbc590bad9b2bf64b5fe7d0a70281f9a3f7",class:"content",part:"content"},r("slot",{key:"a26f21200feeafedeabe5eb12604dee0bebb7794",onSlotchange:this.nameSlottedControls,ref:function(t){return a.slotInput=t}})),r("div",{key:"92c4399419aba6e3cd370af28f3b0b47b2f3ea11",class:"message"},(t=this.message)===null||t===void 0?void 0:t.split(";").map((function(a,t){return r("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 e(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{label:[{labelChanged:0}]}},enumerable:false,configurable:true});return a}());i.style=n()}}}));
27
+ 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 r(s,{key:"e4688b9c3729f966f0acb0a0c7525c1962ba90eb"},r("mds-text",{key:"e229c99941bebaf2ffcee760dd7d2aab613da87c",class:"label",typography:"label"},this.label),r("div",{key:"c3efd25051a894c3a5642102848df4da7f361ba6",class:"message-window"},r("div",{key:"ae37ef9da02a7ed6a0a17c7e202cbdd70ccce135",class:"content",part:"content"},r("slot",{key:"5620c77dcaf2a825244594f08ddb4bf64347d176",onSlotchange:this.nameSlottedControls,ref:function(t){return a.slotInput=t}})),r("div",{key:"c110d7580df291b517c0bac32201f090e6438459",class:"message"},(t=this.message)===null||t===void 0?void 0:t.split(";").map((function(a,t){return r("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 e(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{label:[{labelChanged:0}]}},enumerable:false,configurable:true});return a}());i.style=n()}}}));
@@ -1,4 +1,4 @@
1
- System.register(["./p-BZP13mns.system.js","./p-Qrub-hmK.system.js","./p-D9J8lbUv.system.js","./p-CuHZXISO.system.js","./p-mGgjNqBm.system.js"],(function(e){"use strict";var r,a,t,s,i,n,o,d,p;return{setters:[function(e){r=e.r;a=e.d;t=e.h;s=e.e;i=e.g},function(e){n=e.c},function(e){o=e.K},function(e){d=e.L},function(e){p=e.p}],execute:function(){var m="Ολοκληρώθηκε";var c="Καθημερινή";var u="Σε αναμονή";var b="Βήμα {{ index }}";var l={badgeDone:m,badgeCurrent:c,badgeQueued:u,step:b};var g="Done";var v="Current";var h="Queued";var f="Step {{ index }}";var y={badgeDone:g,badgeCurrent:v,badgeQueued:h,step:f};var x="Completado";var k="En curso";var w="En cola";var C="Paso {{ index }}";var j={badgeDone:x,badgeCurrent:k,badgeQueued:w,step:C};var D="Completato";var z="In corso";var Q="In coda";var q="Step {{ index }}";var S={badgeDone:D,badgeCurrent:z,badgeQueued:Q,step:q};var I=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-icon,mds-progress,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-stepper-bar-item-header-gap:var(--mds-stepper-bar-gap,calc(var(--spacing,.0025rem)*50));--mds-stepper-bar-item-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-stepper-bar-item-duration:.25s;--private-stepper-bar-item-duaration:var(--mds-stepper-bar-item-duration,.25s);--mds-stepper-bar-item-transition-duration:var(--duration-200,.2s);--private-stepper-bar-item-transition-duration:var(--mds-stepper-bar-item-transition-duration);--mds-stepper-bar-item-icon-background-done:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-icon-background-current:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-stepper-bar-item-icon-color-done:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color-current:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-stepper-bar-item-min-width:calc(var(--spacing,.0025rem)*4500);--mds-stepper-bar-item-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-stepper-bar-item-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-progress-thickness:calc(var(--spacing,.0025rem)*200);border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:grid;flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*400);min-width:var(--mds-stepper-bar-item-min-width,calc(var(--spacing,.0025rem)*4500));position:relative;scroll-snap-align:center;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:outline,outline-offset,background-color}:host(:last-of-type){flex-basis:calc(var(--spacing,.0025rem)*100)}:host(:last-of-type) .progress{display:none}:host([done]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-done,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-done,rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:0s}:host([current]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-current,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-current,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:calc(var(--private-stepper-bar-item-duaration)/2)}.header{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;gap:var(--mds-stepper-bar-item-header-gap);transition-duration:var(--private-stepper-bar-item-transition-duration);transition-property:outline,outline-offset;width:100%}.icon{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-stepper-bar-item-icon-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-stepper-bar-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex-shrink:0;padding:calc(var(--spacing,.0025rem)*200);position:relative;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.progress{--mds-progress-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-progress-color:var(--mds-stepper-bar-item-progress-color,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-progress-thickness:var(--mds-stepper-bar-item-progress-thickness,calc(var(--spacing,.0025rem)*200));--mds-progress-radius:0;flex-grow:1}.infos{display:grid;gap:calc(var(--spacing,.0025rem)*100);padding-left:calc(var(--spacing,.0025rem)*100)}.text{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));color:var(--mds-stepper-bar-item-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));pointer-events:none;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.badge,.step{border-radius:var(--magma-radius-full,var(--radius-full,1000px));pointer-events:none}.step{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}: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-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}@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-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}}'};var B=e("mds_stepper_bar_item",/** @class */function(){function e(e){var s=this;r(this,e);this.doneEvent=a(this,"mdsStepperBarItemDone",7);this.km=new o;this.t=new d({el:l,en:y,es:j,it:S});
1
+ System.register(["./p-BZP13mns.system.js","./p-Qrub-hmK.system.js","./p-D9J8lbUv.system.js","./p-BHdlb7Fr.system.js","./p-DOisMne4.system.js"],(function(e){"use strict";var r,a,t,s,i,n,o,d,p;return{setters:[function(e){r=e.r;a=e.d;t=e.h;s=e.e;i=e.g},function(e){n=e.c},function(e){o=e.K},function(e){d=e.L},function(e){p=e.p}],execute:function(){var c="Ολοκληρώθηκε";var m="Καθημερινή";var u="Σε αναμονή";var b="Βήμα {{ index }}";var l={badgeDone:c,badgeCurrent:m,badgeQueued:u,step:b};var g="Done";var v="Current";var h="Queued";var f="Step {{ index }}";var y={badgeDone:g,badgeCurrent:v,badgeQueued:h,step:f};var x="Completado";var k="En curso";var w="En cola";var C="Paso {{ index }}";var D={badgeDone:x,badgeCurrent:k,badgeQueued:w,step:C};var j="Completato";var z="In corso";var Q="In coda";var q="Step {{ index }}";var S={badgeDone:j,badgeCurrent:z,badgeQueued:Q,step:q};var B=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-icon,mds-progress,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-stepper-bar-item-header-gap:var(--mds-stepper-bar-gap,calc(var(--spacing,.0025rem)*50));--mds-stepper-bar-item-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-stepper-bar-item-duration:.25s;--private-stepper-bar-item-duaration:var(--mds-stepper-bar-item-duration,.25s);--mds-stepper-bar-item-transition-duration:var(--duration-200,.2s);--private-stepper-bar-item-transition-duration:var(--mds-stepper-bar-item-transition-duration);--mds-stepper-bar-item-icon-background-done:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-icon-background-current:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-stepper-bar-item-icon-color-done:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color-current:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-stepper-bar-item-min-width:calc(var(--spacing,.0025rem)*4500);--mds-stepper-bar-item-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-stepper-bar-item-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-progress-thickness:calc(var(--spacing,.0025rem)*200);border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:grid;flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*400);min-width:var(--mds-stepper-bar-item-min-width,calc(var(--spacing,.0025rem)*4500));position:relative;scroll-snap-align:center;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:outline,outline-offset,background-color}:host(:last-of-type){flex-basis:calc(var(--spacing,.0025rem)*100)}:host(:last-of-type) .progress{display:none}:host([done]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-done,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-done,rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:0s}:host([current]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-current,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-current,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:calc(var(--private-stepper-bar-item-duaration)/2)}.header{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;gap:var(--mds-stepper-bar-item-header-gap);transition-duration:var(--private-stepper-bar-item-transition-duration);transition-property:outline,outline-offset;width:100%}.icon{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-stepper-bar-item-icon-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-stepper-bar-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex-shrink:0;padding:calc(var(--spacing,.0025rem)*200);position:relative;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.progress{--mds-progress-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-progress-color:var(--mds-stepper-bar-item-progress-color,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-progress-thickness:var(--mds-stepper-bar-item-progress-thickness,calc(var(--spacing,.0025rem)*200));--mds-progress-radius:0;flex-grow:1}.infos{display:grid;gap:calc(var(--spacing,.0025rem)*100);padding-left:calc(var(--spacing,.0025rem)*100)}.text{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));color:var(--mds-stepper-bar-item-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));pointer-events:none;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.badge,.step{border-radius:var(--magma-radius-full,var(--radius-full,1000px));pointer-events:none}.step{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}: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-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}@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-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}}'};var H=e("mds_stepper_bar_item",/** @class */function(){function e(e){var s=this;r(this,e);this.doneEvent=a(this,"mdsStepperBarItemDone",7);this.km=new o;this.t=new d({el:l,en:y,es:D,it:S});
2
2
  /**
3
3
  * Specifies the icon displayed of the component when is checked
4
4
  */this.iconChecked=this.icon;
@@ -22,4 +22,4 @@ this.isReachable=function(){return!!s.isDone&&!s.isCurrent};
22
22
  this.showBadge=function(){if(s.isDone){return t("mds-badge",{class:"badge",variant:"success",tone:"weak",typography:"option",label:s.t.get("badgeDone")})}if(s.isCurrent){return t("mds-badge",{class:"badge",variant:"info",tone:"weak",typography:"option",label:s.t.get("badgeCurrent")})}return t("mds-badge",{class:"badge",variant:"dark",tone:"weak",typography:"option",label:s.t.get("badgeQueued")})}}e.prototype.componentWillLoad=function(){var e=this;this.isCurrent=this.current;this.isDone=this.done;var r=this.host.parentElement;
23
23
  // childNodes counts the whitespace between the tags, so formatted markup made
24
24
  // the step numbers come out doubled: 2, 4, 6, 8 for four steps.
25
- if(r){this.index=Array.from(r.children).filter((function(r){return r.tagName===e.host.tagName})).indexOf(this.host)}};e.prototype.componentDidLoad=function(){this.km.addElement(this.host);this.km.attachClickBehavior()};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.selectedHandler=function(e){this.isDone=e};e.prototype.currentHandler=function(e){this.isCurrent=e};e.prototype.render=function(){return t(s,{key:"d04169e67c362e935f473637343b5134f5ee2ed2",onClick:this.handleClick,"pref-animation":p.state.animation,role:this.isReachable()?"button":undefined,tabindex:this.isReachable()?"0":undefined},t("div",{key:"2a92d2a4b99adaa06e3bbcfc1506676d9cfd46cf",class:"header"},t("mds-icon",{key:"e1a700f2516aadaf659c0d802ed4047fa5b3c590",class:"icon",name:n(this.isDone&&!this.isCurrent?this.iconChecked:this.icon)}),t("mds-progress",{key:"8a20feb305e55b6872e07857f8205e3bdbc1ed4b","aria-hidden":"true",class:"progress",progress:this.isDone?1:0})),t("div",{key:"91e788c04f843d475d0e50ef89921e6a473f0406",class:"infos"},this.step&&t("mds-text",{key:"f4c2276fdd3f9491bdc67c85c3febbc14bd3a85d",class:"step",typography:"option"},this.t.get("step",{index:this.index+1})),this.label&&t("mds-text",{key:"d32dd159c044ea6b3f618c97b499442efd86bfc2",class:"text",typography:this.typography},this.label),this.badge&&t("div",{key:"4fd5400c7550984b3019aab5e506d71765dd4cf7",part:"badge"},this.showBadge())))};Object.defineProperty(e.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{done:[{selectedHandler:0}],current:[{currentHandler:0}]}},enumerable:false,configurable:true});return e}());B.style=I()}}}));
25
+ if(r){this.index=Array.from(r.children).filter((function(r){return r.tagName===e.host.tagName})).indexOf(this.host)}};e.prototype.componentDidLoad=function(){this.km.addElement(this.host);this.km.attachClickBehavior()};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.selectedHandler=function(e){this.isDone=e};e.prototype.currentHandler=function(e){this.isCurrent=e};e.prototype.render=function(){return t(s,{key:"c148fade103ed5492e0ee8fdd6d6a67815682e28",onClick:this.handleClick,"pref-animation":p.state.animation,role:this.isReachable()?"button":undefined,tabindex:this.isReachable()?"0":undefined},t("div",{key:"9dd7c9a4f85276e408a89fc1af0e62c5c07b4d17",class:"header"},t("mds-icon",{key:"d7dd1d04438a250cdb08968a34be726c0cf6e9f6",class:"icon",name:n(this.isDone&&!this.isCurrent?this.iconChecked:this.icon)}),t("mds-progress",{key:"1f25e035cc868887c91e60322622bee9c5933a1c","aria-hidden":"true",class:"progress",progress:this.isDone?1:0})),t("div",{key:"5659c6702369d3db54f9ea1bc1fed7d02d089a4d",class:"infos"},this.step&&t("mds-text",{key:"b973fcfc8225369bd26bae1452dd43738a9cebe6",class:"step",typography:"option"},this.t.get("step",{index:this.index+1})),this.label&&t("mds-text",{key:"f6b876a52756bc1ad7b22f579f4606f315dfdd11",class:"text",typography:this.typography},this.label),this.badge&&t("div",{key:"900d7a98f21cd4b167374dc50f9f6c1ae8f529f0",part:"badge"},this.showBadge())))};Object.defineProperty(e.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{done:[{selectedHandler:0}],current:[{currentHandler:0}]}},enumerable:false,configurable:true});return e}());H.style=B()}}}));
@@ -0,0 +1 @@
1
+ import{r as e,h as t,e as a}from"./p-CvLLN-QH.js";import{p as r}from"./p-DxR4rGsw.js";const o=class{constructor(t){e(this,t)}render(){return t(a,{key:"ec65e6ce9bfb63da29e6cfd5707a03c9e3485961","pref-animation":r.state.animation,"pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},t("slot",{key:"4319282e116a1a06cb20c264a04a132e14fcdabb"}),t("div",{key:"14cc8c861e36ff6026518a88a048b020e62c13fa",class:"contents",part:"contents"},t("slot",{key:"c77291611ed64f6ecf149b179924ea4b9aa43241",name:"content"})),t("footer",{key:"2591e55b98b7cbb1c665588887302a35c1c6c880",class:"actions",part:"actions"},t("slot",{key:"ddda8f6f8a378dd079092bdbe43ce9d708cb4025",name:"action"})))}};o.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-zero-contents-max-width:calc(var(--spacing,.0025rem)*10000);--mds-zero-transition-duration:var(--duration-200,.2s);--private-zero-transition-duration:var(--mds-zero-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*600);justify-items:center;padding:calc(var(--spacing,.0025rem)*1200);transition-duration:var(--private-zero-transition-duration);transition-property:box-shadow,background-color}:host .contents{display:flex;flex-direction:column;max-width:var(--mds-zero-contents-max-width,calc(var(--spacing,.0025rem)*10000));place-items:center;text-align:center}:host .actions{align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-items:center;width:100%}:host ::slotted([slot=action]){margin:auto}: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-zero-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}: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 (min-width:480px){:host{padding-inline:calc(var(--spacing,.0025rem)*600)}}@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-zero-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}';export{o as mds_zero}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,e as a,g as s}from"./p-CvLLN-QH.js";import{h as o}from"./p-AEckDMXh.js";import{c as i}from"./p-ChV9xqsO.js";const n=class{constructor(e){t(this,e),this.onActionSlotChange=()=>{this.hasActions=o(this.hostElement,"action")}}componentWillLoad(){this.hasActions=o(this.hostElement,"action")}render(){return e(a,{key:"0f112721dcb5333fd6515080adbfb6440cbb7a4a",slot:"header"},e("slot",{key:"d0672410e2d2348a4bfad6f7e62049fd1f4d2ca5"}),e("div",{key:"2b4ececae2b69d3503343435e9bcbeecf594c395",class:i("actions",!this.hasActions&&"actions--hidden")},e("slot",{key:"b558a8269bfcf246b1d4565a640d6e26667da17e",name:"action",onSlotchange:this.onActionSlotChange})))}get hostElement(){return s(this)}};n.style="@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{align-items:center;background-color:var(--mds-card-background);display:flex;flex-grow:1;gap:var(--magma-rhythm-inline,12px);justify-content:space-between;min-width:0}.actions--hidden{display:none}";export{n as mds_card_header}