@maggioli-design-system/magma 2.4.1 → 2.5.1

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 (1200) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +39 -0
  3. package/LICENSE +21 -0
  4. package/agents/assets.md +10 -0
  5. package/agents/components.md +2 -1
  6. package/agents/conventions.md +12 -0
  7. package/dist/cjs/{floating-controller-BiwDIKXd.js → floating-controller-DaFymQCT.js} +1 -1
  8. package/dist/cjs/{index-B_qgSpWL.js → index-BQNHYWJg.js} +5 -1
  9. package/dist/cjs/{index-B5DKRaVO.js → index-Bg68W-da.js} +1 -1
  10. package/dist/cjs/index.cjs.js +3 -63
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/{locale-D9XY8LN9.js → locale-CaR39iYg.js} +13 -7
  13. package/dist/cjs/magma-components.cjs.js +2 -2
  14. package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
  15. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +3 -3
  16. package/dist/cjs/mds-accordion-timer.cjs.entry.js +2 -2
  17. package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
  18. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  22. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  23. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  24. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +2 -2
  27. package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  29. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-button_3.cjs.entry.js +8 -7
  31. package/dist/cjs/mds-calendar_2.cjs.entry.js +4 -4
  32. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-card.cjs.entry.js +3 -3
  37. package/dist/cjs/mds-details.cjs.entry.js +3 -3
  38. package/dist/cjs/mds-dropdown.cjs.entry.js +4 -4
  39. package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
  40. package/dist/cjs/mds-entity.cjs.entry.js +4 -4
  41. package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
  42. package/dist/cjs/mds-file.cjs.entry.js +3 -3
  43. package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
  44. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  45. package/dist/cjs/mds-header-bar.cjs.entry.js +4 -4
  46. package/dist/cjs/mds-header.cjs.entry.js +3 -3
  47. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +4 -4
  48. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  49. package/dist/cjs/mds-img.cjs.entry.js +3 -3
  50. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
  52. package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
  53. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  54. package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
  55. package/dist/cjs/mds-input-range.cjs.entry.js +3 -3
  56. package/dist/cjs/mds-input-select.cjs.entry.js +12 -8
  57. package/dist/cjs/mds-input-switch_2.cjs.entry.js +7 -7
  58. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  59. package/dist/cjs/mds-input-upload.cjs.entry.js +4 -4
  60. package/dist/cjs/mds-input.cjs.entry.js +157 -40
  61. package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
  62. package/dist/cjs/mds-keyboard.cjs.entry.js +10 -6
  63. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  65. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  66. package/dist/cjs/mds-link.cjs.entry.js +147 -0
  67. package/dist/cjs/mds-list-item.cjs.entry.js +3 -3
  68. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  69. package/dist/cjs/mds-mention.cjs.entry.js +4 -4
  70. package/dist/cjs/mds-modal.cjs.entry.js +7 -7
  71. package/dist/cjs/mds-note.cjs.entry.js +5 -5
  72. package/dist/cjs/mds-notification.cjs.entry.js +4 -4
  73. package/dist/cjs/mds-paginator-item.cjs.entry.js +3 -3
  74. package/dist/cjs/mds-paginator.cjs.entry.js +5 -5
  75. package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -4
  76. package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
  77. package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
  78. package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
  79. package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
  80. package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
  81. package/dist/cjs/mds-pref-mode.cjs.entry.js +5 -5
  82. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +2 -2
  83. package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
  84. package/dist/cjs/mds-pref.cjs.entry.js +4 -4
  85. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
  86. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  87. package/dist/cjs/mds-price-table-features.cjs.entry.js +3 -3
  88. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  89. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
  91. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  92. package/dist/cjs/mds-progress_2.cjs.entry.js +5 -5
  93. package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
  94. package/dist/cjs/mds-push-notification.cjs.entry.js +5 -5
  95. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  96. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  97. package/dist/cjs/mds-radial-menu.cjs.entry.js +6 -6
  98. package/dist/cjs/mds-separator.cjs.entry.js +3 -3
  99. package/dist/cjs/mds-status-bar.cjs.entry.js +4 -4
  100. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +10 -8
  101. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  103. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  104. package/dist/cjs/mds-tab_2.cjs.entry.js +6 -6
  105. package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
  106. package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
  107. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  108. package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
  109. package/dist/cjs/mds-table-row.cjs.entry.js +6 -6
  110. package/dist/cjs/mds-table.cjs.entry.js +5 -5
  111. package/dist/cjs/mds-text.cjs.entry.js +3 -3
  112. package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
  113. package/dist/cjs/mds-toast.cjs.entry.js +5 -5
  114. package/dist/cjs/mds-tooltip.cjs.entry.js +5 -5
  115. package/dist/cjs/mds-tree-item.cjs.entry.js +5 -5
  116. package/dist/cjs/mds-tree.cjs.entry.js +3 -3
  117. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  118. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  119. package/dist/cjs/mds-video-wall.cjs.entry.js +3 -3
  120. package/dist/cjs/mds-zero.cjs.entry.js +4 -4
  121. package/dist/cjs/navigation-5yeOyO6F.js +64 -0
  122. package/dist/cjs/{preference-C8BcoA3M.js → preference-CQQ3eb9W.js} +1 -1
  123. package/dist/collection/collection-manifest.json +1 -0
  124. package/dist/collection/common/locale.js +12 -6
  125. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  127. package/dist/collection/components/mds-accordion/mds-accordion.css +2 -2
  128. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  129. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  130. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -9
  131. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  133. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
  134. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  136. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +2 -2
  137. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-author/documentation.json +1 -1
  139. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  140. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  141. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  142. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  143. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  145. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  146. package/dist/collection/components/mds-badge/documentation.json +1 -1
  147. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  148. package/dist/collection/components/mds-banner/documentation.json +1 -1
  149. package/dist/collection/components/mds-banner/mds-banner.css +3 -3
  150. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  151. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  152. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  154. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  155. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  156. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  157. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  158. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
  159. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  160. package/dist/collection/components/mds-button/antipattern.md +16 -0
  161. package/dist/collection/components/mds-button/documentation.json +2 -2
  162. package/dist/collection/components/mds-button/mds-button.css +4 -2
  163. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  165. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  166. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  167. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  169. package/dist/collection/components/mds-calendar/mds-calendar.css +8 -8
  170. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  171. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  172. package/dist/collection/components/mds-card/AGENTS.md +2 -1
  173. package/dist/collection/components/mds-card/documentation.json +2 -2
  174. package/dist/collection/components/mds-card/mds-card.css +9 -5
  175. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  176. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  177. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  178. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  179. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  181. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  182. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  183. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  184. package/dist/collection/components/mds-chip/documentation.json +1 -1
  185. package/dist/collection/components/mds-chip/mds-chip.css +1 -1
  186. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  187. package/dist/collection/components/mds-details/documentation.json +1 -1
  188. package/dist/collection/components/mds-details/mds-details.css +2 -2
  189. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  190. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  191. package/dist/collection/components/mds-dropdown/mds-dropdown.css +23 -23
  192. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  193. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  194. package/dist/collection/components/mds-emoji/mds-emoji.css +11 -6
  195. package/dist/collection/components/mds-entity/AGENTS.md +3 -2
  196. package/dist/collection/components/mds-entity/documentation.json +11 -3
  197. package/dist/collection/components/mds-entity/mds-entity.css +1 -1
  198. package/dist/collection/components/mds-entity/mds-entity.js +2 -1
  199. package/dist/collection/components/mds-entity/pattern.md +10 -0
  200. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-file/documentation.json +1 -1
  202. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  203. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  204. package/dist/collection/components/mds-file-preview/mds-file-preview.css +2 -2
  205. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  206. package/dist/collection/components/mds-filter/documentation.json +1 -1
  207. package/dist/collection/components/mds-filter/mds-filter.css +1 -1
  208. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  209. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  210. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  211. package/dist/collection/components/mds-header/documentation.json +1 -1
  212. package/dist/collection/components/mds-header/mds-header.css +4 -4
  213. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  214. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  215. package/dist/collection/components/mds-header-bar/mds-header-bar.css +1 -1
  216. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-help/documentation.json +1 -1
  218. package/dist/collection/components/mds-help/mds-help.css +7 -5
  219. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  220. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  221. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -2
  222. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  223. package/dist/collection/components/mds-hr/documentation.json +1 -1
  224. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  225. package/dist/collection/components/mds-icon/documentation.json +5 -1
  226. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  227. package/dist/collection/components/mds-img/documentation.json +1 -1
  228. package/dist/collection/components/mds-input/AGENTS.md +4 -2
  229. package/dist/collection/components/mds-input/documentation.json +2 -2
  230. package/dist/collection/components/mds-input/mds-input.css +8 -8
  231. package/dist/collection/components/mds-input/mds-input.js +12 -7
  232. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +3 -3
  233. package/dist/collection/components/mds-input/meta/validators.js +28 -13
  234. package/dist/collection/components/mds-input/meta/validity.js +8 -10
  235. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  236. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  237. package/dist/collection/components/mds-input-date/mds-input-date.css +6 -6
  238. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  239. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  240. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +11 -11
  241. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  242. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  243. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  245. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  246. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  247. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  248. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  249. package/dist/collection/components/mds-input-range/mds-input-range.css +26 -19
  250. package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
  251. package/dist/collection/components/mds-input-select/documentation.json +2 -2
  252. package/dist/collection/components/mds-input-select/mds-input-select.css +5 -5
  253. package/dist/collection/components/mds-input-select/mds-input-select.js +7 -3
  254. package/dist/collection/components/mds-input-switch/AGENTS.md +3 -3
  255. package/dist/collection/components/mds-input-switch/documentation.json +3 -3
  256. package/dist/collection/components/mds-input-switch/mds-input-switch.css +7 -7
  257. package/dist/collection/components/mds-input-switch/mds-input-switch.js +4 -4
  258. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  259. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  260. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  262. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  263. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  264. package/dist/collection/components/mds-input-upload/mds-input-upload.css +2 -2
  265. package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
  266. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  267. package/dist/collection/components/mds-keyboard/mds-keyboard.css +5 -5
  268. package/dist/collection/components/mds-keyboard/mds-keyboard.js +6 -2
  269. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  270. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  271. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
  272. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  274. package/dist/collection/components/mds-kpi/mds-kpi.css +1 -1
  275. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  276. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  277. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  278. package/dist/collection/components/mds-label/documentation.json +1 -1
  279. package/dist/collection/components/mds-link/AGENTS.md +81 -0
  280. package/dist/collection/components/mds-link/antipattern.md +96 -0
  281. package/dist/collection/components/mds-link/documentation.json +407 -0
  282. package/dist/collection/components/mds-link/mds-link.css +301 -0
  283. package/dist/collection/components/mds-link/mds-link.js +335 -0
  284. package/dist/collection/components/mds-link/meta/dictionary.js +3 -0
  285. package/dist/collection/components/mds-link/meta/types.js +1 -0
  286. package/dist/collection/components/mds-link/pattern.md +100 -0
  287. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  288. package/dist/collection/components/mds-list/documentation.json +1 -1
  289. package/dist/collection/components/mds-list/mds-list.js +1 -1
  290. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  291. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  292. package/dist/collection/components/mds-list-item/mds-list-item.css +4 -4
  293. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  294. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  295. package/dist/collection/components/mds-mention/documentation.json +1 -1
  296. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  297. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  298. package/dist/collection/components/mds-modal/documentation.json +1 -1
  299. package/dist/collection/components/mds-modal/mds-modal.css +5 -5
  300. package/dist/collection/components/mds-modal/mds-modal.js +3 -3
  301. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  302. package/dist/collection/components/mds-note/documentation.json +1 -1
  303. package/dist/collection/components/mds-note/mds-note.css +3 -3
  304. package/dist/collection/components/mds-note/mds-note.js +1 -1
  305. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  306. package/dist/collection/components/mds-notification/documentation.json +1 -1
  307. package/dist/collection/components/mds-notification/mds-notification.css +22 -22
  308. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  309. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  310. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  311. package/dist/collection/components/mds-paginator/mds-paginator.css +1 -1
  312. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  313. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  314. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  315. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  316. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  317. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  318. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  319. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  320. package/dist/collection/components/mds-pref/documentation.json +1 -1
  321. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  322. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  323. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  324. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  325. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  327. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  328. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  329. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  330. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  331. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  332. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  333. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  334. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  335. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  336. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  337. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  338. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  339. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -2
  340. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
  341. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  343. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  344. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  346. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  347. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  349. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  350. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  352. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  353. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  355. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  356. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  358. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  359. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  361. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  362. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  363. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  364. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  365. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  366. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  367. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  368. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  369. package/dist/collection/components/mds-progress/documentation.json +1 -1
  370. package/dist/collection/components/mds-progress/mds-progress.css +2 -0
  371. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  372. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  373. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  374. package/dist/collection/components/mds-push-notification/mds-push-notification.css +4 -4
  375. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  376. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  377. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  378. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +2 -2
  379. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  380. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  381. package/dist/collection/components/mds-quote/documentation.json +1 -1
  382. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  383. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  384. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  385. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +8 -6
  386. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  387. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  388. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  389. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +2 -2
  390. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  391. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  392. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  393. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +1 -1
  394. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  395. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  396. package/dist/collection/components/mds-separator/documentation.json +1 -1
  397. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  398. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  399. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  400. package/dist/collection/components/mds-spinner/mds-spinner.css +6 -0
  401. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  402. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  403. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  404. package/dist/collection/components/mds-status-bar/mds-status-bar.css +4 -3
  405. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  406. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  407. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  408. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  409. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  410. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  411. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +4 -2
  412. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +6 -4
  413. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  414. package/dist/collection/components/mds-tab/documentation.json +1 -1
  415. package/dist/collection/components/mds-tab/mds-tab.css +9 -7
  416. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  417. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  418. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  419. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  420. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  421. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  422. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +2 -2
  423. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  424. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  425. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  426. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  427. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-table/documentation.json +1 -1
  429. package/dist/collection/components/mds-table/mds-table.css +1 -1
  430. package/dist/collection/components/mds-table/mds-table.js +1 -1
  431. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  432. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  433. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  434. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  435. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  436. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  437. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  438. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  439. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  440. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  441. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  442. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  443. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  444. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  445. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  446. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  447. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  448. package/dist/collection/components/mds-table-row/mds-table-row.css +1 -1
  449. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  450. package/dist/collection/components/mds-text/AGENTS.md +2 -2
  451. package/dist/collection/components/mds-text/antipattern.md +1 -1
  452. package/dist/collection/components/mds-text/documentation.json +4 -4
  453. package/dist/collection/components/mds-text/mds-text.js +1 -1
  454. package/dist/collection/components/mds-text/pattern.md +10 -0
  455. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  456. package/dist/collection/components/mds-toast/documentation.json +1 -1
  457. package/dist/collection/components/mds-toast/mds-toast.css +2 -2
  458. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  459. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  460. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  461. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  462. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  463. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  464. package/dist/collection/components/mds-tooltip/mds-tooltip.css +25 -25
  465. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  466. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  467. package/dist/collection/components/mds-tree/documentation.json +1 -1
  468. package/dist/collection/components/mds-tree/mds-tree.css +1 -1
  469. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  470. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  471. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  472. package/dist/collection/components/mds-tree-item/mds-tree-item.css +0 -1
  473. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  474. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  475. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  476. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  477. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  478. package/dist/collection/components/mds-usage/documentation.json +1 -1
  479. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  480. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  481. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  482. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  483. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  484. package/dist/collection/components/mds-zero/documentation.json +1 -1
  485. package/dist/collection/components/mds-zero/mds-zero.css +2 -2
  486. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  487. package/dist/components/index.d.ts +2 -0
  488. package/dist/components/index.js +1 -1
  489. package/dist/components/mds-accordion-item.js +1 -1
  490. package/dist/components/mds-accordion-timer-item.js +1 -1
  491. package/dist/components/mds-accordion-timer.js +1 -1
  492. package/dist/components/mds-accordion.js +1 -1
  493. package/dist/components/mds-author.js +1 -1
  494. package/dist/components/mds-avatar-stack-item.js +1 -1
  495. package/dist/components/mds-avatar-stack.js +1 -1
  496. package/dist/components/mds-avatar.js +1 -1
  497. package/dist/components/mds-badge.js +1 -1
  498. package/dist/components/mds-banner.js +1 -1
  499. package/dist/components/mds-benchmark-bar.js +1 -1
  500. package/dist/components/mds-bibliography.js +1 -1
  501. package/dist/components/mds-breadcrumb-item.js +1 -1
  502. package/dist/components/mds-breadcrumb.js +1 -1
  503. package/dist/components/mds-button-dropdown.js +1 -1
  504. package/dist/components/mds-button-group.js +1 -1
  505. package/dist/components/mds-button.js +1 -1
  506. package/dist/components/mds-calendar-cell.js +1 -1
  507. package/dist/components/mds-calendar.js +1 -1
  508. package/dist/components/mds-card-content.js +1 -1
  509. package/dist/components/mds-card-footer.js +1 -1
  510. package/dist/components/mds-card-header.js +1 -1
  511. package/dist/components/mds-card-media.js +1 -1
  512. package/dist/components/mds-card.js +1 -1
  513. package/dist/components/mds-chip.js +1 -1
  514. package/dist/components/mds-details.js +1 -1
  515. package/dist/components/mds-dropdown.js +1 -1
  516. package/dist/components/mds-emoji.js +3 -3
  517. package/dist/components/mds-entity.js +1 -1
  518. package/dist/components/mds-file-preview.js +1 -1
  519. package/dist/components/mds-file.js +1 -1
  520. package/dist/components/mds-filter-item.js +1 -1
  521. package/dist/components/mds-filter.js +1 -1
  522. package/dist/components/mds-header-bar.js +1 -1
  523. package/dist/components/mds-header.js +1 -1
  524. package/dist/components/mds-help.js +1 -1
  525. package/dist/components/mds-horizontal-scroll.js +1 -1
  526. package/dist/components/mds-hr.js +1 -1
  527. package/dist/components/mds-icon.js +1 -1
  528. package/dist/components/mds-img.js +1 -1
  529. package/dist/components/mds-input-date-range-preselection.js +1 -1
  530. package/dist/components/mds-input-date-range.js +1 -1
  531. package/dist/components/mds-input-date.js +1 -1
  532. package/dist/components/mds-input-field.js +1 -1
  533. package/dist/components/mds-input-otp.js +1 -1
  534. package/dist/components/mds-input-range.js +1 -1
  535. package/dist/components/mds-input-select.js +1 -1
  536. package/dist/components/mds-input-switch.js +1 -1
  537. package/dist/components/mds-input-tip-item.js +1 -1
  538. package/dist/components/mds-input-tip.js +1 -1
  539. package/dist/components/mds-input-upload.js +1 -1
  540. package/dist/components/mds-input.js +1 -1
  541. package/dist/components/mds-keyboard-key.js +1 -1
  542. package/dist/components/mds-keyboard.js +1 -1
  543. package/dist/components/mds-kpi-item.js +1 -1
  544. package/dist/components/mds-kpi.js +1 -1
  545. package/dist/components/mds-label.js +1 -1
  546. package/dist/components/mds-link.d.ts +11 -0
  547. package/dist/components/mds-link.js +1 -0
  548. package/dist/components/mds-list-item.js +1 -1
  549. package/dist/components/mds-list.js +1 -1
  550. package/dist/components/mds-mention.js +1 -1
  551. package/dist/components/mds-modal.js +1 -1
  552. package/dist/components/mds-note.js +1 -1
  553. package/dist/components/mds-notification.js +1 -1
  554. package/dist/components/mds-paginator-item.js +1 -1
  555. package/dist/components/mds-paginator.js +1 -1
  556. package/dist/components/mds-policy-ai.js +1 -1
  557. package/dist/components/mds-pref-animation.js +1 -1
  558. package/dist/components/mds-pref-consumption.js +1 -1
  559. package/dist/components/mds-pref-contrast.js +1 -1
  560. package/dist/components/mds-pref-language-item.js +1 -1
  561. package/dist/components/mds-pref-language.js +1 -1
  562. package/dist/components/mds-pref-mode.js +1 -1
  563. package/dist/components/mds-pref-theme-item.js +1 -1
  564. package/dist/components/mds-pref-theme.js +1 -1
  565. package/dist/components/mds-pref.js +1 -1
  566. package/dist/components/mds-price-table-features-cell.js +1 -1
  567. package/dist/components/mds-price-table-features-row.js +1 -1
  568. package/dist/components/mds-price-table-features.js +1 -1
  569. package/dist/components/mds-price-table-header.js +1 -1
  570. package/dist/components/mds-price-table-list-item.js +1 -1
  571. package/dist/components/mds-price-table-list.js +1 -1
  572. package/dist/components/mds-price-table.js +1 -1
  573. package/dist/components/mds-progress.js +1 -1
  574. package/dist/components/mds-push-notification-item.js +1 -1
  575. package/dist/components/mds-push-notification.js +1 -1
  576. package/dist/components/mds-quote.js +1 -1
  577. package/dist/components/mds-radial-menu-item.js +1 -1
  578. package/dist/components/mds-radial-menu.js +1 -1
  579. package/dist/components/mds-radial-progress.js +1 -1
  580. package/dist/components/mds-separator.js +1 -1
  581. package/dist/components/mds-spinner.js +1 -1
  582. package/dist/components/mds-status-bar.js +1 -1
  583. package/dist/components/mds-stepper-bar-item.js +1 -1
  584. package/dist/components/mds-stepper-bar.js +1 -1
  585. package/dist/components/mds-tab-bar-item.js +1 -1
  586. package/dist/components/mds-tab-bar.js +1 -1
  587. package/dist/components/mds-tab-item.js +1 -1
  588. package/dist/components/mds-tab.js +1 -1
  589. package/dist/components/mds-table-body.js +1 -1
  590. package/dist/components/mds-table-cell.js +1 -1
  591. package/dist/components/mds-table-footer.js +1 -1
  592. package/dist/components/mds-table-header-cell.js +1 -1
  593. package/dist/components/mds-table-header.js +1 -1
  594. package/dist/components/mds-table-row.js +1 -1
  595. package/dist/components/mds-table.js +1 -1
  596. package/dist/components/mds-text.js +1 -1
  597. package/dist/components/mds-toast-region.js +1 -1
  598. package/dist/components/mds-toast.js +1 -1
  599. package/dist/components/mds-tooltip.js +1 -1
  600. package/dist/components/mds-tree-item.js +1 -1
  601. package/dist/components/mds-tree.js +1 -1
  602. package/dist/components/mds-url-view.js +1 -1
  603. package/dist/components/mds-usage.js +1 -1
  604. package/dist/components/mds-video-wall.js +1 -1
  605. package/dist/components/mds-zero.js +1 -1
  606. package/dist/components/{p-D_0rjNZp.js → p-5lLueiFt.js} +1 -1
  607. package/dist/components/p-B0AnE3sA.js +1 -0
  608. package/dist/components/{p-DSxDXNWp.js → p-BO-jHv-F.js} +1 -1
  609. package/dist/components/{p-Didp833Z.js → p-BU3bsIX2.js} +1 -1
  610. package/dist/components/{p-NlPseOAv.js → p-BbK4qeM7.js} +1 -1
  611. package/dist/components/p-BbgQG1UL.js +8 -0
  612. package/dist/components/p-BwJQB6rG.js +1 -0
  613. package/dist/components/p-Bz1eiKqd.js +1 -0
  614. package/dist/components/{p-BLiWCyrD.js → p-C4XdTZQ-.js} +1 -1
  615. package/dist/components/{p-BFisF7aN.js → p-CHHEp_7y.js} +1 -1
  616. package/dist/components/{p-B1bYa-o0.js → p-CJYY4da7.js} +1 -1
  617. package/dist/components/{p-DezdwzYQ.js → p-CNF3u0Li.js} +1 -1
  618. package/dist/components/p-CPvuXO7s.js +1 -0
  619. package/dist/components/{p-DaptTdaU.js → p-CSxW5f2f.js} +1 -1
  620. package/dist/components/{p-BlnEiKN4.js → p-CVRN4LDc.js} +1 -1
  621. package/dist/{magma-components/p-BmT_DEV2.js → components/p-CZjwSwe5.js} +2 -2
  622. package/dist/components/{p-sM-eFjwq.js → p-CaROqeeK.js} +1 -1
  623. package/dist/components/p-ClPv-Ljc.js +1 -0
  624. package/dist/components/{p-cIZniMh0.js → p-Cmn1DJAB.js} +1 -1
  625. package/dist/components/p-Cu5nEwMu.js +1 -0
  626. package/dist/components/{p-fhAmrBfl.js → p-D-DdDIb9.js} +1 -1
  627. package/dist/components/p-D0A8gS-P.js +1 -0
  628. package/dist/components/p-D8wd-EZX.js +1 -0
  629. package/dist/components/p-DFD4E9zJ.js +1 -0
  630. package/dist/components/p-DNeEn8Rr.js +1 -0
  631. package/dist/components/{p-Bg5E4Wnq.js → p-DTtmr_Y9.js} +1 -1
  632. package/dist/components/{p-DACnmwad.js → p-DkUdrGHq.js} +1 -1
  633. package/dist/components/{p-D4JiVIoh.js → p-DkYDXDkD.js} +1 -1
  634. package/dist/components/{p-BL220gRU.js → p-Dm-OUwDe.js} +1 -1
  635. package/dist/components/p-DnySYX0L.js +1 -0
  636. package/dist/components/{p-NOw8-OrM.js → p-DucY18_e.js} +1 -1
  637. package/dist/components/{p-B2p5a1Y8.js → p-TZJN-ygm.js} +1 -1
  638. package/dist/components/{p-B6B6q5kP.js → p-ZuubAcA3.js} +1 -1
  639. package/dist/{magma-components/p-DmFo8_MF.js → components/p-jasGzfhE.js} +1 -1
  640. package/dist/components/{p-JPhOaOXe.js → p-s1CktmPS.js} +1 -1
  641. package/dist/components/p-yNPPTJ7i.js +1 -0
  642. package/dist/documentation.json +433 -13
  643. package/dist/esm/{floating-controller-CVVcyKew.js → floating-controller-BVlbYYkf.js} +1 -1
  644. package/dist/esm/{index-DI_6NAg0.js → index-BJVvHlvf.js} +1 -1
  645. package/dist/esm/{index-CPRkNQdE.js → index-CvLLN-QH.js} +5 -1
  646. package/dist/esm/index.js +3 -63
  647. package/dist/esm/loader.js +3 -3
  648. package/dist/esm/{locale-DfpXg7qZ.js → locale-B6cOkl4I.js} +13 -7
  649. package/dist/esm/magma-components.js +3 -3
  650. package/dist/esm/mds-accordion-item.entry.js +3 -3
  651. package/dist/esm/mds-accordion-timer-item.entry.js +3 -3
  652. package/dist/esm/mds-accordion-timer.entry.js +2 -2
  653. package/dist/esm/mds-accordion.entry.js +3 -3
  654. package/dist/esm/mds-author.entry.js +1 -1
  655. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  656. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  657. package/dist/esm/mds-avatar.entry.js +2 -2
  658. package/dist/esm/mds-badge.entry.js +2 -2
  659. package/dist/esm/mds-banner_3.entry.js +6 -6
  660. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  661. package/dist/esm/mds-bibliography.entry.js +1 -1
  662. package/dist/esm/mds-breadcrumb-item.entry.js +2 -2
  663. package/dist/esm/mds-breadcrumb.entry.js +3 -3
  664. package/dist/esm/mds-button-dropdown.entry.js +3 -3
  665. package/dist/esm/mds-button-group.entry.js +1 -1
  666. package/dist/esm/mds-button_3.entry.js +6 -5
  667. package/dist/esm/mds-calendar_2.entry.js +4 -4
  668. package/dist/esm/mds-card-content.entry.js +1 -1
  669. package/dist/esm/mds-card-footer.entry.js +1 -1
  670. package/dist/esm/mds-card-header.entry.js +1 -1
  671. package/dist/esm/mds-card-media.entry.js +1 -1
  672. package/dist/esm/mds-card.entry.js +3 -3
  673. package/dist/esm/mds-details.entry.js +3 -3
  674. package/dist/esm/mds-dropdown.entry.js +4 -4
  675. package/dist/esm/mds-emoji.entry.js +3 -3
  676. package/dist/esm/mds-entity.entry.js +4 -4
  677. package/dist/esm/mds-file-preview.entry.js +4 -4
  678. package/dist/esm/mds-file.entry.js +3 -3
  679. package/dist/esm/mds-filter-item.entry.js +3 -3
  680. package/dist/esm/mds-filter.entry.js +4 -4
  681. package/dist/esm/mds-header-bar.entry.js +4 -4
  682. package/dist/esm/mds-header.entry.js +3 -3
  683. package/dist/esm/mds-horizontal-scroll.entry.js +4 -4
  684. package/dist/esm/mds-hr.entry.js +2 -2
  685. package/dist/esm/mds-img.entry.js +3 -3
  686. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  687. package/dist/esm/mds-input-date-range.entry.js +4 -4
  688. package/dist/esm/mds-input-date.entry.js +5 -5
  689. package/dist/esm/mds-input-field.entry.js +1 -1
  690. package/dist/esm/mds-input-otp.entry.js +3 -3
  691. package/dist/esm/mds-input-range.entry.js +3 -3
  692. package/dist/esm/mds-input-select.entry.js +12 -8
  693. package/dist/esm/mds-input-switch_2.entry.js +7 -7
  694. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  695. package/dist/esm/mds-input-upload.entry.js +4 -4
  696. package/dist/esm/mds-input.entry.js +157 -40
  697. package/dist/esm/mds-keyboard-key.entry.js +4 -4
  698. package/dist/esm/mds-keyboard.entry.js +10 -6
  699. package/dist/esm/mds-kpi-item.entry.js +2 -2
  700. package/dist/esm/mds-kpi.entry.js +2 -2
  701. package/dist/esm/mds-label.entry.js +3 -3
  702. package/dist/esm/mds-link.entry.js +145 -0
  703. package/dist/esm/mds-list-item.entry.js +3 -3
  704. package/dist/esm/mds-list.entry.js +2 -2
  705. package/dist/esm/mds-mention.entry.js +4 -4
  706. package/dist/esm/mds-modal.entry.js +7 -7
  707. package/dist/esm/mds-note.entry.js +5 -5
  708. package/dist/esm/mds-notification.entry.js +4 -4
  709. package/dist/esm/mds-paginator-item.entry.js +3 -3
  710. package/dist/esm/mds-paginator.entry.js +5 -5
  711. package/dist/esm/mds-policy-ai.entry.js +4 -4
  712. package/dist/esm/mds-pref-animation.entry.js +4 -4
  713. package/dist/esm/mds-pref-consumption.entry.js +4 -4
  714. package/dist/esm/mds-pref-contrast.entry.js +4 -4
  715. package/dist/esm/mds-pref-language-item.entry.js +4 -4
  716. package/dist/esm/mds-pref-language.entry.js +4 -4
  717. package/dist/esm/mds-pref-mode.entry.js +5 -5
  718. package/dist/esm/mds-pref-theme-item.entry.js +2 -2
  719. package/dist/esm/mds-pref-theme.entry.js +4 -4
  720. package/dist/esm/mds-pref.entry.js +4 -4
  721. package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
  722. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  723. package/dist/esm/mds-price-table-features.entry.js +3 -3
  724. package/dist/esm/mds-price-table-header.entry.js +2 -2
  725. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  726. package/dist/esm/mds-price-table-list.entry.js +3 -3
  727. package/dist/esm/mds-price-table.entry.js +2 -2
  728. package/dist/esm/mds-progress_2.entry.js +5 -5
  729. package/dist/esm/mds-push-notification-item.entry.js +6 -6
  730. package/dist/esm/mds-push-notification.entry.js +5 -5
  731. package/dist/esm/mds-quote.entry.js +3 -3
  732. package/dist/esm/mds-radial-menu-item.entry.js +3 -3
  733. package/dist/esm/mds-radial-menu.entry.js +6 -6
  734. package/dist/esm/mds-separator.entry.js +3 -3
  735. package/dist/esm/mds-status-bar.entry.js +4 -4
  736. package/dist/esm/mds-stepper-bar-item.entry.js +10 -8
  737. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  738. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  739. package/dist/esm/mds-tab-bar.entry.js +3 -3
  740. package/dist/esm/mds-tab_2.entry.js +6 -6
  741. package/dist/esm/mds-table-body.entry.js +3 -3
  742. package/dist/esm/mds-table-footer.entry.js +3 -3
  743. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  744. package/dist/esm/mds-table-header.entry.js +4 -4
  745. package/dist/esm/mds-table-row.entry.js +6 -6
  746. package/dist/esm/mds-table.entry.js +5 -5
  747. package/dist/esm/mds-text.entry.js +3 -3
  748. package/dist/esm/mds-toast-region.entry.js +2 -2
  749. package/dist/esm/mds-toast.entry.js +5 -5
  750. package/dist/esm/mds-tooltip.entry.js +5 -5
  751. package/dist/esm/mds-tree-item.entry.js +5 -5
  752. package/dist/esm/mds-tree.entry.js +3 -3
  753. package/dist/esm/mds-url-view.entry.js +4 -4
  754. package/dist/esm/mds-usage.entry.js +4 -4
  755. package/dist/esm/mds-video-wall.entry.js +3 -3
  756. package/dist/esm/mds-zero.entry.js +4 -4
  757. package/dist/esm/navigation-Bz1eiKqd.js +62 -0
  758. package/dist/esm/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +1 -1
  759. package/dist/esm-es5/{floating-controller-CVVcyKew.js → floating-controller-BVlbYYkf.js} +1 -1
  760. package/dist/esm-es5/{index-DI_6NAg0.js → index-BJVvHlvf.js} +1 -1
  761. package/dist/esm-es5/{index-CPRkNQdE.js → index-CvLLN-QH.js} +4 -2
  762. package/dist/esm-es5/index.js +20 -37
  763. package/dist/esm-es5/loader.js +1 -1
  764. package/dist/esm-es5/{locale-DfpXg7qZ.js → locale-B6cOkl4I.js} +23 -19
  765. package/dist/esm-es5/magma-components.js +2 -2
  766. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  767. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  768. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  769. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  770. package/dist/esm-es5/mds-author.entry.js +1 -1
  771. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  772. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  773. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  774. package/dist/esm-es5/mds-badge.entry.js +1 -1
  775. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  776. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  777. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  778. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  779. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  780. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  781. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  782. package/dist/esm-es5/mds-button_3.entry.js +2 -2
  783. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  784. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  785. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  786. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  787. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  788. package/dist/esm-es5/mds-card.entry.js +1 -1
  789. package/dist/esm-es5/mds-details.entry.js +1 -1
  790. package/dist/esm-es5/mds-dropdown.entry.js +15 -15
  791. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  792. package/dist/esm-es5/mds-entity.entry.js +1 -1
  793. package/dist/esm-es5/mds-file-preview.entry.js +7 -7
  794. package/dist/esm-es5/mds-file.entry.js +1 -1
  795. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  796. package/dist/esm-es5/mds-filter.entry.js +1 -1
  797. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  798. package/dist/esm-es5/mds-header.entry.js +1 -1
  799. package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
  800. package/dist/esm-es5/mds-hr.entry.js +1 -1
  801. package/dist/esm-es5/mds-img.entry.js +1 -1
  802. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  803. package/dist/esm-es5/mds-input-date-range.entry.js +15 -15
  804. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  805. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  806. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  807. package/dist/esm-es5/mds-input-range.entry.js +7 -7
  808. package/dist/esm-es5/mds-input-select.entry.js +5 -4
  809. package/dist/esm-es5/mds-input-switch_2.entry.js +3 -3
  810. package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
  811. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  812. package/dist/esm-es5/mds-input.entry.js +53 -50
  813. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  814. package/dist/esm-es5/mds-keyboard.entry.js +6 -3
  815. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  816. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  817. package/dist/esm-es5/mds-label.entry.js +1 -1
  818. package/dist/esm-es5/mds-link.entry.js +39 -0
  819. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  820. package/dist/esm-es5/mds-list.entry.js +1 -1
  821. package/dist/esm-es5/mds-mention.entry.js +2 -2
  822. package/dist/esm-es5/mds-modal.entry.js +3 -3
  823. package/dist/esm-es5/mds-note.entry.js +2 -2
  824. package/dist/esm-es5/mds-notification.entry.js +8 -8
  825. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  826. package/dist/esm-es5/mds-paginator.entry.js +2 -2
  827. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  828. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  829. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  830. package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
  831. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  832. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  833. package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
  834. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  835. package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
  836. package/dist/esm-es5/mds-pref.entry.js +2 -2
  837. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  838. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  839. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  840. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  841. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  842. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  843. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  844. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  845. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  846. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  847. package/dist/esm-es5/mds-quote.entry.js +2 -2
  848. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  849. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  850. package/dist/esm-es5/mds-separator.entry.js +1 -1
  851. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  852. package/dist/esm-es5/mds-stepper-bar-item.entry.js +6 -3
  853. package/dist/esm-es5/mds-stepper-bar.entry.js +2 -2
  854. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  855. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  856. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  857. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  858. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  859. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  860. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  861. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  862. package/dist/esm-es5/mds-table.entry.js +2 -2
  863. package/dist/esm-es5/mds-text.entry.js +2 -2
  864. package/dist/esm-es5/mds-toast-region.entry.js +3 -3
  865. package/dist/esm-es5/mds-toast.entry.js +2 -2
  866. package/dist/esm-es5/mds-tooltip.entry.js +3 -3
  867. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  868. package/dist/esm-es5/mds-tree.entry.js +2 -2
  869. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  870. package/dist/esm-es5/mds-usage.entry.js +2 -2
  871. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  872. package/dist/esm-es5/mds-zero.entry.js +1 -1
  873. package/dist/esm-es5/navigation-Bz1eiKqd.js +17 -0
  874. package/dist/esm-es5/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +4 -4
  875. package/dist/hydrate/index.js +645 -350
  876. package/dist/hydrate/index.mjs +645 -350
  877. package/dist/magma-components/index.esm.js +1 -1
  878. package/dist/magma-components/magma-components.esm.js +1 -1
  879. package/dist/magma-components/magma-components.js +1 -1
  880. package/dist/magma-components/{p-4fdda209.system.entry.js → p-0033cb92.system.entry.js} +2 -2
  881. package/dist/magma-components/p-0193734e.entry.js +1 -0
  882. package/dist/magma-components/{p-6c91b00d.system.entry.js → p-02298ed0.system.entry.js} +2 -2
  883. package/dist/magma-components/p-02fe26b4.system.entry.js +35 -0
  884. package/dist/magma-components/p-046697e4.system.entry.js +12 -0
  885. package/dist/magma-components/{p-a1ca2441.system.entry.js → p-0679c988.system.entry.js} +1 -1
  886. package/dist/magma-components/{p-1f9ebc0d.entry.js → p-06ccc40d.entry.js} +1 -1
  887. package/dist/magma-components/{p-926ef760.entry.js → p-06fde29d.entry.js} +1 -1
  888. package/dist/magma-components/{p-8059aa67.system.entry.js → p-071f5c7b.system.entry.js} +3 -3
  889. package/dist/magma-components/{p-d0c0c195.entry.js → p-075acd04.entry.js} +1 -1
  890. package/dist/magma-components/{p-547f657e.system.entry.js → p-07a3c63c.system.entry.js} +1 -1
  891. package/dist/magma-components/{p-176e6d9d.system.entry.js → p-08370fc2.system.entry.js} +1 -1
  892. package/dist/magma-components/{p-e032e77f.system.entry.js → p-083dceb8.system.entry.js} +1 -1
  893. package/dist/magma-components/p-093b8fbc.system.entry.js +20 -0
  894. package/dist/magma-components/{p-a136e6fe.system.entry.js → p-09a7b578.system.entry.js} +1 -1
  895. package/dist/magma-components/{p-e6ed6e12.entry.js → p-09f621ea.entry.js} +1 -1
  896. package/dist/magma-components/p-0a8e8525.entry.js +1 -0
  897. package/dist/magma-components/p-0e2cd21e.entry.js +1 -0
  898. package/dist/magma-components/{p-0f47fd37.system.entry.js → p-0e887379.system.entry.js} +2 -2
  899. package/dist/magma-components/p-104ba54e.system.entry.js +13 -0
  900. package/dist/magma-components/p-11320427.entry.js +1 -0
  901. package/dist/magma-components/p-14635a8f.entry.js +1 -0
  902. package/dist/magma-components/p-168d5fad.entry.js +1 -0
  903. package/dist/magma-components/{p-cc0cb701.entry.js → p-17ec24dc.entry.js} +1 -1
  904. package/dist/magma-components/{p-4225484c.entry.js → p-198ea5d8.entry.js} +1 -1
  905. package/dist/magma-components/p-1c2c4670.entry.js +1 -0
  906. package/dist/magma-components/{p-c4286fb7.system.entry.js → p-1d2220f0.system.entry.js} +1 -1
  907. package/dist/magma-components/{p-eebf450c.system.entry.js → p-1e18fcc5.system.entry.js} +2 -2
  908. package/dist/magma-components/p-1ea582a9.system.entry.js +55 -0
  909. package/dist/magma-components/p-1f623b75.entry.js +1 -0
  910. package/dist/magma-components/{p-af704402.system.entry.js → p-21547758.system.entry.js} +1 -1
  911. package/dist/magma-components/{p-0dd4b006.entry.js → p-221c2f0d.entry.js} +1 -1
  912. package/dist/magma-components/{p-3ba5ddae.entry.js → p-227f57e6.entry.js} +1 -1
  913. package/dist/magma-components/{p-0727d8f9.entry.js → p-23722401.entry.js} +1 -1
  914. package/dist/magma-components/p-23fabd66.system.entry.js +1 -0
  915. package/dist/magma-components/{p-a40443ca.system.entry.js → p-2431fbfa.system.entry.js} +1 -1
  916. package/dist/magma-components/{p-a2ec6eac.entry.js → p-25a6e977.entry.js} +1 -1
  917. package/dist/magma-components/p-2752b45a.system.entry.js +54 -0
  918. package/dist/magma-components/{p-2362b91a.entry.js → p-278c362d.entry.js} +1 -1
  919. package/dist/magma-components/{p-916a26e4.entry.js → p-295d8fab.entry.js} +1 -1
  920. package/dist/magma-components/{p-3bb26611.entry.js → p-29971e1d.entry.js} +1 -1
  921. package/dist/magma-components/p-2a4d22c9.system.entry.js +13 -0
  922. package/dist/magma-components/p-2c3f518c.system.entry.js +25 -0
  923. package/dist/magma-components/p-2c845743.system.entry.js +1 -0
  924. package/dist/magma-components/{p-3ac09ace.entry.js → p-2d9c9ef9.entry.js} +1 -1
  925. package/dist/magma-components/{p-5219eba6.system.entry.js → p-2e48f88d.system.entry.js} +2 -2
  926. package/dist/magma-components/{p-c89c2e30.entry.js → p-30be5c39.entry.js} +1 -1
  927. package/dist/magma-components/{p-62e65f3b.entry.js → p-335244bb.entry.js} +1 -1
  928. package/dist/magma-components/p-35528bdd.system.entry.js +225 -0
  929. package/dist/magma-components/{p-aa8653b1.system.entry.js → p-37487e8b.system.entry.js} +2 -2
  930. package/dist/magma-components/p-377d0661.entry.js +1 -0
  931. package/dist/magma-components/{p-8e08ae08.system.entry.js → p-38b16983.system.entry.js} +3 -3
  932. package/dist/magma-components/{p-e5ab1f4f.entry.js → p-3abaa053.entry.js} +1 -1
  933. package/dist/magma-components/{p-0c9bdfff.system.entry.js → p-3beea731.system.entry.js} +1 -1
  934. package/dist/magma-components/p-3c669cfb.entry.js +1 -0
  935. package/dist/magma-components/{p-e1ce306a.system.entry.js → p-3d162e99.system.entry.js} +2 -2
  936. package/dist/magma-components/p-3d95e688.system.entry.js +111 -0
  937. package/dist/magma-components/{p-6bc4114c.system.entry.js → p-3df07021.system.entry.js} +1 -1
  938. package/dist/magma-components/{p-b58363e2.system.entry.js → p-3e18b181.system.entry.js} +2 -2
  939. package/dist/magma-components/{p-028f3717.entry.js → p-3f68ddca.entry.js} +1 -1
  940. package/dist/magma-components/p-3fb46ab9.system.entry.js +1 -0
  941. package/dist/magma-components/{p-f43379ef.entry.js → p-41a0f896.entry.js} +1 -1
  942. package/dist/magma-components/p-44333d50.system.entry.js +82 -0
  943. package/dist/magma-components/{p-815801dd.system.entry.js → p-44998584.system.entry.js} +2 -2
  944. package/dist/magma-components/p-464e6431.entry.js +1 -0
  945. package/dist/magma-components/p-4776ac1f.entry.js +1 -0
  946. package/dist/magma-components/{p-b919ce62.entry.js → p-4792ff7f.entry.js} +1 -1
  947. package/dist/magma-components/{p-72cc4977.system.entry.js → p-4bc3335f.system.entry.js} +1 -1
  948. package/dist/magma-components/{p-5b21eb78.entry.js → p-4cabfdbc.entry.js} +1 -1
  949. package/dist/magma-components/{p-f30cdd34.system.entry.js → p-4d485e1f.system.entry.js} +1 -1
  950. package/dist/magma-components/{p-342770d2.system.entry.js → p-50705d36.system.entry.js} +2 -2
  951. package/dist/magma-components/{p-c72651b2.entry.js → p-521ba3a8.entry.js} +1 -1
  952. package/dist/magma-components/{p-da532544.system.entry.js → p-52d905fe.system.entry.js} +1 -1
  953. package/dist/magma-components/{p-23ce0824.entry.js → p-5435f2a9.entry.js} +1 -1
  954. package/dist/magma-components/{p-37b801d0.system.entry.js → p-5472f18d.system.entry.js} +2 -2
  955. package/dist/magma-components/{p-23bf1afa.system.entry.js → p-55b10b70.system.entry.js} +3 -3
  956. package/dist/magma-components/p-5cfa0dce.entry.js +1 -0
  957. package/dist/magma-components/{p-f7af41fb.system.entry.js → p-5ef0fb69.system.entry.js} +2 -2
  958. package/dist/magma-components/{p-a4f46de1.system.entry.js → p-5f8db04c.system.entry.js} +2 -2
  959. package/dist/magma-components/{p-765ff9a3.system.entry.js → p-624a3909.system.entry.js} +1 -1
  960. package/dist/magma-components/{p-29d4605e.system.entry.js → p-62e94d78.system.entry.js} +4 -4
  961. package/dist/magma-components/{p-0bcf3bb6.entry.js → p-62fc9695.entry.js} +1 -1
  962. package/dist/magma-components/{p-4ea00c22.entry.js → p-63b10a6e.entry.js} +1 -1
  963. package/dist/magma-components/{p-b40ef7ab.system.entry.js → p-642925b7.system.entry.js} +2 -2
  964. package/dist/magma-components/{p-32bfb09c.entry.js → p-6436178a.entry.js} +1 -1
  965. package/dist/magma-components/p-6560b426.system.entry.js +4 -0
  966. package/dist/magma-components/{p-f88c202e.entry.js → p-67eb3881.entry.js} +1 -1
  967. package/dist/magma-components/p-69abd1d1.entry.js +1 -0
  968. package/dist/magma-components/{p-bc30508b.entry.js → p-69badbba.entry.js} +1 -1
  969. package/dist/magma-components/{p-5ea3be82.system.entry.js → p-6a2d67d1.system.entry.js} +2 -2
  970. package/dist/magma-components/p-6af00399.system.entry.js +41 -0
  971. package/dist/magma-components/{p-721b625a.system.entry.js → p-6dff107d.system.entry.js} +9 -9
  972. package/dist/magma-components/p-6e32bf99.entry.js +1 -0
  973. package/dist/magma-components/p-72ad419d.system.entry.js +10 -0
  974. package/dist/magma-components/{p-f3763382.entry.js → p-762a6b7b.entry.js} +1 -1
  975. package/dist/magma-components/p-770b3c4b.entry.js +1 -0
  976. package/dist/magma-components/p-772c18f4.entry.js +1 -0
  977. package/dist/magma-components/p-77545238.entry.js +1 -0
  978. package/dist/magma-components/{p-11feeebf.system.entry.js → p-7961c335.system.entry.js} +1 -1
  979. package/dist/magma-components/{p-6ebbcd7b.system.entry.js → p-79f543fc.system.entry.js} +2 -2
  980. package/dist/magma-components/p-7ad68b2f.entry.js +1 -0
  981. package/dist/magma-components/{p-e49818c4.entry.js → p-7b300282.entry.js} +1 -1
  982. package/dist/magma-components/{p-1a5411a8.entry.js → p-7be0d28b.entry.js} +1 -1
  983. package/dist/magma-components/{p-3871807a.entry.js → p-7bf46d43.entry.js} +1 -1
  984. package/dist/magma-components/p-7c217aa5.entry.js +1 -0
  985. package/dist/magma-components/{p-8d8c9c90.entry.js → p-7ca73c56.entry.js} +1 -1
  986. package/dist/magma-components/{p-911dc847.entry.js → p-7d0c8177.entry.js} +1 -1
  987. package/dist/magma-components/{p-c6b16493.system.entry.js → p-7fde3025.system.entry.js} +3 -3
  988. package/dist/magma-components/{p-11e50140.system.entry.js → p-803957de.system.entry.js} +2 -2
  989. package/dist/magma-components/{p-38a9e862.entry.js → p-808b9277.entry.js} +1 -1
  990. package/dist/magma-components/{p-47f7366c.entry.js → p-8258733b.entry.js} +1 -1
  991. package/dist/magma-components/{p-288f3cfe.entry.js → p-837d31b8.entry.js} +1 -1
  992. package/dist/magma-components/{p-88be542e.system.entry.js → p-84ed22ea.system.entry.js} +2 -2
  993. package/dist/magma-components/p-85a31141.entry.js +1 -0
  994. package/dist/magma-components/p-85fb1d08.entry.js +1 -0
  995. package/dist/magma-components/{p-f9b5a5ec.entry.js → p-86cf87fb.entry.js} +1 -1
  996. package/dist/magma-components/{p-007968a8.system.entry.js → p-8740403e.system.entry.js} +3 -3
  997. package/dist/magma-components/{p-9bdca8b4.entry.js → p-87baf82a.entry.js} +1 -1
  998. package/dist/magma-components/{p-20469b7a.system.entry.js → p-880f3eac.system.entry.js} +1 -1
  999. package/dist/magma-components/{p-4a051ef5.system.entry.js → p-88460d31.system.entry.js} +2 -2
  1000. package/dist/magma-components/{p-fcaa81b3.entry.js → p-89d4b6e9.entry.js} +1 -1
  1001. package/dist/magma-components/{p-5d9b1fe5.entry.js → p-8a76097f.entry.js} +1 -1
  1002. package/dist/magma-components/{p-e8b9d639.entry.js → p-8a9544aa.entry.js} +1 -1
  1003. package/dist/magma-components/{p-1fe66383.system.entry.js → p-8ab9ff37.system.entry.js} +1 -1
  1004. package/dist/magma-components/{p-90fe332f.entry.js → p-8b501f92.entry.js} +1 -1
  1005. package/dist/magma-components/{p-a2d10402.system.entry.js → p-8ca2e879.system.entry.js} +1 -1
  1006. package/dist/magma-components/{p-7d548a19.entry.js → p-8d14f146.entry.js} +1 -1
  1007. package/dist/magma-components/{p-3fb98529.system.entry.js → p-8f47eb63.system.entry.js} +1 -1
  1008. package/dist/magma-components/p-8f63f1a1.system.entry.js +35 -0
  1009. package/dist/magma-components/{p-3093af30.system.entry.js → p-8f7daab1.system.entry.js} +1 -1
  1010. package/dist/magma-components/p-9250ec26.system.entry.js +7 -0
  1011. package/dist/magma-components/p-93d7485d.entry.js +8 -0
  1012. package/dist/magma-components/{p-36ad5759.system.entry.js → p-94439d8b.system.entry.js} +1 -1
  1013. package/dist/magma-components/{p-648ec03b.system.entry.js → p-947fcf74.system.entry.js} +5 -5
  1014. package/dist/magma-components/{p-b514bd3a.system.entry.js → p-95478664.system.entry.js} +1 -1
  1015. package/dist/magma-components/{p-ecb87d38.entry.js → p-9745dc51.entry.js} +1 -1
  1016. package/dist/magma-components/{p-95328cc7.system.entry.js → p-97eb734a.system.entry.js} +2 -2
  1017. package/dist/magma-components/p-984dd850.entry.js +1 -0
  1018. package/dist/magma-components/{p-d8d87750.system.entry.js → p-99bfa07e.system.entry.js} +1 -1
  1019. package/dist/magma-components/{p-b169ee9b.entry.js → p-9a3ddc91.entry.js} +1 -1
  1020. package/dist/magma-components/p-9cf81575.system.entry.js +80 -0
  1021. package/dist/magma-components/p-9f6c502b.entry.js +1 -0
  1022. package/dist/magma-components/{p-9e7d02e5.entry.js → p-9f8ce68f.entry.js} +1 -1
  1023. package/dist/magma-components/p-9fc385aa.entry.js +1 -0
  1024. package/dist/magma-components/p-B8zYiZQY.system.js +5 -0
  1025. package/dist/magma-components/{p-CmzGV0XD.system.js → p-BZP13mns.system.js} +1 -1
  1026. package/dist/magma-components/p-BoDvZoCN.system.js +18 -0
  1027. package/dist/magma-components/p-Bz1eiKqd.js +1 -0
  1028. package/dist/{components/p-Ebefwvkw.js → magma-components/p-CLhuNxYQ.js} +1 -1
  1029. package/dist/magma-components/{p-DVjUXVFl.system.js → p-CZuIEo2v.system.js} +1 -1
  1030. package/dist/magma-components/{p-C1ailvfu.system.js → p-CuHZXISO.system.js} +23 -19
  1031. package/dist/magma-components/{p-CPRkNQdE.js → p-CvLLN-QH.js} +1 -1
  1032. package/dist/magma-components/{p-LUd56iG_.system.js → p-CxTugGM9.system.js} +1 -1
  1033. package/dist/magma-components/{p-zQY2FlcD.js → p-Dx_cCOTw.js} +1 -1
  1034. package/dist/{components/p-B9dgiq4u.js → magma-components/p-OafT80hV.js} +2 -2
  1035. package/dist/magma-components/p-VOjLCGlK.system.js +90 -0
  1036. package/dist/magma-components/{p-be32b7a9.system.entry.js → p-a0612465.system.entry.js} +1 -1
  1037. package/dist/magma-components/p-a70fb4fb.system.entry.js +105 -0
  1038. package/dist/magma-components/p-a7c01334.entry.js +1 -0
  1039. package/dist/magma-components/p-a8a0a9ba.entry.js +1 -0
  1040. package/dist/magma-components/p-a987086b.system.entry.js +10 -0
  1041. package/dist/magma-components/p-ab4b617d.entry.js +1 -0
  1042. package/dist/magma-components/{p-e471decd.system.entry.js → p-ad05ef26.system.entry.js} +1 -1
  1043. package/dist/magma-components/{p-b62bbd07.entry.js → p-b01118cc.entry.js} +1 -1
  1044. package/dist/magma-components/{p-495a70e2.entry.js → p-b23bee0c.entry.js} +1 -1
  1045. package/dist/magma-components/{p-88ac5d50.entry.js → p-b373cc32.entry.js} +1 -1
  1046. package/dist/magma-components/{p-f5a08dca.system.entry.js → p-b4633c9c.system.entry.js} +2 -2
  1047. package/dist/magma-components/p-b467f737.entry.js +1 -0
  1048. package/dist/magma-components/{p-0b7a884e.system.entry.js → p-b5cc09c7.system.entry.js} +4 -4
  1049. package/dist/magma-components/p-b69c3126.entry.js +1 -0
  1050. package/dist/magma-components/{p-166c0190.entry.js → p-b8a59768.entry.js} +1 -1
  1051. package/dist/magma-components/{p-ef4d07ba.entry.js → p-b9ca6c2e.entry.js} +1 -1
  1052. package/dist/magma-components/p-bb282bc1.system.entry.js +20 -0
  1053. package/dist/magma-components/{p-ff4276d3.system.entry.js → p-bd97e368.system.entry.js} +1 -1
  1054. package/dist/magma-components/{p-7497b39d.system.entry.js → p-be6e156a.system.entry.js} +2 -2
  1055. package/dist/magma-components/{p-4582aa3e.system.entry.js → p-c03fc4fe.system.entry.js} +1 -1
  1056. package/dist/magma-components/{p-6b2fff4b.system.entry.js → p-c3a3caae.system.entry.js} +1 -1
  1057. package/dist/magma-components/{p-890bae38.system.entry.js → p-c3c487aa.system.entry.js} +1 -1
  1058. package/dist/magma-components/{p-a7bad4e8.entry.js → p-c40ad03a.entry.js} +1 -1
  1059. package/dist/magma-components/{p-a47a9f11.system.entry.js → p-c50e20cf.system.entry.js} +1 -1
  1060. package/dist/magma-components/p-c6819aad.entry.js +1 -0
  1061. package/dist/magma-components/p-cc954b22.system.entry.js +27 -0
  1062. package/dist/magma-components/{p-cc88c963.system.entry.js → p-cc9659e1.system.entry.js} +1 -1
  1063. package/dist/magma-components/{p-da6cf595.system.entry.js → p-ccc40c6a.system.entry.js} +2 -2
  1064. package/dist/magma-components/{p-a1443292.entry.js → p-ced3ebb8.entry.js} +1 -1
  1065. package/dist/magma-components/p-cf6f54e5.system.entry.js +9 -0
  1066. package/dist/magma-components/{p-4d079b1a.system.entry.js → p-d254de66.system.entry.js} +3 -3
  1067. package/dist/magma-components/{p-287d1253.system.entry.js → p-d3491226.system.entry.js} +125 -125
  1068. package/dist/magma-components/{p-c1d8a25e.entry.js → p-d3d74616.entry.js} +1 -1
  1069. package/dist/magma-components/{p-da9afc4b.system.entry.js → p-d48c40ab.system.entry.js} +2 -2
  1070. package/dist/magma-components/{p-cc109576.entry.js → p-d608b79c.entry.js} +1 -1
  1071. package/dist/magma-components/p-d6b38d8a.entry.js +1 -0
  1072. package/dist/magma-components/p-d8ae0f02.system.entry.js +15 -0
  1073. package/dist/magma-components/{p-25576b51.system.entry.js → p-d92ccce5.system.entry.js} +2 -2
  1074. package/dist/magma-components/{p-69b37755.system.entry.js → p-da93a00b.system.entry.js} +2 -2
  1075. package/dist/magma-components/{p-4800a310.entry.js → p-dbca23af.entry.js} +1 -1
  1076. package/dist/magma-components/{p-21fe0fef.system.entry.js → p-dc1a5826.system.entry.js} +1 -1
  1077. package/dist/magma-components/{p-8b081ba9.entry.js → p-de1ae02c.entry.js} +1 -1
  1078. package/dist/magma-components/p-dedbf8d6.entry.js +1 -0
  1079. package/dist/magma-components/p-e1383302.entry.js +1 -0
  1080. package/dist/magma-components/p-e2fa6300.system.entry.js +39 -0
  1081. package/dist/magma-components/{p-95486c6a.system.entry.js → p-e39518b4.system.entry.js} +2 -2
  1082. package/dist/magma-components/{p-b509fb36.entry.js → p-e3a65644.entry.js} +1 -1
  1083. package/dist/magma-components/{p-3a88fc9b.system.entry.js → p-e5d41024.system.entry.js} +1 -1
  1084. package/dist/magma-components/{p-14b40c21.entry.js → p-e5eb2390.entry.js} +1 -1
  1085. package/dist/magma-components/{p-dfbecf72.system.entry.js → p-eb92312f.system.entry.js} +3 -3
  1086. package/dist/magma-components/p-ec635255.entry.js +1 -0
  1087. package/dist/magma-components/{p-8ba250d6.system.entry.js → p-edf003f1.system.entry.js} +1 -1
  1088. package/dist/magma-components/{p-7448435b.system.entry.js → p-f0285a1e.system.entry.js} +4 -4
  1089. package/dist/magma-components/p-f09b08f9.entry.js +1 -0
  1090. package/dist/magma-components/p-f306b5c1.entry.js +1 -0
  1091. package/dist/magma-components/{p-1287fb51.entry.js → p-f35608b2.entry.js} +1 -1
  1092. package/dist/magma-components/{p-dbf69d54.system.entry.js → p-f39416e9.system.entry.js} +2 -2
  1093. package/dist/magma-components/{p-b940888d.entry.js → p-f4d80d9a.entry.js} +1 -1
  1094. package/dist/magma-components/{p-c6b9a14e.system.entry.js → p-f5326224.system.entry.js} +7 -7
  1095. package/dist/magma-components/{p-fd53a51c.entry.js → p-f588cf9e.entry.js} +1 -1
  1096. package/dist/magma-components/{p-e73cc6fc.entry.js → p-f5a33058.entry.js} +3 -3
  1097. package/dist/magma-components/p-f616f467.entry.js +1 -0
  1098. package/dist/magma-components/{p-a53f6a94.system.entry.js → p-f66675f5.system.entry.js} +2 -2
  1099. package/dist/magma-components/{p-96f973e3.entry.js → p-f7147d05.entry.js} +1 -1
  1100. package/dist/magma-components/p-f75935ed.system.entry.js +25 -0
  1101. package/dist/magma-components/{p-f48843b7.system.entry.js → p-f82c2b7e.system.entry.js} +1 -1
  1102. package/dist/magma-components/{p-1f5cd2b5.entry.js → p-f901c844.entry.js} +1 -1
  1103. package/dist/magma-components/{p-70a911e8.entry.js → p-fac6f123.entry.js} +1 -1
  1104. package/dist/magma-components/p-fc22f5e0.system.entry.js +34 -0
  1105. package/dist/magma-components/p-ffbf7448.entry.js +1 -0
  1106. package/dist/magma-components/{p-C25F_FlB.js → p-iX3kcwYg.js} +1 -1
  1107. package/dist/magma-components/{p-D8596ytD.system.js → p-mGgjNqBm.system.js} +6 -6
  1108. package/dist/stats.json +3497 -2645
  1109. package/dist/types/common/locale.d.ts +5 -0
  1110. package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
  1111. package/dist/types/components/mds-input/meta/validators.d.ts +7 -2
  1112. package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
  1113. package/dist/types/components/mds-input-select/mds-input-select.d.ts +2 -1
  1114. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +3 -3
  1115. package/dist/types/components/mds-link/mds-link.d.ts +71 -0
  1116. package/dist/types/components/mds-link/meta/dictionary.d.ts +3 -0
  1117. package/dist/types/components/mds-link/meta/types.d.ts +3 -0
  1118. package/dist/types/components.d.ts +103 -4
  1119. package/package.json +4 -3
  1120. package/dist/components/p-BHy4k3pJ.js +0 -1
  1121. package/dist/components/p-BLXRGNya.js +0 -1
  1122. package/dist/components/p-BN5kmfLJ.js +0 -8
  1123. package/dist/components/p-BUr3NqxM.js +0 -1
  1124. package/dist/components/p-C2fyy4Mv.js +0 -1
  1125. package/dist/components/p-CIWWmisz.js +0 -1
  1126. package/dist/components/p-CJyTL7Mj.js +0 -1
  1127. package/dist/components/p-CWwWCzma.js +0 -1
  1128. package/dist/components/p-ChrRK8N9.js +0 -1
  1129. package/dist/components/p-D3_jgpKd.js +0 -1
  1130. package/dist/components/p-DYpfVn7a.js +0 -1
  1131. package/dist/components/p-Ea5ilDf6.js +0 -1
  1132. package/dist/magma-components/p-0b5fe949.entry.js +0 -1
  1133. package/dist/magma-components/p-12a2f8e2.system.entry.js +0 -13
  1134. package/dist/magma-components/p-14ef1aec.entry.js +0 -1
  1135. package/dist/magma-components/p-1989c0b4.entry.js +0 -8
  1136. package/dist/magma-components/p-1d68fc4a.system.entry.js +0 -80
  1137. package/dist/magma-components/p-20608f69.system.entry.js +0 -35
  1138. package/dist/magma-components/p-2061e567.entry.js +0 -1
  1139. package/dist/magma-components/p-21c2d7bd.entry.js +0 -1
  1140. package/dist/magma-components/p-2294945a.system.entry.js +0 -34
  1141. package/dist/magma-components/p-2abfc393.entry.js +0 -1
  1142. package/dist/magma-components/p-2c4d2717.entry.js +0 -1
  1143. package/dist/magma-components/p-2d7d9e4f.entry.js +0 -1
  1144. package/dist/magma-components/p-2e8f703e.entry.js +0 -1
  1145. package/dist/magma-components/p-357ec8c0.entry.js +0 -1
  1146. package/dist/magma-components/p-3b36319a.entry.js +0 -1
  1147. package/dist/magma-components/p-3e1b21bd.entry.js +0 -1
  1148. package/dist/magma-components/p-4116e328.system.entry.js +0 -1
  1149. package/dist/magma-components/p-4191bf22.entry.js +0 -1
  1150. package/dist/magma-components/p-4260da67.system.entry.js +0 -12
  1151. package/dist/magma-components/p-43338a07.entry.js +0 -1
  1152. package/dist/magma-components/p-4c2dad1e.system.entry.js +0 -81
  1153. package/dist/magma-components/p-4f24ccf3.entry.js +0 -1
  1154. package/dist/magma-components/p-51a869ee.entry.js +0 -1
  1155. package/dist/magma-components/p-52a85b97.system.entry.js +0 -9
  1156. package/dist/magma-components/p-52d5d104.system.entry.js +0 -17
  1157. package/dist/magma-components/p-5439125d.system.entry.js +0 -10
  1158. package/dist/magma-components/p-5a2deba5.entry.js +0 -1
  1159. package/dist/magma-components/p-5cef4711.entry.js +0 -1
  1160. package/dist/magma-components/p-61f0ebf3.entry.js +0 -1
  1161. package/dist/magma-components/p-677ef2a3.system.entry.js +0 -55
  1162. package/dist/magma-components/p-6da68fd5.entry.js +0 -1
  1163. package/dist/magma-components/p-70f5536c.system.entry.js +0 -15
  1164. package/dist/magma-components/p-7502528c.entry.js +0 -1
  1165. package/dist/magma-components/p-7a568cbf.entry.js +0 -1
  1166. package/dist/magma-components/p-7f776dff.entry.js +0 -1
  1167. package/dist/magma-components/p-811272a9.entry.js +0 -1
  1168. package/dist/magma-components/p-87b15008.entry.js +0 -1
  1169. package/dist/magma-components/p-8a4a2b5a.entry.js +0 -1
  1170. package/dist/magma-components/p-8c66c761.entry.js +0 -1
  1171. package/dist/magma-components/p-914d1b2a.system.entry.js +0 -111
  1172. package/dist/magma-components/p-91ed604f.entry.js +0 -1
  1173. package/dist/magma-components/p-938dbe67.system.entry.js +0 -27
  1174. package/dist/magma-components/p-93d8b236.system.entry.js +0 -10
  1175. package/dist/magma-components/p-9a28bd8d.system.entry.js +0 -20
  1176. package/dist/magma-components/p-9caf411a.system.entry.js +0 -13
  1177. package/dist/magma-components/p-BHS0WXNt.system.js +0 -107
  1178. package/dist/magma-components/p-QYez4sql.system.js +0 -5
  1179. package/dist/magma-components/p-a08d20c2.system.entry.js +0 -1
  1180. package/dist/magma-components/p-a51f849a.entry.js +0 -1
  1181. package/dist/magma-components/p-a6fe6b4c.system.entry.js +0 -1
  1182. package/dist/magma-components/p-a8593847.entry.js +0 -1
  1183. package/dist/magma-components/p-ac4109e3.entry.js +0 -1
  1184. package/dist/magma-components/p-b36d54e1.system.entry.js +0 -41
  1185. package/dist/magma-components/p-b48fc62e.entry.js +0 -1
  1186. package/dist/magma-components/p-bba4c7eb.entry.js +0 -1
  1187. package/dist/magma-components/p-bdd18c90.system.entry.js +0 -25
  1188. package/dist/magma-components/p-c3622315.entry.js +0 -1
  1189. package/dist/magma-components/p-c6db7a0f.system.entry.js +0 -22
  1190. package/dist/magma-components/p-ca8e0927.system.entry.js +0 -7
  1191. package/dist/magma-components/p-cfe080ab.system.entry.js +0 -54
  1192. package/dist/magma-components/p-d3678561.system.entry.js +0 -35
  1193. package/dist/magma-components/p-d9551916.system.entry.js +0 -222
  1194. package/dist/magma-components/p-daf9c8ca.system.entry.js +0 -4
  1195. package/dist/magma-components/p-dd8fb2f8.system.entry.js +0 -105
  1196. package/dist/magma-components/p-e15a874b.entry.js +0 -1
  1197. package/dist/magma-components/p-e954b5c5.entry.js +0 -1
  1198. package/dist/magma-components/p-eba7cfb3.entry.js +0 -1
  1199. package/dist/magma-components/p-f454c06b.entry.js +0 -1
  1200. package/dist/magma-components/p-f7f6881a.entry.js +0 -1
@@ -1 +1 @@
1
- import{p as t,H as e,h as o,c as r,t as a}from"./p-B2p5a1Y8.js";import{p as i}from"./p-BlnEiKN4.js";import{d as s}from"./p-BL220gRU.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.hasActions=!1}componentWillLoad(){var t;this.hasActions=null!=(null===(t=this.host.closest("mds-table"))||void 0===t?void 0:t.querySelector('mds-table-row > [slot="action"]'))}render(){return o(r,{key:"41d8587173bcce57eda0fecfab527c1249c36abb",role:"row","pref-animation":i.state.animation},this.selectable&&o("mds-table-cell",{key:"9d4a2917204e5dd74828503a9e2e433b7109201b",class:"selection"}),o("slot",{key:"9725d40c49a6d66d2e4493999e524a4624b08448"}),this.hasActions&&o("mds-table-cell",{key:"db467095873d0fb915e25cc0ac6013b06691ab97",class:"actions"}))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-footer-transition-duration:var(--duration-200,.2s);--private-table-footer-transition-duration:var(--mds-table-footer-transition-duration);--mds-table-row-background:var(--mds-table-background);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-top:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-footer-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions,.selection,::slotted(mds-table-cell){--private-cell-border-color:#0000}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-footer-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-footer-transition-duration:0s}}'}},[257,"mds-table-footer",{selectable:[4],hasActions:[32]}]),d=n,l=function(){"undefined"!=typeof customElements&&["mds-table-footer","mds-table-cell"].forEach((t=>{switch(t){case"mds-table-footer":customElements.get(a(t))||customElements.define(a(t),n);break;case"mds-table-cell":customElements.get(a(t))||s()}}))};export{d as MdsTableFooter,l as defineCustomElement}
1
+ import{p as t,H as e,h as o,c as r,t as a}from"./p-TZJN-ygm.js";import{p as i}from"./p-CVRN4LDc.js";import{d as s}from"./p-Dm-OUwDe.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.hasActions=!1}componentWillLoad(){var t;this.hasActions=null!=(null===(t=this.host.closest("mds-table"))||void 0===t?void 0:t.querySelector('mds-table-row > [slot="action"]'))}render(){return o(r,{key:"992e254f46b5f223e417c237d908a3aecadcba59",role:"row","pref-animation":i.state.animation},this.selectable&&o("mds-table-cell",{key:"4d2c52a81eb66e010642a743dcdef9b5dda170c2",class:"selection"}),o("slot",{key:"28dd518f6b89b73f843474b2a6782fa6566b7bdd"}),this.hasActions&&o("mds-table-cell",{key:"4c001d05134ff04807338195a63356065e0c3c16",class:"actions"}))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-footer-transition-duration:var(--duration-200,.2s);--private-table-footer-transition-duration:var(--mds-table-footer-transition-duration);--mds-table-row-background:var(--mds-table-background);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-top:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-footer-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions,.selection,::slotted(mds-table-cell){--private-cell-border-color:#0000}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-footer-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-footer-transition-duration:0s}}'}},[257,"mds-table-footer",{selectable:[4],hasActions:[32]}]),d=n,l=function(){"undefined"!=typeof customElements&&["mds-table-footer","mds-table-cell"].forEach((t=>{switch(t){case"mds-table-footer":customElements.get(a(t))||customElements.define(a(t),n);break;case"mds-table-cell":customElements.get(a(t))||s()}}))};export{d as MdsTableFooter,l as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-DACnmwad.js";const a=o,m=s;export{a as MdsTableHeaderCell,m as defineCustomElement}
1
+ import{M as o,d as r}from"./p-DkUdrGHq.js";const s=o,p=r;export{s as MdsTableHeaderCell,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as s,c as a,t as i}from"./p-B2p5a1Y8.js";import{L as o}from"./p-B9dgiq4u.js";import{p as r}from"./p-BlnEiKN4.js";import{d as n}from"./p-BUr3NqxM.js";import{d as l}from"./p-cIZniMh0.js";import{d as c}from"./p-C2fyy4Mv.js";import{d}from"./p-B6B6q5kP.js";import{d as m}from"./p-BL220gRU.js";import{d as h}from"./p-DACnmwad.js";import{d as b}from"./p-DezdwzYQ.js";var p={actions:"Ενέργεια",selectAllRows:"Επιλογή όλων των γραμμών",selectNoneRows:"Αποεπιλογή όλων των γραμμών"},f={actions:"Action",selectAllRows:"Select all rows",selectNoneRows:"Deselect all rows"},u={actions:"Acción",selectAllRows:"Seleccionar todas las filas",selectNoneRows:"Deseleccionar todas las filas"},w={actions:"Azione",selectAllRows:"Seleziona tutte le righe",selectNoneRows:"Deseleziona tutte le righe"};const y=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectAll=!1,this.hasActions=!1,this.indeterminate=!1,this.hasSelection=!1,this.t=new o({el:p,en:f,es:u,it:w}),this.handleSelectAllChange=e=>{var t,s;this.selectAll=!!this.indeterminate||null!==(t=e.detail.checked)&&void 0!==t&&t,this.indeterminate=!1,null===(s=this.table)||void 0===s||s.selectAll(this.selectAll)}}async setSelection(e,t){var s,a;this.indeterminate=0!==e&&e!==t,null!==(s=this.checkboxEl)&&void 0!==s||(this.checkboxEl=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".checkbox")),this.checkboxEl&&(this.checkboxEl.checked=t>0&&e===t)}async setActions(e){this.hasActions=e}componentWillLoad(){var e;this.table=this.host.closest("mds-table"),this.hasActions=null!=(null===(e=this.table)||void 0===e?void 0:e.querySelector('mds-table-row > [slot="action"]'))}render(){return s(a,{key:"75ac5be5f4e4b3e0e53140116a98ef64feff6aba",role:"row","pref-animation":r.state.animation},this.selectable&&s("mds-table-cell",{key:"e2152dcf3b944fba3ebb09d39b7e33032a7c1e71",class:"selection",role:"columnheader"},s("div",{key:"69a38fd4eafc13e926fbd2f37b6c2e68fd97aa6c",class:"checkbox-wrapper"},s("mds-input-switch",{key:"50b32b14632f3194e1e86fd41c54c42b5e582c49",class:"checkbox",title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),type:"checkbox",onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),s("slot",{key:"ca7f0a6eb82be383b22cbc0701d95e7debf6dded"}),this.hasActions&&s("mds-table-header-cell",{key:"17b31a6574c2f617f4604f90b1b6720aad03762a",part:"actions",class:"actions",label:this.t.get("actions")}))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-input-switch,mds-table-cell,mds-table-header-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-header-transition-duration:var(--duration-200,.2s);--private-table-header-transition-duration:var(--mds-table-header-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-header-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions{text-align:right}.selection{--mds-table-cell-background:var(--mds-table-background);vertical-align:middle}.checkbox-wrapper{display:flex}: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-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-header-transition-duration:0s}}'}},[257,"mds-table-header",{selectable:[4],selectAll:[32],hasActions:[32],indeterminate:[32],hasSelection:[32],setSelection:[64],setActions:[64]}]),v=y,k=function(){"undefined"!=typeof customElements&&["mds-table-header","mds-button","mds-icon","mds-input-switch","mds-spinner","mds-table-cell","mds-table-header-cell","mds-text"].forEach((e=>{switch(e){case"mds-table-header":customElements.get(i(e))||customElements.define(i(e),y);break;case"mds-button":customElements.get(i(e))||n();break;case"mds-icon":customElements.get(i(e))||l();break;case"mds-input-switch":customElements.get(i(e))||c();break;case"mds-spinner":customElements.get(i(e))||d();break;case"mds-table-cell":customElements.get(i(e))||m();break;case"mds-table-header-cell":customElements.get(i(e))||h();break;case"mds-text":customElements.get(i(e))||b()}}))};export{v as MdsTableHeader,k as defineCustomElement}
1
+ import{p as e,H as t,h as s,c as a,t as i}from"./p-TZJN-ygm.js";import{L as o}from"./p-CZjwSwe5.js";import{p as r}from"./p-CVRN4LDc.js";import{d as n}from"./p-ClPv-Ljc.js";import{d as l}from"./p-Cmn1DJAB.js";import{d as c}from"./p-CPvuXO7s.js";import{d}from"./p-ZuubAcA3.js";import{d as m}from"./p-Dm-OUwDe.js";import{d as h}from"./p-DkUdrGHq.js";import{d as p}from"./p-CNF3u0Li.js";var b={actions:"Ενέργεια",selectAllRows:"Επιλογή όλων των γραμμών",selectNoneRows:"Αποεπιλογή όλων των γραμμών"},u={actions:"Action",selectAllRows:"Select all rows",selectNoneRows:"Deselect all rows"},f={actions:"Acción",selectAllRows:"Seleccionar todas las filas",selectNoneRows:"Deseleccionar todas las filas"},w={actions:"Azione",selectAllRows:"Seleziona tutte le righe",selectNoneRows:"Deseleziona tutte le righe"};const v=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectAll=!1,this.hasActions=!1,this.indeterminate=!1,this.hasSelection=!1,this.t=new o({el:b,en:u,es:f,it:w}),this.handleSelectAllChange=e=>{var t,s;this.selectAll=!!this.indeterminate||null!==(t=e.detail.checked)&&void 0!==t&&t,this.indeterminate=!1,null===(s=this.table)||void 0===s||s.selectAll(this.selectAll)}}async setSelection(e,t){var s,a;this.indeterminate=0!==e&&e!==t,null!==(s=this.checkboxEl)&&void 0!==s||(this.checkboxEl=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".checkbox")),this.checkboxEl&&(this.checkboxEl.checked=t>0&&e===t)}async setActions(e){this.hasActions=e}componentWillLoad(){var e;this.table=this.host.closest("mds-table"),this.hasActions=null!=(null===(e=this.table)||void 0===e?void 0:e.querySelector('mds-table-row > [slot="action"]'))}render(){return s(a,{key:"32b7c5eca2946a064ccd7709186efb5d15c92b96",role:"row","pref-animation":r.state.animation},this.selectable&&s("mds-table-cell",{key:"6aec7950d4b5da8efad1262cd092a2276757b0e7",class:"selection",role:"columnheader"},s("div",{key:"afde04a7eec1c3353545ef0d46bdc69f083fd50e",class:"checkbox-wrapper"},s("mds-input-switch",{key:"290efe5e2b52e0fff2b700b10225b8b5243c6001",class:"checkbox",title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),type:"checkbox",onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),s("slot",{key:"07a8e3a7038beceff3ed65b49a819a2301219aef"}),this.hasActions&&s("mds-table-header-cell",{key:"cb8539d3afc1086ecfa42621b3a6d608fded320e",part:"actions",class:"actions",label:this.t.get("actions")}))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-input-switch,mds-table-cell,mds-table-header-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-header-transition-duration:var(--duration-200,.2s);--private-table-header-transition-duration:var(--mds-table-header-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-header-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions{text-align:right}.selection{--mds-table-cell-background:var(--mds-table-background);vertical-align:middle}.checkbox-wrapper{display:flex}: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-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-header-transition-duration:0s}}'}},[257,"mds-table-header",{selectable:[4],selectAll:[32],hasActions:[32],indeterminate:[32],hasSelection:[32],setSelection:[64],setActions:[64]}]),y=v,k=function(){"undefined"!=typeof customElements&&["mds-table-header","mds-button","mds-icon","mds-input-switch","mds-spinner","mds-table-cell","mds-table-header-cell","mds-text"].forEach((e=>{switch(e){case"mds-table-header":customElements.get(i(e))||customElements.define(i(e),v);break;case"mds-button":customElements.get(i(e))||n();break;case"mds-icon":customElements.get(i(e))||l();break;case"mds-input-switch":customElements.get(i(e))||c();break;case"mds-spinner":customElements.get(i(e))||d();break;case"mds-table-cell":customElements.get(i(e))||m();break;case"mds-table-header-cell":customElements.get(i(e))||h();break;case"mds-text":customElements.get(i(e))||p()}}))};export{y as MdsTableHeader,k as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as e,h as t,c as r,t as o,B as s}from"./p-B2p5a1Y8.js";import{h as i}from"./p-DWIIDHSa.js";import{c as n}from"./p-ChV9xqsO.js";import{L as l}from"./p-B9dgiq4u.js";import{p as c}from"./p-BlnEiKN4.js";import{d}from"./p-cIZniMh0.js";import{d as m}from"./p-C2fyy4Mv.js";import{d as b}from"./p-BL220gRU.js";import{d as u}from"./p-DezdwzYQ.js";var h={selectRow:"Επιλογή γραμμής",unselectRow:"Αποεπιλογή γραμμής"},v={selectRow:"Select row",unselectRow:"Deselect row"},f={selectRow:"Seleccionar fila",unselectRow:"Deseleccionar fila"},p={selectRow:"Seleziona riga",unselectRow:"Deseleziona riga"};const g=()=>!!navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),w=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.t=new l({el:h,en:v,es:f,it:p}),this.selectable=void 0,this.onActionSlotChange=()=>{var a;const e=i(this.host,"action");e!==this.hasActions&&(this.hasActions=e,null===(a=this.host.closest("mds-table"))||void 0===a||a.updateActions())},this.handleSelectionChange=a=>{this.selected=a.detail.checked}}componentWillLoad(){this.hasActions=i(this.host,"action")}connectedCallback(){this.observeActions()}componentDidLoad(){this.observeActions()}observeActions(){var a;s.isBrowser&&this.actions&&(null!==(a=this.observer)&&void 0!==a||(this.observer=new ResizeObserver((a=>{var e,t,r;this.sizerWidth=(null!==(r=null===(t=null===(e=a[0].borderBoxSize)||void 0===e?void 0:e[0])||void 0===t?void 0:t.inlineSize)&&void 0!==r?r:0)+"px"}))),this.observer.observe(this.actions))}disconnectedCallback(){var a;null===(a=this.observer)||void 0===a||a.disconnect()}selectedChanged(a,e){var t;!!a!=!!e&&(null===(t=this.host.closest("mds-table"))||void 0===t||t.updateSelection())}render(){return t(r,{key:"330581c37ab8d2ef7dcdf921dda1073d6aee0cf6",role:"row","pref-animation":c.state.animation},this.selectable&&t("mds-table-cell",{key:"4f65af7ece88b8a03dcdfe4edc99667e16fe3666",class:"selection-cell"},t("div",{key:"e08ce3ddc72e3100b623cfbfaec6d20b7c594bb6",class:"checkbox-wrapper"},t("mds-input-switch",{key:"53cf77c09a207ceb82a34d8eaacc43041f486292",title:this.t.get(this.selected?"unselectRow":"selectRow"),type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),t("slot",{key:"34ab55e3be74b9424dcbda4c0c78a5867839e537"}),g()&&t("mds-table-cell",{key:"abc5bb671f69d0eca75ab1c75a8304929e283651",class:n("actions-cell","actions-cell--disable",!this.hasActions&&"actions-cell--hidden")},t("div",{key:"4dc6b1d8bebe0817aa33a252191e9d827760bf52",class:"actions"},t("slot",{key:"2c783bb1affdd0080334a5ae5ed4917902712a67",name:"action",onSlotchange:this.onActionSlotChange}))),!g()&&t("mds-table-cell",{key:"70c8f210cfa402516083967f865f5f8d8ce3a338",class:n("actions-cell",!this.hasActions&&"actions-cell--hidden")},t("div",{key:"55a986cc90d309516be378bfdc85f0f95167f03c",class:"actions-sizer",style:Object.assign({minHeight:"1px"},this.sizerWidth&&{maxWidth:this.sizerWidth,minWidth:this.sizerWidth})}),t("div",{key:"337a09915a9b06e2cff2474c5d1ad255975811ad",class:"actions-view"},t("div",{key:"ed38bc96787d46085130eb072399597204f4fc11",class:"actions",ref:a=>this.actions=a,style:void 0!==this.sizerWidth?{marginRight:`calc(${this.sizerWidth} + var(--mds-table-cell-padding))`}:void 0},t("slot",{key:"58366cdcbc22b36c9ea968d0f6db1ce799e73bed",name:"action",onSlotchange:this.onActionSlotChange})))))}get host(){return this}static get watchers(){return{selected:[{selectedChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-input-switch,mds-table-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-row-color-hover:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background-hover:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-background-alt:var(--mds-table-background-alt,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-actions-gap:var(--mds-table-actions-gap,calc(var(--spacing,.0025rem)*400));--mds-table-row-transition-duration:var(--duration-200,.2s);--private-table-row-transition-duration:var(--mds-table-row-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));color:var(--mds-table-row-color);display:table-row;position:relative;transition-duration:var(--private-table-row-transition-duration);transition-property:color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt);--mds-table-row-color:var(--mds-table-row-color-alt)}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.actions-view{display:flex;justify-content:end;pointer-events:none;position:absolute}.actions,.actions-view{align-items:center;inset:0}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(var(--magma-radius-lg,var(--radius-squircle-lg,28px)) + var(--mds-table-border-width)*2);border-top-left-radius:calc(var(--magma-radius-lg,var(--radius-squircle-lg,28px)) + var(--mds-table-border-width)*2);corner-shape:var(--magma-corner-shape,squircle);display:inline-flex;gap:var(--mds-table-row-actions-gap,calc(var(--spacing,.0025rem)*400));margin-right:100%;padding:calc(var(--mds-table-border-width)*2);padding-right:0;pointer-events:auto;position:sticky;transform:translate(100%);transition-duration:.5s;transition-property:transform,background-color,padding-right;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:hover) .actions{transform:translate(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding);transform:translate(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);transform:translate(0)}:host(:not([interactive]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))))}:host([selection]:not([interactive]):not([selected]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt)}.actions-cell--disable,.actions-cell--disable .actions{position:static!important}.actions-cell--disable .actions{margin-right:0!important;transform:translate(0)!important}.actions-cell--hidden{display:none}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-row-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-row-transition-duration:0s}}'}},[257,"mds-table-row",{interactive:[516],overlayActions:[516,"overlay-actions"],selectable:[516],selected:[1540],selection:[516],value:[520],hasActions:[32],sizerWidth:[32]},void 0,{selected:[{selectedChanged:0}]}]),k=w,y=function(){"undefined"!=typeof customElements&&["mds-table-row","mds-icon","mds-input-switch","mds-table-cell","mds-text"].forEach((a=>{switch(a){case"mds-table-row":customElements.get(o(a))||customElements.define(o(a),w);break;case"mds-icon":customElements.get(o(a))||d();break;case"mds-input-switch":customElements.get(o(a))||m();break;case"mds-table-cell":customElements.get(o(a))||b();break;case"mds-text":customElements.get(o(a))||u()}}))};export{k as MdsTableRow,y as defineCustomElement}
1
+ import{p as a,H as t,h as e,c as r,t as o,B as s}from"./p-TZJN-ygm.js";import{h as i}from"./p-DWIIDHSa.js";import{c as n}from"./p-ChV9xqsO.js";import{L as l}from"./p-CZjwSwe5.js";import{p as c}from"./p-CVRN4LDc.js";import{d}from"./p-Cmn1DJAB.js";import{d as m}from"./p-CPvuXO7s.js";import{d as b}from"./p-Dm-OUwDe.js";import{d as u}from"./p-CNF3u0Li.js";var h={selectRow:"Επιλογή γραμμής",unselectRow:"Αποεπιλογή γραμμής"},v={selectRow:"Select row",unselectRow:"Deselect row"},f={selectRow:"Seleccionar fila",unselectRow:"Deseleccionar fila"},p={selectRow:"Seleziona riga",unselectRow:"Deseleziona riga"};const g=()=>!!navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),w=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.t=new l({el:h,en:v,es:f,it:p}),this.selectable=void 0,this.onActionSlotChange=()=>{var a;const t=i(this.host,"action");t!==this.hasActions&&(this.hasActions=t,null===(a=this.host.closest("mds-table"))||void 0===a||a.updateActions())},this.handleSelectionChange=a=>{this.selected=a.detail.checked}}componentWillLoad(){this.hasActions=i(this.host,"action")}connectedCallback(){this.observeActions()}componentDidLoad(){this.observeActions()}observeActions(){var a;s.isBrowser&&this.actions&&(null!==(a=this.observer)&&void 0!==a||(this.observer=new ResizeObserver((a=>{var t,e,r;this.sizerWidth=(null!==(r=null===(e=null===(t=a[0].borderBoxSize)||void 0===t?void 0:t[0])||void 0===e?void 0:e.inlineSize)&&void 0!==r?r:0)+"px"}))),this.observer.observe(this.actions))}disconnectedCallback(){var a;null===(a=this.observer)||void 0===a||a.disconnect()}selectedChanged(a,t){var e;!!a!=!!t&&(null===(e=this.host.closest("mds-table"))||void 0===e||e.updateSelection())}render(){return e(r,{key:"ece5ed7693c1e0ee6378a2a687122776f6f816f3",role:"row","pref-animation":c.state.animation},this.selectable&&e("mds-table-cell",{key:"653ebfc6d144858f5b1a62ce3462c7e81841617b",class:"selection-cell"},e("div",{key:"7cea98c578483dc59b6f9d7ec44fe844a4138d27",class:"checkbox-wrapper"},e("mds-input-switch",{key:"5b29c6f7ebe67141799110a6226479858772f93b",title:this.t.get(this.selected?"unselectRow":"selectRow"),type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),e("slot",{key:"038b655d11acef2fffd32f7cef52c17d99d2a77b"}),g()&&e("mds-table-cell",{key:"0369e2736ae358accb506275227ac22581875e5f",class:n("actions-cell","actions-cell--disable",!this.hasActions&&"actions-cell--hidden")},e("div",{key:"239c5c2bff1b4f74732dfd641bbdb1a2a7186df0",class:"actions"},e("slot",{key:"bc69f336a2d695ba2a343604e4734b97e6d34502",name:"action",onSlotchange:this.onActionSlotChange}))),!g()&&e("mds-table-cell",{key:"306e47348355789abb73e8d708a223abaf525d1e",class:n("actions-cell",!this.hasActions&&"actions-cell--hidden")},e("div",{key:"527dfa9276109c758c8bfab658933af6f5176a3e",class:"actions-sizer",style:Object.assign({minHeight:"1px"},this.sizerWidth&&{maxWidth:this.sizerWidth,minWidth:this.sizerWidth})}),e("div",{key:"92f62cb36a03e4025db4b747989dbdccfde98df2",class:"actions-view"},e("div",{key:"427d55a22b6f6c23c10482b57589dcbb3350d626",class:"actions",ref:a=>this.actions=a,style:void 0!==this.sizerWidth?{marginRight:`calc(${this.sizerWidth} + var(--mds-table-cell-padding))`}:void 0},e("slot",{key:"c36f9952058fea6a3daace8368050444d96b293a",name:"action",onSlotchange:this.onActionSlotChange})))))}get host(){return this}static get watchers(){return{selected:[{selectedChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-input-switch,mds-table-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-row-color-hover:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background-hover:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-background-alt:var(--mds-table-background-alt,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-actions-gap:var(--mds-table-actions-gap,calc(var(--spacing,.0025rem)*400));--mds-table-row-transition-duration:var(--duration-200,.2s);--private-table-row-transition-duration:var(--mds-table-row-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));color:var(--mds-table-row-color);display:table-row;position:relative;transition-duration:var(--private-table-row-transition-duration);transition-property:color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt);--mds-table-row-color:var(--mds-table-row-color-alt)}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.actions-view{display:flex;justify-content:end;pointer-events:none;position:absolute}.actions,.actions-view{align-items:center;inset:0}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(var(--magma-radius-lg,var(--radius-squircle-lg,28px)) + var(--mds-table-border-width)*2);border-top-left-radius:calc(var(--magma-radius-lg,var(--radius-squircle-lg,28px)) + var(--mds-table-border-width)*2);corner-shape:var(--magma-corner-shape,squircle);display:inline-flex;gap:var(--mds-table-row-actions-gap,calc(var(--spacing,.0025rem)*400));margin-right:100%;padding:calc(var(--mds-table-border-width)*2);padding-right:0;pointer-events:auto;position:sticky;transform:translate(100%);transition-duration:var(--duration-500,.5s);transition-property:transform,background-color,padding-right;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:hover) .actions{transform:translate(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding);transform:translate(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);transform:translate(0)}:host(:not([interactive]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))))}:host([selection]:not([interactive]):not([selected]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt)}.actions-cell--disable,.actions-cell--disable .actions{position:static!important}.actions-cell--disable .actions{margin-right:0!important;transform:translate(0)!important}.actions-cell--hidden{display:none}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-row-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-row-transition-duration:0s}}'}},[257,"mds-table-row",{interactive:[516],overlayActions:[516,"overlay-actions"],selectable:[516],selected:[1540],selection:[516],value:[520],hasActions:[32],sizerWidth:[32]},void 0,{selected:[{selectedChanged:0}]}]),k=w,y=function(){"undefined"!=typeof customElements&&["mds-table-row","mds-icon","mds-input-switch","mds-table-cell","mds-text"].forEach((a=>{switch(a){case"mds-table-row":customElements.get(o(a))||customElements.define(o(a),w);break;case"mds-icon":customElements.get(o(a))||d();break;case"mds-input-switch":customElements.get(o(a))||m();break;case"mds-table-cell":customElements.get(o(a))||b();break;case"mds-text":customElements.get(o(a))||u()}}))};export{k as MdsTableRow,y as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,d as a,h as r,c as s,t as i,B as o}from"./p-B2p5a1Y8.js";import{c as n}from"./p-ChV9xqsO.js";import{L as d}from"./p-B9dgiq4u.js";import{p as l}from"./p-BlnEiKN4.js";import{h as c,o as h}from"./p-DWIIDHSa.js";import{d as b}from"./p-JPhOaOXe.js";import{d as m}from"./p-DezdwzYQ.js";var u={batchActions:"Επιλεγμένα στοιχεία"},p={batchActions:"Selected items"},v={batchActions:"Elementos seleccionados"},f={batchActions:"Elementi selezionati"};const g=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.selectionEvent=a(this,"mdsTableSelectionChange",7),this.hasBatchActions=!1,this.cellsWidth=0,this.selectedRows=[],this.t=new d({el:u,en:p,es:v,it:f}),this.sorting="internal",this.selectionQueued=!1,this.updateInteractive=()=>{var t;this.body&&(this.body.interactive=this.interactive),null===(t=this.rows)||void 0===t||t.forEach((t=>{t.interactive=this.interactive}))},this.updateCellsSize=()=>{var t,e;const a=null===(t=this.rows)||void 0===t?void 0:t[0];if(!a)return;const r=a.querySelectorAll("mds-table-cell"),s=null===(e=a.shadowRoot)||void 0===e?void 0:e.querySelector(".selection-cell");this.cellsWidth=null!=s?s.offsetWidth:0,r.forEach((t=>{this.cellsWidth+=t.offsetWidth}))},this.hasActions=()=>(this.updateCellsSize(),null!==this.host.querySelector('mds-table-row > [slot="action"]')),this.handleSelection=()=>{var t;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.selectable=this.selectable}))},this.watchActions=()=>{var t;if(o.isBrowser){if(!this.scrollWrapper){const e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".table-wrapper");if(!e)return;this.scrollWrapper=e,this.scrollWrapper.addEventListener("scroll",this.handleActions),this.resizeObserver=new ResizeObserver(this.handleActions),this.resizeObserver.observe(this.host)}this.handleActions()}},this.handleActions=()=>{var t;if(!this.scrollWrapper)return;this.updateCellsSize();const e=this.scrollWrapper.offsetWidth+this.scrollWrapper.scrollLeft<this.cellsWidth;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.overlayActions=e}))},this.querySlottedElements=()=>{var t;this.body=this.host.querySelector("mds-table-body"),this.footer=this.host.querySelector("mds-table-footer"),this.header=this.host.querySelector("mds-table-header"),this.rows=this.host.querySelectorAll("mds-table-row"),this.body&&(null===(t=this.tableBodyObserver)||void 0===t||t.observe(this.body,{childList:!0}))},this.updateBatchActions=()=>{this.hasBatchActions=c(this.host,"batch-action")},this.updateSlottedElements=()=>{this.querySlottedElements(),this.updateInteractive(),this.handleSelection(),this.updateActions()}}onTableInteractive(){this.updateInteractive()}onTableSelectable(t){this.handleSelection(),this.header&&(this.header.selectable=t),this.footer&&(this.footer.selectable=t)}async updateSelection(){var t;this.selectable&&this.rows&&(this.selectionQueued||(this.selectionQueued=!0,await Promise.resolve(),this.selectionQueued=!1,this.selectedRows=[],this.rows.forEach(((t,e)=>{t.selected&&this.selectedRows.push({index:e,value:t.value})})),this.selectionEvent.emit({rows:this.selectedRows}),null===(t=this.header)||void 0===t||t.setSelection(this.selectedRows.length,this.rows.length),this.selection=this.selectedRows.length>0,this.body&&(this.body.selection=this.selection),this.rows.forEach((t=>{t.selection=this.selection}))))}async updateActions(){var t,e;const a=this.hasActions();null===(e=null===(t=this.header)||void 0===t?void 0:t.setActions)||void 0===e||e.call(t,a),a&&this.watchActions()}async selectAll(t=!0){this.selectable&&this.rows&&(this.rows.forEach((e=>{e.selected=t})),this.updateSelection())}componentWillLoad(){this.updateBatchActions(),h(this.host,this.updateBatchActions),"undefined"!=typeof MutationObserver&&(this.tableBodyObserver=new MutationObserver((()=>{this.updateSlottedElements()}))),this.querySlottedElements()}componentDidLoad(){this.footer&&(this.footer.selectable=this.selectable),this.header&&(this.header.selectable=this.selectable),this.updateActions()}connectedCallback(){this.updateActions()}disconnectedCallback(){var t,e,a;null===(t=this.scrollWrapper)||void 0===t||t.removeEventListener("scroll",this.handleActions),null===(e=this.resizeObserver)||void 0===e||e.disconnect(),this.scrollWrapper=void 0,this.resizeObserver=void 0,null===(a=this.tableBodyObserver)||void 0===a||a.disconnect()}render(){return r(s,{key:"5de264d1f6c2d4e95dcc780ec634bfd93fc62b58","pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},r("div",{key:"4b38c540837b73204dede8d0a038cc2fc7d10c9b",class:"table-wrapper",part:"table-wrapper"},r("table",{key:"06888e0f8d87582f9a2a1ed8120a685bf0a9f024",class:n("table",this.interactive&&"table--interactive"),role:"table",part:"table"},r("slot",{key:"45b9378d89a221dd0b5e6f776012d018911a74a1",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&r("div",{key:"7d1d5ae1e86e4f02c61ec14ffe795701d7d189f4",class:n("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},r("div",{key:"5429febe4ec53e0622b334edbaa2eabdef3c0826",class:"batch-actions",part:"batch-actions"},r("div",{key:"a3b47b02c08bb4c17977be8d4be9357ed7161545",class:"batch-actions-header"},r("mds-text",{key:"ce2427f0c17a8198603eee8d321479de089f8409",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),r("mds-badge",{key:"84f36e77a4ae16824eee8f732aa5b4dc9cea3695",label:""+this.selectedRows.length,variant:"dark",tone:"outline",typography:"label"})),r("slot",{key:"873cfade2459b355cff316947d3affe08fbe994a",name:"batch-action"}))))}get host(){return this}static get watchers(){return{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-table-body,mds-table-footer,mds-table-header):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-transition-duration:var(--duration-300,.3s);--private-table-transition-duration:var(--mds-table-transition-duration);--mds-table-actions-gap:calc(var(--spacing,.0025rem)*200);--mds-table-background-alt:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-table-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-table-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-border-width:2px;--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-table-separator-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));--private-cell-border-width:var(--mds-table-border-width);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background-alt);border-color:var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);border:var(--mds-table-border-width) solid var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))))!important;display:flex;overflow:hidden;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)));corner-shape:inherit;display:flex;overflow:auto;width:100%}.table{border-collapse:initial;border-spacing:0;width:100%}.batch-actions-wrapper{corner-shape:inherit;display:flex;flex-shrink:0;max-width:0;transition-duration:var(--private-table-transition-duration);transition-property:max-width;transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));width:100%}.batch-actions-wrapper--has-selected-rows{max-width:var(--mds-table-batch-actions-width)}.batch-actions-header{align-items:center;display:flex;justify-content:space-between;padding:calc(var(--spacing,.0025rem)*300)}.batch-actions{background-color:var(--mds-table-background);border-left:var(--mds-table-border-width) solid var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));box-sizing:border-box;display:grid;flex-grow:1;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content;grid-template-columns:repeat(1,minmax(1px,100%));min-width:var(--mds-table-batch-actions-width);padding:calc(var(--mds-table-cell-padding)/2);width:100%}::slotted([slot=batch-action]){justify-content:start;width:100%}:host([selection]:not([selection=false])){--mds-table-body-background:var(--mds-table-body-background-hover)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-transition-duration:0s}:host([pref-contrast=more][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-transition-duration:0s}}@media (prefers-contrast:more){:host([pref-contrast=system][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'}},[257,"mds-table",{interactive:[4],selectable:[4],selection:[1540],sorting:[513],hasBatchActions:[32],selectedRows:[32],updateSelection:[64],updateActions:[64],selectAll:[64]},void 0,{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}]),y=g,w=function(){"undefined"!=typeof customElements&&["mds-table","mds-badge","mds-text"].forEach((t=>{switch(t){case"mds-table":customElements.get(i(t))||customElements.define(i(t),g);break;case"mds-badge":customElements.get(i(t))||b();break;case"mds-text":customElements.get(i(t))||m()}}))};export{y as MdsTable,w as defineCustomElement}
1
+ import{p as t,H as a,d as e,h as r,c as s,t as i,B as o}from"./p-TZJN-ygm.js";import{c as n}from"./p-ChV9xqsO.js";import{L as d}from"./p-CZjwSwe5.js";import{p as l}from"./p-CVRN4LDc.js";import{h as c,o as b}from"./p-DWIIDHSa.js";import{d as h}from"./p-s1CktmPS.js";import{d as m}from"./p-CNF3u0Li.js";var u={batchActions:"Επιλεγμένα στοιχεία"},p={batchActions:"Selected items"},v={batchActions:"Elementos seleccionados"},f={batchActions:"Elementi selezionati"};const g=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.selectionEvent=e(this,"mdsTableSelectionChange",7),this.hasBatchActions=!1,this.cellsWidth=0,this.selectedRows=[],this.t=new d({el:u,en:p,es:v,it:f}),this.sorting="internal",this.selectionQueued=!1,this.updateInteractive=()=>{var t;this.body&&(this.body.interactive=this.interactive),null===(t=this.rows)||void 0===t||t.forEach((t=>{t.interactive=this.interactive}))},this.updateCellsSize=()=>{var t,a;const e=null===(t=this.rows)||void 0===t?void 0:t[0];if(!e)return;const r=e.querySelectorAll("mds-table-cell"),s=null===(a=e.shadowRoot)||void 0===a?void 0:a.querySelector(".selection-cell");this.cellsWidth=null!=s?s.offsetWidth:0,r.forEach((t=>{this.cellsWidth+=t.offsetWidth}))},this.hasActions=()=>(this.updateCellsSize(),null!==this.host.querySelector('mds-table-row > [slot="action"]')),this.handleSelection=()=>{var t;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.selectable=this.selectable}))},this.watchActions=()=>{var t;if(o.isBrowser){if(!this.scrollWrapper){const a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".table-wrapper");if(!a)return;this.scrollWrapper=a,this.scrollWrapper.addEventListener("scroll",this.handleActions),this.resizeObserver=new ResizeObserver(this.handleActions),this.resizeObserver.observe(this.host)}this.handleActions()}},this.handleActions=()=>{var t;if(!this.scrollWrapper)return;this.updateCellsSize();const a=this.scrollWrapper.offsetWidth+this.scrollWrapper.scrollLeft<this.cellsWidth;null===(t=this.rows)||void 0===t||t.forEach((t=>{t.overlayActions=a}))},this.querySlottedElements=()=>{var t;this.body=this.host.querySelector("mds-table-body"),this.footer=this.host.querySelector("mds-table-footer"),this.header=this.host.querySelector("mds-table-header"),this.rows=this.host.querySelectorAll("mds-table-row"),this.body&&(null===(t=this.tableBodyObserver)||void 0===t||t.observe(this.body,{childList:!0}))},this.updateBatchActions=()=>{this.hasBatchActions=c(this.host,"batch-action")},this.updateSlottedElements=()=>{this.querySlottedElements(),this.updateInteractive(),this.handleSelection(),this.updateActions()}}onTableInteractive(){this.updateInteractive()}onTableSelectable(t){this.handleSelection(),this.header&&(this.header.selectable=t),this.footer&&(this.footer.selectable=t)}async updateSelection(){var t;this.selectable&&this.rows&&(this.selectionQueued||(this.selectionQueued=!0,await Promise.resolve(),this.selectionQueued=!1,this.selectedRows=[],this.rows.forEach(((t,a)=>{t.selected&&this.selectedRows.push({index:a,value:t.value})})),this.selectionEvent.emit({rows:this.selectedRows}),null===(t=this.header)||void 0===t||t.setSelection(this.selectedRows.length,this.rows.length),this.selection=this.selectedRows.length>0,this.body&&(this.body.selection=this.selection),this.rows.forEach((t=>{t.selection=this.selection}))))}async updateActions(){var t,a;const e=this.hasActions();null===(a=null===(t=this.header)||void 0===t?void 0:t.setActions)||void 0===a||a.call(t,e),e&&this.watchActions()}async selectAll(t=!0){this.selectable&&this.rows&&(this.rows.forEach((a=>{a.selected=t})),this.updateSelection())}componentWillLoad(){this.updateBatchActions(),b(this.host,this.updateBatchActions),"undefined"!=typeof MutationObserver&&(this.tableBodyObserver=new MutationObserver((()=>{this.updateSlottedElements()}))),this.querySlottedElements()}componentDidLoad(){this.footer&&(this.footer.selectable=this.selectable),this.header&&(this.header.selectable=this.selectable),this.updateActions()}connectedCallback(){this.updateActions()}disconnectedCallback(){var t,a,e;null===(t=this.scrollWrapper)||void 0===t||t.removeEventListener("scroll",this.handleActions),null===(a=this.resizeObserver)||void 0===a||a.disconnect(),this.scrollWrapper=void 0,this.resizeObserver=void 0,null===(e=this.tableBodyObserver)||void 0===e||e.disconnect()}render(){return r(s,{key:"509510ae979b382e62797b7eb5d37bbe32f7cbfc","pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},r("div",{key:"ad50d0edc7226feeec8d89e7aa259e003249e349",class:"table-wrapper",part:"table-wrapper"},r("table",{key:"2c066ff76726842ccebfb4d2ec8870ee67e45988",class:n("table",this.interactive&&"table--interactive"),role:"table",part:"table"},r("slot",{key:"0fdd5bfcd037d82f413e2cd89a81f49b6c571368",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&r("div",{key:"e84764b500f659a786084fb5bea0e14e5800457d",class:n("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},r("div",{key:"8432b9d1d1c73b81d606699d2992089f9525d1ec",class:"batch-actions",part:"batch-actions"},r("div",{key:"17f385f29fb1bc8a7f92462977622899692692f0",class:"batch-actions-header"},r("mds-text",{key:"2a98a774ac55974e188dcb72934f6f357a4ea79d",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),r("mds-badge",{key:"388c23091c6782ddc3f762024e0acbfeed04c43c",label:""+this.selectedRows.length,variant:"dark",tone:"outline",typography:"label"})),r("slot",{key:"76185b957f323725130b1526fc4bce1b27258479",name:"batch-action"}))))}get host(){return this}static get watchers(){return{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-table-body,mds-table-footer,mds-table-header):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-transition-duration:var(--duration-300,.3s);--private-table-transition-duration:var(--mds-table-transition-duration);--mds-table-actions-gap:calc(var(--spacing,.0025rem)*200);--mds-table-background-alt:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-table-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-table-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-border-width:calc(var(--spacing,.0025rem)*50);--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-table-separator-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));--private-cell-border-width:var(--mds-table-border-width);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background-alt);border-color:var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);border:var(--mds-table-border-width) solid var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))))!important;display:flex;overflow:hidden;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)));corner-shape:inherit;display:flex;overflow:auto;width:100%}.table{border-collapse:initial;border-spacing:0;width:100%}.batch-actions-wrapper{corner-shape:inherit;display:flex;flex-shrink:0;max-width:0;transition-duration:var(--private-table-transition-duration);transition-property:max-width;transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));width:100%}.batch-actions-wrapper--has-selected-rows{max-width:var(--mds-table-batch-actions-width)}.batch-actions-header{align-items:center;display:flex;justify-content:space-between;padding:calc(var(--spacing,.0025rem)*300)}.batch-actions{background-color:var(--mds-table-background);border-left:var(--mds-table-border-width) solid var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));box-sizing:border-box;display:grid;flex-grow:1;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content;grid-template-columns:repeat(1,minmax(1px,100%));min-width:var(--mds-table-batch-actions-width);padding:calc(var(--mds-table-cell-padding)/2);width:100%}::slotted([slot=batch-action]){justify-content:start;width:100%}:host([selection]:not([selection=false])){--mds-table-body-background:var(--mds-table-body-background-hover)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-transition-duration:0s}:host([pref-contrast=more][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-transition-duration:0s}}@media (prefers-contrast:more){:host([pref-contrast=system][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'}},[257,"mds-table",{interactive:[4],selectable:[4],selection:[1540],sorting:[513],hasBatchActions:[32],selectedRows:[32],updateSelection:[64],updateActions:[64],selectAll:[64]},void 0,{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}]),y=g,w=function(){"undefined"!=typeof customElements&&["mds-table","mds-badge","mds-text"].forEach((t=>{switch(t){case"mds-table":customElements.get(i(t))||customElements.define(i(t),g);break;case"mds-badge":customElements.get(i(t))||h();break;case"mds-text":customElements.get(i(t))||m()}}))};export{y as MdsTable,w as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-DezdwzYQ.js";const p=o,r=s;export{p as MdsText,r as defineCustomElement}
1
+ import{M as o,d as s}from"./p-CNF3u0Li.js";const p=o,r=s;export{p as MdsText,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as i,h as s,c as e,t as o}from"./p-B2p5a1Y8.js";const n=t=>{var i;const s=null!==(i=t.duration)&&void 0!==i?i:0;return 0!==s&&!Number.isNaN(s)},a=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.shown=[],this.position="bottom-center",this.max=3,this.limit=()=>Number.isInteger(this.max)&&this.max>0?this.max:3,this.toasts=()=>Array.from(this.host.querySelectorAll("mds-toast")),this.update=()=>{const t=this.toasts();t.forEach((t=>{t.position!==this.position&&(t.position=this.position)}));const i=t.filter((t=>!!t.visible));this.shown=this.shown.filter((t=>i.includes(t)));const s=i.filter((t=>!this.shown.includes(t)));if(this.shown.push(...s),0===s.length)return;let e=this.shown.length-this.limit();for(const t of this.shown.filter((t=>!s.includes(t)))){if(e<=0)break;n(t)&&(t.visible=!1,e-=1)}this.shown=this.shown.filter((t=>t.visible))},this.observe=()=>{var t;"undefined"!=typeof MutationObserver&&(null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=new MutationObserver(this.update),this.observer.observe(this.host,{attributeFilter:["visible"],childList:!0,subtree:!0}))},this.checkMax=t=>{null==t||Number.isInteger(t)&&t>0||console.warn(`mds-toast-region: ignoring the invalid max "${t}", using 3`)}}connectedCallback(){this.observe()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=void 0}componentWillLoad(){this.checkMax(this.max)}componentDidLoad(){this.update()}positionChanged(){this.update()}maxChanged(t){this.checkMax(t),this.update()}render(){return s(e,{key:"098e53f02216610eecc7994a704e20113fc9a5cb",role:"status","aria-live":"polite","aria-atomic":"false"},s("slot",{key:"5bdfcac941c9828783fb8baaa8b2222098d0d561"}))}get host(){return this}static get watchers(){return{position:[{positionChanged:0}],max:[{maxChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-toast-region-gap:calc(var(--spacing,.0025rem)*200);bottom:0;display:flex;flex-direction:column;gap:var(--mds-toast-region-gap,calc(var(--spacing,.0025rem)*200));left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}:host([position^=top]){bottom:auto;flex-direction:column-reverse;top:0}"}},[257,"mds-toast-region",{position:[513],max:[514]},void 0,{position:[{positionChanged:0}],max:[{maxChanged:0}]}]),r=a,h=function(){"undefined"!=typeof customElements&&["mds-toast-region"].forEach((t=>{"mds-toast-region"===t&&(customElements.get(o(t))||customElements.define(o(t),a))}))};export{r as MdsToastRegion,h as defineCustomElement}
1
+ import{p as t,H as i,h as s,c as e,t as o}from"./p-TZJN-ygm.js";const n=t=>{var i;const s=null!==(i=t.duration)&&void 0!==i?i:0;return 0!==s&&!Number.isNaN(s)},a=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.shown=[],this.position="bottom-center",this.max=3,this.limit=()=>Number.isInteger(this.max)&&this.max>0?this.max:3,this.toasts=()=>Array.from(this.host.querySelectorAll("mds-toast")),this.update=()=>{const t=this.toasts();t.forEach((t=>{t.position!==this.position&&(t.position=this.position)}));const i=t.filter((t=>!!t.visible));this.shown=this.shown.filter((t=>i.includes(t)));const s=i.filter((t=>!this.shown.includes(t)));if(this.shown.push(...s),0===s.length)return;let e=this.shown.length-this.limit();for(const t of this.shown.filter((t=>!s.includes(t)))){if(e<=0)break;n(t)&&(t.visible=!1,e-=1)}this.shown=this.shown.filter((t=>t.visible))},this.observe=()=>{var t;"undefined"!=typeof MutationObserver&&(null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=new MutationObserver(this.update),this.observer.observe(this.host,{attributeFilter:["visible"],childList:!0,subtree:!0}))},this.checkMax=t=>{null==t||Number.isInteger(t)&&t>0||console.warn(`mds-toast-region: ignoring the invalid max "${t}", using 3`)}}connectedCallback(){this.observe()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=void 0}componentWillLoad(){this.checkMax(this.max)}componentDidLoad(){this.update()}positionChanged(){this.update()}maxChanged(t){this.checkMax(t),this.update()}render(){return s(e,{key:"adfc397d9f3ca87c3c98c8b6e9c19f7552c37cc7",role:"status","aria-live":"polite","aria-atomic":"false"},s("slot",{key:"11e57c653d759c24b08ce5a33ca49b9695d55278"}))}get host(){return this}static get watchers(){return{position:[{positionChanged:0}],max:[{maxChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-toast-region-gap:calc(var(--spacing,.0025rem)*200);bottom:0;display:flex;flex-direction:column;gap:var(--mds-toast-region-gap,calc(var(--spacing,.0025rem)*200));left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}:host([position^=top]){bottom:auto;flex-direction:column-reverse;top:0}"}},[257,"mds-toast-region",{position:[513],max:[514]},void 0,{position:[{positionChanged:0}],max:[{maxChanged:0}]}]),r=a,h=function(){"undefined"!=typeof customElements&&["mds-toast-region"].forEach((t=>{"mds-toast-region"===t&&(customElements.get(o(t))||customElements.define(o(t),a))}))};export{r as MdsToastRegion,h as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as a,d as s,h as o,c as i,t as r}from"./p-B2p5a1Y8.js";import{c as e}from"./p-CWk1SCJg.js";import{p as n}from"./p-BlnEiKN4.js";import{L as d}from"./p-B9dgiq4u.js";import{h as c}from"./p-DWIIDHSa.js";import{c as m}from"./p-ChV9xqsO.js";import{d as h}from"./p-BUr3NqxM.js";import{d as l}from"./p-cIZniMh0.js";import{d as v}from"./p-B6B6q5kP.js";import{d as p}from"./p-DezdwzYQ.js";var u={hide:"Απόκρυψη"},g={hide:"Hide"},b={hide:"Ocultar"},f={hide:"Nascondi"};const x=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.closedEvent=s(this,"mdsToastClose",7),this.cssDismissAnimationDuration=300,this.countdownStart=0,this.pointerInside=!1,this.focusInside=!1,this.closeReason="hide",this.t=new d({el:u,en:g,es:b,it:f}),this.stacked=!1,this.duration=5e3,this.variant="light",this.tone="strong",this.position="bottom-center",this.hasDuration=()=>{var t;const a=null!==(t=this.duration)&&void 0!==t?t:0;return 0!==a&&!Number.isNaN(a)},this.stopCountdown=()=>{window.clearTimeout(this.dismissTimer),this.dismissTimer=void 0},this.runCountdown=()=>{void 0!==this.remaining&&void 0===this.dismissTimer&&(this.pointerInside||this.focusInside||(this.countdownStart=Date.now(),this.dismissTimer=window.setTimeout((()=>{this.dismissTimer=void 0,this.remaining=void 0,this.hide("timeout")}),this.remaining)))},this.holdCountdown=()=>{void 0!==this.dismissTimer&&void 0!==this.remaining&&(this.stopCountdown(),this.remaining=Math.max(0,this.remaining-(Date.now()-this.countdownStart)))},this.reloadTimeListeners=t=>{"undefined"!=typeof window&&(this.stopCountdown(),this.remaining=t&&this.hasDuration()?this.duration:void 0,this.runCountdown())},this.hide=t=>{this.closeReason=t,this.visible=!1},this.onCloseClick=()=>{this.hide("close")},this.onPointerEnter=()=>{this.pointerInside=!0,this.holdCountdown()},this.onPointerLeave=()=>{this.pointerInside=!1,this.runCountdown()},this.onFocusIn=()=>{this.focusInside=!0,this.holdCountdown()},this.onFocusOut=()=>{this.focusInside=!1,this.runCountdown()},this.closeButtonVariant=()=>{switch(this.variant){case"light":return"dark";case"error":case"info":case"success":case"warning":return this.variant;default:return"light"}},this.onActionSlotChange=()=>{this.hasActions=c(this.hostElement,"action")}}updateCSSCustomProps(){if("undefined"==typeof window)return;const t=window.getComputedStyle(this.hostElement);this.cssDismissAnimationDuration=e(t.getPropertyValue("--private-toast-transition-duration"),0)}connectedCallback(){this.stacked=null!==this.hostElement.closest("mds-toast-region")}disconnectedCallback(){window.clearTimeout(this.dismissTimer),window.clearTimeout(this.closeTimer),this.dismissTimer=void 0,this.closeTimer=void 0}componentWillLoad(){this.hasText=""!==this.hostElement.innerHTML,this.hasActions=c(this.hostElement,"action"),this.reloadTimeListeners(!!this.visible)}componentDidLoad(){this.updateCSSCustomProps()}visibleChanged(t,a){this.updateCSSCustomProps();const s=this.closeReason;if(this.closeReason="hide",t||(this.pointerInside=!1,this.focusInside=!1),this.reloadTimeListeners(t),t)return window.clearTimeout(this.closeTimer),void(this.closeTimer=void 0);a&&(window.clearTimeout(this.closeTimer),this.closeTimer=window.setTimeout((()=>{this.closeTimer=void 0,this.closedEvent.emit({reason:s})}),this.cssDismissAnimationDuration))}durationChanged(){this.reloadTimeListeners(!!this.visible)}render(){var t;return o(i,{key:"54d6d4cb0813dd1d58fc32d57c044e4f3c0888b7",role:this.stacked?void 0:"status",stacked:this.stacked,"pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},o("div",{key:"acf4944a4ceca7b96f2eac57ccfe78b2d267dfa9",class:m("dialog",this.position&&"to-"+this.position,this.visible&&"dialog--visible"),onFocusin:this.onFocusIn,onFocusout:this.onFocusOut,onPointerEnter:this.onPointerEnter,onPointerLeave:this.onPointerLeave},o("slot",{key:"b26ca83def0e4bf35c85ac7ece1b04c46ed2664f",name:"icon"}),this.hasText&&o("mds-text",{key:"c97189fd1bff2693686184e006c6282d0f67ac09",typography:"caption"},o("slot",{key:"b1964597f7b88df8f5bf2fddf3673eb033f45ce0"})),o("div",{key:"d6ab6634153b14b4f00d546d3dda91918505d7a9",class:m("actions",!this.hasActions&&"actions--hidden")},o("slot",{key:"087fb1d4d1e8e122db02061f91489ba87193457e",name:"action",onSlotchange:this.onActionSlotChange})),this.deletable&&o("mds-button",{key:"668d30646ab454eab30f8b34fa09aa2a7338a2dd","aria-label":this.t.get("hide"),class:"hide",icon:(null===(t=this.position)||void 0===t?void 0:t.startsWith("top"))?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8l-8 8z"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8l8-8z"/></svg>',onClick:this.onCloseClick,size:"sm",tone:"text",type:"button",variant:this.closeButtonVariant()})))}get hostElement(){return this}static get watchers(){return{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-duration:.3s;--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a);--mds-toast-width:auto;--private-toast-transition-duration:var(--mds-toast-duration,.3s);--private-toast-transition-duration-intro:var(--duration-500,.5s);--private-toast-transition-duration-icon:var(--duration-200,.2s);color:var(--mds-toast-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));display:flex;left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}.dialog{--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));background-color:var(--mds-toast-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));box-shadow:var(--mds-toast-shadow);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;gap:calc(var(--spacing,.0025rem)*400);margin-inline:calc(var(--spacing,.0025rem)*400);max-width:100%;padding:calc(var(--spacing,.0025rem)*400);pointer-events:none;transition-duration:var(--private-toast-transition-duration);transition-property:box-shadow,background-color,color,transform,visibility;visibility:hidden;width:var(--mds-toast-width,auto)}:host([visible]:not([visible=false])) .dialog{pointer-events:auto;visibility:visible}:host([position^=top]){top:0}:host([position=top-left]){justify-content:flex-start}:host([position=top-center]){justify-content:center}:host([position=top-right]){justify-content:flex-end}:host([position^=bottom]){bottom:0}:host([position=bottom-left]){justify-content:flex-start}:host([position=bottom-center]){justify-content:center}:host([position=bottom-right]){justify-content:flex-end}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.actions--hidden{display:none}.hide{flex-shrink:0}::slotted([slot=icon]){--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));fill:var(--mds-toast-icon-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;transition-duration:var(--private-toast-transition-duration-icon);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([variant=dark]),:host([variant=dark][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=dark][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=strong]){--mds-toast-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-toast-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error][tone=weak]){--mds-toast-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-toast-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=info]),:host([variant=info][tone=strong]){--mds-toast-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-toast-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info][tone=weak]){--mds-toast-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-toast-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=light]),:host([variant=light][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([variant=light][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([variant=success]),:host([variant=success][tone=strong]){--mds-toast-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-toast-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success][tone=weak]){--mds-toast-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-toast-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning]),:host([variant=warning][tone=strong]){--mds-toast-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-toast-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning][tone=weak]){--mds-toast-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-toast-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}.to-top-center,.to-top-left,.to-top-right{transform:translateY(calc(-100% - var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,.3s));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-top-center.dialog--visible,.to-top-left.dialog--visible,.to-top-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.to-bottom-center,.to-bottom-left,.to-bottom-right{transform:translateY(calc(100% + var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,.3s));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-bottom-center.dialog--visible,.to-bottom-left.dialog--visible,.to-bottom-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400*-1));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}:host([stacked]){inset:auto;position:relative;transition-behavior:allow-discrete;transition-duration:var(--private-toast-transition-duration);transition-property:display;z-index:auto}:host([stacked]:not([visible])),:host([stacked][visible=false]){display:none}:host([stacked]) .dialog:not(.dialog--visible){opacity:0;transform:none}@starting-style{:host([stacked]) .dialog--visible{opacity:0;transform:none}}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}:host([pref-contrast=more]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}}'}},[257,"mds-toast",{duration:[1538],visible:[1540],variant:[513],tone:[513],position:[1537],deletable:[4],hasActions:[32],stacked:[32]},void 0,{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}]),w=x,y=function(){"undefined"!=typeof customElements&&["mds-toast","mds-button","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-toast":customElements.get(r(t))||customElements.define(r(t),x);break;case"mds-button":customElements.get(r(t))||h();break;case"mds-icon":customElements.get(r(t))||l();break;case"mds-spinner":customElements.get(r(t))||v();break;case"mds-text":customElements.get(r(t))||p()}}))};export{w as MdsToast,y as defineCustomElement}
1
+ import{p as t,H as a,d as s,h as o,c as i,t as r}from"./p-TZJN-ygm.js";import{c as e}from"./p-CWk1SCJg.js";import{p as n}from"./p-CVRN4LDc.js";import{L as d}from"./p-CZjwSwe5.js";import{h as c}from"./p-DWIIDHSa.js";import{c as m}from"./p-ChV9xqsO.js";import{d as h}from"./p-ClPv-Ljc.js";import{d as l}from"./p-Cmn1DJAB.js";import{d as v}from"./p-ZuubAcA3.js";import{d as p}from"./p-CNF3u0Li.js";var u={hide:"Απόκρυψη"},g={hide:"Hide"},b={hide:"Ocultar"},f={hide:"Nascondi"};const x=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.closedEvent=s(this,"mdsToastClose",7),this.cssDismissAnimationDuration=300,this.countdownStart=0,this.pointerInside=!1,this.focusInside=!1,this.closeReason="hide",this.t=new d({el:u,en:g,es:b,it:f}),this.stacked=!1,this.duration=5e3,this.variant="light",this.tone="strong",this.position="bottom-center",this.hasDuration=()=>{var t;const a=null!==(t=this.duration)&&void 0!==t?t:0;return 0!==a&&!Number.isNaN(a)},this.stopCountdown=()=>{window.clearTimeout(this.dismissTimer),this.dismissTimer=void 0},this.runCountdown=()=>{void 0!==this.remaining&&void 0===this.dismissTimer&&(this.pointerInside||this.focusInside||(this.countdownStart=Date.now(),this.dismissTimer=window.setTimeout((()=>{this.dismissTimer=void 0,this.remaining=void 0,this.hide("timeout")}),this.remaining)))},this.holdCountdown=()=>{void 0!==this.dismissTimer&&void 0!==this.remaining&&(this.stopCountdown(),this.remaining=Math.max(0,this.remaining-(Date.now()-this.countdownStart)))},this.reloadTimeListeners=t=>{"undefined"!=typeof window&&(this.stopCountdown(),this.remaining=t&&this.hasDuration()?this.duration:void 0,this.runCountdown())},this.hide=t=>{this.closeReason=t,this.visible=!1},this.onCloseClick=()=>{this.hide("close")},this.onPointerEnter=()=>{this.pointerInside=!0,this.holdCountdown()},this.onPointerLeave=()=>{this.pointerInside=!1,this.runCountdown()},this.onFocusIn=()=>{this.focusInside=!0,this.holdCountdown()},this.onFocusOut=()=>{this.focusInside=!1,this.runCountdown()},this.closeButtonVariant=()=>{switch(this.variant){case"light":return"dark";case"error":case"info":case"success":case"warning":return this.variant;default:return"light"}},this.onActionSlotChange=()=>{this.hasActions=c(this.hostElement,"action")}}updateCSSCustomProps(){if("undefined"==typeof window)return;const t=window.getComputedStyle(this.hostElement);this.cssDismissAnimationDuration=e(t.getPropertyValue("--private-toast-transition-duration"),0)}connectedCallback(){this.stacked=null!==this.hostElement.closest("mds-toast-region")}disconnectedCallback(){window.clearTimeout(this.dismissTimer),window.clearTimeout(this.closeTimer),this.dismissTimer=void 0,this.closeTimer=void 0}componentWillLoad(){this.hasText=""!==this.hostElement.innerHTML,this.hasActions=c(this.hostElement,"action"),this.reloadTimeListeners(!!this.visible)}componentDidLoad(){this.updateCSSCustomProps()}visibleChanged(t,a){this.updateCSSCustomProps();const s=this.closeReason;if(this.closeReason="hide",t||(this.pointerInside=!1,this.focusInside=!1),this.reloadTimeListeners(t),t)return window.clearTimeout(this.closeTimer),void(this.closeTimer=void 0);a&&(window.clearTimeout(this.closeTimer),this.closeTimer=window.setTimeout((()=>{this.closeTimer=void 0,this.closedEvent.emit({reason:s})}),this.cssDismissAnimationDuration))}durationChanged(){this.reloadTimeListeners(!!this.visible)}render(){var t;return o(i,{key:"352c3fe8305ac4da785faed3292d00dfe5d25d50",role:this.stacked?void 0:"status",stacked:this.stacked,"pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},o("div",{key:"08b8e847f0e36181fbd88723de6e35dd30938349",class:m("dialog",this.position&&"to-"+this.position,this.visible&&"dialog--visible"),onFocusin:this.onFocusIn,onFocusout:this.onFocusOut,onPointerEnter:this.onPointerEnter,onPointerLeave:this.onPointerLeave},o("slot",{key:"bb38a2697aae42dbfa37c63712e7df1e1746835e",name:"icon"}),this.hasText&&o("mds-text",{key:"f4512aa5f36cff29b172b2c42d3076907cdd8b81",typography:"caption"},o("slot",{key:"029ecdf3dd06b9ceaf4cb1f40029d841c85a2093"})),o("div",{key:"b87521682d85647d6dd5dbfd444a5d5d54984da2",class:m("actions",!this.hasActions&&"actions--hidden")},o("slot",{key:"4bc50681dfcb292b56d22207d432cac5ac3f5994",name:"action",onSlotchange:this.onActionSlotChange})),this.deletable&&o("mds-button",{key:"08aa2ee3165301610e4f4af5d164107d5b1903e7","aria-label":this.t.get("hide"),class:"hide",icon:(null===(t=this.position)||void 0===t?void 0:t.startsWith("top"))?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8l-8 8z"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8l8-8z"/></svg>',onClick:this.onCloseClick,size:"sm",tone:"text",type:"button",variant:this.closeButtonVariant()})))}get hostElement(){return this}static get watchers(){return{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-duration:var(--duration-300,.3s);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a);--mds-toast-width:auto;--private-toast-transition-duration:var(--mds-toast-duration,var(--duration-300,.3s));--private-toast-transition-duration-intro:var(--duration-500,.5s);--private-toast-transition-duration-icon:var(--duration-200,.2s);color:var(--mds-toast-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));display:flex;left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}.dialog{--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));background-color:var(--mds-toast-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));box-shadow:var(--mds-toast-shadow);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;gap:calc(var(--spacing,.0025rem)*400);margin-inline:calc(var(--spacing,.0025rem)*400);max-width:100%;padding:calc(var(--spacing,.0025rem)*400);pointer-events:none;transition-duration:var(--private-toast-transition-duration);transition-property:box-shadow,background-color,color,transform,visibility;visibility:hidden;width:var(--mds-toast-width,auto)}:host([visible]:not([visible=false])) .dialog{pointer-events:auto;visibility:visible}:host([position^=top]){top:0}:host([position=top-left]){justify-content:flex-start}:host([position=top-center]){justify-content:center}:host([position=top-right]){justify-content:flex-end}:host([position^=bottom]){bottom:0}:host([position=bottom-left]){justify-content:flex-start}:host([position=bottom-center]){justify-content:center}:host([position=bottom-right]){justify-content:flex-end}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.actions--hidden{display:none}.hide{flex-shrink:0}::slotted([slot=icon]){--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));fill:var(--mds-toast-icon-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;transition-duration:var(--private-toast-transition-duration-icon);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([variant=dark]),:host([variant=dark][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=dark][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=strong]){--mds-toast-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-toast-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error][tone=weak]){--mds-toast-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-toast-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=info]),:host([variant=info][tone=strong]){--mds-toast-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-toast-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info][tone=weak]){--mds-toast-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-toast-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=light]),:host([variant=light][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([variant=light][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([variant=success]),:host([variant=success][tone=strong]){--mds-toast-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-toast-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success][tone=weak]){--mds-toast-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-toast-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning]),:host([variant=warning][tone=strong]){--mds-toast-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-toast-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning][tone=weak]){--mds-toast-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-toast-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}.to-top-center,.to-top-left,.to-top-right{transform:translateY(calc(-100% - var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,var(--duration-300)));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-top-center.dialog--visible,.to-top-left.dialog--visible,.to-top-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.to-bottom-center,.to-bottom-left,.to-bottom-right{transform:translateY(calc(100% + var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,var(--duration-300)));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-bottom-center.dialog--visible,.to-bottom-left.dialog--visible,.to-bottom-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400*-1));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}:host([stacked]){inset:auto;position:relative;transition-behavior:allow-discrete;transition-duration:var(--private-toast-transition-duration);transition-property:display;z-index:auto}:host([stacked]:not([visible])),:host([stacked][visible=false]){display:none}:host([stacked]) .dialog:not(.dialog--visible){opacity:0;transform:none}@starting-style{:host([stacked]) .dialog--visible{opacity:0;transform:none}}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}:host([pref-contrast=more]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}}'}},[257,"mds-toast",{duration:[1538],visible:[1540],variant:[513],tone:[513],position:[1537],deletable:[4],hasActions:[32],stacked:[32]},void 0,{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}]),w=x,y=function(){"undefined"!=typeof customElements&&["mds-toast","mds-button","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-toast":customElements.get(r(t))||customElements.define(r(t),x);break;case"mds-button":customElements.get(r(t))||h();break;case"mds-icon":customElements.get(r(t))||l();break;case"mds-spinner":customElements.get(r(t))||v();break;case"mds-text":customElements.get(r(t))||p()}}))};export{w as MdsToast,y as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-BLXRGNya.js";const a=o,p=s;export{a as MdsTooltip,p as defineCustomElement}
1
+ import{M as o,d as s}from"./p-D8wd-EZX.js";const p=o,r=s;export{p as MdsTooltip,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as r,h as o,c as i,t as a}from"./p-B2p5a1Y8.js";import{c as n}from"./p-ChV9xqsO.js";import{h as s}from"./p-DWIIDHSa.js";import{L as d}from"./p-B9dgiq4u.js";import{c as l}from"./p-CWk1SCJg.js";import{d as c}from"./p-BUr3NqxM.js";import{d as g}from"./p-cIZniMh0.js";import{d as m}from"./p-B6B6q5kP.js";import{d as h}from"./p-DezdwzYQ.js";var v={expand:"Ανάπτυξη {{ label }}",collapse:"Σύμπτυξη {{ label }}"},p={expand:"Expand {{ label }}",collapse:"Collapse {{ label }}"},b={expand:"Expandir {{ label }}",collapse:"Contraer {{ label }}"},f={expand:"Espandi {{ label }}",collapse:"Contrai {{ label }}"};const u=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.expandEvent=r(this,"mdsTreeItemExpand",7),this.collapsedEvent=r(this,"mdsTreeItemCollapse",7),this.hasActions=!1,this.hasChildren=!1,this.t=new d({el:v,en:p,es:b,it:f}),this.truncate="word",this.checkChildrenTransitionEnd=()=>{this.childrenElement.classList.contains("children--expanded")||this.childrenElement.classList.add("children--hidden")},this.updateToggleIcon=()=>{this.currentToggleIcon="folder"!==this.toggle?'<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>':this.expanded?'<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>':'<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>'},this.onClick=()=>{!this.async||this.expanded?this.updateToggle():this.idle()},this.idle=()=>{this.await=!0,this.expandEvent.emit({element:this.host})},this.updateToggle=()=>{this.expanded=!this.expanded,this.updateToggleIcon()},this.updateCssCustomProperty=()=>{const e=window.getComputedStyle(this.host);this.cssToggleChildrenDuration=e.getPropertyValue("--mds-tree-item-transition-duration")},this.resolveActions=()=>{var e;const t=this.host.closest("mds-tree-item[actions], mds-tree[actions]");this.resolvedActions=null!==(e=null==t?void 0:t.getAttribute("actions"))&&void 0!==e?e:"auto"},this.expandedState=()=>this.hasChildren||this.async?!!this.expanded+"":void 0,this.onActionSlotChange=()=>{this.hasActions=s(this.host,"action")},this.updateHasChildren=()=>{this.hasChildren=!!this.host.querySelector("mds-tree-item")}}handleIconChange(){this.updateToggleIcon()}handleExpandedChange(e){var t;this.updateToggleIcon(),e?null===(t=this.childrenElement)||void 0===t||t.classList.remove("children--hidden"):(this.updateCssCustomProperty(),this.toggleChildrenTimer=setTimeout((()=>{clearTimeout(this.toggleChildrenTimer),this.collapsedEvent.emit({element:this.host})}),l(this.cssToggleChildrenDuration,0)))}async expand(){this.expanded=!0,this.await=!1,this.updateToggleIcon()}handleActionsChange(){this.resolveActions()}async refreshActions(){this.resolveActions()}componentWillLoad(){this.updateToggleIcon(),this.resolveActions(),this.hasActions=s(this.host,"action"),this.updateHasChildren()}componentDidLoad(){var e;this.updateCssCustomProperty(),this.childrenElement=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".children"),this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)}disconnectedCallback(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)}render(){return o(i,{key:"735098e78ac200244db7f011e0d60f5111324af1","resolved-actions":this.resolvedActions,role:"listitem"},o("div",{key:"c416d0e4ced03af6ea187fe85dd99edd1634f7de",class:n("header",this.hasChildren&&"header--has-children")},o("div",{key:"07952207361f352ad77724a181d1177a61aedfe7",class:"tree-node"},o("div",{key:"a6a3b6cfadd34471fcc0236e37653008b53a3c6b",class:"tree-branch"}),o("div",{key:"ed2ace03fa2e4d94994d35c66d7083a02ddd85b3",class:"tree-dot"})),o("div",{key:"3f5dd3c32641cd32157e1ad9ca61b9653719e991",class:"toggle-icon"},o("mds-button",{key:"a24fe48961109b728eafecf0fd1a95debfd6dc1c","aria-expanded":this.expandedState(),await:this.await,onClick:this.onClick,icon:this.await?void 0:this.currentToggleIcon,title:this.t.get(this.expanded?"collapse":"expand",{label:this.label}),variant:"dark",tone:"text",size:"sm"})),o("div",{key:"2508c264bb305a850f5de7f5338a93d2b7256812",class:"title"},o("mds-button",{key:"a700b659554c64c9d1ac43de263630d403b923e2","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}),o("div",{key:"875dc79ae0953f8f2ad24c1680fbf2f31e6b5392",class:n("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},o("div",{key:"a27e94d38d41a1ce1146fd1f3f9cd4ade4ce7e3b",class:"actions",part:"actions-list"},o("slot",{key:"384a111728b3fb61d6444c34d53781e9d5898135",name:"action",onSlotchange:this.onActionSlotChange}))))),o("div",{key:"2303bbbd30f35902771fdb9c877e205698c1ea64",class:n("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded"),role:this.hasChildren?"list":void 0},o("slot",{key:"03b549736e3f0dfcfdd72cd9793c0fb475c8b409",onSlotchange:this.updateHasChildren})))}get host(){return this}static get watchers(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}}static get style(){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{--duration-300:.3s;--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)}'}},[257,"mds-tree-item",{actions:[513],async:[516],depth:[514],label:[1],toggle:[513],togglePosition:[513,"toggle-position"],appearance:[513],expanded:[1540],truncate:[513],icon:[1],hasActions:[32],hasChildren:[32],currentToggleIcon:[32],await:[32],resolvedActions:[32],expand:[64],refreshActions:[64]},void 0,{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}]),x=u,y=function(){"undefined"!=typeof customElements&&["mds-tree-item","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-tree-item":customElements.get(a(e))||customElements.define(a(e),u);break;case"mds-button":customElements.get(a(e))||c();break;case"mds-icon":customElements.get(a(e))||g();break;case"mds-spinner":customElements.get(a(e))||m();break;case"mds-text":customElements.get(a(e))||h()}}))};export{x as MdsTreeItem,y as defineCustomElement}
1
+ import{p as e,H as t,d as r,h as o,c as i,t as a}from"./p-TZJN-ygm.js";import{c as n}from"./p-ChV9xqsO.js";import{h as s}from"./p-DWIIDHSa.js";import{L as d}from"./p-CZjwSwe5.js";import{c}from"./p-CWk1SCJg.js";import{d as l}from"./p-ClPv-Ljc.js";import{d as g}from"./p-Cmn1DJAB.js";import{d as m}from"./p-ZuubAcA3.js";import{d as h}from"./p-CNF3u0Li.js";var v={expand:"Ανάπτυξη {{ label }}",collapse:"Σύμπτυξη {{ label }}"},p={expand:"Expand {{ label }}",collapse:"Collapse {{ label }}"},b={expand:"Expandir {{ label }}",collapse:"Contraer {{ label }}"},u={expand:"Espandi {{ label }}",collapse:"Contrai {{ label }}"};const f=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.expandEvent=r(this,"mdsTreeItemExpand",7),this.collapsedEvent=r(this,"mdsTreeItemCollapse",7),this.hasActions=!1,this.hasChildren=!1,this.t=new d({el:v,en:p,es:b,it:u}),this.truncate="word",this.checkChildrenTransitionEnd=()=>{this.childrenElement.classList.contains("children--expanded")||this.childrenElement.classList.add("children--hidden")},this.updateToggleIcon=()=>{this.currentToggleIcon="folder"!==this.toggle?'<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>':this.expanded?'<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>':'<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>'},this.onClick=()=>{!this.async||this.expanded?this.updateToggle():this.idle()},this.idle=()=>{this.await=!0,this.expandEvent.emit({element:this.host})},this.updateToggle=()=>{this.expanded=!this.expanded,this.updateToggleIcon()},this.updateCssCustomProperty=()=>{const e=window.getComputedStyle(this.host);this.cssToggleChildrenDuration=e.getPropertyValue("--mds-tree-item-transition-duration")},this.resolveActions=()=>{var e;const t=this.host.closest("mds-tree-item[actions], mds-tree[actions]");this.resolvedActions=null!==(e=null==t?void 0:t.getAttribute("actions"))&&void 0!==e?e:"auto"},this.expandedState=()=>this.hasChildren||this.async?!!this.expanded+"":void 0,this.onActionSlotChange=()=>{this.hasActions=s(this.host,"action")},this.updateHasChildren=()=>{this.hasChildren=!!this.host.querySelector("mds-tree-item")}}handleIconChange(){this.updateToggleIcon()}handleExpandedChange(e){var t;this.updateToggleIcon(),e?null===(t=this.childrenElement)||void 0===t||t.classList.remove("children--hidden"):(this.updateCssCustomProperty(),this.toggleChildrenTimer=setTimeout((()=>{clearTimeout(this.toggleChildrenTimer),this.collapsedEvent.emit({element:this.host})}),c(this.cssToggleChildrenDuration,0)))}async expand(){this.expanded=!0,this.await=!1,this.updateToggleIcon()}handleActionsChange(){this.resolveActions()}async refreshActions(){this.resolveActions()}componentWillLoad(){this.updateToggleIcon(),this.resolveActions(),this.hasActions=s(this.host,"action"),this.updateHasChildren()}componentDidLoad(){var e;this.updateCssCustomProperty(),this.childrenElement=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".children"),this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)}disconnectedCallback(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)}render(){return o(i,{key:"62f6578da814eca8dbbe28fb4b7ae25d9a80bdb0","resolved-actions":this.resolvedActions,role:"listitem"},o("div",{key:"49f6392fd8fb126653a072a328279d4f2876aee0",class:n("header",this.hasChildren&&"header--has-children")},o("div",{key:"4c0ba4aa367a590dfadab05dd61749b0d6db14e7",class:"tree-node"},o("div",{key:"8667d8e079532e2deb9aaf1b4e3452e697ac5dd9",class:"tree-branch"}),o("div",{key:"eb7d8b1c965ce4dfc9db7058b6c14014dd23fdd6",class:"tree-dot"})),o("div",{key:"d97a80c82738fbf657b6e13b460c5d3f30328d44",class:"toggle-icon"},o("mds-button",{key:"144567e58c8731627ed1e14696ad7c2db5853bec","aria-expanded":this.expandedState(),await:this.await,onClick:this.onClick,icon:this.await?void 0:this.currentToggleIcon,title:this.t.get(this.expanded?"collapse":"expand",{label:this.label}),variant:"dark",tone:"text",size:"sm"})),o("div",{key:"9251c31645093cb0747fc72dc6ee9a58cd9d77ec",class:"title"},o("mds-button",{key:"b39232fc5e8a76d14f4cf4ef78246b83e1313d5c","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}),o("div",{key:"4b37c8436801835e361b3980d2ed1cabedc0e031",class:n("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},o("div",{key:"d79fc52536adcc0080ac821eb610221ddaf2a71a",class:"actions",part:"actions-list"},o("slot",{key:"cd485c899c58f2f0fd252efd8af6ec39d47d2b6e",name:"action",onSlotchange:this.onActionSlotChange}))))),o("div",{key:"2fc0379160a6c83e12ee1c25c348caf130ec4a0c",class:n("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded"),role:this.hasChildren?"list":void 0},o("slot",{key:"ef14e2f88314b512097b0f0abfe8ad318056ec1d",onSlotchange:this.updateHasChildren})))}get host(){return this}static get watchers(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}}static get style(){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)}'}},[257,"mds-tree-item",{actions:[513],async:[516],depth:[514],label:[1],toggle:[513],togglePosition:[513,"toggle-position"],appearance:[513],expanded:[1540],truncate:[513],icon:[1],hasActions:[32],hasChildren:[32],currentToggleIcon:[32],await:[32],resolvedActions:[32],expand:[64],refreshActions:[64]},void 0,{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}]),x=f,y=function(){"undefined"!=typeof customElements&&["mds-tree-item","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-tree-item":customElements.get(a(e))||customElements.define(a(e),f);break;case"mds-button":customElements.get(a(e))||l();break;case"mds-icon":customElements.get(a(e))||g();break;case"mds-spinner":customElements.get(a(e))||m();break;case"mds-text":customElements.get(a(e))||h()}}))};export{x as MdsTreeItem,y as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as a,h as t,c as r,t as o}from"./p-B2p5a1Y8.js";import{a as n,o as s}from"./p-DWIIDHSa.js";const i=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.elements=[],this.childrenElements=[],this.syncedItems=new WeakSet,this.appearance="depth",this.toggle="chevron",this.togglePosition="left",this.truncate="word",this.actions="auto",this.updateChildrenExpanded=e=>{this.childrenElements.forEach((a=>{a.async||(a.expanded=e)}))},this.updateChildrenToggle=e=>{this.childrenElements.forEach((a=>{a.toggle=e}))},this.updateChildrenTogglePosition=e=>{this.childrenElements.forEach((a=>{a.togglePosition=e}))},this.updateChildrenAppearance=e=>{this.childrenElements.forEach((a=>{a.appearance=e}))},this.updateChildrenTruncate=e=>{this.childrenElements.forEach((a=>{a.truncate=e}))},this.updateElements=()=>{var e,a,t;this.elements=null!==(t=null===(a=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector("slot"))||void 0===a?void 0:a.assignedElements())&&void 0!==t?t:[],this.updateZIndex()},this.updateZIndex=()=>{this.elements.forEach(((e,a)=>{e.style.zIndex=""+(this.elements.length-a)}))},this.syncItems=()=>{this.childrenElements=Array.from(this.host.querySelectorAll("mds-tree-item")),this.childrenElements.forEach((e=>{this.syncedItems.has(e)||(this.syncedItems.add(e),e.truncate=this.truncate,e.toggle=this.toggle,e.togglePosition=this.togglePosition,e.appearance=this.appearance,void 0===this.expanded||e.async||(e.expanded=this.expanded))})),n(this.host,"mds-tree-item").forEach((e=>{e.depth=0}))}}handleExpandedChange(e){this.updateChildrenExpanded(e)}handleToggleChange(e){this.updateChildrenToggle(e)}handleTogglePositionChange(e){this.updateChildrenTogglePosition(e)}handleAppearanceChange(e){this.updateChildrenAppearance(e)}handleActionsChange(){this.childrenElements.forEach((e=>{e.refreshActions()}))}handleTruncateChange(e){this.updateChildrenTruncate(e)}componentWillLoad(){this.syncItems(),s(this.host,this.syncItems)}render(){var e;return t(r,{key:"673bb84fefbaa2ff7b008be5529d80799751f57c","aria-label":""!==(null!==(e=this.label)&&void 0!==e?e:"")?this.label:void 0,role:"list"},t("slot",{key:"8b4283791c2ed5d5e33fcf0a7ced0186fba1bd22",onSlotchange:this.updateElements}))}get host(){return this}static get watchers(){return{expanded:[{handleExpandedChange:0}],toggle:[{handleToggleChange:0}],togglePosition:[{handleTogglePositionChange:0}],appearance:[{handleAppearanceChange:0}],actions:[{handleActionsChange:0}],truncate:[{handleTruncateChange:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-tree-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tree-actions-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-tree-actions-gap:calc(var(--spacing,.0025rem)*50);--mds-tree-label-default-background:#0000;--mds-tree-label-hover-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tree-label-icon-default-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-tree-label-icon-hover-color:var(--mds-tree-label-icon-default-color);--mds-tree-line-clamp:2;--mds-tree-branch-border-color:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-tree-branch-use-rounded-border:true;--mds-tree-branch-border-size:calc(var(--spacing,.0025rem)*50);--mds-tree-branch-dot-default-color:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-tree-branch-dot-expanded-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tree-toggle-gap:calc(var(--spacing,.0025rem)*100);--mds-tree-toggle-icon-async-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-tree-toggle-icon-async-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-tree-toggle-icon-chevron-default-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-tree-toggle-icon-chevron-default-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-tree-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-toggle-icon-folder-default-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-tree-toggle-icon-folder-default-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-tree-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-toggle-icon-position-right-default-background:#0000;--mds-tree-toggle-icon-position-right-default-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tree-toggle-icon-position-right-expanded-background:#0000;--mds-tree-toggle-icon-position-right-expanded-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tree-transition-duration:.3s;--mds-tree-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));--mds-tree-toggle-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-tree-toggle-size:calc(var(--spacing,.0025rem)*900);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-sm,var(--radius-squircle-sm,16px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;padding:calc(var(--spacing,.0025rem)*50);transition-duration:var(--duration-200,.2s);transition-property:background-color}@property --tw-ease{syntax:"*";inherits:false}'}},[257,"mds-tree",{appearance:[513],async:[516],label:[1],toggle:[513],togglePosition:[513,"toggle-position"],expanded:[1540],truncate:[513],actions:[513]},void 0,{expanded:[{handleExpandedChange:0}],toggle:[{handleToggleChange:0}],togglePosition:[{handleTogglePositionChange:0}],appearance:[{handleAppearanceChange:0}],actions:[{handleActionsChange:0}],truncate:[{handleTruncateChange:0}]}]),d=i,l=function(){"undefined"!=typeof customElements&&["mds-tree"].forEach((e=>{"mds-tree"===e&&(customElements.get(o(e))||customElements.define(o(e),i))}))};export{d as MdsTree,l as defineCustomElement}
1
+ import{p as e,H as a,h as t,c as r,t as o}from"./p-TZJN-ygm.js";import{a as n,o as i}from"./p-DWIIDHSa.js";const s=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.elements=[],this.childrenElements=[],this.syncedItems=new WeakSet,this.appearance="depth",this.toggle="chevron",this.togglePosition="left",this.truncate="word",this.actions="auto",this.updateChildrenExpanded=e=>{this.childrenElements.forEach((a=>{a.async||(a.expanded=e)}))},this.updateChildrenToggle=e=>{this.childrenElements.forEach((a=>{a.toggle=e}))},this.updateChildrenTogglePosition=e=>{this.childrenElements.forEach((a=>{a.togglePosition=e}))},this.updateChildrenAppearance=e=>{this.childrenElements.forEach((a=>{a.appearance=e}))},this.updateChildrenTruncate=e=>{this.childrenElements.forEach((a=>{a.truncate=e}))},this.updateElements=()=>{var e,a,t;this.elements=null!==(t=null===(a=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector("slot"))||void 0===a?void 0:a.assignedElements())&&void 0!==t?t:[],this.updateZIndex()},this.updateZIndex=()=>{this.elements.forEach(((e,a)=>{e.style.zIndex=""+(this.elements.length-a)}))},this.syncItems=()=>{this.childrenElements=Array.from(this.host.querySelectorAll("mds-tree-item")),this.childrenElements.forEach((e=>{this.syncedItems.has(e)||(this.syncedItems.add(e),e.truncate=this.truncate,e.toggle=this.toggle,e.togglePosition=this.togglePosition,e.appearance=this.appearance,void 0===this.expanded||e.async||(e.expanded=this.expanded))})),n(this.host,"mds-tree-item").forEach((e=>{e.depth=0}))}}handleExpandedChange(e){this.updateChildrenExpanded(e)}handleToggleChange(e){this.updateChildrenToggle(e)}handleTogglePositionChange(e){this.updateChildrenTogglePosition(e)}handleAppearanceChange(e){this.updateChildrenAppearance(e)}handleActionsChange(){this.childrenElements.forEach((e=>{e.refreshActions()}))}handleTruncateChange(e){this.updateChildrenTruncate(e)}componentWillLoad(){this.syncItems(),i(this.host,this.syncItems)}render(){var e;return t(r,{key:"8ca85ed0f31d31f6eb6ed12a696ebb6bfca18f0f","aria-label":""!==(null!==(e=this.label)&&void 0!==e?e:"")?this.label:void 0,role:"list"},t("slot",{key:"674233f8e72a5cb0705ce95abcc889bee03d1411",onSlotchange:this.updateElements}))}get host(){return this}static get watchers(){return{expanded:[{handleExpandedChange:0}],toggle:[{handleToggleChange:0}],togglePosition:[{handleTogglePositionChange:0}],appearance:[{handleAppearanceChange:0}],actions:[{handleActionsChange:0}],truncate:[{handleTruncateChange:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-tree-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tree-actions-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-tree-actions-gap:calc(var(--spacing,.0025rem)*50);--mds-tree-label-default-background:#0000;--mds-tree-label-hover-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tree-label-icon-default-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-tree-label-icon-hover-color:var(--mds-tree-label-icon-default-color);--mds-tree-line-clamp:2;--mds-tree-branch-border-color:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-tree-branch-use-rounded-border:true;--mds-tree-branch-border-size:calc(var(--spacing,.0025rem)*50);--mds-tree-branch-dot-default-color:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-tree-branch-dot-expanded-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tree-toggle-gap:calc(var(--spacing,.0025rem)*100);--mds-tree-toggle-icon-async-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-tree-toggle-icon-async-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-tree-toggle-icon-chevron-default-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-tree-toggle-icon-chevron-default-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-tree-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-toggle-icon-folder-default-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-tree-toggle-icon-folder-default-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-tree-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-toggle-icon-position-right-default-background:#0000;--mds-tree-toggle-icon-position-right-default-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tree-toggle-icon-position-right-expanded-background:#0000;--mds-tree-toggle-icon-position-right-expanded-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tree-transition-duration:var(--duration-300,.3s);--mds-tree-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));--mds-tree-toggle-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-tree-toggle-size:calc(var(--spacing,.0025rem)*900);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-sm,var(--radius-squircle-sm,16px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;padding:calc(var(--spacing,.0025rem)*50);transition-duration:var(--duration-200,.2s);transition-property:background-color}@property --tw-ease{syntax:"*";inherits:false}'}},[257,"mds-tree",{appearance:[513],async:[516],label:[1],toggle:[513],togglePosition:[513,"toggle-position"],expanded:[1540],truncate:[513],actions:[513]},void 0,{expanded:[{handleExpandedChange:0}],toggle:[{handleToggleChange:0}],togglePosition:[{handleTogglePositionChange:0}],appearance:[{handleAppearanceChange:0}],actions:[{handleActionsChange:0}],truncate:[{handleTruncateChange:0}]}]),d=s,l=function(){"undefined"!=typeof customElements&&["mds-tree"].forEach((e=>{"mds-tree"===e&&(customElements.get(o(e))||customElements.define(o(e),s))}))};export{d as MdsTree,l as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as r,d as t,h as a,c as i,t as s}from"./p-B2p5a1Y8.js";import{m as o}from"./p-J-ikDhyq.js";import{K as n}from"./p-CGrPq3C4.js";import{L as d}from"./p-B9dgiq4u.js";import{p as m}from"./p-BlnEiKN4.js";import{d as l}from"./p-BUr3NqxM.js";import{d as c}from"./p-cIZniMh0.js";import{d as u}from"./p-B6B6q5kP.js";import{d as h}from"./p-DezdwzYQ.js";var p={close:"Κλείσιμο",iframeURL:"Στοιχείο iframe που περιέχει {{ url }}",previewURL:"Παράθυρο με προεπισκόπηση του {{ url }}"},f={close:"Close",iframeURL:"Iframe element containing {{ url }}",previewURL:"Window with a preview of {{ url }}"},v={close:"Cerrar",iframeURL:"Elemento iframe que contiene {{ url }}",previewURL:"Ventana con vista previa de {{ url }}"},w={close:"Chiudi",iframeURL:"Elemento iframe contentente {{ url }}",previewURL:"Finestra con anteprima di {{ url }}"};const b=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.closeEvent=t(this,"mdsUrlViewClose",7),this.km=new n,this.t=new d({el:p,en:f,es:v,it:w}),this.loading="lazy",this.urlDomain=e=>{try{return new URL(e).hostname.replace("www.","")}catch(r){return null!=e?e:""}},this.closeUrlView=()=>{var e;this.closeEvent.emit(),null===(e=this.host.closest("mds-modal"))||void 0===e||e.close()}}componentDidLoad(){var e,r;const t=null!==(r=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".action-close"))&&void 0!==r?r:null;null!==t&&(this.km.addElement(t),this.km.attachClickBehavior())}disconnectedCallback(){this.km.detachClickBehavior()}render(){var e,r;return a(i,{key:"81210ea63d29c64a1ed031beb2223388bdc880f1","aria-label":this.t.get("previewURL",{url:this.urlDomain(this.src)}),"pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},a("div",{key:"9883edfd2dfe19d6e7c91895ce5e4e2ff7a7c77f",class:"window"},a("div",{key:"e163aba5869f20540d0a4167ee9b6277d4e6dcc4",class:"header"},a("mds-icon",{key:"5715857dcea608230a1a792124fdeb4280275418",class:"window-icon",name:null!==(e=this.icon)&&void 0!==e?e:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"/></svg>'}),a("mds-text",{key:"519777ddff21db654c762f0423ff200a1c8b23f9",class:"title",typography:"caption"},null!==(r=this.label)&&void 0!==r?r:this.urlDomain(this.src)),a("mds-button",{key:"1a31ed914bd4579c8039bd94e4025ead23ad5a69",title:this.t.get("close"),class:"action-close",variant:"dark",tone:"text",icon:o,onClick:this.closeUrlView})),a("iframe",{key:"320b282acc95b691c4090d6afe22e206838d92c6",class:"iframe","aria-label":this.t.get("iframeURL",{url:this.urlDomain(this.src)}),src:this.src,loading:this.loading})))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-url-view-transition-duration:var(--duration-200,.2s);--private-url-view-transition-duration:var(--mds-url-view-transition-duration);--mds-modal-custom-window-distance:0px;--mds-url-view-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-url-view-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-url-view-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));--mds-url-view-header-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-url-view-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-sizing:border-box;display:flex;flex-direction:column;height:100vh;margin:0;padding:calc(var(--spacing,.0025rem)*400)}.window{border-radius:var(--mds-url-view-radius,var(--magma-radius-md,var(--radius-squircle-md,20px)));box-shadow:var(--mds-url-view-shadow);corner-shape:var(--magma-corner-shape,squircle);flex-direction:column;flex-grow:1;overflow:hidden;width:100%}.header,.window{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-url-view-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));display:flex;transition-duration:var(--private-url-view-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.header{align-items:center;box-shadow:var(--mds-url-view-header-shadow);color:var(--mds-url-view-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));flex-shrink:0;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;padding:calc(var(--spacing,.0025rem)*200);position:relative}.title{flex-grow:1;min-width:0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.window-icon{flex-shrink:0}.button-close,.window-icon{fill:var(--mds-url-view-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.button-close{cursor:pointer}.iframe{border:0;flex-grow:1;margin:0;padding:0;width:100%}: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-url-view-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-url-view-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-url-view-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-url-view-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-url-view-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-url-view-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'}},[1,"mds-url-view",{icon:[513],label:[513],src:[513],loading:[513]}]),g=b,x=function(){"undefined"!=typeof customElements&&["mds-url-view","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-url-view":customElements.get(s(e))||customElements.define(s(e),b);break;case"mds-button":customElements.get(s(e))||l();break;case"mds-icon":customElements.get(s(e))||c();break;case"mds-spinner":customElements.get(s(e))||u();break;case"mds-text":customElements.get(s(e))||h()}}))};export{g as MdsUrlView,x as defineCustomElement}
1
+ import{p as e,H as r,d as t,h as a,c as i,t as s}from"./p-TZJN-ygm.js";import{m as o}from"./p-J-ikDhyq.js";import{K as n}from"./p-CGrPq3C4.js";import{L as d}from"./p-CZjwSwe5.js";import{p as m}from"./p-CVRN4LDc.js";import{d as l}from"./p-ClPv-Ljc.js";import{d as c}from"./p-Cmn1DJAB.js";import{d as u}from"./p-ZuubAcA3.js";import{d as h}from"./p-CNF3u0Li.js";var p={close:"Κλείσιμο",iframeURL:"Στοιχείο iframe που περιέχει {{ url }}",previewURL:"Παράθυρο με προεπισκόπηση του {{ url }}"},f={close:"Close",iframeURL:"Iframe element containing {{ url }}",previewURL:"Window with a preview of {{ url }}"},v={close:"Cerrar",iframeURL:"Elemento iframe que contiene {{ url }}",previewURL:"Ventana con vista previa de {{ url }}"},w={close:"Chiudi",iframeURL:"Elemento iframe contentente {{ url }}",previewURL:"Finestra con anteprima di {{ url }}"};const b=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.closeEvent=t(this,"mdsUrlViewClose",7),this.km=new n,this.t=new d({el:p,en:f,es:v,it:w}),this.loading="lazy",this.urlDomain=e=>{try{return new URL(e).hostname.replace("www.","")}catch(r){return null!=e?e:""}},this.closeUrlView=()=>{var e;this.closeEvent.emit(),null===(e=this.host.closest("mds-modal"))||void 0===e||e.close()}}componentDidLoad(){var e,r;const t=null!==(r=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".action-close"))&&void 0!==r?r:null;null!==t&&(this.km.addElement(t),this.km.attachClickBehavior())}disconnectedCallback(){this.km.detachClickBehavior()}render(){var e,r;return a(i,{key:"c7a83fbb9196af451a46a728a531788a90334d79","aria-label":this.t.get("previewURL",{url:this.urlDomain(this.src)}),"pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},a("div",{key:"82ebed00bf4389945583a89b965eb684b86e6e41",class:"window"},a("div",{key:"f227911b5aca62434fdba6b25d0dc4484be4c713",class:"header"},a("mds-icon",{key:"a22171db3326409f58f64d6815491640b8272f41",class:"window-icon",name:null!==(e=this.icon)&&void 0!==e?e:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"/></svg>'}),a("mds-text",{key:"0de6d35714f5cbedba200a27d656a6050a41d424",class:"title",typography:"caption"},null!==(r=this.label)&&void 0!==r?r:this.urlDomain(this.src)),a("mds-button",{key:"1faea442e4aa5d0563b2d5ff3002952b96d44872",title:this.t.get("close"),class:"action-close",variant:"dark",tone:"text",icon:o,onClick:this.closeUrlView})),a("iframe",{key:"10617e95457386449f0828c78abb0862d556a2f6",class:"iframe","aria-label":this.t.get("iframeURL",{url:this.urlDomain(this.src)}),src:this.src,loading:this.loading})))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-url-view-transition-duration:var(--duration-200,.2s);--private-url-view-transition-duration:var(--mds-url-view-transition-duration);--mds-modal-custom-window-distance:0px;--mds-url-view-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-url-view-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-url-view-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));--mds-url-view-header-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-url-view-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-sizing:border-box;display:flex;flex-direction:column;height:100vh;margin:0;padding:calc(var(--spacing,.0025rem)*400)}.window{border-radius:var(--mds-url-view-radius,var(--magma-radius-md,var(--radius-squircle-md,20px)));box-shadow:var(--mds-url-view-shadow);corner-shape:var(--magma-corner-shape,squircle);flex-direction:column;flex-grow:1;overflow:hidden;width:100%}.header,.window{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-url-view-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));display:flex;transition-duration:var(--private-url-view-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.header{align-items:center;box-shadow:var(--mds-url-view-header-shadow);color:var(--mds-url-view-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));flex-shrink:0;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;padding:calc(var(--spacing,.0025rem)*200);position:relative}.title{flex-grow:1;min-width:0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.window-icon{flex-shrink:0}.button-close,.window-icon{fill:var(--mds-url-view-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.button-close{cursor:pointer}.iframe{border:0;flex-grow:1;margin:0;padding:0;width:100%}: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-url-view-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-url-view-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-url-view-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-url-view-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-url-view-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-url-view-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'}},[1,"mds-url-view",{icon:[513],label:[513],src:[513],loading:[513]}]),g=b,x=function(){"undefined"!=typeof customElements&&["mds-url-view","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-url-view":customElements.get(s(e))||customElements.define(s(e),b);break;case"mds-button":customElements.get(s(e))||l();break;case"mds-icon":customElements.get(s(e))||c();break;case"mds-spinner":customElements.get(s(e))||u();break;case"mds-text":customElements.get(s(e))||h()}}))};export{g as MdsUrlView,x as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as r,h as e,c as o,t}from"./p-B2p5a1Y8.js";import{m as s}from"./p-BJ8rpzfj.js";import{m as n}from"./p-BFhO-KUe.js";import{L as i}from"./p-B9dgiq4u.js";import{p as d}from"./p-BlnEiKN4.js";import{d as m}from"./p-cIZniMh0.js";import{d as c}from"./p-DezdwzYQ.js";const g={do:n,dont:s,info:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>',warn:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M1 21h22L12 2L1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></svg>'};var h={do:"Επιτρέπεται",dont:"Δεν επιτρέπεται",info:"Πληροφορία",warn:"Προειδοποίηση"},p={do:"Allowed",dont:"Not allowed",info:"Information",warn:"Warning"},l={do:"Permitido",dont:"No permitido",info:"Información",warn:"Advertencia"},u={do:"Consentito",dont:"Non consentito",info:"Informazione",warn:"Attenzione"};const v=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.t=new i({el:h,en:p,es:l,it:u}),this.variant="info"}render(){var a,r;const t=this.icon||(null!==(a=g[this.variant])&&void 0!==a?a:g.info);return e(o,{key:"209bbed6ab848211f64f5294607e4a2996b96bae","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("div",{key:"77abb8314b39d0b489d4a212325cfac68949c01d",class:"header",part:"header"},e("mds-icon",{key:"e91dfd0dfebc826faab91f6efc1cdf2f4fd91a9d",name:t,part:"icon"}),e("mds-text",{key:"91f4278ce4846b116127c6499a00bde3a3ab4039",typography:"label",class:"label",part:"label"},null!==(r=this.alias)&&void 0!==r?r:this.t.get(this.variant))),e("div",{key:"c6ec35f014fa7a69c06c7b24de03602a939e6834",class:"content"},e("slot",{key:"75ed5c1e4ae209eadb12af1eb1c2d495ce7a6705"})))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(: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-usage-border-color:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-usage-header-background:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));--mds-usage-header-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-usage-transition-duration:var(--duration-200,.2s);--private-usage-transition-duration:var(--mds-usage-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-color:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));border-style:solid;border-width:calc(var(--spacing,.0025rem)*50);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*200);grid-auto-rows:min-content;grid-template-columns:minmax(0,100%);padding:calc(var(--spacing,.0025rem)*400);padding-top:0;position:relative;transition-duration:var(--private-usage-transition-duration);transition-property:background-color,box-shadow,color;width:100%}.label{color:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}mds-icon{fill:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}.header{background-color:var(--mds-usage-header-background,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-bottom-left-radius:var(--magma-radius-xs,var(--radius-squircle-xs,14px));border-bottom-right-radius:var(--magma-radius-xs,var(--radius-squircle-xs,14px));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);height:calc(var(--spacing,.0025rem)*600);justify-self:start;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}: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-usage-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([variant=do]){--mds-usage-border-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-usage-header-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]){--mds-usage-border-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-usage-header-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=dont]){--mds-usage-border-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-usage-header-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warn]){--mds-usage-border-color:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-usage-header-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-usage-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))}}'}},[257,"mds-usage",{variant:[513],alias:[1],icon:[1]}]),f=v,b=function(){"undefined"!=typeof customElements&&["mds-usage","mds-icon","mds-text"].forEach((a=>{switch(a){case"mds-usage":customElements.get(t(a))||customElements.define(t(a),v);break;case"mds-icon":customElements.get(t(a))||m();break;case"mds-text":customElements.get(t(a))||c()}}))};export{f as MdsUsage,b as defineCustomElement}
1
+ import{p as a,H as r,h as e,c as o,t}from"./p-TZJN-ygm.js";import{m as s}from"./p-BJ8rpzfj.js";import{m as n}from"./p-BFhO-KUe.js";import{L as i}from"./p-CZjwSwe5.js";import{p as d}from"./p-CVRN4LDc.js";import{d as m}from"./p-Cmn1DJAB.js";import{d as c}from"./p-CNF3u0Li.js";const g={do:n,dont:s,info:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>',warn:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M1 21h22L12 2L1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></svg>'};var h={do:"Επιτρέπεται",dont:"Δεν επιτρέπεται",info:"Πληροφορία",warn:"Προειδοποίηση"},p={do:"Allowed",dont:"Not allowed",info:"Information",warn:"Warning"},l={do:"Permitido",dont:"No permitido",info:"Información",warn:"Advertencia"},u={do:"Consentito",dont:"Non consentito",info:"Informazione",warn:"Attenzione"};const v=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.t=new i({el:h,en:p,es:l,it:u}),this.variant="info"}render(){var a,r;const t=this.icon||(null!==(a=g[this.variant])&&void 0!==a?a:g.info);return e(o,{key:"3c72445be39a3d6e9cce542e3f9fe649435321ed","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("div",{key:"f3a43ea7e7d5ea8ea035828870ffa6b73aeb34b3",class:"header",part:"header"},e("mds-icon",{key:"e788c79ec731797f46101e181bc851e71caf897b",name:t,part:"icon"}),e("mds-text",{key:"986ebcce6d26ecfc5969e1fc3447aabbb0f93470",typography:"label",class:"label",part:"label"},null!==(r=this.alias)&&void 0!==r?r:this.t.get(this.variant))),e("div",{key:"09c477dbc3fcd598c1386f41c4bc989a52e23bfb",class:"content"},e("slot",{key:"9f8e040a3612950ab9c3ef0ac2f0d2c5cd21154b"})))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(: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-usage-border-color:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-usage-header-background:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));--mds-usage-header-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-usage-transition-duration:var(--duration-200,.2s);--private-usage-transition-duration:var(--mds-usage-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-color:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));border-style:solid;border-width:calc(var(--spacing,.0025rem)*50);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*200);grid-auto-rows:min-content;grid-template-columns:minmax(0,100%);padding:calc(var(--spacing,.0025rem)*400);padding-top:0;position:relative;transition-duration:var(--private-usage-transition-duration);transition-property:background-color,box-shadow,color;width:100%}.label{color:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}mds-icon{fill:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}.header{background-color:var(--mds-usage-header-background,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-bottom-left-radius:var(--magma-radius-xs,var(--radius-squircle-xs,14px));border-bottom-right-radius:var(--magma-radius-xs,var(--radius-squircle-xs,14px));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);height:calc(var(--spacing,.0025rem)*600);justify-self:start;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}: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-usage-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([variant=do]){--mds-usage-border-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-usage-header-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]){--mds-usage-border-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-usage-header-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=dont]){--mds-usage-border-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-usage-header-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warn]){--mds-usage-border-color:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-usage-header-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-usage-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))}}'}},[257,"mds-usage",{variant:[513],alias:[1],icon:[1]}]),f=v,b=function(){"undefined"!=typeof customElements&&["mds-usage","mds-icon","mds-text"].forEach((a=>{switch(a){case"mds-usage":customElements.get(t(a))||customElements.define(t(a),v);break;case"mds-icon":customElements.get(t(a))||m();break;case"mds-text":customElements.get(t(a))||c()}}))};export{f as MdsUsage,b as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as o,h as i,c as a,t}from"./p-B2p5a1Y8.js";import{p as s}from"./p-BlnEiKN4.js";import{h as n}from"./p-DWIIDHSa.js";import{c as A}from"./p-ChV9xqsO.js";const r=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.autoplay=!0,this.loop=!0,this.muted=!0,this.noise="none",this.preload="auto",this.onContentSlotChange=()=>{this.hasContent=n(this.hostElement,"content")}}componentWillLoad(){this.hasContent=n(this.hostElement,"content")}render(){return i(a,{key:"eea74510b928459808c7b65768248849e8cf4c3a","pref-animation":s.state.animation},"none"!==this.noise&&i("div",{key:"3c637804a6ee53374ff70a39850e93753b4a9831","aria-hidden":"true",class:A("noise","noise--"+this.noise)}),i("video",{key:"66f4e69d07e47acbe05dab63e3fa9a7ef2f8f5ca","aria-hidden":"true",autoplay:this.autoplay,loop:this.loop,muted:this.muted,poster:this.poster,preload:this.preload,src:this.src},i("slot",{key:"ccc5843752c39fadbd4e5ef7397d7b4b334be28f"})),i("div",{key:"c569ec976798220e17ea95c81954fb34c5fe1f53",class:A("content",!this.hasContent&&"content--hidden")},i("slot",{key:"e51c4f6fb39469e175278ab9ce45b2f75a90ee56",name:"content",onSlotchange:this.onContentSlotChange})))}get hostElement(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-video-wall-noise-background-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))/.8);--mds-video-wall-noise-background-size:auto;--mds-video-wall-noise-filter:none;--mds-video-wall-video-fit:cover;aspect-ratio:var(--aspect-video,16/9);background-color:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));display:flex;position:relative}.content{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%;z-index:3}.content--hidden{display:none}.noise,video{height:100%;inset:0;position:absolute;width:100%}video{object-fit:var(--mds-video-wall-video-fit,cover);z-index:1}:host([pref-animation=reduce]) video{display:none}.noise{background-color:var(--mds-video-wall-noise-background-color,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))/.8));background-size:var(--mds-video-wall-noise-background-size,auto);filter:var(--mds-video-wall-noise-filter);z-index:2}.noise--classic{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAALElEQVQYV2NkwAEYoeIzGRgYtjAwMGxmYGAAs2ESvlBBkDowGyaBYSDpRgEAkLwKoa+v7O8AAAAASUVORK5CYII=)}.noise--sharp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAOklEQVQoU2NkYGAwZoCAs2hssCAjNkFkMZACGMBqEswErMaDTEJWgNUkmBU4HYpNAYpJyI4ESWCYBAAe2A7Vb66lfAAAAABJRU5ErkJggg==)}.noise--soft{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAAOElEQVQYV2NkYGAwZoCA51BaEpnPiKTgLFQCpgHMR1aA0wQpbEYzMDCArQKZAAMoRsOsBinAawIAOXkJ1Ff0CjwAAAAASUVORK5CYII=)}.noise--tv{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMElEQVQYV2NkYGDwZcABGP8zKBuD5Bj/P4coEf0Kod8wSjH+Z5CVgki+RZc0HghJADPEICMR8Ep/AAAAAElFTkSuQmCC)}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])) video,:host([pref-animation=system]) video{display:none}}"}},[257,"mds-video-wall",{autoplay:[4],loop:[4],muted:[4],noise:[1],poster:[1],preload:[1],src:[1],hasContent:[32]}]),d=r,c=function(){"undefined"!=typeof customElements&&["mds-video-wall"].forEach((e=>{"mds-video-wall"===e&&(customElements.get(t(e))||customElements.define(t(e),r))}))};export{d as MdsVideoWall,c as defineCustomElement}
1
+ import{p as e,H as o,h as i,c as a,t}from"./p-TZJN-ygm.js";import{p as s}from"./p-CVRN4LDc.js";import{h as n}from"./p-DWIIDHSa.js";import{c as A}from"./p-ChV9xqsO.js";const d=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.autoplay=!0,this.loop=!0,this.muted=!0,this.noise="none",this.preload="auto",this.onContentSlotChange=()=>{this.hasContent=n(this.hostElement,"content")}}componentWillLoad(){this.hasContent=n(this.hostElement,"content")}render(){return i(a,{key:"783cc007a8667f71178ee3ff32b24faf118387ef","pref-animation":s.state.animation},"none"!==this.noise&&i("div",{key:"967a7e899fce3bedd4876a1f77c9a8f3ed35dc5d","aria-hidden":"true",class:A("noise","noise--"+this.noise)}),i("video",{key:"dc465d1d9669ca4f9847813d3152a2d8d403c7a0","aria-hidden":"true",autoplay:this.autoplay,loop:this.loop,muted:this.muted,poster:this.poster,preload:this.preload,src:this.src},i("slot",{key:"7fda35ad68827598d9ecb4e36c13fa9be9f31a51"})),i("div",{key:"92314e0858f166d3d7395328ac04b4d7ee55e503",class:A("content",!this.hasContent&&"content--hidden")},i("slot",{key:"7c36d701cf26e533c45385b5b499bf3c3bcfef9e",name:"content",onSlotchange:this.onContentSlotChange})))}get hostElement(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-video-wall-noise-background-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))/.8);--mds-video-wall-noise-background-size:auto;--mds-video-wall-noise-filter:none;--mds-video-wall-video-fit:cover;aspect-ratio:var(--aspect-video,16/9);background-color:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));display:flex;position:relative}.content{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%;z-index:3}.content--hidden{display:none}.noise,video{height:100%;inset:0;position:absolute;width:100%}video{object-fit:var(--mds-video-wall-video-fit,cover);z-index:1}:host([pref-animation=reduce]) video{display:none}.noise{background-color:var(--mds-video-wall-noise-background-color,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))/.8));background-size:var(--mds-video-wall-noise-background-size,auto);filter:var(--mds-video-wall-noise-filter);z-index:2}.noise--classic{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAALElEQVQYV2NkwAEYoeIzGRgYtjAwMGxmYGAAs2ESvlBBkDowGyaBYSDpRgEAkLwKoa+v7O8AAAAASUVORK5CYII=)}.noise--sharp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAOklEQVQoU2NkYGAwZoCAs2hssCAjNkFkMZACGMBqEswErMaDTEJWgNUkmBU4HYpNAYpJyI4ESWCYBAAe2A7Vb66lfAAAAABJRU5ErkJggg==)}.noise--soft{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAAOElEQVQYV2NkYGAwZoCA51BaEpnPiKTgLFQCpgHMR1aA0wQpbEYzMDCArQKZAAMoRsOsBinAawIAOXkJ1Ff0CjwAAAAASUVORK5CYII=)}.noise--tv{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMElEQVQYV2NkYGDwZcABGP8zKBuD5Bj/P4coEf0Kod8wSjH+Z5CVgki+RZc0HghJADPEICMR8Ep/AAAAAElFTkSuQmCC)}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])) video,:host([pref-animation=system]) video{display:none}}"}},[257,"mds-video-wall",{autoplay:[4],loop:[4],muted:[4],noise:[1],poster:[1],preload:[1],src:[1],hasContent:[32]}]),r=d,c=function(){"undefined"!=typeof customElements&&["mds-video-wall"].forEach((e=>{"mds-video-wall"===e&&(customElements.get(t(e))||customElements.define(t(e),d))}))};export{r as MdsVideoWall,c as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as r,c as a,t as o}from"./p-B2p5a1Y8.js";import{p as n}from"./p-BlnEiKN4.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return r(a,{key:"2ea9d05374706b3dfb93c2f8a289cd04a390a74d","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},r("slot",{key:"adc74e9638e4d860fdf72c4223706417143a68ae"}),r("div",{key:"b9c416aa09ff659193b6a2ae442e1cfb1dcfcff6",class:"contents",part:"contents"},r("slot",{key:"c99678f859e39f174f05a03773e986d50f294a91",name:"content"})),r("footer",{key:"c4e47154be51250ce6cc0afb55d932f2e6f59413",class:"actions",part:"actions"},r("slot",{key:"de0974f2683d5e476edf4cf3bf1c3cf72fbc3533",name:"action"})))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-zero-contents-max-width:400px;--mds-zero-transition-duration:var(--duration-200,.2s);--private-zero-transition-duration:var(--mds-zero-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*600);justify-items:center;padding:calc(var(--spacing,.0025rem)*1200);transition-duration:var(--private-zero-transition-duration);transition-property:box-shadow,background-color}:host .contents{display:flex;flex-direction:column;max-width:var(--mds-zero-contents-max-width,400px);place-items:center;text-align:center}:host .actions{align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-items:center;width:100%}:host ::slotted([slot=action]){margin:auto}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-zero-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (min-width:480px){:host{padding-inline:calc(var(--spacing,.0025rem)*600)}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-zero-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'}},[257,"mds-zero"]),i=s,c=function(){"undefined"!=typeof customElements&&["mds-zero"].forEach((e=>{"mds-zero"===e&&(customElements.get(o(e))||customElements.define(o(e),s))}))};export{i as MdsZero,c as defineCustomElement}
1
+ import{p as e,H as t,h as r,c as a,t as o}from"./p-TZJN-ygm.js";import{p as n}from"./p-CVRN4LDc.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return r(a,{key:"905602d41d34b0cf368f7ee68cc3195d30cceed7","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},r("slot",{key:"40a31fa942f4decf394b2e73fd8971d1494d6e4f"}),r("div",{key:"e241cd32575632f72564827441f9c21f3e5c743c",class:"contents",part:"contents"},r("slot",{key:"a2108365db1a0058d35689ffb2579b92333ab7a8",name:"content"})),r("footer",{key:"3a497e825fbcad18f0745920eae75de3b5361ddf",class:"actions",part:"actions"},r("slot",{key:"c24510174a87193a5dab0ec19bd9cccfb9e0e9a1",name:"action"})))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-zero-contents-max-width:calc(var(--spacing,.0025rem)*10000);--mds-zero-transition-duration:var(--duration-200,.2s);--private-zero-transition-duration:var(--mds-zero-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*600);justify-items:center;padding:calc(var(--spacing,.0025rem)*1200);transition-duration:var(--private-zero-transition-duration);transition-property:box-shadow,background-color}:host .contents{display:flex;flex-direction:column;max-width:var(--mds-zero-contents-max-width,calc(var(--spacing,.0025rem)*10000));place-items:center;text-align:center}:host .actions{align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-items:center;width:100%}:host ::slotted([slot=action]){margin:auto}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-zero-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (min-width:480px){:host{padding-inline:calc(var(--spacing,.0025rem)*600)}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-zero-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'}},[257,"mds-zero"]),i=s,c=function(){"undefined"!=typeof customElements&&["mds-zero"].forEach((e=>{"mds-zero"===e&&(customElements.get(o(e))||customElements.define(o(e),s))}))};export{i as MdsZero,c as defineCustomElement}