@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,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,i){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function n(e){try{d(i.next(e))}catch(e){a(e)}}function s(e){try{d(i["throw"](e))}catch(e){a(e)}}function d(e){e.done?r(e.value):o(e.value).then(n,s)}d((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=s(0),n["throw"]=s(1),n["return"]=s(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(t){return d([e,t])}}function d(s){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(r=0)),r)try{if(i=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;o=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){r.label=s[1];break}if(s[0]===6&&r.label<a[1]){r.label=a[1];a=s;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(s);break}if(a[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];o=0}finally{i=a=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-Qrub-hmK.system.js","./p-BeNKMPXR.system.js","./p-CuHZXISO.system.js","./p-B-nayZ3E.system.js","./p-mGgjNqBm.system.js"],(function(e){"use strict";var t,r,i,o,a,n,s,d,c;return{setters:[function(e){t=e.r;r=e.d;i=e.h;o=e.e;a=e.g},function(e){n=e.c},function(e){s=e.h},function(e){d=e.L},function(e){c=e.c},null],execute:function(){var l="Ανάπτυξη {{ label }}";var g="Σύμπτυξη {{ label }}";var m={expand:l,collapse:g};var h="Expand {{ label }}";var v="Collapse {{ label }}";var u={expand:h,collapse:v};var f="Expandir {{ label }}";var b="Contraer {{ label }}";var p={expand:f,collapse:b};var x="Espandi {{ label }}";var y="Contrai {{ label }}";var w={expand:x,collapse:y};var k='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z"/></svg>';var z='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-open" viewBox="0 0 24 24"><path d="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z" /></svg>';var j='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>';var _=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}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-of-type) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-of-type)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-of-type)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-of-type)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}'};var q=e("mds_tree_item",/** @class */function(){function e(e){var i=this;t(this,e);this.expandEvent=r(this,"mdsTreeItemExpand",7);this.collapsedEvent=r(this,"mdsTreeItemCollapse",7);this.hasActions=false;this.hasChildren=false;this.t=new d({el:m,en:u,es:p,it:w});
1
+ var __awaiter=this&&this.__awaiter||function(e,t,r,i){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function n(e){try{d(i.next(e))}catch(e){a(e)}}function s(e){try{d(i["throw"](e))}catch(e){a(e)}}function d(e){e.done?r(e.value):o(e.value).then(n,s)}d((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=s(0),n["throw"]=s(1),n["return"]=s(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(t){return d([e,t])}}function d(s){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(r=0)),r)try{if(i=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;o=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){r.label=s[1];break}if(s[0]===6&&r.label<a[1]){r.label=a[1];a=s;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(s);break}if(a[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];o=0}finally{i=a=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-Qrub-hmK.system.js","./p-BeNKMPXR.system.js","./p-BHdlb7Fr.system.js","./p-B-nayZ3E.system.js","./p-DOisMne4.system.js"],(function(e){"use strict";var t,r,i,o,a,n,s,d,c;return{setters:[function(e){t=e.r;r=e.d;i=e.h;o=e.e;a=e.g},function(e){n=e.c},function(e){s=e.h},function(e){d=e.L},function(e){c=e.c},null],execute:function(){var l="Ανάπτυξη {{ label }}";var g="Σύμπτυξη {{ label }}";var m={expand:l,collapse:g};var h="Expand {{ label }}";var v="Collapse {{ label }}";var u={expand:h,collapse:v};var f="Expandir {{ label }}";var b="Contraer {{ label }}";var p={expand:f,collapse:b};var x="Espandi {{ label }}";var y="Contrai {{ label }}";var w={expand:x,collapse:y};var k='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z"/></svg>';var z='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-open" viewBox="0 0 24 24"><path d="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z" /></svg>';var j='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>';var _=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}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-of-type) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-of-type)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-of-type)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-of-type)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}'};var q=e("mds_tree_item",/** @class */function(){function e(e){var i=this;t(this,e);this.expandEvent=r(this,"mdsTreeItemExpand",7);this.collapsedEvent=r(this,"mdsTreeItemCollapse",7);this.hasActions=false;this.hasChildren=false;this.t=new d({el:m,en:u,es:p,it:w});
2
2
  /**
3
3
  * Truncate the text of the element on one single line.
4
4
  */this.truncate="word";this.checkChildrenTransitionEnd=function(){if(!i.childrenElement.classList.contains("children--expanded")){i.childrenElement.classList.add("children--hidden")}};this.updateToggleIcon=function(){if(i.toggle==="folder"){i.currentToggleIcon=i.expanded?z:j;return}i.currentToggleIcon=k};this.onClick=function(){if(i.async&&!i.expanded){i.idle();return}i.updateToggle()};this.idle=function(){i.await=true;i.expandEvent.emit({element:i.host})};this.updateToggle=function(){i.expanded=!i.expanded;i.updateToggleIcon()};
@@ -24,4 +24,4 @@ this.updateToggleIcon();if(e){(r=this.childrenElement)===null||r===void 0?void 0
24
24
  /**
25
25
  * `internal` Re-resolves the effective actions; called by mds-tree when its own
26
26
  * actions changes so items that inherit it stay in sync.
27
- */e.prototype.refreshActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.resolveActions();return[2/*return*/]}))}))};e.prototype.componentWillLoad=function(){this.updateToggleIcon();this.resolveActions();this.hasActions=s(this.host,"action");this.updateHasChildren()};e.prototype.componentDidLoad=function(){var e;this.updateCssCustomProperty();this.childrenElement=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".children");this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.disconnectedCallback=function(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.render=function(){return i(o,{key:"0b8989fe8658a78595ad519f7d5fcf4ab1b01ef9","resolved-actions":this.resolvedActions,role:"listitem"},i("div",{key:"58327c637ab5874af654e9ea3b8df8c27d5fe9a7",class:n("header",this.hasChildren&&"header--has-children")},i("div",{key:"908bcb731e5f159893eb93870d13a0ada33ea660",class:"tree-node"},i("div",{key:"e798ccd7f960ae57a93c7a212a51cddf0b108a32",class:"tree-branch"}),i("div",{key:"f40911ba253eaedbc69ea1098a01ade437267db2",class:"tree-dot"})),i("div",{key:"be23bc3098d14da3f023fb994689f67a2ed736ff",class:"toggle-icon"},i("mds-button",{key:"f8f2ebdd8eadd07dfab24829d7cfe39071c3fd9f","aria-expanded":this.expandedState(),await:this.await,onClick:this.onClick,icon:!this.await?this.currentToggleIcon:undefined,title:this.t.get(this.expanded?"collapse":"expand",{label:this.label}),variant:"dark",tone:"text",size:"sm"})),i("div",{key:"5a9dd1a7453773c78eba34f67e869140a10fc343",class:"title"},i("mds-button",{key:"6c5703856313ea94d1e48b0812faba3e5e41be60","aria-expanded":this.expandedState(),class:n("label-action",this.await&&"label-action--await"),disabled:this.await,icon:this.icon,onClick:this.onClick,variant:"dark",tone:"text",truncate:this.truncate,label:this.label}),i("div",{key:"da094ca419337f2e5b04b97686a58ac2fb2d60b9",class:n("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},i("div",{key:"e4bd7d06c35faf67e2db8034751ffc15e2203471",class:"actions",part:"actions-list"},i("slot",{key:"538dac195393c94fcd48ce30a8de13eefe1ed902",name:"action",onSlotchange:this.onActionSlotChange}))))),i("div",{key:"70659d3908b9a2b90da2839c0e3083a2e9d6d727",class:n("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded"),role:this.hasChildren?"list":undefined},i("slot",{key:"aaa70df1c6b65cb3e48e5ff19b58d4f37c0333d2",onSlotchange:this.updateHasChildren})))};Object.defineProperty(e.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}},enumerable:false,configurable:true});return e}());q.style=_()}}}));
27
+ */e.prototype.refreshActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.resolveActions();return[2/*return*/]}))}))};e.prototype.componentWillLoad=function(){this.updateToggleIcon();this.resolveActions();this.hasActions=s(this.host,"action");this.updateHasChildren()};e.prototype.componentDidLoad=function(){var e;this.updateCssCustomProperty();this.childrenElement=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".children");this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.disconnectedCallback=function(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.render=function(){return i(o,{key:"6c6b31e8790cc266209f12efd80debf6e1d21658","resolved-actions":this.resolvedActions,role:"listitem"},i("div",{key:"281d0adfd2afbd17e9271636791b2e912cdba0c2",class:n("header",this.hasChildren&&"header--has-children")},i("div",{key:"a14107f899f923e36997b8685d837d4eef070e5b",class:"tree-node"},i("div",{key:"dda88b437b8b1cee887e0430a432315ae86844f8",class:"tree-branch"}),i("div",{key:"0fb57ee7af3ab545e18d9b9e64fa09bd3f1a59aa",class:"tree-dot"})),i("div",{key:"27c056f7ba2e0b489e308d094a999d52a4c37eda",class:"toggle-icon"},i("mds-button",{key:"211b68fa05759ed79a409369fe61fad64ba33082","aria-expanded":this.expandedState(),await:this.await,onClick:this.onClick,icon:!this.await?this.currentToggleIcon:undefined,title:this.t.get(this.expanded?"collapse":"expand",{label:this.label}),variant:"dark",tone:"text",size:"sm"})),i("div",{key:"a4f7f73b8505a641d070d57c59b57bd89ef057db",class:"title"},i("mds-button",{key:"ccc08c04407f0f1f099e9e054e9c576cb3cb4bb1","aria-expanded":this.expandedState(),class:n("label-action",this.await&&"label-action--await"),disabled:this.await,icon:this.icon,onClick:this.onClick,variant:"dark",tone:"text",truncate:this.truncate,label:this.label}),i("div",{key:"9c203dcc2c3d6d31e03152c0108d2e8fa21cac4c",class:n("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},i("div",{key:"13653e45ebd87131ac11c4913d17590255e85b41",class:"actions",part:"actions-list"},i("slot",{key:"99d9d2866a97276cb7b73e26a70f31461ab009e0",name:"action",onSlotchange:this.onActionSlotChange}))))),i("div",{key:"6646eb4a733e9280c457012060ae71c2fb41dfbf",class:n("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded"),role:this.hasChildren?"list":undefined},i("slot",{key:"bff9f032d72955098086c8a0b9fa4f5a84ad28d9",onSlotchange:this.updateHasChildren})))};Object.defineProperty(e.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}},enumerable:false,configurable:true});return e}());q.style=_()}}}));
@@ -1 +1 @@
1
- import{r as t,d as i,h as e,e as n,g as r,B as a}from"./p-CvLLN-QH.js";import{p as o}from"./p-iX3kcwYg.js";import{m as s}from"./p-Ccz0jCNB.js";import{m as l}from"./p-DiWN48aq.js";import{c as h}from"./p-ChV9xqsO.js";const d=["none","ascending","descending"],c=new WeakMap,m=class{constructor(e){t(this,e),this.sortEvent=i(this,"mdsTableHeaderCellSort",7),this.writingDirection=!1,this.direction="none",this.table=()=>this.element.closest("mds-table"),this.body=()=>{var t;return null===(t=this.table())||void 0===t?void 0:t.querySelector("mds-table-body")},this.rows=t=>Array.from(t.children),this.index=()=>{var t,i;return Array.from(null!==(i=null===(t=this.element.closest("mds-table-header"))||void 0===t?void 0:t.children)&&void 0!==i?i:[]).indexOf(this.element)},this.siblings=()=>{var t,i;return Array.from(null!==(i=null===(t=this.element.closest("mds-table-header"))||void 0===t?void 0:t.querySelectorAll("mds-table-header-cell"))&&void 0!==i?i:[]).filter((t=>t!==this.element))},this.hasSortedSibling=()=>this.siblings().some((t=>"none"!==t.direction)),this.isExternal=()=>{var t;const i=this.table();return"external"===(null!==(t=null==i?void 0:i.sorting)&&void 0!==t?t:null==i?void 0:i.getAttribute("sorting"))},this.getValue=t=>null==t.value||""===t.value||0===t.value||Number.isNaN(t.value)?null!==t.textContent&&""!==t.textContent?t.textContent.trim():"":t.value,this.sortRows=t=>{if("none"===this.direction){if(this.hasSortedSibling())return;const i=c.get(t);if(c.delete(t),!i)return;const e=new Set(i),n=this.rows(t).filter((t=>!e.has(t)));return void[...i.filter((i=>i.parentElement===t)),...n].forEach((i=>t.appendChild(i)))}c.has(t)||c.set(t,this.rows(t));const i=this.index();[...this.rows(t)].sort(((t,e)=>{const n=this.getValue(t.querySelectorAll("mds-table-cell")[i]),r=this.getValue(e.querySelectorAll("mds-table-cell")[i]);return isNaN(Number(n))||isNaN(Number(r))?"ascending"===this.direction?String(n).localeCompare(String(r)):String(r).localeCompare(String(n)):"ascending"===this.direction?Number(n)-Number(r):Number(r)-Number(n)})).forEach((i=>t.appendChild(i)))},this.markRows=t=>{const i=this.index(),e="none"!==this.direction,n=!e&&this.hasSortedSibling();this.rows(t).forEach((t=>{e?t.setAttribute("sorted",""):n||t.removeAttribute("sorted");const r=t.children[i];e?null==r||r.setAttribute("sorted",""):null==r||r.removeAttribute("sorted")}))},this.observeRows=t=>{var i;null===(i=this.bodyObserver)||void 0===i||i.disconnect(),this.bodyObserver=void 0,"none"!==this.direction&&a.isBrowser&&(this.bodyObserver=new MutationObserver((()=>this.markRows(t))),this.bodyObserver.observe(t,{childList:!0}))},this.applyDirection=()=>{const t=this.body();this.sortable&&t&&("none"!==this.direction&&this.siblings().forEach((t=>{"none"!==t.direction&&(t.direction="none")})),this.isExternal()||this.sortRows(t),this.markRows(t),this.observeRows(t))},this.sort=()=>{const t=d[(d.indexOf(this.direction)+1)%d.length];this.writingDirection=!0,this.direction=t,this.writingDirection=!1,this.applyDirection(),this.sortEvent.emit({direction:t,index:this.index(),sortKey:this.sortKey})}}componentDidLoad(){"none"!==this.direction&&this.applyDirection()}disconnectedCallback(){var t;null===(t=this.bodyObserver)||void 0===t||t.disconnect()}directionHandler(){this.writingDirection||this.applyDirection()}render(){return e(n,{key:"2bfda7e7033b6a33078c2e6c63310ee4ca2edc48",role:"columnheader","aria-sort":this.direction,"pref-animation":o.state.animation},this.sortable?e("mds-button",{class:"action",icon:h("none"===this.direction&&'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 5.83L15.17 9l1.41-1.41L12 3L7.41 7.59L8.83 9L12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15L12 18.17z"/></svg>',"ascending"===this.direction&&s,"descending"===this.direction&&l),"icon-position":"right",onClick:this.sort,tone:"text",variant:"dark",size:"sm",part:"action",label:this.label}):e("mds-text",{class:"label",typography:"label",part:"label"},this.label))}get element(){return r(this)}static get watchers(){return{direction:[{directionHandler:0}]}}};m.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;--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-table-header-cell-transition-duration:var(--duration-200,.2s);--private-table-header-cell-transition-duration:var(--mds-table-header-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;display:table-cell;padding:var(--mds-table-cell-padding);transition-duration:var(--private-table-header-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top;white-space:nowrap}.action{margin-inline:calc(var(--spacing,.0025rem)*-200);padding-inline:calc(var(--spacing,.0025rem)*200)}.action:hover,:host([direction=ascending]) .action,:host([direction=descending]) .action{background-color:var(--mds-table-background-alt)}.action::part(label){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-size-info-label,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-label--font-weight,700));line-height:var(--tw-leading,var(--text-size-info-label--line-height,1rem))}.action::part(label):where(){text-box:normal}.label{align-items:center;display:inline-flex;height:calc(var(--spacing,.0025rem)*700)}: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-header-cell-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@property --tw-font-weight{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-header-cell-transition-duration:0s}}';export{m as mds_table_header_cell}
1
+ import{r as t,d as i,h as e,e as n,g as r,B as a}from"./p-CvLLN-QH.js";import{p as o}from"./p-DxR4rGsw.js";import{m as s}from"./p-Ccz0jCNB.js";import{m as l}from"./p-DiWN48aq.js";import{c as h}from"./p-ChV9xqsO.js";const d=["none","ascending","descending"],c=new WeakMap,m=class{constructor(e){t(this,e),this.sortEvent=i(this,"mdsTableHeaderCellSort",7),this.writingDirection=!1,this.direction="none",this.table=()=>this.element.closest("mds-table"),this.body=()=>{var t;return null===(t=this.table())||void 0===t?void 0:t.querySelector("mds-table-body")},this.rows=t=>Array.from(t.children),this.index=()=>{var t,i;return Array.from(null!==(i=null===(t=this.element.closest("mds-table-header"))||void 0===t?void 0:t.children)&&void 0!==i?i:[]).indexOf(this.element)},this.siblings=()=>{var t,i;return Array.from(null!==(i=null===(t=this.element.closest("mds-table-header"))||void 0===t?void 0:t.querySelectorAll("mds-table-header-cell"))&&void 0!==i?i:[]).filter((t=>t!==this.element))},this.hasSortedSibling=()=>this.siblings().some((t=>"none"!==t.direction)),this.isExternal=()=>{var t;const i=this.table();return"external"===(null!==(t=null==i?void 0:i.sorting)&&void 0!==t?t:null==i?void 0:i.getAttribute("sorting"))},this.getValue=t=>null==t.value||""===t.value||0===t.value||Number.isNaN(t.value)?null!==t.textContent&&""!==t.textContent?t.textContent.trim():"":t.value,this.sortRows=t=>{if("none"===this.direction){if(this.hasSortedSibling())return;const i=c.get(t);if(c.delete(t),!i)return;const e=new Set(i),n=this.rows(t).filter((t=>!e.has(t)));return void[...i.filter((i=>i.parentElement===t)),...n].forEach((i=>t.appendChild(i)))}c.has(t)||c.set(t,this.rows(t));const i=this.index();[...this.rows(t)].sort(((t,e)=>{const n=this.getValue(t.querySelectorAll("mds-table-cell")[i]),r=this.getValue(e.querySelectorAll("mds-table-cell")[i]);return isNaN(Number(n))||isNaN(Number(r))?"ascending"===this.direction?String(n).localeCompare(String(r)):String(r).localeCompare(String(n)):"ascending"===this.direction?Number(n)-Number(r):Number(r)-Number(n)})).forEach((i=>t.appendChild(i)))},this.markRows=t=>{const i=this.index(),e="none"!==this.direction,n=!e&&this.hasSortedSibling();this.rows(t).forEach((t=>{e?t.setAttribute("sorted",""):n||t.removeAttribute("sorted");const r=t.children[i];e?null==r||r.setAttribute("sorted",""):null==r||r.removeAttribute("sorted")}))},this.observeRows=t=>{var i;null===(i=this.bodyObserver)||void 0===i||i.disconnect(),this.bodyObserver=void 0,"none"!==this.direction&&a.isBrowser&&(this.bodyObserver=new MutationObserver((()=>this.markRows(t))),this.bodyObserver.observe(t,{childList:!0}))},this.applyDirection=()=>{const t=this.body();this.sortable&&t&&("none"!==this.direction&&this.siblings().forEach((t=>{"none"!==t.direction&&(t.direction="none")})),this.isExternal()||this.sortRows(t),this.markRows(t),this.observeRows(t))},this.sort=()=>{const t=d[(d.indexOf(this.direction)+1)%d.length];this.writingDirection=!0,this.direction=t,this.writingDirection=!1,this.applyDirection(),this.sortEvent.emit({direction:t,index:this.index(),sortKey:this.sortKey})}}componentDidLoad(){"none"!==this.direction&&this.applyDirection()}disconnectedCallback(){var t;null===(t=this.bodyObserver)||void 0===t||t.disconnect()}directionHandler(){this.writingDirection||this.applyDirection()}render(){return e(n,{key:"4e2574a9ba2dc75ba5de5482baa21a30856b2820",role:"columnheader","aria-sort":this.direction,"pref-animation":o.state.animation},this.sortable?e("mds-button",{class:"action",icon:h("none"===this.direction&&'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 5.83L15.17 9l1.41-1.41L12 3L7.41 7.59L8.83 9L12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15L12 18.17z"/></svg>',"ascending"===this.direction&&s,"descending"===this.direction&&l),"icon-position":"right",onClick:this.sort,tone:"text",variant:"dark",size:"sm",part:"action",label:this.label}):e("mds-text",{class:"label",typography:"label",part:"label"},this.label))}get element(){return r(this)}static get watchers(){return{direction:[{directionHandler:0}]}}};m.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;--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-table-header-cell-transition-duration:var(--duration-200,.2s);--private-table-header-cell-transition-duration:var(--mds-table-header-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;display:table-cell;padding:var(--mds-table-cell-padding);transition-duration:var(--private-table-header-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top;white-space:nowrap}.action{margin-inline:calc(var(--spacing,.0025rem)*-200);padding-inline:calc(var(--spacing,.0025rem)*200)}.action:hover,:host([direction=ascending]) .action,:host([direction=descending]) .action{background-color:var(--mds-table-background-alt)}.action::part(label){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-size-info-label,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-label--font-weight,700));line-height:var(--tw-leading,var(--text-size-info-label--line-height,1rem))}.action::part(label):where(){text-box:normal}.label{align-items:center;display:inline-flex;height:calc(var(--spacing,.0025rem)*700)}: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-header-cell-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@property --tw-font-weight{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-header-cell-transition-duration:0s}}';export{m as mds_table_header_cell}
@@ -1 +1 @@
1
- import{r as t,d as a,h as i,e as r,g as n}from"./p-CvLLN-QH.js";import{g as o}from"./p-B85MJLTf.js";import{m as e}from"./p-BJ8rpzfj.js";import{h as s}from"./p-AEckDMXh.js";import{c}from"./p-ChV9xqsO.js";import{L as u}from"./p-OafT80hV.js";import{s as h}from"./p-CACEYk42.js";import{p as m}from"./p-iX3kcwYg.js";var d,l,f={exports:{}},v=o((d||(d=1,f.exports=function(){var t=6e4,a=36e5,i="millisecond",r="second",n="minute",o="hour",e="day",s="week",c="month",u="quarter",h="year",m="date",d="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var a=["th","st","nd","rd"],i=t%100;return"["+t+(a[(i-20)%10]||a[i]||a[0])+"]"}},g=function(t,a,i){var r=String(t);return!r||r.length>=a?t:""+Array(a+1-r.length).join(i)+t},b={s:g,z:function(t){var a=-t.utcOffset(),i=Math.abs(a),r=Math.floor(i/60),n=i%60;return(a<=0?"+":"-")+g(r,2,"0")+":"+g(n,2,"0")},m:function t(a,i){if(a.date()<i.date())return-t(i,a);var r=12*(i.year()-a.year())+(i.month()-a.month()),n=a.clone().add(r,c),o=i-n<0,e=a.clone().add(r+(o?-1:1),c);return+(-(r+(i-n)/(o?n-e:e-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:s,d:e,D:m,h:o,m:n,s:r,ms:i,Q:u}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},p="en",y={};y[p]=v;var k="$isDayjsObject",w=function(t){return t instanceof _||!(!t||!t[k])},x=function t(a,i,r){var n;if(!a)return p;if("string"==typeof a){var o=a.toLowerCase();y[o]&&(n=o),i&&(y[o]=i,n=o);var e=a.split("-");if(!n&&e.length>1)return t(e[0])}else{var s=a.name;y[s]=a,n=s}return!r&&n&&(p=n),n||!r&&p},M=function(t,a){if(w(t))return t.clone();var i="object"==typeof a?a:{};return i.date=t,i.args=arguments,new _(i)},D=b;D.l=x,D.i=w,D.w=function(t,a){return M(t,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var _=function(){function v(t){this.$L=x(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[k]=!0}var g=v.prototype;return g.parse=function(t){this.$d=function(t){var a=t.date,i=t.utc;if(null===a)return new Date(NaN);if(D.u(a))return new Date;if(a instanceof Date)return new Date(a);if("string"==typeof a&&!/Z$/i.test(a)){var r=a.match(l);if(r){var n=r[2]-1||0,o=(r[7]||"0").substring(0,3);return i?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(a)}(t),this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return D},g.isValid=function(){return!(this.$d.toString()===d)},g.isSame=function(t,a){var i=M(t);return this.startOf(a)<=i&&i<=this.endOf(a)},g.isAfter=function(t,a){return M(t)<this.startOf(a)},g.isBefore=function(t,a){return this.endOf(a)<M(t)},g.$g=function(t,a,i){return D.u(t)?this[a]:this.set(i,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,a){var i=this,u=!!D.u(a)||a,d=D.p(t),l=function(t,a){var r=D.w(i.$u?Date.UTC(i.$y,a,t):new Date(i.$y,a,t),i);return u?r:r.endOf(e)},f=function(t,a){return D.w(i.toDate()[t].apply(i.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(a)),i)},v=this.$W,g=this.$M,b=this.$D,p="set"+(this.$u?"UTC":"");switch(d){case h:return u?l(1,0):l(31,11);case c:return u?l(1,g):l(0,g+1);case s:var y=this.$locale().weekStart||0,k=(v<y?v+7:v)-y;return l(u?b-k:b+(6-k),g);case e:case m:return f(p+"Hours",0);case o:return f(p+"Minutes",1);case n:return f(p+"Seconds",2);case r:return f(p+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,a){var s,u=D.p(t),d="set"+(this.$u?"UTC":""),l=(s={},s[e]=d+"Date",s[m]=d+"Date",s[c]=d+"Month",s[h]=d+"FullYear",s[o]=d+"Hours",s[n]=d+"Minutes",s[r]=d+"Seconds",s[i]=d+"Milliseconds",s)[u],f=u===e?this.$D+(a-this.$W):a;if(u===c||u===h){var v=this.clone().set(m,1);v.$d[l](f),v.init(),this.$d=v.set(m,Math.min(this.$D,v.daysInMonth())).$d}else l&&this.$d[l](f);return this.init(),this},g.set=function(t,a){return this.clone().$set(t,a)},g.get=function(t){return this[D.p(t)]()},g.add=function(i,u){var m,d=this;i=Number(i);var l=D.p(u),f=function(t){var a=M(d);return D.w(a.date(a.date()+Math.round(t*i)),d)};if(l===c)return this.set(c,this.$M+i);if(l===h)return this.set(h,this.$y+i);if(l===e)return f(1);if(l===s)return f(7);var v=(m={},m[n]=t,m[o]=a,m[r]=1e3,m)[l]||1,g=this.$d.getTime()+i*v;return D.w(g,this)},g.subtract=function(t,a){return this.add(-1*t,a)},g.format=function(t){var a=this,i=this.$locale();if(!this.isValid())return i.invalidDate||d;var r=t||"YYYY-MM-DDTHH:mm:ssZ",n=D.z(this),o=this.$H,e=this.$m,s=this.$M,c=i.weekdays,u=i.months,h=function(t,i,n,o){return t&&(t[i]||t(a,r))||n[i].slice(0,o)},m=function(t){return D.s(o%12||12,t,"0")},l=i.meridiem||function(t,a,i){var r=t<12?"AM":"PM";return i?r.toLowerCase():r};return r.replace(f,(function(t,r){return r||function(t){switch(t){case"YY":return String(a.$y).slice(-2);case"YYYY":return D.s(a.$y,4,"0");case"M":return s+1;case"MM":return D.s(s+1,2,"0");case"MMM":return h(i.monthsShort,s,u,3);case"MMMM":return h(u,s);case"D":return a.$D;case"DD":return D.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return h(i.weekdaysMin,a.$W,c,2);case"ddd":return h(i.weekdaysShort,a.$W,c,3);case"dddd":return c[a.$W];case"H":return String(o);case"HH":return D.s(o,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return l(o,e,!0);case"A":return l(o,e,!1);case"m":return String(e);case"mm":return D.s(e,2,"0");case"s":return String(a.$s);case"ss":return D.s(a.$s,2,"0");case"SSS":return D.s(a.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(i,m,d){var l,f=this,v=D.p(m),g=M(i),b=(g.utcOffset()-this.utcOffset())*t,p=this-g,y=function(){return D.m(f,g)};switch(v){case h:l=y()/12;break;case c:l=y();break;case u:l=y()/3;break;case s:l=(p-b)/6048e5;break;case e:l=(p-b)/864e5;break;case o:l=p/a;break;case n:l=p/t;break;case r:l=p/1e3;break;default:l=p}return d?l:D.a(l)},g.daysInMonth=function(){return this.endOf(c).$D},g.$locale=function(){return y[this.$L]},g.locale=function(t,a){if(!t)return this.$L;var i=this.clone(),r=x(t,a,!0);return r&&(i.$L=r),i},g.clone=function(){return D.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),S=_.prototype;return M.prototype=S,[["$ms",i],["$s",r],["$m",n],["$H",o],["$W",e],["$M",c],["$y",h],["$D",m]].forEach((function(t){S[t[1]]=function(a){return this.$g(a,t[0],t[1])}})),M.extend=function(t,a){return t.$i||(t(a,_,M),t.$i=!0),M},M.locale=x,M.isDayjs=w,M.unix=function(t){return M(1e3*t)},M.en=y[p],M.Ls=y,M.p={},M}()),f.exports)),g={dismiss:"Κλείσιμο",future:"σε %s",past:"πριν από %s",s:"λίγα δευτ.",m:"1 λεπτό",mm:"%d λεπτά",h:"1 ώρα",hh:"%d ώρες",d:"1 ημέρα",dd:"%d ημέρες",M:"1 μήνας",MM:"%d μήνες",y:"1 έτος",yy:"%d έτη"},b={dismiss:"Close",future:"in %s",past:"%s ago",s:"few sec",m:"1 min",mm:"%d mins",h:"1 hour",hh:"%d hours",d:"1 day",dd:"%d days",M:"1 month",MM:"%d months",y:"1 year",yy:"%d years"},p={dismiss:"Cerrar",future:"en %s",past:"hace %s",s:"pocos seg",m:"1 min",mm:"%d mins",h:"1 hora",hh:"%d horas",d:"1 día",dd:"%d días",M:"1 mes",MM:"%d meses",y:"1 año",yy:"%d años"},y={dismiss:"Chiudi",future:"tra %s",past:"%s fa",s:"pochi sec",m:"1 min",mm:"%d min",h:"1 ora",hh:"%d ore",d:"1 giorno",dd:"%d giorni",M:"1 mese",MM:"%d mesi",y:"1 anno",yy:"%d anni"},k={exports:{}},w=o((l||(l=1,k.exports=function(t,a,i){t=t||{};var r=a.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(t,a,i,n){return r.fromToBase(t,a,i,n)}i.en.relativeTime=n,r.fromToBase=function(a,r,o,e,s){for(var c,u,h,m=o.$locale().relativeTime||n,d=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],l=d.length,f=0;f<l;f+=1){var v=d[f];v.d&&(c=e?i(a).diff(o,v.d,!0):o.diff(a,v.d,!0));var g=(t.rounding||Math.round)(Math.abs(c));if(h=c>0,g<=v.r||!v.r){g<=1&&f>0&&(v=d[f-1]);var b=m[v.l];s&&(g=s(""+g)),u="string"==typeof b?b.replace("%d",g):b(g,r,v.l,h);break}}if(r)return u;var p=h?m.future:m.past;return"function"==typeof p?p(u):p.replace("%s",u)},r.to=function(t,a){return o(t,a,this,!0)},r.from=function(t,a){return o(t,a,this)};var e=function(t){return t.$u?i.utc():i()};r.toNow=function(t){return this.to(e(this),t)},r.fromNow=function(t){return this.from(e(this),t)}}),k.exports));const x=class{constructor(i){t(this,i),this.closedEvent=a(this,"mdsPushNotificationItemClose",7),this.t=new u({el:g,en:b,es:p,it:y}),this.dateFormat="timeago",this.deletable=!1,this.message="Nessun messaggio disponibile",this.preview="image",this.tone="weak",this.onClickClose=t=>{t.stopPropagation(),this.closedEvent.emit({id:this.host.id})},this.isDismissible=()=>!0===this.dismissible||!0===this.deletable,this.onSlotChange=()=>{this.hasActions=s(this.host,"action"),this.hasBadge=s(this.host,"badge")}}componentDidLoad(){this.handleDismissibleChange(this.dismissible),this.handleDeletableChange(this.deletable)}componentWillLoad(){var t;v.extend(w),this.onSlotChange(),void 0!==this.datetime&&""!==this.datetime&&(this.datetime=null!==(t=h(this.datetime.toString()))&&void 0!==t?t:void 0);const a={future:this.t.get("future"),past:this.t.get("past"),s:this.t.get("s"),m:this.t.get("m"),mm:this.t.get("mm"),h:this.t.get("h"),hh:this.t.get("hh"),d:this.t.get("d"),dd:this.t.get("dd"),M:this.t.get("M"),MM:this.t.get("MM"),y:this.t.get("y"),yy:this.t.get("yy")};v.locale("custom-locale",{relativeTime:a})}handleDismissibleChange(t){!1===t&&(this.dismissible=void 0)}handleDeletableChange(t){!1===t&&(this.deletable=void 0)}render(){var t;return i(r,{key:"385c38bbddcdd5234b28ec1aefac8b728417ec1b","pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},(null!==(t=this.icon)&&void 0!==t?t:"avatar"===this.preview)&&i("mds-avatar",{key:"b44892e114e1a5e55c3953cc75f425a26b17581e",class:"avatar",icon:this.icon,initials:this.initials,part:"avatar",src:this.src,tone:this.tone,variant:this.variant}),this.src&&"avatar"!==this.preview&&i("mds-img",{key:"49eb531f4205852b5417ff77f75c2af7cfe57616",class:"picture",part:"picture",src:this.src}),i("div",{key:"5bffdd1cd1e2adb3e57e7f812f1b5230fff78d54",class:"content",part:"content"},i("div",{key:"7b06a04d7648b5366d30f928eb4223dda3642b99",class:"header"},i("div",{key:"f101594ef9c643408e94857fee13fb6905b29a4f",class:"infos"},i("div",{key:"af924b6d07119536adc8c380aac40798da57e1e6",class:c("badge",!this.hasBadge&&"badge--hidden")},i("slot",{key:"3a3971722f8b128e88f9821c69eb770cf1ae320a",name:"badge",onSlotchange:this.onSlotChange})),this.subject&&i("mds-text",{key:"695fee6b0bc8798fcbc07dc26646376c40017a08",class:"subject",typography:"h6",variant:"title",truncate:"all"},this.subject)),this.datetime&&i("mds-text",{key:"8db52e66b3fcbd784a3ed4f4660b949ad6ee03f8",class:"time",typography:"option"},"timeago"===this.dateFormat?v(this.datetime).fromNow():v(this.datetime).format(this.dateFormat))),i("mds-text",{key:"ac64b13d2de464a28034b44c9eba9c5fe5508414",class:"message",truncate:"all",typography:"caption",variant:"info"},this.message),i("div",{key:"4c084d2627819aa68aef12873eb1d7ad10b77c25",class:c("actions",!this.hasActions&&"actions--hidden"),part:"actions"},i("slot",{key:"9925e31f902b580b121e4f334363846217a8ce80",name:"action",onSlotchange:this.onSlotChange}))),this.isDismissible()&&i("mds-button",{key:"44f10ca798bb9d35a410be10f7bcc9d531c5123f",class:"close-button",variant:"dark",tone:"text",title:this.t.get("dismiss"),icon:e,onClick:this.onClickClose}))}get host(){return n(this)}static get watchers(){return{dismissible:[{handleDismissibleChange:0}],deletable:[{handleDeletableChange:0}]}}};x.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-avatar,mds-button,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-push-notification-item-duration:var(--duration-300,.3s);--private-push-notification-item-duration:var(--mds-push-notification-item-duration,var(--duration-300,.3s));--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-push-notification-item-message-line-clamp:2;--mds-push-notification-item-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-push-notification-item-subject-line-clamp:1;--mds-push-notification-item-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--mds-push-notification-item-shadow);color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*400);max-width:calc(var(--spacing,.0025rem)*8000);min-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*400);pointer-events:auto;position:relative;transition-duration:var(--private-push-notification-item-duration);transition-property:background-color,box-shadow,color,margin,transform;transition-timing-function:var(--mds-push-notification-item-timing-function)}:host([deletable]:not([deletable=false])),:host([dismissible]:not([dismissible=false])){padding-right:calc(var(--spacing,.0025rem)*800)}.content{display:grid;flex-grow:1}.actions{display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200);min-width:1px;padding-top:calc(var(--spacing,.0025rem)*200)}.actions--hidden,.badge--hidden{display:none}.avatar,.picture{flex-shrink:0}.picture{border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);corner-shape:var(--magma-corner-shape,squircle);max-width:calc(var(--spacing,.0025rem)*1200);width:100%}.close-button{opacity:0;padding:calc(var(--spacing,.0025rem)*150);position:absolute;right:0;top:0;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function)}:host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));opacity:1}.header{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:flex;flex-direction:column}.time{flex-shrink:0;margin-right:calc(var(--spacing,.0025rem)*100);white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-item-subject-line-clamp,1);line-height:var(--leading-sm,1.25rem)}.message,.subject{text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-item-message-line-clamp,2)}.avatar{background-color:var(--mds-push-notification-item-icon-background-color,#0000);border-radius:var(--magma-radius-full,var(--radius-full,1000px));fill:var(--mds-push-notification-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}.avatar::part(svg){width:calc(var(--spacing,.0025rem)*600)}:host([src]) .avatar{background-color:#0000}:host([icon]) .avatar::part(wrapper){padding:calc(var(--spacing,.0025rem)*150)}: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-push-notification-item-duration:0s}:host([pref-contrast=more]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([variant=primary][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:host([variant=primary]),:host([variant=primary][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([variant=orange][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-05,213 90 5));--mds-push-notification-item-icon-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]),:host([variant=orange][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-09,253 217 191));--mds-push-notification-item-icon-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=amaranth][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]),:host([variant=amaranth][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]),:host([variant=orchid][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=purple][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-05,168 86 247));--mds-push-notification-item-icon-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]),:host([variant=purple][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-09,235 216 253));--mds-push-notification-item-icon-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=red][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-05,230 66 66));--mds-push-notification-item-icon-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]),:host([variant=red][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-09,250 215 215));--mds-push-notification-item-icon-color:rgb(var(--label-red-05,230 66 66))}:host([variant=violet][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-05,145 100 246));--mds-push-notification-item-icon-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]),:host([variant=violet][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-09,229 218 253));--mds-push-notification-item-icon-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=blue][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-05,90 117 249));--mds-push-notification-item-icon-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]),:host([variant=blue][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-09,216 222 254));--mds-push-notification-item-icon-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-05,12 136 193));--mds-push-notification-item-icon-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]),:host([variant=sky][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-09,185 231 251));--mds-push-notification-item-icon-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]),:host([variant=aqua][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-05,26 148 71));--mds-push-notification-item-icon-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]),:host([variant=green][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-09,165 240 193));--mds-push-notification-item-icon-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-05,93 143 15));--mds-push-notification-item-icon-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]),:host([variant=lime][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-09,189 239 111));--mds-push-notification-item-icon-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]),:host([variant=yellow][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=error][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warning]),:host([variant=warning][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=success][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=success]),:host([variant=success][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=info][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]),:host([variant=info][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}@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-push-notification-item-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}";export{x as mds_push_notification_item}
1
+ import{r as t,d as a,h as i,e as r,g as n}from"./p-CvLLN-QH.js";import{g as o}from"./p-B85MJLTf.js";import{m as e}from"./p-BJ8rpzfj.js";import{h as s}from"./p-AEckDMXh.js";import{c}from"./p-ChV9xqsO.js";import{L as u}from"./p-CATyfc78.js";import{s as h}from"./p-CACEYk42.js";import{p as d}from"./p-DxR4rGsw.js";var m,l,f={exports:{}},v=o((m||(m=1,f.exports=function(){var t=6e4,a=36e5,i="millisecond",r="second",n="minute",o="hour",e="day",s="week",c="month",u="quarter",h="year",d="date",m="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var a=["th","st","nd","rd"],i=t%100;return"["+t+(a[(i-20)%10]||a[i]||a[0])+"]"}},g=function(t,a,i){var r=String(t);return!r||r.length>=a?t:""+Array(a+1-r.length).join(i)+t},p={s:g,z:function(t){var a=-t.utcOffset(),i=Math.abs(a),r=Math.floor(i/60),n=i%60;return(a<=0?"+":"-")+g(r,2,"0")+":"+g(n,2,"0")},m:function t(a,i){if(a.date()<i.date())return-t(i,a);var r=12*(i.year()-a.year())+(i.month()-a.month()),n=a.clone().add(r,c),o=i-n<0,e=a.clone().add(r+(o?-1:1),c);return+(-(r+(i-n)/(o?n-e:e-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:s,d:e,D:d,h:o,m:n,s:r,ms:i,Q:u}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},b="en",y={};y[b]=v;var k="$isDayjsObject",w=function(t){return t instanceof _||!(!t||!t[k])},x=function t(a,i,r){var n;if(!a)return b;if("string"==typeof a){var o=a.toLowerCase();y[o]&&(n=o),i&&(y[o]=i,n=o);var e=a.split("-");if(!n&&e.length>1)return t(e[0])}else{var s=a.name;y[s]=a,n=s}return!r&&n&&(b=n),n||!r&&b},M=function(t,a){if(w(t))return t.clone();var i="object"==typeof a?a:{};return i.date=t,i.args=arguments,new _(i)},D=p;D.l=x,D.i=w,D.w=function(t,a){return M(t,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var _=function(){function v(t){this.$L=x(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[k]=!0}var g=v.prototype;return g.parse=function(t){this.$d=function(t){var a=t.date,i=t.utc;if(null===a)return new Date(NaN);if(D.u(a))return new Date;if(a instanceof Date)return new Date(a);if("string"==typeof a&&!/Z$/i.test(a)){var r=a.match(l);if(r){var n=r[2]-1||0,o=(r[7]||"0").substring(0,3);return i?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(a)}(t),this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return D},g.isValid=function(){return!(this.$d.toString()===m)},g.isSame=function(t,a){var i=M(t);return this.startOf(a)<=i&&i<=this.endOf(a)},g.isAfter=function(t,a){return M(t)<this.startOf(a)},g.isBefore=function(t,a){return this.endOf(a)<M(t)},g.$g=function(t,a,i){return D.u(t)?this[a]:this.set(i,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,a){var i=this,u=!!D.u(a)||a,m=D.p(t),l=function(t,a){var r=D.w(i.$u?Date.UTC(i.$y,a,t):new Date(i.$y,a,t),i);return u?r:r.endOf(e)},f=function(t,a){return D.w(i.toDate()[t].apply(i.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(a)),i)},v=this.$W,g=this.$M,p=this.$D,b="set"+(this.$u?"UTC":"");switch(m){case h:return u?l(1,0):l(31,11);case c:return u?l(1,g):l(0,g+1);case s:var y=this.$locale().weekStart||0,k=(v<y?v+7:v)-y;return l(u?p-k:p+(6-k),g);case e:case d:return f(b+"Hours",0);case o:return f(b+"Minutes",1);case n:return f(b+"Seconds",2);case r:return f(b+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,a){var s,u=D.p(t),m="set"+(this.$u?"UTC":""),l=(s={},s[e]=m+"Date",s[d]=m+"Date",s[c]=m+"Month",s[h]=m+"FullYear",s[o]=m+"Hours",s[n]=m+"Minutes",s[r]=m+"Seconds",s[i]=m+"Milliseconds",s)[u],f=u===e?this.$D+(a-this.$W):a;if(u===c||u===h){var v=this.clone().set(d,1);v.$d[l](f),v.init(),this.$d=v.set(d,Math.min(this.$D,v.daysInMonth())).$d}else l&&this.$d[l](f);return this.init(),this},g.set=function(t,a){return this.clone().$set(t,a)},g.get=function(t){return this[D.p(t)]()},g.add=function(i,u){var d,m=this;i=Number(i);var l=D.p(u),f=function(t){var a=M(m);return D.w(a.date(a.date()+Math.round(t*i)),m)};if(l===c)return this.set(c,this.$M+i);if(l===h)return this.set(h,this.$y+i);if(l===e)return f(1);if(l===s)return f(7);var v=(d={},d[n]=t,d[o]=a,d[r]=1e3,d)[l]||1,g=this.$d.getTime()+i*v;return D.w(g,this)},g.subtract=function(t,a){return this.add(-1*t,a)},g.format=function(t){var a=this,i=this.$locale();if(!this.isValid())return i.invalidDate||m;var r=t||"YYYY-MM-DDTHH:mm:ssZ",n=D.z(this),o=this.$H,e=this.$m,s=this.$M,c=i.weekdays,u=i.months,h=function(t,i,n,o){return t&&(t[i]||t(a,r))||n[i].slice(0,o)},d=function(t){return D.s(o%12||12,t,"0")},l=i.meridiem||function(t,a,i){var r=t<12?"AM":"PM";return i?r.toLowerCase():r};return r.replace(f,(function(t,r){return r||function(t){switch(t){case"YY":return String(a.$y).slice(-2);case"YYYY":return D.s(a.$y,4,"0");case"M":return s+1;case"MM":return D.s(s+1,2,"0");case"MMM":return h(i.monthsShort,s,u,3);case"MMMM":return h(u,s);case"D":return a.$D;case"DD":return D.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return h(i.weekdaysMin,a.$W,c,2);case"ddd":return h(i.weekdaysShort,a.$W,c,3);case"dddd":return c[a.$W];case"H":return String(o);case"HH":return D.s(o,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return l(o,e,!0);case"A":return l(o,e,!1);case"m":return String(e);case"mm":return D.s(e,2,"0");case"s":return String(a.$s);case"ss":return D.s(a.$s,2,"0");case"SSS":return D.s(a.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(i,d,m){var l,f=this,v=D.p(d),g=M(i),p=(g.utcOffset()-this.utcOffset())*t,b=this-g,y=function(){return D.m(f,g)};switch(v){case h:l=y()/12;break;case c:l=y();break;case u:l=y()/3;break;case s:l=(b-p)/6048e5;break;case e:l=(b-p)/864e5;break;case o:l=b/a;break;case n:l=b/t;break;case r:l=b/1e3;break;default:l=b}return m?l:D.a(l)},g.daysInMonth=function(){return this.endOf(c).$D},g.$locale=function(){return y[this.$L]},g.locale=function(t,a){if(!t)return this.$L;var i=this.clone(),r=x(t,a,!0);return r&&(i.$L=r),i},g.clone=function(){return D.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),S=_.prototype;return M.prototype=S,[["$ms",i],["$s",r],["$m",n],["$H",o],["$W",e],["$M",c],["$y",h],["$D",d]].forEach((function(t){S[t[1]]=function(a){return this.$g(a,t[0],t[1])}})),M.extend=function(t,a){return t.$i||(t(a,_,M),t.$i=!0),M},M.locale=x,M.isDayjs=w,M.unix=function(t){return M(1e3*t)},M.en=y[b],M.Ls=y,M.p={},M}()),f.exports)),g={dismiss:"Κλείσιμο",future:"σε %s",past:"πριν από %s",s:"λίγα δευτ.",m:"1 λεπτό",mm:"%d λεπτά",h:"1 ώρα",hh:"%d ώρες",d:"1 ημέρα",dd:"%d ημέρες",M:"1 μήνας",MM:"%d μήνες",y:"1 έτος",yy:"%d έτη"},p={dismiss:"Close",future:"in %s",past:"%s ago",s:"few sec",m:"1 min",mm:"%d mins",h:"1 hour",hh:"%d hours",d:"1 day",dd:"%d days",M:"1 month",MM:"%d months",y:"1 year",yy:"%d years"},b={dismiss:"Cerrar",future:"en %s",past:"hace %s",s:"pocos seg",m:"1 min",mm:"%d mins",h:"1 hora",hh:"%d horas",d:"1 día",dd:"%d días",M:"1 mes",MM:"%d meses",y:"1 año",yy:"%d años"},y={dismiss:"Chiudi",future:"tra %s",past:"%s fa",s:"pochi sec",m:"1 min",mm:"%d min",h:"1 ora",hh:"%d ore",d:"1 giorno",dd:"%d giorni",M:"1 mese",MM:"%d mesi",y:"1 anno",yy:"%d anni"},k={exports:{}},w=o((l||(l=1,k.exports=function(t,a,i){t=t||{};var r=a.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(t,a,i,n){return r.fromToBase(t,a,i,n)}i.en.relativeTime=n,r.fromToBase=function(a,r,o,e,s){for(var c,u,h,d=o.$locale().relativeTime||n,m=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],l=m.length,f=0;f<l;f+=1){var v=m[f];v.d&&(c=e?i(a).diff(o,v.d,!0):o.diff(a,v.d,!0));var g=(t.rounding||Math.round)(Math.abs(c));if(h=c>0,g<=v.r||!v.r){g<=1&&f>0&&(v=m[f-1]);var p=d[v.l];s&&(g=s(""+g)),u="string"==typeof p?p.replace("%d",g):p(g,r,v.l,h);break}}if(r)return u;var b=h?d.future:d.past;return"function"==typeof b?b(u):b.replace("%s",u)},r.to=function(t,a){return o(t,a,this,!0)},r.from=function(t,a){return o(t,a,this)};var e=function(t){return t.$u?i.utc():i()};r.toNow=function(t){return this.to(e(this),t)},r.fromNow=function(t){return this.from(e(this),t)}}),k.exports));const x=class{constructor(i){t(this,i),this.closedEvent=a(this,"mdsPushNotificationItemClose",7),this.t=new u({el:g,en:p,es:b,it:y}),this.dateFormat="timeago",this.deletable=!1,this.message="Nessun messaggio disponibile",this.preview="image",this.tone="weak",this.onClickClose=t=>{t.stopPropagation(),this.closedEvent.emit({id:this.host.id})},this.isDismissible=()=>!0===this.dismissible||!0===this.deletable,this.onSlotChange=()=>{this.hasActions=s(this.host,"action"),this.hasBadge=s(this.host,"badge")}}componentDidLoad(){this.handleDismissibleChange(this.dismissible),this.handleDeletableChange(this.deletable)}componentWillLoad(){var t;v.extend(w),this.onSlotChange(),void 0!==this.datetime&&""!==this.datetime&&(this.datetime=null!==(t=h(this.datetime.toString()))&&void 0!==t?t:void 0);const a={future:this.t.get("future"),past:this.t.get("past"),s:this.t.get("s"),m:this.t.get("m"),mm:this.t.get("mm"),h:this.t.get("h"),hh:this.t.get("hh"),d:this.t.get("d"),dd:this.t.get("dd"),M:this.t.get("M"),MM:this.t.get("MM"),y:this.t.get("y"),yy:this.t.get("yy")};v.locale("custom-locale",{relativeTime:a})}handleDismissibleChange(t){!1===t&&(this.dismissible=void 0)}handleDeletableChange(t){!1===t&&(this.deletable=void 0)}render(){var t;return i(r,{key:"14830fd226096ba0e4a23908a80777c033923aa0","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},(null!==(t=this.icon)&&void 0!==t?t:"avatar"===this.preview)&&i("mds-avatar",{key:"acdddd7d881ce3e197dbff6739ce2f8bae045512",class:"avatar",icon:this.icon,initials:this.initials,part:"avatar",src:this.src,tone:this.tone,variant:this.variant}),this.src&&"avatar"!==this.preview&&i("mds-img",{key:"56eb02f1e285d25c865939f1388dd599b03598da",class:"picture",part:"picture",src:this.src}),i("div",{key:"f16836329fbdeae62f89bb508857df96435f6e28",class:"content",part:"content"},i("div",{key:"0dda0ac2cdc68b5c25b40a8ac41a85fcae9de480",class:"header"},i("div",{key:"0578618158458a600a89477d6650a6af1d3a5d7b",class:"infos"},i("div",{key:"997941970b86040ea2afda071af1126da5d73ed8",class:c("badge",!this.hasBadge&&"badge--hidden")},i("slot",{key:"fe76178d16c789a7c07268aa7fb4b79027056054",name:"badge",onSlotchange:this.onSlotChange})),this.subject&&i("mds-text",{key:"a2bf86680c0137b4f31555b22a257e370988a9f3",class:"subject",typography:"h6",variant:"title",truncate:"all"},this.subject)),this.datetime&&i("mds-text",{key:"58b984969110250db376bb39f541ecfd298bf0dc",class:"time",typography:"option"},"timeago"===this.dateFormat?v(this.datetime).fromNow():v(this.datetime).format(this.dateFormat))),i("mds-text",{key:"dd9170a5c751e1427bc4f3d82c9d64a3bf7e84d2",class:"message",truncate:"all",typography:"caption",variant:"info"},this.message),i("div",{key:"4ed5cb5c5eb21e6add9f9401af74cd9302803286",class:c("actions",!this.hasActions&&"actions--hidden"),part:"actions"},i("slot",{key:"4dfa757129a14e0f24f2b4a8b52ecc3498a0157e",name:"action",onSlotchange:this.onSlotChange}))),this.isDismissible()&&i("mds-button",{key:"e3f70b0cdb7480f8950d7b4922deb444f95fe471",class:"close-button",variant:"dark",tone:"text",title:this.t.get("dismiss"),icon:e,onClick:this.onClickClose}))}get host(){return n(this)}static get watchers(){return{dismissible:[{handleDismissibleChange:0}],deletable:[{handleDeletableChange:0}]}}};x.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-avatar,mds-button,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-push-notification-item-duration:var(--duration-300,.3s);--private-push-notification-item-duration:var(--mds-push-notification-item-duration,var(--duration-300,.3s));--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-push-notification-item-message-line-clamp:2;--mds-push-notification-item-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-push-notification-item-subject-line-clamp:1;--mds-push-notification-item-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--mds-push-notification-item-shadow);color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*400);max-width:calc(var(--spacing,.0025rem)*8000);min-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*400);pointer-events:auto;position:relative;transition-duration:var(--private-push-notification-item-duration);transition-property:background-color,box-shadow,color,margin,transform;transition-timing-function:var(--mds-push-notification-item-timing-function)}:host([deletable]:not([deletable=false])),:host([dismissible]:not([dismissible=false])){padding-right:calc(var(--spacing,.0025rem)*800)}.content{display:grid;flex-grow:1}.actions{display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200);min-width:1px;padding-top:calc(var(--spacing,.0025rem)*200)}.actions--hidden,.badge--hidden{display:none}.avatar,.picture{flex-shrink:0}.picture{border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);corner-shape:var(--magma-corner-shape,squircle);max-width:calc(var(--spacing,.0025rem)*1200);width:100%}.close-button{opacity:0;padding:calc(var(--spacing,.0025rem)*150);position:absolute;right:0;top:0;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function)}:host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));opacity:1}.header{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:flex;flex-direction:column}.time{flex-shrink:0;margin-right:calc(var(--spacing,.0025rem)*100);white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-item-subject-line-clamp,1);line-height:var(--leading-sm,1.25rem)}.message,.subject{text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-item-message-line-clamp,2)}.avatar{background-color:var(--mds-push-notification-item-icon-background-color,#0000);border-radius:var(--magma-radius-full,var(--radius-full,1000px));fill:var(--mds-push-notification-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}.avatar::part(svg){width:calc(var(--spacing,.0025rem)*600)}:host([src]) .avatar{background-color:#0000}:host([icon]) .avatar::part(wrapper){padding:calc(var(--spacing,.0025rem)*150)}: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-push-notification-item-duration:0s}:host([pref-contrast=more]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([variant=primary][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:host([variant=primary]),:host([variant=primary][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([variant=orange][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-05,213 90 5));--mds-push-notification-item-icon-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]),:host([variant=orange][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-09,253 217 191));--mds-push-notification-item-icon-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=amaranth][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]),:host([variant=amaranth][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]),:host([variant=orchid][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=purple][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-05,168 86 247));--mds-push-notification-item-icon-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]),:host([variant=purple][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-09,235 216 253));--mds-push-notification-item-icon-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=red][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-05,230 66 66));--mds-push-notification-item-icon-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]),:host([variant=red][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-09,250 215 215));--mds-push-notification-item-icon-color:rgb(var(--label-red-05,230 66 66))}:host([variant=violet][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-05,145 100 246));--mds-push-notification-item-icon-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]),:host([variant=violet][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-09,229 218 253));--mds-push-notification-item-icon-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=blue][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-05,90 117 249));--mds-push-notification-item-icon-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]),:host([variant=blue][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-09,216 222 254));--mds-push-notification-item-icon-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-05,12 136 193));--mds-push-notification-item-icon-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]),:host([variant=sky][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-09,185 231 251));--mds-push-notification-item-icon-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]),:host([variant=aqua][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-05,26 148 71));--mds-push-notification-item-icon-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]),:host([variant=green][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-09,165 240 193));--mds-push-notification-item-icon-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-05,93 143 15));--mds-push-notification-item-icon-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]),:host([variant=lime][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-09,189 239 111));--mds-push-notification-item-icon-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]),:host([variant=yellow][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=error][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warning]),:host([variant=warning][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=success][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=success]),:host([variant=success][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=info][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]),:host([variant=info][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}@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-push-notification-item-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}";export{x as mds_push_notification_item}
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(a,t,r,e){function s(a){return a instanceof r?a:new r((function(t){t(a)}))}return new(r||(r=Promise))((function(r,n){function i(a){try{c(e.next(a))}catch(a){n(a)}}function o(a){try{c(e["throw"](a))}catch(a){n(a)}}function c(a){a.done?r(a.value):s(a.value).then(i,o)}c((e=e.apply(a,t||[])).next())}))};var __generator=this&&this.__generator||function(a,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,s,n,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=o(0),i["throw"]=o(1),i["return"]=o(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(a){return function(t){return c([a,t])}}function c(o){if(e)throw new TypeError("Generator is already executing.");while(i&&(i=0,o[0]&&(r=0)),r)try{if(e=1,s&&(n=o[0]&2?s["return"]:o[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;if(s=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;s=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(o[0]===6&&r.label<n[1]){r.label=n[1];n=o;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(o);break}if(n[2])r.ops.pop();r.trys.pop();continue}o=t.call(a,r)}catch(a){o=[6,a];s=0}finally{e=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-BZP13mns.system.js","./p-mGgjNqBm.system.js"],(function(a){"use strict";var t,r,e,s,n;return{setters:[function(a){t=a.r;r=a.h;e=a.e;s=a.g},function(a){n=a.p}],execute:function(){var i=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,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-status-bar-max-width:calc(var(--spacing,.0025rem)*12500);--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1);--mds-status-bar-backdrop-filter:blur(calc(var(--spacing,.0025rem)*250));display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px)) var(--magma-radius-xl,var(--radius-squircle-xl,36px)) 0 0;corner-shape:var(--magma-corner-shape,squircle);margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);max-width:none;padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity;width:auto}.status-bar{--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;gap:calc(var(--spacing,.0025rem)*400);max-width:var(--mds-status-bar-max-width,calc(var(--spacing,.0025rem)*12500));padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap}.actions{flex-grow:1;gap:var(--magma-rhythm-inline,12px)}@container status-bar not (min-width:23.75rem){.actions{flex-basis:100%;flex-direction:column}::slotted(*){align-self:stretch}}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{container:status-bar/inline-size;width:100%}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}"};var o=a("mds_status_bar",/** @class */function(){function a(a){var r=this;t(this,a);
1
+ var __awaiter=this&&this.__awaiter||function(a,t,r,e){function s(a){return a instanceof r?a:new r((function(t){t(a)}))}return new(r||(r=Promise))((function(r,n){function i(a){try{c(e.next(a))}catch(a){n(a)}}function o(a){try{c(e["throw"](a))}catch(a){n(a)}}function c(a){a.done?r(a.value):s(a.value).then(i,o)}c((e=e.apply(a,t||[])).next())}))};var __generator=this&&this.__generator||function(a,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,s,n,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=o(0),i["throw"]=o(1),i["return"]=o(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(a){return function(t){return c([a,t])}}function c(o){if(e)throw new TypeError("Generator is already executing.");while(i&&(i=0,o[0]&&(r=0)),r)try{if(e=1,s&&(n=o[0]&2?s["return"]:o[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;if(s=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;s=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(o[0]===6&&r.label<n[1]){r.label=n[1];n=o;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(o);break}if(n[2])r.ops.pop();r.trys.pop();continue}o=t.call(a,r)}catch(a){o=[6,a];s=0}finally{e=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-BZP13mns.system.js","./p-DOisMne4.system.js"],(function(a){"use strict";var t,r,e,s,n;return{setters:[function(a){t=a.r;r=a.h;e=a.e;s=a.g},function(a){n=a.p}],execute:function(){var i=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,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-status-bar-max-width:calc(var(--spacing,.0025rem)*12500);--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1);--mds-status-bar-backdrop-filter:blur(calc(var(--spacing,.0025rem)*250));display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px)) var(--magma-radius-xl,var(--radius-squircle-xl,36px)) 0 0;corner-shape:var(--magma-corner-shape,squircle);margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);max-width:none;padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity;width:auto}.status-bar{--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;gap:calc(var(--spacing,.0025rem)*400);max-width:var(--mds-status-bar-max-width,calc(var(--spacing,.0025rem)*12500));padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap}.actions{flex-grow:1;gap:var(--magma-rhythm-inline,12px)}@container status-bar not (min-width:23.75rem){.actions{flex-basis:100%;flex-direction:column}::slotted(*){align-self:stretch}}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar,:host([pref-theme-scheme=dark]) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{container:status-bar/inline-size;width:100%}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}"};var o=a("mds_status_bar",/** @class */function(){function a(a){var r=this;t(this,a);
2
2
  /**
3
3
  * Specifies if the component prevents the body from scrolling when modal window is opened
4
4
  */this.overflow="manual";
@@ -9,4 +9,4 @@ var __awaiter=this&&this.__awaiter||function(a,t,r,e){function s(a){return a ins
9
9
  this.handleModalClose=function(){r.visible=undefined}}a.prototype.handleVisbilityProp=function(a){if(a===false){this.visible=undefined}};
10
10
  /**
11
11
  * Hides the status bar.
12
- */a.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.visible=undefined;return[2/*return*/]}))}))};a.prototype.render=function(){return r(e,{key:"b82643f6d8f0a7de0f3813e2ac25b84f91c709dd","pref-consumption":n.state.consumption,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},r("mds-modal",{key:"349e092fd8ef59cc80fe4884909e1a02bdfa9111",class:"modal",hideBackdrop:true,onMdsModalClose:this.handleModalClose,opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},r("div",{key:"f219dec751c64d4e6c3ff61c8039b85799023b69",class:"status-bar-area",part:"status-bar-area",slot:"window"},r("div",{key:"baf3741a1717e5ed853fda613301d9a88fdbacd7",class:"status-bar",part:"status-bar"},this.description&&r("mds-text",{key:"8fa7f0fd44ae3909c4e362a24bedb62238a2d041",typography:"caption",class:"description"},this.description),r("div",{key:"aaa1b75e0ef2ff55991eac01a4e2450dec43ddf4",class:"actions",part:"actions"},r("slot",{key:"4b397d248c08e2cb66ffe6caedcf7c8e84d2f46e"}))))))};Object.defineProperty(a.prototype,"host",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{visible:[{handleVisbilityProp:0}]}},enumerable:false,configurable:true});return a}());o.style=i()}}}));
12
+ */a.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.visible=undefined;return[2/*return*/]}))}))};a.prototype.render=function(){return r(e,{key:"880e7f856b4c853713fda33f0584f105d187d47f","pref-consumption":n.state.consumption,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},r("mds-modal",{key:"a43bbc63dc55ebc684c977ed4044ea7debd96923",class:"modal",hideBackdrop:true,onMdsModalClose:this.handleModalClose,opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},r("div",{key:"01c957e7114d2ea0af3cf816d035d0850a573b53",class:"status-bar-area",part:"status-bar-area",slot:"window"},r("div",{key:"5c10f82297549778a96697e1d14a682c48d73ecf",class:"status-bar",part:"status-bar"},this.description&&r("mds-text",{key:"a77565fd4d45418c2a1bcbd537d6f5dd8fc77d08",typography:"caption",class:"description"},this.description),r("div",{key:"db03d3c1eaf4a7c69168151fcd3010e1d374fae1",class:"actions",part:"actions"},r("slot",{key:"e208b8ba39e479529fe37f4ed2228dcbd6f5edd5"}))))))};Object.defineProperty(a.prototype,"host",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{visible:[{handleVisbilityProp:0}]}},enumerable:false,configurable:true});return a}());o.style=i()}}}));
@@ -1 +1 @@
1
- import{r as e,d as a,h as t,e as r,g as i,B as o}from"./p-CvLLN-QH.js";import{f as s,a as n,b as l,c as d,g as c,d as m,h,e as f}from"./p-CDjzBTsk.js";import{s as p}from"./p-Cvhn9asj.js";import{K as v}from"./p-CGrPq3C4.js";import{L as b}from"./p-OafT80hV.js";import{p as u}from"./p-iX3kcwYg.js";import"./p-BxIk5ZFV.js";import"./p-b1ORvfSX.js";var g={alreadyDownloaded:"Έχετε ήδη κατεβάσει αυτό το αρχείο"},w={alreadyDownloaded:"You have already downloaded this file"},x={alreadyDownloaded:"Ya has descargado este archivo"},y={alreadyDownloaded:"Hai già scaricato questo file"};const k=class{constructor(t){e(this,t),this.downloadedEvent=a(this,"mdsFileDownload",7),this.t=new b({el:Object.assign(Object.assign({},g),d),en:Object.assign(Object.assign({},w),l),es:Object.assign(Object.assign({},x),n),it:Object.assign(Object.assign({},y),s)}),this.wasDownloaded=!1,this.km=new v,this.hideDownloadedIcon=!1,this.handleOnClick=()=>{var e;const{format:a,description:t}=c(this.filename,this.suffix);this.downloadedEvent.emit({description:null!==(e=this.description)&&void 0!==e?e:this.t.get(t),extension:m(this.filename,this.suffix),filename:this.filename,target:this.host,type:a}),localStorage.setItem(this.downloadedStorageKey(),"downloaded"),this.checkWasDownloaded()},this.downloadedStorageKey=()=>`mdsFile/${(e=>{let a=2166136261;for(let t=0;t<e.length;t+=1)a^=e.charCodeAt(t),a=Math.imul(a,16777619);return(a>>>0).toString(16).padStart(8,"0")})(this.filename)}`,this.checkWasDownloaded=()=>{o.isBrowser&&(this.wasDownloaded="downloaded"===localStorage.getItem(this.downloadedStorageKey()))},this.getDefaultDescription=()=>c(this.filename,this.suffix).description}componentWillLoad(){this.format=c(this.filename,this.suffix).format,this.checkWasDownloaded()}componentDidLoad(){p(this.host,"role","button"),this.km.addElement(this.host),this.km.attachClickBehavior("element",{space:!0})}connectedCallback(){this.km.attachClickBehavior("element",{space:!0})}disconnectedCallback(){this.km.detachClickBehavior()}handleFilename(e){this.format=c(e,this.suffix).format,this.checkWasDownloaded()}render(){var e,a;return t(r,{key:"d88838a05b3bcd4a8c7260633ea264fcea9695b2",tabindex:"0",onClick:this.handleOnClick,"pref-animation":u.state.animation,"pref-contrast":u.state.contrast,"pref-mode":u.state.mode,"pref-theme-scheme":u.state["theme-scheme"]},t("div",{key:"7a93b138553e85567669e4aaa6471278f924ceac",class:"preview"},void 0!==this.preview?t("div",{class:"image-preview",style:{backgroundImage:`url(${this.preview})`}}):t("mds-icon",{class:"icon-preview",name:f(this.filename,this.suffix).icon}),t("div",{key:"9ca6fd8c6e0e16d6d58790fa0a945d74ee31193a",class:"download-icon"},t("mds-icon",{key:"a8d94e28f92d3bd43b0acd038da4619c25f1c9da",name:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4l-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59L7 11l5 5l5-5z"/></svg>'}))),t("div",{key:"05388f30d5f3f67a77b7df6034543f6ea548fe5f",class:"info"},t("div",{key:"2d0917a64d02cd680e0d5a55de7cba053c71ce4f",class:"filename",title:this.filename},t("mds-text",{key:"af5bda2c006906641e4d4ce9e505204b63c7421b",truncate:"word",typography:"h6",class:"name"},h(this.filename)),void 0===this.suffix&&m(this.filename,this.suffix)&&t("mds-text",{key:"9292f1e1d0e728998f83f88b36ee389fee7f41b6",typography:"h6",class:"extension"},".",m(this.filename,this.suffix))),t("div",{key:"493e1a38f366b8b6c012cf65ead5ddfe6ed56761",class:"detail"},m(this.filename,this.suffix)&&t("mds-badge",{key:"e286eacac6093692658dc047ddde352d748a78a4",variant:f(this.filename,this.suffix).variant,tone:"weak",class:"suffix"},m(this.filename,this.suffix)),t("mds-text",{key:"1ef42c2b0a0e8a2f6c1e155f4e96e7b98307c251",truncate:"word",typography:"caption",class:"description",title:null!==(e=this.description)&&void 0!==e?e:this.t.get(this.getDefaultDescription())},null!==(a=this.description)&&void 0!==a?a:this.t.get(this.getDefaultDescription())))),this.wasDownloaded&&!this.hideDownloadedIcon&&t("div",{key:"eae9c6ce71bf7d262b34a6a17cdc3a3b65ae86d8",class:"indicator"},t("i",{key:"893e5800f0e80befc3f4d0fd3603c1c6e4d09fc4",class:"downloaded",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 18h14v2H5v-2zm4.6-2.7L5 10.7l2-1.9l2.6 2.6L17 4l2 2l-9.4 9.3z"/></svg>',title:this.t.get("alreadyDownloaded")})))}get host(){return i(this)}static get watchers(){return{filename:[{handleFilename:0}]}}};k.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-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--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-transition-duration:var(--duration-200,.2s);--private-file-transition-duration:var(--mds-file-transition-duration);--private-icon-download-offset:10%;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;cursor:pointer;display:inline-flex;overflow:hidden;transition-duration:var(--private-file-transition-duration);transition-property:box-shadow,outline,outline-offset;transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));width:100%}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px)}:host(:hover) .download-icon{opacity:1;transform:translateY(0)}:host(:hover) :is(.icon-preview,.image-preview){opacity:0;transform:translateY(var(--private-icon-download-offset))}.download-icon{inset:0;opacity:0;position:absolute;transform:translateY(calc(var(--private-icon-download-offset)*-1));transition-duration:inherit;transition-property:opacity,transform;transition-timing-function:inherit}.download-icon,.preview{align-items:center;display:flex;justify-content:center}.preview{background-color:var(--mds-file-preview-icon-background);color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));flex-shrink:0;position:relative;transition-duration:inherit;transition-property:color,background-color,fill;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));width:calc(var(--spacing,.0025rem)*1400)}.image-preview{background-position:50%;background-repeat:no-repeat;background-size:contain;inset:calc(var(--spacing,.0025rem)*300);position:absolute}.icon-preview,.image-preview{transition-duration:inherit;transition-property:opacity,transform;transition-timing-function:inherit}.info{flex-direction:column;flex-grow:1;gap:calc(var(--spacing,.0025rem)*100);height:calc(var(--spacing,.0025rem)*1400);justify-content:center;padding:0 calc(var(--spacing,.0025rem)*300)}.filename,.info{display:flex;min-width:0}.name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.extension{flex-shrink:0}.detail{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200);min-width:0}.suffix{flex-shrink:0;pointer-events:none}.description{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.indicator{align-items:center;display:flex;justify-content:center;padding-right:calc(var(--spacing,.0025rem)*400)}.downloaded{display:flex;fill:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}.downloaded svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([format=archive]),:host([format=executable]){--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236))}:host([format=attachment]){--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--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)))}:host([format=audio]),:host([format=video]){--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186))}:host([format=certificate]),:host([format=document]){--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219))}:host([format=email]),:host([format=text]){--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254))}:host([format=image]){--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221))}:host([format=slide]){--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242))}:host([format=spreadsheet]){--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178))}:host([format=vector]){--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-file-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host(:hover){box-shadow:var(--shadow-ring-2,0 0 0 2px 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));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]):host(:hover){box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-file-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host(:hover){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover){box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6))}}";export{k as mds_file}
1
+ import{r as e,d as a,h as t,e as r,g as i,B as o}from"./p-CvLLN-QH.js";import{f as s,a as n,b as l,c as d,g as c,d as m,h,e as f}from"./p-CDjzBTsk.js";import{s as p}from"./p-DwKxtKwS.js";import{K as v}from"./p-CGrPq3C4.js";import{L as b}from"./p-CATyfc78.js";import{p as u}from"./p-DxR4rGsw.js";import"./p-BxIk5ZFV.js";import"./p-b1ORvfSX.js";var g={alreadyDownloaded:"Έχετε ήδη κατεβάσει αυτό το αρχείο"},w={alreadyDownloaded:"You have already downloaded this file"},x={alreadyDownloaded:"Ya has descargado este archivo"},y={alreadyDownloaded:"Hai già scaricato questo file"};const k=class{constructor(t){e(this,t),this.downloadedEvent=a(this,"mdsFileDownload",7),this.t=new b({el:Object.assign(Object.assign({},g),d),en:Object.assign(Object.assign({},w),l),es:Object.assign(Object.assign({},x),n),it:Object.assign(Object.assign({},y),s)}),this.wasDownloaded=!1,this.km=new v,this.hideDownloadedIcon=!1,this.handleOnClick=()=>{var e;const{format:a,description:t}=c(this.filename,this.suffix);this.downloadedEvent.emit({description:null!==(e=this.description)&&void 0!==e?e:this.t.get(t),extension:m(this.filename,this.suffix),filename:this.filename,target:this.host,type:a}),localStorage.setItem(this.downloadedStorageKey(),"downloaded"),this.checkWasDownloaded()},this.downloadedStorageKey=()=>`mdsFile/${(e=>{let a=2166136261;for(let t=0;t<e.length;t+=1)a^=e.charCodeAt(t),a=Math.imul(a,16777619);return(a>>>0).toString(16).padStart(8,"0")})(this.filename)}`,this.checkWasDownloaded=()=>{o.isBrowser&&(this.wasDownloaded="downloaded"===localStorage.getItem(this.downloadedStorageKey()))},this.getDefaultDescription=()=>c(this.filename,this.suffix).description}componentWillLoad(){this.format=c(this.filename,this.suffix).format,this.checkWasDownloaded()}componentDidLoad(){p(this.host,"role","button"),this.km.addElement(this.host),this.km.attachClickBehavior("element",{space:!0})}connectedCallback(){this.km.attachClickBehavior("element",{space:!0})}disconnectedCallback(){this.km.detachClickBehavior()}handleFilename(e){this.format=c(e,this.suffix).format,this.checkWasDownloaded()}render(){var e,a;return t(r,{key:"e5612cc6741496e2f3822e30592047765ccc34ae",tabindex:"0",onClick:this.handleOnClick,"pref-animation":u.state.animation,"pref-contrast":u.state.contrast,"pref-mode":u.state.mode,"pref-theme-scheme":u.state["theme-scheme"]},t("div",{key:"4b4f497b71d4b77a37dc9952d8a491a667f6289f",class:"preview"},void 0!==this.preview?t("div",{class:"image-preview",style:{backgroundImage:`url(${this.preview})`}}):t("mds-icon",{class:"icon-preview",name:f(this.filename,this.suffix).icon}),t("div",{key:"480d3e44a3ee2934a7f502e6af1364b71dcdfd4c",class:"download-icon"},t("mds-icon",{key:"ae2caf7c6e94e4149533ba96aa3650bcea36bc6d",name:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4l-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59L7 11l5 5l5-5z"/></svg>'}))),t("div",{key:"f81272ff8a0b1a26b382d31f511834bb1eeb855a",class:"info"},t("div",{key:"60d9ffbb5b34b913a7e3f4b2e3a9ed910d90dc48",class:"filename",title:this.filename},t("mds-text",{key:"9e9a0dc9ae8d0fab51bc53b2fffc07fa7d864037",truncate:"word",typography:"h6",class:"name"},h(this.filename)),void 0===this.suffix&&m(this.filename,this.suffix)&&t("mds-text",{key:"4d2311819521133fa21967fc84505f508aa03a2e",typography:"h6",class:"extension"},".",m(this.filename,this.suffix))),t("div",{key:"839548e7ea97d9e973b47920051de42974b53aa9",class:"detail"},m(this.filename,this.suffix)&&t("mds-badge",{key:"3c7815653ecb5f275d9ffd99bad4183dabb07787",variant:f(this.filename,this.suffix).variant,tone:"weak",class:"suffix"},m(this.filename,this.suffix)),t("mds-text",{key:"cd664502f2763df563ee20cd7538f228758fd9c6",truncate:"word",typography:"caption",class:"description",title:null!==(e=this.description)&&void 0!==e?e:this.t.get(this.getDefaultDescription())},null!==(a=this.description)&&void 0!==a?a:this.t.get(this.getDefaultDescription())))),this.wasDownloaded&&!this.hideDownloadedIcon&&t("div",{key:"330a9fd1be54f4ac55e5046182d54a08d598d4ad",class:"indicator"},t("i",{key:"fe926efd92bcb143b1af5cd8098ecc024cbb4b94",class:"downloaded",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 18h14v2H5v-2zm4.6-2.7L5 10.7l2-1.9l2.6 2.6L17 4l2 2l-9.4 9.3z"/></svg>',title:this.t.get("alreadyDownloaded")})))}get host(){return i(this)}static get watchers(){return{filename:[{handleFilename:0}]}}};k.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-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--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-transition-duration:var(--duration-200,.2s);--private-file-transition-duration:var(--mds-file-transition-duration);--private-icon-download-offset:10%;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;cursor:pointer;display:inline-flex;overflow:hidden;transition-duration:var(--private-file-transition-duration);transition-property:box-shadow,outline,outline-offset;transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));width:100%}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px)}:host(:hover) .download-icon{opacity:1;transform:translateY(0)}:host(:hover) :is(.icon-preview,.image-preview){opacity:0;transform:translateY(var(--private-icon-download-offset))}.download-icon{inset:0;opacity:0;position:absolute;transform:translateY(calc(var(--private-icon-download-offset)*-1));transition-duration:inherit;transition-property:opacity,transform;transition-timing-function:inherit}.download-icon,.preview{align-items:center;display:flex;justify-content:center}.preview{background-color:var(--mds-file-preview-icon-background);color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));flex-shrink:0;position:relative;transition-duration:inherit;transition-property:color,background-color,fill;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));width:calc(var(--spacing,.0025rem)*1400)}.image-preview{background-position:50%;background-repeat:no-repeat;background-size:contain;inset:calc(var(--spacing,.0025rem)*300);position:absolute}.icon-preview,.image-preview{transition-duration:inherit;transition-property:opacity,transform;transition-timing-function:inherit}.info{flex-direction:column;flex-grow:1;gap:calc(var(--spacing,.0025rem)*100);height:calc(var(--spacing,.0025rem)*1400);justify-content:center;padding:0 calc(var(--spacing,.0025rem)*300)}.filename,.info{display:flex;min-width:0}.name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.extension{flex-shrink:0}.detail{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200);min-width:0}.suffix{flex-shrink:0;pointer-events:none}.description{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.indicator{align-items:center;display:flex;justify-content:center;padding-right:calc(var(--spacing,.0025rem)*400)}.downloaded{display:flex;fill:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}.downloaded svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([format=archive]),:host([format=executable]){--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236))}:host([format=attachment]){--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--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)))}:host([format=audio]),:host([format=video]){--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186))}:host([format=certificate]),:host([format=document]){--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219))}:host([format=email]),:host([format=text]){--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254))}:host([format=image]){--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221))}:host([format=slide]){--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242))}:host([format=spreadsheet]){--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178))}:host([format=vector]){--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-file-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host(:hover){box-shadow:var(--shadow-ring-2,0 0 0 2px 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));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]):host(:hover){box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-file-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):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))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host(:hover){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover){box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6))}}";export{k as mds_file}
@@ -19,4 +19,4 @@ this.shown=[];
19
19
  */this.update=function(){var t;var n=i.toasts();n.forEach((function(t){if(t.position!==i.position){t.position=i.position}}));var e=n.filter((function(t){return!!t.visible}));i.shown=i.shown.filter((function(t){return e.includes(t)}));var r=e.filter((function(t){return!i.shown.includes(t)}));(t=i.shown).push.apply(t,r);if(r.length===0){return}var o=i.shown.length-i.limit();for(var a=0,u=i.shown.filter((function(t){return!r.includes(t)}));a<u.length;a++){var c=u[a];if(o<=0){break}if(s(c)){c.visible=false;o-=1}}i.shown=i.shown.filter((function(t){return t.visible}))};this.observe=function(){var t;if(typeof MutationObserver==="undefined")return;(t=i.observer)===null||t===void 0?void 0:t.disconnect();i.observer=new MutationObserver(i.update);i.observer.observe(i.host,{attributeFilter:["visible"],childList:true,subtree:true})};this.checkMax=function(t){if(t!==undefined&&t!==null&&!(Number.isInteger(t)&&t>0)){console.warn('mds-toast-region: ignoring the invalid max "'.concat(t,'", using ').concat(a))}}}t.prototype.connectedCallback=function(){this.observe()};t.prototype.disconnectedCallback=function(){var t;(t=this.observer)===null||t===void 0?void 0:t.disconnect();this.observer=undefined};t.prototype.componentWillLoad=function(){this.checkMax(this.max)};t.prototype.componentDidLoad=function(){this.update()};t.prototype.positionChanged=function(){this.update()};t.prototype.maxChanged=function(t){this.checkMax(t);this.update()};t.prototype.render=function(){
20
20
  // the live region, in the page before any message: a toast added or shown inside it is
21
21
  // announced. Not atomic, or every change would read out all the toasts again
22
- return i(e,{key:"29ede52e2ac6a292a536078d74e8447223eba2c2",role:"status","aria-live":"polite","aria-atomic":"false"},i("slot",{key:"6d1f5a5fa0b083056267bff7d32b4b51b9240bd3"}))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{position:[{positionChanged:0}],max:[{maxChanged:0}]}},enumerable:false,configurable:true});return t}());u.style=o()}}}));
22
+ return i(e,{key:"9b73ad557a2366e83eacb641feb429395b830021",role:"status","aria-live":"polite","aria-atomic":"false"},i("slot",{key:"8fd14f1db8ae93a23cb1540975e93f400ec0d7a9"}))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{position:[{positionChanged:0}],max:[{maxChanged:0}]}},enumerable:false,configurable:true});return t}());u.style=o()}}}));
@@ -1,13 +1,13 @@
1
- System.register(["./p-BZP13mns.system.js","./p-D9J8lbUv.system.js","./p-mGgjNqBm.system.js","./p-DAifcgtS.system.js","./p-sm_-_oFY.system.js","./p-CuHZXISO.system.js"],(function(t){"use strict";var e,r,a,o,n,i,s,u,l,c,d;return{setters:[function(t){e=t.r;r=t.d;a=t.h;o=t.e;n=t.g},function(t){i=t.K},function(t){s=t.p},function(t){u=t.i;l=t.a},function(t){c=t.u},function(t){d=t.L}],execute:function(){var m="{{count}} αποτέλεσμα";var f="{{count}} αποτελέσματα";var h={result:m,results:f};var v="{{count}} result";var g="{{count}} results";var p={result:v,results:g};var b="{{count}} resultado";var x="{{count}} resultados";var y={result:b,results:x};var w="{{count}} risultato";var k="{{count}} risultati";var j={result:w,results:k};var z=function(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-filter-item-transition-duration:var(--duration-200,.2s);--private-filter-item-transition-duration:var(--mds-filter-item-transition-duration);--mds-filter-item-count-background-default:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-filter-item-count-color-default:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-filter-item-count-background-selected:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-filter-item-count-color-selected:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));align-items:center;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));cursor:pointer;display:flex;fill:currentColor;gap:calc(var(--spacing,.0025rem)*100);justify-content:center;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400);transition-duration:.2s;transition-duration:var(--private-filter-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));-webkit-user-select:none;user-select:none;white-space:nowrap}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}mds-text{white-space:nowrap}.count{align-items:center;background-color:var(--mds-filter-item-count-background-default,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;color:var(--mds-filter-item-count-color-default,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));display:inline-flex;flex-shrink:0;height:calc(var(--spacing,.0025rem)*400);justify-content:center;min-width:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*150);padding-right:calc(var(--spacing,.0025rem)*150);transition-duration:var(--duration-200,.2s);transition-property:background-color,color;transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));-webkit-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([disabled]:not([disabled=false])){color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));pointer-events:none}:host([icon]:not([label])){height:calc(var(--spacing,.0025rem)*900);padding:0;width:calc(var(--spacing,.0025rem)*900)}:host(:hover),:host([selected]:not([selected=false])){background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)))}:host(:hover){box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a)}:host([selected]:not([selected=false])){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([selected]:not([selected=false])) .count{background-color:var(--mds-filter-item-count-background-selected,rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))));color:var(--mds-filter-item-count-color-selected,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-filter-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host(:hover){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]):host(:hover),:host([pref-contrast=more]):host([selected]:not([selected=false])){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-filter-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host(:hover){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([selected]:not([selected=false])){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"};var S=t("mds_filter_item",/** @class */function(){function t(t){var a=this;e(this,t);this.selectedEvent=r(this,"mdsFilterItemSelect",7);this.km=new i;this.t=new d({el:h,en:p,es:y,it:j});
1
+ System.register(["./p-BZP13mns.system.js","./p-D9J8lbUv.system.js","./p-DOisMne4.system.js","./p-DAifcgtS.system.js","./p-BXVzhErg.system.js","./p-BHdlb7Fr.system.js"],(function(e){"use strict";var t,r,a,o,n,s,i,l,u,c,m;return{setters:[function(e){t=e.r;r=e.d;a=e.h;o=e.e;n=e.g},function(e){s=e.K},function(e){i=e.p},function(e){l=e.i;u=e.a},function(e){c=e.u},function(e){m=e.L}],execute:function(){var d="{{count}} αποτέλεσμα";var f="{{count}} αποτελέσματα";var h={result:d,results:f};var v="{{count}} result";var p="{{count}} results";var g={result:v,results:p};var b="{{count}} resultado";var x="{{count}} resultados";var y={result:b,results:x};var w="{{count}} risultato";var k="{{count}} risultati";var j={result:w,results:k};var z=function(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-filter-item-transition-duration:var(--duration-200,.2s);--private-filter-item-transition-duration:var(--mds-filter-item-transition-duration);--mds-filter-item-count-background-default:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-filter-item-count-color-default:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-filter-item-count-background-selected:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-filter-item-count-color-selected:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));align-items:center;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));cursor:pointer;display:flex;fill:currentColor;gap:calc(var(--spacing,.0025rem)*100);justify-content:center;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400);transition-duration:.2s;transition-duration:var(--private-filter-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));-webkit-user-select:none;user-select:none;white-space:nowrap}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}mds-text{white-space:nowrap}.count{align-items:center;background-color:var(--mds-filter-item-count-background-default,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;color:var(--mds-filter-item-count-color-default,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));display:inline-flex;flex-shrink:0;height:calc(var(--spacing,.0025rem)*400);justify-content:center;min-width:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*150);padding-right:calc(var(--spacing,.0025rem)*150);transition-duration:var(--duration-200,.2s);transition-property:background-color,color;transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));-webkit-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([disabled]:not([disabled=false])){color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));pointer-events:none}:host([icon]:not([label])){height:calc(var(--spacing,.0025rem)*900);padding:0;width:calc(var(--spacing,.0025rem)*900)}:host(:hover),:host([selected]:not([selected=false])){background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)))}:host(:hover){box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a)}:host([selected]:not([selected=false])){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([selected]:not([selected=false])) .count{background-color:var(--mds-filter-item-count-background-selected,rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))));color:var(--mds-filter-item-count-color-selected,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-filter-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host(:hover){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]):host(:hover),:host([pref-contrast=more]):host([selected]:not([selected=false])){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-filter-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host(:hover){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([selected]:not([selected=false])){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"};var B=e("mds_filter_item",/** @class */function(){function e(e){var a=this;t(this,e);this.selectedEvent=r(this,"mdsFilterItemSelect",7);this.km=new s;this.t=new m({el:h,en:g,es:y,it:j});
2
2
  // an item of a filter bar is a toggle; the reset button mds-filter renders in its own shadow
3
3
  // root is an action, handled by the filter, and has no pressed state to announce
4
4
  this.isFilter=function(){return a.element.closest("mds-filter")!==null};this.toggle=function(){if(a.disabled||!a.isFilter()){return}a.selected=!a.selected;a.selectedEvent.emit({id:a.element.id,selected:a.selected})};
5
5
  /**
6
6
  * The spoken name: the label, or the icon slug for an icon-only item, followed by the count as
7
7
  * a number of results. An icon given as markup has no slug: whoever renders it names the item.
8
- */this.computeName=function(){var t,e,r;var o=(t=a.icon)!==null&&t!==void 0?t:"";var n=o!==""&&!u(o)&&!l(o)?c(o):undefined;var i=((e=a.label)!==null&&e!==void 0?e:"")!==""?a.label:n;var s=(r=a.count)!==null&&r!==void 0?r:"";if(i===undefined||s===""){return i}var d=a.t.get(Number(s)===1?"result":"results",{count:s});return"".concat(i,", ").concat(d)};
8
+ */this.computeName=function(){var e,t,r;var o=(e=a.icon)!==null&&e!==void 0?e:"";var n=o!==""&&!l(o)&&!u(o)?c(o):undefined;var s=((t=a.label)!==null&&t!==void 0?t:"")!==""?a.label:n;var i=(r=a.count)!==null&&r!==void 0?r:"";if(s===undefined||i===""){return s}var m=a.t.get(Number(i)===1?"result":"results",{count:i});return"".concat(s,", ").concat(m)};
9
9
  /**
10
10
  * An aria-label written on the host by the author is the more specific name and stays; the one
11
11
  * this item wrote before is its own to update. A server-rendered host carries the name the
12
12
  * server computed, which is the same one: that also counts as its own.
13
- */this.resolveName=function(){var t=a.computeName();var e=a.element.getAttribute("aria-label");if(e!==null&&e!==a.appliedName&&e!==t){return e}a.appliedName=t;return t}}t.prototype.componentDidLoad=function(){this.km.addElement(this.element);this.km.attachClickBehavior("element",{space:true})};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.render=function(){return a(o,{key:"88c56eca093dc99c42cee247373d13fcad4733bc",tabindex:this.disabled?"-1":"0",role:"button","aria-disabled":this.disabled?"true":undefined,"aria-label":this.resolveName(),"aria-pressed":this.isFilter()?this.selected?"true":"false":undefined,onClick:this.toggle,"pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},this.icon&&a("mds-icon",{key:"4aa3da3ab069c720128da180d161bd2b717cb5fd","aria-hidden":"true",name:this.icon}),this.label&&a("mds-text",{key:"dd8677402b875db1ed9e73d9256800af6541d663","aria-hidden":"true",variant:"info",typography:"caption"},this.label),this.count&&a("div",{key:"622f7e5c91bf8284901048b36281ea6b2a04d5a9",class:"count"},a("mds-text",{key:"511f7695e0e19f8ab0835aac0ede0a5b70e88cc9","aria-hidden":"true",variant:"info",typography:"option"},this.count)))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());S.style=z()}}}));
13
+ */this.resolveName=function(){var e=a.computeName();var t=a.element.getAttribute("aria-label");if(t!==null&&t!==a.appliedName&&t!==e){return t}a.appliedName=e;return e}}e.prototype.componentDidLoad=function(){this.km.addElement(this.element);this.km.attachClickBehavior("element",{space:true})};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.render=function(){return a(o,{key:"22566cc334bc5213eab311cc3775e9d1485eb26f",tabindex:this.disabled?"-1":"0",role:"button","aria-disabled":this.disabled?"true":undefined,"aria-label":this.resolveName(),"aria-pressed":this.isFilter()?this.selected?"true":"false":undefined,onClick:this.toggle,"pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},this.icon&&a("mds-icon",{key:"fdbec811d38b533f696e262f7b969527328d756e","aria-hidden":"true",name:this.icon}),this.label&&a("mds-text",{key:"56a46bdc5268649ca0357f1d0ef15988862b035a","aria-hidden":"true",variant:"info",typography:"caption"},this.label),this.count&&a("div",{key:"9713444531e4280a12cb9ca85dee193971866a34",class:"count"},a("mds-text",{key:"3ed4664fba53aa5fb8a21d567287feefc88436a5","aria-hidden":"true",variant:"info",typography:"option"},this.count)))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());B.style=z()}}}));
@@ -1 +1 @@
1
- System.register(["./p-BZP13mns.system.js"],(function(t){"use strict";var e,i,r;return{setters:[function(t){e=t.r;i=t.h;r=t.e}],execute:function(){var n=function(){return"@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)}"};var s=t("mds_price_table",/** @class */function(){function t(t){e(this,t)}t.prototype.render=function(){return i(r,{key:"a36bb357068cc6ffdd38868b417f14c656b09805"},i("slot",{key:"31401bd1ca34fc197cdfd3985267c9c72dc991e4"}))};return t}());s.style=n()}}}));
1
+ System.register(["./p-BZP13mns.system.js"],(function(t){"use strict";var e,i,r;return{setters:[function(t){e=t.r;i=t.h;r=t.e}],execute:function(){var n=function(){return"@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)}"};var s=t("mds_price_table",/** @class */function(){function t(t){e(this,t)}t.prototype.render=function(){return i(r,{key:"428c393ff185a2820f6a4097825c80b22f593ebd"},i("slot",{key:"7ed01d57308eb5b6bc2cd89416c6510483e2fa01"}))};return t}());s.style=n()}}}));
@@ -1 +1 @@
1
- import{r as a,h as r,e as t,g as s}from"./p-CvLLN-QH.js";import{p as e}from"./p-iX3kcwYg.js";const i=class{constructor(r){a(this,r),this.overflow="manual",this.position="bottom-right",this.handleModalClose=()=>{this.visible=void 0}}handleVisbilityProp(a){!1===a&&(this.visible=void 0)}async hide(){this.visible=void 0}render(){return r(t,{key:"b82643f6d8f0a7de0f3813e2ac25b84f91c709dd","pref-consumption":e.state.consumption,"pref-contrast":e.state.contrast,"pref-mode":e.state.mode,"pref-theme-scheme":e.state["theme-scheme"]},r("mds-modal",{key:"349e092fd8ef59cc80fe4884909e1a02bdfa9111",class:"modal",hideBackdrop:!0,onMdsModalClose:this.handleModalClose,opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},r("div",{key:"f219dec751c64d4e6c3ff61c8039b85799023b69",class:"status-bar-area",part:"status-bar-area",slot:"window"},r("div",{key:"baf3741a1717e5ed853fda613301d9a88fdbacd7",class:"status-bar",part:"status-bar"},this.description&&r("mds-text",{key:"8fa7f0fd44ae3909c4e362a24bedb62238a2d041",typography:"caption",class:"description"},this.description),r("div",{key:"aaa1b75e0ef2ff55991eac01a4e2450dec43ddf4",class:"actions",part:"actions"},r("slot",{key:"4b397d248c08e2cb66ffe6caedcf7c8e84d2f46e"}))))))}get host(){return s(this)}static get watchers(){return{visible:[{handleVisbilityProp:0}]}}};i.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,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-status-bar-max-width:calc(var(--spacing,.0025rem)*12500);--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1);--mds-status-bar-backdrop-filter:blur(calc(var(--spacing,.0025rem)*250));display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px)) var(--magma-radius-xl,var(--radius-squircle-xl,36px)) 0 0;corner-shape:var(--magma-corner-shape,squircle);margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);max-width:none;padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity;width:auto}.status-bar{--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;gap:calc(var(--spacing,.0025rem)*400);max-width:var(--mds-status-bar-max-width,calc(var(--spacing,.0025rem)*12500));padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap}.actions{flex-grow:1;gap:var(--magma-rhythm-inline,12px)}@container status-bar not (min-width:23.75rem){.actions{flex-basis:100%;flex-direction:column}::slotted(*){align-self:stretch}}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{container:status-bar/inline-size;width:100%}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}";export{i as mds_status_bar}
1
+ import{r as a,h as r,e as t,g as s}from"./p-CvLLN-QH.js";import{p as e}from"./p-DxR4rGsw.js";const d=class{constructor(r){a(this,r),this.overflow="manual",this.position="bottom-right",this.handleModalClose=()=>{this.visible=void 0}}handleVisbilityProp(a){!1===a&&(this.visible=void 0)}async hide(){this.visible=void 0}render(){return r(t,{key:"880e7f856b4c853713fda33f0584f105d187d47f","pref-consumption":e.state.consumption,"pref-contrast":e.state.contrast,"pref-mode":e.state.mode,"pref-theme-scheme":e.state["theme-scheme"]},r("mds-modal",{key:"a43bbc63dc55ebc684c977ed4044ea7debd96923",class:"modal",hideBackdrop:!0,onMdsModalClose:this.handleModalClose,opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},r("div",{key:"01c957e7114d2ea0af3cf816d035d0850a573b53",class:"status-bar-area",part:"status-bar-area",slot:"window"},r("div",{key:"5c10f82297549778a96697e1d14a682c48d73ecf",class:"status-bar",part:"status-bar"},this.description&&r("mds-text",{key:"a77565fd4d45418c2a1bcbd537d6f5dd8fc77d08",typography:"caption",class:"description"},this.description),r("div",{key:"db03d3c1eaf4a7c69168151fcd3010e1d374fae1",class:"actions",part:"actions"},r("slot",{key:"e208b8ba39e479529fe37f4ed2228dcbd6f5edd5"}))))))}get host(){return s(this)}static get watchers(){return{visible:[{handleVisbilityProp:0}]}}};d.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,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-status-bar-max-width:calc(var(--spacing,.0025rem)*12500);--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1);--mds-status-bar-backdrop-filter:blur(calc(var(--spacing,.0025rem)*250));display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px)) var(--magma-radius-xl,var(--radius-squircle-xl,36px)) 0 0;corner-shape:var(--magma-corner-shape,squircle);margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);max-width:none;padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity;width:auto}.status-bar{--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;gap:calc(var(--spacing,.0025rem)*400);max-width:var(--mds-status-bar-max-width,calc(var(--spacing,.0025rem)*12500));padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap}.actions{flex-grow:1;gap:var(--magma-rhythm-inline,12px)}@container status-bar not (min-width:23.75rem){.actions{flex-basis:100%;flex-direction:column}::slotted(*){align-self:stretch}}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar,:host([pref-theme-scheme=dark]) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{container:status-bar/inline-size;width:100%}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}";export{d as mds_status_bar}