@maggioli-design-system/magma 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (970) hide show
  1. package/AGENTS.md +2 -1
  2. package/agents/install.md +17 -0
  3. package/agents/reporting.md +118 -0
  4. package/dist/cjs/index.cjs.js +62 -0
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/magma-components.cjs.js +1 -1
  7. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
  8. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  9. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  10. package/dist/cjs/mds-button_3.cjs.entry.js +76 -24
  11. package/dist/cjs/mds-calendar_2.cjs.entry.js +5 -5
  12. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  13. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  14. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  15. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  17. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
  19. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-entity.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
  22. package/dist/cjs/mds-file.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-header.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  28. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-input-date.cjs.entry.js +2 -2
  31. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-input-select.cjs.entry.js +2 -2
  35. package/dist/cjs/mds-input-switch_2.cjs.entry.js +2 -2
  36. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  37. package/dist/cjs/mds-input-upload.cjs.entry.js +5 -5
  38. package/dist/cjs/mds-input.cjs.entry.js +2 -2
  39. package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-keyboard.cjs.entry.js +1 -1
  41. package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
  42. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  43. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  44. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  45. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  46. package/dist/cjs/mds-modal.cjs.entry.js +3 -3
  47. package/dist/cjs/mds-note.cjs.entry.js +1 -1
  48. package/dist/cjs/mds-notification.cjs.entry.js +1 -1
  49. package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
  50. package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  52. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  54. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  55. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  57. package/dist/cjs/mds-pref-mode.cjs.entry.js +2 -2
  58. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
  59. package/dist/cjs/mds-pref-theme.cjs.entry.js +1 -1
  60. package/dist/cjs/mds-pref.cjs.entry.js +1 -1
  61. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +1 -1
  62. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
  63. package/dist/cjs/mds-price-table-features.cjs.entry.js +1 -1
  64. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  65. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-price-table-list.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  68. package/dist/cjs/mds-progress_2.cjs.entry.js +2 -2
  69. package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
  70. package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
  71. package/dist/cjs/mds-quote.cjs.entry.js +1 -1
  72. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  73. package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
  74. package/dist/cjs/mds-separator.cjs.entry.js +1 -1
  75. package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
  76. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +1 -1
  77. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  78. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
  79. package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
  80. package/dist/cjs/mds-tab_2.cjs.entry.js +27 -5
  81. package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
  82. package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
  83. package/dist/cjs/mds-table-header-cell.cjs.entry.js +1 -1
  84. package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
  85. package/dist/cjs/mds-table-row.cjs.entry.js +21 -15
  86. package/dist/cjs/mds-table.cjs.entry.js +1 -1
  87. package/dist/cjs/mds-text.cjs.entry.js +1 -1
  88. package/dist/cjs/mds-toast.cjs.entry.js +1 -1
  89. package/dist/cjs/mds-tooltip.cjs.entry.js +1 -1
  90. package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
  91. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  92. package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
  93. package/dist/cjs/mds-usage.cjs.entry.js +1 -1
  94. package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
  95. package/dist/cjs/mds-zero.cjs.entry.js +1 -1
  96. package/dist/collection/common/navigation.js +60 -0
  97. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  98. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  99. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  100. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  101. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  102. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  103. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  104. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  105. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  106. package/dist/collection/components/mds-author/documentation.json +1 -1
  107. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  108. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  109. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  110. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  111. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  112. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  113. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  114. package/dist/collection/components/mds-badge/documentation.json +1 -1
  115. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  116. package/dist/collection/components/mds-banner/documentation.json +1 -1
  117. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  118. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  119. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  120. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  121. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  122. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  123. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  124. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  125. package/dist/collection/components/mds-button/AGENTS.md +5 -5
  126. package/dist/collection/components/mds-button/antipattern.md +19 -1
  127. package/dist/collection/components/mds-button/documentation.json +5 -5
  128. package/dist/collection/components/mds-button/mds-button.css +13 -0
  129. package/dist/collection/components/mds-button/mds-button.js +75 -22
  130. package/dist/collection/components/mds-button/pattern.md +27 -1
  131. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  133. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  134. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  136. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  137. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  139. package/dist/collection/components/mds-calendar/mds-calendar.js +4 -4
  140. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  141. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  142. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  143. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-card/documentation.json +1 -1
  145. package/dist/collection/components/mds-card/mds-card.js +1 -1
  146. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  147. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  148. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  149. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  151. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  152. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  154. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  155. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  156. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  157. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  158. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  159. package/dist/collection/components/mds-chip/documentation.json +1 -1
  160. package/dist/collection/components/mds-chip/mds-chip.js +2 -2
  161. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  162. package/dist/collection/components/mds-details/documentation.json +1 -1
  163. package/dist/collection/components/mds-details/mds-details.js +1 -1
  164. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  165. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  166. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  167. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  169. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  170. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  171. package/dist/collection/components/mds-entity/documentation.json +1 -1
  172. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  173. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  174. package/dist/collection/components/mds-file/documentation.json +1 -1
  175. package/dist/collection/components/mds-file/mds-file.js +1 -1
  176. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  178. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  179. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-filter/documentation.json +1 -1
  181. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  182. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  183. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  184. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  185. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  186. package/dist/collection/components/mds-header/documentation.json +1 -1
  187. package/dist/collection/components/mds-header/mds-header.js +1 -1
  188. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  189. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  190. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  191. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  192. package/dist/collection/components/mds-help/documentation.json +1 -1
  193. package/dist/collection/components/mds-help/mds-help.js +1 -1
  194. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  195. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  196. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  197. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  198. package/dist/collection/components/mds-hr/documentation.json +1 -1
  199. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  200. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-icon/documentation.json +1 -1
  202. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  203. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-img/documentation.json +1 -1
  205. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  206. package/dist/collection/components/mds-input/documentation.json +1 -1
  207. package/dist/collection/components/mds-input/mds-input.js +2 -2
  208. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  209. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  210. package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
  211. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  212. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  213. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  214. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  215. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  216. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  218. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  219. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  220. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  221. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  222. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  223. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  224. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  225. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  226. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  227. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  228. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  229. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  230. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  231. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  232. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  233. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  234. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  235. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  236. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  237. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  238. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  239. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  240. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  242. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  243. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  245. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  246. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  248. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  249. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  250. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  251. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  252. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  253. package/dist/collection/components/mds-label/documentation.json +1 -1
  254. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  255. package/dist/collection/components/mds-list/documentation.json +1 -1
  256. package/dist/collection/components/mds-list/mds-list.js +1 -1
  257. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  258. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  259. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  260. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-mention/documentation.json +1 -1
  262. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  263. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  264. package/dist/collection/components/mds-modal/documentation.json +1 -1
  265. package/dist/collection/components/mds-modal/mds-modal.js +3 -3
  266. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-note/documentation.json +1 -1
  268. package/dist/collection/components/mds-note/mds-note.js +1 -1
  269. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  270. package/dist/collection/components/mds-notification/documentation.json +1 -1
  271. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  272. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  274. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  275. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  276. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  277. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  278. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  279. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  280. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  281. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  282. package/dist/collection/components/mds-pref/documentation.json +1 -1
  283. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  284. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  286. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  287. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  288. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  289. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  290. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  291. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  292. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  293. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  294. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  295. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  296. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  297. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  298. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  299. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  300. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  301. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +2 -2
  302. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  303. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  304. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  305. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  306. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  307. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  308. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  309. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  310. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  311. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  312. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  313. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  314. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  315. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  316. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  317. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  318. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  319. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  320. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  321. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  322. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  323. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  324. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  325. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  326. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  327. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  328. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  329. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  330. package/dist/collection/components/mds-progress/documentation.json +1 -1
  331. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  332. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  333. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  334. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  335. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  336. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  337. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  338. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  339. package/dist/collection/components/mds-quote/documentation.json +1 -1
  340. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  341. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  343. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  344. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  346. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  347. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  349. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  350. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-separator/documentation.json +1 -1
  352. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  353. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  355. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  356. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  358. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  359. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  361. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  362. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  363. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  364. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  365. package/dist/collection/components/mds-tab/AGENTS.md +5 -4
  366. package/dist/collection/components/mds-tab/antipattern.md +27 -0
  367. package/dist/collection/components/mds-tab/documentation.json +6 -6
  368. package/dist/collection/components/mds-tab/mds-tab.css +10 -1
  369. package/dist/collection/components/mds-tab/mds-tab.js +18 -4
  370. package/dist/collection/components/mds-tab/pattern.md +33 -1
  371. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  372. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  373. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  374. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  376. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  377. package/dist/collection/components/mds-tab-item/AGENTS.md +5 -4
  378. package/dist/collection/components/mds-tab-item/antipattern.md +22 -1
  379. package/dist/collection/components/mds-tab-item/documentation.json +5 -5
  380. package/dist/collection/components/mds-tab-item/mds-tab-item.js +15 -3
  381. package/dist/collection/components/mds-tab-item/pattern.md +25 -7
  382. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  383. package/dist/collection/components/mds-table/documentation.json +1 -1
  384. package/dist/collection/components/mds-table/mds-table.js +1 -1
  385. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  386. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  387. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  388. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  389. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  390. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  391. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  392. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  393. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  394. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  395. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  396. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  397. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  398. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  399. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  400. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  401. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  402. package/dist/collection/components/mds-table-row/mds-table-row.js +22 -16
  403. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  404. package/dist/collection/components/mds-text/documentation.json +1 -1
  405. package/dist/collection/components/mds-text/mds-text.js +1 -1
  406. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  407. package/dist/collection/components/mds-toast/documentation.json +1 -1
  408. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  409. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  410. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  411. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  412. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  413. package/dist/collection/components/mds-tree/documentation.json +1 -1
  414. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  415. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  416. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  417. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  418. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  419. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  420. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  421. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  422. package/dist/collection/components/mds-usage/documentation.json +1 -1
  423. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  424. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  425. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  426. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  427. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-zero/documentation.json +1 -1
  429. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  430. package/dist/collection/index.js +11 -4
  431. package/dist/components/index.js +1 -1
  432. package/dist/components/mds-accordion-item.js +1 -1
  433. package/dist/components/mds-accordion-timer-item.js +1 -1
  434. package/dist/components/mds-avatar-stack-item.js +1 -1
  435. package/dist/components/mds-avatar-stack.js +1 -1
  436. package/dist/components/mds-avatar.js +1 -1
  437. package/dist/components/mds-badge.js +1 -1
  438. package/dist/components/mds-banner.js +1 -1
  439. package/dist/components/mds-benchmark-bar.js +1 -1
  440. package/dist/components/mds-bibliography.js +1 -1
  441. package/dist/components/mds-breadcrumb-item.js +1 -1
  442. package/dist/components/mds-breadcrumb.js +1 -1
  443. package/dist/components/mds-button-dropdown.js +1 -1
  444. package/dist/components/mds-button-group.js +1 -1
  445. package/dist/components/mds-button.js +1 -1
  446. package/dist/components/mds-calendar-cell.js +1 -1
  447. package/dist/components/mds-calendar.js +1 -1
  448. package/dist/components/mds-card-content.js +1 -1
  449. package/dist/components/mds-card-footer.js +1 -1
  450. package/dist/components/mds-card-header.js +1 -1
  451. package/dist/components/mds-card-media.js +1 -1
  452. package/dist/components/mds-card.js +1 -1
  453. package/dist/components/mds-chip.js +1 -1
  454. package/dist/components/mds-details.js +1 -1
  455. package/dist/components/mds-dropdown.js +1 -1
  456. package/dist/components/mds-emoji.js +1 -1
  457. package/dist/components/mds-entity.js +1 -1
  458. package/dist/components/mds-file-preview.js +1 -1
  459. package/dist/components/mds-file.js +3 -3
  460. package/dist/components/mds-filter-item.js +1 -1
  461. package/dist/components/mds-filter.js +1 -1
  462. package/dist/components/mds-header-bar.js +1 -1
  463. package/dist/components/mds-header.js +1 -1
  464. package/dist/components/mds-help.js +1 -1
  465. package/dist/components/mds-horizontal-scroll.js +1 -1
  466. package/dist/components/mds-hr.js +1 -1
  467. package/dist/components/mds-icon.js +1 -1
  468. package/dist/components/mds-img.js +1 -1
  469. package/dist/components/mds-input-date-range-preselection.js +1 -1
  470. package/dist/components/mds-input-date-range.js +1 -1
  471. package/dist/components/mds-input-date.js +1 -1
  472. package/dist/components/mds-input-field.js +1 -1
  473. package/dist/components/mds-input-otp.js +1 -1
  474. package/dist/components/mds-input-range.js +1 -1
  475. package/dist/components/mds-input-select.js +1 -1
  476. package/dist/components/mds-input-switch.js +1 -1
  477. package/dist/components/mds-input-tip-item.js +1 -1
  478. package/dist/components/mds-input-tip.js +1 -1
  479. package/dist/components/mds-input-upload.js +1 -1
  480. package/dist/components/mds-input.js +1 -1
  481. package/dist/components/mds-keyboard-key.js +1 -1
  482. package/dist/components/mds-keyboard.js +1 -1
  483. package/dist/components/mds-kpi-item.js +1 -1
  484. package/dist/components/mds-kpi.js +1 -1
  485. package/dist/components/mds-label.js +1 -1
  486. package/dist/components/mds-list-item.js +1 -1
  487. package/dist/components/mds-list.js +1 -1
  488. package/dist/components/mds-mention.js +1 -1
  489. package/dist/components/mds-modal.js +1 -1
  490. package/dist/components/mds-note.js +1 -1
  491. package/dist/components/mds-notification.js +1 -1
  492. package/dist/components/mds-paginator-item.js +1 -1
  493. package/dist/components/mds-paginator.js +1 -1
  494. package/dist/components/mds-policy-ai.js +1 -1
  495. package/dist/components/mds-pref-animation.js +1 -1
  496. package/dist/components/mds-pref-consumption.js +1 -1
  497. package/dist/components/mds-pref-contrast.js +1 -1
  498. package/dist/components/mds-pref-language-item.js +1 -1
  499. package/dist/components/mds-pref-language.js +1 -1
  500. package/dist/components/mds-pref-mode.js +1 -1
  501. package/dist/components/mds-pref-theme-item.js +1 -1
  502. package/dist/components/mds-pref-theme.js +1 -1
  503. package/dist/components/mds-pref.js +1 -1
  504. package/dist/components/mds-price-table-features-cell.js +1 -1
  505. package/dist/components/mds-price-table-features-row.js +1 -1
  506. package/dist/components/mds-price-table-features.js +1 -1
  507. package/dist/components/mds-price-table-header.js +1 -1
  508. package/dist/components/mds-price-table-list-item.js +1 -1
  509. package/dist/components/mds-price-table-list.js +1 -1
  510. package/dist/components/mds-price-table.js +1 -1
  511. package/dist/components/mds-progress.js +1 -1
  512. package/dist/components/mds-push-notification-item.js +1 -1
  513. package/dist/components/mds-push-notification.js +1 -1
  514. package/dist/components/mds-quote.js +1 -1
  515. package/dist/components/mds-radial-menu-item.js +1 -1
  516. package/dist/components/mds-radial-menu.js +1 -1
  517. package/dist/components/mds-radial-progress.js +1 -1
  518. package/dist/components/mds-separator.js +1 -1
  519. package/dist/components/mds-spinner.js +1 -1
  520. package/dist/components/mds-status-bar.js +1 -1
  521. package/dist/components/mds-stepper-bar-item.js +1 -1
  522. package/dist/components/mds-stepper-bar.js +1 -1
  523. package/dist/components/mds-tab-bar-item.js +1 -1
  524. package/dist/components/mds-tab-bar.js +1 -1
  525. package/dist/components/mds-tab-item.js +1 -1
  526. package/dist/components/mds-tab.js +1 -1
  527. package/dist/components/mds-table-body.js +1 -1
  528. package/dist/components/mds-table-cell.js +1 -1
  529. package/dist/components/mds-table-footer.js +1 -1
  530. package/dist/components/mds-table-header-cell.js +1 -1
  531. package/dist/components/mds-table-header.js +1 -1
  532. package/dist/components/mds-table-row.js +1 -1
  533. package/dist/components/mds-table.js +1 -1
  534. package/dist/components/mds-text.js +1 -1
  535. package/dist/components/mds-toast.js +1 -1
  536. package/dist/components/mds-tooltip.js +1 -1
  537. package/dist/components/mds-tree-item.js +1 -1
  538. package/dist/components/mds-tree.js +1 -1
  539. package/dist/components/mds-url-view.js +1 -1
  540. package/dist/components/mds-usage.js +1 -1
  541. package/dist/components/mds-video-wall.js +1 -1
  542. package/dist/components/mds-zero.js +1 -1
  543. package/dist/components/{p-Dpf8NWF9.js → p-B3Z2Goa-.js} +1 -1
  544. package/dist/components/p-B3dWp2vS.js +1 -0
  545. package/dist/components/p-B6FOPjps.js +1 -0
  546. package/dist/components/{p-CIcshx6K.js → p-B7CR1EtF.js} +1 -1
  547. package/dist/components/{p-C3Sn8bRc.js → p-BBPQjm8h.js} +1 -1
  548. package/dist/components/{p-CsL9U6eU.js → p-BCiJ4PRD.js} +1 -1
  549. package/dist/components/p-BHJDW5JC.js +1 -0
  550. package/dist/components/p-BSs0SO-j.js +1 -0
  551. package/dist/components/{p-DR46G4-6.js → p-BY6Qu1V4.js} +1 -1
  552. package/dist/components/{p-CmHMhHMt.js → p-BhmePCyA.js} +1 -1
  553. package/dist/components/{p-DwA-5c8G.js → p-BpGzrg1C.js} +1 -1
  554. package/dist/components/{p-DmPLOktp.js → p-Bv2IVRzI.js} +1 -1
  555. package/dist/components/{p-CGkSDkOY.js → p-C-J9fW51.js} +1 -1
  556. package/dist/components/{p-BW24ByN-.js → p-C7EyV0z3.js} +1 -1
  557. package/dist/components/{p-akEzGmDD.js → p-CAa2kI72.js} +1 -1
  558. package/dist/components/{p-BVw5aqzn.js → p-CBV19-8O.js} +1 -1
  559. package/dist/components/{p-B05zwjTY.js → p-CCv9tBZK.js} +1 -1
  560. package/dist/components/{p-Cyj1BFxx.js → p-CDf607TB.js} +1 -1
  561. package/dist/components/{p-x_c_51aL.js → p-CEMAGNly.js} +1 -1
  562. package/dist/components/{p-BWpSxp3h.js → p-CGYDZBMv.js} +1 -1
  563. package/dist/components/{p-DebgFlHq.js → p-CHAvkoj3.js} +1 -1
  564. package/dist/components/{p-BzvYQBdf.js → p-CMFUEkte.js} +1 -1
  565. package/dist/components/p-CR2GGKXK.js +1 -0
  566. package/dist/components/{p-1aH7xiMs.js → p-Cb5kuO7B.js} +1 -1
  567. package/dist/components/{p-BOu_NOgd.js → p-CiNNzAa3.js} +1 -1
  568. package/dist/components/{p-BXPIlPIF.js → p-DGDdPv_Y.js} +1 -1
  569. package/dist/components/{p-Cnt6G6GK.js → p-D_wD-Pyk.js} +1 -1
  570. package/dist/components/{p-K3QNYRhf.js → p-HR2JwDjG.js} +1 -1
  571. package/dist/components/{p-Dws02cT2.js → p-LE7qQIFR.js} +2 -2
  572. package/dist/components/{p-bDVBqkn0.js → p-vgIKH234.js} +1 -1
  573. package/dist/documentation.json +14 -14
  574. package/dist/esm/index.js +62 -1
  575. package/dist/esm/loader.js +1 -1
  576. package/dist/esm/magma-components.js +1 -1
  577. package/dist/esm/mds-banner_3.entry.js +3 -3
  578. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  579. package/dist/esm/mds-button-group.entry.js +1 -1
  580. package/dist/esm/mds-button_3.entry.js +77 -25
  581. package/dist/esm/mds-calendar_2.entry.js +5 -5
  582. package/dist/esm/mds-card-content.entry.js +1 -1
  583. package/dist/esm/mds-card-footer.entry.js +1 -1
  584. package/dist/esm/mds-card-header.entry.js +1 -1
  585. package/dist/esm/mds-card-media.entry.js +1 -1
  586. package/dist/esm/mds-card.entry.js +1 -1
  587. package/dist/esm/mds-details.entry.js +1 -1
  588. package/dist/esm/mds-dropdown.entry.js +2 -2
  589. package/dist/esm/mds-emoji.entry.js +1 -1
  590. package/dist/esm/mds-entity.entry.js +1 -1
  591. package/dist/esm/mds-file-preview.entry.js +2 -2
  592. package/dist/esm/mds-file.entry.js +1 -1
  593. package/dist/esm/mds-filter-item.entry.js +1 -1
  594. package/dist/esm/mds-filter.entry.js +1 -1
  595. package/dist/esm/mds-header-bar.entry.js +1 -1
  596. package/dist/esm/mds-header.entry.js +1 -1
  597. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  598. package/dist/esm/mds-hr.entry.js +1 -1
  599. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  600. package/dist/esm/mds-input-date.entry.js +2 -2
  601. package/dist/esm/mds-input-field.entry.js +1 -1
  602. package/dist/esm/mds-input-otp.entry.js +1 -1
  603. package/dist/esm/mds-input-range.entry.js +1 -1
  604. package/dist/esm/mds-input-select.entry.js +2 -2
  605. package/dist/esm/mds-input-switch_2.entry.js +2 -2
  606. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  607. package/dist/esm/mds-input-upload.entry.js +5 -5
  608. package/dist/esm/mds-input.entry.js +2 -2
  609. package/dist/esm/mds-keyboard-key.entry.js +1 -1
  610. package/dist/esm/mds-keyboard.entry.js +1 -1
  611. package/dist/esm/mds-kpi-item.entry.js +1 -1
  612. package/dist/esm/mds-kpi.entry.js +1 -1
  613. package/dist/esm/mds-list-item.entry.js +1 -1
  614. package/dist/esm/mds-list.entry.js +1 -1
  615. package/dist/esm/mds-mention.entry.js +1 -1
  616. package/dist/esm/mds-modal.entry.js +3 -3
  617. package/dist/esm/mds-note.entry.js +1 -1
  618. package/dist/esm/mds-notification.entry.js +1 -1
  619. package/dist/esm/mds-paginator-item.entry.js +1 -1
  620. package/dist/esm/mds-paginator.entry.js +1 -1
  621. package/dist/esm/mds-policy-ai.entry.js +1 -1
  622. package/dist/esm/mds-pref-animation.entry.js +1 -1
  623. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  624. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  625. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  626. package/dist/esm/mds-pref-language.entry.js +1 -1
  627. package/dist/esm/mds-pref-mode.entry.js +2 -2
  628. package/dist/esm/mds-pref-theme-item.entry.js +1 -1
  629. package/dist/esm/mds-pref-theme.entry.js +1 -1
  630. package/dist/esm/mds-pref.entry.js +1 -1
  631. package/dist/esm/mds-price-table-features-cell.entry.js +1 -1
  632. package/dist/esm/mds-price-table-features-row.entry.js +1 -1
  633. package/dist/esm/mds-price-table-features.entry.js +1 -1
  634. package/dist/esm/mds-price-table-header.entry.js +1 -1
  635. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  636. package/dist/esm/mds-price-table-list.entry.js +1 -1
  637. package/dist/esm/mds-price-table.entry.js +1 -1
  638. package/dist/esm/mds-progress_2.entry.js +2 -2
  639. package/dist/esm/mds-push-notification-item.entry.js +2 -2
  640. package/dist/esm/mds-push-notification.entry.js +1 -1
  641. package/dist/esm/mds-quote.entry.js +1 -1
  642. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  643. package/dist/esm/mds-radial-menu.entry.js +1 -1
  644. package/dist/esm/mds-separator.entry.js +1 -1
  645. package/dist/esm/mds-status-bar.entry.js +1 -1
  646. package/dist/esm/mds-stepper-bar-item.entry.js +1 -1
  647. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  648. package/dist/esm/mds-tab-bar-item.entry.js +1 -1
  649. package/dist/esm/mds-tab-bar.entry.js +1 -1
  650. package/dist/esm/mds-tab_2.entry.js +27 -5
  651. package/dist/esm/mds-table-body.entry.js +1 -1
  652. package/dist/esm/mds-table-footer.entry.js +1 -1
  653. package/dist/esm/mds-table-header-cell.entry.js +1 -1
  654. package/dist/esm/mds-table-header.entry.js +1 -1
  655. package/dist/esm/mds-table-row.entry.js +22 -16
  656. package/dist/esm/mds-table.entry.js +1 -1
  657. package/dist/esm/mds-text.entry.js +1 -1
  658. package/dist/esm/mds-toast.entry.js +1 -1
  659. package/dist/esm/mds-tooltip.entry.js +1 -1
  660. package/dist/esm/mds-tree-item.entry.js +1 -1
  661. package/dist/esm/mds-tree.entry.js +1 -1
  662. package/dist/esm/mds-url-view.entry.js +1 -1
  663. package/dist/esm/mds-usage.entry.js +1 -1
  664. package/dist/esm/mds-video-wall.entry.js +1 -1
  665. package/dist/esm/mds-zero.entry.js +1 -1
  666. package/dist/esm-es5/index.js +37 -20
  667. package/dist/esm-es5/loader.js +1 -1
  668. package/dist/esm-es5/magma-components.js +1 -1
  669. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  670. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  671. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  672. package/dist/esm-es5/mds-button_3.entry.js +28 -6
  673. package/dist/esm-es5/mds-calendar_2.entry.js +2 -2
  674. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  675. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  676. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  677. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  678. package/dist/esm-es5/mds-card.entry.js +1 -1
  679. package/dist/esm-es5/mds-details.entry.js +1 -1
  680. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  681. package/dist/esm-es5/mds-emoji.entry.js +1 -1
  682. package/dist/esm-es5/mds-entity.entry.js +1 -1
  683. package/dist/esm-es5/mds-file-preview.entry.js +1 -1
  684. package/dist/esm-es5/mds-file.entry.js +1 -1
  685. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  686. package/dist/esm-es5/mds-filter.entry.js +1 -1
  687. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  688. package/dist/esm-es5/mds-header.entry.js +4 -4
  689. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  690. package/dist/esm-es5/mds-hr.entry.js +1 -1
  691. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  692. package/dist/esm-es5/mds-input-date.entry.js +2 -2
  693. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  694. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  695. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  696. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  697. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  698. package/dist/esm-es5/mds-input-tip_2.entry.js +2 -2
  699. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  700. package/dist/esm-es5/mds-input.entry.js +1 -1
  701. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  702. package/dist/esm-es5/mds-keyboard.entry.js +1 -1
  703. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  704. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  705. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  706. package/dist/esm-es5/mds-list.entry.js +1 -1
  707. package/dist/esm-es5/mds-mention.entry.js +1 -1
  708. package/dist/esm-es5/mds-modal.entry.js +1 -1
  709. package/dist/esm-es5/mds-note.entry.js +1 -1
  710. package/dist/esm-es5/mds-notification.entry.js +1 -1
  711. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  712. package/dist/esm-es5/mds-paginator.entry.js +1 -1
  713. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  714. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  715. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  716. package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
  717. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  718. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  719. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  720. package/dist/esm-es5/mds-pref-theme-item.entry.js +1 -1
  721. package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
  722. package/dist/esm-es5/mds-pref.entry.js +1 -1
  723. package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
  724. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  725. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  726. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  727. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  728. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  729. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  730. package/dist/esm-es5/mds-progress_2.entry.js +2 -2
  731. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  732. package/dist/esm-es5/mds-push-notification.entry.js +1 -1
  733. package/dist/esm-es5/mds-quote.entry.js +1 -1
  734. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  735. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  736. package/dist/esm-es5/mds-separator.entry.js +1 -1
  737. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  738. package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
  739. package/dist/esm-es5/mds-stepper-bar.entry.js +2 -2
  740. package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
  741. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  742. package/dist/esm-es5/mds-tab_2.entry.js +15 -4
  743. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  744. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  745. package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
  746. package/dist/esm-es5/mds-table-header.entry.js +4 -4
  747. package/dist/esm-es5/mds-table-row.entry.js +12 -4
  748. package/dist/esm-es5/mds-table.entry.js +2 -2
  749. package/dist/esm-es5/mds-text.entry.js +1 -1
  750. package/dist/esm-es5/mds-toast.entry.js +1 -1
  751. package/dist/esm-es5/mds-tooltip.entry.js +1 -1
  752. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  753. package/dist/esm-es5/mds-tree.entry.js +1 -1
  754. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  755. package/dist/esm-es5/mds-usage.entry.js +1 -1
  756. package/dist/esm-es5/mds-video-wall.entry.js +1 -1
  757. package/dist/esm-es5/mds-zero.entry.js +1 -1
  758. package/dist/hydrate/index.js +300 -155
  759. package/dist/hydrate/index.mjs +300 -155
  760. package/dist/magma-components/index.esm.js +1 -1
  761. package/dist/magma-components/magma-components.esm.js +1 -1
  762. package/dist/magma-components/{p-2723caa7.system.entry.js → p-019e8a95.system.entry.js} +2 -2
  763. package/dist/magma-components/{p-835fc007.entry.js → p-01dd1f55.entry.js} +1 -1
  764. package/dist/magma-components/{p-a64bbb36.system.entry.js → p-02119624.system.entry.js} +3 -3
  765. package/dist/magma-components/{p-d2f134ac.entry.js → p-02fc7592.entry.js} +1 -1
  766. package/dist/magma-components/{p-b295e4ab.system.entry.js → p-03cd0069.system.entry.js} +1 -1
  767. package/dist/magma-components/p-05fbca60.system.entry.js +37 -0
  768. package/dist/magma-components/{p-b431ca8a.entry.js → p-06d9af89.entry.js} +1 -1
  769. package/dist/magma-components/p-07e4701d.entry.js +1 -0
  770. package/dist/magma-components/{p-bab4c75e.system.entry.js → p-081a19b1.system.entry.js} +5 -5
  771. package/dist/magma-components/p-09d0b6a8.entry.js +1 -0
  772. package/dist/magma-components/{p-d282a929.entry.js → p-0b300de7.entry.js} +1 -1
  773. package/dist/magma-components/{p-0a551e86.entry.js → p-0d3c3de9.entry.js} +1 -1
  774. package/dist/magma-components/{p-3d56e3f4.entry.js → p-115a5e47.entry.js} +1 -1
  775. package/dist/magma-components/p-1314d80e.entry.js +1 -0
  776. package/dist/magma-components/{p-8aafbfdf.system.entry.js → p-133a6ffd.system.entry.js} +1 -1
  777. package/dist/magma-components/{p-0a904a12.entry.js → p-13db55de.entry.js} +1 -1
  778. package/dist/magma-components/{p-2c44c961.system.entry.js → p-1a2731ec.system.entry.js} +4 -4
  779. package/dist/magma-components/{p-5a911e7b.system.entry.js → p-1a602906.system.entry.js} +2 -2
  780. package/dist/magma-components/{p-ec9cc7b9.entry.js → p-1c975156.entry.js} +1 -1
  781. package/dist/magma-components/{p-3e0eed90.system.entry.js → p-1d154234.system.entry.js} +3 -3
  782. package/dist/magma-components/{p-d9804d2f.entry.js → p-1d9d7666.entry.js} +1 -1
  783. package/dist/magma-components/{p-ccb14076.system.entry.js → p-1ddaaa6d.system.entry.js} +1 -1
  784. package/dist/magma-components/{p-7afec7ee.entry.js → p-21aa0a74.entry.js} +1 -1
  785. package/dist/magma-components/{p-106f39c6.entry.js → p-2399b7e8.entry.js} +1 -1
  786. package/dist/magma-components/{p-92d9b537.entry.js → p-25407d89.entry.js} +1 -1
  787. package/dist/magma-components/{p-91ff1560.system.entry.js → p-27547a7a.system.entry.js} +2 -2
  788. package/dist/magma-components/{p-03c2060d.entry.js → p-289a874e.entry.js} +1 -1
  789. package/dist/magma-components/{p-77615947.system.entry.js → p-2be3bd23.system.entry.js} +1 -1
  790. package/dist/magma-components/{p-4dd6a39b.entry.js → p-2c586431.entry.js} +1 -1
  791. package/dist/magma-components/{p-832883c4.entry.js → p-2d324edc.entry.js} +1 -1
  792. package/dist/magma-components/{p-5c94e0c2.system.entry.js → p-2da2cdf3.system.entry.js} +2 -2
  793. package/dist/magma-components/{p-dcc3be64.system.entry.js → p-2e01e057.system.entry.js} +2 -2
  794. package/dist/magma-components/{p-2ec0db8e.entry.js → p-2e9b80e8.entry.js} +1 -1
  795. package/dist/magma-components/{p-493fb2f4.system.entry.js → p-32361702.system.entry.js} +1 -1
  796. package/dist/magma-components/{p-a7e7f2c0.entry.js → p-3448d0ce.entry.js} +1 -1
  797. package/dist/magma-components/{p-e1e69217.system.entry.js → p-367cee40.system.entry.js} +1 -1
  798. package/dist/magma-components/{p-f5bb8c0c.entry.js → p-3a1a6945.entry.js} +1 -1
  799. package/dist/magma-components/{p-915c5f06.system.entry.js → p-3a8870e4.system.entry.js} +1 -1
  800. package/dist/magma-components/{p-0255924b.system.entry.js → p-3b68fbcd.system.entry.js} +2 -2
  801. package/dist/magma-components/p-3f05ec8a.entry.js +1 -0
  802. package/dist/magma-components/{p-c22887f7.system.entry.js → p-4073c5f2.system.entry.js} +4 -4
  803. package/dist/magma-components/p-40bd2e6d.entry.js +1 -0
  804. package/dist/magma-components/{p-883c223a.system.entry.js → p-423597db.system.entry.js} +2 -2
  805. package/dist/magma-components/{p-58b82b40.system.entry.js → p-443c2a29.system.entry.js} +2 -2
  806. package/dist/magma-components/{p-52793bdb.system.entry.js → p-45a91f1c.system.entry.js} +1 -1
  807. package/dist/magma-components/{p-e887a14c.entry.js → p-487af9d3.entry.js} +1 -1
  808. package/dist/magma-components/{p-4658154f.entry.js → p-4909070e.entry.js} +1 -1
  809. package/dist/magma-components/{p-00e47e49.system.entry.js → p-4d966161.system.entry.js} +3 -3
  810. package/dist/magma-components/p-4ddf891e.system.entry.js +69 -0
  811. package/dist/magma-components/{p-dc59b764.entry.js → p-4e15cde7.entry.js} +1 -1
  812. package/dist/magma-components/{p-44e2a945.system.entry.js → p-4ffec31a.system.entry.js} +1 -1
  813. package/dist/magma-components/{p-ccb6898a.system.entry.js → p-50b266e9.system.entry.js} +1 -1
  814. package/dist/magma-components/{p-5a7267e8.system.entry.js → p-5165b09f.system.entry.js} +2 -2
  815. package/dist/magma-components/{p-7927010f.system.entry.js → p-544cc9c7.system.entry.js} +1 -1
  816. package/dist/magma-components/p-562bb482.system.entry.js +16 -0
  817. package/dist/magma-components/p-5ae5ec95.entry.js +1 -0
  818. package/dist/magma-components/{p-79421ee1.system.entry.js → p-5d2d8ffe.system.entry.js} +1 -1
  819. package/dist/magma-components/{p-4ac94b84.system.entry.js → p-5e180f53.system.entry.js} +1 -1
  820. package/dist/magma-components/{p-837fbbf7.system.entry.js → p-61ff1d85.system.entry.js} +1 -1
  821. package/dist/magma-components/{p-283b0548.system.entry.js → p-62b17608.system.entry.js} +2 -2
  822. package/dist/magma-components/{p-ecd3c27f.entry.js → p-63e7c98f.entry.js} +1 -1
  823. package/dist/magma-components/{p-bc53c19e.entry.js → p-6474c850.entry.js} +1 -1
  824. package/dist/magma-components/{p-20e4f7dd.system.entry.js → p-660657ac.system.entry.js} +3 -3
  825. package/dist/magma-components/{p-18c8628c.entry.js → p-66237a64.entry.js} +1 -1
  826. package/dist/magma-components/{p-0646392d.entry.js → p-6702e489.entry.js} +1 -1
  827. package/dist/magma-components/p-694ed534.entry.js +1 -0
  828. package/dist/magma-components/{p-88f99a4f.system.entry.js → p-6b446fd9.system.entry.js} +2 -2
  829. package/dist/magma-components/{p-10ad73e3.system.entry.js → p-6c414bc2.system.entry.js} +1 -1
  830. package/dist/magma-components/{p-6f74cdf5.system.entry.js → p-6cbd8a6d.system.entry.js} +3 -3
  831. package/dist/magma-components/{p-b24b5179.entry.js → p-6d0dc1fd.entry.js} +1 -1
  832. package/dist/magma-components/{p-1be45c75.entry.js → p-6f2471b1.entry.js} +1 -1
  833. package/dist/magma-components/{p-188f4b1d.system.entry.js → p-6fa03aab.system.entry.js} +1 -1
  834. package/dist/magma-components/{p-774ce1d2.entry.js → p-70141ccd.entry.js} +1 -1
  835. package/dist/magma-components/{p-8afc9bc4.system.entry.js → p-707d8626.system.entry.js} +1 -1
  836. package/dist/magma-components/{p-5fd04ce1.entry.js → p-71dafc3f.entry.js} +1 -1
  837. package/dist/magma-components/{p-ffa1a0b4.system.entry.js → p-726209f4.system.entry.js} +1 -1
  838. package/dist/magma-components/{p-a6af4083.system.entry.js → p-745ee76b.system.entry.js} +2 -2
  839. package/dist/magma-components/{p-d47df503.system.entry.js → p-761415b3.system.entry.js} +1 -1
  840. package/dist/magma-components/{p-dd58f9ee.entry.js → p-771720b7.entry.js} +1 -1
  841. package/dist/magma-components/{p-1e700f0a.entry.js → p-7a7c308b.entry.js} +1 -1
  842. package/dist/magma-components/{p-439c9ce3.system.entry.js → p-7bea6c05.system.entry.js} +1 -1
  843. package/dist/magma-components/{p-64f78149.system.entry.js → p-7c940015.system.entry.js} +1 -1
  844. package/dist/magma-components/{p-474c5d53.system.entry.js → p-7ca990d4.system.entry.js} +2 -2
  845. package/dist/magma-components/{p-de091be7.system.entry.js → p-7d6ca97d.system.entry.js} +1 -1
  846. package/dist/magma-components/{p-7e7cf986.system.entry.js → p-8097dfc8.system.entry.js} +1 -1
  847. package/dist/magma-components/{p-8183b7ed.entry.js → p-843ab1b4.entry.js} +1 -1
  848. package/dist/magma-components/{p-9dcfc247.entry.js → p-8765dc11.entry.js} +1 -1
  849. package/dist/magma-components/{p-218d8254.system.entry.js → p-876a5fb9.system.entry.js} +1 -1
  850. package/dist/magma-components/{p-aba96089.entry.js → p-8a838a1a.entry.js} +1 -1
  851. package/dist/magma-components/{p-35aa29c5.entry.js → p-8bcb2a5f.entry.js} +1 -1
  852. package/dist/magma-components/p-8c93550d.entry.js +1 -0
  853. package/dist/magma-components/{p-ac81f63a.system.entry.js → p-91451e37.system.entry.js} +1 -1
  854. package/dist/magma-components/{p-1e3d89cd.system.entry.js → p-91c8960a.system.entry.js} +1 -1
  855. package/dist/magma-components/{p-1673225e.system.entry.js → p-939da879.system.entry.js} +1 -1
  856. package/dist/magma-components/{p-15d4846d.entry.js → p-97bde480.entry.js} +1 -1
  857. package/dist/magma-components/{p-5d119459.entry.js → p-97d02403.entry.js} +1 -1
  858. package/dist/magma-components/{p-05014374.entry.js → p-983f3e40.entry.js} +1 -1
  859. package/dist/magma-components/{p-dfe8552c.system.entry.js → p-99227c78.system.entry.js} +1 -1
  860. package/dist/magma-components/{p-eb681207.system.entry.js → p-9a583f6b.system.entry.js} +1 -1
  861. package/dist/magma-components/{p-84645c60.system.entry.js → p-9a86e0ce.system.entry.js} +1 -1
  862. package/dist/magma-components/{p-6c800411.entry.js → p-9e5982b6.entry.js} +1 -1
  863. package/dist/magma-components/{p-021f96f8.entry.js → p-9eef2f79.entry.js} +1 -1
  864. package/dist/magma-components/{p-12c5ae26.entry.js → p-9fe7035a.entry.js} +1 -1
  865. package/dist/magma-components/p-CKfEQ187.system.js +107 -0
  866. package/dist/magma-components/p-ZDRIVCAt.system.js +1 -1
  867. package/dist/magma-components/{p-e2ef5996.entry.js → p-a0972ec9.entry.js} +1 -1
  868. package/dist/magma-components/{p-c34d9e61.system.entry.js → p-a0d9e01f.system.entry.js} +1 -1
  869. package/dist/magma-components/{p-632bc44c.entry.js → p-a1851e6f.entry.js} +1 -1
  870. package/dist/magma-components/{p-e213640b.entry.js → p-a1b5bd58.entry.js} +1 -1
  871. package/dist/magma-components/{p-83394280.system.entry.js → p-a2d9549d.system.entry.js} +1 -1
  872. package/dist/magma-components/{p-05f73994.entry.js → p-a5a13b20.entry.js} +1 -1
  873. package/dist/magma-components/{p-7e085c82.entry.js → p-a6a71c77.entry.js} +1 -1
  874. package/dist/magma-components/{p-c28fce23.entry.js → p-a96312c1.entry.js} +1 -1
  875. package/dist/magma-components/{p-eaff7300.entry.js → p-a9e4efa3.entry.js} +1 -1
  876. package/dist/magma-components/{p-ef3424e3.entry.js → p-aa0bd826.entry.js} +1 -1
  877. package/dist/magma-components/{p-231b604f.system.entry.js → p-aa74169f.system.entry.js} +1 -1
  878. package/dist/magma-components/{p-90993b0b.system.entry.js → p-ab4ffbd4.system.entry.js} +1 -1
  879. package/dist/magma-components/{p-a4a83a63.entry.js → p-ad09a06b.entry.js} +1 -1
  880. package/dist/magma-components/{p-34401d35.entry.js → p-ad9cb1f5.entry.js} +1 -1
  881. package/dist/magma-components/{p-c0136138.entry.js → p-afbef2fc.entry.js} +1 -1
  882. package/dist/magma-components/{p-3eefca33.system.entry.js → p-b183d698.system.entry.js} +2 -2
  883. package/dist/magma-components/{p-2507f5cf.entry.js → p-b49196da.entry.js} +1 -1
  884. package/dist/magma-components/{p-d1faf129.entry.js → p-b77a2832.entry.js} +1 -1
  885. package/dist/magma-components/{p-4c73f14b.system.entry.js → p-b925c109.system.entry.js} +2 -2
  886. package/dist/magma-components/{p-73fde271.system.entry.js → p-b9e3281a.system.entry.js} +5 -5
  887. package/dist/magma-components/p-bb0538b6.entry.js +1 -0
  888. package/dist/magma-components/{p-c48bad95.entry.js → p-bb055583.entry.js} +1 -1
  889. package/dist/magma-components/{p-7770b989.system.entry.js → p-bc6a41a9.system.entry.js} +1 -1
  890. package/dist/magma-components/{p-4cb88b06.system.entry.js → p-bd9324f3.system.entry.js} +1 -1
  891. package/dist/magma-components/{p-57762bae.entry.js → p-c48e3460.entry.js} +1 -1
  892. package/dist/magma-components/{p-d04ac65d.entry.js → p-c4beed1b.entry.js} +1 -1
  893. package/dist/magma-components/{p-7ab15184.entry.js → p-c4ccb710.entry.js} +1 -1
  894. package/dist/magma-components/{p-436f9b27.system.entry.js → p-c4e4ba90.system.entry.js} +7 -7
  895. package/dist/magma-components/{p-13a1d35f.entry.js → p-c573e136.entry.js} +1 -1
  896. package/dist/magma-components/{p-5f1132b8.entry.js → p-c5ad848f.entry.js} +1 -1
  897. package/dist/magma-components/{p-cc0c6ae7.entry.js → p-c6841b21.entry.js} +1 -1
  898. package/dist/magma-components/{p-21865dd2.entry.js → p-c89a44b2.entry.js} +1 -1
  899. package/dist/magma-components/{p-69c21eae.entry.js → p-c94575de.entry.js} +1 -1
  900. package/dist/magma-components/{p-3a1339bb.system.entry.js → p-cabe9133.system.entry.js} +2 -2
  901. package/dist/magma-components/p-cb571b55.system.entry.js +1 -0
  902. package/dist/magma-components/{p-8a3d2259.system.entry.js → p-cbc0f01f.system.entry.js} +2 -2
  903. package/dist/magma-components/{p-86f4b6eb.system.entry.js → p-cc1ee10a.system.entry.js} +1 -1
  904. package/dist/magma-components/{p-cc9d9458.entry.js → p-cd1dc29a.entry.js} +1 -1
  905. package/dist/magma-components/{p-4211ce6c.system.entry.js → p-cd5cf28b.system.entry.js} +1 -1
  906. package/dist/magma-components/{p-277444bc.entry.js → p-cd952369.entry.js} +1 -1
  907. package/dist/magma-components/{p-6e03b83a.entry.js → p-d35aebe5.entry.js} +1 -1
  908. package/dist/magma-components/{p-b626c69f.system.entry.js → p-d5e53364.system.entry.js} +1 -1
  909. package/dist/magma-components/{p-93d39066.entry.js → p-d74fa7af.entry.js} +1 -1
  910. package/dist/magma-components/{p-577db922.entry.js → p-d7515aae.entry.js} +1 -1
  911. package/dist/magma-components/{p-b2c62b6e.system.entry.js → p-d7a94afb.system.entry.js} +1 -1
  912. package/dist/magma-components/{p-6c18c40e.system.entry.js → p-d93c9a11.system.entry.js} +1 -1
  913. package/dist/magma-components/{p-314abfba.entry.js → p-d9fbbf3f.entry.js} +1 -1
  914. package/dist/magma-components/{p-88287207.system.entry.js → p-db492cf5.system.entry.js} +2 -2
  915. package/dist/magma-components/{p-a462aadd.entry.js → p-dc399372.entry.js} +1 -1
  916. package/dist/magma-components/{p-e8ed096b.entry.js → p-dcf841d5.entry.js} +1 -1
  917. package/dist/magma-components/{p-97f6166e.system.entry.js → p-dfb4a965.system.entry.js} +1 -1
  918. package/dist/magma-components/{p-b5559b28.system.entry.js → p-e1a91e9e.system.entry.js} +1 -1
  919. package/dist/magma-components/{p-474047fa.system.entry.js → p-e5438280.system.entry.js} +1 -1
  920. package/dist/magma-components/{p-6a6326c6.entry.js → p-e95f2a48.entry.js} +1 -1
  921. package/dist/magma-components/{p-7787ebaf.system.entry.js → p-eb113725.system.entry.js} +1 -1
  922. package/dist/magma-components/{p-36a67b51.entry.js → p-ec5eccbb.entry.js} +1 -1
  923. package/dist/magma-components/{p-cc2a09f2.system.entry.js → p-eea815ca.system.entry.js} +1 -1
  924. package/dist/magma-components/{p-f733ae92.system.entry.js → p-ef4cd904.system.entry.js} +2 -2
  925. package/dist/magma-components/{p-0141c597.system.entry.js → p-eff1fd6c.system.entry.js} +2 -2
  926. package/dist/magma-components/{p-faa1f22c.entry.js → p-eff38775.entry.js} +1 -1
  927. package/dist/magma-components/{p-9344a234.entry.js → p-f01874a8.entry.js} +1 -1
  928. package/dist/magma-components/p-f05d7005.entry.js +1 -0
  929. package/dist/magma-components/{p-f29a059d.system.entry.js → p-f0c67a70.system.entry.js} +2 -2
  930. package/dist/magma-components/{p-e7751639.entry.js → p-f215496c.entry.js} +1 -1
  931. package/dist/magma-components/{p-8d53bd61.system.entry.js → p-f28cfb33.system.entry.js} +2 -2
  932. package/dist/magma-components/{p-6fdb3fe7.system.entry.js → p-f3dbebdd.system.entry.js} +1 -1
  933. package/dist/magma-components/{p-0a38e4ce.system.entry.js → p-f65e29e0.system.entry.js} +1 -1
  934. package/dist/magma-components/{p-74b51db8.entry.js → p-f830793e.entry.js} +1 -1
  935. package/dist/magma-components/{p-5ccf493c.system.entry.js → p-f835c307.system.entry.js} +1 -1
  936. package/dist/magma-components/{p-50ea11c9.system.entry.js → p-f89c3a01.system.entry.js} +1 -1
  937. package/dist/magma-components/{p-ee1e7f07.system.entry.js → p-f8da21a1.system.entry.js} +1 -1
  938. package/dist/magma-components/{p-bf2fe278.system.entry.js → p-f97b4ff4.system.entry.js} +2 -2
  939. package/dist/magma-components/{p-2f520704.entry.js → p-fc8f8a0c.entry.js} +1 -1
  940. package/dist/magma-components/{p-76ecad2f.entry.js → p-fcaa5967.entry.js} +3 -3
  941. package/dist/magma-components/{p-6ff8be3e.system.entry.js → p-ff970859.system.entry.js} +1 -1
  942. package/dist/stats.json +797 -772
  943. package/dist/types/common/navigation.d.ts +32 -0
  944. package/dist/types/components/mds-button/mds-button.d.ts +23 -2
  945. package/dist/types/components/mds-tab/mds-tab.d.ts +6 -1
  946. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +6 -1
  947. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -2
  948. package/dist/types/components.d.ts +4 -4
  949. package/dist/types/index.d.ts +12 -4
  950. package/package.json +6 -6
  951. package/dist/components/p-CKS4r32k.js +0 -1
  952. package/dist/components/p-COkF_8bh.js +0 -1
  953. package/dist/components/p-DQqUzCGR.js +0 -1
  954. package/dist/components/p-DcW0iRnZ.js +0 -1
  955. package/dist/components/p-PQ_EO5-U.js +0 -1
  956. package/dist/magma-components/p-322a5452.entry.js +0 -1
  957. package/dist/magma-components/p-35ee2d77.entry.js +0 -1
  958. package/dist/magma-components/p-4e7f21ac.entry.js +0 -1
  959. package/dist/magma-components/p-514d0fcb.entry.js +0 -1
  960. package/dist/magma-components/p-5299f709.system.entry.js +0 -26
  961. package/dist/magma-components/p-60f67c37.entry.js +0 -1
  962. package/dist/magma-components/p-789c1b93.system.entry.js +0 -1
  963. package/dist/magma-components/p-8ccd187a.entry.js +0 -1
  964. package/dist/magma-components/p-D7BrzK-C.system.js +0 -90
  965. package/dist/magma-components/p-a41e52f7.entry.js +0 -1
  966. package/dist/magma-components/p-b897c97d.entry.js +0 -1
  967. package/dist/magma-components/p-c166ec50.system.entry.js +0 -47
  968. package/dist/magma-components/p-d07d227b.system.entry.js +0 -8
  969. package/dist/magma-components/p-d5bd6bef.entry.js +0 -1
  970. package/dist/magma-components/p-f654eafe.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- System.register(["./p-DaONbL_w.system.js","./p-Qrub-hmK.system.js","./p-hVpoPUxI.system.js","./p-C61qxZLH.system.js"],(function(t){"use strict";var a,r,e,i,s,n,o,m;return{setters:[function(t){a=t.r;r=t.d;e=t.h;i=t.e;s=t.g},function(t){n=t.c},function(t){o=t.p},function(t){m=t.m}],execute:function(){var d=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-filter-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-filter-items-gap:calc(var(--spacing,.0025rem)*200);--mds-filter-items-padding:calc(var(--spacing,.0025rem)*200);--mds-filter-items-radius:var(--radius-full,1000px);--mds-filter-items-scroll-behavior:smooth;--mds-filter-items-transition-duration:var(--duration-300,.3s);--private-filter-items-transition-duration:var(--mds-filter-items-transition-duration);--mds-filter-label-padding:0 calc(var(--spacing,.0025rem)*600);--mds-filter-wrapper-shadow-color:rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-filter-wrapper-shadow:0 0 0 2px var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))))) inset;--mds-filter-wrapper-shadow-opacity:.1;display:grid;gap:calc(var(--spacing,.0025rem)*100);grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.items{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;background-color:var(--mds-filter-items-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));border-radius:var(--mds-filter-items-radius,var(--radius-full,1000px));display:flex;gap:var(--mds-filter-items-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-filter-items-padding,calc(var(--spacing,.0025rem)*200));position:relative;scroll-behavior:var(--mds-filter-items-scroll-behavior,smooth);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-transition-duration:var(--private-filter-items-transition-duration);transition-duration:var(--private-filter-items-transition-duration);transition-property:background-color;-webkit-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.items-wrapper{display:grid;overflow:hidden;position:relative}.items-wrapper:after{border-radius:var(--mds-filter-items-radius,var(--radius-full,1000px));-webkit-box-shadow:var(--mds-filter-wrapper-shadow);box-shadow:var(--mds-filter-wrapper-shadow);content:"";inset:0;opacity:var(--mds-filter-wrapper-shadow-opacity,.1);pointer-events:none;position:absolute}.items::-webkit-scrollbar{display:none}.label{padding:var(--mds-filter-label-padding,0 calc(var(--spacing,.0025rem)*600))}.active{background-color:var(--mds-filter-items-background-active,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))))}.reset{display:flex;flex-grow:1;justify-content:flex-end;transform-origin:50%}.reset,.reset-button{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-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.reset-button-opened,:host([reset]:not([reset=false])) .reset{transform:scale(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-filter-items-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .items{--mds-filter-items-background-active:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:host([pref-contrast=more]){--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-filter-items-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-filter-wrapper-shadow-opacity:.3;--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))))) inset}@media (prefers-reduced-motion:reduce){:host{--mds-filter-items-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-filter-items-transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .items{--mds-filter-items-background-active:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-filter-items-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-filter-wrapper-shadow-opacity:.3;--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))))) inset}}'};var l=t("mds_filter",/** @class */function(){function t(t){var e=this;a(this,t);this.changedEvent=r(this,"mdsFilterChange",7);this.itemsSelected=0;this.queryItems=function(){return e.element.querySelectorAll("mds-filter-item")};
1
+ System.register(["./p-DaONbL_w.system.js","./p-Qrub-hmK.system.js","./p-hVpoPUxI.system.js","./p-C61qxZLH.system.js"],(function(t){"use strict";var a,e,r,i,s,n,o,m;return{setters:[function(t){a=t.r;e=t.d;r=t.h;i=t.e;s=t.g},function(t){n=t.c},function(t){o=t.p},function(t){m=t.m}],execute:function(){var d=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-filter-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-filter-items-gap:calc(var(--spacing,.0025rem)*200);--mds-filter-items-padding:calc(var(--spacing,.0025rem)*200);--mds-filter-items-radius:var(--radius-full,1000px);--mds-filter-items-scroll-behavior:smooth;--mds-filter-items-transition-duration:var(--duration-300,.3s);--private-filter-items-transition-duration:var(--mds-filter-items-transition-duration);--mds-filter-label-padding:0 calc(var(--spacing,.0025rem)*600);--mds-filter-wrapper-shadow-color:rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-filter-wrapper-shadow:0 0 0 2px var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))))) inset;--mds-filter-wrapper-shadow-opacity:.1;display:grid;gap:calc(var(--spacing,.0025rem)*100);grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.items{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;background-color:var(--mds-filter-items-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));border-radius:var(--mds-filter-items-radius,var(--radius-full,1000px));display:flex;gap:var(--mds-filter-items-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-filter-items-padding,calc(var(--spacing,.0025rem)*200));position:relative;scroll-behavior:var(--mds-filter-items-scroll-behavior,smooth);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-transition-duration:var(--private-filter-items-transition-duration);transition-duration:var(--private-filter-items-transition-duration);transition-property:background-color;-webkit-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.items-wrapper{display:grid;overflow:hidden;position:relative}.items-wrapper:after{border-radius:var(--mds-filter-items-radius,var(--radius-full,1000px));-webkit-box-shadow:var(--mds-filter-wrapper-shadow);box-shadow:var(--mds-filter-wrapper-shadow);content:"";inset:0;opacity:var(--mds-filter-wrapper-shadow-opacity,.1);pointer-events:none;position:absolute}.items::-webkit-scrollbar{display:none}.label{padding:var(--mds-filter-label-padding,0 calc(var(--spacing,.0025rem)*600))}.active{background-color:var(--mds-filter-items-background-active,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))))}.reset{display:flex;flex-grow:1;justify-content:flex-end;transform-origin:50%}.reset,.reset-button{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-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.reset-button-opened,:host([reset]:not([reset=false])) .reset{transform:scale(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-filter-items-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .items{--mds-filter-items-background-active:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:host([pref-contrast=more]){--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-filter-items-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-filter-wrapper-shadow-opacity:.3;--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))))) inset}@media (prefers-reduced-motion:reduce){:host{--mds-filter-items-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-filter-items-transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .items{--mds-filter-items-background-active:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-filter-items-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-filter-wrapper-shadow-opacity:.3;--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))))) inset}}'};var l=t("mds_filter",/** @class */function(){function t(t){var r=this;a(this,t);this.changedEvent=e(this,"mdsFilterChange",7);this.itemsSelected=0;this.queryItems=function(){return r.element.querySelectorAll("mds-filter-item")};
2
2
  /**
3
3
  * Centres the selected item in the strip. The measure is taken from the boxes
4
4
  * and applied as a delta on the current scroll: `offsetLeft` would mix two
@@ -8,4 +8,4 @@ System.register(["./p-DaONbL_w.system.js","./p-Qrub-hmK.system.js","./p-hVpoPUxI
8
8
  * the distance of the filter from that ancestor, so the further right the
9
9
  * component sits the more the scroll overshoots, until it clamps at the end of
10
10
  * the strip and pushes the clicked item against the left edge.
11
- */this.scrollTabs=function(){var t;var a=e.queryItems();var r=a[e.lastSelectedItem];var i=(t=e.element.shadowRoot)===null||t===void 0?void 0:t.querySelector(".items");if(i&&r){var s=i.getBoundingClientRect();var n=r.getBoundingClientRect();i.scrollLeft+=n.left-s.left-(s.width-n.width)/2}};this.checkSelectedItem=function(){var t=e.queryItems();var a=false;t.forEach((function(t){if(t.selected){a=true}}));e.active=a};this.checkAutoReset=function(){if(!e.autoReset){return}e.resetItems()};this.resetItems=function(){var t=e.queryItems();t.forEach((function(t){t.selected=false;t.classList.remove("sibling")}));e.active=false};this.itemsValues=function(){var t=e.queryItems();var a=[];t.forEach((function(t){if(t.selected){a.push(t.value)}}));return a.toString()}}t.prototype.componentWillLoad=function(){var t=this.queryItems();t.forEach((function(t,a){t.id="item-".concat(a)}));this.checkSelectedItem()};t.prototype.activeEventHandler=function(t){this.lastSelectedItem=Number(t.detail.id!==""?t.detail.id.replace("item-",""):0);this.scrollTabs();var a=this.queryItems();if(this.multiple){var r=0;var e=[];a.forEach((function(t,a){e.push(t.selected?t:null);if(t.selected){r+=1}t.classList.remove("sibling");if(e.length>1&&e[a-1]!==null){t.classList.add("sibling")}}));this.itemsSelected=r;this.checkSelectedItem();if(this.itemsSelected===a.length){this.checkAutoReset()}this.changedEvent.emit({children:a,value:this.itemsValues()});return}a.forEach((function(a,r){a.selected="item-".concat(r)===t.detail.id&&t.detail.selected}));this.checkSelectedItem();this.changedEvent.emit({children:a,value:this.itemsValues()})};t.prototype.render=function(){return e(i,{key:"bf4c9525009f41e5b50857c9ae35c00b4f145ceb","aria-label":this.label,role:"menubar","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},this.label&&e("mds-text",{key:"4f3df9955b59fd0080b168baf99065184338667c",class:"label",typography:"label"},this.label),e("div",{key:"1c12f342b6b09afbca43cb768e548a9d8959717c",class:"items-wrapper"},e("div",{key:"2b5574259fff9c9508802e4166942075ee842307",class:n("items",this.active&&"active")},e("slot",{key:"7fa6ec40c1a3d07c5493d2e397714c7990d623ba"}),e("div",{key:"cc1b6e75b68ebb52342fe0d4ac28dd588890f2d4",class:n("reset",this.active&&"reset--opened")},e("mds-filter-item",{key:"28c14d9d5c2c998f7605a5d773fe6fa22fe6d3e4",selected:this.active,disabled:!this.active&&this.reset,class:n("reset-button",this.active&&"reset-button-opened"),icon:m,onClick:this.resetItems})))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());l.style=d()}}}));
11
+ */this.scrollTabs=function(){var t;var a=r.queryItems();var e=a[r.lastSelectedItem];var i=(t=r.element.shadowRoot)===null||t===void 0?void 0:t.querySelector(".items");if(i&&e){var s=i.getBoundingClientRect();var n=e.getBoundingClientRect();i.scrollLeft+=n.left-s.left-(s.width-n.width)/2}};this.checkSelectedItem=function(){var t=r.queryItems();var a=false;t.forEach((function(t){if(t.selected){a=true}}));r.active=a};this.checkAutoReset=function(){if(!r.autoReset){return}r.resetItems()};this.resetItems=function(){var t=r.queryItems();t.forEach((function(t){t.selected=false;t.classList.remove("sibling")}));r.active=false};this.itemsValues=function(){var t=r.queryItems();var a=[];t.forEach((function(t){if(t.selected){a.push(t.value)}}));return a.toString()}}t.prototype.componentWillLoad=function(){var t=this.queryItems();t.forEach((function(t,a){t.id="item-".concat(a)}));this.checkSelectedItem()};t.prototype.activeEventHandler=function(t){this.lastSelectedItem=Number(t.detail.id!==""?t.detail.id.replace("item-",""):0);this.scrollTabs();var a=this.queryItems();if(this.multiple){var e=0;var r=[];a.forEach((function(t,a){r.push(t.selected?t:null);if(t.selected){e+=1}t.classList.remove("sibling");if(r.length>1&&r[a-1]!==null){t.classList.add("sibling")}}));this.itemsSelected=e;this.checkSelectedItem();if(this.itemsSelected===a.length){this.checkAutoReset()}this.changedEvent.emit({children:a,value:this.itemsValues()});return}a.forEach((function(a,e){a.selected="item-".concat(e)===t.detail.id&&t.detail.selected}));this.checkSelectedItem();this.changedEvent.emit({children:a,value:this.itemsValues()})};t.prototype.render=function(){return r(i,{key:"f7272fd66e4e5da125840b6ec74f6aeb2c854470","aria-label":this.label,role:"menubar","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},this.label&&r("mds-text",{key:"5ada299850e7f46e357338b8762ffd14eaf91784",class:"label",typography:"label"},this.label),r("div",{key:"97d2193549bfd6dc37d6182626d79452bb0fb76e",class:"items-wrapper"},r("div",{key:"db941f2d23bc8685e03e76b80bedfbf6c2124e82",class:n("items",this.active&&"active")},r("slot",{key:"914d507af61d326a9d2bcc7030dc31efeb03e459"}),r("div",{key:"31704b2f44a7f8ad330021ac111dac0e64f131fe",class:n("reset",this.active&&"reset--opened")},r("mds-filter-item",{key:"c4dc236a8b1d8c7affb3870761cf6fe9c2e3a7bb",selected:this.active,disabled:!this.active&&this.reset,class:n("reset-button",this.active&&"reset-button-opened"),icon:m,onClick:this.resetItems})))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());l.style=d()}}}));
@@ -4,4 +4,4 @@ System.register(["./p-DaONbL_w.system.js","./p-Cwb0_qSC.system.js","./p-xn0Wyqcy
4
4
  */this.supported=false;
5
5
  /**
6
6
  * Specifies if the feature is supported or not
7
- */this.typography="detail"}t.prototype.render=function(){return i(a,{key:"9f970a01728c3729c604119a3f9e8ba520754ee9",slot:"item"},i("mds-text",{key:"07f98b7344b20804848c534460eaa84fa3d9c402",class:"icon-container",typography:this.typography},this.supported?i("i",{class:"icon",innerHTML:r,part:"icon"}):i("i",{class:"icon",innerHTML:n,part:"icon"})),i("mds-text",{key:"992dc84f0b8fd8ed025e971c3537ce98b675985a",class:"text",typography:this.typography},i("slot",{key:"ff21af191088a6f5555002508e1ef6bf71f61aaf"})))};return t}());o.style=s()}}}));
7
+ */this.typography="detail"}t.prototype.render=function(){return i(a,{key:"2c4d187715e04f32a989eaf8358a427ff52e02cf",slot:"item"},i("mds-text",{key:"58d45fa5da8d10ebed428bdd5e8befd0b3e595c5",class:"icon-container",typography:this.typography},this.supported?i("i",{class:"icon",innerHTML:r,part:"icon"}):i("i",{class:"icon",innerHTML:n,part:"icon"})),i("mds-text",{key:"86e26bc1f132a173a86a67dd9c156b44eff35c65",class:"text",typography:this.typography},i("slot",{key:"d7babfc9729cfc73d0dd901e2b6d5d23db5865a2"})))};return t}());o.style=s()}}}));
@@ -4,4 +4,4 @@ System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.system.js"],(function(e)
4
4
  */this.typography="h3";
5
5
  /**
6
6
  * Specifies the tag the element
7
- */this.tag="h3"}e.prototype.render=function(){return a(s,{key:"cfb336faa76b4ab2a68b2d8ca9dc75edfe55aeb6","pref-contrast":r.state.contrast},a("mds-text",{key:"117265de0b62d6e7bfcc6126eb7712a93bba5153",class:"open-quote",tag:"div",typography:this.typography},a("span",{key:"7a8dc8cf4e993d66cfb006bf6208e21ea08e4098"},a("i",{key:"82d9b40c020e8f35a3bc1ba54c2494b5ba5f4991"},"❝ "))),a("div",{key:"87584eea395128b4d65437b575cefb66c9a93891",class:"quote"},a("mds-text",{key:"d630290e2eb5408ed612b3268b92355bcc49da47",tag:this.tag,typography:this.typography},a("i",{key:"6f26b293a426f5ab93873cb46a8abee7c52429fb"},a("slot",{key:"a09ce2ef7bfaa42a21be184d3aa2fc4994509d3a"}),a("span",{key:"c0d0181b85d0d033f0ef00522792675379b42ac1"}," ❞"))),a("slot",{key:"00f4fcf39ffd58d65a7bca5be6ddf04695b0a0fe",name:"author"})))};return e}());o.style=n()}}}));
7
+ */this.tag="h3"}e.prototype.render=function(){return a(s,{key:"b2420d27656f92fcd45b5b84b1d3e6760f293f47","pref-contrast":r.state.contrast},a("mds-text",{key:"09f1ebe2c5ae6e8479600a353f5d413919546674",class:"open-quote",tag:"div",typography:this.typography},a("span",{key:"f85c307485a25057fde6ceee8a19aea5be191df9"},a("i",{key:"ad9bb2d28c10a86539c9f05d7392ad379e6e0351"},"❝ "))),a("div",{key:"ca6ec3f4aef754325c424f50a084b4c2021392cf",class:"quote"},a("mds-text",{key:"76f17e8fe122287969a99a36f53eba06d638cedc",tag:this.tag,typography:this.typography},a("i",{key:"ecda34563574602a065090f43b91fe40cd9f519f"},a("slot",{key:"2570cc9ce48a9c7fb009afa34b9bf8e683fab914"}),a("span",{key:"dca3936e9aede37e252f724c95f95cdbce5da391"}," ❞"))),a("slot",{key:"200d2f9c855e7d80e8cb0a6e2828264f28b0ab70",name:"author"})))};return e}());o.style=n()}}}));
@@ -1 +1 @@
1
- import{r as e,d as r,h as t,e as a,g as i}from"./p-BxPbQB28.js";import{m as o}from"./p-J-ikDhyq.js";import{K as s}from"./p-KRu9I7dw.js";import{L as n}from"./p-Kv1yahtR.js";import{p as d}from"./p-7-TP6wnI.js";var l={close:"Κλείσιμο",iframeURL:"Στοιχείο iframe που περιέχει {{ url }}",previewURL:"Παράθυρο με προεπισκόπηση του {{ url }}"},m={close:"Close",iframeURL:"Iframe element containing {{ url }}",previewURL:"Window with a preview of {{ url }}"},c={close:"Cerrar",iframeURL:"Elemento iframe que contiene {{ url }}",previewURL:"Ventana con vista previa de {{ url }}"},h={close:"Chiudi",iframeURL:"Elemento iframe contentente {{ url }}",previewURL:"Finestra con anteprima di {{ url }}"};const u=class{constructor(t){e(this,t),this.closeEvent=r(this,"mdsUrlViewClose",7),this.km=new s,this.t=new n({el:l,en:m,es:c,it:h}),this.loading="lazy",this.urlDomain=e=>{try{return new URL(e).hostname.replace("www.","")}catch(r){return null!=e?e:""}},this.closeUrlView=()=>{var e;this.closeEvent.emit(),null===(e=this.host.closest("mds-modal"))||void 0===e||e.close()}}componentDidLoad(){var e,r;const t=null!==(r=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".action-close"))&&void 0!==r?r:null;null!==t&&(this.km.addElement(t),this.km.attachClickBehavior())}disconnectedCallback(){this.km.detachClickBehavior()}render(){var e,r;return t(a,{key:"2c327fc1ebd8036fa625605cace2f54651f634a8","aria-label":this.t.get("previewURL",{url:this.urlDomain(this.src)}),"pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},t("div",{key:"4e66dcb397b5f68859dccc769e93f3d4fc5e3ab6",class:"window"},t("div",{key:"b425577cb77a3796ee52af5194981f57d6b2c07c",class:"header"},t("mds-icon",{key:"5f9ee13fdcd7cf9efa92e3b6bc038ae145989233",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>'}),t("mds-text",{key:"08f49adf6214594794204edf34d8b7ffe2c02613",class:"title",typography:"caption"},null!==(r=this.label)&&void 0!==r?r:this.urlDomain(this.src)),t("mds-button",{key:"ca7a9f77652579daf7d79ffa0f014a2e1639e5f2",title:this.t.get("close"),class:"action-close",variant:"dark",tone:"text",icon:o,onClick:this.closeUrlView})),t("iframe",{key:"9242775416147fa7bcc54defab8efa4067f7e834",class:"iframe","aria-label":this.t.get("iframeURL",{url:this.urlDomain(this.src)}),src:this.src,loading:this.loading})))}get host(){return i(this)}};u.style='@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))}}';export{u as mds_url_view}
1
+ import{r as e,d as r,h as t,e as a,g as i}from"./p-BxPbQB28.js";import{m as o}from"./p-J-ikDhyq.js";import{K as s}from"./p-KRu9I7dw.js";import{L as n}from"./p-Kv1yahtR.js";import{p as d}from"./p-7-TP6wnI.js";var l={close:"Κλείσιμο",iframeURL:"Στοιχείο iframe που περιέχει {{ url }}",previewURL:"Παράθυρο με προεπισκόπηση του {{ url }}"},m={close:"Close",iframeURL:"Iframe element containing {{ url }}",previewURL:"Window with a preview of {{ url }}"},h={close:"Cerrar",iframeURL:"Elemento iframe que contiene {{ url }}",previewURL:"Ventana con vista previa de {{ url }}"},c={close:"Chiudi",iframeURL:"Elemento iframe contentente {{ url }}",previewURL:"Finestra con anteprima di {{ url }}"};const u=class{constructor(t){e(this,t),this.closeEvent=r(this,"mdsUrlViewClose",7),this.km=new s,this.t=new n({el:l,en:m,es:h,it:c}),this.loading="lazy",this.urlDomain=e=>{try{return new URL(e).hostname.replace("www.","")}catch(r){return null!=e?e:""}},this.closeUrlView=()=>{var e;this.closeEvent.emit(),null===(e=this.host.closest("mds-modal"))||void 0===e||e.close()}}componentDidLoad(){var e,r;const t=null!==(r=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".action-close"))&&void 0!==r?r:null;null!==t&&(this.km.addElement(t),this.km.attachClickBehavior())}disconnectedCallback(){this.km.detachClickBehavior()}render(){var e,r;return t(a,{key:"5d5b18b08ab6248208ed93e40072c4d04876e9d7","aria-label":this.t.get("previewURL",{url:this.urlDomain(this.src)}),"pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},t("div",{key:"3218cf559118a33ac33941392baeb1677f007fdb",class:"window"},t("div",{key:"21efea0113b7fd6a05af0e74d5274bea0e5d7270",class:"header"},t("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>'}),t("mds-text",{key:"7d6117345c8401c6fdbf90ec22855c380c5c5af1",class:"title",typography:"caption"},null!==(r=this.label)&&void 0!==r?r:this.urlDomain(this.src)),t("mds-button",{key:"b179e9ec2295fd5dcd22db2d63cc0eb6aaf2ed9e",title:this.t.get("close"),class:"action-close",variant:"dark",tone:"text",icon:o,onClick:this.closeUrlView})),t("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 i(this)}};u.style='@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))}}';export{u as mds_url_view}
@@ -1 +1 @@
1
- import{r as e,d as a,h as t,e as r,g as n}from"./p-BxPbQB28.js";import{D as s}from"./p-BJtA1qmE.js";import{p as i}from"./p-7-TP6wnI.js";import{s as l}from"./p-CACEYk42.js";import{c as d}from"./p-ChV9xqsO.js";const c=class{constructor(t){e(this,t),this.datesEmitter=a(this,"mdsCalendarChange",7),this.navigationEmitter=a(this,"mdsCalendarNavigate",7),this.hoverEmitter=a(this,"mdsCalendarHover",7),this.checkPreselectionsEmitter=a(this,"mdsCalendarPreselect",7),this.hasPreselection=!1,this.currentDate=s.now(),this.weekDaysinMonth=[],this.weekdays=[],this.startDateIdentifier=null,this.endDateIdentifier=null,this.isFirstClick=!0,this.currentView="calendar",this.selectedYear=this.currentDate.year,this.singlePicker=!1,this.hidePreviousButton=!1,this.hideNextButton=!1,this.disableMonthYearSelection=!1,this.hidePreselection=!1,this.hideToday=!1,this.viewDate=null,this.hoverDate=null,this.startDate=null,this.endDate=null,this.min=null,this.max=null,this.internalStartDate=this.startDate,this.internalEndDate=this.endDate,this.internalHoverDate=null,this.currentMonth="",this.currentYear="",this.handleMouseOver=e=>{const a=e.target;if(!a.matches("mds-calendar-cell")||this.singlePicker||null===this.internalStartDate||""===this.internalStartDate||null!==this.internalEndDate&&""!==this.internalEndDate)return;const t=a.getAttribute("date");null!==t&&""!==t&&(t!==this.internalHoverDate&&(this.internalHoverDate=t,requestAnimationFrame((()=>this.setDates()))),this.hoverEmitter.emit({hoverDate:t}))},this.handleMouseLeave=()=>{const e=null!==this.internalHoverDate;this.internalHoverDate=null,this.singlePicker||null===this.internalStartDate||""===this.internalStartDate||null!==this.internalEndDate&&""!==this.internalEndDate||(e&&requestAnimationFrame((()=>this.setDates())),null!==this.hoverDate&&""!==this.hoverDate&&this.hoverEmitter.emit({hoverDate:null}))},this.handleMonthActionClick=e=>{e.stopPropagation(),this.disableMonthYearSelection?e.preventDefault():(this.currentView="months"===this.currentView?"calendar":"months",requestAnimationFrame((()=>{this.updateCalendar().then((()=>this.setDates()))})))},this.handleYearActionClick=e=>{e.stopPropagation(),this.disableMonthYearSelection?e.preventDefault():(this.currentView="years"===this.currentView?"calendar":"years",requestAnimationFrame((()=>{this.updateCalendar().then((()=>this.setDates()))})))},this.handlePrev=e=>{"calendar"===this.currentView?(e.stopPropagation(),this.changeMonth(-1)):"years"===this.currentView?(e.stopPropagation(),this.selectedYear-=10):e.stopPropagation()},this.handleNext=e=>{"calendar"===this.currentView?(e.stopPropagation(),this.changeMonth(1)):"years"===this.currentView?(e.stopPropagation(),this.selectedYear+=10):e.stopPropagation()},this.handleCellClick=e=>a=>{a.stopPropagation();const t=a.currentTarget;this.singlePicker?this.handleSingleSelection(t,e):this.handleRange(t,e)},this.handleMonthSelect=e=>a=>{a.stopPropagation(),this.currentDate=this.currentDate.set({month:e}),this.currentMonth=this.currentDate.toFormat("MMMM"),this.currentView="calendar",this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))},this.handleYearSelect=e=>a=>{a.stopPropagation(),this.currentDate=this.currentDate.set({year:e}),this.currentYear=e.toString(),this.currentView="calendar",this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))}}handleStartDate(e){const a=this.parseDateProp(e,"start-date");if(null!==a){if(this.internalStartDate=a,this.startDateTime=s.fromISO(a),this.startDateIdentifier=this.startDateTime.toISODate(),null!==this.internalEndDate&&""!==this.internalEndDate){const e=s.fromISO(this.internalEndDate);if(this.startDateTime>e)return void console.warn("startDate is after endDate, swapping values")}else this.singlePicker||(this.isFirstClick=!1);this.updateDates()}else this.internalStartDate=null,this.startDateIdentifier=null,this.startDateTime=null,this.isFirstClick=!0,this.updateDates()}handleEndDate(e){if(this.singlePicker)return console.warn("singlePicker is enabled, endDate cannot be set"),void(this.internalEndDate=null);const a=this.parseDateProp(e,"end-date");if(null!==a){if(this.internalEndDate=a,this.endDateTime=s.fromISO(a),this.endDateIdentifier=this.endDateTime.toISODate(),null!==this.internalStartDate&&""!==this.internalStartDate&&s.fromISO(this.internalStartDate)>this.endDateTime)return void console.warn("startDate is after endDate, swapping values");this.updateDates()}else this.internalEndDate=null,this.endDateIdentifier=null,this.endDateTime=null,this.updateDates()}handleViewDate(e){if(null!==e&&""!==e){const a=s.fromISO(e.toString());a.isValid&&(this.currentDate=a,this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))})))}}handleHoverDate(){requestAnimationFrame((()=>this.setDates()))}parseDateProp(e,a){if(null===e||""===e)return null;const t=l(e.toString());return null!==t&&s.fromISO(t).isValid?t:(console.warn(`mds-calendar: ignoring the invalid ${a} "${e}"`),null)}componentWillLoad(){if(this.internalStartDate=this.parseDateProp(this.internalStartDate,"start-date"),this.internalEndDate=this.parseDateProp(this.internalEndDate,"end-date"),this.singlePicker&&null!==this.internalEndDate&&(console.warn("singlePicker is enabled, endDate cannot be set"),this.internalEndDate=null),null!==this.viewDate&&""!==this.viewDate){const e=s.fromISO(this.viewDate.toString());e.isValid&&(this.currentDate=e)}else null!==this.internalStartDate&&(this.startDateTime=s.fromISO(this.internalStartDate),this.currentDate=this.startDateTime);null!==this.internalEndDate&&(this.endDateTime=s.fromISO(this.internalEndDate)),this.updateCalendar()}componentDidLoad(){var e,a,t,r;this.hasPreselection=null!==(null===(e=this.host)||void 0===e?void 0:e.querySelector(".date-preselection--has-preselection")),null===(t=null===(a=this.host)||void 0===a?void 0:a.shadowRoot)||void 0===t||t.addEventListener("mouseover",this.handleMouseOver),null===(r=this.host)||void 0===r||r.addEventListener("mouseleave",this.handleMouseLeave),this.setDates()}disconnectedCallback(){var e,a,t;null===(a=null===(e=this.host)||void 0===e?void 0:e.shadowRoot)||void 0===a||a.removeEventListener("mouseover",this.handleMouseOver),null===(t=this.host)||void 0===t||t.removeEventListener("mouseleave",this.handleMouseLeave)}async updateCurrentDate(e){return this.currentDate=s.fromISO(e),await this.updateCalendar(),await new Promise((e=>{requestAnimationFrame((()=>{this.setDates(),e()}))})),Promise.resolve()}resolveHoverDate(){return null!==this.hoverDate&&""!==this.hoverDate?this.hoverDate:this.internalHoverDate}updateDates(){this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))}async updateCalendar(){try{const e=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map(((a,t)=>e.setLocale(i.state.language).plus({days:t}).toFormat("ccc"))),this.calculateWeekDaysInMonth(),this.currentMonth=this.currentDate.setLocale(i.state.language).toFormat("MMMM"),this.currentMonthNumber=this.currentDate.month,this.currentYear=this.currentDate.toFormat("yyyy")}catch(e){console.error("Error while updating the calendar:",e)}}setDates(){const e=this.host;if(null==e)return;const{shadowRoot:a}=e;if(!a)return;const t=a.querySelectorAll("mds-calendar-cell[selection], mds-calendar-cell[preview]");if(this.singlePicker)this.setSingleSelection(t,a);else{const e=this.resolveHoverDate();null===e||null!==this.internalEndDate&&""!==this.internalEndDate?this.setRangeSelection(t,a):this.setHoverSelection(t,a,e)}}clearSelectionState(e){e.forEach((e=>{e.removeAttribute("selection"),e.removeAttribute("preview")}))}setRangeSelection(e,a){if(this.clearSelectionState(e),null===this.internalStartDate||""===this.internalStartDate)return;if(this.startDateTime=s.fromISO(this.internalStartDate.toString()),null===this.internalEndDate||""===this.internalEndDate)return this.startDateIdentifier=this.startDateTime.toISODate(),this.isFirstClick=!1,void a.querySelectorAll("mds-calendar-cell").forEach((e=>{e.getAttribute("date")===this.startDateTime.toFormat("yyyy-MM-dd")&&(e.setAttribute("selection","single"),e.setAttribute("preview","true"))}));this.endDateTime=s.fromISO(this.internalEndDate.toString()),this.startDateIdentifier=this.startDateTime.toISODate(),this.endDateIdentifier=this.endDateTime.toISODate();const t=a.querySelectorAll("mds-calendar-cell");if(null!=t){let e;for(let a=0;a<t.length;a++){const r=t[a].getAttribute("date");if(null!==r&&""!==r){const n=s.fromISO(r);n.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")&&t[a].setAttribute("selection","start"),n.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")&&(this.startDateTime.equals(this.endDateTime)?t[a].setAttribute("selection","single"):t[a].setAttribute("selection","end")),e=n>this.startDateTime&&n<this.endDateTime,e&&t[a].setAttribute("selection","middle")}}}}setHoverSelection(e,a,t){if(this.clearSelectionState(e),null===this.internalStartDate||""===this.internalStartDate)return void this.setRangeSelection(e,a);const r=s.fromISO(this.internalStartDate),n=s.fromISO(t);if(!r.isValid||!n.isValid)return void this.setRangeSelection(e,a);const i=r<=n;Array.from(a.querySelectorAll("mds-calendar-cell")).forEach((e=>{const a=e.getAttribute("date");if(null===a||""===a)return;const t=s.fromISO(a);if(!t.isValid)return;if(!(i?t>=r&&t<=n:t>=n&&t<=r))return;e.setAttribute("preview","true");let l="middle";r.equals(n)&&t.equals(r)?l="single":t.equals(r)?l=i?"start":"end":t.equals(n)&&(l=i?"end":"start"),e.setAttribute("selection",l)}))}setSingleSelection(e,a){if(this.clearSelectionState(e),null===this.internalStartDate||""===this.internalStartDate)return;this.startDateTime=s.fromISO(this.internalStartDate.toString());const t=a.querySelectorAll("mds-calendar-cell");if(null!=t)for(let e=0;e<t.length;e++){const a=t[e].getAttribute("date");null!==a&&""!==a&&s.fromISO(a).toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")&&t[e].setAttribute("selection","single")}}changeMonth(e){this.currentDate=this.currentDate.plus({months:e}),this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))})),this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:e})}calculateWeekDaysInMonth(){const e=this.currentDate.startOf("month"),a=this.currentDate.endOf("month"),t=[];for(let a=e.minus({days:e.weekday-1});a<e;a=a.plus({days:1}))t.push({date:a,isCurrentMonth:!1});for(let r=e;r<=a;r=r.plus({days:1}))t.push({date:r,isCurrentMonth:!0});const r=7-a.weekday,n=a.plus({days:1});for(let e=n;e<n.plus({days:r});e=e.plus({days:1}))t.push({date:e,isCurrentMonth:!1});this.weekDaysinMonth=t}handleRange(e,a){if(!this.singlePicker&&(null===this.endDate||""===this.endDate)&&(null===this.internalEndDate||""===this.internalEndDate)&&this.isFirstClick){const e=this.parseDateProp(this.startDate||this.host.getAttribute("start-date"),"start-date");null!==e&&(this.internalStartDate=e,this.startDateTime=s.fromISO(e),this.startDateIdentifier=this.startDateTime.toISODate(),this.isFirstClick=!1)}if(null!==this.startDateIdentifier&&""!==this.startDateIdentifier&&null!==this.endDateIdentifier&&""!==this.endDateIdentifier&&(()=>{this.internalStartDate=null,this.internalEndDate=null,this.startDateIdentifier=null,this.startDateTime=null,this.endDateIdentifier=null,this.endDateTime=null,this.isFirstClick=!0;const e=this.host;requestAnimationFrame((()=>{var a;null===(a=null==e?void 0:e.shadowRoot)||void 0===a||a.querySelectorAll("mds-calendar-cell[selection]").forEach((e=>{e.removeAttribute("selection"),e.removeAttribute("preview")}))}))})(),this.isFirstClick){this.startDateIdentifier=a.toISODate(),this.startDateTime=a,this.internalStartDate=this.startDateTime.toISO().split("T")[0],this.isFirstClick=!1;const t=this.host;return requestAnimationFrame((()=>{var e;null===(e=null==t?void 0:t.shadowRoot)||void 0===e||e.querySelectorAll("mds-calendar-cell[selection]").forEach((e=>{e.removeAttribute("selection")}))})),requestAnimationFrame((()=>{e.setAttribute("selection","single"),e.setAttribute("preview","true")})),void this.datesEmitter.emit({startDate:this.internalStartDate})}null!==this.startDateIdentifier&&""!==this.startDateIdentifier&&s.fromISO(this.startDateIdentifier)<s.fromISO(e.getAttribute("date"))?(this.endDateIdentifier=e.getAttribute("date"),this.endDateTime=a,this.internalEndDate=this.endDateTime.toISO().split("T")[0]):(this.endDateIdentifier=this.startDateIdentifier,this.endDateTime=this.startDateTime,this.internalEndDate=this.internalStartDate,this.startDateIdentifier=e.getAttribute("date"),this.startDateTime=a,this.internalStartDate=this.startDateTime.toISO().split("T")[0]),requestAnimationFrame((()=>this.setDates())),null!==this.internalStartDate&&""!==this.internalStartDate&&null!==this.internalEndDate&&""!==this.internalEndDate&&(this.datesEmitter.emit({startDate:this.internalStartDate,endDate:this.internalEndDate}),this.checkPreselectionsEmitter.emit())}handleSingleSelection(e,a){var t;const r=this.host;null===(t=null==r?void 0:r.shadowRoot)||void 0===t||t.querySelectorAll("mds-calendar-cell[selection]").forEach((e=>{e.removeAttribute("selection")})),this.startDateIdentifier=e.getAttribute("date"),this.startDateTime=a,this.internalStartDate=this.startDateTime.toISO().split("T")[0],this.isFirstClick=!1,e.setAttribute("selection","single"),null!==this.internalStartDate&&""!==this.internalStartDate&&this.datesEmitter.emit({startDate:this.internalStartDate})}isDateDisabled(e){return null!==this.min&&""!==this.min&&e<s.fromISO(this.min)||null!==this.max&&""!==this.max&&e>s.fromISO(this.max)||void 0}render(){return t(r,{key:"e130859b1f4bf2beb9804e7eb3f19a4e8993cef6"},t("div",{key:"c9a11a0b43304e2842b6877cb7c69a6a4559e38b",class:d("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},t("slot",{key:"5b1fc4244c8d2a251036dc7f56e9aa5a1f1a1da2",name:"preselection"})),t("div",{key:"7a6a8ffd5626ddda3549f2d88531e6dff432635c",class:"calendar-view"},t("nav",{key:"d360afb2a1ff492043fb609022a1c9e779f3dc94"},!this.hidePreviousButton&&t("mds-button",{key:"9b89126a52540a553fe76bffc0b5a26917a0b00f",class:"action-back",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.77 3.77L16 2L6 12l10 10l1.77-1.77L9.54 12z"/></svg>',variant:"dark",tone:"text",onClick:this.handlePrev}),t("div",{key:"832e15b3fcef6d4540330f08d10c46eb9cf1b7ea",class:"select-month-or-year"},("calendar"===this.currentView||"months"===this.currentView)&&t("mds-button",{key:"247d5f1bdb1fa520848ce4c08ed11d362d286f04",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),("calendar"===this.currentView||"years"===this.currentView)&&t("mds-button",{key:"70b0cbdaed0415ee9dfe5613149a242451f8590e",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&t("mds-button",{key:"082d14fb88582b71dca68809b23b7868363bfd50",class:"action-forward",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>',variant:"dark",tone:"text",onClick:this.handleNext})),"calendar"===this.currentView&&t("section",{key:"002b9daea4696f17256c0cf60f5f2debf4de2fe5",class:"month-view"},t("header",{key:"a7d8e40c33a1aab088c4a3d70e92505a0e85b609",class:"month-view__days-names"},this.weekdays.map((e=>t("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})))),t("div",{key:"3d7bbcfdcfc7a659f0f4d61dca1dc0db17eb1583",class:"month-view__cells"},this.weekDaysinMonth.map(((e,a)=>t("mds-calendar-cell",{key:a,today:!this.hideToday&&s.now().toFormat("yyyy-MM-dd")===e.date.toFormat("yyyy-MM-dd"),date:e.date.toFormat("yyyy-MM-dd"),month:e.isCurrentMonth?"current":"other",disabled:this.isDateDisabled(e.date),onClick:this.handleCellClick(e.date),title:e.date.setLocale(i.state.language).toFormat("cccc d LLLL").replace(/^./,(e=>e.toUpperCase())),label:e.date.toFormat("dd")}))))),"months"===this.currentView&&t("section",{key:"e3772bd173caee39aabd053bd24c173f8c5757a7",class:"month-selection"},t("header",{key:"d0c2a1a77a16dbb18f14f42fef201d15324e9121",class:"month-view__month-names"},Array.from({length:12}).map(((e,a)=>{const r=s.local().set({month:a+1}).setLocale(i.state.language).toFormat("MMMM");return t("mds-button",{class:"action",variant:"dark",tone:"text",label:r,onClick:this.handleMonthSelect(a+1)})})))),"years"===this.currentView&&t("section",{key:"733754e6357c42c446e94584d52ad6c9b390921f",class:"year-selection"},t("header",{key:"a0e8cd41fb73eddc962576cd950adfdd0a9b44fb",class:"month-view__years"},Array.from({length:12}).map(((e,a)=>{const r=this.selectedYear+a;return t("mds-button",{class:"action",variant:"dark",tone:"text",label:`${r}`,onClick:this.handleYearSelect(r)})}))))))}get host(){return n(this)}static get watchers(){return{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}]}}};c.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar-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-calendar-day-number-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--radius-lg,16px);--mds-calendar-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:14rem;--mds-calendar-max-width:480px;background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-calendar-border-radius,var(--radius-lg,16px));cursor:auto;display:inline-flex;inline-size:100%;max-width:var(--mds-calendar-max-width,480px);min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));border-radius:inherit;box-sizing:border-box;display:grid;flex:auto;width:100%}.calendar-preselection,.calendar-view{padding:var(--mds-calendar-padding,calc(var(--spacing,.0025rem)*400))}.calendar-preselection{display:none;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.calendar-preselection--has-preselection{display:grid}nav{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;min-width:0}.action{-ms-flex-pack:left;justify-content:left;min-width:min-content;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-back,.action-forward{flex-shrink:0}.select-month-or-year{align-items:stretch;background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:var(--mds-calendar-border-radius,var(--radius-lg,16px));box-sizing:border-box;display:flex;-ms-flex:0 0 var(--mds-calendar-select-month-or-year-width,14rem);flex:0 0 var(--mds-calendar-select-month-or-year-width,14rem);height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));inline-size:var(--mds-calendar-select-month-or-year-width,14rem);justify-content:flex-start;max-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-inline-size:var(--mds-calendar-select-month-or-year-width,14rem);min-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-inline-size:var(--mds-calendar-select-month-or-year-width,14rem);overflow:hidden}.action-month,.action-year{--mds-button-radius:0;align-self:stretch;block-size:100%;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-month{flex:auto;min-width:0}.action-year{flex:0 0 4.5rem}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{align-items:center;block-size:calc(var(--spacing,.0025rem)*1200);inline-size:100%;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7,minmax(1px,100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}";const o=class{constructor(a){e(this,a),this.month="current",this.orientation="horizontal",this.preview=!1,this.disabled=void 0,this.today=void 0}render(){return t(r,{key:"eea49336dfecb6f76ef93509fb42228417bac55a"},t("div",{key:"ea9d3de623b5e1edf19bba5cab930022e790f8f8",class:"inner-dot"}),t("div",{key:"f973bf80d0456cbb7151db3dfebc6f80f9afc5ff",class:"area-background"}),t("mds-button",{key:"755324a7827cc9be52f8500f079df1f6f8285bde",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))}};o.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-calendar-cell-background:#0000;--mds-calendar-cell-boundaries-background:#0000;--mds-calendar-cell-boundaries-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-calendar-cell-boundaries-padding:calc(var(--spacing,.0025rem)*100);--mds-calendar-cell-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-calendar-cell-other-month-background:#0000;--mds-calendar-cell-other-month-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-disabled-background:#0000;--mds-calendar-cell-disabled-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-weekend-background:#0000;--mds-calendar-cell-weekend-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-calendar-cell-size:calc(var(--spacing,.0025rem)*1200);--mds-calendar-cell-selection-boundaries-border-radius:var(--radius-full,1000px);--mds-calendar-cell-selection-week-boundaries-border-radius:var(--radius-full,1000px);--mds-calendar-cell-preselection-today-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-calendar-cell-preselection-today-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-calendar-cell-preselection-current-month-background:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))));--mds-calendar-cell-preselection-current-month-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-preselection-current-month-boundaries-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-preselection-current-month-boundaries-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--mds-calendar-cell-preselection-other-month-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-calendar-cell-preselection-other-month-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-preselection-other-month-boundaries-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-preselection-other-month-boundaries-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-calendar-cell-selection-current-month-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-calendar-cell-selection-current-month-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-calendar-cell-selection-current-month-boundaries-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-calendar-cell-selection-current-month-boundaries-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-calendar-cell-selection-current-month-weekend-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-calendar-cell-selection-current-month-weekend-color:rgb(var(--magma-accent-border,var(--magma-tint-accent-border,var(--variant-primary-06,148 172 218))));--mds-calendar-cell-selection-current-month-weekend-boundaries-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-calendar-cell-selection-current-month-weekend-boundaries-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-calendar-cell-selection-other-month-background:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))));--mds-calendar-cell-selection-other-month-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-calendar-cell-selection-other-month-boundaries-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--mds-calendar-cell-selection-other-month-boundaries-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--mds-calendar-cell-boundaries-padding,calc(var(--spacing,.0025rem)*100));position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--mds-calendar-cell-inner-background);border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--mds-calendar-cell-background,#0000);inset:0;position:absolute;z-index:0}.action,.area-background{color:var(--mds-calendar-cell-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}.action{align-items:center;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap)*-1);justify-content:center;min-height:0;min-width:0;padding:0;place-self:stretch stretch;position:absolute;width:auto;z-index:2}:host([selection][orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap)*-1);margin-right:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);border-top-left-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);border-top-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);margin-right:0}:host([selection][orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap)*-1);margin-top:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px) var(--mds-calendar-cell-selection-boundaries-border-radius,200px) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--mds-calendar-cell-selection-boundaries-border-radius,200px) var(--mds-calendar-cell-selection-boundaries-border-radius,200px);margin-bottom:0}:host([orientation=vertical]:not([selection=start],[selection=end])) .area-background{border-radius:0}:host(:nth-child(7n-6)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n-6)) .area-background{border-bottom-left-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,200px);border-top-left-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,200px)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,200px);border-top-right-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,200px)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);border-top-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px)}:host([selection][orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection][orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--mds-calendar-cell-color:var(--mds-calendar-cell-weekend-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));--mds-calendar-cell-background:var(--mds-calendar-cell-weekend-background,#0000)}:host([month=other]:not([selection])){--mds-calendar-cell-color:var(--mds-calendar-cell-other-month-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));--mds-calendar-cell-background:var(--mds-calendar-cell-other-month-background,#0000)}:host([disabled]){--mds-calendar-cell-color:var(--mds-calendar-cell-disabled-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));--mds-calendar-cell-background:var(--mds-calendar-cell-disabled-background,#0000);cursor:auto;pointer-events:none}:host(:not([selection])[today]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)))))}:host([selection][month=current]){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))))}:host([selection][month=current]:nth-child(7n)),:host([selection][month=current]:nth-child(7n-1)){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--magma-accent-border,var(--magma-tint-accent-border,var(--variant-primary-06,148 172 218)))))}:host([selection=end][month=current]:nth-child(7n)),:host([selection=end][month=current]:nth-child(7n-1)),:host([selection=start][month=current]:nth-child(7n)),:host([selection=start][month=current]:nth-child(7n-1)){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))))}:host([selection][month=other]){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))))}:host([selection=end][month=current]),:host([selection=start][month=current]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))))}:host([selection=end][month=other]),:host([selection=start][month=other]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection][month=current][preview]:not([preview=false])){--mds-calendar-cell-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection][month=other][preview]:not([preview=false])){--mds-calendar-cell-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection=single][month=current]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection=single][month=other]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}";export{c as mds_calendar,o as mds_calendar_cell}
1
+ import{r as e,d as a,h as t,e as r,g as n}from"./p-BxPbQB28.js";import{D as s}from"./p-BJtA1qmE.js";import{p as i}from"./p-7-TP6wnI.js";import{s as l}from"./p-CACEYk42.js";import{c as d}from"./p-ChV9xqsO.js";const c=class{constructor(t){e(this,t),this.datesEmitter=a(this,"mdsCalendarChange",7),this.navigationEmitter=a(this,"mdsCalendarNavigate",7),this.hoverEmitter=a(this,"mdsCalendarHover",7),this.checkPreselectionsEmitter=a(this,"mdsCalendarPreselect",7),this.hasPreselection=!1,this.currentDate=s.now(),this.weekDaysinMonth=[],this.weekdays=[],this.startDateIdentifier=null,this.endDateIdentifier=null,this.isFirstClick=!0,this.currentView="calendar",this.selectedYear=this.currentDate.year,this.singlePicker=!1,this.hidePreviousButton=!1,this.hideNextButton=!1,this.disableMonthYearSelection=!1,this.hidePreselection=!1,this.hideToday=!1,this.viewDate=null,this.hoverDate=null,this.startDate=null,this.endDate=null,this.min=null,this.max=null,this.internalStartDate=this.startDate,this.internalEndDate=this.endDate,this.internalHoverDate=null,this.currentMonth="",this.currentYear="",this.handleMouseOver=e=>{const a=e.target;if(!a.matches("mds-calendar-cell")||this.singlePicker||null===this.internalStartDate||""===this.internalStartDate||null!==this.internalEndDate&&""!==this.internalEndDate)return;const t=a.getAttribute("date");null!==t&&""!==t&&(t!==this.internalHoverDate&&(this.internalHoverDate=t,requestAnimationFrame((()=>this.setDates()))),this.hoverEmitter.emit({hoverDate:t}))},this.handleMouseLeave=()=>{const e=null!==this.internalHoverDate;this.internalHoverDate=null,this.singlePicker||null===this.internalStartDate||""===this.internalStartDate||null!==this.internalEndDate&&""!==this.internalEndDate||(e&&requestAnimationFrame((()=>this.setDates())),null!==this.hoverDate&&""!==this.hoverDate&&this.hoverEmitter.emit({hoverDate:null}))},this.handleMonthActionClick=e=>{e.stopPropagation(),this.disableMonthYearSelection?e.preventDefault():(this.currentView="months"===this.currentView?"calendar":"months",requestAnimationFrame((()=>{this.updateCalendar().then((()=>this.setDates()))})))},this.handleYearActionClick=e=>{e.stopPropagation(),this.disableMonthYearSelection?e.preventDefault():(this.currentView="years"===this.currentView?"calendar":"years",requestAnimationFrame((()=>{this.updateCalendar().then((()=>this.setDates()))})))},this.handlePrev=e=>{"calendar"===this.currentView?(e.stopPropagation(),this.changeMonth(-1)):"years"===this.currentView?(e.stopPropagation(),this.selectedYear-=10):e.stopPropagation()},this.handleNext=e=>{"calendar"===this.currentView?(e.stopPropagation(),this.changeMonth(1)):"years"===this.currentView?(e.stopPropagation(),this.selectedYear+=10):e.stopPropagation()},this.handleCellClick=e=>a=>{a.stopPropagation();const t=a.currentTarget;this.singlePicker?this.handleSingleSelection(t,e):this.handleRange(t,e)},this.handleMonthSelect=e=>a=>{a.stopPropagation(),this.currentDate=this.currentDate.set({month:e}),this.currentMonth=this.currentDate.toFormat("MMMM"),this.currentView="calendar",this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))},this.handleYearSelect=e=>a=>{a.stopPropagation(),this.currentDate=this.currentDate.set({year:e}),this.currentYear=e.toString(),this.currentView="calendar",this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))}}handleStartDate(e){const a=this.parseDateProp(e,"start-date");if(null!==a){if(this.internalStartDate=a,this.startDateTime=s.fromISO(a),this.startDateIdentifier=this.startDateTime.toISODate(),null!==this.internalEndDate&&""!==this.internalEndDate){const e=s.fromISO(this.internalEndDate);if(this.startDateTime>e)return void console.warn("startDate is after endDate, swapping values")}else this.singlePicker||(this.isFirstClick=!1);this.updateDates()}else this.internalStartDate=null,this.startDateIdentifier=null,this.startDateTime=null,this.isFirstClick=!0,this.updateDates()}handleEndDate(e){if(this.singlePicker)return console.warn("singlePicker is enabled, endDate cannot be set"),void(this.internalEndDate=null);const a=this.parseDateProp(e,"end-date");if(null!==a){if(this.internalEndDate=a,this.endDateTime=s.fromISO(a),this.endDateIdentifier=this.endDateTime.toISODate(),null!==this.internalStartDate&&""!==this.internalStartDate&&s.fromISO(this.internalStartDate)>this.endDateTime)return void console.warn("startDate is after endDate, swapping values");this.updateDates()}else this.internalEndDate=null,this.endDateIdentifier=null,this.endDateTime=null,this.updateDates()}handleViewDate(e){if(null!==e&&""!==e){const a=s.fromISO(e.toString());a.isValid&&(this.currentDate=a,this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))})))}}handleHoverDate(){requestAnimationFrame((()=>this.setDates()))}parseDateProp(e,a){if(null===e||""===e)return null;const t=l(e.toString());return null!==t&&s.fromISO(t).isValid?t:(console.warn(`mds-calendar: ignoring the invalid ${a} "${e}"`),null)}componentWillLoad(){if(this.internalStartDate=this.parseDateProp(this.internalStartDate,"start-date"),this.internalEndDate=this.parseDateProp(this.internalEndDate,"end-date"),this.singlePicker&&null!==this.internalEndDate&&(console.warn("singlePicker is enabled, endDate cannot be set"),this.internalEndDate=null),null!==this.viewDate&&""!==this.viewDate){const e=s.fromISO(this.viewDate.toString());e.isValid&&(this.currentDate=e)}else null!==this.internalStartDate&&(this.startDateTime=s.fromISO(this.internalStartDate),this.currentDate=this.startDateTime);null!==this.internalEndDate&&(this.endDateTime=s.fromISO(this.internalEndDate)),this.updateCalendar()}componentDidLoad(){var e,a,t,r;this.hasPreselection=null!==(null===(e=this.host)||void 0===e?void 0:e.querySelector(".date-preselection--has-preselection")),null===(t=null===(a=this.host)||void 0===a?void 0:a.shadowRoot)||void 0===t||t.addEventListener("mouseover",this.handleMouseOver),null===(r=this.host)||void 0===r||r.addEventListener("mouseleave",this.handleMouseLeave),this.setDates()}disconnectedCallback(){var e,a,t;null===(a=null===(e=this.host)||void 0===e?void 0:e.shadowRoot)||void 0===a||a.removeEventListener("mouseover",this.handleMouseOver),null===(t=this.host)||void 0===t||t.removeEventListener("mouseleave",this.handleMouseLeave)}async updateCurrentDate(e){return this.currentDate=s.fromISO(e),await this.updateCalendar(),await new Promise((e=>{requestAnimationFrame((()=>{this.setDates(),e()}))})),Promise.resolve()}resolveHoverDate(){return null!==this.hoverDate&&""!==this.hoverDate?this.hoverDate:this.internalHoverDate}updateDates(){this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))}))}async updateCalendar(){try{const e=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map(((a,t)=>e.setLocale(i.state.language).plus({days:t}).toFormat("ccc"))),this.calculateWeekDaysInMonth(),this.currentMonth=this.currentDate.setLocale(i.state.language).toFormat("MMMM"),this.currentMonthNumber=this.currentDate.month,this.currentYear=this.currentDate.toFormat("yyyy")}catch(e){console.error("Error while updating the calendar:",e)}}setDates(){const e=this.host;if(null==e)return;const{shadowRoot:a}=e;if(!a)return;const t=a.querySelectorAll("mds-calendar-cell[selection], mds-calendar-cell[preview]");if(this.singlePicker)this.setSingleSelection(t,a);else{const e=this.resolveHoverDate();null===e||null!==this.internalEndDate&&""!==this.internalEndDate?this.setRangeSelection(t,a):this.setHoverSelection(t,a,e)}}clearSelectionState(e){e.forEach((e=>{e.removeAttribute("selection"),e.removeAttribute("preview")}))}setRangeSelection(e,a){if(this.clearSelectionState(e),null===this.internalStartDate||""===this.internalStartDate)return;if(this.startDateTime=s.fromISO(this.internalStartDate.toString()),null===this.internalEndDate||""===this.internalEndDate)return this.startDateIdentifier=this.startDateTime.toISODate(),this.isFirstClick=!1,void a.querySelectorAll("mds-calendar-cell").forEach((e=>{e.getAttribute("date")===this.startDateTime.toFormat("yyyy-MM-dd")&&(e.setAttribute("selection","single"),e.setAttribute("preview","true"))}));this.endDateTime=s.fromISO(this.internalEndDate.toString()),this.startDateIdentifier=this.startDateTime.toISODate(),this.endDateIdentifier=this.endDateTime.toISODate();const t=a.querySelectorAll("mds-calendar-cell");if(null!=t){let e;for(let a=0;a<t.length;a++){const r=t[a].getAttribute("date");if(null!==r&&""!==r){const n=s.fromISO(r);n.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")&&t[a].setAttribute("selection","start"),n.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")&&(this.startDateTime.equals(this.endDateTime)?t[a].setAttribute("selection","single"):t[a].setAttribute("selection","end")),e=n>this.startDateTime&&n<this.endDateTime,e&&t[a].setAttribute("selection","middle")}}}}setHoverSelection(e,a,t){if(this.clearSelectionState(e),null===this.internalStartDate||""===this.internalStartDate)return void this.setRangeSelection(e,a);const r=s.fromISO(this.internalStartDate),n=s.fromISO(t);if(!r.isValid||!n.isValid)return void this.setRangeSelection(e,a);const i=r<=n;Array.from(a.querySelectorAll("mds-calendar-cell")).forEach((e=>{const a=e.getAttribute("date");if(null===a||""===a)return;const t=s.fromISO(a);if(!t.isValid)return;if(!(i?t>=r&&t<=n:t>=n&&t<=r))return;e.setAttribute("preview","true");let l="middle";r.equals(n)&&t.equals(r)?l="single":t.equals(r)?l=i?"start":"end":t.equals(n)&&(l=i?"end":"start"),e.setAttribute("selection",l)}))}setSingleSelection(e,a){if(this.clearSelectionState(e),null===this.internalStartDate||""===this.internalStartDate)return;this.startDateTime=s.fromISO(this.internalStartDate.toString());const t=a.querySelectorAll("mds-calendar-cell");if(null!=t)for(let e=0;e<t.length;e++){const a=t[e].getAttribute("date");null!==a&&""!==a&&s.fromISO(a).toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")&&t[e].setAttribute("selection","single")}}changeMonth(e){this.currentDate=this.currentDate.plus({months:e}),this.updateCalendar().then((()=>{requestAnimationFrame((()=>this.setDates()))})),this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:e})}calculateWeekDaysInMonth(){const e=this.currentDate.startOf("month"),a=this.currentDate.endOf("month"),t=[];for(let a=e.minus({days:e.weekday-1});a<e;a=a.plus({days:1}))t.push({date:a,isCurrentMonth:!1});for(let r=e;r<=a;r=r.plus({days:1}))t.push({date:r,isCurrentMonth:!0});const r=7-a.weekday,n=a.plus({days:1});for(let e=n;e<n.plus({days:r});e=e.plus({days:1}))t.push({date:e,isCurrentMonth:!1});this.weekDaysinMonth=t}handleRange(e,a){if(!this.singlePicker&&(null===this.endDate||""===this.endDate)&&(null===this.internalEndDate||""===this.internalEndDate)&&this.isFirstClick){const e=this.parseDateProp(this.startDate||this.host.getAttribute("start-date"),"start-date");null!==e&&(this.internalStartDate=e,this.startDateTime=s.fromISO(e),this.startDateIdentifier=this.startDateTime.toISODate(),this.isFirstClick=!1)}if(null!==this.startDateIdentifier&&""!==this.startDateIdentifier&&null!==this.endDateIdentifier&&""!==this.endDateIdentifier&&(()=>{this.internalStartDate=null,this.internalEndDate=null,this.startDateIdentifier=null,this.startDateTime=null,this.endDateIdentifier=null,this.endDateTime=null,this.isFirstClick=!0;const e=this.host;requestAnimationFrame((()=>{var a;null===(a=null==e?void 0:e.shadowRoot)||void 0===a||a.querySelectorAll("mds-calendar-cell[selection]").forEach((e=>{e.removeAttribute("selection"),e.removeAttribute("preview")}))}))})(),this.isFirstClick){this.startDateIdentifier=a.toISODate(),this.startDateTime=a,this.internalStartDate=this.startDateTime.toISO().split("T")[0],this.isFirstClick=!1;const t=this.host;return requestAnimationFrame((()=>{var e;null===(e=null==t?void 0:t.shadowRoot)||void 0===e||e.querySelectorAll("mds-calendar-cell[selection]").forEach((e=>{e.removeAttribute("selection")}))})),requestAnimationFrame((()=>{e.setAttribute("selection","single"),e.setAttribute("preview","true")})),void this.datesEmitter.emit({startDate:this.internalStartDate})}null!==this.startDateIdentifier&&""!==this.startDateIdentifier&&s.fromISO(this.startDateIdentifier)<s.fromISO(e.getAttribute("date"))?(this.endDateIdentifier=e.getAttribute("date"),this.endDateTime=a,this.internalEndDate=this.endDateTime.toISO().split("T")[0]):(this.endDateIdentifier=this.startDateIdentifier,this.endDateTime=this.startDateTime,this.internalEndDate=this.internalStartDate,this.startDateIdentifier=e.getAttribute("date"),this.startDateTime=a,this.internalStartDate=this.startDateTime.toISO().split("T")[0]),requestAnimationFrame((()=>this.setDates())),null!==this.internalStartDate&&""!==this.internalStartDate&&null!==this.internalEndDate&&""!==this.internalEndDate&&(this.datesEmitter.emit({startDate:this.internalStartDate,endDate:this.internalEndDate}),this.checkPreselectionsEmitter.emit())}handleSingleSelection(e,a){var t;const r=this.host;null===(t=null==r?void 0:r.shadowRoot)||void 0===t||t.querySelectorAll("mds-calendar-cell[selection]").forEach((e=>{e.removeAttribute("selection")})),this.startDateIdentifier=e.getAttribute("date"),this.startDateTime=a,this.internalStartDate=this.startDateTime.toISO().split("T")[0],this.isFirstClick=!1,e.setAttribute("selection","single"),null!==this.internalStartDate&&""!==this.internalStartDate&&this.datesEmitter.emit({startDate:this.internalStartDate})}isDateDisabled(e){return null!==this.min&&""!==this.min&&e<s.fromISO(this.min)||null!==this.max&&""!==this.max&&e>s.fromISO(this.max)||void 0}render(){return t(r,{key:"0e1b73688c5c431dd309205bdb10532b1333e838"},t("div",{key:"c90c9c6d8edfd9222d9967f22e18846c1a99b2bb",class:d("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},t("slot",{key:"4991c7e1a3bd0412760d4d23978052895db706e5",name:"preselection"})),t("div",{key:"cfc6119113ee8915f52022cc77a3dc3a5a6c4f58",class:"calendar-view"},t("nav",{key:"5299d5c3e02ba9dbece40cda041bed3ee0512916"},!this.hidePreviousButton&&t("mds-button",{key:"ba19e6908d23d40121420846dd5d88c6f169b919",class:"action-back",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.77 3.77L16 2L6 12l10 10l1.77-1.77L9.54 12z"/></svg>',variant:"dark",tone:"text",onClick:this.handlePrev}),t("div",{key:"195ee2766a159a61e1e84758c47f5fe9d283fd56",class:"select-month-or-year"},("calendar"===this.currentView||"months"===this.currentView)&&t("mds-button",{key:"6bab8d2f45c2ca99e2136e2ed18b0e70f06dfb49",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),("calendar"===this.currentView||"years"===this.currentView)&&t("mds-button",{key:"29e01349237df24148eb1c963db8824757267bd5",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&t("mds-button",{key:"2bd92f2706f829fa547c2b4534b942c7d6bfe411",class:"action-forward",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>',variant:"dark",tone:"text",onClick:this.handleNext})),"calendar"===this.currentView&&t("section",{key:"f532e9ffca64af0e755c4eccda7811eeeaa94606",class:"month-view"},t("header",{key:"d3ef7e069ba07fb4cb7e12a5df522cd16f97b545",class:"month-view__days-names"},this.weekdays.map((e=>t("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})))),t("div",{key:"c364906ed8deb299b39382f98df52135f5b0fd38",class:"month-view__cells"},this.weekDaysinMonth.map(((e,a)=>t("mds-calendar-cell",{key:a,today:!this.hideToday&&s.now().toFormat("yyyy-MM-dd")===e.date.toFormat("yyyy-MM-dd"),date:e.date.toFormat("yyyy-MM-dd"),month:e.isCurrentMonth?"current":"other",disabled:this.isDateDisabled(e.date),onClick:this.handleCellClick(e.date),title:e.date.setLocale(i.state.language).toFormat("cccc d LLLL").replace(/^./,(e=>e.toUpperCase())),label:e.date.toFormat("dd")}))))),"months"===this.currentView&&t("section",{key:"38810ce12897e53aa661e0c48f68cb8072854123",class:"month-selection"},t("header",{key:"d840009228adbabaae94116c8a01fde42637b9d6",class:"month-view__month-names"},Array.from({length:12}).map(((e,a)=>{const r=s.local().set({month:a+1}).setLocale(i.state.language).toFormat("MMMM");return t("mds-button",{class:"action",variant:"dark",tone:"text",label:r,onClick:this.handleMonthSelect(a+1)})})))),"years"===this.currentView&&t("section",{key:"7732d814d09d1d8b1e0e18dc98477ad036d20537",class:"year-selection"},t("header",{key:"c813ff8735b908398ed6398bc99633c290d2edb6",class:"month-view__years"},Array.from({length:12}).map(((e,a)=>{const r=this.selectedYear+a;return t("mds-button",{class:"action",variant:"dark",tone:"text",label:`${r}`,onClick:this.handleYearSelect(r)})}))))))}get host(){return n(this)}static get watchers(){return{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}]}}};c.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar-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-calendar-day-number-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--radius-lg,16px);--mds-calendar-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:14rem;--mds-calendar-max-width:480px;background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-calendar-border-radius,var(--radius-lg,16px));cursor:auto;display:inline-flex;inline-size:100%;max-width:var(--mds-calendar-max-width,480px);min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));border-radius:inherit;box-sizing:border-box;display:grid;flex:auto;width:100%}.calendar-preselection,.calendar-view{padding:var(--mds-calendar-padding,calc(var(--spacing,.0025rem)*400))}.calendar-preselection{display:none;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.calendar-preselection--has-preselection{display:grid}nav{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;min-width:0}.action{-ms-flex-pack:left;justify-content:left;min-width:min-content;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-back,.action-forward{flex-shrink:0}.select-month-or-year{align-items:stretch;background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:var(--mds-calendar-border-radius,var(--radius-lg,16px));box-sizing:border-box;display:flex;-ms-flex:0 0 var(--mds-calendar-select-month-or-year-width,14rem);flex:0 0 var(--mds-calendar-select-month-or-year-width,14rem);height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));inline-size:var(--mds-calendar-select-month-or-year-width,14rem);justify-content:flex-start;max-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-inline-size:var(--mds-calendar-select-month-or-year-width,14rem);min-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-inline-size:var(--mds-calendar-select-month-or-year-width,14rem);overflow:hidden}.action-month,.action-year{--mds-button-radius:0;align-self:stretch;block-size:100%;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-month{flex:auto;min-width:0}.action-year{flex:0 0 4.5rem}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{align-items:center;block-size:calc(var(--spacing,.0025rem)*1200);inline-size:100%;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7,minmax(1px,100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}";const o=class{constructor(a){e(this,a),this.month="current",this.orientation="horizontal",this.preview=!1,this.disabled=void 0,this.today=void 0}render(){return t(r,{key:"12b007d92609ffed0e0a51ee2232475130f40dde"},t("div",{key:"0faa7516774e96b79d677c94b0d2d49837ce8c30",class:"inner-dot"}),t("div",{key:"3007ffc396b7f6a6d1ca79c7fbf1cf50ae601044",class:"area-background"}),t("mds-button",{key:"153be126aab6e325130d3fc62c2243baf7aee7cb",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))}};o.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-calendar-cell-background:#0000;--mds-calendar-cell-boundaries-background:#0000;--mds-calendar-cell-boundaries-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-calendar-cell-boundaries-padding:calc(var(--spacing,.0025rem)*100);--mds-calendar-cell-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-calendar-cell-other-month-background:#0000;--mds-calendar-cell-other-month-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-disabled-background:#0000;--mds-calendar-cell-disabled-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-weekend-background:#0000;--mds-calendar-cell-weekend-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-calendar-cell-size:calc(var(--spacing,.0025rem)*1200);--mds-calendar-cell-selection-boundaries-border-radius:var(--radius-full,1000px);--mds-calendar-cell-selection-week-boundaries-border-radius:var(--radius-full,1000px);--mds-calendar-cell-preselection-today-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-calendar-cell-preselection-today-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-calendar-cell-preselection-current-month-background:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))));--mds-calendar-cell-preselection-current-month-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-preselection-current-month-boundaries-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-preselection-current-month-boundaries-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--mds-calendar-cell-preselection-other-month-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-calendar-cell-preselection-other-month-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-preselection-other-month-boundaries-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-preselection-other-month-boundaries-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-calendar-cell-selection-current-month-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-calendar-cell-selection-current-month-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-calendar-cell-selection-current-month-boundaries-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-calendar-cell-selection-current-month-boundaries-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-calendar-cell-selection-current-month-weekend-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-calendar-cell-selection-current-month-weekend-color:rgb(var(--magma-accent-border,var(--magma-tint-accent-border,var(--variant-primary-06,148 172 218))));--mds-calendar-cell-selection-current-month-weekend-boundaries-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-calendar-cell-selection-current-month-weekend-boundaries-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-calendar-cell-selection-other-month-background:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))));--mds-calendar-cell-selection-other-month-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-calendar-cell-selection-other-month-boundaries-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--mds-calendar-cell-selection-other-month-boundaries-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--mds-calendar-cell-boundaries-padding,calc(var(--spacing,.0025rem)*100));position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--mds-calendar-cell-inner-background);border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--mds-calendar-cell-background,#0000);inset:0;position:absolute;z-index:0}.action,.area-background{color:var(--mds-calendar-cell-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}.action{align-items:center;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap)*-1);justify-content:center;min-height:0;min-width:0;padding:0;place-self:stretch stretch;position:absolute;width:auto;z-index:2}:host([selection][orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap)*-1);margin-right:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);border-top-left-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);border-top-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);margin-right:0}:host([selection][orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap)*-1);margin-top:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px) var(--mds-calendar-cell-selection-boundaries-border-radius,200px) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--mds-calendar-cell-selection-boundaries-border-radius,200px) var(--mds-calendar-cell-selection-boundaries-border-radius,200px);margin-bottom:0}:host([orientation=vertical]:not([selection=start],[selection=end])) .area-background{border-radius:0}:host(:nth-child(7n-6)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n-6)) .area-background{border-bottom-left-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,200px);border-top-left-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,200px)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,200px);border-top-right-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,200px)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);border-top-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px)}:host([selection][orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection][orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--mds-calendar-cell-color:var(--mds-calendar-cell-weekend-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));--mds-calendar-cell-background:var(--mds-calendar-cell-weekend-background,#0000)}:host([month=other]:not([selection])){--mds-calendar-cell-color:var(--mds-calendar-cell-other-month-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));--mds-calendar-cell-background:var(--mds-calendar-cell-other-month-background,#0000)}:host([disabled]){--mds-calendar-cell-color:var(--mds-calendar-cell-disabled-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));--mds-calendar-cell-background:var(--mds-calendar-cell-disabled-background,#0000);cursor:auto;pointer-events:none}:host(:not([selection])[today]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)))))}:host([selection][month=current]){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))))}:host([selection][month=current]:nth-child(7n)),:host([selection][month=current]:nth-child(7n-1)){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--magma-accent-border,var(--magma-tint-accent-border,var(--variant-primary-06,148 172 218)))))}:host([selection=end][month=current]:nth-child(7n)),:host([selection=end][month=current]:nth-child(7n-1)),:host([selection=start][month=current]:nth-child(7n)),:host([selection=start][month=current]:nth-child(7n-1)){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))))}:host([selection][month=other]){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))))}:host([selection=end][month=current]),:host([selection=start][month=current]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))))}:host([selection=end][month=other]),:host([selection=start][month=other]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection][month=current][preview]:not([preview=false])){--mds-calendar-cell-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection][month=other][preview]:not([preview=false])){--mds-calendar-cell-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection=single][month=current]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection=single][month=other]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}";export{c as mds_calendar,o as mds_calendar_cell}
@@ -1 +1 @@
1
- System.register(["./p-DaONbL_w.system.js"],(function(e){"use strict";var t,i,r;return{setters:[function(e){t=e.r;i=e.h;r=e.e}],execute:function(){var a=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*600)}"};var n=e("mds_price_table",/** @class */function(){function e(e){t(this,e)}e.prototype.render=function(){return i(r,{key:"e4da51ef603eedd6790e360ded6fba0bef194887"},i("slot",{key:"5e97c1ecdbfe5a322283f41a9b65af0179be8559"}))};return e}());n.style=a()}}}));
1
+ System.register(["./p-DaONbL_w.system.js"],(function(t){"use strict";var e,i,r;return{setters:[function(t){e=t.r;i=t.h;r=t.e}],execute:function(){var a=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*600)}"};var n=t("mds_price_table",/** @class */function(){function t(t){e(this,t)}t.prototype.render=function(){return i(r,{key:"caf66d039cf01848537a794bef732c49ec866bdb"},i("slot",{key:"71787a906bc949b35c67798212e58af9456d1fbf"}))};return t}());n.style=a()}}}));
@@ -1 +1 @@
1
- import{r as e,d as t,h as r,e as i,g as o}from"./p-BxPbQB28.js";import{c as a}from"./p-ChV9xqsO.js";import{h as n}from"./p-C0o_l0td.js";import{L as s}from"./p-Kv1yahtR.js";import{c as d}from"./p-D8eZRaSQ.js";import"./p-7-TP6wnI.js";var l={expand:"Ανάπτυξη {{ label }}",collapse:"Σύμπτυξη {{ label }}"},c={expand:"Expand {{ label }}",collapse:"Collapse {{ label }}"},g={expand:"Expandir {{ label }}",collapse:"Contraer {{ label }}"},m={expand:"Espandi {{ label }}",collapse:"Contrai {{ label }}"};const h=class{constructor(r){e(this,r),this.expandEvent=t(this,"mdsTreeItemExpand",7),this.collapsedEvent=t(this,"mdsTreeItemCollapse",7),this.hasActions=!1,this.hasChildren=!1,this.t=new s({el:l,en:c,es:g,it:m}),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=n(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})}),d(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=n(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 r(i,{key:"e6f256c709670ec9cd953c7ccc469fe15ca3d3e8","resolved-actions":this.resolvedActions},r("div",{key:"be025bfd97ee825c1431989d6d88fc9179ab03d6",class:a("header",this.hasChildren&&"header--has-children")},r("div",{key:"a7d459dcd4fda2fba14970d22e28e7c0c91356ab",class:"tree-node"},r("div",{key:"4e392fb0c290e2eb3861168f9882cb69b0750a46",class:"tree-branch"}),r("div",{key:"3df9d783ec1ee7382a5fee4aa66d71ea9cb392e4",class:"tree-dot"})),r("div",{key:"af17e938adaf55c867bc8b4a69ed450757e686b7",class:"toggle-icon"},r("mds-button",{key:"9a059398b2e38e76ea9f23f261bd2a751ff31326",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"})),r("div",{key:"842115d7db84e978dc2f82287b951512b271d2bb",class:"title"},r("mds-button",{key:"b322e22a94fd124d590d9cead9bd6d8d1294b34c",class:a("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}),r("div",{key:"8ca097f506bdda583a4b531022514cd496510035",class:a("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},r("div",{key:"48f97b10444f3faa7e7e020ef392d19d235aebfb",class:"actions",part:"actions-list"},r("slot",{key:"7a344b2703c3deb1b1b8a0653c98c6c491b28d4b",name:"action",onSlotchange:this.onActionSlotChange}))))),r("div",{key:"6466fe0fc85b9bf44b2d7da4994bd607331fcf0f",class:a("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded")},r("slot",{key:"6ef2da80efbb0669d431b19fcf919da570e3c221"})))}get host(){return o(this)}static get watchers(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}}};h.style='@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)}';export{h as mds_tree_item}
1
+ import{r as e,d as t,h as r,e as i,g as o}from"./p-BxPbQB28.js";import{c as a}from"./p-ChV9xqsO.js";import{h as n}from"./p-C0o_l0td.js";import{L as s}from"./p-Kv1yahtR.js";import{c as d}from"./p-D8eZRaSQ.js";import"./p-7-TP6wnI.js";var l={expand:"Ανάπτυξη {{ label }}",collapse:"Σύμπτυξη {{ label }}"},c={expand:"Expand {{ label }}",collapse:"Collapse {{ label }}"},g={expand:"Expandir {{ label }}",collapse:"Contraer {{ label }}"},m={expand:"Espandi {{ label }}",collapse:"Contrai {{ label }}"};const h=class{constructor(r){e(this,r),this.expandEvent=t(this,"mdsTreeItemExpand",7),this.collapsedEvent=t(this,"mdsTreeItemCollapse",7),this.hasActions=!1,this.hasChildren=!1,this.t=new s({el:l,en:c,es:g,it:m}),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=n(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})}),d(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=n(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 r(i,{key:"c492eae01432eccf6db389a411828c41c4e5b617","resolved-actions":this.resolvedActions},r("div",{key:"e1c6e1444188aecc1121b4320524fcdfe8c01fc8",class:a("header",this.hasChildren&&"header--has-children")},r("div",{key:"01fc9e13817f3066538352a96923b9f32df30b83",class:"tree-node"},r("div",{key:"9f5c3c743112a1deac8f427720b567bdb52dcd9c",class:"tree-branch"}),r("div",{key:"b4e5124438fddaf903852b473ed150eb7a1f557a",class:"tree-dot"})),r("div",{key:"cf33e2eebeebc07ada3010bf090ef0b28c95bb25",class:"toggle-icon"},r("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"})),r("div",{key:"069373193cdb746766238011e9c7703ebdf5e2a2",class:"title"},r("mds-button",{key:"fafece4aafad4443669ae50cdc81e951c83c3300",class:a("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}),r("div",{key:"d285800720401b130c9264604ec263f8db3a0664",class:a("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},r("div",{key:"cb3eb7c5955d1368225eebd60551f8955d7b9235",class:"actions",part:"actions-list"},r("slot",{key:"f64107d9d9fd87881657665d4604ee12f9ad3250",name:"action",onSlotchange:this.onActionSlotChange}))))),r("div",{key:"df2d3d4750310be51fe225c0ca8ed5897dfff283",class:a("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded")},r("slot",{key:"7c12146a94b60e43383ba0208c0bc64ccbf9304d"})))}get host(){return o(this)}static get watchers(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}}};h.style='@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)}';export{h as mds_tree_item}
@@ -1 +1 @@
1
- import{r as t,h as i,e as a,g as n}from"./p-BxPbQB28.js";import{p as o}from"./p-7-TP6wnI.js";import{o as s,s as r,c as e,d}from"./p-CHAGzQT-.js";const c=class{constructor(i){t(this,i),this.value=0,this.dismissed=!1,this.strategy="fixed",this.placement="right-start",this.updatePosition=()=>{const t=new Array,i="disabled"===this.strategy?"absolute":"fixed";t.push(s(0)),t.push(r({padding:0})),e(this.caller,this.host,{middleware:t,placement:this.placement,strategy:i}).then((({x:t,y:i})=>{Object.assign(this.host.style,{left:`${t}px`,top:`${i}px`})}))},this.clean=t=>{var i;if(0===(null!=t?t:0)||isNaN(t))return"";const a=null!==(i=this.max)&&void 0!==i?i:0;return 0!==a&&!Number.isNaN(a)&&t>a?`+${Number(a).toLocaleString()}`:Number(t).toLocaleString()}}componentDidRender(){var t;if(""===(null!==(t=this.target)&&void 0!==t?t:""))return void(this.strategy="disabled");const i=document.querySelector(this.target);if(null==i)return console.warn(`mds-notification: no valid target found: ${this.target}`),void(this.strategy="disabled");this.caller=i}componentDidLoad(){var t;"disabled"!==this.strategy&&""!==(null!==(t=this.target)&&void 0!==t?t:"")&&null==this.cleanupAutoUpdate&&setTimeout((()=>{this.cleanupAutoUpdate=d(this.caller,this.host,this.updatePosition)}),100)}disconnectedCallback(){this.cleanupAutoUpdate=()=>{}}strategyHandler(t){"disabled"===t&&(this.cleanupAutoUpdate=()=>{})}render(){var t;return i(a,{key:"7ccd6942aef0bc72b1da02625dd1eff455998ef5","aria-labelledby":this.target,"aria-label":null!==(t=this.value)&&void 0!==t?t:"0","pref-animation":o.state.animation},i("mds-text",{key:"8f4283fa8d54781cd37040427fd1c0dc2ee11348",typography:"caption",class:"dot","aria-hidden":"true"},this.clean(this.value)))}get host(){return n(this)}static get watchers(){return{strategy:[{strategyHandler:0}]}}};c.style='@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-notification-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-notification-dot-padding:6px;--mds-notification-min-width:var(--mds-notification-size,20px);--mds-notification-ring-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-notification-ring-size:2px;--mds-notification-size:20px;--mds-notification-transition-duration:.2s;--private-notification-transition-duration:var(--mds-notification-transition-duration,.2s);--mds-notification-dot-transition-duration:var(--duration-300,.3s);--private-notification-dot-transition-duration:var(--mds-notification-dot-transition-duration);--mds-notification-transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)));align-items:center;border-radius:var(--radius-full,1000px);bottom:100%;color:var(--mds-notification-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));display:inline-flex;height:var(--mds-notification-size,20px);justify-content:flex-end;min-width:max-content;pointer-events:none;width:var(--mds-notification-size,20px);z-index:10}:host([strategy=absolute]),:host([strategy=fixed]){opacity:0;right:100%;-webkit-transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);-webkit-transform-origin:calc(100% - var(--mds-notification-size,20px)/2) 50%;transform-origin:calc(100% - var(--mds-notification-size,20px)/2) 50%;-webkit-transition-duration:var(--private-notification-transition-duration);transition-duration:var(--private-notification-transition-duration);transition-property:color,height,opacity,transform,width;-webkit-transition-timing-function:var(--mds-notification-transition-timing-function);transition-timing-function:var(--mds-notification-transition-timing-function)}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}.dot{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))));border-radius:var(--radius-full,1000px);-webkit-box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));box-sizing:border-box;display:inline-flex;justify-content:center;line-height:var(--mds-notification-size,20px);min-height:var(--mds-notification-size,20px);min-width:var(--mds-notification-min-width,20px);padding-left:var(--mds-notification-dot-padding,6px);padding-right:var(--mds-notification-dot-padding,6px);position:static;-webkit-transition-duration:var(--private-notification-dot-transition-duration);transition-duration:var(--private-notification-dot-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));white-space:nowrap}:host([strategy=absolute]) .dot,:host([strategy=fixed]) .dot{position:absolute}.spacer{box-sizing:border-box;display:inline-flex;height:var(--mds-notification-size,20px);width:var(--mds-notification-min-width,20px)}:host([dismissed]:not([dismissed=false])[strategy=absolute]),:host([dismissed]:not([dismissed=false])[strategy=fixed]){--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));opacity:1;-webkit-transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}:host([strategy=absolute]:not([dismissed])),:host([strategy=absolute][dismissed=false]),:host([strategy=fixed]:not([dismissed])),:host([strategy=fixed][dismissed=false]){--tw-ease:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));opacity:1;-webkit-transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(1);transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(1);transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}:host(:not([target])),:host([strategy=disabled]){opacity:1;position:static;transform:scale(1);-webkit-transform-origin:unset;transform-origin:unset;transition-duration:0s}:host(:not([target])) .dot,:host([strategy=disabled]) .dot{position:static}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}}';export{c as mds_notification}
1
+ import{r as t,h as i,e as a,g as n}from"./p-BxPbQB28.js";import{p as o}from"./p-7-TP6wnI.js";import{o as s,s as r,c as e,d}from"./p-CHAGzQT-.js";const m=class{constructor(i){t(this,i),this.value=0,this.dismissed=!1,this.strategy="fixed",this.placement="right-start",this.updatePosition=()=>{const t=new Array,i="disabled"===this.strategy?"absolute":"fixed";t.push(s(0)),t.push(r({padding:0})),e(this.caller,this.host,{middleware:t,placement:this.placement,strategy:i}).then((({x:t,y:i})=>{Object.assign(this.host.style,{left:`${t}px`,top:`${i}px`})}))},this.clean=t=>{var i;if(0===(null!=t?t:0)||isNaN(t))return"";const a=null!==(i=this.max)&&void 0!==i?i:0;return 0!==a&&!Number.isNaN(a)&&t>a?`+${Number(a).toLocaleString()}`:Number(t).toLocaleString()}}componentDidRender(){var t;if(""===(null!==(t=this.target)&&void 0!==t?t:""))return void(this.strategy="disabled");const i=document.querySelector(this.target);if(null==i)return console.warn(`mds-notification: no valid target found: ${this.target}`),void(this.strategy="disabled");this.caller=i}componentDidLoad(){var t;"disabled"!==this.strategy&&""!==(null!==(t=this.target)&&void 0!==t?t:"")&&null==this.cleanupAutoUpdate&&setTimeout((()=>{this.cleanupAutoUpdate=d(this.caller,this.host,this.updatePosition)}),100)}disconnectedCallback(){this.cleanupAutoUpdate=()=>{}}strategyHandler(t){"disabled"===t&&(this.cleanupAutoUpdate=()=>{})}render(){var t;return i(a,{key:"6f20481d7094ef6e9106748cc899e057279c7aee","aria-labelledby":this.target,"aria-label":null!==(t=this.value)&&void 0!==t?t:"0","pref-animation":o.state.animation},i("mds-text",{key:"a8483047d880b3520fb6b99952ad574f5326ee52",typography:"caption",class:"dot","aria-hidden":"true"},this.clean(this.value)))}get host(){return n(this)}static get watchers(){return{strategy:[{strategyHandler:0}]}}};m.style='@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-notification-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-notification-dot-padding:6px;--mds-notification-min-width:var(--mds-notification-size,20px);--mds-notification-ring-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-notification-ring-size:2px;--mds-notification-size:20px;--mds-notification-transition-duration:.2s;--private-notification-transition-duration:var(--mds-notification-transition-duration,.2s);--mds-notification-dot-transition-duration:var(--duration-300,.3s);--private-notification-dot-transition-duration:var(--mds-notification-dot-transition-duration);--mds-notification-transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)));align-items:center;border-radius:var(--radius-full,1000px);bottom:100%;color:var(--mds-notification-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));display:inline-flex;height:var(--mds-notification-size,20px);justify-content:flex-end;min-width:max-content;pointer-events:none;width:var(--mds-notification-size,20px);z-index:10}:host([strategy=absolute]),:host([strategy=fixed]){opacity:0;right:100%;-webkit-transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);-webkit-transform-origin:calc(100% - var(--mds-notification-size,20px)/2) 50%;transform-origin:calc(100% - var(--mds-notification-size,20px)/2) 50%;-webkit-transition-duration:var(--private-notification-transition-duration);transition-duration:var(--private-notification-transition-duration);transition-property:color,height,opacity,transform,width;-webkit-transition-timing-function:var(--mds-notification-transition-timing-function);transition-timing-function:var(--mds-notification-transition-timing-function)}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}.dot{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))));border-radius:var(--radius-full,1000px);-webkit-box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));box-sizing:border-box;display:inline-flex;justify-content:center;line-height:var(--mds-notification-size,20px);min-height:var(--mds-notification-size,20px);min-width:var(--mds-notification-min-width,20px);padding-left:var(--mds-notification-dot-padding,6px);padding-right:var(--mds-notification-dot-padding,6px);position:static;-webkit-transition-duration:var(--private-notification-dot-transition-duration);transition-duration:var(--private-notification-dot-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));white-space:nowrap}:host([strategy=absolute]) .dot,:host([strategy=fixed]) .dot{position:absolute}.spacer{box-sizing:border-box;display:inline-flex;height:var(--mds-notification-size,20px);width:var(--mds-notification-min-width,20px)}:host([dismissed]:not([dismissed=false])[strategy=absolute]),:host([dismissed]:not([dismissed=false])[strategy=fixed]){--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));opacity:1;-webkit-transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}:host([strategy=absolute]:not([dismissed])),:host([strategy=absolute][dismissed=false]),:host([strategy=fixed]:not([dismissed])),:host([strategy=fixed][dismissed=false]){--tw-ease:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));opacity:1;-webkit-transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(1);transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(1);transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}:host(:not([target])),:host([strategy=disabled]){opacity:1;position:static;transform:scale(1);-webkit-transform-origin:unset;transform-origin:unset;transition-duration:0s}:host(:not([target])) .dot,:host([strategy=disabled]) .dot{position:static}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}}';export{m as mds_notification}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,e as i}from"./p-BxPbQB28.js";const a=class{constructor(e){t(this,e)}render(){return e(i,{key:"efc7c5f2d0b3edb52ea3d67df78cd460edf2c46c",role:"list"},e("slot",{key:"ba0f918fc0fe6f3dbe848843bb9c12f071fb7883"}))}};a.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-kpi-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-kpi-text-animation-speed:.15;--mds-kpi-text-animation-placeholder-char:" ";display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}';export{a as mds_kpi}
@@ -910,4 +910,4 @@ this.scheduleBlink();return[2/*return*/,Promise.resolve()]}))}))};
910
910
  // attributeChangedCallback is a no-op because the value did not change.
911
911
  if(this.host.getAttribute("name")!==t)this.host.setAttribute("name",t);this.updateSvgDictionary(t)};t.prototype.svgPartState=function(t,i){var e,n,r,s;var o=(n=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.firstElementChild)===null||n===void 0?void 0:n.querySelectorAll("[id^='".concat(t,"-']"));if(!o||o.length===0)return null;if((i===undefined||i==="")&&o){o===null||o===void 0?void 0:o.forEach((function(t){
912
912
  // const currentState = el.id.split('-')[1]
913
- t.style.visibility="hidden";if(t.id.split("-")[1]==="default")t.style.visibility="visible"}));return o}var a=(s=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.firstElementChild)===null||s===void 0?void 0:s.querySelector("[id='".concat(t,"-default']"));o===null||o===void 0?void 0:o.forEach((function(t){t.style.visibility="hidden";if(t.id.split("-")[1]===i){a=t}}));if(!a)return null;a.style.visibility="visible";return a};t.prototype.render=function(){return e(n,{key:"6bf7e9e7fb8bf323dbb2a3ec793ba9413cc753b5"})};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{name:[{checkNameChanged:0}]}},enumerable:false,configurable:true});return t}());yr.style=wr()}}}));
913
+ t.style.visibility="hidden";if(t.id.split("-")[1]==="default")t.style.visibility="visible"}));return o}var a=(s=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.firstElementChild)===null||s===void 0?void 0:s.querySelector("[id='".concat(t,"-default']"));o===null||o===void 0?void 0:o.forEach((function(t){t.style.visibility="hidden";if(t.id.split("-")[1]===i){a=t}}));if(!a)return null;a.style.visibility="visible";return a};t.prototype.render=function(){return e(n,{key:"d5c2b10613e8cb0cc091c6cb9b598225562605fe"})};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{name:[{checkNameChanged:0}]}},enumerable:false,configurable:true});return t}());yr.style=wr()}}}));
@@ -1 +1 @@
1
- System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.system.js"],(function(t){"use strict";var e,r,a,o,s;return{setters:[function(t){e=t.r;r=t.h;a=t.e;o=t.g},function(t){s=t.p}],execute:function(){var n=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim: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-price-table-features-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-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-price-table-features-row-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-transition-duration:var(--duration-200,.2s);--private-price-table-features-row-transition-duration:var(--mds-price-table-features-row-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-features-row-background,#0000);color:var(--mds-price-table-features-row-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));display:table-row;-webkit-transition-duration:var(--private-price-table-features-row-transition-duration);transition-duration:var(--private-price-table-features-row-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host(:hover){--mds-price-table-features-row-background:var(--mds-price-table-features-row-background-hover,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));--mds-price-table-features-row-color:var(--mds-price-table-features-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}:host(:hover)>::slotted(mds-price-table-features-cell){--mds-price-table-features-cell-icon-supported-color:var(--mds-price-table-features-cell-icon-supported-color-hover);--mds-price-table-features-cell-icon-unsupported-color:var(--mds-price-table-features-cell-icon-unsupported-color-hover)}:host>::slotted([type=label]){padding-left:0}:host(:hover)>::slotted([type=label]){-webkit-transform:translate(calc(var(--spacing,.0025rem)*200));transform:translate(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-price-table-features-row-transition-duration:0s}:host([pref-contrast=more]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-row-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}}'};var i=t("mds_price_table_features_row",/** @class */function(){function t(t){e(this,t)}t.prototype.componentWillRender=function(){var t=this;this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell");this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%";this.horizontalCells.forEach((function(e){e.style.width=t.cellPercWidth}))};t.prototype.render=function(){return r(a,{key:"fc7e157e50d8f86dfa97670a825d77b112c2cbaa","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},r("slot",{key:"355d8418d3d7af7955096db0760ab3579e71cd21"}))};Object.defineProperty(t.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());i.style=n()}}}));
1
+ System.register(["./p-DaONbL_w.system.js","./p-hVpoPUxI.system.js"],(function(t){"use strict";var e,r,a,o,s;return{setters:[function(t){e=t.r;r=t.h;a=t.e;o=t.g},function(t){s=t.p}],execute:function(){var n=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim: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-price-table-features-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-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-price-table-features-row-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-transition-duration:var(--duration-200,.2s);--private-price-table-features-row-transition-duration:var(--mds-price-table-features-row-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-features-row-background,#0000);color:var(--mds-price-table-features-row-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));display:table-row;-webkit-transition-duration:var(--private-price-table-features-row-transition-duration);transition-duration:var(--private-price-table-features-row-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host(:hover){--mds-price-table-features-row-background:var(--mds-price-table-features-row-background-hover,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));--mds-price-table-features-row-color:var(--mds-price-table-features-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}:host(:hover)>::slotted(mds-price-table-features-cell){--mds-price-table-features-cell-icon-supported-color:var(--mds-price-table-features-cell-icon-supported-color-hover);--mds-price-table-features-cell-icon-unsupported-color:var(--mds-price-table-features-cell-icon-unsupported-color-hover)}:host>::slotted([type=label]){padding-left:0}:host(:hover)>::slotted([type=label]){-webkit-transform:translate(calc(var(--spacing,.0025rem)*200));transform:translate(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-price-table-features-row-transition-duration:0s}:host([pref-contrast=more]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-row-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}}'};var i=t("mds_price_table_features_row",/** @class */function(){function t(t){e(this,t)}t.prototype.componentWillRender=function(){var t=this;this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell");this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%";this.horizontalCells.forEach((function(e){e.style.width=t.cellPercWidth}))};t.prototype.render=function(){return r(a,{key:"e51aa5b5c122ef55bb2a6c8dcf589e336cadf6d5","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},r("slot",{key:"3bc6d211c57c314c4df3f311609bd06195358a19"}))};Object.defineProperty(t.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());i.style=n()}}}));
@@ -5,4 +5,4 @@ System.register(["./p-DaONbL_w.system.js","./p-RJ5ZA1kY.system.js","./p-hVpoPUxI
5
5
  /**
6
6
  * Specifies the typography of the element
7
7
  */this.typography="tip";this.select=function(){r.isSelected=!r.isSelected;if(r.isSelected){r.selectedEvent.emit(r.element.id)}};this.onSlotChangeHandler=function(){var t;
8
- /* this should be removed in the future once slotted text is no longer used, use the label property instead */if(((t=r.label)!==null&&t!==void 0?t:"")!=="")return;r.label=o(r.element)}}t.prototype.componentWillLoad=function(){this.isSelected=this.selected};t.prototype.validateSelected=function(t){this.isSelected=t};t.prototype.labelChanged=function(t){this.label=s(t)};t.prototype.render=function(){return r(i,{key:"6e2c08fad0e04d0725ab7ef827c654cf9edecb51",onClick:this.select,"pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},r("mds-icon",{key:"cc8cc878d899d20532b1582ae7eb2aa459a82078",name:this.icon}),r("mds-text",{key:"ea6030247b5999f34cd64a6a3ea8b15de66ba5ab",typography:this.typography},this.label||r("slot",{key:"b922dbfe1b35997ac2c9e9d384e22505838a6994",onSlotchange:this.onSlotChangeHandler})))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:[{validateSelected:0}],label:[{labelChanged:0}]}},enumerable:false,configurable:true});return t}());b.style=c()}}}));
8
+ /* this should be removed in the future once slotted text is no longer used, use the label property instead */if(((t=r.label)!==null&&t!==void 0?t:"")!=="")return;r.label=o(r.element)}}t.prototype.componentWillLoad=function(){this.isSelected=this.selected};t.prototype.validateSelected=function(t){this.isSelected=t};t.prototype.labelChanged=function(t){this.label=s(t)};t.prototype.render=function(){return r(i,{key:"5b6de7f61e288aa4c50c3b7d36b81f927f2eec21",onClick:this.select,"pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},r("mds-icon",{key:"8eeb467147bb540e5b8e83dc2bfa34f8d9aee634",name:this.icon}),r("mds-text",{key:"147a8156c8931681dc1b29986dc29d6d06832fae",typography:this.typography},this.label||r("slot",{key:"40f0070c916bafe6b90455197b95b8d1ab5a28c7",onSlotchange:this.onSlotChangeHandler})))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:[{validateSelected:0}],label:[{labelChanged:0}]}},enumerable:false,configurable:true});return t}());b.style=c()}}}));