@maggioli-design-system/magma 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1389) hide show
  1. package/AGENTS.md +25 -10
  2. package/CHANGELOG.md +475 -0
  3. package/README.md +5 -2
  4. package/agents/assets.md +231 -28
  5. package/agents/color.md +5 -3
  6. package/agents/components.md +3 -3
  7. package/agents/install.md +8 -4
  8. package/agents/reporting.md +11 -2
  9. package/agents/theming.md +15 -0
  10. package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
  11. package/dist/cjs/{floating-controller-uOCBLTk2.js → floating-controller-D7Ekjocg.js} +18 -4
  12. package/dist/cjs/{floating-ui.dom-DflSHZIo.js → floating-ui.dom-EMHL7uyZ.js} +146 -94
  13. package/dist/cjs/icon-MMHcqbgv.js +20 -0
  14. package/dist/cjs/index-UmmmCMIG.js +40 -40
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/magma-components.cjs.js +1 -1
  17. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  24. package/dist/cjs/mds-badge.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  26. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  28. package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-button-dropdown.cjs.entry.js +30 -2
  30. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  31. package/dist/cjs/mds-button_3.cjs.entry.js +55 -40
  32. package/dist/cjs/mds-calendar_2.cjs.entry.js +60 -7
  33. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  37. package/dist/cjs/mds-card.cjs.entry.js +2 -2
  38. package/dist/cjs/mds-details.cjs.entry.js +2 -2
  39. package/dist/cjs/mds-dropdown.cjs.entry.js +5 -5
  40. package/dist/cjs/mds-emoji.cjs.entry.js +2 -2
  41. package/dist/cjs/mds-entity.cjs.entry.js +2 -2
  42. package/dist/cjs/mds-file-preview.cjs.entry.js +3 -3
  43. package/dist/cjs/mds-file.cjs.entry.js +29 -7520
  44. package/dist/cjs/mds-filter-item.cjs.entry.js +89 -3
  45. package/dist/cjs/mds-filter.cjs.entry.js +113 -19
  46. package/dist/cjs/mds-header-bar.cjs.entry.js +29 -2
  47. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  48. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +38 -2
  49. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  50. package/dist/cjs/mds-img.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  52. package/dist/cjs/mds-input-date-range.cjs.entry.js +16 -2
  53. package/dist/cjs/mds-input-date.cjs.entry.js +36 -4
  54. package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
  55. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
  57. package/dist/cjs/mds-input-select.cjs.entry.js +32 -5
  58. package/dist/cjs/mds-input-switch_2.cjs.entry.js +21 -8
  59. package/dist/cjs/mds-input-tip_2.cjs.entry.js +5 -5
  60. package/dist/cjs/mds-input-upload.cjs.entry.js +6 -6
  61. package/dist/cjs/mds-input.cjs.entry.js +12 -3
  62. package/dist/cjs/mds-keyboard-key.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-keyboard.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  65. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-label.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-list-item.cjs.entry.js +2 -3
  68. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  69. package/dist/cjs/mds-mention.cjs.entry.js +2 -2
  70. package/dist/cjs/mds-modal.cjs.entry.js +32 -5
  71. package/dist/cjs/mds-note.cjs.entry.js +2 -2
  72. package/dist/cjs/mds-notification.cjs.entry.js +3 -3
  73. package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
  74. package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
  75. package/dist/cjs/mds-policy-ai.cjs.entry.js +2 -2
  76. package/dist/cjs/mds-pref-animation.cjs.entry.js +2 -2
  77. package/dist/cjs/mds-pref-consumption.cjs.entry.js +2 -2
  78. package/dist/cjs/mds-pref-contrast.cjs.entry.js +2 -2
  79. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  80. package/dist/cjs/mds-pref-language.cjs.entry.js +2 -2
  81. package/dist/cjs/mds-pref-mode.cjs.entry.js +3 -3
  82. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  83. package/dist/cjs/mds-pref-theme.cjs.entry.js +29 -2
  84. package/dist/cjs/mds-pref.cjs.entry.js +24 -53
  85. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
  86. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
  87. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  88. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  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 +2 -2
  91. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  92. package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
  93. package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
  94. package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  96. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
  97. package/dist/cjs/mds-radial-menu.cjs.entry.js +40 -4
  98. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  99. package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
  100. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +2 -2
  101. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
  103. package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
  104. package/dist/cjs/mds-tab_2.cjs.entry.js +20 -7
  105. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  106. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  107. package/dist/cjs/mds-table-header-cell.cjs.entry.js +116 -77
  108. package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
  109. package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
  110. package/dist/cjs/mds-table.cjs.entry.js +9 -2
  111. package/dist/cjs/mds-text.cjs.entry.js +37 -27
  112. package/dist/cjs/mds-toast.cjs.entry.js +2 -2
  113. package/dist/cjs/mds-tooltip.cjs.entry.js +17 -4
  114. package/dist/cjs/mds-tree-item.cjs.entry.js +2 -2
  115. package/dist/cjs/mds-tree.cjs.entry.js +2 -2
  116. package/dist/cjs/mds-url-view.cjs.entry.js +2 -2
  117. package/dist/cjs/mds-usage.cjs.entry.js +23 -4
  118. package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
  119. package/dist/cjs/mds-zero.cjs.entry.js +2 -2
  120. package/dist/cjs/string-RoXIuD3q.js +7 -0
  121. package/dist/collection/common/floating-controller.js +17 -3
  122. package/dist/collection/common/hash.js +15 -0
  123. package/dist/collection/common/string.js +3 -1
  124. package/dist/collection/common/yugop/random-text.js +5 -0
  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 +5 -5
  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 +11 -11
  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 +2 -2
  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 +6 -6
  137. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-author/documentation.json +2 -2
  139. package/dist/collection/components/mds-author/mds-author.css +2 -1
  140. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  141. package/dist/collection/components/mds-avatar/documentation.json +2 -2
  142. package/dist/collection/components/mds-avatar/mds-avatar.css +18 -17
  143. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  145. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +3 -3
  146. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  147. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  148. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -6
  149. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-badge/documentation.json +1 -1
  151. package/dist/collection/components/mds-badge/mds-badge.css +13 -13
  152. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-banner/documentation.json +1 -1
  154. package/dist/collection/components/mds-banner/mds-banner.css +56 -56
  155. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  156. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  157. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  158. package/dist/collection/components/mds-bibliography/documentation.json +2 -2
  159. package/dist/collection/components/mds-bibliography/mds-bibliography.css +8 -6
  160. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  161. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  162. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -6
  163. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  165. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +14 -13
  166. package/dist/collection/components/mds-button/AGENTS.md +2 -2
  167. package/dist/collection/components/mds-button/antipattern.md +1 -1
  168. package/dist/collection/components/mds-button/documentation.json +4 -4
  169. package/dist/collection/components/mds-button/mds-button.css +226 -417
  170. package/dist/collection/components/mds-button/mds-button.js +47 -18
  171. package/dist/collection/components/mds-button/pattern.md +7 -0
  172. package/dist/collection/components/mds-button-dropdown/AGENTS.md +2 -2
  173. package/dist/collection/components/mds-button-dropdown/documentation.json +2 -2
  174. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +10 -10
  175. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +12 -1
  176. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  178. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  179. package/dist/collection/components/mds-calendar/AGENTS.md +2 -2
  180. package/dist/collection/components/mds-calendar/documentation.json +2 -2
  181. package/dist/collection/components/mds-calendar/mds-calendar.css +5 -5
  182. package/dist/collection/components/mds-calendar/mds-calendar.js +17 -4
  183. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  184. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  185. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +58 -58
  186. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  187. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  188. package/dist/collection/components/mds-card/documentation.json +1 -1
  189. package/dist/collection/components/mds-card/mds-card.css +2 -2
  190. package/dist/collection/components/mds-card/mds-card.js +1 -1
  191. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  192. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  193. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  194. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  195. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  196. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  197. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  198. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  199. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  200. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  202. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  203. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-chip/documentation.json +1 -1
  205. package/dist/collection/components/mds-chip/mds-chip.css +90 -90
  206. package/dist/collection/components/mds-chip/mds-chip.js +2 -2
  207. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  208. package/dist/collection/components/mds-details/documentation.json +1 -1
  209. package/dist/collection/components/mds-details/mds-details.css +6 -6
  210. package/dist/collection/components/mds-details/mds-details.js +1 -1
  211. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  212. package/dist/collection/components/mds-dropdown/documentation.json +2 -2
  213. package/dist/collection/components/mds-dropdown/mds-dropdown.css +26 -26
  214. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  215. package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
  216. package/dist/collection/components/mds-emoji/documentation.json +3 -3
  217. package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
  218. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  219. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  220. package/dist/collection/components/mds-entity/documentation.json +1 -1
  221. package/dist/collection/components/mds-entity/mds-entity.css +8 -8
  222. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  223. package/dist/collection/components/mds-file/AGENTS.md +2 -2
  224. package/dist/collection/components/mds-file/documentation.json +3 -3
  225. package/dist/collection/components/mds-file/mds-file.css +13 -13
  226. package/dist/collection/components/mds-file/mds-file.js +15 -9
  227. package/dist/collection/components/mds-file/pattern.md +1 -1
  228. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  229. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  230. package/dist/collection/components/mds-file-preview/mds-file-preview.css +21 -21
  231. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  232. package/dist/collection/components/mds-filter/AGENTS.md +5 -3
  233. package/dist/collection/components/mds-filter/documentation.json +3 -3
  234. package/dist/collection/components/mds-filter/mds-filter.css +16 -16
  235. package/dist/collection/components/mds-filter/mds-filter.js +97 -19
  236. package/dist/collection/components/mds-filter/pattern.md +34 -4
  237. package/dist/collection/components/mds-filter-item/AGENTS.md +9 -8
  238. package/dist/collection/components/mds-filter-item/documentation.json +4 -4
  239. package/dist/collection/components/mds-filter-item/mds-filter-item.css +27 -17
  240. package/dist/collection/components/mds-filter-item/mds-filter-item.js +65 -3
  241. package/dist/collection/components/mds-filter-item/pattern.md +5 -5
  242. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  243. package/dist/collection/components/mds-header/documentation.json +1 -1
  244. package/dist/collection/components/mds-header/mds-header.css +21 -13
  245. package/dist/collection/components/mds-header/mds-header.js +1 -1
  246. package/dist/collection/components/mds-header-bar/AGENTS.md +2 -2
  247. package/dist/collection/components/mds-header-bar/documentation.json +2 -2
  248. package/dist/collection/components/mds-header-bar/mds-header-bar.css +5 -5
  249. package/dist/collection/components/mds-header-bar/mds-header-bar.js +12 -1
  250. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  251. package/dist/collection/components/mds-help/documentation.json +2 -2
  252. package/dist/collection/components/mds-help/mds-help.css +1 -1
  253. package/dist/collection/components/mds-help/mds-help.js +1 -1
  254. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
  255. package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
  256. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +10 -10
  257. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +12 -1
  258. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  259. package/dist/collection/components/mds-hr/documentation.json +1 -1
  260. package/dist/collection/components/mds-hr/mds-hr.css +1 -1
  261. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  262. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  263. package/dist/collection/components/mds-icon/documentation.json +2 -2
  264. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  265. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  266. package/dist/collection/components/mds-img/documentation.json +1 -1
  267. package/dist/collection/components/mds-img/mds-img.css +6 -6
  268. package/dist/collection/components/mds-input/AGENTS.md +3 -1
  269. package/dist/collection/components/mds-input/documentation.json +52 -4
  270. package/dist/collection/components/mds-input/mds-input.css +133 -62
  271. package/dist/collection/components/mds-input/mds-input.js +38 -2
  272. package/dist/collection/components/mds-input/pattern.md +15 -0
  273. package/dist/collection/components/mds-input-date/AGENTS.md +5 -2
  274. package/dist/collection/components/mds-input-date/documentation.json +50 -2
  275. package/dist/collection/components/mds-input-date/mds-input-date.css +52 -26
  276. package/dist/collection/components/mds-input-date/mds-input-date.js +46 -2
  277. package/dist/collection/components/mds-input-date-range/AGENTS.md +4 -2
  278. package/dist/collection/components/mds-input-date-range/documentation.json +50 -2
  279. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +51 -25
  280. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +34 -1
  281. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  282. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  283. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +18 -18
  284. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  285. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  286. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  287. package/dist/collection/components/mds-input-field/mds-input-field.css +7 -7
  288. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  289. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  290. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  291. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  292. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  293. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  294. package/dist/collection/components/mds-input-range/mds-input-range.css +13 -12
  295. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  296. package/dist/collection/components/mds-input-select/AGENTS.md +7 -4
  297. package/dist/collection/components/mds-input-select/documentation.json +58 -7
  298. package/dist/collection/components/mds-input-select/mds-input-select.css +103 -29
  299. package/dist/collection/components/mds-input-select/mds-input-select.js +61 -7
  300. package/dist/collection/components/mds-input-select/pattern.md +3 -3
  301. package/dist/collection/components/mds-input-switch/AGENTS.md +2 -2
  302. package/dist/collection/components/mds-input-switch/documentation.json +2 -2
  303. package/dist/collection/components/mds-input-switch/mds-input-switch.css +86 -65
  304. package/dist/collection/components/mds-input-switch/mds-input-switch.js +19 -6
  305. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  306. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  307. package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
  308. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  309. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  310. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  311. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +21 -20
  312. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  313. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  314. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  315. package/dist/collection/components/mds-input-upload/mds-input-upload.css +13 -12
  316. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  317. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  318. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  319. package/dist/collection/components/mds-keyboard/mds-keyboard.css +4 -3
  320. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  321. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  322. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  323. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -1
  324. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  325. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  327. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  328. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  329. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  330. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +13 -13
  331. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  332. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  333. package/dist/collection/components/mds-label/documentation.json +1 -1
  334. package/dist/collection/components/mds-label/mds-label.css +12 -12
  335. package/dist/collection/components/mds-list/AGENTS.md +2 -2
  336. package/dist/collection/components/mds-list/documentation.json +2 -2
  337. package/dist/collection/components/mds-list/mds-list.js +1 -1
  338. package/dist/collection/components/mds-list-item/AGENTS.md +2 -1
  339. package/dist/collection/components/mds-list-item/documentation.json +3 -3
  340. package/dist/collection/components/mds-list-item/mds-list-item.css +0 -18
  341. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -2
  342. package/dist/collection/components/mds-list-item/pattern.md +11 -0
  343. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  344. package/dist/collection/components/mds-mention/documentation.json +1 -1
  345. package/dist/collection/components/mds-mention/mds-mention.css +2 -2
  346. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  347. package/dist/collection/components/mds-modal/AGENTS.md +2 -2
  348. package/dist/collection/components/mds-modal/documentation.json +2 -2
  349. package/dist/collection/components/mds-modal/mds-modal.css +5 -5
  350. package/dist/collection/components/mds-modal/mds-modal.js +14 -3
  351. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  352. package/dist/collection/components/mds-note/documentation.json +1 -1
  353. package/dist/collection/components/mds-note/mds-note.css +3 -3
  354. package/dist/collection/components/mds-note/mds-note.js +1 -1
  355. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  356. package/dist/collection/components/mds-notification/documentation.json +2 -2
  357. package/dist/collection/components/mds-notification/mds-notification.css +4 -4
  358. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  359. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  361. package/dist/collection/components/mds-paginator/mds-paginator.css +6 -6
  362. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  363. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  364. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  365. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +31 -30
  366. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  367. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  368. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  369. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +8 -8
  370. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  371. package/dist/collection/components/mds-pref/AGENTS.md +2 -2
  372. package/dist/collection/components/mds-pref/documentation.json +14 -3
  373. package/dist/collection/components/mds-pref/mds-pref.js +39 -53
  374. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  376. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +7 -7
  377. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  378. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  379. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  380. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +4 -4
  381. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  382. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  383. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  384. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +5 -5
  385. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  386. package/dist/collection/components/mds-pref-language/AGENTS.md +3 -3
  387. package/dist/collection/components/mds-pref-language/documentation.json +2 -2
  388. package/dist/collection/components/mds-pref-language/mds-pref-language.css +10 -2
  389. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  390. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  391. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  392. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  393. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -3
  394. package/dist/collection/components/mds-pref-mode/documentation.json +2 -2
  395. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +5 -5
  396. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +2 -2
  397. package/dist/collection/components/mds-pref-theme/AGENTS.md +4 -3
  398. package/dist/collection/components/mds-pref-theme/documentation.json +2 -2
  399. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +10 -2
  400. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +29 -2
  401. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  402. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  403. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +10 -9
  404. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +3 -2
  405. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  406. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  407. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  408. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  409. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  410. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -2
  411. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  412. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  413. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  414. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +11 -11
  415. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  416. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  417. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  418. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +12 -12
  419. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  420. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  421. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  422. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  423. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  424. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  425. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +8 -8
  426. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  427. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  429. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +2 -2
  430. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  431. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  432. package/dist/collection/components/mds-progress/documentation.json +1 -1
  433. package/dist/collection/components/mds-progress/mds-progress.css +20 -20
  434. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  435. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  436. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  437. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  438. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  439. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  440. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +16 -16
  441. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  442. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  443. package/dist/collection/components/mds-quote/documentation.json +1 -1
  444. package/dist/collection/components/mds-quote/mds-quote.css +6 -4
  445. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  446. package/dist/collection/components/mds-radial-menu/AGENTS.md +2 -2
  447. package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
  448. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +5 -3
  449. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +12 -1
  450. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  451. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  452. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  453. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  454. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  455. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +15 -15
  456. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  457. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  458. package/dist/collection/components/mds-separator/documentation.json +1 -1
  459. package/dist/collection/components/mds-separator/mds-separator.css +2 -2
  460. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  461. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  462. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  463. package/dist/collection/components/mds-spinner/mds-spinner.css +3 -3
  464. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  465. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  466. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  467. package/dist/collection/components/mds-status-bar/mds-status-bar.css +7 -6
  468. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  469. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  470. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  471. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +6 -6
  472. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  473. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  474. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  475. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +15 -15
  476. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  477. package/dist/collection/components/mds-tab/AGENTS.md +2 -2
  478. package/dist/collection/components/mds-tab/documentation.json +2 -2
  479. package/dist/collection/components/mds-tab/mds-tab.css +51 -23
  480. package/dist/collection/components/mds-tab/mds-tab.js +18 -4
  481. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  482. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  483. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +1 -1
  484. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  485. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  486. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  487. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +14 -14
  488. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  489. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  490. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  491. package/dist/collection/components/mds-tab-item/mds-tab-item.css +2 -2
  492. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  493. package/dist/collection/components/mds-table/AGENTS.md +4 -2
  494. package/dist/collection/components/mds-table/documentation.json +48 -4
  495. package/dist/collection/components/mds-table/mds-table.css +33 -22
  496. package/dist/collection/components/mds-table/mds-table.js +35 -1
  497. package/dist/collection/components/mds-table/pattern.md +30 -0
  498. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  499. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  500. package/dist/collection/components/mds-table-body/mds-table-body.css +8 -8
  501. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  502. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  503. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  504. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  505. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  506. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  507. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  508. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  509. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  510. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  511. package/dist/collection/components/mds-table-header-cell/AGENTS.md +14 -5
  512. package/dist/collection/components/mds-table-header-cell/antipattern.md +17 -10
  513. package/dist/collection/components/mds-table-header-cell/documentation.json +54 -6
  514. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +159 -82
  515. package/dist/collection/components/mds-table-header-cell/meta/event-detail.js +1 -0
  516. package/dist/collection/components/mds-table-header-cell/pattern.md +27 -6
  517. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  518. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  519. package/dist/collection/components/mds-table-row/mds-table-row.css +12 -12
  520. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  521. package/dist/collection/components/mds-text/AGENTS.md +3 -3
  522. package/dist/collection/components/mds-text/documentation.json +2 -2
  523. package/dist/collection/components/mds-text/mds-text.css +3 -3
  524. package/dist/collection/components/mds-text/mds-text.js +31 -26
  525. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  526. package/dist/collection/components/mds-toast/documentation.json +1 -1
  527. package/dist/collection/components/mds-toast/mds-toast.css +18 -18
  528. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  529. package/dist/collection/components/mds-tooltip/AGENTS.md +4 -2
  530. package/dist/collection/components/mds-tooltip/antipattern.md +14 -0
  531. package/dist/collection/components/mds-tooltip/documentation.json +46 -5
  532. package/dist/collection/components/mds-tooltip/mds-tooltip.css +10 -10
  533. package/dist/collection/components/mds-tooltip/mds-tooltip.js +41 -1
  534. package/dist/collection/components/mds-tooltip/pattern.md +9 -0
  535. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  536. package/dist/collection/components/mds-tree/documentation.json +1 -1
  537. package/dist/collection/components/mds-tree/mds-tree.css +13 -13
  538. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  539. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  540. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  541. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  542. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  543. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  544. package/dist/collection/components/mds-url-view/mds-url-view.css +7 -7
  545. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  546. package/dist/collection/components/mds-usage/AGENTS.md +5 -3
  547. package/dist/collection/components/mds-usage/antipattern.md +17 -1
  548. package/dist/collection/components/mds-usage/documentation.json +31 -5
  549. package/dist/collection/components/mds-usage/mds-usage.css +6 -6
  550. package/dist/collection/components/mds-usage/mds-usage.js +26 -4
  551. package/dist/collection/components/mds-usage/meta/variants.js +14 -18
  552. package/dist/collection/components/mds-usage/pattern.md +10 -0
  553. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  554. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  555. package/dist/collection/components/mds-video-wall/mds-video-wall.css +3 -3
  556. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  557. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  558. package/dist/collection/components/mds-zero/documentation.json +1 -1
  559. package/dist/collection/components/mds-zero/mds-zero.css +3 -3
  560. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  561. package/dist/collection/type/floating-ui.js +1 -0
  562. package/dist/collection/type/input.js +2 -0
  563. package/dist/components/index.js +1 -1
  564. package/dist/components/mds-accordion-item.js +1 -1
  565. package/dist/components/mds-accordion-timer-item.js +1 -1
  566. package/dist/components/mds-accordion-timer.js +1 -1
  567. package/dist/components/mds-accordion.js +1 -1
  568. package/dist/components/mds-avatar-stack-item.js +1 -1
  569. package/dist/components/mds-avatar-stack.js +1 -1
  570. package/dist/components/mds-avatar.js +1 -1
  571. package/dist/components/mds-badge.js +1 -1
  572. package/dist/components/mds-banner.js +1 -1
  573. package/dist/components/mds-benchmark-bar.js +1 -1
  574. package/dist/components/mds-bibliography.js +1 -1
  575. package/dist/components/mds-breadcrumb-item.js +1 -1
  576. package/dist/components/mds-breadcrumb.js +1 -1
  577. package/dist/components/mds-button-dropdown.js +1 -1
  578. package/dist/components/mds-button-group.js +1 -1
  579. package/dist/components/mds-button.js +1 -1
  580. package/dist/components/mds-calendar-cell.js +1 -1
  581. package/dist/components/mds-calendar.js +1 -1
  582. package/dist/components/mds-card-content.js +1 -1
  583. package/dist/components/mds-card-footer.js +1 -1
  584. package/dist/components/mds-card-header.js +1 -1
  585. package/dist/components/mds-card-media.js +1 -1
  586. package/dist/components/mds-card.js +1 -1
  587. package/dist/components/mds-chip.js +1 -1
  588. package/dist/components/mds-details.js +1 -1
  589. package/dist/components/mds-dropdown.js +1 -1
  590. package/dist/components/mds-emoji.js +2 -2
  591. package/dist/components/mds-entity.js +1 -1
  592. package/dist/components/mds-file-preview.js +1 -1
  593. package/dist/components/mds-file.js +1 -18
  594. package/dist/components/mds-filter-item.js +1 -1
  595. package/dist/components/mds-filter.js +1 -1
  596. package/dist/components/mds-header-bar.js +1 -1
  597. package/dist/components/mds-header.js +1 -1
  598. package/dist/components/mds-help.js +1 -1
  599. package/dist/components/mds-horizontal-scroll.js +1 -1
  600. package/dist/components/mds-hr.js +1 -1
  601. package/dist/components/mds-icon.js +1 -1
  602. package/dist/components/mds-img.js +1 -1
  603. package/dist/components/mds-input-date-range-preselection.js +1 -1
  604. package/dist/components/mds-input-date-range.js +1 -1
  605. package/dist/components/mds-input-date.js +1 -1
  606. package/dist/components/mds-input-field.js +1 -1
  607. package/dist/components/mds-input-otp.js +1 -1
  608. package/dist/components/mds-input-range.js +1 -1
  609. package/dist/components/mds-input-select.js +1 -1
  610. package/dist/components/mds-input-switch.js +1 -1
  611. package/dist/components/mds-input-tip-item.js +1 -1
  612. package/dist/components/mds-input-tip.js +1 -1
  613. package/dist/components/mds-input-upload.js +1 -1
  614. package/dist/components/mds-input.js +1 -1
  615. package/dist/components/mds-keyboard-key.js +1 -1
  616. package/dist/components/mds-keyboard.js +1 -1
  617. package/dist/components/mds-kpi-item.js +1 -1
  618. package/dist/components/mds-kpi.js +1 -1
  619. package/dist/components/mds-label.js +1 -1
  620. package/dist/components/mds-list-item.js +1 -1
  621. package/dist/components/mds-list.js +1 -1
  622. package/dist/components/mds-mention.js +1 -1
  623. package/dist/components/mds-modal.js +1 -1
  624. package/dist/components/mds-note.js +1 -1
  625. package/dist/components/mds-notification.js +1 -1
  626. package/dist/components/mds-paginator-item.js +1 -1
  627. package/dist/components/mds-paginator.js +1 -1
  628. package/dist/components/mds-policy-ai.js +1 -1
  629. package/dist/components/mds-pref-animation.js +1 -1
  630. package/dist/components/mds-pref-consumption.js +1 -1
  631. package/dist/components/mds-pref-contrast.js +1 -1
  632. package/dist/components/mds-pref-language-item.js +1 -1
  633. package/dist/components/mds-pref-language.js +1 -1
  634. package/dist/components/mds-pref-mode.js +1 -1
  635. package/dist/components/mds-pref-theme-item.js +1 -1
  636. package/dist/components/mds-pref-theme.js +1 -1
  637. package/dist/components/mds-pref.js +1 -1
  638. package/dist/components/mds-price-table-features-cell.js +1 -1
  639. package/dist/components/mds-price-table-features-row.js +1 -1
  640. package/dist/components/mds-price-table-features.js +1 -1
  641. package/dist/components/mds-price-table-header.js +1 -1
  642. package/dist/components/mds-price-table-list-item.js +1 -1
  643. package/dist/components/mds-price-table-list.js +1 -1
  644. package/dist/components/mds-price-table.js +1 -1
  645. package/dist/components/mds-progress.js +1 -1
  646. package/dist/components/mds-push-notification-item.js +1 -1
  647. package/dist/components/mds-push-notification.js +1 -1
  648. package/dist/components/mds-quote.js +1 -1
  649. package/dist/components/mds-radial-menu-item.js +1 -1
  650. package/dist/components/mds-radial-menu.js +1 -1
  651. package/dist/components/mds-radial-progress.js +1 -1
  652. package/dist/components/mds-separator.js +1 -1
  653. package/dist/components/mds-spinner.js +1 -1
  654. package/dist/components/mds-status-bar.js +1 -1
  655. package/dist/components/mds-stepper-bar-item.js +1 -1
  656. package/dist/components/mds-stepper-bar.js +1 -1
  657. package/dist/components/mds-tab-bar-item.js +1 -1
  658. package/dist/components/mds-tab-bar.js +1 -1
  659. package/dist/components/mds-tab-item.js +1 -1
  660. package/dist/components/mds-tab.js +1 -1
  661. package/dist/components/mds-table-body.js +1 -1
  662. package/dist/components/mds-table-cell.js +1 -1
  663. package/dist/components/mds-table-footer.js +1 -1
  664. package/dist/components/mds-table-header-cell.js +1 -1
  665. package/dist/components/mds-table-header.js +1 -1
  666. package/dist/components/mds-table-row.js +1 -1
  667. package/dist/components/mds-table.js +1 -1
  668. package/dist/components/mds-text.js +1 -1
  669. package/dist/components/mds-toast.js +1 -1
  670. package/dist/components/mds-tooltip.js +1 -1
  671. package/dist/components/mds-tree-item.js +1 -1
  672. package/dist/components/mds-tree.js +1 -1
  673. package/dist/components/mds-url-view.js +1 -1
  674. package/dist/components/mds-usage.js +1 -1
  675. package/dist/components/mds-video-wall.js +1 -1
  676. package/dist/components/mds-zero.js +1 -1
  677. package/dist/components/p--5KZXaZp.js +1 -0
  678. package/dist/components/p--OCrgFeE.js +1 -0
  679. package/dist/components/p-6LGfUDQ4.js +1 -0
  680. package/dist/components/p-6pgPWpGI.js +1 -0
  681. package/dist/components/p-B8BWxSho.js +1 -0
  682. package/dist/components/p-B9uIL9KO.js +1 -0
  683. package/dist/components/p-BBDliSai.js +1 -0
  684. package/dist/components/p-BCwcnHFh.js +1 -0
  685. package/dist/components/p-BRf-u585.js +1 -0
  686. package/dist/components/p-BSeokAdy.js +1 -0
  687. package/dist/components/p-BXUJgu8l.js +1 -0
  688. package/dist/components/p-BXYUyw7p.js +1 -0
  689. package/dist/components/{p-s2Gu6hY7.js → p-BcUY-9n7.js} +1 -1
  690. package/dist/components/p-BfgJ-hHQ.js +1 -0
  691. package/dist/components/p-CIfGjW_Z.js +1 -0
  692. package/dist/components/p-CMp9rP7L.js +1 -0
  693. package/dist/components/p-CUmJoPAI.js +1 -0
  694. package/dist/components/p-CZjHixVB.js +1 -0
  695. package/dist/components/p-Ck0q_n7I.js +1 -0
  696. package/dist/components/p-CrCa_6a1.js +8 -0
  697. package/dist/components/p-Cv7lqHIc.js +1 -0
  698. package/dist/components/p-Cw6_ooFx.js +1 -0
  699. package/dist/components/p-DGYRngAi.js +1 -0
  700. package/dist/components/p-DHu8X7zF.js +1 -0
  701. package/dist/components/{p-C7EyV0z3.js → p-DLCcW1Q5.js} +1 -1
  702. package/dist/components/p-DOzcuSrZ.js +1 -0
  703. package/dist/components/{p-BHJDW5JC.js → p-DZPHWQtD.js} +1 -1
  704. package/dist/components/p-DlRjt7nE.js +1 -0
  705. package/dist/components/{p-Bv2IVRzI.js → p-DmPLOktp.js} +1 -1
  706. package/dist/components/p-HSM_x8fD.js +1 -0
  707. package/dist/components/p-JMPfVnGv.js +1 -0
  708. package/dist/components/p-ay5NzZ_x.js +1 -0
  709. package/dist/components/p-lNY_3s6S.js +1 -0
  710. package/dist/components/p-qYRtWYC8.js +1 -0
  711. package/dist/documentation.json +460 -75
  712. package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
  713. package/dist/esm/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +18 -4
  714. package/dist/esm/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +146 -94
  715. package/dist/esm/icon-pNJmnrhq.js +16 -0
  716. package/dist/esm/index-BxPbQB28.js +40 -40
  717. package/dist/esm/loader.js +1 -1
  718. package/dist/esm/magma-components.js +1 -1
  719. package/dist/esm/mds-accordion-item.entry.js +1 -1
  720. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  721. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  722. package/dist/esm/mds-accordion.entry.js +1 -1
  723. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  724. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  725. package/dist/esm/mds-avatar.entry.js +2 -2
  726. package/dist/esm/mds-badge.entry.js +1 -1
  727. package/dist/esm/mds-banner_3.entry.js +6 -6
  728. package/dist/esm/mds-bibliography.entry.js +1 -1
  729. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  730. package/dist/esm/mds-breadcrumb.entry.js +1 -1
  731. package/dist/esm/mds-button-dropdown.entry.js +30 -2
  732. package/dist/esm/mds-button-group.entry.js +1 -1
  733. package/dist/esm/mds-button_3.entry.js +52 -37
  734. package/dist/esm/mds-calendar_2.entry.js +60 -7
  735. package/dist/esm/mds-card-content.entry.js +1 -1
  736. package/dist/esm/mds-card-footer.entry.js +1 -1
  737. package/dist/esm/mds-card-header.entry.js +1 -1
  738. package/dist/esm/mds-card-media.entry.js +2 -2
  739. package/dist/esm/mds-card.entry.js +2 -2
  740. package/dist/esm/mds-details.entry.js +2 -2
  741. package/dist/esm/mds-dropdown.entry.js +5 -5
  742. package/dist/esm/mds-emoji.entry.js +2 -2
  743. package/dist/esm/mds-entity.entry.js +2 -2
  744. package/dist/esm/mds-file-preview.entry.js +3 -3
  745. package/dist/esm/mds-file.entry.js +30 -7521
  746. package/dist/esm/mds-filter-item.entry.js +89 -3
  747. package/dist/esm/mds-filter.entry.js +114 -20
  748. package/dist/esm/mds-header-bar.entry.js +29 -2
  749. package/dist/esm/mds-header.entry.js +2 -2
  750. package/dist/esm/mds-horizontal-scroll.entry.js +38 -2
  751. package/dist/esm/mds-hr.entry.js +2 -2
  752. package/dist/esm/mds-img.entry.js +1 -1
  753. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  754. package/dist/esm/mds-input-date-range.entry.js +16 -2
  755. package/dist/esm/mds-input-date.entry.js +36 -4
  756. package/dist/esm/mds-input-field.entry.js +2 -2
  757. package/dist/esm/mds-input-otp.entry.js +1 -1
  758. package/dist/esm/mds-input-range.entry.js +2 -2
  759. package/dist/esm/mds-input-select.entry.js +32 -5
  760. package/dist/esm/mds-input-switch_2.entry.js +21 -8
  761. package/dist/esm/mds-input-tip_2.entry.js +5 -5
  762. package/dist/esm/mds-input-upload.entry.js +6 -6
  763. package/dist/esm/mds-input.entry.js +12 -3
  764. package/dist/esm/mds-keyboard-key.entry.js +2 -2
  765. package/dist/esm/mds-keyboard.entry.js +2 -2
  766. package/dist/esm/mds-kpi-item.entry.js +2 -2
  767. package/dist/esm/mds-kpi.entry.js +1 -1
  768. package/dist/esm/mds-label.entry.js +1 -1
  769. package/dist/esm/mds-list-item.entry.js +2 -3
  770. package/dist/esm/mds-list.entry.js +1 -1
  771. package/dist/esm/mds-mention.entry.js +2 -2
  772. package/dist/esm/mds-modal.entry.js +31 -4
  773. package/dist/esm/mds-note.entry.js +2 -2
  774. package/dist/esm/mds-notification.entry.js +3 -3
  775. package/dist/esm/mds-paginator-item.entry.js +2 -2
  776. package/dist/esm/mds-paginator.entry.js +2 -2
  777. package/dist/esm/mds-policy-ai.entry.js +2 -2
  778. package/dist/esm/mds-pref-animation.entry.js +2 -2
  779. package/dist/esm/mds-pref-consumption.entry.js +2 -2
  780. package/dist/esm/mds-pref-contrast.entry.js +2 -2
  781. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  782. package/dist/esm/mds-pref-language.entry.js +2 -2
  783. package/dist/esm/mds-pref-mode.entry.js +3 -3
  784. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  785. package/dist/esm/mds-pref-theme.entry.js +30 -3
  786. package/dist/esm/mds-pref.entry.js +24 -53
  787. package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
  788. package/dist/esm/mds-price-table-features-row.entry.js +2 -2
  789. package/dist/esm/mds-price-table-features.entry.js +2 -2
  790. package/dist/esm/mds-price-table-header.entry.js +1 -1
  791. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  792. package/dist/esm/mds-price-table-list.entry.js +2 -2
  793. package/dist/esm/mds-price-table.entry.js +1 -1
  794. package/dist/esm/mds-progress_2.entry.js +4 -4
  795. package/dist/esm/mds-push-notification-item.entry.js +4 -4
  796. package/dist/esm/mds-push-notification.entry.js +2 -2
  797. package/dist/esm/mds-quote.entry.js +2 -2
  798. package/dist/esm/mds-radial-menu-item.entry.js +2 -2
  799. package/dist/esm/mds-radial-menu.entry.js +40 -4
  800. package/dist/esm/mds-separator.entry.js +2 -2
  801. package/dist/esm/mds-status-bar.entry.js +2 -2
  802. package/dist/esm/mds-stepper-bar-item.entry.js +2 -2
  803. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  804. package/dist/esm/mds-tab-bar-item.entry.js +2 -2
  805. package/dist/esm/mds-tab-bar.entry.js +2 -2
  806. package/dist/esm/mds-tab_2.entry.js +20 -7
  807. package/dist/esm/mds-table-body.entry.js +2 -2
  808. package/dist/esm/mds-table-footer.entry.js +2 -2
  809. package/dist/esm/mds-table-header-cell.entry.js +117 -78
  810. package/dist/esm/mds-table-header.entry.js +2 -2
  811. package/dist/esm/mds-table-row.entry.js +3 -3
  812. package/dist/esm/mds-table.entry.js +9 -2
  813. package/dist/esm/mds-text.entry.js +37 -27
  814. package/dist/esm/mds-toast.entry.js +2 -2
  815. package/dist/esm/mds-tooltip.entry.js +17 -4
  816. package/dist/esm/mds-tree-item.entry.js +2 -2
  817. package/dist/esm/mds-tree.entry.js +2 -2
  818. package/dist/esm/mds-url-view.entry.js +2 -2
  819. package/dist/esm/mds-usage.entry.js +23 -4
  820. package/dist/esm/mds-video-wall.entry.js +2 -2
  821. package/dist/esm/mds-zero.entry.js +2 -2
  822. package/dist/esm/string-6pgPWpGI.js +5 -0
  823. package/dist/esm-es5/_commonjsHelpers-B85MJLTf.js +1 -0
  824. package/dist/esm-es5/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +11 -5
  825. package/dist/esm-es5/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +80 -48
  826. package/dist/esm-es5/icon-pNJmnrhq.js +1 -0
  827. package/dist/esm-es5/index-BxPbQB28.js +36 -36
  828. package/dist/esm-es5/loader.js +1 -1
  829. package/dist/esm-es5/magma-components.js +1 -1
  830. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  831. package/dist/esm-es5/mds-accordion-timer-item.entry.js +2 -2
  832. package/dist/esm-es5/mds-accordion-timer.entry.js +2 -2
  833. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  834. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  835. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  836. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  837. package/dist/esm-es5/mds-badge.entry.js +1 -1
  838. package/dist/esm-es5/mds-banner_3.entry.js +5 -5
  839. package/dist/esm-es5/mds-bibliography.entry.js +2 -2
  840. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  841. package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
  842. package/dist/esm-es5/mds-button-dropdown.entry.js +3 -3
  843. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  844. package/dist/esm-es5/mds-button_3.entry.js +30 -9
  845. package/dist/esm-es5/mds-calendar_2.entry.js +9 -7
  846. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  847. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  848. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  849. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  850. package/dist/esm-es5/mds-card.entry.js +5 -5
  851. package/dist/esm-es5/mds-details.entry.js +2 -2
  852. package/dist/esm-es5/mds-dropdown.entry.js +16 -16
  853. package/dist/esm-es5/mds-emoji.entry.js +19 -19
  854. package/dist/esm-es5/mds-entity.entry.js +1 -1
  855. package/dist/esm-es5/mds-file-preview.entry.js +7 -7
  856. package/dist/esm-es5/mds-file.entry.js +15 -2835
  857. package/dist/esm-es5/mds-filter-item.entry.js +16 -1
  858. package/dist/esm-es5/mds-filter.entry.js +18 -2
  859. package/dist/esm-es5/mds-header-bar.entry.js +3 -3
  860. package/dist/esm-es5/mds-header.entry.js +7 -7
  861. package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
  862. package/dist/esm-es5/mds-hr.entry.js +1 -1
  863. package/dist/esm-es5/mds-img.entry.js +1 -1
  864. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  865. package/dist/esm-es5/mds-input-date-range.entry.js +7 -2
  866. package/dist/esm-es5/mds-input-date.entry.js +8 -3
  867. package/dist/esm-es5/mds-input-field.entry.js +2 -2
  868. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  869. package/dist/esm-es5/mds-input-range.entry.js +7 -7
  870. package/dist/esm-es5/mds-input-select.entry.js +14 -5
  871. package/dist/esm-es5/mds-input-switch_2.entry.js +17 -9
  872. package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
  873. package/dist/esm-es5/mds-input-upload.entry.js +2 -2
  874. package/dist/esm-es5/mds-input.entry.js +30 -25
  875. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  876. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  877. package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
  878. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  879. package/dist/esm-es5/mds-label.entry.js +2 -2
  880. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  881. package/dist/esm-es5/mds-list.entry.js +1 -1
  882. package/dist/esm-es5/mds-mention.entry.js +2 -2
  883. package/dist/esm-es5/mds-modal.entry.js +5 -5
  884. package/dist/esm-es5/mds-note.entry.js +2 -2
  885. package/dist/esm-es5/mds-notification.entry.js +4 -4
  886. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  887. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  888. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  889. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  890. package/dist/esm-es5/mds-pref-consumption.entry.js +3 -3
  891. package/dist/esm-es5/mds-pref-contrast.entry.js +3 -3
  892. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  893. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  894. package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
  895. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  896. package/dist/esm-es5/mds-pref-theme.entry.js +15 -7
  897. package/dist/esm-es5/mds-pref.entry.js +14 -5
  898. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  899. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  900. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  901. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  902. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  903. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  904. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  905. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  906. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  907. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  908. package/dist/esm-es5/mds-quote.entry.js +2 -2
  909. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  910. package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
  911. package/dist/esm-es5/mds-separator.entry.js +1 -1
  912. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  913. package/dist/esm-es5/mds-stepper-bar-item.entry.js +3 -3
  914. package/dist/esm-es5/mds-stepper-bar.entry.js +4 -4
  915. package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
  916. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  917. package/dist/esm-es5/mds-tab_2.entry.js +14 -4
  918. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  919. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  920. package/dist/esm-es5/mds-table-header-cell.entry.js +22 -3
  921. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  922. package/dist/esm-es5/mds-table-row.entry.js +6 -6
  923. package/dist/esm-es5/mds-table.entry.js +11 -5
  924. package/dist/esm-es5/mds-text.entry.js +25 -7
  925. package/dist/esm-es5/mds-toast.entry.js +2 -2
  926. package/dist/esm-es5/mds-tooltip.entry.js +8 -3
  927. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  928. package/dist/esm-es5/mds-tree.entry.js +3 -3
  929. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  930. package/dist/esm-es5/mds-usage.entry.js +9 -3
  931. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  932. package/dist/esm-es5/mds-zero.entry.js +1 -1
  933. package/dist/esm-es5/string-6pgPWpGI.js +2 -0
  934. package/dist/hydrate/index.js +1450 -8261
  935. package/dist/hydrate/index.mjs +1450 -8261
  936. package/dist/magma-components/magma-components.esm.js +1 -1
  937. package/dist/magma-components/p-00ce5c81.entry.js +1 -0
  938. package/dist/magma-components/{p-2da2cdf3.system.entry.js → p-00ff586a.system.entry.js} +2 -2
  939. package/dist/magma-components/p-01f05a56.entry.js +1 -0
  940. package/dist/magma-components/p-0345cbd0.system.entry.js +83 -0
  941. package/dist/magma-components/p-03a6a8bd.system.entry.js +46 -0
  942. package/dist/magma-components/p-05de42e1.system.entry.js +1 -0
  943. package/dist/magma-components/p-063bccb3.entry.js +1 -0
  944. package/dist/magma-components/{p-f65e29e0.system.entry.js → p-0a38e4ce.system.entry.js} +1 -1
  945. package/dist/magma-components/p-0c89c485.entry.js +1 -0
  946. package/dist/magma-components/p-0d94a2b8.entry.js +8 -0
  947. package/dist/magma-components/{p-f8da21a1.system.entry.js → p-0d97e28d.system.entry.js} +2 -2
  948. package/dist/magma-components/p-108e31e6.entry.js +1 -0
  949. package/dist/magma-components/p-114f0bb7.system.entry.js +14 -0
  950. package/dist/magma-components/{p-dcf841d5.entry.js → p-121730d1.entry.js} +1 -1
  951. package/dist/magma-components/p-137116df.entry.js +1 -0
  952. package/dist/magma-components/p-13b0babc.system.entry.js +1 -0
  953. package/dist/magma-components/p-14a108e8.system.entry.js +8 -0
  954. package/dist/magma-components/p-14eadf95.system.entry.js +21 -0
  955. package/dist/magma-components/p-154aff83.entry.js +1 -0
  956. package/dist/magma-components/p-155f79f4.system.entry.js +47 -0
  957. package/dist/magma-components/p-17b62839.entry.js +1 -0
  958. package/dist/magma-components/{p-0d3c3de9.entry.js → p-1802d6a7.entry.js} +1 -1
  959. package/dist/magma-components/{p-91c4015f.system.entry.js → p-188d9770.system.entry.js} +1 -1
  960. package/dist/magma-components/p-18ba4766.entry.js +1 -0
  961. package/dist/magma-components/p-1c63801f.system.entry.js +11 -0
  962. package/dist/magma-components/p-1c6a507c.system.entry.js +17 -0
  963. package/dist/magma-components/p-1e2388be.entry.js +1 -0
  964. package/dist/magma-components/{p-a9e4efa3.entry.js → p-22e9a507.entry.js} +1 -1
  965. package/dist/magma-components/p-24a9871a.system.entry.js +1 -0
  966. package/dist/magma-components/p-26332bce.system.entry.js +1 -0
  967. package/dist/magma-components/p-26c85354.system.entry.js +1 -0
  968. package/dist/magma-components/p-2708561b.system.entry.js +10 -0
  969. package/dist/magma-components/{p-ad09a06b.entry.js → p-2710ddc4.entry.js} +1 -1
  970. package/dist/magma-components/{p-019e8a95.system.entry.js → p-2723caa7.system.entry.js} +2 -2
  971. package/dist/magma-components/p-294241fa.entry.js +1 -0
  972. package/dist/magma-components/p-2b2d0910.system.entry.js +1 -0
  973. package/dist/magma-components/p-2c940d19.entry.js +1 -0
  974. package/dist/magma-components/p-2de5f5fe.entry.js +1 -0
  975. package/dist/magma-components/p-2e74231d.system.entry.js +4 -0
  976. package/dist/magma-components/p-2e83f801.system.entry.js +1 -0
  977. package/dist/magma-components/{p-771720b7.entry.js → p-2f0815f3.entry.js} +1 -1
  978. package/dist/magma-components/p-30d36dfe.entry.js +1 -0
  979. package/dist/magma-components/p-323c7aa4.system.entry.js +25 -0
  980. package/dist/magma-components/{p-32361702.system.entry.js → p-32e077c0.system.entry.js} +2 -2
  981. package/dist/magma-components/p-334b305d.system.entry.js +16 -0
  982. package/dist/magma-components/{p-d93c9a11.system.entry.js → p-341994b3.system.entry.js} +2 -2
  983. package/dist/magma-components/p-35434d4b.system.entry.js +32 -0
  984. package/dist/magma-components/p-35ee2d77.entry.js +1 -0
  985. package/dist/magma-components/p-37495e03.entry.js +1 -0
  986. package/dist/magma-components/{p-7bea6c05.system.entry.js → p-38e0379a.system.entry.js} +2 -2
  987. package/dist/magma-components/p-3b91efd1.entry.js +1 -0
  988. package/dist/magma-components/p-3dc4db04.system.entry.js +16 -0
  989. package/dist/magma-components/p-3f0e82bc.entry.js +1 -0
  990. package/dist/magma-components/p-3fa6cf85.system.entry.js +1 -0
  991. package/dist/magma-components/p-40e97485.entry.js +1 -0
  992. package/dist/magma-components/p-4159c306.entry.js +1 -0
  993. package/dist/magma-components/p-42411854.system.entry.js +102 -0
  994. package/dist/magma-components/{p-fc8f8a0c.entry.js → p-42ebba8c.entry.js} +1 -1
  995. package/dist/magma-components/p-4356d96e.system.entry.js +21 -0
  996. package/dist/magma-components/{p-6cbd8a6d.system.entry.js → p-4577948d.system.entry.js} +3 -3
  997. package/dist/magma-components/p-4658a200.entry.js +1 -0
  998. package/dist/magma-components/{p-06d9af89.entry.js → p-4cfa925a.entry.js} +1 -1
  999. package/dist/magma-components/p-4dfeb655.system.entry.js +23 -0
  1000. package/dist/magma-components/p-4ef19542.entry.js +1 -0
  1001. package/dist/magma-components/{p-91451e37.system.entry.js → p-508e10b5.system.entry.js} +2 -2
  1002. package/dist/magma-components/p-514d0fcb.entry.js +1 -0
  1003. package/dist/magma-components/p-522fd3d0.system.entry.js +4 -0
  1004. package/dist/magma-components/p-528d913c.system.entry.js +17 -0
  1005. package/dist/magma-components/p-569cbe13.entry.js +1 -0
  1006. package/dist/magma-components/p-574c2c13.system.entry.js +222 -0
  1007. package/dist/magma-components/{p-876a5fb9.system.entry.js → p-584a4ee8.system.entry.js} +1 -1
  1008. package/dist/magma-components/{p-d7515aae.entry.js → p-595fde64.entry.js} +1 -1
  1009. package/dist/magma-components/p-5989cdf2.system.entry.js +16 -0
  1010. package/dist/magma-components/p-5c17a324.entry.js +1 -0
  1011. package/dist/magma-components/p-5df91427.system.entry.js +15 -0
  1012. package/dist/magma-components/{p-c5ad848f.entry.js → p-5f1132b8.entry.js} +1 -1
  1013. package/dist/magma-components/p-5fcc1455.entry.js +1 -0
  1014. package/dist/magma-components/p-61638aa3.entry.js +1 -0
  1015. package/dist/magma-components/p-634727e6.system.entry.js +22 -0
  1016. package/dist/magma-components/{p-289a874e.entry.js → p-6465c8f4.entry.js} +1 -1
  1017. package/dist/magma-components/{p-7c940015.system.entry.js → p-64f78149.system.entry.js} +1 -1
  1018. package/dist/magma-components/p-6764b13a.entry.js +1 -0
  1019. package/dist/magma-components/p-6812f01b.entry.js +1 -0
  1020. package/dist/magma-components/{p-cd5cf28b.system.entry.js → p-6901428b.system.entry.js} +1 -1
  1021. package/dist/magma-components/p-699a7926.entry.js +1 -0
  1022. package/dist/magma-components/p-69d6cc9e.system.entry.js +7 -0
  1023. package/dist/magma-components/p-6a798061.entry.js +1 -0
  1024. package/dist/magma-components/p-6d350c7c.entry.js +1 -0
  1025. package/dist/magma-components/p-6f5a1248.entry.js +1 -0
  1026. package/dist/magma-components/p-6fba5e6c.entry.js +1 -0
  1027. package/dist/magma-components/p-6fd9a2ae.entry.js +1 -0
  1028. package/dist/magma-components/{p-ff970859.system.entry.js → p-6ff8be3e.system.entry.js} +1 -1
  1029. package/dist/magma-components/p-6pgPWpGI.js +1 -0
  1030. package/dist/magma-components/p-70caf05b.system.entry.js +10 -0
  1031. package/dist/magma-components/{p-2d324edc.entry.js → p-70cc167f.entry.js} +1 -1
  1032. package/dist/magma-components/{p-cc1ee10a.system.entry.js → p-736c0e25.system.entry.js} +2 -2
  1033. package/dist/magma-components/p-73e593a2.system.entry.js +95 -0
  1034. package/dist/magma-components/p-7450a7a7.system.entry.js +49 -0
  1035. package/dist/magma-components/p-7535328a.entry.js +1 -0
  1036. package/dist/magma-components/{p-bd9324f3.system.entry.js → p-76f02296.system.entry.js} +1 -1
  1037. package/dist/magma-components/p-789c1b93.system.entry.js +1 -0
  1038. package/dist/magma-components/p-79bc2e81.entry.js +1 -0
  1039. package/dist/magma-components/p-79dc2243.entry.js +1 -0
  1040. package/dist/magma-components/p-7b1c6eb0.entry.js +1 -0
  1041. package/dist/magma-components/p-7b8b51c8.entry.js +1 -0
  1042. package/dist/magma-components/p-7bc0a6c4.entry.js +1 -0
  1043. package/dist/magma-components/p-7c8e79a7.system.entry.js +4 -0
  1044. package/dist/magma-components/p-7c90298a.entry.js +1 -0
  1045. package/dist/magma-components/p-7e02237b.entry.js +1 -0
  1046. package/dist/magma-components/{p-ef4cd904.system.entry.js → p-7f247e64.system.entry.js} +2 -2
  1047. package/dist/magma-components/p-808f6796.entry.js +1 -0
  1048. package/dist/magma-components/{p-a1b5bd58.entry.js → p-82480df5.entry.js} +1 -1
  1049. package/dist/magma-components/{p-61ff1d85.system.entry.js → p-837fbbf7.system.entry.js} +1 -1
  1050. package/dist/magma-components/p-842b1dfc.entry.js +1 -0
  1051. package/dist/magma-components/p-88c7be3d.system.entry.js +68 -0
  1052. package/dist/magma-components/p-89733d3a.system.entry.js +14 -0
  1053. package/dist/magma-components/p-8c75425d.entry.js +1 -0
  1054. package/dist/magma-components/{p-5ac9e2f4.entry.js → p-8c76410b.entry.js} +1 -1
  1055. package/dist/magma-components/p-8cdad12f.entry.js +1 -0
  1056. package/dist/magma-components/p-8d2a6896.entry.js +1 -0
  1057. package/dist/magma-components/p-8d7835e2.system.entry.js +10 -0
  1058. package/dist/magma-components/p-8f039ca0.system.entry.js +7 -0
  1059. package/dist/magma-components/p-8f54cf62.system.entry.js +4 -0
  1060. package/dist/magma-components/p-8f6bd147.entry.js +1 -0
  1061. package/dist/magma-components/p-9017022c.system.entry.js +15 -0
  1062. package/dist/magma-components/p-909f5b60.system.entry.js +55 -0
  1063. package/dist/magma-components/p-94e9f2be.system.entry.js +11 -0
  1064. package/dist/magma-components/p-976bb373.system.entry.js +90 -0
  1065. package/dist/magma-components/p-97d82884.system.entry.js +16 -0
  1066. package/dist/magma-components/p-97de86c6.system.entry.js +16 -0
  1067. package/dist/magma-components/p-97e9a197.system.entry.js +32 -0
  1068. package/dist/magma-components/p-9a936cae.system.entry.js +45 -0
  1069. package/dist/magma-components/p-9c6d184f.entry.js +1 -0
  1070. package/dist/magma-components/p-9db0a6e9.entry.js +1 -0
  1071. package/dist/magma-components/p-9e662528.entry.js +1 -0
  1072. package/dist/magma-components/{p-7ffda4f5.entry.js → p-9ff02a82.entry.js} +1 -1
  1073. package/dist/magma-components/p-B85MJLTf.js +1 -0
  1074. package/dist/magma-components/p-BJqUjYIG.system.js +1 -0
  1075. package/dist/magma-components/{p-Dg8nxRUX.system.js → p-BcYSdbK0.system.js} +85 -53
  1076. package/dist/magma-components/p-BeYLDgbf.js +1 -0
  1077. package/dist/magma-components/p-D6-Ny6z1.system.js +1 -0
  1078. package/dist/magma-components/{p-BPNsbMrg.system.js → p-DhhAXEdA.system.js} +11 -5
  1079. package/dist/magma-components/p-JMPfVnGv.js +1 -0
  1080. package/dist/magma-components/p-ZDRIVCAt.system.js +1 -1
  1081. package/dist/magma-components/p-a3e3a653.system.entry.js +81 -0
  1082. package/dist/magma-components/p-a41e52f7.entry.js +1 -0
  1083. package/dist/magma-components/{p-dc399372.entry.js → p-a462aadd.entry.js} +1 -1
  1084. package/dist/magma-components/p-a4c26b4d.system.entry.js +19 -0
  1085. package/dist/magma-components/{p-2e01e057.system.entry.js → p-a61c7ae9.system.entry.js} +2 -2
  1086. package/dist/magma-components/p-a653e096.entry.js +1 -0
  1087. package/dist/magma-components/p-a8bf46cb.system.entry.js +1 -0
  1088. package/dist/magma-components/p-a9736d68.system.entry.js +4 -0
  1089. package/dist/magma-components/p-ac4435e7.entry.js +1 -0
  1090. package/dist/magma-components/p-ac873ab4.entry.js +1 -0
  1091. package/dist/magma-components/p-acae292f.system.entry.js +28 -0
  1092. package/dist/magma-components/p-add1a8d0.system.entry.js +7 -0
  1093. package/dist/magma-components/p-b1a0e56e.system.entry.js +42 -0
  1094. package/dist/magma-components/p-b33a6f7e.system.entry.js +13 -0
  1095. package/dist/magma-components/p-b492dd4c.entry.js +1 -0
  1096. package/dist/magma-components/{p-d5e53364.system.entry.js → p-b626c69f.system.entry.js} +1 -1
  1097. package/dist/magma-components/p-b99cac43.entry.js +1 -0
  1098. package/dist/magma-components/p-baf0359b.entry.js +1 -0
  1099. package/dist/magma-components/p-bbd414dc.entry.js +1 -0
  1100. package/dist/magma-components/p-be1aad5f.entry.js +1 -0
  1101. package/dist/magma-components/p-bf05f9f3.entry.js +1 -0
  1102. package/dist/magma-components/p-bf8c6647.system.entry.js +11 -0
  1103. package/dist/magma-components/p-bfe19e4b.entry.js +1 -0
  1104. package/dist/magma-components/p-c1a7266a.entry.js +1 -0
  1105. package/dist/magma-components/{p-a0d9e01f.system.entry.js → p-c34d9e61.system.entry.js} +1 -1
  1106. package/dist/magma-components/p-c3585de7.system.entry.js +7 -0
  1107. package/dist/magma-components/p-c45d9a64.system.entry.js +32 -0
  1108. package/dist/magma-components/p-c4ceaef6.system.entry.js +10 -0
  1109. package/dist/magma-components/{p-c48e3460.entry.js → p-c575cb7b.entry.js} +1 -1
  1110. package/dist/magma-components/p-c644c5fc.system.entry.js +1 -0
  1111. package/dist/magma-components/{p-61bedbe7.system.entry.js → p-c69ec735.system.entry.js} +8 -3
  1112. package/dist/magma-components/p-c7d84d1c.system.entry.js +1 -0
  1113. package/dist/magma-components/p-cb8b45fd.entry.js +1 -0
  1114. package/dist/magma-components/p-cbfd8b10.system.entry.js +16 -0
  1115. package/dist/magma-components/{p-ed897f9f.entry.js → p-ce46191c.entry.js} +1 -1
  1116. package/dist/magma-components/p-cebe7b52.entry.js +1 -0
  1117. package/dist/magma-components/p-cefdc01f.system.entry.js +7 -0
  1118. package/dist/magma-components/{p-f0c67a70.system.entry.js → p-d025a34f.system.entry.js} +2 -2
  1119. package/dist/magma-components/p-d1c47baa.entry.js +1 -0
  1120. package/dist/magma-components/p-d269bfb0.entry.js +1 -0
  1121. package/dist/magma-components/p-d42f267b.system.entry.js +40 -0
  1122. package/dist/magma-components/p-d5bd6bef.entry.js +1 -0
  1123. package/dist/magma-components/p-d65d8a09.system.entry.js +1 -0
  1124. package/dist/magma-components/p-d6eca2ef.entry.js +1 -0
  1125. package/dist/magma-components/p-d716efe9.system.entry.js +1 -0
  1126. package/dist/magma-components/{p-d9fbbf3f.entry.js → p-da6ccc03.entry.js} +1 -1
  1127. package/dist/magma-components/p-dbaf5368.system.entry.js +7 -0
  1128. package/dist/magma-components/p-dc340618.entry.js +1 -0
  1129. package/dist/magma-components/p-dc752e9b.entry.js +1 -0
  1130. package/dist/magma-components/p-e238e2eb.entry.js +1 -0
  1131. package/dist/magma-components/p-e388f1f2.system.entry.js +19 -0
  1132. package/dist/magma-components/p-e50fdcee.entry.js +1 -0
  1133. package/dist/magma-components/p-e779a67f.system.entry.js +10 -0
  1134. package/dist/magma-components/p-e8ae4016.system.entry.js +1 -0
  1135. package/dist/magma-components/{p-9eb1e154.system.entry.js → p-e8d95868.system.entry.js} +2 -2
  1136. package/dist/magma-components/p-ed232c76.entry.js +1 -0
  1137. package/dist/magma-components/{p-f3dbebdd.system.entry.js → p-ed6e287d.system.entry.js} +25 -7
  1138. package/dist/magma-components/p-ed87425c.system.entry.js +13 -0
  1139. package/dist/magma-components/p-ed897125.entry.js +1 -0
  1140. package/dist/magma-components/p-ee876b20.system.entry.js +4 -0
  1141. package/dist/magma-components/p-efe0bb12.system.entry.js +7 -0
  1142. package/dist/magma-components/p-f2412853.system.entry.js +27 -0
  1143. package/dist/magma-components/p-f2743a2b.entry.js +1 -0
  1144. package/dist/magma-components/p-f2f2945b.entry.js +1 -0
  1145. package/dist/magma-components/p-f37f1343.entry.js +1 -0
  1146. package/dist/magma-components/p-f3dd135e.system.entry.js +32 -0
  1147. package/dist/magma-components/{p-3a1a6945.entry.js → p-f5bb8c0c.entry.js} +1 -1
  1148. package/dist/magma-components/p-f5ce24e8.entry.js +1 -0
  1149. package/dist/magma-components/p-f8a88f11.entry.js +1 -0
  1150. package/dist/magma-components/p-f900fe90.entry.js +1 -0
  1151. package/dist/magma-components/{p-eff38775.entry.js → p-faa1f22c.entry.js} +1 -1
  1152. package/dist/magma-components/p-pNJmnrhq.js +1 -0
  1153. package/dist/magma-components/p-pxyGaQ-P.system.js +2 -0
  1154. package/dist/stats.json +2971 -2223
  1155. package/dist/types/common/floating-controller.d.ts +8 -1
  1156. package/dist/types/common/hash.d.ts +8 -0
  1157. package/dist/types/common/string.d.ts +3 -1
  1158. package/dist/types/components/mds-button/mds-button.d.ts +10 -0
  1159. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +1 -0
  1160. package/dist/types/components/mds-calendar/mds-calendar.d.ts +1 -0
  1161. package/dist/types/components/mds-file/mds-file.d.ts +6 -1
  1162. package/dist/types/components/mds-filter/mds-filter.d.ts +15 -0
  1163. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +18 -1
  1164. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -0
  1165. package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
  1166. package/dist/types/components/mds-input/mds-input.d.ts +8 -1
  1167. package/dist/types/components/mds-input-date/mds-input-date.d.ts +6 -0
  1168. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +5 -0
  1169. package/dist/types/components/mds-input-select/mds-input-select.d.ts +15 -2
  1170. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +8 -3
  1171. package/dist/types/components/mds-modal/mds-modal.d.ts +1 -0
  1172. package/dist/types/components/mds-pref/mds-pref.d.ts +5 -8
  1173. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +8 -0
  1174. package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +1 -0
  1175. package/dist/types/components/mds-tab/mds-tab.d.ts +8 -0
  1176. package/dist/types/components/mds-table/mds-table.d.ts +8 -1
  1177. package/dist/types/components/mds-table/meta/type.d.ts +1 -0
  1178. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +33 -14
  1179. package/dist/types/components/mds-table-header-cell/meta/event-detail.d.ts +6 -0
  1180. package/dist/types/components/mds-text/mds-text.d.ts +8 -4
  1181. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +8 -1
  1182. package/dist/types/components/mds-usage/mds-usage.d.ts +5 -1
  1183. package/dist/types/components/mds-usage/meta/variants.d.ts +7 -19
  1184. package/dist/types/components.d.ts +123 -18
  1185. package/dist/types/type/floating-ui.d.ts +2 -0
  1186. package/dist/types/type/input.d.ts +3 -0
  1187. package/package.json +15 -15
  1188. package/dist/cjs/_commonjsHelpers-B83fTs8d.js +0 -36
  1189. package/dist/collection/dictionary/icon.js +0 -10
  1190. package/dist/collection/type/icon.js +0 -1
  1191. package/dist/components/p-B3Z2Goa-.js +0 -1
  1192. package/dist/components/p-B3dWp2vS.js +0 -1
  1193. package/dist/components/p-B6FOPjps.js +0 -1
  1194. package/dist/components/p-B7CR1EtF.js +0 -1
  1195. package/dist/components/p-BBPQjm8h.js +0 -1
  1196. package/dist/components/p-BCiJ4PRD.js +0 -1
  1197. package/dist/components/p-BSs0SO-j.js +0 -1
  1198. package/dist/components/p-BTpjOy0A.js +0 -1
  1199. package/dist/components/p-BY6Qu1V4.js +0 -1
  1200. package/dist/components/p-BhmePCyA.js +0 -1
  1201. package/dist/components/p-BpGzrg1C.js +0 -1
  1202. package/dist/components/p-C-J9fW51.js +0 -1
  1203. package/dist/components/p-CAa2kI72.js +0 -1
  1204. package/dist/components/p-CBV19-8O.js +0 -1
  1205. package/dist/components/p-CCv9tBZK.js +0 -1
  1206. package/dist/components/p-CDf607TB.js +0 -1
  1207. package/dist/components/p-CEMAGNly.js +0 -1
  1208. package/dist/components/p-CGYDZBMv.js +0 -1
  1209. package/dist/components/p-CHAGzQT-.js +0 -1
  1210. package/dist/components/p-CHAvkoj3.js +0 -1
  1211. package/dist/components/p-CMFUEkte.js +0 -1
  1212. package/dist/components/p-CR2GGKXK.js +0 -1
  1213. package/dist/components/p-Cb5kuO7B.js +0 -1
  1214. package/dist/components/p-CiNNzAa3.js +0 -1
  1215. package/dist/components/p-DGDdPv_Y.js +0 -1
  1216. package/dist/components/p-D_wD-Pyk.js +0 -1
  1217. package/dist/components/p-E-ZsRS8r.js +0 -1
  1218. package/dist/components/p-HR2JwDjG.js +0 -1
  1219. package/dist/components/p-LE7qQIFR.js +0 -8
  1220. package/dist/components/p-vgIKH234.js +0 -1
  1221. package/dist/esm/_commonjsHelpers-E-ZsRS8r.js +0 -32
  1222. package/dist/esm-es5/_commonjsHelpers-E-ZsRS8r.js +0 -1
  1223. package/dist/magma-components/p-01dd1f55.entry.js +0 -1
  1224. package/dist/magma-components/p-02119624.system.entry.js +0 -40
  1225. package/dist/magma-components/p-02fc7592.entry.js +0 -1
  1226. package/dist/magma-components/p-03cd0069.system.entry.js +0 -1
  1227. package/dist/magma-components/p-05fbca60.system.entry.js +0 -37
  1228. package/dist/magma-components/p-07e4701d.entry.js +0 -1
  1229. package/dist/magma-components/p-081a19b1.system.entry.js +0 -45
  1230. package/dist/magma-components/p-09d0b6a8.entry.js +0 -1
  1231. package/dist/magma-components/p-0b300de7.entry.js +0 -1
  1232. package/dist/magma-components/p-1150ffb8.system.entry.js +0 -10
  1233. package/dist/magma-components/p-115a5e47.entry.js +0 -1
  1234. package/dist/magma-components/p-1314d80e.entry.js +0 -1
  1235. package/dist/magma-components/p-133a6ffd.system.entry.js +0 -49
  1236. package/dist/magma-components/p-13db55de.entry.js +0 -1
  1237. package/dist/magma-components/p-1a2731ec.system.entry.js +0 -10
  1238. package/dist/magma-components/p-1a602906.system.entry.js +0 -13
  1239. package/dist/magma-components/p-1c975156.entry.js +0 -1
  1240. package/dist/magma-components/p-1d154234.system.entry.js +0 -12
  1241. package/dist/magma-components/p-1d9d7666.entry.js +0 -1
  1242. package/dist/magma-components/p-1ddaaa6d.system.entry.js +0 -217
  1243. package/dist/magma-components/p-21aa0a74.entry.js +0 -1
  1244. package/dist/magma-components/p-21c46e74.system.entry.js +0 -4
  1245. package/dist/magma-components/p-2399b7e8.entry.js +0 -1
  1246. package/dist/magma-components/p-25407d89.entry.js +0 -1
  1247. package/dist/magma-components/p-27547a7a.system.entry.js +0 -7
  1248. package/dist/magma-components/p-2be3bd23.system.entry.js +0 -1
  1249. package/dist/magma-components/p-2c586431.entry.js +0 -1
  1250. package/dist/magma-components/p-2e9b80e8.entry.js +0 -1
  1251. package/dist/magma-components/p-30c3872d.entry.js +0 -1
  1252. package/dist/magma-components/p-3231a6a3.entry.js +0 -1
  1253. package/dist/magma-components/p-3448d0ce.entry.js +0 -1
  1254. package/dist/magma-components/p-367cee40.system.entry.js +0 -1
  1255. package/dist/magma-components/p-3a8870e4.system.entry.js +0 -47
  1256. package/dist/magma-components/p-3b68fbcd.system.entry.js +0 -22
  1257. package/dist/magma-components/p-3ecade3c.system.entry.js +0 -11
  1258. package/dist/magma-components/p-3f05ec8a.entry.js +0 -1
  1259. package/dist/magma-components/p-4073c5f2.system.entry.js +0 -90
  1260. package/dist/magma-components/p-40bd2e6d.entry.js +0 -1
  1261. package/dist/magma-components/p-423597db.system.entry.js +0 -4
  1262. package/dist/magma-components/p-443c2a29.system.entry.js +0 -10
  1263. package/dist/magma-components/p-45a91f1c.system.entry.js +0 -1
  1264. package/dist/magma-components/p-487af9d3.entry.js +0 -1
  1265. package/dist/magma-components/p-4909070e.entry.js +0 -1
  1266. package/dist/magma-components/p-4d966161.system.entry.js +0 -14
  1267. package/dist/magma-components/p-4ddf891e.system.entry.js +0 -69
  1268. package/dist/magma-components/p-4e15cde7.entry.js +0 -1
  1269. package/dist/magma-components/p-4f14a166.entry.js +0 -1
  1270. package/dist/magma-components/p-4ffec31a.system.entry.js +0 -1
  1271. package/dist/magma-components/p-50b266e9.system.entry.js +0 -4
  1272. package/dist/magma-components/p-5165b09f.system.entry.js +0 -4
  1273. package/dist/magma-components/p-544cc9c7.system.entry.js +0 -25
  1274. package/dist/magma-components/p-562bb482.system.entry.js +0 -16
  1275. package/dist/magma-components/p-5ae5ec95.entry.js +0 -1
  1276. package/dist/magma-components/p-5d2d8ffe.system.entry.js +0 -11
  1277. package/dist/magma-components/p-5e180f53.system.entry.js +0 -32
  1278. package/dist/magma-components/p-62b17608.system.entry.js +0 -102
  1279. package/dist/magma-components/p-63e7c98f.entry.js +0 -1
  1280. package/dist/magma-components/p-6474c850.entry.js +0 -8
  1281. package/dist/magma-components/p-660657ac.system.entry.js +0 -15
  1282. package/dist/magma-components/p-66237a64.entry.js +0 -1
  1283. package/dist/magma-components/p-6702e489.entry.js +0 -1
  1284. package/dist/magma-components/p-694ed534.entry.js +0 -1
  1285. package/dist/magma-components/p-6b446fd9.system.entry.js +0 -81
  1286. package/dist/magma-components/p-6c414bc2.system.entry.js +0 -19
  1287. package/dist/magma-components/p-6d0dc1fd.entry.js +0 -1
  1288. package/dist/magma-components/p-6ed05d99.entry.js +0 -1
  1289. package/dist/magma-components/p-6f2471b1.entry.js +0 -1
  1290. package/dist/magma-components/p-6fa03aab.system.entry.js +0 -7
  1291. package/dist/magma-components/p-70141ccd.entry.js +0 -1
  1292. package/dist/magma-components/p-707d8626.system.entry.js +0 -2838
  1293. package/dist/magma-components/p-71dafc3f.entry.js +0 -1
  1294. package/dist/magma-components/p-726209f4.system.entry.js +0 -1
  1295. package/dist/magma-components/p-745ee76b.system.entry.js +0 -32
  1296. package/dist/magma-components/p-761415b3.system.entry.js +0 -37
  1297. package/dist/magma-components/p-7a7c308b.entry.js +0 -1
  1298. package/dist/magma-components/p-7ca990d4.system.entry.js +0 -11
  1299. package/dist/magma-components/p-7d6ca97d.system.entry.js +0 -7
  1300. package/dist/magma-components/p-8097dfc8.system.entry.js +0 -7
  1301. package/dist/magma-components/p-809adece.system.entry.js +0 -17
  1302. package/dist/magma-components/p-843ab1b4.entry.js +0 -1
  1303. package/dist/magma-components/p-87026d34.entry.js +0 -1
  1304. package/dist/magma-components/p-8765dc11.entry.js +0 -1
  1305. package/dist/magma-components/p-87faaa8e.system.entry.js +0 -16
  1306. package/dist/magma-components/p-8a838a1a.entry.js +0 -1
  1307. package/dist/magma-components/p-8bcb2a5f.entry.js +0 -1
  1308. package/dist/magma-components/p-8c93550d.entry.js +0 -1
  1309. package/dist/magma-components/p-8ca1d30d.system.entry.js +0 -1
  1310. package/dist/magma-components/p-91c8960a.system.entry.js +0 -1
  1311. package/dist/magma-components/p-932620b6.entry.js +0 -1
  1312. package/dist/magma-components/p-939da879.system.entry.js +0 -8
  1313. package/dist/magma-components/p-97bde480.entry.js +0 -1
  1314. package/dist/magma-components/p-97d02403.entry.js +0 -1
  1315. package/dist/magma-components/p-983f3e40.entry.js +0 -1
  1316. package/dist/magma-components/p-99227c78.system.entry.js +0 -11
  1317. package/dist/magma-components/p-9a583f6b.system.entry.js +0 -1
  1318. package/dist/magma-components/p-9a86e0ce.system.entry.js +0 -1
  1319. package/dist/magma-components/p-9d1cdb42.system.entry.js +0 -15
  1320. package/dist/magma-components/p-9e5982b6.entry.js +0 -1
  1321. package/dist/magma-components/p-9eef2f79.entry.js +0 -1
  1322. package/dist/magma-components/p-9fe14430.system.entry.js +0 -7
  1323. package/dist/magma-components/p-9fe7035a.entry.js +0 -1
  1324. package/dist/magma-components/p-BpVYIPkx.js +0 -1
  1325. package/dist/magma-components/p-CHAGzQT-.js +0 -1
  1326. package/dist/magma-components/p-DIUTGDX_.system.js +0 -1
  1327. package/dist/magma-components/p-E-ZsRS8r.js +0 -1
  1328. package/dist/magma-components/p-a0972ec9.entry.js +0 -1
  1329. package/dist/magma-components/p-a1851e6f.entry.js +0 -1
  1330. package/dist/magma-components/p-a2d9549d.system.entry.js +0 -32
  1331. package/dist/magma-components/p-a5a13b20.entry.js +0 -1
  1332. package/dist/magma-components/p-a6a71c77.entry.js +0 -1
  1333. package/dist/magma-components/p-a96312c1.entry.js +0 -1
  1334. package/dist/magma-components/p-aa0bd826.entry.js +0 -1
  1335. package/dist/magma-components/p-aa74169f.system.entry.js +0 -1
  1336. package/dist/magma-components/p-ab4ffbd4.system.entry.js +0 -68
  1337. package/dist/magma-components/p-ad9cb1f5.entry.js +0 -1
  1338. package/dist/magma-components/p-aed8b119.entry.js +0 -1
  1339. package/dist/magma-components/p-afbef2fc.entry.js +0 -1
  1340. package/dist/magma-components/p-b183d698.system.entry.js +0 -16
  1341. package/dist/magma-components/p-b49196da.entry.js +0 -1
  1342. package/dist/magma-components/p-b77a2832.entry.js +0 -1
  1343. package/dist/magma-components/p-b925c109.system.entry.js +0 -14
  1344. package/dist/magma-components/p-b9e3281a.system.entry.js +0 -72
  1345. package/dist/magma-components/p-bb0538b6.entry.js +0 -1
  1346. package/dist/magma-components/p-bb055583.entry.js +0 -1
  1347. package/dist/magma-components/p-bc6a41a9.system.entry.js +0 -1
  1348. package/dist/magma-components/p-c4beed1b.entry.js +0 -1
  1349. package/dist/magma-components/p-c4ccb710.entry.js +0 -1
  1350. package/dist/magma-components/p-c4e4ba90.system.entry.js +0 -38
  1351. package/dist/magma-components/p-c573e136.entry.js +0 -1
  1352. package/dist/magma-components/p-c6841b21.entry.js +0 -1
  1353. package/dist/magma-components/p-c89a44b2.entry.js +0 -1
  1354. package/dist/magma-components/p-c94575de.entry.js +0 -1
  1355. package/dist/magma-components/p-cabe9133.system.entry.js +0 -4
  1356. package/dist/magma-components/p-cb2c5f1b.entry.js +0 -1
  1357. package/dist/magma-components/p-cb571b55.system.entry.js +0 -1
  1358. package/dist/magma-components/p-cbc0f01f.system.entry.js +0 -17
  1359. package/dist/magma-components/p-cd1dc29a.entry.js +0 -1
  1360. package/dist/magma-components/p-cd952369.entry.js +0 -1
  1361. package/dist/magma-components/p-d35aebe5.entry.js +0 -1
  1362. package/dist/magma-components/p-d74fa7af.entry.js +0 -1
  1363. package/dist/magma-components/p-d7a94afb.system.entry.js +0 -7
  1364. package/dist/magma-components/p-db492cf5.system.entry.js +0 -13
  1365. package/dist/magma-components/p-dc06b29e.entry.js +0 -1
  1366. package/dist/magma-components/p-dc7bada4.entry.js +0 -1
  1367. package/dist/magma-components/p-dfb4a965.system.entry.js +0 -28
  1368. package/dist/magma-components/p-e1a91e9e.system.entry.js +0 -1
  1369. package/dist/magma-components/p-e5438280.system.entry.js +0 -10
  1370. package/dist/magma-components/p-e8cd2b93.system.entry.js +0 -4
  1371. package/dist/magma-components/p-e95f2a48.entry.js +0 -1
  1372. package/dist/magma-components/p-eb113725.system.entry.js +0 -1
  1373. package/dist/magma-components/p-ec5eccbb.entry.js +0 -1
  1374. package/dist/magma-components/p-eca99a0a.system.entry.js +0 -1
  1375. package/dist/magma-components/p-eea815ca.system.entry.js +0 -16
  1376. package/dist/magma-components/p-eff1fd6c.system.entry.js +0 -15
  1377. package/dist/magma-components/p-f01874a8.entry.js +0 -1
  1378. package/dist/magma-components/p-f05d7005.entry.js +0 -1
  1379. package/dist/magma-components/p-f215496c.entry.js +0 -1
  1380. package/dist/magma-components/p-f28cfb33.system.entry.js +0 -4
  1381. package/dist/magma-components/p-f830793e.entry.js +0 -1
  1382. package/dist/magma-components/p-f835c307.system.entry.js +0 -7
  1383. package/dist/magma-components/p-f89c3a01.system.entry.js +0 -32
  1384. package/dist/magma-components/p-f8eb19b3.entry.js +0 -1
  1385. package/dist/magma-components/p-f8feee93.system.entry.js +0 -4
  1386. package/dist/magma-components/p-f97b4ff4.system.entry.js +0 -16
  1387. package/dist/magma-components/p-fcaa5967.entry.js +0 -18
  1388. package/dist/types/dictionary/icon.d.ts +0 -4
  1389. package/dist/types/type/icon.d.ts +0 -1
@@ -1 +1 @@
1
- import{p as t,H as a,h as e,c as r,t as o,B as s}from"./p-pBvN1uAc.js";import{h as i}from"./p-CsgCQiHG.js";import{c as n}from"./p-ChV9xqsO.js";import{L as l}from"./p--miH951G.js";import{i as c}from"./p-Dje8Mggf.js";import{p as d}from"./p-zHpei4x6.js";import{d as m}from"./p-Bv2IVRzI.js";import{d as b}from"./p-CCv9tBZK.js";import{d as u}from"./p-CBV19-8O.js";import{d as f}from"./p-C7EyV0z3.js";var v={selectRow:"Επιλογή γραμμής",unselectRow:"Αποεπιλογή γραμμής"},h={selectRow:"Select row",unselectRow:"Deselect row"},p={selectRow:"Seleccionar fila",unselectRow:"Deseleccionar fila"},g={selectRow:"Seleziona riga",unselectRow:"Deseleziona riga"};const w=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.t=new l({el:v,en:h,es:p,it:g}),this.selectable=void 0,this.onActionSlotChange=()=>{this.hasActions=i(this.host,"action")},this.handleSelectionChange=t=>{var a;this.selected=t.detail.checked,null===(a=this.host.closest("mds-table"))||void 0===a||a.updateSelection()}}componentWillLoad(){this.hasActions=i(this.host,"action")}connectedCallback(){this.observeActions()}componentDidLoad(){this.observeActions()}observeActions(){var t;s.isBrowser&&this.actions&&(null!==(t=this.observer)&&void 0!==t||(this.observer=new ResizeObserver((t=>{var a,e,r;this.sizerWidth=(null!==(r=null===(e=null===(a=t[0].borderBoxSize)||void 0===a?void 0:a[0])||void 0===e?void 0:e.inlineSize)&&void 0!==r?r:0)+"px"}))),this.observer.observe(this.actions))}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){return e(r,{key:"70da55c262cfaea7b79716c601b1e4114ef19ef4",role:"row","pref-animation":d.state.animation},this.selectable&&e("mds-table-cell",{key:"d1ba66ad6eca2e3d56a7cc0735f8b24efe3c2080",class:"selection-cell"},e("div",{key:"cb46c8c646a5b91d263ea4db7d0b3cbf7a4113a1",class:"checkbox-wrapper"},e("mds-input-switch",{key:"797af982d61b9c1b203b9f8bf89f7106e071321a",title:this.t.get(this.selected?"unselectRow":"selectRow"),type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),e("slot",{key:"6947f346831bb2c4c79efeafe6205373cbebc939"}),c()&&e("mds-table-cell",{key:"0ff41dc7c501018e350e8d854bda54446c1d54cb",class:n("actions-cell","actions-cell--disable",!this.hasActions&&"actions-cell--hidden")},e("div",{key:"ab6e6b3847b8b78b76c686ec8dd6dc6a609f9d8e",class:"actions"},e("slot",{key:"b274d100df1dd6d6e759f39c5bb2bf6a66ead01c",name:"action",onSlotchange:this.onActionSlotChange}))),!c()&&e("mds-table-cell",{key:"91e52c9c97a3ee56909311556bd0e345721acee8",class:n("actions-cell",!this.hasActions&&"actions-cell--hidden")},e("div",{key:"bbd385157d1fc6e71f732a01e96ecf7d7ce8d373",class:"actions-sizer",style:Object.assign({minHeight:"1px"},this.sizerWidth&&{maxWidth:this.sizerWidth,minWidth:this.sizerWidth})}),e("div",{key:"bb3918db5cb10fccef1b5fd5ebd630517c28516f",class:"actions-view"},e("div",{key:"8ee6cc2d2a6957ead0193c52f5f292e8a3b011f8",class:"actions",ref:t=>this.actions=t,style:void 0!==this.sizerWidth?{marginRight:`calc(${this.sizerWidth} + var(--mds-table-cell-padding))`}:void 0},e("slot",{key:"531dcef1d4a17059e9f15f4383e6c3c70b2f59d9",name:"action",onSlotchange:this.onActionSlotChange})))))}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):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(--magma-tint-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(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));--mds-table-row-background-hover:var(--mds-table-background,rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-background-alt:var(--mds-table-background-alt,rgb(var(--magma-surface-default,var(--magma-tint-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;-webkit-transition-duration:var(--private-table-row-transition-duration);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(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-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(--radius-lg,16px) + var(--mds-table-border-width)*2);border-top-left-radius:calc(var(--radius-lg,16px) + var(--mds-table-border-width)*2);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;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}: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(--magma-tint-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]}]),k=w,y=function(){"undefined"!=typeof customElements&&["mds-table-row","mds-icon","mds-input-switch","mds-table-cell","mds-text"].forEach((t=>{switch(t){case"mds-table-row":customElements.get(o(t))||customElements.define(o(t),w);break;case"mds-icon":customElements.get(o(t))||m();break;case"mds-input-switch":customElements.get(o(t))||b();break;case"mds-table-cell":customElements.get(o(t))||u();break;case"mds-text":customElements.get(o(t))||f()}}))};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-pBvN1uAc.js";import{h as i}from"./p-CsgCQiHG.js";import{c as n}from"./p-ChV9xqsO.js";import{L as c}from"./p--miH951G.js";import{i as l}from"./p-Dje8Mggf.js";import{p as d}from"./p-zHpei4x6.js";import{d as m}from"./p-DmPLOktp.js";import{d as b}from"./p-6LGfUDQ4.js";import{d as u}from"./p-Cv7lqHIc.js";import{d as f}from"./p-DLCcW1Q5.js";var v={selectRow:"Επιλογή γραμμής",unselectRow:"Αποεπιλογή γραμμής"},h={selectRow:"Select row",unselectRow:"Deselect row"},p={selectRow:"Seleccionar fila",unselectRow:"Deseleccionar fila"},g={selectRow:"Seleziona riga",unselectRow:"Deseleziona riga"};const w=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.t=new c({el:v,en:h,es:p,it:g}),this.selectable=void 0,this.onActionSlotChange=()=>{this.hasActions=i(this.host,"action")},this.handleSelectionChange=a=>{var t;this.selected=a.detail.checked,null===(t=this.host.closest("mds-table"))||void 0===t||t.updateSelection()}}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()}render(){return e(r,{key:"ce7a0c7f5373d8d27e0743c7323bb8c169c5e23b",role:"row","pref-animation":d.state.animation},this.selectable&&e("mds-table-cell",{key:"d98cf72a534efaabb9c85cab721fe22dd91c9217",class:"selection-cell"},e("div",{key:"9613d75cb8d45ffc31c36610942a2791de741364",class:"checkbox-wrapper"},e("mds-input-switch",{key:"85727930540e3775b17c31bfb3b1c2f53c84337e",title:this.t.get(this.selected?"unselectRow":"selectRow"),type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),e("slot",{key:"0654a8a523d722d064ca31bb8f7d8903ca9c24a3"}),l()&&e("mds-table-cell",{key:"82255b04a22482f6bc04df087b11395b117273aa",class:n("actions-cell","actions-cell--disable",!this.hasActions&&"actions-cell--hidden")},e("div",{key:"0f606bf59d2d3cad0e229bb78bb129e135fe4d22",class:"actions"},e("slot",{key:"ae7a808aa15f678a12fc232ccf10df55aa7fbe12",name:"action",onSlotchange:this.onActionSlotChange}))),!l()&&e("mds-table-cell",{key:"d9e1df554752fcc45699229c993e840e597cda54",class:n("actions-cell",!this.hasActions&&"actions-cell--hidden")},e("div",{key:"3a42b170aea4a21c22edc656ec91b1f0f2d7b002",class:"actions-sizer",style:Object.assign({minHeight:"1px"},this.sizerWidth&&{maxWidth:this.sizerWidth,minWidth:this.sizerWidth})}),e("div",{key:"423909f03fc7ffcce54884fbc51a44b2c9569506",class:"actions-view"},e("div",{key:"896e3c1e2fdcfe013343ccbf4f795388dc88b858",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:"5251ddfd5066eadd3e0d24eee38a62e6ec96e469",name:"action",onSlotchange:this.onActionSlotChange})))))}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):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(--radius-lg,16px) + var(--mds-table-border-width)*2);border-top-left-radius:calc(var(--radius-lg,16px) + var(--mds-table-border-width)*2);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]}]),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))||m();break;case"mds-input-switch":customElements.get(o(a))||b();break;case"mds-table-cell":customElements.get(o(a))||u();break;case"mds-text":customElements.get(o(a))||f()}}))};export{k as MdsTableRow,y as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as a,d as e,h as r,c as s,t as i}from"./p-pBvN1uAc.js";import{c as o}from"./p-ChV9xqsO.js";import{L as n}from"./p--miH951G.js";import{p as d}from"./p-zHpei4x6.js";import{d as l}from"./p-BpGzrg1C.js";import{d as c}from"./p-C7EyV0z3.js";var m={batchActions:"Επιλεγμένα στοιχεία"},b={batchActions:"Selected items"},h={batchActions:"Elementos seleccionados"},u={batchActions:"Elementi selezionati"};const v=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 n({el:m,en:b,es:h,it:u}),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.handleActions=()=>{var t;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.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.updateSlottedElements=()=>{this.querySlottedElements(),this.updateInteractive(),this.handleSelection()}}onTableInteractive(){this.updateInteractive()}onTableSelectable(t){this.handleSelection(),this.header&&(this.header.selectable=t)}async updateSelection(){var t;this.selectable&&this.rows&&(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 selectAll(t=!0){this.selectable&&this.rows&&(this.rows.forEach((a=>{a.selected=t})),this.updateSelection())}componentWillLoad(){this.hasBatchActions=Array.from(this.host.children).some((t=>"batch-action"===t.getAttribute("slot"))),"undefined"!=typeof MutationObserver&&(this.tableBodyObserver=new MutationObserver((()=>{this.updateSlottedElements()}))),this.querySlottedElements()}componentDidLoad(){var t;if(this.header&&(this.header.selectable=this.selectable),this.hasActions()){const a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".table-wrapper");if(!a)throw Error("Table element table-wrapper not found");this.scrollWrapper=a,this.scrollWrapper.addEventListener("scroll",this.handleActions),this.resizeObserver=new ResizeObserver(this.handleActions),this.resizeObserver.observe(this.host),this.handleActions()}}disconnectedCallback(){var t,a;this.host.removeEventListener("scroll",this.handleActions),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),null===(a=this.tableBodyObserver)||void 0===a||a.disconnect()}render(){return r(s,{key:"fae3110a4e1c8e8ecd5be52da1a925d8a7ae539f","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},r("div",{key:"446f011466e88cb6e3e3edda947727351369f76b",class:"table-wrapper",part:"table-wrapper"},r("table",{key:"960688a9d9024f093c36c4b764253026154fc05e",class:o("table",this.interactive&&"table--interactive"),role:"table",part:"table"},r("slot",{key:"167c9cb9dd5376b5cfede35042516b440bf68964",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&r("div",{key:"2357eb34126e9e2798c036d350ec51159704f924",class:o("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},r("div",{key:"6521689a3e256cbc75ad80608e1b038efdd4eef6",class:"batch-actions",part:"batch-actions"},r("div",{key:"d642abba120e8e5d3e6ee31efe4084d4acefe91f",class:"batch-actions-header"},r("mds-text",{key:"02ddbe7033e04e4a51a736773324bd6edc404549",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),r("mds-badge",{key:"d55060c0e4b0f2efbde5a32c944686183d7a32e2",label:""+this.selectedRows.length,variant:"dark",tone:"outline",typography:"label"})),r("slot",{key:"447c233a53e49dc41b005f1f6df0fdc0ca2ece06",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(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-table-border-color:rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-table-border-width:2px;--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));--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-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));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-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))))!important;display:flex;overflow:hidden;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:var(--mds-table-background);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;-webkit-transition-duration:var(--private-table-transition-duration);transition-duration:var(--private-table-transition-duration);transition-property:max-width;-webkit-transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));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-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'}},[257,"mds-table",{interactive:[4],selectable:[4],selection:[1540],selectedRows:[32],updateSelection:[64],selectAll:[64]},void 0,{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}]),f=v,p=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),v);break;case"mds-badge":customElements.get(i(t))||l();break;case"mds-text":customElements.get(i(t))||c()}}))};export{f as MdsTable,p as defineCustomElement}
1
+ import{p as t,H as e,d as a,h as r,c as s,t as i}from"./p-pBvN1uAc.js";import{c as o}from"./p-ChV9xqsO.js";import{L as n}from"./p--miH951G.js";import{p as d}from"./p-zHpei4x6.js";import{d as l}from"./p-B8BWxSho.js";import{d as c}from"./p-DLCcW1Q5.js";var b={batchActions:"Επιλεγμένα στοιχεία"},h={batchActions:"Selected items"},m={batchActions:"Elementos seleccionados"},u={batchActions:"Elementi selezionati"};const p=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 n({el:b,en:h,es:m,it:u}),this.sorting="internal",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.handleActions=()=>{var t;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.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.updateSlottedElements=()=>{this.querySlottedElements(),this.updateInteractive(),this.handleSelection()}}onTableInteractive(){this.updateInteractive()}onTableSelectable(t){this.handleSelection(),this.header&&(this.header.selectable=t)}async updateSelection(){var t;this.selectable&&this.rows&&(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 selectAll(t=!0){this.selectable&&this.rows&&(this.rows.forEach((e=>{e.selected=t})),this.updateSelection())}componentWillLoad(){this.hasBatchActions=Array.from(this.host.children).some((t=>"batch-action"===t.getAttribute("slot"))),"undefined"!=typeof MutationObserver&&(this.tableBodyObserver=new MutationObserver((()=>{this.updateSlottedElements()}))),this.querySlottedElements()}componentDidLoad(){var t;if(this.header&&(this.header.selectable=this.selectable),this.hasActions()){const e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".table-wrapper");if(!e)throw Error("Table element table-wrapper not found");this.scrollWrapper=e,this.scrollWrapper.addEventListener("scroll",this.handleActions),this.resizeObserver=new ResizeObserver(this.handleActions),this.resizeObserver.observe(this.host),this.handleActions()}}disconnectedCallback(){var t,e;this.host.removeEventListener("scroll",this.handleActions),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),null===(e=this.tableBodyObserver)||void 0===e||e.disconnect()}render(){return r(s,{key:"05924eaef250d22ca1809cc134c22e7086ddbd7f","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},r("div",{key:"2e575e5126766e4477e2fc066ba5735e4b8b089c",class:o("table-wrapper",this.interactive&&"table-wrapper--interactive"),part:"table-wrapper"},r("table",{key:"0631bd2184243342dde59eb749075e3902455c26",class:o("table",this.interactive&&"table--interactive"),role:"table",part:"table"},r("slot",{key:"1a0e7c380e16947d021a9a7d8fd7038a9426d245",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&r("div",{key:"f9fb2db1a192205e4969723bee273c7899bee530",class:o("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},r("div",{key:"ce8946586426117843230181dadae8f1aa02ee4d",class:"batch-actions",part:"batch-actions"},r("div",{key:"03a3155801947083313b84f5f57c1d4ce1b8e092",class:"batch-actions-header"},r("mds-text",{key:"a8535f6857977e009c6a2fa59f68f105911403d6",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),r("mds-badge",{key:"b9b541f9213e0d8c809c5e162547977371f75d20",label:""+this.selectedRows.length,variant:"dark",tone:"outline",typography:"label"})),r("slot",{key:"a315b299278f5fc465a17ebdb1eb1809c74b20f5",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-default,var(--border-neutral-default,196 196 196)));--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-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-border-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196))));--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-default,var(--border-neutral-default,196 196 196))));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-default,var(--border-neutral-default,196 196 196))))!important;display:flex;overflow:hidden;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:var(--mds-table-background);corner-shape:inherit;display:flex;overflow:auto;width:100%}:host(:hover) .table-wrapper--interactive{background-color:var(--mds-table-background-alt)}.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-border-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196))));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],selectedRows:[32],updateSelection:[64],selectAll:[64]},void 0,{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}]),v=p,f=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),p);break;case"mds-badge":customElements.get(i(t))||l();break;case"mds-text":customElements.get(i(t))||c()}}))};export{v as MdsTable,f as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-C7EyV0z3.js";const p=o,r=s;export{p as MdsText,r as defineCustomElement}
1
+ import{M as o,d as s}from"./p-DLCcW1Q5.js";const p=o,r=s;export{p as MdsText,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as a,d as o,h as r,c as s,t as e}from"./p-pBvN1uAc.js";import{c as i}from"./p-D8eZRaSQ.js";import{p as n}from"./p-zHpei4x6.js";import{h as d}from"./p-CsgCQiHG.js";import{c as m}from"./p-ChV9xqsO.js";import{d as c}from"./p-C7EyV0z3.js";const p=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.closedEvent=o(this,"mdsToastClose",7),this.cssDismissAnimationDuration=300,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.reloadTimeListeners=t=>{"undefined"!=typeof window&&this.hasDuration()&&t&&(this.removeTimeListener(),this.addTimeListener())},this.removeTimeListener=()=>{window.clearInterval(this.timer),this.timer=0},this.addTimeListener=()=>{this.timer=window.setInterval((()=>{this.visible=!1,this.timerToastDismiss=window.setInterval((()=>{this.closedEvent.emit(),window.clearInterval(this.timerToastDismiss),this.timerToastDismiss=0}),this.cssDismissAnimationDuration)}),this.duration)},this.onActionSlotChange=()=>{this.hasActions=d(this.hostElement,"action")}}updateCSSCustomProps(){if("undefined"==typeof window)return;const t=window.getComputedStyle(this.hostElement);this.cssDismissAnimationDuration=i(t.getPropertyValue("--mds-tab-duration"))}componentWillLoad(){this.hasText=""!==this.hostElement.innerHTML,this.hasActions=d(this.hostElement,"action"),this.hasDuration()&&this.visible&&this.addTimeListener()}componentDidLoad(){this.updateCSSCustomProps()}visibleChanged(t){this.reloadTimeListeners(t)}durationChanged(){this.reloadTimeListeners(!!this.visible)}render(){return r(s,{key:"cad012d09a27f0ba79bff9862780688a6221f41f","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},r("div",{key:"4da6c79193f6f786e862560a2405bb3edb0b815d",class:m("dialog",this.position&&"to-"+this.position,this.visible&&"dialog--visible")},r("slot",{key:"dc21826b3cfe6bc1a49918b15a6718b525985913",name:"icon"}),this.hasText&&r("mds-text",{key:"341d370fb89f96825b1fd0eae0b9c13bf19ac3c5",typography:"caption"},r("slot",{key:"5376e8f9f2595fd839cab929e1cb3dc359626dd4"})),r("div",{key:"594b9b028d9ba258461bc25f7287b4daf21fcca8",class:m("actions",!this.hasActions&&"actions--hidden")},r("slot",{key:"ca1090e8720cc4629a89f44323498d5ee7dc1447",name:"action",onSlotchange:this.onActionSlotChange}))))}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(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-toast-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-toast-duration:.3s;--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,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(--magma-tint-text-on-emphasis,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));align-items:center;background-color:var(--mds-toast-background,rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))));border-radius:var(--radius-xl,20px);-webkit-box-shadow:var(--mds-toast-shadow);box-shadow:var(--mds-toast-shadow);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;-webkit-transition-duration:var(--private-toast-transition-duration);transition-duration:var(--private-toast-transition-duration);transition-property:box-shadow,background-color,color,transform;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));width:var(--mds-toast-width,auto)}:host([visible]:not([visible=false])) .dialog{pointer-events:auto}: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}::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(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));flex-shrink:0;-webkit-transition-duration:var(--private-toast-transition-duration-icon);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(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-toast-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,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(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=dark][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))));--mds-toast-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,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(--magma-tint-text-on-emphasis,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(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-toast-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([variant=light][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-toast-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-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,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,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,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,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-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],hasActions:[32]},void 0,{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}]),v=p,u=function(){"undefined"!=typeof customElements&&["mds-toast","mds-text"].forEach((t=>{switch(t){case"mds-toast":customElements.get(e(t))||customElements.define(e(t),p);break;case"mds-text":customElements.get(e(t))||c()}}))};export{v as MdsToast,u as defineCustomElement}
1
+ import{p as t,H as a,d as o,h as r,c as s,t as e}from"./p-pBvN1uAc.js";import{c as i}from"./p-D8eZRaSQ.js";import{p as n}from"./p-zHpei4x6.js";import{h as d}from"./p-CsgCQiHG.js";import{c as m}from"./p-ChV9xqsO.js";import{d as c}from"./p-DLCcW1Q5.js";const p=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.closedEvent=o(this,"mdsToastClose",7),this.cssDismissAnimationDuration=300,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.reloadTimeListeners=t=>{"undefined"!=typeof window&&this.hasDuration()&&t&&(this.removeTimeListener(),this.addTimeListener())},this.removeTimeListener=()=>{window.clearInterval(this.timer),this.timer=0},this.addTimeListener=()=>{this.timer=window.setInterval((()=>{this.visible=!1,this.timerToastDismiss=window.setInterval((()=>{this.closedEvent.emit(),window.clearInterval(this.timerToastDismiss),this.timerToastDismiss=0}),this.cssDismissAnimationDuration)}),this.duration)},this.onActionSlotChange=()=>{this.hasActions=d(this.hostElement,"action")}}updateCSSCustomProps(){if("undefined"==typeof window)return;const t=window.getComputedStyle(this.hostElement);this.cssDismissAnimationDuration=i(t.getPropertyValue("--mds-tab-duration"))}componentWillLoad(){this.hasText=""!==this.hostElement.innerHTML,this.hasActions=d(this.hostElement,"action"),this.hasDuration()&&this.visible&&this.addTimeListener()}componentDidLoad(){this.updateCSSCustomProps()}visibleChanged(t){this.reloadTimeListeners(t)}durationChanged(){this.reloadTimeListeners(!!this.visible)}render(){return r(s,{key:"a083314c1d171ef03f724c2a7fef0a1a7eaf4270","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},r("div",{key:"4627df3db4f6210cb40ea33cda8e20dc3cbe6acd",class:m("dialog",this.position&&"to-"+this.position,this.visible&&"dialog--visible")},r("slot",{key:"b47267806628400c2a10424cb28f75b25e938b06",name:"icon"}),this.hasText&&r("mds-text",{key:"909290cf12077bd9d90e16c8cc307275d54f9e24",typography:"caption"},r("slot",{key:"974ff0bca3a348a983c2a97e99de5f0299990000"})),r("div",{key:"5f7d099c3b0d17501048fc354be5da207699a732",class:m("actions",!this.hasActions&&"actions--hidden")},r("slot",{key:"c294d3e4c1716a013b7395190b03f1f35fc870bf",name:"action",onSlotchange:this.onActionSlotChange}))))}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));align-items:center;background-color:var(--mds-toast-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))));border-radius:var(--radius-xl,20px);box-shadow:var(--mds-toast-shadow);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;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));width:var(--mds-toast-width,auto)}:host([visible]:not([visible=false])) .dialog{pointer-events:auto}: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}::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,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,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,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,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-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],hasActions:[32]},void 0,{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}]),u=p,v=function(){"undefined"!=typeof customElements&&["mds-toast","mds-text"].forEach((t=>{switch(t){case"mds-toast":customElements.get(e(t))||customElements.define(e(t),p);break;case"mds-text":customElements.get(e(t))||c()}}))};export{u as MdsToast,v as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-BBPQjm8h.js";const m=o,p=s;export{m as MdsTooltip,p as defineCustomElement}
1
+ import{M as o,d as r}from"./p-DOzcuSrZ.js";const s=o,p=r;export{s as MdsTooltip,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as r,h as i,c as o,t as a}from"./p-pBvN1uAc.js";import{c as n}from"./p-ChV9xqsO.js";import{h as s}from"./p-CsgCQiHG.js";import{L as d}from"./p--miH951G.js";import{c}from"./p-D8eZRaSQ.js";import{d as l}from"./p-B6FOPjps.js";import{d as g}from"./p-Bv2IVRzI.js";import{d as m}from"./p-CHAvkoj3.js";import{d as h}from"./p-C7EyV0z3.js";var v={expand:"Ανάπτυξη {{ label }}",collapse:"Σύμπτυξη {{ label }}"},b={expand:"Expand {{ label }}",collapse:"Collapse {{ label }}"},p={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:b,es:p,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-dropdown-backdrop-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.onActionSlotChange=()=>{this.hasActions=s(this.host,"action")}}handleIconChange(){this.updateToggleIcon()}handleExpandedChange(e){e?this.childrenElement.classList.remove("children--hidden"):this.toggleChildrenTimer=setTimeout((()=>{clearTimeout(this.toggleChildrenTimer),this.collapsedEvent.emit({element:this.host})}),c(this.cssToggleChildrenDuration))}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.hasChildren=!!this.host.querySelector("mds-tree-item")}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 i(o,{key:"c492eae01432eccf6db389a411828c41c4e5b617","resolved-actions":this.resolvedActions},i("div",{key:"e1c6e1444188aecc1121b4320524fcdfe8c01fc8",class:n("header",this.hasChildren&&"header--has-children")},i("div",{key:"01fc9e13817f3066538352a96923b9f32df30b83",class:"tree-node"},i("div",{key:"9f5c3c743112a1deac8f427720b567bdb52dcd9c",class:"tree-branch"}),i("div",{key:"b4e5124438fddaf903852b473ed150eb7a1f557a",class:"tree-dot"})),i("div",{key:"cf33e2eebeebc07ada3010bf090ef0b28c95bb25",class:"toggle-icon"},i("mds-button",{key:"8c395b5cff84e4084402c8c7ef9153faaf1d2df8",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"})),i("div",{key:"069373193cdb746766238011e9c7703ebdf5e2a2",class:"title"},i("mds-button",{key:"fafece4aafad4443669ae50cdc81e951c83c3300",class:n("label-action",this.await&&"label-action--await"),disabled:this.await,icon:this.icon,onClick:this.onClick,variant:"dark",tone:"text",truncate:this.truncate,label:this.label}),i("div",{key:"d285800720401b130c9264604ec263f8db3a0664",class:n("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},i("div",{key:"cb3eb7c5955d1368225eebd60551f8955d7b9235",class:"actions",part:"actions-list"},i("slot",{key:"f64107d9d9fd87881657665d4604ee12f9ad3250",name:"action",onSlotchange:this.onActionSlotChange}))))),i("div",{key:"df2d3d4750310be51fe225c0ca8ed5897dfff283",class:n("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded")},i("slot",{key:"7c12146a94b60e43383ba0208c0bc64ccbf9304d"})))}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(--radius-lg,16px)}}@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(--radius-lg,16px));--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);--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-item-toggle-icon-chevron-default-background);--mds-tree-item-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-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:calc(var(--spacing,.0025rem)*100);display:grid;-webkit-transition-duration:var(--mds-tree-item-transition-duration);transition-duration:var(--mds-tree-item-transition-duration);-webkit-transition-timing-function:var(--mds-tree-item-transition-timing-function);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:var(--radius-lg,16px);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);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;-webkit-transition-timing-function:var(--ease);transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{align-items:center;border-radius:var(--mds-tree-item-actions-border-radius);display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:transform;-webkit-transition-timing-function:var(--ease);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{-webkit-animation:toggleOverflow var(--duration-300,.3s) forwards;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;-webkit-transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));-webkit-transition-duration:var(--mds-tree-item-transition-duration);transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform;-webkit-transition-timing-function:var(--mds-tree-item-transition-timing-function);transition-timing-function:var(--mds-tree-item-transition-timing-function);z-index:0}.children--expanded{-webkit-animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;-webkit-animation-timing-function:var(--mds-tree-item-transition-timing-function);animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0)}.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(var(--mds-tree-item-toggle-size)/2*-1 + var(--mds-tree-item-branch-border-radius,var(--radius-lg,16px))*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--radius-lg,16px)) + 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(--radius-lg,16px));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;display:flex;height:var(--tree-height);inset:0;position:absolute;-webkit-transform:translateY(var(--pos-y));transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-child) .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-child)) .header--has-children .tree-node:after{--size:calc(var(--mds-tree-item-toggle-size)/2 + var(--mds-tree-item-branch-border-radius,var(--radius-lg,16px)));--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(--radius-lg,16px));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:"";display:flex;height:var(--size);inset:0;position:absolute;-webkit-transform:translateY(var(--pos-y));transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-child)) .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;-webkit-transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));-webkit-transition-duration:var(--mds-tree-item-transition-duration);transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;-webkit-transition-timing-function:var(--mds-tree-item-transition-timing-function);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);-webkit-transition-duration:var(--mds-tree-item-transition-duration);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;-webkit-transition-timing-function:var(--mds-tree-item-transition-timing-function);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{-webkit-box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color);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(--radius);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-child)) .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,k=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))||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,k as defineCustomElement}
1
+ import{p as e,H as t,d as r,h as o,c as i,t as a}from"./p-pBvN1uAc.js";import{c as n}from"./p-ChV9xqsO.js";import{h as s}from"./p-CsgCQiHG.js";import{L as d}from"./p--miH951G.js";import{c}from"./p-D8eZRaSQ.js";import{d as l}from"./p-DHu8X7zF.js";import{d as g}from"./p-DmPLOktp.js";import{d as m}from"./p-BBDliSai.js";import{d as h}from"./p-DLCcW1Q5.js";var v={expand:"Ανάπτυξη {{ label }}",collapse:"Σύμπτυξη {{ label }}"},b={expand:"Expand {{ label }}",collapse:"Collapse {{ label }}"},p={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:b,es:p,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-dropdown-backdrop-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.onActionSlotChange=()=>{this.hasActions=s(this.host,"action")}}handleIconChange(){this.updateToggleIcon()}handleExpandedChange(e){e?this.childrenElement.classList.remove("children--hidden"):this.toggleChildrenTimer=setTimeout((()=>{clearTimeout(this.toggleChildrenTimer),this.collapsedEvent.emit({element:this.host})}),c(this.cssToggleChildrenDuration))}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.hasChildren=!!this.host.querySelector("mds-tree-item")}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:"d379a04bc50d2a8822b2c9bd9afa3286bf1049c9","resolved-actions":this.resolvedActions},o("div",{key:"f8818459a7569259ca2de97d524aad1b28a5bc3e",class:n("header",this.hasChildren&&"header--has-children")},o("div",{key:"61e46bdcfb645700a7a5877618d285fa8f669755",class:"tree-node"},o("div",{key:"1f16e0cb50353dae965c934305b5f0a8c9cacdbe",class:"tree-branch"}),o("div",{key:"875b223dbdb3afc8b546b3658e83635e6a05691e",class:"tree-dot"})),o("div",{key:"3a6ac1bdb6c0d62cc8e7676e08159e1ced589856",class:"toggle-icon"},o("mds-button",{key:"a484d767f250873e1b4727ce616dcea39cad985a",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:"6fb6aeac51e71e0693733d5015e41b8cf8b7e3ed",class:"title"},o("mds-button",{key:"55c10a8b8f442612bc5fdcc044db92632d240dc8",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:"766927e3499deef9a551099f5551047c54b0eaea",class:n("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},o("div",{key:"a11f706c0605da9631807cee0ad8bc75f0b8b000",class:"actions",part:"actions-list"},o("slot",{key:"98138d8403cfc3b3e9881ba109d5ae7ed04177f8",name:"action",onSlotchange:this.onActionSlotChange}))))),o("div",{key:"23d3dcbceb0afb21277bade5a49a17f57fa060d2",class:n("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded")},o("slot",{key:"1c02a9c285127cc48bd127ca76c459982271ad68"})))}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(--radius-lg,16px)}}@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(--radius-lg,16px));--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);--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-item-toggle-icon-chevron-default-background);--mds-tree-item-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-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:calc(var(--spacing,.0025rem)*100);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:var(--radius-lg,16px);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);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{align-items:center;border-radius:var(--mds-tree-item-actions-border-radius);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;transition-timing-function:var(--mds-tree-item-transition-timing-function);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)}.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(var(--mds-tree-item-toggle-size)/2*-1 + var(--mds-tree-item-branch-border-radius,var(--radius-lg,16px))*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--radius-lg,16px)) + 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(--radius-lg,16px));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;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-child) .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-child)) .header--has-children .tree-node:after{--size:calc(var(--mds-tree-item-toggle-size)/2 + var(--mds-tree-item-branch-border-radius,var(--radius-lg,16px)));--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(--radius-lg,16px));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:"";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-child)) .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(--radius);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-child)) .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))||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 n}from"./p-pBvN1uAc.js";import{a as o}from"./p-CsgCQiHG.js";const i=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.elements=[],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)}))}}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.childrenElements=this.host.querySelectorAll("mds-tree-item"),this.updateChildrenTruncate(this.truncate),this.updateChildrenToggle(this.toggle),this.updateChildrenTogglePosition(this.togglePosition),this.updateChildrenAppearance(this.appearance);const e=o(this.host,"mds-tree-item");null!=e&&e.forEach((e=>{e.depth=0}))}render(){return t(r,{key:"78fb744b2ced74fab6bbbfe7ef272b25d3f90c89"},t("slot",{key:"8187084c990a6b59ce8d8abcfa6dba4c47bc53e9",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(--radius-lg,16px);--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(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-tree-label-icon-default-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-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(--magma-tint-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(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-tree-branch-dot-expanded-color:rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))));--mds-tree-toggle-gap:calc(var(--spacing,.0025rem)*150);--mds-tree-toggle-icon-async-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-tree-toggle-icon-async-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-tree-toggle-icon-chevron-default-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-tree-toggle-icon-chevron-default-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-tree-toggle-icon-folder-default-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-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(--magma-tint-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(--magma-tint-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(--radius-lg,16px);--mds-tree-toggle-size:calc(var(--spacing,.0025rem)*900);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-sm,10px);display:grid;padding:calc(var(--spacing,.0025rem)*50);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}@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}]}]),s=i,d=function(){"undefined"!=typeof customElements&&["mds-tree"].forEach((e=>{"mds-tree"===e&&(customElements.get(n(e))||customElements.define(n(e),i))}))};export{s as MdsTree,d as defineCustomElement}
1
+ import{p as e,H as t,h as a,c as r,t as o}from"./p-pBvN1uAc.js";import{a as n}from"./p-CsgCQiHG.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.elements=[],this.appearance="depth",this.toggle="chevron",this.togglePosition="left",this.truncate="word",this.actions="auto",this.updateChildrenExpanded=e=>{this.childrenElements.forEach((t=>{t.async||(t.expanded=e)}))},this.updateChildrenToggle=e=>{this.childrenElements.forEach((t=>{t.toggle=e}))},this.updateChildrenTogglePosition=e=>{this.childrenElements.forEach((t=>{t.togglePosition=e}))},this.updateChildrenAppearance=e=>{this.childrenElements.forEach((t=>{t.appearance=e}))},this.updateChildrenTruncate=e=>{this.childrenElements.forEach((t=>{t.truncate=e}))},this.updateElements=()=>{var e,t,a;this.elements=null!==(a=null===(t=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector("slot"))||void 0===t?void 0:t.assignedElements())&&void 0!==a?a:[],this.updateZIndex()},this.updateZIndex=()=>{this.elements.forEach(((e,t)=>{e.style.zIndex=""+(this.elements.length-t)}))}}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.childrenElements=this.host.querySelectorAll("mds-tree-item"),this.updateChildrenTruncate(this.truncate),this.updateChildrenToggle(this.toggle),this.updateChildrenTogglePosition(this.togglePosition),this.updateChildrenAppearance(this.appearance);const e=n(this.host,"mds-tree-item");null!=e&&e.forEach((e=>{e.depth=0}))}render(){return a(r,{key:"53ef93188d5e83639dd7ab8dd00e61ae45bf4b29"},a("slot",{key:"c13033ae239fb74ab1cc88603cec1249aaba7fbd",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(--radius-lg,16px);--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)*150);--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(--radius-lg,16px);--mds-tree-toggle-size:calc(var(--spacing,.0025rem)*900);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-sm,10px);display:grid;padding:calc(var(--spacing,.0025rem)*50);transition-duration:var(--duration-200,.2s);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}@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}]}]),i=s,d=function(){"undefined"!=typeof customElements&&["mds-tree"].forEach((e=>{"mds-tree"===e&&(customElements.get(o(e))||customElements.define(o(e),s))}))};export{i as MdsTree,d as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as r,h as a,c as i,t as s}from"./p-pBvN1uAc.js";import{m as o}from"./p-J-ikDhyq.js";import{K as n}from"./p-KRu9I7dw.js";import{L as d}from"./p--miH951G.js";import{p as m}from"./p-zHpei4x6.js";import{d as l}from"./p-B6FOPjps.js";import{d as c}from"./p-Bv2IVRzI.js";import{d as u}from"./p-CHAvkoj3.js";import{d as h}from"./p-C7EyV0z3.js";var p={close:"Κλείσιμο",iframeURL:"Στοιχείο iframe που περιέχει {{ url }}",previewURL:"Παράθυρο με προεπισκόπηση του {{ url }}"},v={close:"Close",iframeURL:"Iframe element containing {{ url }}",previewURL:"Window with a preview of {{ url }}"},f={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 t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.closeEvent=r(this,"mdsUrlViewClose",7),this.km=new n,this.t=new d({el:p,en:v,es:f,it:w}),this.loading="lazy",this.urlDomain=e=>{try{return new URL(e).hostname.replace("www.","")}catch(t){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,t;const r=null!==(t=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".action-close"))&&void 0!==t?t:null;null!==r&&(this.km.addElement(r),this.km.attachClickBehavior())}disconnectedCallback(){this.km.detachClickBehavior()}render(){var e,t;return a(i,{key:"5d5b18b08ab6248208ed93e40072c4d04876e9d7","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:"3218cf559118a33ac33941392baeb1677f007fdb",class:"window"},a("div",{key:"21efea0113b7fd6a05af0e74d5274bea0e5d7270",class:"header"},a("mds-icon",{key:"6424c1bce6d7d3f9a0a5a155574c2b310b825a4e",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:"7d6117345c8401c6fdbf90ec22855c380c5c5af1",class:"title",typography:"caption"},null!==(t=this.label)&&void 0!==t?t:this.urlDomain(this.src)),a("mds-button",{key:"b179e9ec2295fd5dcd22db2d63cc0eb6aaf2ed9e",title:this.t.get("close"),class:"action-close",variant:"dark",tone:"text",icon:o,onClick:this.closeUrlView})),a("iframe",{key:"cbefb075bb231e5dbf1db14dd456758e27f757a7",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(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-url-view-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-url-view-radius:var(--radius-md,12px);--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(--radius-md,12px));-webkit-box-shadow:var(--mds-url-view-shadow);box-shadow:var(--mds-url-view-shadow);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(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));display:flex;-webkit-transition-duration:var(--private-url-view-transition-duration);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;-webkit-box-shadow:var(--mds-url-view-header-shadow);box-shadow:var(--mds-url-view-header-shadow);color:var(--mds-url-view-color,rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-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 t,d as r,h as a,c as i,t as s}from"./p-pBvN1uAc.js";import{m as o}from"./p-J-ikDhyq.js";import{K as n}from"./p-KRu9I7dw.js";import{L as d}from"./p--miH951G.js";import{p as m}from"./p-zHpei4x6.js";import{d as l}from"./p-DHu8X7zF.js";import{d as c}from"./p-DmPLOktp.js";import{d as u}from"./p-BBDliSai.js";import{d as p}from"./p-DLCcW1Q5.js";var h={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 t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.closeEvent=r(this,"mdsUrlViewClose",7),this.km=new n,this.t=new d({el:h,en:f,es:v,it:w}),this.loading="lazy",this.urlDomain=e=>{try{return new URL(e).hostname.replace("www.","")}catch(t){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,t;const r=null!==(t=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".action-close"))&&void 0!==t?t:null;null!==r&&(this.km.addElement(r),this.km.attachClickBehavior())}disconnectedCallback(){this.km.detachClickBehavior()}render(){var e,t;return a(i,{key:"2bd97f93dcea354494a3bbfa121c313f24d2e5d5","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:"3bf74d549528a4c9bdd757d51d0a4808ba5654f9",class:"window"},a("div",{key:"ea6a7513971380653a6d57a5e82040384017d748",class:"header"},a("mds-icon",{key:"209af200354c6257ac1dd386dfae8b685d394389",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:"8a43ab99147e1428f7fb2ce93cc0532660e016f9",class:"title",typography:"caption"},null!==(t=this.label)&&void 0!==t?t:this.urlDomain(this.src)),a("mds-button",{key:"c754f865ee312339354eff02518865b8ec7f524b",title:this.t.get("close"),class:"action-close",variant:"dark",tone:"text",icon:o,onClick:this.closeUrlView})),a("iframe",{key:"da33348312dc2d6027d03b9f4df3951e018bd4c3",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(--radius-md,12px);--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(--radius-md,12px));box-shadow:var(--mds-url-view-shadow);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))||p()}}))};export{g as MdsUrlView,x as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as r,h as e,c as t,t as o}from"./p-pBvN1uAc.js";import{L as s}from"./p--miH951G.js";import{p as n}from"./p-zHpei4x6.js";import{d as i}from"./p-Bv2IVRzI.js";import{d}from"./p-C7EyV0z3.js";var m={do:"Επιτρέπεται",dont:"Δεν επιτρέπεται",info:"Πληροφορία",warn:"Προειδοποίηση"},c={do:"Allowed",dont:"Not allowed",info:"Information",warn:"Warning"},g={do:"Permitido",dont:"No permitido",info:"Información",warn:"Advertencia"},p={do:"Consentito",dont:"Non consentito",info:"Informazione",warn:"Attenzione"};const u=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.t=new s({el:m,en:c,es:g,it:p}),this.variant="info"}render(){var a;return e(t,{key:"cf0c6b62fc4f8f7a297605ca77ff16067bb542d3","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},e("div",{key:"d7c92de2944edd302cb06525c0ee4a43a6528a14",class:"header",part:"header"},e("mds-icon",{key:"7bdfd0cf86f2e47ba2c1ffe3d6346652be3ed8d1",name:"mi/baseline/info",part:"icon"}),e("mds-text",{key:"335f96253125a0019a03233e0367595f3bc53be1",typography:"label",class:"label",part:"label"},null!==(a=this.alias)&&void 0!==a?a:this.t.get(this.variant))),e("div",{key:"b70f017128d80ff0bfc24b0ff3935212d17b0a08",class:"content",role:"do"===this.variant||"info"===this.variant?"insertion":"deletion"},e("slot",{key:"ea81f6077c8842d48ef63d7f041d92199b64925e"})))}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(--magma-tint-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(--radius-lg,16px);border-style:solid;border-width:calc(var(--spacing,.0025rem)*50);display:grid;gap:calc(var(--spacing,.0025rem)*200);grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content;grid-template-columns:minmax(0,100%);padding:calc(var(--spacing,.0025rem)*400);padding-top:0;position:relative;-webkit-transition-duration:var(--private-usage-transition-duration);transition-duration:var(--private-usage-transition-duration);transition-property:background-color,box-shadow,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:100%}.label{color:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-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(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}.header{align-items:center;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(--radius-xs,8px);border-bottom-right-radius:var(--radius-xs,8px);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])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([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(--magma-tint-text-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(--magma-tint-text-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(--magma-tint-text-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])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'}},[257,"mds-usage",{variant:[1],alias:[1]}]),h=u,l=function(){"undefined"!=typeof customElements&&["mds-usage","mds-icon","mds-text"].forEach((a=>{switch(a){case"mds-usage":customElements.get(o(a))||customElements.define(o(a),u);break;case"mds-icon":customElements.get(o(a))||i();break;case"mds-text":customElements.get(o(a))||d()}}))};export{h as MdsUsage,l as defineCustomElement}
1
+ import{p as r,H as a,h as e,c as o,t}from"./p-pBvN1uAc.js";import{m as s}from"./p-BJ8rpzfj.js";import{m as n}from"./p-BFhO-KUe.js";import{L as i}from"./p--miH951G.js";import{p as d}from"./p-zHpei4x6.js";import{d as m}from"./p-DmPLOktp.js";import{d as c}from"./p-DLCcW1Q5.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 f=r(class extends a{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.t=new i({el:h,en:p,es:l,it:u}),this.variant="info"}render(){var r,a;const t=this.icon||(null!==(r=g[this.variant])&&void 0!==r?r:g.info);return e(o,{key:"d78cb6b360d5cadaeea0628e62020c4b314eb2e2","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:"028ed50c32cd3ce93d44c0717b5eef2c826debce",class:"header",part:"header"},e("mds-icon",{key:"cc390e27385578c5af9c0f94dfe27db828ae78aa",name:t,part:"icon"}),e("mds-text",{key:"9c33b5d00f6c5732ad0b02bdcfdb5bd3330987c5",typography:"label",class:"label",part:"label"},null!==(a=this.alias)&&void 0!==a?a:this.t.get(this.variant))),e("div",{key:"4750f81da895eca405eafef2a63b4baf62fbb6dd",class:"content",role:"do"===this.variant||"info"===this.variant?"insertion":"deletion"},e("slot",{key:"44980b858a03517cc015cefb547eff330d54f494"})))}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(--radius-lg,16px);border-style:solid;border-width:calc(var(--spacing,.0025rem)*50);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;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));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{align-items:center;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(--radius-xs,8px);border-bottom-right-radius:var(--radius-xs,8px);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:[1],alias:[1],icon:[1]}]),v=f,b=function(){"undefined"!=typeof customElements&&["mds-usage","mds-icon","mds-text"].forEach((r=>{switch(r){case"mds-usage":customElements.get(t(r))||customElements.define(t(r),f);break;case"mds-icon":customElements.get(t(r))||m();break;case"mds-text":customElements.get(t(r))||c()}}))};export{v as MdsUsage,b as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as a,h as o,c as i,t}from"./p-pBvN1uAc.js";import{h as s}from"./p-CsgCQiHG.js";import{c as A}from"./p-ChV9xqsO.js";const n=e(class extends a{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=s(this.hostElement,"content")}}componentWillLoad(){this.hasContent=s(this.hostElement,"content")}render(){return o(i,{key:"94928e6afc0142c8082518a25b2f594a05325ac2"},"none"!==this.noise&&o("div",{key:"e7a8161a371b621804bfac37d10ba4bf883ed3f8","aria-hidden":"true",class:A("noise","noise--"+this.noise)}),o("video",{key:"dd8e93a8571d735b0815074c5303d8b4ae2df0f5","aria-hidden":"true",autoplay:this.autoplay,loop:this.loop,muted:this.muted,poster:this.poster,preload:this.preload,src:this.src},o("slot",{key:"a40be3e398a343c0bfdeab3b434be926aa88db37"})),o("div",{key:"1c9b4531760bb68227dbaf1372d570baa56816b2",class:A("content",!this.hasContent&&"content--hidden")},o("slot",{key:"9d71e618a2662408f1dc48fc2191f187529f816b",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(--magma-tint-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(--magma-tint-scale-02,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{-o-object-fit:var(--mds-video-wall-video-fit,cover);object-fit:var(--mds-video-wall-video-fit,cover);z-index:1}.noise{background-color:var(--mds-video-wall-noise-background-color,rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-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){video{display:none}}"}},[257,"mds-video-wall",{autoplay:[4],loop:[4],muted:[4],noise:[1],poster:[1],preload:[1],src:[1],hasContent:[32]}]),r=n,d=function(){"undefined"!=typeof customElements&&["mds-video-wall"].forEach((e=>{"mds-video-wall"===e&&(customElements.get(t(e))||customElements.define(t(e),n))}))};export{r as MdsVideoWall,d as defineCustomElement}
1
+ import{p as e,H as a,h as o,c as i,t}from"./p-pBvN1uAc.js";import{h as s}from"./p-CsgCQiHG.js";import{c as A}from"./p-ChV9xqsO.js";const n=e(class extends a{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=s(this.hostElement,"content")}}componentWillLoad(){this.hasContent=s(this.hostElement,"content")}render(){return o(i,{key:"018d6a7d7c8038dacf0b4bbde1943faa384862fa"},"none"!==this.noise&&o("div",{key:"c5bca865e313acaf2ab3cef59a7be476a8e77a5a","aria-hidden":"true",class:A("noise","noise--"+this.noise)}),o("video",{key:"ce1582f9a458279522b639bd2b3b9fe158ace9d0","aria-hidden":"true",autoplay:this.autoplay,loop:this.loop,muted:this.muted,poster:this.poster,preload:this.preload,src:this.src},o("slot",{key:"6c01c7b745787b49793e77310d6bc2796777350a"})),o("div",{key:"aafe5dffe66a3d78f5b71146bdf3c8183910a6e4",class:A("content",!this.hasContent&&"content--hidden")},o("slot",{key:"5dcd9b07400b8020fbed158ac7ff1fb89e7a918b",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}.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){video{display:none}}"}},[257,"mds-video-wall",{autoplay:[4],loop:[4],muted:[4],noise:[1],poster:[1],preload:[1],src:[1],hasContent:[32]}]),d=n,r=function(){"undefined"!=typeof customElements&&["mds-video-wall"].forEach((e=>{"mds-video-wall"===e&&(customElements.get(t(e))||customElements.define(t(e),n))}))};export{d as MdsVideoWall,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as a,c as r,t as o}from"./p-pBvN1uAc.js";import{p as n}from"./p-zHpei4x6.js";const i=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return a(r,{key:"c81499814fbed3b55f7428fa30386d7896575d11","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},a("slot",{key:"9a564f05cc0aae68807d70d1ae293daae88d17f7"}),a("div",{key:"6bb77e2d7e8779b2c377d63a7b2c634993c97f69",class:"contents",part:"contents"},a("slot",{key:"6043e14df46b00260d660e85fc04ebd6510ea10b",name:"content"})),a("footer",{key:"9431be5fb6ef039047d1e9bab5cd26faf2054449",class:"actions",part:"actions"},a("slot",{key:"99702bdea1306673e30956b8c7a3c72e37060d56",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));align-items:center;background-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));border-radius:var(--radius-xl,20px);display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*600);justify-items:center;padding:calc(var(--spacing,.0025rem)*1200);-webkit-transition-duration:var(--private-zero-transition-duration);transition-duration:var(--private-zero-transition-duration);transition-property:box-shadow,background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}: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(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host(: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(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'}},[257,"mds-zero"]),s=i,d=function(){"undefined"!=typeof customElements&&["mds-zero"].forEach((t=>{"mds-zero"===t&&(customElements.get(o(t))||customElements.define(o(t),i))}))};export{s as MdsZero,d as defineCustomElement}
1
+ import{p as e,H as t,h as a,c as r,t as o}from"./p-pBvN1uAc.js";import{p as n}from"./p-zHpei4x6.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a(r,{key:"13d265eac83c062308e6a515e4aef763ffbcb35e","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},a("slot",{key:"66af9d09860d86ddce92a86feb51698912323342"}),a("div",{key:"a1ccf84ab1332e4d2969330179553b211fc6c55e",class:"contents",part:"contents"},a("slot",{key:"356594423d426bf3e6a882a54e73193de5fde540",name:"content"})),a("footer",{key:"c47fa4732c164b014e0766c2214ed3bbf9edb143",class:"actions",part:"actions"},a("slot",{key:"faedeb7aa7a16999d08ba4e457c88614666bad32",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));align-items:center;background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));border-radius:var(--radius-xl,20px);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;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}: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,d=function(){"undefined"!=typeof customElements&&["mds-zero"].forEach((e=>{"mds-zero"===e&&(customElements.get(o(e))||customElements.define(o(e),s))}))};export{i as MdsZero,d as defineCustomElement}
@@ -0,0 +1 @@
1
+ import{p as r,H as s,h as a,c as e,t}from"./p-pBvN1uAc.js";import{r as o,i}from"./p-CSCy6TMW.js";import{p as n}from"./p-zHpei4x6.js";import{d as m}from"./p-DmPLOktp.js";import{d as g}from"./p-CZjHixVB.js";import{d as p}from"./p-DLCcW1Q5.js";const c=r(class extends s{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.stepsList=new Array,this.progress=0,this.direction="horizontal",this.variant="primary",this.typography="option",this.size="sm",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}componentDidLoad(){o(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])}setProgress(r){""!==this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],i(this.element,"aria-hidden")||this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return a(e,{key:"7cf77caa637a5ab308ad902583143c27d9802fbc","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!i(this.element,"aria-hidden")&&Math.round(100*this.progress),role:"progressbar","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},"radial"===this.direction?a("mds-radial-progress",{"aria-hidden":"true",progress:this.progress,part:"radial-progress",typography:this.typography,variant:this.variant}):a("div",{class:"progress",part:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return this}static get watchers(){return{progress:[{progressChanged:0}],steps:[{stepsChanged: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))){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-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-progress-duration:.75s;--private-progress-duration:var(--mds-progress-duration,.75s);--mds-progress-transition-duration:var(--duration-300,.3s);--private-progress-transition-duration:var(--mds-progress-transition-duration);--mds-progress-thickness:calc(var(--spacing,.0025rem)*200);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));min-height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));min-width:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));overflow:hidden;position:relative;transition-duration:var(--private-progress-transition-duration);transition-property:background-color;width:100%}:host([direction=vertical]){flex-direction:column;height:unset;min-height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));width:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200))}:host([direction=radial]){aspect-ratio:1;background-color:#0000;height:auto}:host([direction=radial]) mds-radial-progress{width:inherit}.progress{--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));background-color:var(--mds-progress-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));border-radius:inherit;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));corner-shape:inherit;transition-duration:var(--private-progress-duration);transition-property:background-color,flex-grow}:host([variant=dark]){--mds-progress-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-progress-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([variant=light]){--mds-progress-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-progress-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)))}:host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([variant=ai]){--mds-progress-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-progress-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([size=sm]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*200)}:host([size=md]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*600)}: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-progress-duration:0s;--private-progress-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([pref-contrast=more]),:host([pref-contrast=more]):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}@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-progress-duration:0s;--private-progress-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}}'}},[1,"mds-progress",{progress:[2],direction:[513],variant:[513],typography:[1],size:[513],steps:[1],currentStep:[32]},void 0,{progress:[{progressChanged:0}],steps:[{stepsChanged:0}]}]);function h(){"undefined"!=typeof customElements&&["mds-progress","mds-icon","mds-radial-progress","mds-text"].forEach((r=>{switch(r){case"mds-progress":customElements.get(t(r))||customElements.define(t(r),c);break;case"mds-icon":customElements.get(t(r))||m();break;case"mds-radial-progress":customElements.get(t(r))||g();break;case"mds-text":customElements.get(t(r))||p()}}))}export{c as M,h as d}
@@ -0,0 +1 @@
1
+ import{p as a,H as r,h as t,c as o,t as e}from"./p-pBvN1uAc.js";import{c as n}from"./p-ChV9xqsO.js";import{p as i}from"./p-zHpei4x6.js";import{d as s}from"./p-DHu8X7zF.js";import{d as l}from"./p-DmPLOktp.js";import{d as c}from"./p-BSeokAdy.js";import{d}from"./p-BBDliSai.js";import{d as v}from"./p-DLCcW1Q5.js";function m(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var b,u={exports:{}},g=(b||(b=1,u.exports=function(a){if(a){var r=function(a){return[].slice.call(a)},t=3,o=[],e=null,n="requestAnimationFrame"in a?function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sync:!1};a.cancelAnimationFrame(e);var t=function(){return s(o.filter((function(a){return a.dirty&&a.active})))};if(r.sync)return t();e=a.requestAnimationFrame(t)}:function(){},i=function(a){return function(r){o.forEach((function(r){return r.dirty=a})),n(r)}},s=function(a){a.filter((function(a){return!a.styleComputed})).forEach((function(a){a.styleComputed=v(a)})),a.filter(m).forEach(b);var r=a.filter(d);r.forEach(c),r.forEach((function(a){b(a),l(a)})),r.forEach(u)},l=function(a){return a.dirty=0},c=function(a){a.availableWidth=a.element.parentNode.clientWidth,a.currentWidth=a.element.scrollWidth,a.previousFontSize=a.currentFontSize,a.currentFontSize=Math.min(Math.max(a.minSize,a.availableWidth/a.currentWidth*a.previousFontSize),a.maxSize),a.whiteSpace=a.multiLine&&a.currentFontSize===a.minSize?"normal":"nowrap"},d=function(a){return 2!==a.dirty||2===a.dirty&&a.element.parentNode.clientWidth!==a.availableWidth},v=function(r){var t=a.getComputedStyle(r.element,null);return r.currentFontSize=parseFloat(t.getPropertyValue("font-size")),r.display=t.getPropertyValue("display"),r.whiteSpace=t.getPropertyValue("white-space"),!0},m=function(a){var r=!1;return!a.preStyleTestCompleted&&(/inline-/.test(a.display)||(r=!0,a.display="inline-block"),"nowrap"!==a.whiteSpace&&(r=!0,a.whiteSpace="nowrap"),a.preStyleTestCompleted=!0,r)},b=function(a){a.element.style.whiteSpace=a.whiteSpace,a.element.style.display=a.display,a.element.style.fontSize=a.currentFontSize+"px"},u=function(a){a.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:a.previousFontSize,newValue:a.currentFontSize,scaleFactor:a.currentFontSize/a.previousFontSize}}))},g=function(a,r){return function(t){a.dirty=r,a.active&&n(t)}},h=function(a){return function(){o=o.filter((function(r){return r.element!==a.element})),a.observeMutations&&a.observer.disconnect(),a.element.style.whiteSpace=a.originalStyle.whiteSpace,a.element.style.display=a.originalStyle.display,a.element.style.fontSize=a.originalStyle.fontSize}},f=function(a){return function(){a.active||(a.active=!0,n())}},p=function(a){return function(){return a.active=!1}},k=function(a){a.observeMutations&&(a.observer=new MutationObserver(g(a,1)),a.observer.observe(a.element,a.observeMutations))},w={minSize:16,maxSize:512,multiLine:!0,observeMutations:"MutationObserver"in a&&{subtree:!0,childList:!0,characterData:!0}},y=null,x=function(){a.clearTimeout(y),y=a.setTimeout(i(2),j.observeWindowDelay)},z=["resize","orientationchange"];return Object.defineProperty(j,"observeWindow",{set:function(r){var t="".concat(r?"add":"remove","EventListener");z.forEach((function(r){a[t](r,x)}))}}),j.observeWindow=!0,j.observeWindowDelay=100,j.fitAll=i(t),j}function H(a,r){var e=Object.assign({},w,r),i=a.map((function(a){var r=Object.assign({},e,{element:a,active:!0});return function(a){a.originalStyle={whiteSpace:a.element.style.whiteSpace,display:a.element.style.display,fontSize:a.element.style.fontSize},k(a),a.newbie=!0,a.dirty=!0,o.push(a)}(r),{element:a,fit:g(r,t),unfreeze:f(r),freeze:p(r),unsubscribe:h(r)}}));return n(),i}function j(a){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof a?H(r(document.querySelectorAll(a)),t):H([a],t)[0]}}("undefined"==typeof window?null:window)),u.exports),h=m(g);const f=["bg-brand-maggioli-05","bg-label-amaranth-05","bg-label-aqua-05","bg-label-blue-05","bg-label-green-05","bg-label-lime-05","bg-label-orange-05","bg-label-orchid-05","bg-label-purple-05","bg-label-red-05","bg-label-sky-05","bg-label-violet-05","bg-label-yellow-05","bg-status-error-05","bg-status-info-05","bg-status-success-05","bg-status-warning-05"],p=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.fallback=!1,this.loaded=!0,this.fittyInitialized=!1,this.textChanged=!1,this.variants=["amaranth","aqua","blue","error","green","info","lime","orange","orchid","primary","sky","success","violet","warning","yellow"],this.addFontResize=()=>{var a;if(this.fittyInitialized)return;const r=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".fit");this.fittyElements=h(r,{minSize:10}),this.observer=new ResizeObserver((a=>{a.forEach((()=>{this.fittyElements.fit()}))})),this.observer.observe(this.element),this.fittyInitialized=!0},this.removeFontResize=()=>{this.fittyInitialized&&(this.fittyInitialized=!1,this.observer.unobserve(this.element))},this.checkText=a=>{if(""===a||void 0===a)this.fittyInitialized&&this.removeFontResize();else{if(this.fittyInitialized)return;this.fittyInitialized||this.addFontResize()}},this.handleImgLoadError=()=>{this.loaded=!0,this.fallback=!0},this.handleImgLoadSuccess=()=>{this.loaded=!0},this.hasCount=()=>{var a;const r=null!==(a=this.count)&&void 0!==a?a:0;return 0!==r&&!Number.isNaN(r)},this.checkTexts=()=>{var a;const r=null!==(a=this.initials)&&void 0!==a?a:"";""!==r&&this.checkText(r),this.hasCount()&&this.checkText(String(this.count))},this.checkInitialsVariant=()=>{var a;const r=null!==(a=this.initials)&&void 0!==a?a:"";if(""!==r){let a=r.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"").substring(0,2);1===a.length&&(a+=a),this.variant=this.variants[(a.substring(0,1).charCodeAt(0)+a.substring(1,2).charCodeAt(0))%f.length]}}}componentWillLoad(){this.checkInitialsVariant()}componentDidLoad(){void 0!==this.src&&(this.loaded=!1),this.checkTexts()}componentDidRender(){this.textChanged&&(this.checkTexts(),this.textChanged=!1)}initialsHandler(){this.textChanged=!0,this.checkInitialsVariant()}countHandler(){this.textChanged=!0,this.checkInitialsVariant()}srcHandler(a){void 0===a&&(this.loaded=!0)}iconHandler(a){void 0!==a&&(this.loaded=!0)}render(){var a,r,e,s;const l=this.hasCount(),c=null!==(a=this.icon)&&void 0!==a?a:"",d=""!==c,v=""!==(null!==(r=this.initials)&&void 0!==r?r:""),m=""!==(null!==(e=this.src)&&void 0!==e?e:"");return t(o,{key:"87e19218bbfe6e9c79f5edd7b4dd0350572b4f84","pref-animation":i.state.animation,"pref-contrast":i.state.contrast},t("div",{key:"b8775a55b682778312539df8ba0d8107075873e1",class:n("avatar",v&&!this.fallback&&!m&&"avatar--initials",(this.fallback||!d&&!v&&!m)&&"avatar--fallback",d&&"avatar--icon",this.loaded?"avatar--loaded":"avatar--pending"),part:"wrapper"},v&&!l&&!this.fallback&&!m&&t("div",{key:"acea5faae52d0cfaaa8f03788a22c89c8f0095ad",class:"initials-text"},t("span",{key:"aedd03f85b197fc6ed24b4a0238804856145aa4c",class:"fit"},null===(s=this.initials)||void 0===s?void 0:s.substring(0,2))),l&&!this.fallback&&!m&&t("div",{key:"dd8af02204937c6558ab63b26d5993aa34e4df37",class:"initials-text"},t("span",{key:"fdf6930557054172bea785b8c6be0decb743887a",class:"fit"},"+",this.count)),m&&!l&&!this.fallback&&!d&&t("mds-img",{key:"4519cc0bd3e701abf9d7bdaf0189f2ca3bcd86ed",class:"image",loading:"lazy",onMdsImgLoadError:this.handleImgLoadError,onMdsImgLoadSuccess:this.handleImgLoadSuccess,part:"media",src:this.src}),d&&!v&&!l&&t("mds-icon",{key:"5958962b68d5797dd46f1322b0e12717bf70c93e",class:"icon",part:"icon",name:c}),(this.fallback||!d&&!v&&!l&&!m)&&t("i",{key:"e6509636da3e20d93144dde5f3ecce6f1cfc5506",class:"fallback-icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>'})))}get element(){return this}static get watchers(){return{initials:[{initialsHandler:0}],count:[{countHandler:0}],src:[{srcHandler:0}],icon:[{iconHandler: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-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-img):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-avatar-background-color-pending:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-avatar-background-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-avatar-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-avatar-radius:var(--radius-full,1000px);--mds-avatar-initials-padding:20%;--mds-avatar-transition-duration:var(--duration-200,.2s);--private-avatar-transition-duration:var(--mds-avatar-transition-duration);aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--radius-full,1000px));container:mds-avatar/inline-size;display:inline-flex;overflow:hidden;width:calc(var(--spacing,.0025rem)*1200)}.avatar{aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--radius-full,1000px));color:#0000;display:inline-flex;overflow:hidden;transition-duration:var(--private-avatar-transition-duration);transition-property:color,background-color,box-shadow,fill;width:100%}.avatar--pending{background-color:var(--mds-avatar-background-color-pending,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))))}.avatar--loaded{animation:none}.avatar--fallback,.avatar--icon,.avatar--initials{background-color:var(--mds-avatar-background-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));box-shadow:none}.avatar--fallback,.avatar--initials{display:flex;place-items:stretch stretch}.avatar--fallback,.avatar--icon{padding:20%}.avatar--initials{padding:30% var(--mds-avatar-initials-padding,20%) 25%}.image{aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--radius-full,1000px))}.fallback-icon{aspect-ratio:1;display:flex;fill:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));width:100%}.fallback-icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.initials-text{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);--tw-font-weight:var(--font-weight-bold,700);align-items:center;color:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));display:flex;font-weight:var(--font-weight-bold,700);height:100%;justify-content:center;text-transform:uppercase;-webkit-user-select:none;user-select:none;width:100%}.fit{display:inline-block;white-space:nowrap!important}.icon{fill:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));height:100%;transition-duration:var(--private-avatar-transition-duration);transition-property:fill;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));width:100%}@container (max-width:24px){.avatar--initials{padding:0 var(--mds-avatar-initials-padding,20%)}.initials-text{--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900)}}:host,:host([variant=primary]){--mds-avatar-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-avatar-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:is(:host,:host([variant=primary])):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-avatar-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([variant=red]){--mds-avatar-background-color:rgb(var(--label-red-05,230 66 66));--mds-avatar-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-red-09,250 215 215));--mds-avatar-color:rgb(var(--label-red-05,230 66 66))}:host([variant=amaranth]){--mds-avatar-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-avatar-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-avatar-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid]){--mds-avatar-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-avatar-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-avatar-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=violet]){--mds-avatar-background-color:rgb(var(--label-violet-05,145 100 246));--mds-avatar-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-violet-09,229 218 253));--mds-avatar-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=purple]){--mds-avatar-background-color:rgb(var(--label-purple-05,168 86 247));--mds-avatar-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-purple-09,235 216 253));--mds-avatar-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=blue]){--mds-avatar-background-color:rgb(var(--label-blue-05,90 117 249));--mds-avatar-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-blue-09,216 222 254));--mds-avatar-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky]){--mds-avatar-background-color:rgb(var(--label-sky-05,12 136 193));--mds-avatar-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-sky-09,185 231 251));--mds-avatar-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua]){--mds-avatar-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-avatar-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-avatar-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green]){--mds-avatar-background-color:rgb(var(--label-green-05,26 148 71));--mds-avatar-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-green-09,165 240 193));--mds-avatar-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime]){--mds-avatar-background-color:rgb(var(--label-lime-05,93 143 15));--mds-avatar-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-lime-09,189 239 111));--mds-avatar-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow]){--mds-avatar-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-avatar-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-avatar-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=orange]){--mds-avatar-background-color:rgb(var(--label-orange-05,213 90 5));--mds-avatar-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orange-09,253 217 191));--mds-avatar-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=error]){--mds-avatar-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-avatar-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-avatar-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning]){--mds-avatar-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-avatar-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warning]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-avatar-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=info]){--mds-avatar-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-avatar-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-avatar-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=success]){--mds-avatar-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-avatar-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=success]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-avatar-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-avatar-transition-duration:0s}:host([pref-contrast=more]) :is(.avatar--fallback,.avatar--icon,.avatar--initials){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-avatar-transition-duration:0s}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.avatar--fallback,.avatar--icon,.avatar--initials){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'}},[1,"mds-avatar",{icon:[513],initials:[1537],count:[1538],src:[513],tone:[513],variant:[1537],fallback:[32],loaded:[32]},void 0,{initials:[{initialsHandler:0}],count:[{countHandler:0}],src:[{srcHandler:0}],icon:[{iconHandler:0}]}]);function k(){"undefined"!=typeof customElements&&["mds-avatar","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-avatar":customElements.get(e(a))||customElements.define(e(a),p);break;case"mds-button":customElements.get(e(a))||s();break;case"mds-icon":customElements.get(e(a))||l();break;case"mds-img":customElements.get(e(a))||c();break;case"mds-spinner":customElements.get(e(a))||d();break;case"mds-text":customElements.get(e(a))||v()}}))}export{p as M,k as d,m as g}